↑ Contents

Lean sources, part 1 of 50 (AllR10s_test.lean – bsd/PtAddN.lean)

AllR10s_test.lean

lean_all/AllR10s_test.lean

/-
  lib/AllR10s_test.lean — T46 shared library (G1410): weighted self-convolution step n = 10, for every weight (split form).

  X_k = C(k+m,m) A_k (weight r = m+1, SelfConvRw4.Xw), S = X ⋆ X (Sw). With Q = 12!²:
      Lpow   2753310393630720000(2m+12) S_10 S_12 = Σ_k m^k L_k(A),     Rpow   2523867860828160000(2m+13) S_11² = Σ_k m^k R_k(A)
      cone_k R_k = L_k + Σ_g c_(g,k) G_g   (c ≥ 0 integers; m-free identities)
  hence 2753310393630720000(2m+12) S_10 S_12 ≤ 2523867860828160000(2m+13) S_11² for A ≥ 0 with nonnegative gapped minors, every m
  (certs/g61_r2/allr_lp2.py, gen_allrn2.py). Lean 4 core only, proofs by hand, no axioms.
-/
import lib.SelfConvAllFact
import lib.SelfConvRw4

set_option maxRecDepth 200000
set_option maxHeartbeats 0

namespace LibAllR10s_test
open DetChain LibRing YMChain LibPascalLC LibSelfConvR3Small LibSelfConvRw4

variable {R : Type} (K : CRing R) (O : ORing K)

theorem le_add_nn (x y : R) (hy : O.le K.zero y) : O.le x (K.add x y) :=
  congr_le K O (by lib_ring) rfl (O.add_le_add _ _ _ _ (O.le_refl x) hy)

def L0 (A : Nat → R) : R := (K.add (K.mul (castN K 132158898894274560000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 132158898894274560000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 132158898894274560000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 132158898894274560000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A  -- (+3664 chars; full line in the Zenodo source)
def R0 (A : Nat → R) : R := (K.add (K.mul (castN K 131241128763064320000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 262482257526128640000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 262482257526128640000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 262482257526128640000) (K.mul (K.mul (A 0) (A 3)) (K.mul (A  -- (+1649 chars; full line in the Zenodo source)
def L1 (A : Nat → R) : R := (K.add (K.mul (castN K 819232608759054336000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 938175617763901440000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 940378266078806016000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 989570745111674880000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A  -- (+3701 chars; full line in the Zenodo source)
def R1 (A : Nat → R) : R := (K.add (K.mul (castN K 812855165822042112000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 1864330565758746624000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 1969323468769198080000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 2027652859330560000000) (K.mul (K.mul (A 0) (A 3)) (K.mul  -- (+1669 chars; full line in the Zenodo source)
def L2 (A : Nat → R) : R := (K.add (K.mul (castN K 2331492092245101772800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 3056907139227765964800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 3072359845497588940800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 3416042643097308364800) (K.mul (K.mul (A 0) (A 2)) (K.mu  -- (+3718 chars; full line in the Zenodo source)
def R2 (A : Nat → R) : R := (K.add (K.mul (castN K 2311219167140870553600) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 6078664069038666547200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 6813897005041120051200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 7245043399149679411200) (K.mul (K.mul (A 0) (A 3)) (K.mu  -- (+1675 chars; full line in the Zenodo source)
def L3 (A : Nat → R) : R := (K.add (K.mul (castN K 4065139838552573214720) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 6090941216874898391040) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 6140601943672875909120) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 7239834492811302666240) (K.mul (K.mul (A 0) (A 2)) (K.mu  -- (+3737 chars; full line in the Zenodo source)
def R3 (A : Nat → R) : R := (K.add (K.mul (castN K 4025875590349994557440) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 12121583690523669626880) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 14479526024538890895360) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 15945820204091522088960) (K.mul (K.mul (A 0) (A 3)) (K  -- (+1689 chars; full line in the Zenodo source)
def L4 (A : Nat → R) : R := (K.add (K.mul (castN K 4888321650682056474624) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 8344367367547139850240) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 8441744660595223363584) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 10585411921227777638400) (K.mul (K.mul (A 0) (A 2)) (K.m  -- (+3754 chars; full line in the Zenodo source)
def R4 (A : Nat → R) : R := (K.add (K.mul (castN K 4836242465239463866368) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 16622273957494946881536) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 21235113200302892605440) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 24289864074694576005120) (K.mul (K.mul (A 0) (A 3)) (K  -- (+1690 chars; full line in the Zenodo source)
def L5 (A : Nat → R) : R := (K.add (K.mul (castN K 4325122255468261294080) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 8379007169395603783680) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 8509965184434049155072) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 11375033973032753971200) (K.mul (K.mul (A 0) (A 2)) (K.m  -- (+3755 chars; full line in the Zenodo source)
def R5 (A : Nat → R) : R := (K.add (K.mul (castN K 4274705139261234720768) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 16710779394683674730496) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 22898405053400858910720) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 27277902334091314667520) (K.mul (K.mul (A 0) (A 3)) (K  -- (+1690 chars; full line in the Zenodo source)
def L6 (A : Nat → R) : R := (K.add (K.mul (castN K 2932026425715826188288) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 6419247964244527104000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 6547984915814583386112) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 9344858885272022999040) (K.mul (K.mul (A 0) (A 2)) (K.mu  -- (+3753 chars; full line in the Zenodo source)
def R6 (A : Nat → R) : R := (K.add (K.mul (castN K 2894957160946062676992) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 12820162837261533456384) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 18885712029263284930560) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 23487635676608980715520) (K.mul (K.mul (A 0) (A 3)) (K  -- (+1690 chars; full line in the Zenodo source)
def L7 (A : Nat → R) : R := (K.add (K.mul (castN K 1564932327158131126272) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 3855033956449504604160) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 3951293343222742032384) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 6026340284652654489600) (K.mul (K.mul (A 0) (A 2)) (K.mu  -- (+3748 chars; full line in the Zenodo source)
def R7 (A : Nat → R) : R := (K.add (K.mul (castN K 1543671000847378225152) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 7711786974744924217344) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 12233297190449362452480) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 15918797236136126238720) (K.mul (K.mul (A 0) (A 3)) (K.  -- (+1688 chars; full line in the Zenodo source)
def L8 (A : Nat → R) : R := (K.add (K.mul (castN K 670284175082889590784) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 1849713106596070256640) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 1905942056972458881024) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 3107636719859416504320) (K.mul (K.mul (A 0) (A 2)) (K.mul  -- (+3740 chars; full line in the Zenodo source)
def R8 (A : Nat → R) : R := (K.add (K.mul (castN K 660592020739039665408) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 3707454500014206306816) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 6340018268341732170240) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 8649028750031950072320) (K.mul (K.mul (A 0) (A 3)) (K.mul  -- (+1685 chars; full line in the Zenodo source)
def L9 (A : Nat → R) : R := (K.add (K.mul (castN K 233523677809497461760) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 718836542232780026880) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 744979348144682145792) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 1298400126657546654720) (K.mul (K.mul (A 0) (A 2)) (K.mul (  -- (+3724 chars; full line in the Zenodo source)
def R9 (A : Nat → R) : R := (K.add (K.mul (castN K 229965569171356601088) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 1444073861637682868736) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 2663799284810612805120) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 3816135513143195742720) (K.mul (K.mul (A 0) (A 3)) (K.mul  -- (+1681 chars; full line in the Zenodo source)
def L10 (A : Nat → R) : R := (K.add (K.mul (castN K 66807092750514006528) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 228447116336733465600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 238249158214621289472) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 443598706713396072960) (K.mul (K.mul (A 0) (A 2)) (K.mul (A  -- (+3706 chars; full line in the Zenodo source)
def R10 (A : Nat → R) : R := (K.add (K.mul (castN K 65745602813713724352) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 460142902003078571904) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 915799904340858725760) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 1379717942261819022720) (K.mul (K.mul (A 0) (A 3)) (K.mul (  -- (+1670 chars; full line in the Zenodo source)
def L11 (A : Nat → R) : R := (K.add (K.mul (castN K 15792701089074446592) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 59755082205915106560) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 62745697321703345664) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 124689895183904497920) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8  -- (+3693 chars; full line in the Zenodo source)
def R11 (A : Nat → R) : R := (K.add (K.mul (castN K 15533882069362664832) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 120727796856781999104) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 259219257424235412480) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 411183898619875096320) (K.mul (K.mul (A 0) (A 3)) (K.mul (A  -- (+1661 chars; full line in the Zenodo source)
def L12 (A : Nat → R) : R := (K.add (K.mul (castN K 3095825933404600704) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 12913018801887536640) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 13659718912337101824) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 28936127106633479040) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8)   -- (+3666 chars; full line in the Zenodo source)
def R12 (A : Nat → R) : R := (K.add (K.mul (castN K 3044103277576445568) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 26180716434170766336) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 60622689120138224640) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 101342008414897240320) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8)  -- (+1652 chars; full line in the Zenodo source)
def L13 (A : Nat → R) : R := (K.add (K.mul (castN K 503786879868666240) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 2308310933084513280) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 2461302903911841792) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 5549695099957895040) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 1  -- (+3642 chars; full line in the Zenodo source)
def R13 (A : Nat → R) : R := (K.add (K.mul (castN K 495314941229526528) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 4698771307232783616) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 11726860612304344320) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 20674200495139614720) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A  -- (+1637 chars; full line in the Zenodo source)
def L14 (A : Nat → R) : R := (K.add (K.mul (castN K 67960756913436288) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 340916543473651200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 366639061456115712) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 878439221131697280) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))  -- (+3611 chars; full line in the Zenodo source)
def R14 (A : Nat → R) : R := (K.add (K.mul (castN K 66826642093180992) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 697122138715161984) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 1873821731101119360) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 3485641880187054720) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)  -- (+1620 chars; full line in the Zenodo source)
def L15 (A : Nat → R) : R := (K.add (K.mul (castN K 7569102752145792) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 41438205318216960) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 44976604544239104) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 114292119151520640) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (  -- (+3576 chars; full line in the Zenodo source)
def R15 (A : Nat → R) : R := (K.add (K.mul (castN K 7445784357297792) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 85170113017761024) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 246349009265230080) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 483662710722597120) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11))))   -- (+1604 chars; full line in the Zenodo source)
def L16 (A : Nat → R) : R := (K.add (K.mul (castN K 691013869311744) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 4116296089635840) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 4512066242770944) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 12136274398575360) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.ad  -- (+3540 chars; full line in the Zenodo source)
def R16 (A : Nat → R) : R := (K.add (K.mul (castN K 680233141767168) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 8509297451060736) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 26459453033418240) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 54835488263761920) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.a  -- (+1585 chars; full line in the Zenodo source)
def L17 (A : Nat → R) : R := (K.add (K.mul (castN K 51139511089920) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 330523771438080) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 366147860170752) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 1040196883080960) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.add (K  -- (+3501 chars; full line in the Zenodo source)
def R17 (A : Nat → R) : R := (K.add (K.mul (castN K 50393605540608) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 687680999064576) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 2296384421253120) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 5023370069752320) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.add (  -- (+1565 chars; full line in the Zenodo source)
def L18 (A : Nat → R) : R := (K.add (K.mul (castN K 3017782994688) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 21104916940800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 23644972403712) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 70789371206400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.add (K.mul   -- (+3455 chars; full line in the Zenodo source)
def R18 (A : Nat → R) : R := (K.add (K.mul (castN K 2977899388992) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 44226555398784) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 158428612805760) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 365737856584320) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.add (K.mu  -- (+1542 chars; full line in the Zenodo source)
def L19 (A : Nat → R) : R := (K.add (K.mul (castN K 138563453952) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 1045854754560) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 1185932081664) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 3732827535360) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.add (K.mul (cas  -- (+3406 chars; full line in the Zenodo source)
def R19 (A : Nat → R) : R := (K.add (K.mul (castN K 136975082112) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 2209152996864) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 8479569415680) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 20651567397120) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.add (K.mul (ca  -- (+1517 chars; full line in the Zenodo source)
def L20 (A : Nat → R) : R := (K.add (K.mul (castN K 4768182144) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 38746160640) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 44503962624) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 146914922880) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.add (K.mul (castN K 19  -- (+3348 chars; full line in the Zenodo source)
def R20 (A : Nat → R) : R := (K.add (K.mul (castN K 4723855488) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 82565784576) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 339185341440) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 871089880320) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 1  -- (+1490 chars; full line in the Zenodo source)
def L21 (A : Nat → R) : R := (K.add (K.mul (castN K 115632000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 1009198080) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 1175150592) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 4058398080) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.add (K.mul (castN K 5582649  -- (+3288 chars; full line in the Zenodo source)
def R21 (A : Nat → R) : R := (K.add (K.mul (castN K 114859008) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 2171448576) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 9535806720) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 25809822720) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 480567  -- (+1459 chars; full line in the Zenodo source)
def L22 (A : Nat → R) : R := (K.add (K.mul (castN K 1761408) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 16473600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 19464192) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 70139520) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.add (K.mul (castN K 99525888) (K.mu  -- (+3214 chars; full line in the Zenodo source)
def R22 (A : Nat → R) : R := (K.add (K.mul (castN K 1755072) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 35823744) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 167967360) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 478811520) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 924168960) (K  -- (+1425 chars; full line in the Zenodo source)
def L23 (A : Nat → R) : R := (K.add (K.mul (castN K 12672) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 12)))) (K.add (K.mul (castN K 126720) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 12)))) (K.add (K.mul (castN K 152064) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 570240) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 12)))) (K.add (K.mul (castN K 836352) (K.mul (K.mul (  -- (+3136 chars; full line in the Zenodo source)
def R23 (A : Nat → R) : R := (K.add (K.mul (castN K 12672) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 11) (A 11)))) (K.add (K.mul (castN K 278784) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 10) (A 11)))) (K.add (K.mul (castN K 1393920) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 4181760) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 8363520) (K.mul (K.mu  -- (+1383 chars; full line in the Zenodo source)

theorem cone0 (A : Nat → R) : R0 K A = K.add (L0 K A) (K.add (K.mul (castN K 131241128763064320000) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 108296875482808320000) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 56442863069429760000) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 122522312516567040000) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (cas  -- (+3464 chars; full line in the Zenodo source)
  unfold R0 L0 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone1 (A : Nat → R) : R1 K A = K.add (L1 K A) (K.add (K.mul (castN K 986597395024969728000) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 815510011267252224000) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 338462566121078784000) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 981443182075969536000) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (ca  -- (+4469 chars; full line in the Zenodo source)
  unfold R1 L1 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone2 (A : Nat → R) : R2 K A = K.add (L2 K A) (K.add (K.mul (castN K 3421247705494157721600) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 2094911705488048128000) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 855518949145033113600) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 3768755415104087654400) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul   -- (+4501 chars; full line in the Zenodo source)
  unfold R2 L2 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone3 (A : Nat → R) : R3 K A = K.add (L3 K A) (K.add (K.mul (castN K 7288437856388068638720) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 4033563316150790062080) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 573842068775258849280) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 8519665984842365337600) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul   -- (+4515 chars; full line in the Zenodo source)
  unfold R3 L3 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone4 (A : Nat → R) : R4 K A = K.add (L4 K A) (K.add (K.mul (castN K 10719245148780897349632) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 2737703331639144050688) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 549597560124857942016) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 13359847201183150424064) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mu  -- (+4529 chars; full line in the Zenodo source)
  unfold R4 L4 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone5 (A : Nat → R) : R5 K A = K.add (L5 K A) (K.add (K.mul (castN K 7405850759070726623232) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 1091529919495394058240) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 913873994798155776000) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 15478534223205007933440) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul  -- (+4538 chars; full line in the Zenodo source)
  unfold R5 L5 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone6 (A : Nat → R) : R6 K A = K.add (L6 K A) (K.add (K.mul (castN K 5404088403151965711360) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 1175868896057789294592) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 1052788568053269307392) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 13777947551165652062208) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mu  -- (+4542 chars; full line in the Zenodo source)
  unfold R6 L6 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone7 (A : Nat → R) : R7 K A = K.add (L7 K A) (K.add (K.mul (castN K 2926694838781679302656) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 926459931370311917568) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 897474149208424009728) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 9671457588494458724352) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (  -- (+4532 chars; full line in the Zenodo source)
  unfold R7 L7 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone8 (A : Nat → R) : R8 K A = K.add (L8 K A) (K.add (K.mul (castN K 1141964910755352085248) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 551698163477996806656) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 587201309971832641536) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 5451381564177638605824) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (  -- (+4527 chars; full line in the Zenodo source)
  unfold R8 L8 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone9 (A : Nat → R) : R9 K A = K.add (L9 K A) (K.add (K.mul (castN K 281063209984716056832) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 252324349379458076160) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 301517198094584355840) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 2498835789598305991680) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (c  -- (+4515 chars; full line in the Zenodo source)
  unfold R9 L9 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone10 (A : Nat → R) : R10 K A = K.add (L10 K A) (K.add (K.mul (castN K 30787809622222954752) (K.mul (dl K A 1 1) (dl K A 10 10))) (K.add (K.mul (castN K 88859972318630527872) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 123192239580576916992) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 939673212541551468288) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (c  -- (+4492 chars; full line in the Zenodo source)
  unfold R10 L10 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone11 (A : Nat → R) : R11 K A = K.add (L11 K A) (K.add (K.mul (castN K 25123101367804450560) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 41744667436384112640) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 292894449203137757184) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 186784877445934217472) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (ca  -- (+4480 chars; full line in the Zenodo source)
  unfold R11 L11 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone12 (A : Nat → R) : R12 K A = K.add (L12 K A) (K.add (K.mul (castN K 8293979467556513280) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 14359059368903335680) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 78550557129931696128) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 46383166499639016960) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN  -- (+4449 chars; full line in the Zenodo source)
  unfold R12 L12 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone13 (A : Nat → R) : R13 K A = K.add (L13 K A) (K.add (K.mul (castN K 2150160155971280640) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 3876281352475741440) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 17526786498182522880) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 9454792053280983552) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K  -- (+4414 chars; full line in the Zenodo source)
  unfold R13 L13 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone14 (A : Nat → R) : R14 K A = K.add (L14 K A) (K.add (K.mul (castN K 443743479222088320) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 833075102293378560) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 3245493098979749376) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 1577864195398174464) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 52  -- (+4375 chars; full line in the Zenodo source)
  unfold R14 L14 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone15 (A : Nat → R) : R15 K A = K.add (L15 K A) (K.add (K.mul (castN K 73285213016885760) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 143324551552469760) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 496292696739062784) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 214296844243375872) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 70630  -- (+4330 chars; full line in the Zenodo source)
  unfold R15 L15 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone16 (A : Nat → R) : R16 K A = K.add (L16 K A) (K.add (K.mul (castN K 9676241300436480) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 19722104353036800) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 62181776863438848) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 23448467977482240) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 757982559  -- (+4290 chars; full line in the Zenodo source)
  unfold R16 L16 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone17 (A : Nat → R) : R17 K A = K.add (L17 K A) (K.add (K.mul (castN K 1014594260106240) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 2156161442434560) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 6309707477990400) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 2035266971139072) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 643847967544  -- (+4238 chars; full line in the Zenodo source)
  unfold R17 L17 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone18 (A : Nat → R) : R18 K A = K.add (L18 K A) (K.add (K.mul (castN K 83374157877120) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 184821657166080) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 509859438967296) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 136884803768064) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 42290188807680) (  -- (+4176 chars; full line in the Zenodo source)
  unfold R18 L18 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone19 (A : Nat → R) : R19 K A = K.add (L19 K A) (K.add (K.mul (castN K 5252733192960) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 12150906324480) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 32006578120704) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 6880841586432) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 2070828334080) (K.mul   -- (+4109 chars; full line in the Zenodo source)
  unfold R19 L19 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone20 (A : Nat → R) : R20 K A = K.add (L20 K A) (K.add (K.mul (castN K 244867898880) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 591288318720) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 1503166629888) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 243721336320) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 71135539200) (K.mul (dl K A  -- (+4033 chars; full line in the Zenodo source)
  unfold R20 L20 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone21 (A : Nat → R) : R21 K A = K.add (L21 K A) (K.add (K.mul (castN K 7955101440) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 20057114880) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 49655992320) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 5460060672) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 1528750080) (K.mul (dl K A 1 6) (d  -- (+3953 chars; full line in the Zenodo source)
  unfold R21 L21 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone22 (A : Nat → R) : R22 K A = K.add (L22 K A) (K.add (K.mul (castN K 160744320) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 423244800) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 1028307456) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 60090624) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 15459840) (K.mul (dl K A 1 6) (dl K A 5   -- (+3858 chars; full line in the Zenodo source)
  unfold R22 L22 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone23 (A : Nat → R) : R23 K A = K.add (L23 K A) (K.add (K.mul (castN K 1520640) (K.mul (dl K A 1 2) (dl K A 9 10))) (K.add (K.mul (castN K 4181760) (K.mul (dl K A 1 3) (dl K A 8 10))) (K.add (K.mul (castN K 10036224) (K.mul (dl K A 1 4) (dl K A 7 10))) (K.add (K.mul (castN K 76032) (K.mul (dl K A 1 5) (dl K A 6 10))) (K.add (K.mul (castN K 2090880) (K.mul (dl K A 1 7) (dl K A 4 10))) (K.a  -- (+3602 chars; full line in the Zenodo source)
  unfold R23 L23 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem Lpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (2753310393630720000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 12)) = (K.add (K.mul K.one (L0 K A)) (K.add (K.mul (castN K m) (L1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (L2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (L3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (L4 K A)) (K.add (K.m  -- (+5648 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have y6 : (K.mul (castN K 720) (Xw K m A 6)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (A 6) := by
    show K.mul (castN K 720) (K.mul (castN K (LibBinom.C (6 + m) m)) (A 6)) = _
    rw [Nat.add_comm 6 m, ← LibSelfConvAllFact.fact6 K m]; lib_ringz
  have y7 : (K.mul (castN K 5040) (Xw K m A 7)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (A 7) := by
    show K.mul (castN K 5040) (K.mul (castN K (LibBinom.C (7 + m) m)) (A 7)) = _
    rw [Nat.add_comm 7 m, ← LibSelfConvAllFact.fact7 K m]; lib_ringz
  have y8 : (K.mul (castN K 40320) (Xw K m A 8)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (A 8) := by
    show K.mul (castN K 40320) (K.mul (castN K (LibBinom.C (8 + m) m)) (A 8)) = _
    rw [Nat.add_comm 8 m, ← LibSelfConvAllFact.fact8 K m]; lib_ringz
  have y9 : (K.mul (castN K 362880) (Xw K m A 9)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN K m) (cas  -- (+21 chars; full line in the Zenodo source)
    show K.mul (castN K 362880) (K.mul (castN K (LibBinom.C (9 + m) m)) (A 9)) = _
    rw [Nat.add_comm 9 m, ← LibSelfConvAllFact.fact9 K m]; lib_ringz
  have y10 : (K.mul (castN K 3628800) (Xw K m A 10)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN  -- (+66 chars; full line in the Zenodo source)
    show K.mul (castN K 3628800) (K.mul (castN K (LibBinom.C (10 + m) m)) (A 10)) = _
    rw [Nat.add_comm 10 m, ← LibSelfConvAllFact.fact10 K m]; lib_ringz
  have y11 : (K.mul (castN K 39916800) (Xw K m A 11)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.ad  -- (+108 chars; full line in the Zenodo source)
    show K.mul (castN K 39916800) (K.mul (castN K (LibBinom.C (11 + m) m)) (A 11)) = _
    rw [Nat.add_comm 11 m, ← LibSelfConvAllFact.fact11 K m]; lib_ringz
  have y12 : (K.mul (castN K 479001600) (Xw K m A 12)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8)  -- (+150 chars; full line in the Zenodo source)
    show K.mul (castN K 479001600) (K.mul (castN K (LibBinom.C (12 + m) m)) (A 12)) = _
    rw [Nat.add_comm 12 m, ← LibSelfConvAllFact.fact12 K m]; lib_ringz
  have E : K.mul (castN K (2753310393630720000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 12))
      = K.mul (castN K (m + m + 12)) (K.add (K.mul (castN K 1584) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 3628800) (Xw K m A 10))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 479001600) (Xw K m A 12))))) (K.add (K.mul (castN K 19008) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 3628800) (Xw K m A 10))) (K.mul (K.mul (castN K 1) (Xw K m A 1)) (K.  -- (+28350 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 2753310393630720000 (m + m + 12), show Sw K m A 10 = (K.add (K.mul (Xw K m A 0) (Xw K m A 10)) (K.add (K.mul (Xw K m A 1) (Xw K m A 9)) (K.add (K.mul (Xw K m A 2) (Xw K m A 8)) (K.add (K.mul (Xw K m A 3) (Xw K m A 7)) (K.add (K.mul (Xw K m A 4) (Xw K m A 6)) (K.add (K.mul (Xw K m A 5) (Xw K m A 5)) (K.add (K.mul (Xw K m A 6) (Xw K m A 4)) (K.add (K.mul (Xw K m A 7) (Xw   -- (+719 chars; full line in the Zenodo source)
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, LibBinom.castN_add K (m + m) 12, LibBinom.castN_add K m m]
  unfold L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L11 L12 L13 L14 L15 L16 L17 L18 L19 L20 L21 L22 L23
  lib_ringz

theorem Rpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (2523867860828160000 * (m + m + 13))) (K.mul (Sw K m A 11) (Sw K m A 11)) = (K.add (K.mul K.one (R0 K A)) (K.add (K.mul (castN K m) (R1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (R2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (R3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (R4 K A)) (K.add (K.m  -- (+5648 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have y6 : (K.mul (castN K 720) (Xw K m A 6)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (A 6) := by
    show K.mul (castN K 720) (K.mul (castN K (LibBinom.C (6 + m) m)) (A 6)) = _
    rw [Nat.add_comm 6 m, ← LibSelfConvAllFact.fact6 K m]; lib_ringz
  have y7 : (K.mul (castN K 5040) (Xw K m A 7)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (A 7) := by
    show K.mul (castN K 5040) (K.mul (castN K (LibBinom.C (7 + m) m)) (A 7)) = _
    rw [Nat.add_comm 7 m, ← LibSelfConvAllFact.fact7 K m]; lib_ringz
  have y8 : (K.mul (castN K 40320) (Xw K m A 8)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (A 8) := by
    show K.mul (castN K 40320) (K.mul (castN K (LibBinom.C (8 + m) m)) (A 8)) = _
    rw [Nat.add_comm 8 m, ← LibSelfConvAllFact.fact8 K m]; lib_ringz
  have y9 : (K.mul (castN K 362880) (Xw K m A 9)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN K m) (cas  -- (+21 chars; full line in the Zenodo source)
    show K.mul (castN K 362880) (K.mul (castN K (LibBinom.C (9 + m) m)) (A 9)) = _
    rw [Nat.add_comm 9 m, ← LibSelfConvAllFact.fact9 K m]; lib_ringz
  have y10 : (K.mul (castN K 3628800) (Xw K m A 10)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN  -- (+66 chars; full line in the Zenodo source)
    show K.mul (castN K 3628800) (K.mul (castN K (LibBinom.C (10 + m) m)) (A 10)) = _
    rw [Nat.add_comm 10 m, ← LibSelfConvAllFact.fact10 K m]; lib_ringz
  have y11 : (K.mul (castN K 39916800) (Xw K m A 11)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.ad  -- (+108 chars; full line in the Zenodo source)
    show K.mul (castN K 39916800) (K.mul (castN K (LibBinom.C (11 + m) m)) (A 11)) = _
    rw [Nat.add_comm 11 m, ← LibSelfConvAllFact.fact11 K m]; lib_ringz
  have y12 : (K.mul (castN K 479001600) (Xw K m A 12)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8)  -- (+150 chars; full line in the Zenodo source)
    show K.mul (castN K 479001600) (K.mul (castN K (LibBinom.C (12 + m) m)) (A 12)) = _
    rw [Nat.add_comm 12 m, ← LibSelfConvAllFact.fact12 K m]; lib_ringz
  have E : K.mul (castN K (2523867860828160000 * (m + m + 13))) (K.mul (Sw K m A 11) (Sw K m A 11))
      = K.mul (castN K (m + m + 13)) (K.add (K.mul (castN K 1584) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 39916800) (Xw K m A 11))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 39916800) (Xw K m A 11))))) (K.add (K.mul (castN K 17424) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 39916800) (Xw K m A 11))) (K.mul (K.mul (castN K 1) (Xw K m A 1)) (K  -- (+28534 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 2523867860828160000 (m + m + 13), show Sw K m A 11 = (K.add (K.mul (Xw K m A 0) (Xw K m A 11)) (K.add (K.mul (Xw K m A 1) (Xw K m A 10)) (K.add (K.mul (Xw K m A 2) (Xw K m A 9)) (K.add (K.mul (Xw K m A 3) (Xw K m A 8)) (K.add (K.mul (Xw K m A 4) (Xw K m A 7)) (K.add (K.mul (Xw K m A 5) (Xw K m A 6)) (K.add (K.mul (Xw K m A 6) (Xw K m A 5)) (K.add (K.mul (Xw K m A 7) (Xw  -- (+190 chars; full line in the Zenodo source)
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, LibBinom.castN_add K (m + m) 13, LibBinom.castN_add K m m]
  unfold R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23
  lib_ringz

theorem identity (m : Nat) (A : Nat → R) :
    K.add (K.mul (castN K (2753310393630720000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 12))) (K.add (K.mul (K.add (castN K 131241128763064320000) (K.mul (castN K m) (K.add (castN K 986597395024969728000) (K.mul (castN K m) (K.add (castN K 3421247705494157721600) (K.mul (castN K m) (K.add (castN K 7288437856388068638720) (K.mul (castN K m) (K.add (castN K 10719245148780897349632) (K.mul (ca  -- (+94090 chars; full line in the Zenodo source)
    = K.mul (castN K (2523867860828160000 * (m + m + 13))) (K.mul (Sw K m A 11) (Sw K m A 11)) := by
  rw [Lpow K m A, Rpow K m A, cone0 K A, cone1 K A, cone2 K A, cone3 K A, cone4 K A, cone5 K A, cone6 K A, cone7 K A, cone8 K A, cone9 K A, cone10 K A, cone11 K A, cone12 K A, cone13 K A, cone14 K A, cone15 K A, cone16 K A, cone17 K A, cone18 K A, cone19 K A, cone20 K A, cone21 K A, cone22 K A, cone23 K A]
  lib_ringz

/-- every weight, n = 10: 2753310393630720000(2m+12) S_10 S_12 ≤ 2523867860828160000(2m+13) S_11². -/
theorem all_r (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K (2753310393630720000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 12)))
      (K.mul (castN K (2523867860828160000 * (m + m + 13))) (K.mul (Sw K m A 11) (Sw K m A 11))) := by
  rw [← identity K m A]
  have cm : O.le K.zero (castN K m) := castN_nonneg K O m
  exact le_add_nn K O _ _ (add_nn K O _ _ (O.mul_nonneg _ _ (add_nn K O _ _ (castN_nonneg K O 131241128763064320000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 986597395024969728000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 3421247705494157721600) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 7288437856388068638720) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_non  -- (+131710 chars; full line in the Zenodo source)

end LibAllR10s_test

#print axioms LibAllR10s_test.cone0
#print axioms LibAllR10s_test.cone1
#print axioms LibAllR10s_test.cone2
#print axioms LibAllR10s_test.cone3
#print axioms LibAllR10s_test.cone4
#print axioms LibAllR10s_test.cone5
#print axioms LibAllR10s_test.cone6
#print axioms LibAllR10s_test.cone7
#print axioms LibAllR10s_test.cone8
#print axioms LibAllR10s_test.cone9
#print axioms LibAllR10s_test.cone10
#print axioms LibAllR10s_test.cone11
#print axioms LibAllR10s_test.cone12
#print axioms LibAllR10s_test.cone13
#print axioms LibAllR10s_test.cone14
#print axioms LibAllR10s_test.cone15
#print axioms LibAllR10s_test.cone16
#print axioms LibAllR10s_test.cone17
#print axioms LibAllR10s_test.cone18
#print axioms LibAllR10s_test.cone19
#print axioms LibAllR10s_test.cone20
#print axioms LibAllR10s_test.cone21
#print axioms LibAllR10s_test.cone22
#print axioms LibAllR10s_test.cone23
#print axioms LibAllR10s_test.Lpow
#print axioms LibAllR10s_test.Rpow
#print axioms LibAllR10s_test.identity
#print axioms LibAllR10s_test.all_r

AllR12s_test.lean

lean_all/AllR12s_test.lean

/-
  lib/AllR12s_test.lean — T46 shared library (G1410): weighted self-convolution step n = 12, for every weight (split form).

  X_k = C(k+m,m) A_k (weight r = m+1, SelfConvRw4.Xw), S = X ⋆ X (Sw). With Q = 14!²:
      Lpow   106400762391727964160000(2m+14) S_12 S_14 = Σ_k m^k L_k(A),     Rpow   98800707935175966720000(2m+15) S_13² = Σ_k m^k R_k(A)
      cone_k R_k = L_k + Σ_g c_(g,k) G_g   (c ≥ 0 integers; m-free identities)
  hence 106400762391727964160000(2m+14) S_12 S_14 ≤ 98800707935175966720000(2m+15) S_13² for A ≥ 0 with nonnegative gapped minors, every m
  (certs/g61_r2/allr_lp2.py, gen_allrn2.py). Lean 4 core only, proofs by hand, no axioms.
-/
import lib.SelfConvAllFact
import lib.SelfConvRw4

set_option maxRecDepth 200000
set_option maxHeartbeats 0

namespace LibAllR12s_test
open DetChain LibRing YMChain LibPascalLC LibSelfConvR3Small LibSelfConvRw4

variable {R : Type} (K : CRing R) (O : ORing K)

theorem le_add_nn (x y : R) (hy : O.le K.zero y) : O.le x (K.add x y) :=
  congr_le K O (by lib_ring) rfl (O.add_le_add _ _ _ _ (O.le_refl x) hy)

def L0 (A : Nat → R) : R := (K.add (K.mul (castN K 5958442693936765992960000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 5958442693936765992960000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 5958442693936765992960000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 5958442693936765992960000) (K.mul (K.mul (A 0)  -- (+5278 chars; full line in the Zenodo source)
def R0 (A : Nat → R) : R := (K.add (K.mul (castN K 5928042476110558003200000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 11856084952221116006400000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 11856084952221116006400000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 11856084952221116006400000) (K.mul (K.mul (A  -- (+2472 chars; full line in the Zenodo source)
def L1 (A : Nat → R) : R := (K.add (K.mul (castN K 38715756881050123370496000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 44177662683825492197376000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 44248596525419977506816000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 46615207422254169194496000) (K.mul (K.mul (  -- (+5334 chars; full line in the Zenodo source)
def R1 (A : Nat → R) : R := (K.add (K.mul (castN K 38494341623773153198080000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 87932761664981182709760000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 92872797061739981045760000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 95746999474399645532160000) (K.mul (K.mul (  -- (+2494 chars; full line in the Zenodo source)
def L2 (A : Nat → R) : R := (K.add (K.mul (castN K 116361881858688755879116800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 151396166849420088233164800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 151917024702208880856268800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 169247252062037000768716800) (K.mul (K.m  -- (+5387 chars; full line in the Zenodo source)
def R2 (A : Nat → R) : R := (K.add (K.mul (castN K 115618425749002767532032000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 301461476155937904328704000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 337688457233283497263104000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 359941783574372614078464000) (K.mul (K.m  -- (+2507 chars; full line in the Zenodo source)
def L3 (A : Nat → R) : R := (K.add (K.mul (castN K 215996727828297134041989120) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 319742262449534215901675520) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 321507393636828112717086720) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 380054232050422714493829120) (K.mul (K.m  -- (+5390 chars; full line in the Zenodo source)
def R3 (A : Nat → R) : R := (K.add (K.mul (castN K 214462591998880703230771200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 636972691176079410423398400) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 759562724484608071149158400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 839403563237426271987302400) (K.mul (K.m  -- (+2522 chars; full line in the Zenodo source)
def L4 (A : Nat → R) : R := (K.add (K.mul (castN K 278919553747042008244813824) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 468271093037877957628329984) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 471951467744137134235582464) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 593591839530788455170637824) (K.mul (K.m  -- (+5417 chars; full line in the Zenodo source)
def R4 (A : Nat → R) : R := (K.add (K.mul (castN K 276730800356631410941132800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 933388885389787350618931200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 1188578337270776383234867200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 1365456497259213048891801600) (K.mul (K  -- (+2532 chars; full line in the Zenodo source)
def L5 (A : Nat → R) : R := (K.add (K.mul (castN K 267490498080951035065663488) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 507387460741503213508116480) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 512699232703411819436507136) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 687560112757643241852223488) (K.mul (K.m  -- (+5430 chars; full line in the Zenodo source)
def R5 (A : Nat → R) : R := (K.add (K.mul (castN K 265187364724971876418043904) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 1012037185133222932363051008) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 1379683433055551909069611008) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 1651743803304064062672887808) (K.mul (  -- (+2533 chars; full line in the Zenodo source)
def L6 (A : Nat → R) : R := (K.add (K.mul (castN K 198543567499247147148840960) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 423751777185072914422161408) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 429412691815668766540468224) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 614940042759675135553290240) (K.mul (K.m  -- (+5431 chars; full line in the Zenodo source)
def R6 (A : Nat → R) : R := (K.add (K.mul (castN K 196681705469409125085539328) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 845889126147744854363854848) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 1236934099293060328122912768) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 1546670049405147564842520576) (K.mul (K  -- (+2532 chars; full line in the Zenodo source)
def L7 (A : Nat → R) : R := (K.add (K.mul (castN K 117316509343057472950634496) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 280547428743548543897628672) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 285187741712613993918013440) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 436519677085205443331137536) (K.mul (K.m  -- (+5426 chars; full line in the Zenodo source)
def R7 (A : Nat → R) : R := (K.add (K.mul (castN K 116127450134500588378463232) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 560549916888762130438477824) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 880416638354879530276829184) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 1152121636658158951938177024) (K.mul (K.  -- (+2531 chars; full line in the Zenodo source)
def L8 (A : Nat → R) : R := (K.add (K.mul (castN K 56310211552867433015895040) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 150247768500629193975060480) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 153256167916452477829528576) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 250837875864657516530135040) (K.mul (K.mu  -- (+5419 chars; full line in the Zenodo source)
def R8 (A : Nat → R) : R := (K.add (K.mul (castN K 55698157930026312047483136) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 300531991752995175433548288) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 507438897001136279796384768) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 696172779180808945773069312) (K.mul (K.mu  -- (+2526 chars; full line in the Zenodo source)
def L9 (A : Nat → R) : R := (K.add (K.mul (castN K 22284485492132232229020160) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 66074049669947232413660160) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 67647827908110202542806016) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 118394490659838418807541760) (K.mul (K.mul   -- (+5404 chars; full line in the Zenodo source)
def R9 (A : Nat → R) : R := (K.add (K.mul (castN K 22026779744843666844187136) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 132332029830278790442298368) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 240311450956681688176040448) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 346169315486077816674253312) (K.mul (K.mu  -- (+2523 chars; full line in the Zenodo source)
def L10 (A : Nat → R) : R := (K.add (K.mul (castN K 7352386165115424724811520) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 24130700851418720919360000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 24804883949525499629345536) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 46404590171861571780049920) (K.mul (K.mul (  -- (+5381 chars; full line in the Zenodo source)
def R10 (A : Nat → R) : R := (K.add (K.mul (castN K 7262645741516212128617536) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 48399464062698312526971008) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 94539524731447567066783488) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 143173403945546510094470912) (K.mul (K.mul   -- (+2513 chars; full line in the Zenodo source)
def L11 (A : Nat → R) : R := (K.add (K.mul (castN K 2039161526192263814140800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 7380655953689461795672320) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 7619770266341581422570496) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 15227407272865952093529600) (K.mul (K.mul (A   -- (+5367 chars; full line in the Zenodo source)
def R11 (A : Nat → R) : R := (K.add (K.mul (castN K 2013105207796531014502336) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 14828466201494846861088128) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 31149904505223372535675008) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 49647315420656212155408512) (K.mul (K.mul (  -- (+2500 chars; full line in the Zenodo source)
def L12 (A : Nat → R) : R := (K.add (K.mul (castN K 478275410875830619396800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 1902382274260639283898240) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 1973167632329410046211136) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 4208400499026647264140800) (K.mul (K.mul (A 0)  -- (+5339 chars; full line in the Zenodo source)
def R12 (A : Nat → R) : R := (K.add (K.mul (castN K 471930560277621988497136) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 3829420289879471632069088) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 8647828015191614017973568) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 14517737205963991636949312) (K.mul (K.mul (A 0  -- (+2488 chars; full line in the Zenodo source)
def L13 (A : Nat → R) : R := (K.add (K.mul (castN K 95255573059738855152480) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 414999127747182867557760) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 432590438769183042677056) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 983608401329625485494080) (K.mul (K.mul (A 0) (A   -- (+5307 chars; full line in the Zenodo source)
def R13 (A : Nat → R) : R := (K.add (K.mul (castN K 93954886212701399144896) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 837200101451456649740288) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 2031257911791891297610368) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 3594072958737824003272832) (K.mul (K.mul (A 0) (  -- (+2470 chars; full line in the Zenodo source)
def L14 (A : Nat → R) : R := (K.add (K.mul (castN K 16148929636752562278720) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 76821242050892845134720) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 80505185641549771525696) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 194901860349063780232320) (K.mul (K.mul (A 0) (A 2)  -- (+5272 chars; full line in the Zenodo source)
def R14 (A : Nat → R) : R := (K.add (K.mul (castN K 15924001300403067363856) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 155357767222250729191328) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 404686325298654779260608) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 755038390556149696348352) (K.mul (K.mul (A 0) (A   -- (+2458 chars; full line in the Zenodo source)
def L15 (A : Nat → R) : R := (K.add (K.mul (castN K 2332447612981537091040) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 12079607078826362275200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 12731006846766258546496) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 32771877163448804821440) (K.mul (K.mul (A 0) (A 2))   -- (+5238 chars; full line in the Zenodo source)
def R15 (A : Nat → R) : R := (K.add (K.mul (castN K 2299626115894902392416) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 24496657353961268036288) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 68451680523532067693568) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 134707268602827627779072) (K.mul (K.mul (A 0) (A 3))  -- (+2436 chars; full line in the Zenodo source)
def L16 (A : Nat → R) : R := (K.add (K.mul (castN K 286808574165961149120) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 1612622263911968050560) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 1709898555235622629696) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 4673164243011621477120) (K.mul (K.mul (A 0) (A 2)) (K.m  -- (+5193 chars; full line in the Zenodo source)
def R16 (A : Nat → R) : R := (K.add (K.mul (castN K 282773387243461908976) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 3280440748279707984608) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 9824462714966003028288) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 20395574228613574582592) (K.mul (K.mul (A 0) (A 3)) (K.  -- (+2416 chars; full line in the Zenodo source)
def L17 (A : Nat → R) : R := (K.add (K.mul (castN K 29954936691955722720) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 182378322198586200960) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 194627899769658112576) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 563856341153513728320) (K.mul (K.mul (A 0) (A 2)) (K.mul (  -- (+5152 chars; full line in the Zenodo source)
def R17 (A : Nat → R) : R := (K.add (K.mul (castN K 29538392477977766656) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 372281963421363352448) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 1193797111314050425728) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 2614474904610574957952) (K.mul (K.mul (A 0) (A 3)) (K.mul  -- (+2394 chars; full line in the Zenodo source)
def L18 (A : Nat → R) : R := (K.add (K.mul (castN K 2646223382696013120) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 17402966558102885760) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 18699167233961870656) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 57332460279803829120) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10  -- (+5101 chars; full line in the Zenodo source)
def R18 (A : Nat → R) : R := (K.add (K.mul (castN K 2610325784519589136) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 35660362415659069088) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 122318251516836543168) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 282571085172073810112) (K.mul (K.mul (A 0) (A 3)) (K.mul (A   -- (+2367 chars; full line in the Zenodo source)
def L19 (A : Nat → R) : R := (K.add (K.mul (castN K 196474201175572320) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 1392450370696344960) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 1507042781445737536) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 4881891806129257920) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A  -- (+5049 chars; full line in the Zenodo source)
def R19 (A : Nat → R) : R := (K.add (K.mul (castN K 193913435703603616) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 2865373639241841728) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 10502367220668331008) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 25586837256091983872) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10)   -- (+2340 chars; full line in the Zenodo source)
def L20 (A : Nat → R) : R := (K.add (K.mul (castN K 12149433638422080) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 92586103922632320) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 100977721853584576) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 345002943259054080) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14))  -- (+4989 chars; full line in the Zenodo source)
def R20 (A : Nat → R) : R := (K.add (K.mul (castN K 12000064818838096) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 191413644180126368) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 748903195412019648) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 1923616154777949632) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13  -- (+2310 chars; full line in the Zenodo source)
def L21 (A : Nat → R) : R := (K.add (K.mul (castN K 617800426283040) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 5051725404485760) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 5554539646591936) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 19980873433160640) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14)))) (K.  -- (+4923 chars; full line in the Zenodo source)
def R21 (A : Nat → R) : R := (K.add (K.mul (castN K 610799341087936) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 10497601844457728) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 43795824316852608) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 118556026898621312) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13))))   -- (+2278 chars; full line in the Zenodo source)
def L22 (A : Nat → R) : R := (K.add (K.mul (castN K 25375769065920) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 222199078308480) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 246423363449536) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 931618741173120) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14)))) (K.add (  -- (+4855 chars; full line in the Zenodo source)
def R22 (A : Nat → R) : R := (K.add (K.mul (castN K 25118662035376) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 464328172057568) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 2063477067882048) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 5884264546352192) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13)))) (K.add  -- (+2246 chars; full line in the Zenodo source)
def L23 (A : Nat → R) : R := (K.add (K.mul (castN K 820586151840) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 7679765358720) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 8594686399936) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 34086691679040) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14)))) (K.add (K.mul (  -- (+4777 chars; full line in the Zenodo source)
def R23 (A : Nat → R) : R := (K.add (K.mul (castN K 813465286816) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 16146702947648) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 76354366652928) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 229246915369472) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13)))) (K.add (K.mu  -- (+2205 chars; full line in the Zenodo source)
def L24 (A : Nat → R) : R := (K.add (K.mul (castN K 20101763136) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 200707468416) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 226781743552) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 941799995136) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14)))) (K.add (K.mul (castN  -- (+4697 chars; full line in the Zenodo source)
def R24 (A : Nat → R) : R := (K.add (K.mul (castN K 19961979856) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 424800460448) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 2135288046528) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 6746114927552) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13)))) (K.add (K.mul (cas  -- (+2166 chars; full line in the Zenodo source)
def L25 (A : Nat → R) : R := (K.add (K.mul (castN K 350462112) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 3726602880) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 4253529280) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 18462155712) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14)))) (K.add (K.mul (castN K 2430  -- (+4609 chars; full line in the Zenodo source)
def R25 (A : Nat → R) : R := (K.add (K.mul (castN K 348729472) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 7944460160) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 42404019840) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 140883526784) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13)))) (K.add (K.mul (castN K 32  -- (+2120 chars; full line in the Zenodo source)
def L26 (A : Nat → R) : R := (K.add (K.mul (castN K 3872960) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 43784832) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 50511552) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 228708480) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14)))) (K.add (K.mul (castN K 307920704) (  -- (+4507 chars; full line in the Zenodo source)
def R26 (A : Nat → R) : R := (K.add (K.mul (castN K 3862768) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 94072160) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 532633920) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 1859713856) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13)))) (K.add (K.mul (castN K 4474389920  -- (+2069 chars; full line in the Zenodo source)
def L27 (A : Nat → R) : R := (K.add (K.mul (castN K 20384) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 12) (A 14)))) (K.add (K.mul (castN K 244608) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 11) (A 14)))) (K.add (K.mul (castN K 285376) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 1345344) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 10) (A 14)))) (K.add (K.mul (castN K 1854944) (K.mul (K.m  -- (+4388 chars; full line in the Zenodo source)
def R27 (A : Nat → R) : R := (K.add (K.mul (castN K 20384) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 13) (A 13)))) (K.add (K.mul (castN K 529984) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 12) (A 13)))) (K.add (K.mul (castN K 3179904) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 11) (A 13)))) (K.add (K.mul (castN K 11659648) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 10) (A 13)))) (K.add (K.mul (castN K 29149120) (K.mul (  -- (+2009 chars; full line in the Zenodo source)

theorem cone0 (A : Nat → R) : R0 K A = K.add (L0 K A) (K.add (K.mul (castN K 5928042476110558003200000) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 5107236594802942279680000) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 4529632456104990474240000) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 5076836376976734289920000) (K.mul (dl K A 1 4) (dl K A 9 12)))  -- (+5013 chars; full line in the Zenodo source)
  unfold R0 L0 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone1 (A : Nat → R) : R1 K A = K.add (L1 K A) (K.add (K.mul (castN K 46769476126700916965376000) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 40050404392897131577344000) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 46926994742324090634240000) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 47930416544181333786624000) (K.mul (dl K A 1 4) (dl K A 9 1  -- (+6571 chars; full line in the Zenodo source)
  unfold R1 L1 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone2 (A : Nat → R) : R2 K A = K.add (L2 K A) (K.add (K.mul (castN K 137687033376369172788019200) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 161350369802004717482803200) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 162463509644720295326515200) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 90703684885764560427417600) (K.mul (dl K A 1 4) (dl K A   -- (+6625 chars; full line in the Zenodo source)
  unfold R2 L2 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone3 (A : Nat → R) : R3 K A = K.add (L3 K A) (K.add (K.mul (castN K 296129593330864540310568960) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 370387660533458095126609920) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 380650121687983853807861760) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 226750654204246252864143360) (K.mul (dl K A 1 4) (dl K A  -- (+6660 chars; full line in the Zenodo source)
  unfold R3 L3 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone4 (A : Nat → R) : R4 K A = K.add (L4 K A) (K.add (K.mul (castN K 436649839557011537460756480) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 591005697953727089500766208) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 621227177740364117397995520) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 385101504173146252519931904) (K.mul (dl K A 1 4) (dl K A  -- (+6677 chars; full line in the Zenodo source)
  unfold R4 L4 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone5 (A : Nat → R) : R5 K A = K.add (L5 K A) (K.add (K.mul (castN K 467668673827664313028018176) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 698218430215739465658802176) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 752380014298771847056932864) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 465408420110372444289712128) (K.mul (dl K A 1 4) (dl K A  -- (+6692 chars; full line in the Zenodo source)
  unfold R5 L5 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone6 (A : Nat → R) : R6 K A = K.add (L6 K A) (K.add (K.mul (castN K 374818715531165105808491520) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 635040793856440732944089088) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 703359196575332300638322688) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 402157137079597605928814592) (K.mul (dl K A 1 4) (dl K A  -- (+6697 chars; full line in the Zenodo source)
  unfold R6 L6 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone7 (A : Nat → R) : R7 K A = K.add (L7 K A) (K.add (K.mul (castN K 226649330304569258738555904) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 456281167753851307420041216) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 521090129117437925863673856) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 233058248925029061501327360) (K.mul (dl K A 1 4) (dl K A  -- (+6695 chars; full line in the Zenodo source)
  unfold R7 L7 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone8 (A : Nat → R) : R8 K A = K.add (L8 K A) (K.add (K.mul (castN K 101237940859847253229703936) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 263559850907736582486583296) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 311614523317754988440997888) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 60085272019832699918806528) (K.mul (dl K A 1 4) (dl K A   -- (+6679 chars; full line in the Zenodo source)
  unfold R8 L8 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone9 (A : Nat → R) : R9 K A = K.add (L9 K A) (K.add (K.mul (castN K 30227464271045057515699200) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 123808323836350827630308352) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 152377656949057233754604544) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 25662509043703751878923264) (K.mul (dl K A 1 4) (dl K A 9  -- (+6669 chars; full line in the Zenodo source)
  unfold R9 L9 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone10 (A : Nat → R) : R10 K A = K.add (L10 K A) (K.add (K.mul (castN K 3009440427365901273897152) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 47611739216730868166507520) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 61480107304987252097728512) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 12573242987866608409794432) (K.mul (dl K A 1 4) (dl K A 9  -- (+6639 chars; full line in the Zenodo source)
  unfold R10 L10 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone11 (A : Nat → R) : R11 K A = K.add (L11 K A) (K.add (K.mul (castN K 2143683517408935063994432) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 17457564114634735959964096) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 23030435698925797674820288) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 7503486253471797132351808) (K.mul (dl K A 1 4) (dl K A 9   -- (+6615 chars; full line in the Zenodo source)
  unfold R11 L11 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone12 (A : Nat → R) : R12 K A = K.add (L12 K A) (K.add (K.mul (castN K 910442539505693756995888) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 5363466798810463165946032) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 7237551886819474494177904) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 3183300731604311999144464) (K.mul (dl K A 1 4) (dl K A 9 12)  -- (+6587 chars; full line in the Zenodo source)
  unfold R12 L12 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone13 (A : Nat → R) : R13 K A = K.add (L13 K A) (K.add (K.mul (castN K 282781498923868078659616) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 1385959154777700312628000) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 1918139163005860633750912) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 1051545030130282876220032) (K.mul (dl K A 1 4) (dl K A 9 12)  -- (+6547 chars; full line in the Zenodo source)
  unfold R13 L13 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone14 (A : Nat → R) : R14 K A = K.add (L14 K A) (K.add (K.mul (castN K 69105924543399023534800) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 302439329377665671433424) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 431026809062335508438416) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 281040917741828483455216) (K.mul (dl K A 1 4) (dl K A 9 12))) (  -- (+6503 chars; full line in the Zenodo source)
  unfold R14 L14 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone15 (A : Nat → R) : R15 K A = K.add (L15 K A) (K.add (K.mul (castN K 13695488421205217902912) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 55860673399178779907776) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 82468446724840100692768) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 61893357530240906077408) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.a  -- (+6448 chars; full line in the Zenodo source)
  unfold R15 L15 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone16 (A : Nat → R) : R16 K A = K.add (L16 K A) (K.add (K.mul (castN K 2233061328313371036208) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 8738567722971987055792) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 13477482208109169153904) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 11333610499665790480144) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add  -- (+6394 chars; full line in the Zenodo source)
  unfold R16 L16 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone17 (A : Nat → R) : R17 K A = K.add (L17 K A) (K.add (K.mul (castN K 301516743603711571936) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 1156640071562595474400) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 1885280258846948996032) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 1731803757656631410752) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K  -- (+6339 chars; full line in the Zenodo source)
  unfold R17 L17 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone18 (A : Nat → R) : R18 K A = K.add (L18 K A) (K.add (K.mul (castN K 33763639097805657040) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 129162712925378436304) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 225878388988145669776) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 220744019750770852336) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul  -- (+6265 chars; full line in the Zenodo source)
  unfold R18 L18 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone19 (A : Nat → R) : R19 K A = K.add (L19 K A) (K.add (K.mul (castN K 3127675442419720192) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 11516246341494935040) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 23144040687545665888) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 23383497370383518368) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul (ca  -- (+6202 chars; full line in the Zenodo source)
  unfold R19 L19 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone20 (A : Nat → R) : R20 K A = K.add (L20 K A) (K.add (K.mul (castN K 238160265010075408) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 824215384832087248) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 1992807536905737552) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 2043642482961103024) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul (castN K  -- (+6117 chars; full line in the Zenodo source)
  unfold R20 L20 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone21 (A : Nat → R) : R21 K A = K.add (L21 K A) (K.add (K.mul (castN K 14748347817819616) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 58007890451519008) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 131715942644814528) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 145686243774303232) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul (castN K 231  -- (+6029 chars; full line in the Zenodo source)
  unfold R21 L21 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone22 (A : Nat → R) : R22 K A = K.add (L22 K A) (K.add (K.mul (castN K 730723498151920) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 3166382573112304) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 7017556119218736) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 8329340183019856) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul (castN K 1149509001  -- (+5926 chars; full line in the Zenodo source)
  unfold R22 L22 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone23 (A : Nat → R) : R23 K A = K.add (L23 K A) (K.add (K.mul (castN K 35403868211712) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 137487788919936) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 315003390301600) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 379661453834208) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul (castN K 53548842766473  -- (+5837 chars; full line in the Zenodo source)
  unfold R23 L23 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone24 (A : Nat → R) : R24 K A = K.add (L24 K A) (K.add (K.mul (castN K 992780582976) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 4102371891072) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 9837647275456) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 12718293221088) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul (castN K 18468377561088) (K.mu  -- (+5727 chars; full line in the Zenodo source)
  unfold R24 L24 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone25 (A : Nat → R) : R25 K A = K.add (L25 K A) (K.add (K.mul (castN K 17056006240) (K.mul (dl K A 1 1) (dl K A 12 12))) (K.add (K.mul (castN K 83763420832) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 217581873600) (K.mul (dl K A 1 3) (dl K A 10 12))) (K.add (K.mul (castN K 283202984064) (K.mul (dl K A 1 4) (dl K A 9 12))) (K.add (K.mul (castN K 432742005696) (K.mul (dl K   -- (+5600 chars; full line in the Zenodo source)
  unfold R25 L25 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone26 (A : Nat → R) : R26 K A = K.add (L26 K A) (K.add (K.mul (castN K 383789952) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 1804218416) (K.mul (dl K A 1 5) (dl K A 8 12))) (K.add (K.mul (castN K 4561949392) (K.mul (dl K A 1 6) (dl K A 7 12))) (K.add (K.mul (castN K 6888049168) (K.mul (dl K A 1 7) (dl K A 6 12))) (K.add (K.mul (castN K 3836136304) (K.mul (dl K A 1 8) (dl   -- (+5482 chars; full line in the Zenodo source)
  unfold R26 L26 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone27 (A : Nat → R) : R27 K A = K.add (L27 K A) (K.add (K.mul (castN K 2629536) (K.mul (dl K A 1 2) (dl K A 11 12))) (K.add (K.mul (castN K 9417408) (K.mul (dl K A 1 5) (dl K A 8 12))) (K.add (K.mul (castN K 34978944) (K.mul (dl K A 1 6) (dl K A 7 12))) (K.add (K.mul (castN K 51795744) (K.mul (dl K A 1 7) (dl K A 6 12))) (K.add (K.mul (castN K 19731712) (K.mul (dl K A 1 8) (dl K A 5 12)))  -- (+5249 chars; full line in the Zenodo source)
  unfold R27 L27 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem Lpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (106400762391727964160000 * (m + m + 14))) (K.mul (Sw K m A 12) (Sw K m A 14)) = (K.add (K.mul K.one (L0 K A)) (K.add (K.mul (castN K m) (L1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (L2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (L3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (L4 K A)) (K.add  -- (+7765 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have y6 : (K.mul (castN K 720) (Xw K m A 6)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (A 6) := by
    show K.mul (castN K 720) (K.mul (castN K (LibBinom.C (6 + m) m)) (A 6)) = _
    rw [Nat.add_comm 6 m, ← LibSelfConvAllFact.fact6 K m]; lib_ringz
  have y7 : (K.mul (castN K 5040) (Xw K m A 7)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (A 7) := by
    show K.mul (castN K 5040) (K.mul (castN K (LibBinom.C (7 + m) m)) (A 7)) = _
    rw [Nat.add_comm 7 m, ← LibSelfConvAllFact.fact7 K m]; lib_ringz
  have y8 : (K.mul (castN K 40320) (Xw K m A 8)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (A 8) := by
    show K.mul (castN K 40320) (K.mul (castN K (LibBinom.C (8 + m) m)) (A 8)) = _
    rw [Nat.add_comm 8 m, ← LibSelfConvAllFact.fact8 K m]; lib_ringz
  have y9 : (K.mul (castN K 362880) (Xw K m A 9)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN K m) (cas  -- (+21 chars; full line in the Zenodo source)
    show K.mul (castN K 362880) (K.mul (castN K (LibBinom.C (9 + m) m)) (A 9)) = _
    rw [Nat.add_comm 9 m, ← LibSelfConvAllFact.fact9 K m]; lib_ringz
  have y10 : (K.mul (castN K 3628800) (Xw K m A 10)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN  -- (+66 chars; full line in the Zenodo source)
    show K.mul (castN K 3628800) (K.mul (castN K (LibBinom.C (10 + m) m)) (A 10)) = _
    rw [Nat.add_comm 10 m, ← LibSelfConvAllFact.fact10 K m]; lib_ringz
  have y11 : (K.mul (castN K 39916800) (Xw K m A 11)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.ad  -- (+108 chars; full line in the Zenodo source)
    show K.mul (castN K 39916800) (K.mul (castN K (LibBinom.C (11 + m) m)) (A 11)) = _
    rw [Nat.add_comm 11 m, ← LibSelfConvAllFact.fact11 K m]; lib_ringz
  have y12 : (K.mul (castN K 479001600) (Xw K m A 12)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8)  -- (+150 chars; full line in the Zenodo source)
    show K.mul (castN K 479001600) (K.mul (castN K (LibBinom.C (12 + m) m)) (A 12)) = _
    rw [Nat.add_comm 12 m, ← LibSelfConvAllFact.fact12 K m]; lib_ringz
  have y13 : (K.mul (castN K 6227020800) (Xw K m A 13)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (ca  -- (+192 chars; full line in the Zenodo source)
    show K.mul (castN K 6227020800) (K.mul (castN K (LibBinom.C (13 + m) m)) (A 13)) = _
    rw [Nat.add_comm 13 m, ← LibSelfConvAllFact.fact13 K m]; lib_ringz
  have y14 : (K.mul (castN K 87178291200) (Xw K m A 14)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN   -- (+234 chars; full line in the Zenodo source)
    show K.mul (castN K 87178291200) (K.mul (castN K (LibBinom.C (14 + m) m)) (A 14)) = _
    rw [Nat.add_comm 14 m, ← LibSelfConvAllFact.fact14 K m]; lib_ringz
  have E : K.mul (castN K (106400762391727964160000 * (m + m + 14))) (K.mul (Sw K m A 12) (Sw K m A 14))
      = K.mul (castN K (m + m + 14)) (K.add (K.mul (castN K 2548) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 479001600) (Xw K m A 12))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 87178291200) (Xw K m A 14))))) (K.add (K.mul (castN K 35672) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 479001600) (Xw K m A 12))) (K.mul (K.mul (castN K 1) (Xw K m A 1  -- (+39739 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 106400762391727964160000 (m + m + 14), show Sw K m A 12 = (K.add (K.mul (Xw K m A 0) (Xw K m A 12)) (K.add (K.mul (Xw K m A 1) (Xw K m A 11)) (K.add (K.mul (Xw K m A 2) (Xw K m A 10)) (K.add (K.mul (Xw K m A 3) (Xw K m A 9)) (K.add (K.mul (Xw K m A 4) (Xw K m A 8)) (K.add (K.mul (Xw K m A 5) (Xw K m A 7)) (K.add (K.mul (Xw K m A 6) (Xw K m A 6)) (K.add (K.mul (Xw K m A   -- (+900 chars; full line in the Zenodo source)
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, y14, LibBinom.castN_add K (m + m) 14, LibBinom.castN_add K m m]
  unfold L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L11 L12 L13 L14 L15 L16 L17 L18 L19 L20 L21 L22 L23 L24 L25 L26 L27
  lib_ringz

theorem Rpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (98800707935175966720000 * (m + m + 15))) (K.mul (Sw K m A 13) (Sw K m A 13)) = (K.add (K.mul K.one (R0 K A)) (K.add (K.mul (castN K m) (R1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (R2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (R3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (R4 K A)) (K.add   -- (+7764 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have y6 : (K.mul (castN K 720) (Xw K m A 6)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (A 6) := by
    show K.mul (castN K 720) (K.mul (castN K (LibBinom.C (6 + m) m)) (A 6)) = _
    rw [Nat.add_comm 6 m, ← LibSelfConvAllFact.fact6 K m]; lib_ringz
  have y7 : (K.mul (castN K 5040) (Xw K m A 7)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (A 7) := by
    show K.mul (castN K 5040) (K.mul (castN K (LibBinom.C (7 + m) m)) (A 7)) = _
    rw [Nat.add_comm 7 m, ← LibSelfConvAllFact.fact7 K m]; lib_ringz
  have y8 : (K.mul (castN K 40320) (Xw K m A 8)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (A 8) := by
    show K.mul (castN K 40320) (K.mul (castN K (LibBinom.C (8 + m) m)) (A 8)) = _
    rw [Nat.add_comm 8 m, ← LibSelfConvAllFact.fact8 K m]; lib_ringz
  have y9 : (K.mul (castN K 362880) (Xw K m A 9)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN K m) (cas  -- (+21 chars; full line in the Zenodo source)
    show K.mul (castN K 362880) (K.mul (castN K (LibBinom.C (9 + m) m)) (A 9)) = _
    rw [Nat.add_comm 9 m, ← LibSelfConvAllFact.fact9 K m]; lib_ringz
  have y10 : (K.mul (castN K 3628800) (Xw K m A 10)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN  -- (+66 chars; full line in the Zenodo source)
    show K.mul (castN K 3628800) (K.mul (castN K (LibBinom.C (10 + m) m)) (A 10)) = _
    rw [Nat.add_comm 10 m, ← LibSelfConvAllFact.fact10 K m]; lib_ringz
  have y11 : (K.mul (castN K 39916800) (Xw K m A 11)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.ad  -- (+108 chars; full line in the Zenodo source)
    show K.mul (castN K 39916800) (K.mul (castN K (LibBinom.C (11 + m) m)) (A 11)) = _
    rw [Nat.add_comm 11 m, ← LibSelfConvAllFact.fact11 K m]; lib_ringz
  have y12 : (K.mul (castN K 479001600) (Xw K m A 12)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8)  -- (+150 chars; full line in the Zenodo source)
    show K.mul (castN K 479001600) (K.mul (castN K (LibBinom.C (12 + m) m)) (A 12)) = _
    rw [Nat.add_comm 12 m, ← LibSelfConvAllFact.fact12 K m]; lib_ringz
  have y13 : (K.mul (castN K 6227020800) (Xw K m A 13)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (ca  -- (+192 chars; full line in the Zenodo source)
    show K.mul (castN K 6227020800) (K.mul (castN K (LibBinom.C (13 + m) m)) (A 13)) = _
    rw [Nat.add_comm 13 m, ← LibSelfConvAllFact.fact13 K m]; lib_ringz
  have y14 : (K.mul (castN K 87178291200) (Xw K m A 14)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN   -- (+234 chars; full line in the Zenodo source)
    show K.mul (castN K 87178291200) (K.mul (castN K (LibBinom.C (14 + m) m)) (A 14)) = _
    rw [Nat.add_comm 14 m, ← LibSelfConvAllFact.fact14 K m]; lib_ringz
  have E : K.mul (castN K (98800707935175966720000 * (m + m + 15))) (K.mul (Sw K m A 13) (Sw K m A 13))
      = K.mul (castN K (m + m + 15)) (K.add (K.mul (castN K 2548) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 6227020800) (Xw K m A 13))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 6227020800) (Xw K m A 13))))) (K.add (K.mul (castN K 33124) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 6227020800) (Xw K m A 13))) (K.mul (K.mul (castN K 1) (Xw K m A   -- (+39938 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 98800707935175966720000 (m + m + 15), show Sw K m A 13 = (K.add (K.mul (Xw K m A 0) (Xw K m A 13)) (K.add (K.mul (Xw K m A 1) (Xw K m A 12)) (K.add (K.mul (Xw K m A 2) (Xw K m A 11)) (K.add (K.mul (Xw K m A 3) (Xw K m A 10)) (K.add (K.mul (Xw K m A 4) (Xw K m A 9)) (K.add (K.mul (Xw K m A 5) (Xw K m A 8)) (K.add (K.mul (Xw K m A 6) (Xw K m A 7)) (K.add (K.mul (Xw K m A   -- (+282 chars; full line in the Zenodo source)
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, y12, y13, LibBinom.castN_add K (m + m) 15, LibBinom.castN_add K m m]
  unfold R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21 R22 R23 R24 R25 R26 R27
  lib_ringz

theorem identity (m : Nat) (A : Nat → R) :
    K.add (K.mul (castN K (106400762391727964160000 * (m + m + 14))) (K.mul (Sw K m A 12) (Sw K m A 14))) (K.add (K.mul (K.add (castN K 5928042476110558003200000) (K.mul (castN K m) (K.add (castN K 46769476126700916965376000) (K.mul (castN K m) (K.add (castN K 137687033376369172788019200) (K.mul (castN K m) (K.add (castN K 296129593330864540310568960) (K.mul (castN K m) (K.add (castN K 43664983955  -- (+162152 chars; full line in the Zenodo source)
    = K.mul (castN K (98800707935175966720000 * (m + m + 15))) (K.mul (Sw K m A 13) (Sw K m A 13)) := by
  rw [Lpow K m A, Rpow K m A, cone0 K A, cone1 K A, cone2 K A, cone3 K A, cone4 K A, cone5 K A, cone6 K A, cone7 K A, cone8 K A, cone9 K A, cone10 K A, cone11 K A, cone12 K A, cone13 K A, cone14 K A, cone15 K A, cone16 K A, cone17 K A, cone18 K A, cone19 K A, cone20 K A, cone21 K A, cone22 K A, cone23 K A, cone24 K A, cone25 K A, cone26 K A, cone27 K A]
  lib_ringz

/-- every weight, n = 12: 106400762391727964160000(2m+14) S_12 S_14 ≤ 98800707935175966720000(2m+15) S_13². -/
theorem all_r (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K (106400762391727964160000 * (m + m + 14))) (K.mul (Sw K m A 12) (Sw K m A 14)))
      (K.mul (castN K (98800707935175966720000 * (m + m + 15))) (K.mul (Sw K m A 13) (Sw K m A 13))) := by
  rw [← identity K m A]
  have cm : O.le K.zero (castN K m) := castN_nonneg K O m
  exact le_add_nn K O _ _ (add_nn K O _ _ (O.mul_nonneg _ _ (add_nn K O _ _ (castN_nonneg K O 5928042476110558003200000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 46769476126700916965376000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 137687033376369172788019200) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 296129593330864540310568960) (O.mul_nonneg _ _ cm (add_nn  -- (+223897 chars; full line in the Zenodo source)

end LibAllR12s_test

#print axioms LibAllR12s_test.cone0
#print axioms LibAllR12s_test.cone1
#print axioms LibAllR12s_test.cone2
#print axioms LibAllR12s_test.cone3
#print axioms LibAllR12s_test.cone4
#print axioms LibAllR12s_test.cone5
#print axioms LibAllR12s_test.cone6
#print axioms LibAllR12s_test.cone7
#print axioms LibAllR12s_test.cone8
#print axioms LibAllR12s_test.cone9
#print axioms LibAllR12s_test.cone10
#print axioms LibAllR12s_test.cone11
#print axioms LibAllR12s_test.cone12
#print axioms LibAllR12s_test.cone13
#print axioms LibAllR12s_test.cone14
#print axioms LibAllR12s_test.cone15
#print axioms LibAllR12s_test.cone16
#print axioms LibAllR12s_test.cone17
#print axioms LibAllR12s_test.cone18
#print axioms LibAllR12s_test.cone19
#print axioms LibAllR12s_test.cone20
#print axioms LibAllR12s_test.cone21
#print axioms LibAllR12s_test.cone22
#print axioms LibAllR12s_test.cone23
#print axioms LibAllR12s_test.cone24
#print axioms LibAllR12s_test.cone25
#print axioms LibAllR12s_test.cone26
#print axioms LibAllR12s_test.cone27
#print axioms LibAllR12s_test.Lpow
#print axioms LibAllR12s_test.Rpow
#print axioms LibAllR12s_test.identity
#print axioms LibAllR12s_test.all_r

AllR3s_test.lean

lean_all/AllR3s_test.lean

/-
  lib/SelfConvAllR3s.lean — T46 shared library (G1410): weighted self-convolution step n = 3, for every weight (split form).

  X_k = C(k+m,m) A_k (weight r = m+1, SelfConvRw4.Xw), S = X ⋆ X (Sw). With Q = 5!²:
      Lpow   72000(2m+5) S_3 S_5 = Σ_k m^k L_k(A),     Rpow   57600(2m+6) S_4² = Σ_k m^k R_k(A)
      cone_k R_k = L_k + Σ_g c_(g,k) G_g   (c ≥ 0 integers; m-free identities)
  hence 72000(2m+5) S_3 S_5 ≤ 57600(2m+6) S_4² for A ≥ 0 with nonnegative gapped minors, every m
  (certs/g61_r2/allr_lp2.py, gen_allrn2.py). Lean 4 core only, proofs by hand, no axioms.
-/
import lib.SelfConvAllFact
import lib.SelfConvRw4

set_option maxRecDepth 200000
set_option maxHeartbeats 0

namespace LibSelfConvAllR3s
open DetChain LibRing YMChain LibPascalLC LibSelfConvR3Small LibSelfConvRw4

variable {R : Type} (K : CRing R) (O : ORing K)

theorem le_add_nn (x y : R) (hy : O.le K.zero y) : O.le x (K.add x y) :=
  congr_le K O (by lib_ring) rfl (O.add_le_add _ _ _ _ (O.le_refl x) hy)

def L0 (A : Nat → R) : R := (K.add (K.mul (castN K 1440000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 1440000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 1440000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 1440000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 1440000) (K.mul (K.mul (A  -- (+111 chars; full line in the Zenodo source)
def R0 (A : Nat → R) : R := (K.add (K.mul (castN K 1382400) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 2764800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 1382400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 1382400) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 1382400) (K.mul (K.mul (A  -- (+110 chars; full line in the Zenodo source)
def L1 (A : Nat → R) : R := (K.add (K.mul (castN K 6504000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 7464000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 7656000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 8016000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 8616000) (K.mul (K.mul (A  -- (+111 chars; full line in the Zenodo source)
def R1 (A : Nat → R) : R := (K.add (K.mul (castN K 6220800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 14515200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 7488000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 8294400) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 8524800) (K.mul (K.mul (  -- (+112 chars; full line in the Zenodo source)
def L2 (A : Nat → R) : R := (K.add (K.mul (castN K 12539200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 16555200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 17512000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 19336000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 22296000) (K.mul (K.m  -- (+117 chars; full line in the Zenodo source)
def R2 (A : Nat → R) : R := (K.add (K.mul (castN K 11952000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 32716800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 17491200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 21542400) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 22848000) (K.mul (K.m  -- (+116 chars; full line in the Zenodo source)
def L3 (A : Nat → R) : R := (K.add (K.mul (castN K 13565200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 20586000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 22602000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 26524000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 32682000) (K.mul (K.m  -- (+117 chars; full line in the Zenodo source)
def R3 (A : Nat → R) : R := (K.add (K.mul (castN K 12896000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 41516800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 23107200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 31731200) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 34886400) (K.mul (K.m  -- (+116 chars; full line in the Zenodo source)
def L4 (A : Nat → R) : R := (K.add (K.mul (castN K 9097200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 15800400) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 18142000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 22812000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 29850000) (K.mul (K.mu  -- (+116 chars; full line in the Zenodo source)
def R4 (A : Nat → R) : R := (K.add (K.mul (castN K 8639200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 32691200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 19022400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 29171200) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 33408000) (K.mul (K.mu  -- (+115 chars; full line in the Zenodo source)
def L5 (A : Nat → R) : R := (K.add (K.mul (castN K 3931200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 7761600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 9400000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 12768000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 17592000) (K.mul (K.mul   -- (+114 chars; full line in the Zenodo source)
def R5 (A : Nat → R) : R := (K.add (K.mul (castN K 3738400) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 16582400) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 10123200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 17344000) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 20793600) (K.mul (K.mu  -- (+115 chars; full line in the Zenodo source)
def L6 (A : Nat → R) : R := (K.add (K.mul (castN K 1096800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 2440800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 3148000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 4656000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 6684000) (K.mul (K.mul (A  -- (+111 chars; full line in the Zenodo source)
def R6 (A : Nat → R) : R := (K.add (K.mul (castN K 1048000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 5427200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 3484800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 6668800) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 8409600) (K.mul (K.mul (A  -- (+111 chars; full line in the Zenodo source)
def L7 (A : Nat → R) : R := (K.add (K.mul (castN K 190800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 474000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 658000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 1068000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 1578000) (K.mul (K.mul (A 1)  -- (+108 chars; full line in the Zenodo source)
def R7 (A : Nat → R) : R := (K.add (K.mul (castN K 184000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 1107200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 748800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 1600000) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 2131200) (K.mul (K.mul (A 1  -- (+108 chars; full line in the Zenodo source)
def L8 (A : Nat → R) : R := (K.add (K.mul (castN K 18800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 51600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 78000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 140000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 210000) (K.mul (K.mul (A 1) (A 1  -- (+102 chars; full line in the Zenodo source)
def R8 (A : Nat → R) : R := (K.add (K.mul (castN K 18400) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 128000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 91200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 217600) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 307200) (K.mul (K.mul (A 1) (A   -- (+103 chars; full line in the Zenodo source)
def L9 (A : Nat → R) : R := (K.add (K.mul (castN K 800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 3) (A 5)))) (K.add (K.mul (castN K 2400) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 2) (A 5)))) (K.add (K.mul (castN K 4000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 8000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 12000) (K.mul (K.mul (A 1) (A 1)) (K.m  -- (+94 chars; full line in the Zenodo source)
def R9 (A : Nat → R) : R := (K.add (K.mul (castN K 800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 4) (A 4)))) (K.add (K.mul (castN K 6400) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 3) (A 4)))) (K.add (K.mul (castN K 4800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 2) (A 4)))) (K.add (K.mul (castN K 12800) (K.mul (K.mul (A 1) (A 1)) (K.mul (A 3) (A 3)))) (K.add (K.mul (castN K 19200) (K.mul (K.mul (A 1) (A 2)) (K.  -- (+94 chars; full line in the Zenodo source)

theorem cone0 (A : Nat → R) : R0 K A = K.add (L0 K A) (K.add (K.mul (castN K 1152000) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 288000) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 1382400) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 1209600) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 230400) (K.mul (K.mul (A 0) (A 2)) (dl K A  -- (+231 chars; full line in the Zenodo source)
  unfold R0 L0 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone1 (A : Nat → R) : R1 K A = K.add (L1 K A) (K.add (K.mul (castN K 6278400) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 1737600) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 6220800) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 6254400) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 1209600) (K.mul (K.mul (A 0) (A 2)) (dl K  -- (+310 chars; full line in the Zenodo source)
  unfold R1 L1 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone2 (A : Nat → R) : R2 K A = K.add (L2 K A) (K.add (K.mul (castN K 14800000) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 4536000) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 11952000) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 13864000) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 2691200) (K.mul (K.mul (A 0) (A 2)) (d  -- (+314 chars; full line in the Zenodo source)
  unfold R2 L2 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone3 (A : Nat → R) : R3 K A = K.add (L3 K A) (K.add (K.mul (castN K 19816000) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 6708000) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 12896000) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 17294800) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 3291200) (K.mul (K.mul (A 0) (A 2)) (d  -- (+314 chars; full line in the Zenodo source)
  unfold R3 L3 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone4 (A : Nat → R) : R4 K A = K.add (L4 K A) (K.add (K.mul (castN K 16634400) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 6177600) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 8639200) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 13412400) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 2388000) (K.mul (K.mul (A 0) (A 2)) (dl  -- (+313 chars; full line in the Zenodo source)
  unfold R4 L4 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone5 (A : Nat → R) : R5 K A = K.add (L5 K A) (K.add (K.mul (castN K 9103200) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 3664800) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 3738400) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 6741600) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 1020000) (K.mul (K.mul (A 0) (A 2)) (dl K  -- (+311 chars; full line in the Zenodo source)
  unfold R5 L5 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone6 (A : Nat → R) : R6 K A = K.add (L6 K A) (K.add (K.mul (castN K 3259200) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 1396800) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 1048000) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 2215200) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 225600) (K.mul (K.mul (A 0) (A 2)) (dl K   -- (+309 chars; full line in the Zenodo source)
  unfold R6 L6 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone7 (A : Nat → R) : R7 K A = K.add (L7 K A) (K.add (K.mul (castN K 739200) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 328800) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 184000) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 464400) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 9600) (K.mul (K.mul (A 0) (A 2)) (dl K A 2 4)  -- (+299 chars; full line in the Zenodo source)
  unfold R7 L7 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone8 (A : Nat → R) : R8 K A = K.add (L8 K A) (K.add (K.mul (castN K 91200) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 43200) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 18400) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 51600) (K.mul (K.mul (A 0) (A 1)) (dl K A 3 4))) (K.add (K.mul (castN K 400) (K.mul (K.mul (A 0) (A 3)) (dl K A 1 4))) (K  -- (+292 chars; full line in the Zenodo source)
  unfold R8 L8 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone9 (A : Nat → R) : R9 K A = K.add (L9 K A) (K.add (K.mul (castN K 2400) (K.mul (dl K A 1 1) (dl K A 3 3))) (K.add (K.mul (castN K 5600) (K.mul (dl K A 1 2) (dl K A 2 3))) (K.add (K.mul (castN K 3200) (K.mul (dl K A 2 2) (dl K A 2 2))) (K.add (K.mul (castN K 800) (K.mul (K.mul (A 0) (A 0)) (dl K A 4 4))) (K.add (K.mul (castN K 2400) (K.mul (K.mul (A 0) (A 2)) (dl K A 2 4))) (K.add (K.mul  -- (+205 chars; full line in the Zenodo source)
  unfold R9 L9 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem Lpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (72000 * (m + m + 5))) (K.mul (Sw K m A 3) (Sw K m A 5)) = (K.add (K.mul K.one (L0 K A)) (K.add (K.mul (castN K m) (L1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (L2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (L3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (L4 K A)) (K.add (K.mul (K.mul (castN   -- (+759 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have E : K.mul (castN K (72000 * (m + m + 5))) (K.mul (Sw K m A 3) (Sw K m A 5))
      = K.mul (castN K (m + m + 5)) (K.add (K.mul (castN K 100) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 6) (Xw K m A 3))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 120) (Xw K m A 5))))) (K.add (K.mul (castN K 500) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 6) (Xw K m A 3))) (K.mul (K.mul (castN K 1) (Xw K m A 1)) (K.mul (castN K 24) (Xw K m   -- (+4133 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 72000 (m + m + 5), show Sw K m A 3 = (K.add (K.mul (Xw K m A 0) (Xw K m A 3)) (K.add (K.mul (Xw K m A 1) (Xw K m A 2)) (K.add (K.mul (Xw K m A 2) (Xw K m A 1)) (K.mul (Xw K m A 3) (Xw K m A 0))))) from rfl, show Sw K m A 5 = (K.add (K.mul (Xw K m A 0) (Xw K m A 5)) (K.add (K.mul (Xw K m A 1) (Xw K m A 4)) (K.add (K.mul (Xw K m A 2) (Xw K m A 3)) (K.add (K.mul (Xw K m A   -- (+106 chars; full line in the Zenodo source)
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, y5, LibBinom.castN_add K (m + m) 5, LibBinom.castN_add K m m]
  unfold L0 L1 L2 L3 L4 L5 L6 L7 L8 L9
  lib_ringz

theorem Rpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (57600 * (m + m + 6))) (K.mul (Sw K m A 4) (Sw K m A 4)) = (K.add (K.mul K.one (R0 K A)) (K.add (K.mul (castN K m) (R1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (R2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (R3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (R4 K A)) (K.add (K.mul (K.mul (castN   -- (+759 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have E : K.mul (castN K (57600 * (m + m + 6))) (K.mul (Sw K m A 4) (Sw K m A 4))
      = K.mul (castN K (m + m + 6)) (K.add (K.mul (castN K 100) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 24) (Xw K m A 4))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 24) (Xw K m A 4))))) (K.add (K.mul (castN K 400) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 24) (Xw K m A 4))) (K.mul (K.mul (castN K 1) (Xw K m A 1)) (K.mul (castN K 6) (Xw K m   -- (+4312 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 57600 (m + m + 6), show Sw K m A 4 = (K.add (K.mul (Xw K m A 0) (Xw K m A 4)) (K.add (K.mul (Xw K m A 1) (Xw K m A 3)) (K.add (K.mul (Xw K m A 2) (Xw K m A 2)) (K.add (K.mul (Xw K m A 3) (Xw K m A 1)) (K.mul (Xw K m A 4) (Xw K m A 0)))))) from rfl]
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, LibBinom.castN_add K (m + m) 6, LibBinom.castN_add K m m]
  unfold R0 R1 R2 R3 R4 R5 R6 R7 R8 R9
  lib_ringz

theorem identity (m : Nat) (A : Nat → R) :
    K.add (K.mul (castN K (72000 * (m + m + 5))) (K.mul (Sw K m A 3) (Sw K m A 5))) (K.add (K.mul (K.add (castN K 1152000) (K.mul (castN K m) (K.add (castN K 6278400) (K.mul (castN K m) (K.add (castN K 14800000) (K.mul (castN K m) (K.add (castN K 19816000) (K.mul (castN K m) (K.add (castN K 16634400) (K.mul (castN K m) (K.add (castN K 9103200) (K.mul (castN K m) (K.add (castN K 3259200) (K.mul (ca  -- (+4716 chars; full line in the Zenodo source)
    = K.mul (castN K (57600 * (m + m + 6))) (K.mul (Sw K m A 4) (Sw K m A 4)) := by
  rw [Lpow K m A, Rpow K m A, cone0 K A, cone1 K A, cone2 K A, cone3 K A, cone4 K A, cone5 K A, cone6 K A, cone7 K A, cone8 K A, cone9 K A]
  lib_ringz

/-- every weight, n = 3: 72000(2m+5) S_3 S_5 ≤ 57600(2m+6) S_4². -/
theorem all_r (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K (72000 * (m + m + 5))) (K.mul (Sw K m A 3) (Sw K m A 5)))
      (K.mul (castN K (57600 * (m + m + 6))) (K.mul (Sw K m A 4) (Sw K m A 4))) := by
  rw [← identity K m A]
  have cm : O.le K.zero (castN K m) := castN_nonneg K O m
  exact le_add_nn K O _ _ (add_nn K O _ _ (O.mul_nonneg _ _ (add_nn K O _ _ (castN_nonneg K O 1152000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 6278400) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 14800000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 19816000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 16634400) (O.mul_nonneg _ _ cm (add_nn K O _ _ (  -- (+7225 chars; full line in the Zenodo source)

end LibSelfConvAllR3s

#print axioms LibSelfConvAllR3s.cone0
#print axioms LibSelfConvAllR3s.cone1
#print axioms LibSelfConvAllR3s.cone2
#print axioms LibSelfConvAllR3s.cone3
#print axioms LibSelfConvAllR3s.cone4
#print axioms LibSelfConvAllR3s.cone5
#print axioms LibSelfConvAllR3s.cone6
#print axioms LibSelfConvAllR3s.cone7
#print axioms LibSelfConvAllR3s.cone8
#print axioms LibSelfConvAllR3s.cone9
#print axioms LibSelfConvAllR3s.Lpow
#print axioms LibSelfConvAllR3s.Rpow
#print axioms LibSelfConvAllR3s.identity
#print axioms LibSelfConvAllR3s.all_r

AllR9s_test.lean

lean_all/AllR9s_test.lean

/-
  AllR9s_test.lean (test) — T46 shared library (G1410): weighted self-convolution step n = 9, for every weight (split form).

  X_k = C(k+m,m) A_k (weight r = m+1, SelfConvRw4.Xw), S = X ⋆ X (Sw). With Q = 11!²:
      Lpow   17526860144640000(2m+11) S_9 S_11 = Σ_k m^k L_k(A),     Rpow   15933509222400000(2m+12) S_10² = Σ_k m^k R_k(A)
      cone_k R_k = L_k + Σ_g c_(g,k) G_g   (c ≥ 0 integers; m-free identities)
  hence 17526860144640000(2m+11) S_9 S_11 ≤ 15933509222400000(2m+12) S_10² for A ≥ 0 with nonnegative gapped minors, every m
  (certs/g61_r2/allr_lp2.py, gen_allrn2.py). Lean 4 core only, proofs by hand, no axioms.
-/
import lib.SelfConvAllFact
import lib.SelfConvRw4

set_option maxRecDepth 200000
set_option maxHeartbeats 0

namespace LibAllR9s_test
open DetChain LibRing YMChain LibPascalLC LibSelfConvR3Small LibSelfConvRw4

variable {R : Type} (K : CRing R) (O : ORing K)

theorem le_add_nn (x y : R) (hy : O.le K.zero y) : O.le x (K.add x y) :=
  congr_le K O (by lib_ring) rfl (O.add_le_add _ _ _ _ (O.le_refl x) hy)

def L0 (A : Nat → R) : R := (K.add (K.mul (castN K 771181846364160000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 771181846364160000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 771181846364160000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 771181846364160000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11))))   -- (+2419 chars; full line in the Zenodo source)
def R0 (A : Nat → R) : R := (K.add (K.mul (castN K 764808442675200000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 1529616885350400000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 1529616885350400000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 1529616885350400000) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)  -- (+1589 chars; full line in the Zenodo source)
def L1 (A : Nat → R) : R := (K.add (K.mul (castN K 4650738429173760000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 5336233403719680000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 5351812834959360000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 5625426596106240000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)  -- (+2449 chars; full line in the Zenodo source)
def R1 (A : Nat → R) : R := (K.add (K.mul (castN K 4607667371704320000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 10591989940224000000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 11186840951193600000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 11505511135641600000) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A  -- (+1610 chars; full line in the Zenodo source)
def L2 (A : Nat → R) : R := (K.add (K.mul (castN K 12816289558732492800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 16874113165270732800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 16980499548364492800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 18839051542617292800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A  -- (+2479 chars; full line in the Zenodo source)
def R2 (A : Nat → R) : R := (K.add (K.mul (castN K 12683785953079296000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 33523707655544832000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 37576720297746432000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 39867478389522432000) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (  -- (+1620 chars; full line in the Zenodo source)
def L3 (A : Nat → R) : R := (K.add (K.mul (castN K 21527135314734551040) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 32468523410659184640) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 32799743096342999040) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 38550698550467389440) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A  -- (+2479 chars; full line in the Zenodo source)
def R3 (A : Nat → R) : R := (K.add (K.mul (castN K 21280154622404198400) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 64575510385412505600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 77162173068990873600) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 84704311702882713600) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (  -- (+1627 chars; full line in the Zenodo source)
def L4 (A : Nat → R) : R := (K.add (K.mul (castN K 24798208996602328320) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 42717730599041414400) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 43343549484396606720) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 54133154985562583040) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A  -- (+2495 chars; full line in the Zenodo source)
def R4 (A : Nat → R) : R := (K.add (K.mul (castN K 24484903424262420480) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 85072565054791987200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 108786745462054809600) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 123919430855524761600) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7)  -- (+1637 chars; full line in the Zenodo source)
def L5 (A : Nat → R) : R := (K.add (K.mul (castN K 20890181161064350080) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 40941975646662076800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 41748067477266986880) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 55534196572987461120) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A  -- (+2498 chars; full line in the Zenodo source)
def R5 (A : Nat → R) : R := (K.add (K.mul (castN K 20602120459528903680) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 81666791262103449600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 112115657627048908800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 132887977257459916800) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7)  -- (+1637 chars; full line in the Zenodo source)
def L6 (A : Nat → R) : R := (K.add (K.mul (castN K 13392074223835436800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 29733146979715111680) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 30486976523330060800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 43262360231422717440) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A  -- (+2496 chars; full line in the Zenodo source)
def R6 (A : Nat → R) : R := (K.add (K.mul (castN K 13192490413177996800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 59422542619203456000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 87798642958360857600) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 108559531676861337600) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7)   -- (+1636 chars; full line in the Zenodo source)
def L7 (A : Nat → R) : R := (K.add (K.mul (castN K 6708480158062767040) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 16796871384152080320) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 17329011061595471040) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 26255649845081796480) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A   -- (+2490 chars; full line in the Zenodo source)
def R7 (A : Nat → R) : R := (K.add (K.mul (castN K 6601553156185644800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 33645832876806937600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 53601699413257459200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 69297972273103411200) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A  -- (+1631 chars; full line in the Zenodo source)
def L8 (A : Nat → R) : R := (K.add (K.mul (castN K 2673824504041890320) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 7515985619421092880) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 7806940020141432720) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 12632465080861908480) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11  -- (+2481 chars; full line in the Zenodo source)
def R8 (A : Nat → R) : R := (K.add (K.mul (castN K 2628745611654743680) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 15096014248000083200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 25963186307152723200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 35168172910767283200) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A  -- (+1627 chars; full line in the Zenodo source)
def L9 (A : Nat → R) : R := (K.add (K.mul (castN K 858490451829189080) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 2697205442602069080) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 2822593135858221880) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 4876140117204876960) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11))  -- (+2468 chars; full line in the Zenodo source)
def R9 (A : Nat → R) : R := (K.add (K.mul (castN K 843359398082569280) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 5434608594674617600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 10097817240102134400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 14356191061973798400) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 1  -- (+1617 chars; full line in the Zenodo source)
def L10 (A : Nat → R) : R := (K.add (K.mul (castN K 223824388638793800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 782625346845530760) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 825715464480871800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 1521710553495955680) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))  -- (+2460 chars; full line in the Zenodo source)
def R10 (A : Nat → R) : R := (K.add (K.mul (castN K 219751394572221600) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 1582760725842120000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 3178085329834747200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 4749500527122067200) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10  -- (+1611 chars; full line in the Zenodo source)
def L11 (A : Nat → R) : R := (K.add (K.mul (castN K 47596071722267640) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 184462088489335800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 196355418135527640) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 385560942725106720) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11))))   -- (+2440 chars; full line in the Zenodo source)
def R11 (A : Nat → R) : R := (K.add (K.mul (castN K 46713844047301200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 374654404654833600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 812914175372032800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 1278588386093356800) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))  -- (+1599 chars; full line in the Zenodo source)
def L12 (A : Nat → R) : R := (K.add (K.mul (castN K 8265075219862120) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 35365359332203560) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 38010654384354520) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 79401285736233120) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.a  -- (+2425 chars; full line in the Zenodo source)
def R12 (A : Nat → R) : R := (K.add (K.mul (castN K 8111342612134080) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 72184932853387200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 169188337917244800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 280336181446252800) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (  -- (+1587 chars; full line in the Zenodo source)
def L13 (A : Nat → R) : R := (K.add (K.mul (castN K 1169664277281280) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 5505255126898560) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 5979225462202080) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 13262774075971200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add  -- (+2404 chars; full line in the Zenodo source)
def R13 (A : Nat → R) : R := (K.add (K.mul (castN K 1148200574040080) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 11300593087009600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 28594355300676000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 49948445258976000) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.  -- (+1573 chars; full line in the Zenodo source)
def L14 (A : Nat → R) : R := (K.add (K.mul (castN K 134157212670800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 692126475852240) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 760255538842800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 1786907279805120) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.  -- (+2379 chars; full line in the Zenodo source)
def R14 (A : Nat → R) : R := (K.add (K.mul (castN K 131776600542400) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 1429895040464000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 3903040995004800) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 7190937104524800) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add   -- (+1557 chars; full line in the Zenodo source)
def L15 (A : Nat → R) : R := (K.add (K.mul (castN K 12349887099440) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 69604158008880) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 77392959875440) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 192303985959360) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.mul   -- (+2353 chars; full line in the Zenodo source)
def R15 (A : Nat → R) : R := (K.add (K.mul (castN K 12143114429600) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 144849925897600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 426126224462400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 828272751398400) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add (K.m  -- (+1538 chars; full line in the Zenodo source)
def L16 (A : Nat → R) : R := (K.add (K.mul (castN K 898519031520) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 5514610796640) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 6212682505920) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 16278691556160) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.mul (cast  -- (+2323 chars; full line in the Zenodo source)
def R16 (A : Nat → R) : R := (K.add (K.mul (castN K 884769578880) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 11570775427200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 36648380102400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 75156360998400) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add (K.mul (c  -- (+1517 chars; full line in the Zenodo source)
def L17 (A : Nat → R) : R := (K.add (K.mul (castN K 50463809880) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 336248308440) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 384193522680) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 1058717262240) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.mul (castN K   -- (+2290 chars; full line in the Zenodo source)
def R17 (A : Nat → R) : R := (K.add (K.mul (castN K 49788557280) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 712038729600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 2425384209600) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 5246965785600) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add (K.mul (castN   -- (+1493 chars; full line in the Zenodo source)
def L18 (A : Nat → R) : R := (K.add (K.mul (castN K 2109005800) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 15211892520) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 17646131800) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 50996388960) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.mul (castN K 69679  -- (+2255 chars; full line in the Zenodo source)
def R18 (A : Nat → R) : R := (K.add (K.mul (castN K 2085943200) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 32545128000) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 119077358400) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 271668038400) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add (K.mul (castN K 43  -- (+1469 chars; full line in the Zenodo source)
def L19 (A : Nat → R) : R := (K.add (K.mul (castN K 61714840) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 480510360) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 566526840) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 1711908000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.mul (castN K 2421621400)   -- (+2210 chars; full line in the Zenodo source)
def R19 (A : Nat → R) : R := (K.add (K.mul (castN K 61226000) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 1039825600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 4081572000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 9815520000) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add (K.mul (castN K 161038416  -- (+1437 chars; full line in the Zenodo source)
def L20 (A : Nat → R) : R := (K.add (K.mul (castN K 1127720) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 9452520) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 11340120) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 35719200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.mul (castN K 52441400) (K.mul (  -- (+2163 chars; full line in the Zenodo source)
def R20 (A : Nat → R) : R := (K.add (K.mul (castN K 1122880) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 20715200) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 87120000) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 220704000) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add (K.mul (castN K 374035200) (K.m  -- (+1406 chars; full line in the Zenodo source)
def L21 (A : Nat → R) : R := (K.add (K.mul (castN K 9680) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 9) (A 11)))) (K.add (K.mul (castN K 87120) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 8) (A 11)))) (K.add (K.mul (castN K 106480) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 348480) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 7) (A 11)))) (K.add (K.mul (castN K 532400) (K.mul (K.mul (A 0)  -- (+2104 chars; full line in the Zenodo source)
def R21 (A : Nat → R) : R := (K.add (K.mul (castN K 9680) (K.mul (K.mul (A 0) (A 0)) (K.mul (A 10) (A 10)))) (K.add (K.mul (castN K 193600) (K.mul (K.mul (A 0) (A 1)) (K.mul (A 9) (A 10)))) (K.add (K.mul (castN K 871200) (K.mul (K.mul (A 0) (A 2)) (K.mul (A 8) (A 10)))) (K.add (K.mul (castN K 2323200) (K.mul (K.mul (A 0) (A 3)) (K.mul (A 7) (A 10)))) (K.add (K.mul (castN K 4065600) (K.mul (K.mul (  -- (+1365 chars; full line in the Zenodo source)

theorem cone0 (A : Nat → R) : R0 K A = K.add (L0 K A) (K.add (K.mul (castN K 764808442675200000) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 503498891427840000) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 318670184448000000) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 605473350451200000) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 16570849591  -- (+2776 chars; full line in the Zenodo source)
  unfold R0 L0 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone1 (A : Nat → R) : R1 K A = K.add (L1 K A) (K.add (K.mul (castN K 5607300332519424000) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 3498765945421824000) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 1832732929843200000) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 4563078837166080000) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 1409045  -- (+3415 chars; full line in the Zenodo source)
  unfold R1 L1 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone2 (A : Nat → R) : R2 K A = K.add (L2 K A) (K.add (K.mul (castN K 18888293545036185600) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 10902427748345548800) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 3799867689649152000) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 15854058759813120000) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 5524  -- (+3440 chars; full line in the Zenodo source)
  unfold R2 L2 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone3 (A : Nat → R) : R3 K A = K.add (L3 K A) (K.add (K.mul (castN K 38911213229620469760) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 19987368976905707520) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 1208108880384215040) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 33823249356066508800) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 1326  -- (+3459 chars; full line in the Zenodo source)
  unfold R3 L3 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone4 (A : Nat → R) : R4 K A = K.add (L4 K A) (K.add (K.mul (castN K 55059416063040153600) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 20550533708907290880) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 3089652984296524800) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 49814521100247214080) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 2187  -- (+3459 chars; full line in the Zenodo source)
  unfold R4 L4 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone5 (A : Nat → R) : R5 K A = K.add (L5 K A) (K.add (K.mul (castN K 56979512703723456000) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 17726271862550739840) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 4836169885402437120) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 54020340187186222080) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 2627  -- (+3470 chars; full line in the Zenodo source)
  unfold R5 L5 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone6 (A : Nat → R) : R6 K A = K.add (L6 K A) (K.add (K.mul (castN K 44830638687468536320) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 5668043424551354880) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 5269055459986053120) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 16443429003221594880) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 52322  -- (+3460 chars; full line in the Zenodo source)
  unfold R6 L6 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone7 (A : Nat → R) : R7 K A = K.add (L7 K A) (K.add (K.mul (castN K 27514918689175399680) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 4251107824828001280) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 4241824792884792960) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 33915219906113736960) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 12273  -- (+3463 chars; full line in the Zenodo source)
  unfold R7 L7 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone8 (A : Nat → R) : R8 K A = K.add (L8 K A) (K.add (K.mul (castN K 13407627905678286720) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 2397651660504476640) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 2610019424027104320) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 19125618906872829120) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 56306  -- (+3451 chars; full line in the Zenodo source)
  unfold R8 L8 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone9 (A : Nat → R) : R9 K A = K.add (L9 K A) (K.add (K.mul (castN K 5250066772385876320) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 1034073144838792080) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 1253047221006467040) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 1409768454034266480) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 9302264  -- (+3435 chars; full line in the Zenodo source)
  unfold R9 L9 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone10 (A : Nat → R) : R10 K A = K.add (L10 K A) (K.add (K.mul (castN K 1665044211080991840) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 342693369839010960) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 475301704819011840) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 2940923150098711800) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 828989  -- (+3428 chars; full line in the Zenodo source)
  unfold R10 L10 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone11 (A : Nat → R) : R11 K A = K.add (L11 K A) (K.add (K.mul (castN K 429586307904784800) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 86569928800842960) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 143409386539853280) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 179853530361064560) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 903534045  -- (+3400 chars; full line in the Zenodo source)
  unfold R11 L11 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone12 (A : Nat → R) : R12 K A = K.add (L12 K A) (K.add (K.mul (castN K 78742624693588240) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 16187176408003920) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 34486027040720640) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 46425169353079440) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 208012303455  -- (+3371 chars; full line in the Zenodo source)
  unfold R12 L12 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone13 (A : Nat → R) : R13 K A = K.add (L13 K A) (K.add (K.mul (castN K 7657106918811680) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 2056715657472960) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 6592444933018560) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 29039788354069680) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 196801509718096  -- (+3354 chars; full line in the Zenodo source)
  unfold R13 L13 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone14 (A : Nat → R) : R14 K A = K.add (L14 K A) (K.add (K.mul (castN K 882591722318240) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 120620546497440) (K.mul (dl K A 1 2) (dl K A 8 9))) (K.add (K.mul (castN K 994315878716160) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 4263005455420800) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 3299008460959200) (  -- (+3321 chars; full line in the Zenodo source)
  unfold R14 L14 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone15 (A : Nat → R) : R15 K A = K.add (L15 K A) (K.add (K.mul (castN K 109830582327840) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 116724388334400) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 213077214171360) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 728863046862720) (K.mul (dl K A 1 5) (dl K A 5 9))) (K.add (K.mul (castN K 635968765439040) (K.  -- (+3282 chars; full line in the Zenodo source)
  unfold R15 L15 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone16 (A : Nat → R) : R16 K A = K.add (L16 K A) (K.add (K.mul (castN K 10514889855360) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 10431364426560) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 22086719202240) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 70614959184000) (K.mul (dl K A 1 5) (dl K A 5 9))) (K.add (K.mul (castN K 58877669442240) (K.mul (  -- (+3237 chars; full line in the Zenodo source)
  unfold R16 L16 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone17 (A : Nat → R) : R17 K A = K.add (L17 K A) (K.add (K.mul (castN K 760996830000) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 684875933280) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 1750897597680) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 5288186090880) (K.mul (dl K A 1 5) (dl K A 5 9))) (K.add (K.mul (castN K 4188248523360) (K.mul (dl K A   -- (+3189 chars; full line in the Zenodo source)
  unfold R17 L17 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone18 (A : Nat → R) : R18 K A = K.add (L18 K A) (K.add (K.mul (castN K 31113223680) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 102352496400) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 295099543200) (K.mul (dl K A 1 5) (dl K A 5 9))) (K.add (K.mul (castN K 220671649440) (K.mul (dl K A 1 6) (dl K A 4 9))) (K.add (K.mul (castN K 103865465880) (K.mul (dl K A 1 7)  -- (+3144 chars; full line in the Zenodo source)
  unfold R18 L18 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone19 (A : Nat → R) : R19 K A = K.add (L19 K A) (K.add (K.mul (castN K 1473189520) (K.mul (dl K A 1 1) (dl K A 9 9))) (K.add (K.mul (castN K 872884320) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 4152400560) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 11547117120) (K.mul (dl K A 1 5) (dl K A 5 9))) (K.add (K.mul (castN K 8103612000) (K.mul (dl K A 1 6) (dl K A   -- (+3067 chars; full line in the Zenodo source)
  unfold R19 L19 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone20 (A : Nat → R) : R20 K A = K.add (L20 K A) (K.add (K.mul (castN K 11383680) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 104282640) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 282559200) (K.mul (dl K A 1 5) (dl K A 5 9))) (K.add (K.mul (castN K 184984800) (K.mul (dl K A 1 6) (dl K A 4 9))) (K.add (K.mul (castN K 77667480) (K.mul (dl K A 1 7) (dl K A 3 9)))   -- (+3002 chars; full line in the Zenodo source)
  unfold R20 L20 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem cone21 (A : Nat → R) : R21 K A = K.add (L21 K A) (K.add (K.mul (castN K 1219680) (K.mul (dl K A 1 3) (dl K A 7 9))) (K.add (K.mul (castN K 2439360) (K.mul (dl K A 1 4) (dl K A 6 9))) (K.add (K.mul (castN K 813120) (K.mul (dl K A 1 5) (dl K A 5 9))) (K.add (K.mul (castN K 1974720) (K.mul (dl K A 1 6) (dl K A 4 9))) (K.add (K.mul (castN K 784080) (K.mul (dl K A 1 7) (dl K A 3 9))) (K.add (K.  -- (+2857 chars; full line in the Zenodo source)
  unfold R21 L21 dl sub
  simp only [Nat.reduceSub, Nat.reduceAdd]
  lib_ringz

theorem Lpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (17526860144640000 * (m + m + 11))) (K.mul (Sw K m A 9) (Sw K m A 11)) = (K.add (K.mul K.one (L0 K A)) (K.add (K.mul (castN K m) (L1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (L2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (L3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (L4 K A)) (K.add (K.mul   -- (+4709 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have y6 : (K.mul (castN K 720) (Xw K m A 6)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (A 6) := by
    show K.mul (castN K 720) (K.mul (castN K (LibBinom.C (6 + m) m)) (A 6)) = _
    rw [Nat.add_comm 6 m, ← LibSelfConvAllFact.fact6 K m]; lib_ringz
  have y7 : (K.mul (castN K 5040) (Xw K m A 7)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (A 7) := by
    show K.mul (castN K 5040) (K.mul (castN K (LibBinom.C (7 + m) m)) (A 7)) = _
    rw [Nat.add_comm 7 m, ← LibSelfConvAllFact.fact7 K m]; lib_ringz
  have y8 : (K.mul (castN K 40320) (Xw K m A 8)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (A 8) := by
    show K.mul (castN K 40320) (K.mul (castN K (LibBinom.C (8 + m) m)) (A 8)) = _
    rw [Nat.add_comm 8 m, ← LibSelfConvAllFact.fact8 K m]; lib_ringz
  have y9 : (K.mul (castN K 362880) (Xw K m A 9)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN K m) (cas  -- (+21 chars; full line in the Zenodo source)
    show K.mul (castN K 362880) (K.mul (castN K (LibBinom.C (9 + m) m)) (A 9)) = _
    rw [Nat.add_comm 9 m, ← LibSelfConvAllFact.fact9 K m]; lib_ringz
  have y10 : (K.mul (castN K 3628800) (Xw K m A 10)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN  -- (+66 chars; full line in the Zenodo source)
    show K.mul (castN K 3628800) (K.mul (castN K (LibBinom.C (10 + m) m)) (A 10)) = _
    rw [Nat.add_comm 10 m, ← LibSelfConvAllFact.fact10 K m]; lib_ringz
  have y11 : (K.mul (castN K 39916800) (Xw K m A 11)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.ad  -- (+108 chars; full line in the Zenodo source)
    show K.mul (castN K 39916800) (K.mul (castN K (LibBinom.C (11 + m) m)) (A 11)) = _
    rw [Nat.add_comm 11 m, ← LibSelfConvAllFact.fact11 K m]; lib_ringz
  have E : K.mul (castN K (17526860144640000 * (m + m + 11))) (K.mul (Sw K m A 9) (Sw K m A 11))
      = K.mul (castN K (m + m + 11)) (K.add (K.mul (castN K 1210) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 362880) (Xw K m A 9))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 39916800) (Xw K m A 11))))) (K.add (K.mul (castN K 13310) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 362880) (Xw K m A 9))) (K.mul (K.mul (castN K 1) (Xw K m A 1)) (K.mul (  -- (+23438 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 17526860144640000 (m + m + 11), show Sw K m A 9 = (K.add (K.mul (Xw K m A 0) (Xw K m A 9)) (K.add (K.mul (Xw K m A 1) (Xw K m A 8)) (K.add (K.mul (Xw K m A 2) (Xw K m A 7)) (K.add (K.mul (Xw K m A 3) (Xw K m A 6)) (K.add (K.mul (Xw K m A 4) (Xw K m A 5)) (K.add (K.mul (Xw K m A 5) (Xw K m A 4)) (K.add (K.mul (Xw K m A 6) (Xw K m A 3)) (K.add (K.mul (Xw K m A 7) (Xw K m   -- (+628 chars; full line in the Zenodo source)
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, y11, LibBinom.castN_add K (m + m) 11, LibBinom.castN_add K m m]
  unfold L0 L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 L11 L12 L13 L14 L15 L16 L17 L18 L19 L20 L21
  lib_ringz

theorem Rpow (m : Nat) (A : Nat → R) :
    K.mul (castN K (15933509222400000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 10)) = (K.add (K.mul K.one (R0 K A)) (K.add (K.mul (castN K m) (R1 K A)) (K.add (K.mul (K.mul (castN K m) (castN K m)) (R2 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (castN K m))) (R3 K A)) (K.add (K.mul (K.mul (castN K m) (K.mul (castN K m) (K.mul (castN K m) (castN K m)))) (R4 K A)) (K.add (K.mul  -- (+4710 chars; full line in the Zenodo source)
  have y0 : (K.mul (castN K 1) (Xw K m A 0)) = K.mul K.one (A 0) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (0 + m) m)) (A 0)) = _
    rw [Nat.add_comm 0 m, ← LibSelfConvAllFact.fact0 K m]; lib_ringz
  have y1 : (K.mul (castN K 1) (Xw K m A 1)) = K.mul (K.add (castN K m) (castN K 1)) (A 1) := by
    show K.mul (castN K 1) (K.mul (castN K (LibBinom.C (1 + m) m)) (A 1)) = _
    rw [Nat.add_comm 1 m, ← LibSelfConvAllFact.fact1 K m]; lib_ringz
  have y2 : (K.mul (castN K 2) (Xw K m A 2)) = K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (A 2) := by
    show K.mul (castN K 2) (K.mul (castN K (LibBinom.C (2 + m) m)) (A 2)) = _
    rw [Nat.add_comm 2 m, ← LibSelfConvAllFact.fact2 K m]; lib_ringz
  have y3 : (K.mul (castN K 6) (Xw K m A 3)) = K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (A 3) := by
    show K.mul (castN K 6) (K.mul (castN K (LibBinom.C (3 + m) m)) (A 3)) = _
    rw [Nat.add_comm 3 m, ← LibSelfConvAllFact.fact3 K m]; lib_ringz
  have y4 : (K.mul (castN K 24) (Xw K m A 4)) = K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (A 4) := by
    show K.mul (castN K 24) (K.mul (castN K (LibBinom.C (4 + m) m)) (A 4)) = _
    rw [Nat.add_comm 4 m, ← LibSelfConvAllFact.fact4 K m]; lib_ringz
  have y5 : (K.mul (castN K 120) (Xw K m A 5)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (A 5) := by
    show K.mul (castN K 120) (K.mul (castN K (LibBinom.C (5 + m) m)) (A 5)) = _
    rw [Nat.add_comm 5 m, ← LibSelfConvAllFact.fact5 K m]; lib_ringz
  have y6 : (K.mul (castN K 720) (Xw K m A 6)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (A 6) := by
    show K.mul (castN K 720) (K.mul (castN K (LibBinom.C (6 + m) m)) (A 6)) = _
    rw [Nat.add_comm 6 m, ← LibSelfConvAllFact.fact6 K m]; lib_ringz
  have y7 : (K.mul (castN K 5040) (Xw K m A 7)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (A 7) := by
    show K.mul (castN K 5040) (K.mul (castN K (LibBinom.C (7 + m) m)) (A 7)) = _
    rw [Nat.add_comm 7 m, ← LibSelfConvAllFact.fact7 K m]; lib_ringz
  have y8 : (K.mul (castN K 40320) (Xw K m A 8)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (A 8) := by
    show K.mul (castN K 40320) (K.mul (castN K (LibBinom.C (8 + m) m)) (A 8)) = _
    rw [Nat.add_comm 8 m, ← LibSelfConvAllFact.fact8 K m]; lib_ringz
  have y9 : (K.mul (castN K 362880) (Xw K m A 9)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN K m) (cas  -- (+21 chars; full line in the Zenodo source)
    show K.mul (castN K 362880) (K.mul (castN K (LibBinom.C (9 + m) m)) (A 9)) = _
    rw [Nat.add_comm 9 m, ← LibSelfConvAllFact.fact9 K m]; lib_ringz
  have y10 : (K.mul (castN K 3628800) (Xw K m A 10)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.add (castN  -- (+66 chars; full line in the Zenodo source)
    show K.mul (castN K 3628800) (K.mul (castN K (LibBinom.C (10 + m) m)) (A 10)) = _
    rw [Nat.add_comm 10 m, ← LibSelfConvAllFact.fact10 K m]; lib_ringz
  have y11 : (K.mul (castN K 39916800) (Xw K m A 11)) = K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.mul (K.add (castN K m) (castN K 1)) (K.add (castN K m) (castN K 2))) (K.add (castN K m) (castN K 3))) (K.add (castN K m) (castN K 4))) (K.add (castN K m) (castN K 5))) (K.add (castN K m) (castN K 6))) (K.add (castN K m) (castN K 7))) (K.add (castN K m) (castN K 8))) (K.ad  -- (+108 chars; full line in the Zenodo source)
    show K.mul (castN K 39916800) (K.mul (castN K (LibBinom.C (11 + m) m)) (A 11)) = _
    rw [Nat.add_comm 11 m, ← LibSelfConvAllFact.fact11 K m]; lib_ringz
  have E : K.mul (castN K (15933509222400000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 10))
      = K.mul (castN K (m + m + 12)) (K.add (K.mul (castN K 1210) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 3628800) (Xw K m A 10))) (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 3628800) (Xw K m A 10))))) (K.add (K.mul (castN K 12100) (K.mul (K.mul (K.mul (castN K 1) (Xw K m A 0)) (K.mul (castN K 3628800) (Xw K m A 10))) (K.mul (K.mul (castN K 1) (Xw K m A 1)) (K.mu  -- (+23641 chars; full line in the Zenodo source)
    rw [LibFrob.castN_mul K 15933509222400000 (m + m + 12), show Sw K m A 10 = (K.add (K.mul (Xw K m A 0) (Xw K m A 10)) (K.add (K.mul (Xw K m A 1) (Xw K m A 9)) (K.add (K.mul (Xw K m A 2) (Xw K m A 8)) (K.add (K.mul (Xw K m A 3) (Xw K m A 7)) (K.add (K.mul (Xw K m A 4) (Xw K m A 6)) (K.add (K.mul (Xw K m A 5) (Xw K m A 5)) (K.add (K.mul (Xw K m A 6) (Xw K m A 4)) (K.add (K.mul (Xw K m A 7) (Xw K   -- (+144 chars; full line in the Zenodo source)
    lib_ringz
  rw [E, y0, y1, y2, y3, y4, y5, y6, y7, y8, y9, y10, LibBinom.castN_add K (m + m) 12, LibBinom.castN_add K m m]
  unfold R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R18 R19 R20 R21
  lib_ringz

theorem identity (m : Nat) (A : Nat → R) :
    K.add (K.mul (castN K (17526860144640000 * (m + m + 11))) (K.mul (Sw K m A 9) (Sw K m A 11))) (K.add (K.mul (K.add (castN K 764808442675200000) (K.mul (castN K m) (K.add (castN K 5607300332519424000) (K.mul (castN K m) (K.add (castN K 18888293545036185600) (K.mul (castN K m) (K.add (castN K 38911213229620469760) (K.mul (castN K m) (K.add (castN K 55059416063040153600) (K.mul (castN K m) (K.add  -- (+68821 chars; full line in the Zenodo source)
    = K.mul (castN K (15933509222400000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 10)) := by
  rw [Lpow K m A, Rpow K m A, cone0 K A, cone1 K A, cone2 K A, cone3 K A, cone4 K A, cone5 K A, cone6 K A, cone7 K A, cone8 K A, cone9 K A, cone10 K A, cone11 K A, cone12 K A, cone13 K A, cone14 K A, cone15 K A, cone16 K A, cone17 K A, cone18 K A, cone19 K A, cone20 K A, cone21 K A]
  lib_ringz

/-- every weight, n = 9: 17526860144640000(2m+11) S_9 S_11 ≤ 15933509222400000(2m+12) S_10². -/
theorem all_r (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K (17526860144640000 * (m + m + 11))) (K.mul (Sw K m A 9) (Sw K m A 11)))
      (K.mul (castN K (15933509222400000 * (m + m + 12))) (K.mul (Sw K m A 10) (Sw K m A 10))) := by
  rw [← identity K m A]
  have cm : O.le K.zero (castN K m) := castN_nonneg K O m
  exact le_add_nn K O _ _ (add_nn K O _ _ (O.mul_nonneg _ _ (add_nn K O _ _ (castN_nonneg K O 764808442675200000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 5607300332519424000) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 18888293545036185600) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 38911213229620469760) (O.mul_nonneg _ _ cm (add_nn K O _ _ (castN_nonneg K O 5  -- (+97358 chars; full line in the Zenodo source)

end LibAllR9s_test

#print axioms LibAllR9s_test.cone0
#print axioms LibAllR9s_test.cone1
#print axioms LibAllR9s_test.cone2
#print axioms LibAllR9s_test.cone3
#print axioms LibAllR9s_test.cone4
#print axioms LibAllR9s_test.cone5
#print axioms LibAllR9s_test.cone6
#print axioms LibAllR9s_test.cone7
#print axioms LibAllR9s_test.cone8
#print axioms LibAllR9s_test.cone9
#print axioms LibAllR9s_test.cone10
#print axioms LibAllR9s_test.cone11
#print axioms LibAllR9s_test.cone12
#print axioms LibAllR9s_test.cone13
#print axioms LibAllR9s_test.cone14
#print axioms LibAllR9s_test.cone15
#print axioms LibAllR9s_test.cone16
#print axioms LibAllR9s_test.cone17
#print axioms LibAllR9s_test.cone18
#print axioms LibAllR9s_test.cone19
#print axioms LibAllR9s_test.cone20
#print axioms LibAllR9s_test.cone21
#print axioms LibAllR9s_test.Lpow
#print axioms LibAllR9s_test.Rpow
#print axioms LibAllR9s_test.identity
#print axioms LibAllR9s_test.all_r

AllUpto8_test.lean

lean_all/AllUpto8_test.lean

/-
  lib/SelfConvAllUpto.lean — T46 shared library (G1412): weighted self-convolution log-concavity for every weight, n <= 8, one form.

  X_k = C(k+m,m) A_k (weight r = m+1), S = X * X (SelfConvRw4.Sw). For A >= 0 with LibDPFin.Inner and 1 != 0:
      (n+2)(2m+n+2) S_n S_(n+2) <= (n+1)(2m+n+3) S_(n+1)^2   for all m and n <= 8,
  i.e. S_n / C(n+2m+1, n) is log-concave there. Collected from SelfConvAllR0 ... SelfConvAllR8 by cancelling
  the positive common factor. Lean 4 core only, proofs by hand, no axioms.
-/
import lib.SelfConvAllR0
import lib.SelfConvAllR1
import lib.SelfConvAllR2
import lib.SelfConvAllR3
import lib.SelfConvAllR4
import lib.SelfConvAllR5
import lib.SelfConvAllR6
import lib.SelfConvAllR7
import lib.SelfConvAllR8
import lib.LCHeat

namespace LibSelfConvAllUpto
open DetChain LibRing YMChain LibPascalLC LibSelfConvRw4

variable {R : Type} (K : CRing R) (O : ORing K)

theorem std0 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((0 + 2) * (m + m + 0 + 2))) (K.mul (Sw K m A 0) (Sw K m A 2)))
      (K.mul (castN K ((0 + 1) * (m + m + 0 + 3))) (K.mul (Sw K m A 1) (Sw K m A 1))) := by
  have h := LibSelfConvAllR0.all_r0 K O m A (hi 0 1 0)
  have e1 : castN K ((m + m + 2) * (m + m + 2)) = K.mul (castN K (m + 1)) (castN K ((0 + 2) * (m + m + 0 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K ((m + m + 3) * (m + 1)) = K.mul (castN K (m + 1)) (castN K ((0 + 1) * (m + m + 0 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 m)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std1 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((1 + 2) * (m + m + 1 + 2))) (K.mul (Sw K m A 1) (Sw K m A 3)))
      (K.mul (castN K ((1 + 1) * (m + m + 1 + 3))) (K.mul (Sw K m A 2) (Sw K m A 2))) := by
  have h := LibSelfConvAllR1.all_r1 K O m A (h0 0) (h0 1) (hi 0 1 0) (hi 0 1 1) (hi 1 1 0)
  have e1 : castN K (3 * (m + m + 3)) = K.mul (castN K 1) (castN K ((1 + 2) * (m + m + 1 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (4 * (m + 2)) = K.mul (castN K 1) (castN K ((1 + 1) * (m + m + 1 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 0)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std2 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((2 + 2) * (m + m + 2 + 2))) (K.mul (Sw K m A 2) (Sw K m A 4)))
      (K.mul (castN K ((2 + 1) * (m + m + 2 + 3))) (K.mul (Sw K m A 3) (Sw K m A 3))) := by
  have h := LibSelfConvAllR2.all_r2 K O m A h0 hi
  have e1 : castN K (24 * (m + 2)) = K.mul (castN K 3) (castN K ((2 + 2) * (m + m + 2 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (9 * (m + m + 5)) = K.mul (castN K 3) (castN K ((2 + 1) * (m + m + 2 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 2)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std3 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((3 + 2) * (m + m + 3 + 2))) (K.mul (Sw K m A 3) (Sw K m A 5)))
      (K.mul (castN K ((3 + 1) * (m + m + 3 + 3))) (K.mul (Sw K m A 4) (Sw K m A 4))) := by
  have h := LibSelfConvAllR3.all_r K O m A h0 hi
  have e1 : castN K (720 * (m + m + 5)) = K.mul (castN K 144) (castN K ((3 + 2) * (m + m + 3 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (576 * (m + m + 6)) = K.mul (castN K 144) (castN K ((3 + 1) * (m + m + 3 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 143)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std4 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((4 + 2) * (m + m + 4 + 2))) (K.mul (Sw K m A 4) (Sw K m A 6)))
      (K.mul (castN K ((4 + 1) * (m + m + 4 + 3))) (K.mul (Sw K m A 5) (Sw K m A 5))) := by
  have h := LibSelfConvAllR4.all_r K O m A h0 hi
  have e1 : castN K (17280 * (m + m + 6)) = K.mul (castN K 2880) (castN K ((4 + 2) * (m + m + 4 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (14400 * (m + m + 7)) = K.mul (castN K 2880) (castN K ((4 + 1) * (m + m + 4 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 2879)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std5 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((5 + 2) * (m + m + 5 + 2))) (K.mul (Sw K m A 5) (Sw K m A 7)))
      (K.mul (castN K ((5 + 1) * (m + m + 5 + 3))) (K.mul (Sw K m A 6) (Sw K m A 6))) := by
  have h := LibSelfConvAllR5.all_r K O m A h0 hi
  have e1 : castN K (604800 * (m + m + 7)) = K.mul (castN K 86400) (castN K ((5 + 2) * (m + m + 5 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (518400 * (m + m + 8)) = K.mul (castN K 86400) (castN K ((5 + 1) * (m + m + 5 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 86399)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std6 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((6 + 2) * (m + m + 6 + 2))) (K.mul (Sw K m A 6) (Sw K m A 8)))
      (K.mul (castN K ((6 + 1) * (m + m + 6 + 3))) (K.mul (Sw K m A 7) (Sw K m A 7))) := by
  have h := LibSelfConvAllR6.all_r K O m A h0 hi
  have e1 : castN K (29030400 * (m + m + 8)) = K.mul (castN K 3628800) (castN K ((6 + 2) * (m + m + 6 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (25401600 * (m + m + 9)) = K.mul (castN K 3628800) (castN K ((6 + 1) * (m + m + 6 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 3628799)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std7 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((7 + 2) * (m + m + 7 + 2))) (K.mul (Sw K m A 7) (Sw K m A 9)))
      (K.mul (castN K ((7 + 1) * (m + m + 7 + 3))) (K.mul (Sw K m A 8) (Sw K m A 8))) := by
  have h := LibSelfConvAllR7.all_r K O m A h0 hi
  have e1 : castN K (1828915200 * (m + m + 9)) = K.mul (castN K 203212800) (castN K ((7 + 2) * (m + m + 7 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (1625702400 * (m + m + 10)) = K.mul (castN K 203212800) (castN K ((7 + 1) * (m + m + 7 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 203212799)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

theorem std8 (h10 : K.one ≠ K.zero) (m : Nat) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k)) (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((8 + 2) * (m + m + 8 + 2))) (K.mul (Sw K m A 8) (Sw K m A 10)))
      (K.mul (castN K ((8 + 1) * (m + m + 8 + 3))) (K.mul (Sw K m A 9) (Sw K m A 9))) := by
  have h := LibSelfConvAllR8.all_r K O m A h0 hi
  have e1 : castN K (146313216000 * (m + m + 10)) = K.mul (castN K 14631321600) (castN K ((8 + 2) * (m + m + 8 + 2))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  have e2 : castN K (131681894400 * (m + m + 11)) = K.mul (castN K 14631321600) (castN K ((8 + 1) * (m + m + 8 + 3))) := by
    simp only [LibFrob.castN_mul K, LibBinom.castN_add K]; lib_ringz
  rw [e1, e2] at h
  have p := (LibLCHeat.castN_succ_pos K O h10 14631321599)
  exact O.pos_cancel _ _ _ p.1 p.2 (congr_le K O (by lib_ringz) (by lib_ringz) h)

/-- every weight r = m+1 and every n <= 8: S_n / C(n+2m+1, n) is log-concave. -/
theorem upto (h10 : K.one ≠ K.zero) (m n : Nat) (hn : n ≤ 8) (A : Nat → R) (h0 : ∀ k, O.le K.zero (A k))
    (hi : LibDPFin.Inner K O A) :
    O.le (K.mul (castN K ((n + 2) * (m + m + n + 2))) (K.mul (Sw K m A n) (Sw K m A (n + 2))))
      (K.mul (castN K ((n + 1) * (m + m + n + 3))) (K.mul (Sw K m A (n + 1)) (Sw K m A (n + 1)))) :=
  match n, hn with
  | 0, _ => std0 K O h10 m A h0 hi
  | 1, _ => std1 K O h10 m A h0 hi
  | 2, _ => std2 K O h10 m A h0 hi
  | 3, _ => std3 K O h10 m A h0 hi
  | 4, _ => std4 K O h10 m A h0 hi
  | 5, _ => std5 K O h10 m A h0 hi
  | 6, _ => std6 K O h10 m A h0 hi
  | 7, _ => std7 K O h10 m A h0 hi
  | 8, _ => std8 K O h10 m A h0 hi
  | k + 9, h => absurd (Nat.le_of_succ_le_succ (Nat.le_of_succ_le_succ (Nat.le_of_succ_le_succ (Nat.le_of_succ_le_succ (Nat.le_of_succ_le_succ (Nat.le_of_succ_le_succ (Nat.le_of_succ_le_succ (Nat.le_of_succ_le_succ h)))))))) (Nat.not_succ_le_zero k)

end LibSelfConvAllUpto

#print axioms LibSelfConvAllUpto.std0
#print axioms LibSelfConvAllUpto.std1
#print axioms LibSelfConvAllUpto.std2
#print axioms LibSelfConvAllUpto.std3
#print axioms LibSelfConvAllUpto.std4
#print axioms LibSelfConvAllUpto.std5
#print axioms LibSelfConvAllUpto.std6
#print axioms LibSelfConvAllUpto.std7
#print axioms LibSelfConvAllUpto.std8
#print axioms LibSelfConvAllUpto.upto

BSDChain.lean

lean_all/BSDChain.lean

/-
  BSDChain.lean
  Point counts, the trivial and the Hasse bound, for the curves of the BSD table (T39).

  Lean 4 core plus FTAChain, FrobChain, QRChain and ESChain. Proofs are hand-written terms
  and rewriting; no omega / simp / ring / decide / norm_num / linarith. Concrete numerical
  checks use `rfl`.

  Proved here:
    legV_le_two, sum_le_two      (d|p) + 1 ≤ 2, so Σ_{x<p} ≤ 2p
    nE_upper, nE_lower           11a, every odd prime p: 1 ≤ #E(F_p) ≤ 2p + 1
    trivial_bound                11a, every odd prime p: #E(F_p) ≤ p + 1 + p and
                                 p + 1 ≤ #E(F_p) + p, i.e. |a_p| ≤ p
    hasse_check                  11a, 37a, 389a, 5077a: a_p² ≤ 4p for every prime p < 100 (rfl)
    ap_table                     a_p for p < 30 on 37a, 389a, 5077a (the values of NUMERIC_BSD.txt)
    r3_add, r3_mul, r3_spec      residues mod 3 as a ring homomorphism ℕ → Z3
    desc2, desc3, desc6          2-isogeny descent for E' : y² = x³ + 36x: N² = d M⁴ + (36/d) e⁴
                                 with d = 2, 3, 6 forces 3 ∣ M and 3 ∣ e (no primitive solution)
    real_insoluble               d < 0: no real solution with (M, e) ≠ 0
    points_E                     the 2-torsion of E : y² = x³ − 9x gives α(E) = {±1, ±3}
                                 With the descent exact sequence (cited): rank E(Q) = 0.
-/
import ESChain

namespace BSDChain
open FTAChain FrobChain QRChain ESChain

/-! ## The trivial bound for 11a, every odd prime -/

theorem legV_le_two (p d : Nat) : legV p d ≤ 2 :=
  match legV_cases p d with
  | Or.inl e => by rw [e]; exact Nat.zero_le 2
  | Or.inr (Or.inl e) => by rw [e]; exact Nat.le_succ 1
  | Or.inr (Or.inr e) => by rw [e]; exact Nat.le_refl 2

theorem sum_le_two : ∀ (n : Nat) (f : Nat → Nat), (∀ k, f k ≤ 2) → sumTo n f ≤ 2 * n
  | 0, _, _ => Nat.le_refl 0
  | n + 1, f, h => Nat.add_le_add (sum_le_two n f h) (h n)

theorem nE_upper (h : Nat) (hp : Pr (h + h + 1)) : nE (h + h + 1) ≤ 2 * (h + h + 1) + 1 := by
  rw [nE_formula h hp, Nat.add_comm 1]
  exact Nat.add_le_add_right (sum_le_two _ _ (fun x => legV_le_two _ (dx x))) 1

theorem nE_lower (p : Nat) : 1 ≤ nE p := Nat.le_add_left 1 (affE p)

/-- |a_p| ≤ p for 11a and every odd prime p: −p ≤ p + 1 − #E(F_p) ≤ p. -/
theorem trivial_bound (h : Nat) (hp : Pr (h + h + 1)) :
    nE (h + h + 1) ≤ (h + h + 1) + 1 + (h + h + 1) ∧ (h + h + 1) + 1 ≤ nE (h + h + 1) + (h + h + 1) := by
  refine ⟨?_, ?_⟩
  · have e : (h + h + 1) + 1 + (h + h + 1) = 2 * (h + h + 1) + 1 := by
      rw [Nat.add_right_comm, Nat.two_mul]
    rw [e]
    exact nE_upper h hp
  · rw [Nat.add_comm (nE (h + h + 1))]
    exact Nat.add_le_add_left (nE_lower _) _

/-! ## Counting on a general model, with the core `%` -/

/-- Affine solutions of L(x,y) ≡ R(x,y) (mod p); the equation of a curve with every
    coefficient moved to the side where it is nonnegative. -/
def cntG (L R : Nat → Nat → Nat) (p : Nat) : Nat :=
  sumTo p (fun x => sumTo p (fun y => b2n (Nat.beq (L x y % p) (R x y % p))))

/-- 11a: y² + y = x³ − x²  ⇔  y² + y + x² ≡ x³. -/
def L11 (x y : Nat) : Nat := y * y + y + x * x
def R11 (x _ : Nat) : Nat := x * x * x
/-- 37a: y² + y = x³ − x. -/
def L37 (x y : Nat) : Nat := y * y + y + x
def R37 (x _ : Nat) : Nat := x * x * x
/-- 389a: y² + y = x³ + x² − 2x. -/
def L389 (x y : Nat) : Nat := y * y + y + 2 * x
def R389 (x _ : Nat) : Nat := x * x * x + x * x
/-- 5077a: y² + y = x³ − 7x + 6. -/
def L5077 (x y : Nat) : Nat := y * y + y + 7 * x
def R5077 (x _ : Nat) : Nat := x * x * x + 6

/-- a_p² ≤ 4p for n = #E(F_p), in ℕ: (p+1−n)² + (n−(p+1))² ≤ 4p (one of the two is 0). -/
def hasseOK (p n : Nat) : Bool :=
  Nat.ble ((p + 1 - n) * (p + 1 - n) + (n - (p + 1)) * (n - (p + 1))) (4 * p)

def hasseAll (p : Nat) : Bool :=
  hasseOK p (cntG L11 R11 p + 1) && hasseOK p (cntG L37 R37 p + 1) &&
  hasseOK p (cntG L389 R389 p + 1) && hasseOK p (cntG L5077 R5077 p + 1)

def primes100 : List Nat :=
  [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- **Hasse bound, checked.** For 11a, 37a, 389a and 5077a and every prime p < 100
    (good or bad), a_p² ≤ 4p. -/
theorem hasse_check : primes100.all hasseAll = true := by rfl

def apG (L R : Nat → Nat → Nat) (p : Nat) : Int := Int.ofNat (p + 1) - Int.ofNat (cntG L R p + 1)

def primes30 : List Nat := [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]

set_option maxRecDepth 100000 in
/-- a_p for p < 30, the values printed in NUMERIC_BSD.txt (computed there by Legendre sums). -/
theorem ap_table :
    primes30.map (apG L37 R37) = [-2, -3, -2, -1, -5, -2, 0, 0, 2, 6] ∧
    primes30.map (apG L389 R389) = [-2, -2, -3, -5, -4, -3, -6, 5, -4, -6] ∧
    primes30.map (apG L5077 R5077) = [-2, -3, -4, -4, -6, -4, -4, -7, -6, -6] := by
  refine ⟨rfl, rfl, rfl⟩

/-! ## 2-isogeny descent for y² = x³ − 9x (3 is not a congruent number)

  E : y² = x³ − 9x = x(x² − 9) and E' : y² = x³ + 36x = x(x² + 36) are 2-isogenous.
  The descent maps α : E(Q) → Q*/Q*², α' : E'(Q) → Q*/Q*² send (x, y) ↦ x (x ≠ 0) and
  (0,0) ↦ b. Their images lie in the classes of the divisors of b = −9, resp. b' = 36:
  {±1, ±3} and {±1, ±2, ±3, ±6}. A class d is in the image iff N² = d M⁴ + (b/d) e⁴ has a
  solution with gcd(M, e) = 1, and rank E(Q) = log₂(#α(E) · #α'(E') / 4)
  (Silverman, AEC X.4; cited). Here:
  * α(E) = {1, −1, 3, −3}: the points O, (0,0), (3,0), (−3,0) (`points_E`);
  * α'(E') ∋ 1 = α'(O) = α'(0,0) (36 is a square);
  * d = −1, −2, −3, −6 are impossible over R (`real_insoluble`);
  * d = 2, 3, 6 force 3 ∣ M and 3 ∣ e (`desc2`, `desc3`, `desc6`), so no primitive solution.
  Hence #α'(E') = 1 and rank E(Q) = log₂(4 · 1 / 4) = 0.
  Residues mod 3 are computed by the homomorphism `r3 : ℕ → Z3`.
-/

inductive Z3 where
  | z0
  | z1
  | z2

open Z3

def Z3.add : Z3 → Z3 → Z3
  | z0, b => b
  | z1, z0 => z1
  | z1, z1 => z2
  | z1, z2 => z0
  | z2, z0 => z2
  | z2, z1 => z0
  | z2, z2 => z1

def Z3.mul : Z3 → Z3 → Z3
  | z0, _ => z0
  | z1, b => b
  | z2, z0 => z0
  | z2, z1 => z2
  | z2, z2 => z1

theorem Z3.add_assoc (a b c : Z3) : (a.add b).add c = a.add (b.add c) := by
  cases a <;> cases b <;> cases c <;> rfl

theorem Z3.distrib (a b : Z3) : a.mul (b.add z1) = (a.mul b).add a := by
  cases a <;> cases b <;> rfl

def r3 : Nat → Z3
  | 0 => z0
  | n + 1 => (r3 n).add z1

theorem r3_add (a : Nat) : ∀ b, r3 (a + b) = (r3 a).add (r3 b)
  | 0 => by cases r3 a <;> rfl
  | b + 1 => by
    show (r3 (a + b)).add z1 = (r3 a).add ((r3 b).add z1)
    rw [r3_add a b, Z3.add_assoc]

theorem r3_mul (a : Nat) : ∀ b, r3 (a * b) = (r3 a).mul (r3 b)
  | 0 => by cases r3 a <;> rfl
  | b + 1 => by
    show r3 (a * b + a) = (r3 a).mul ((r3 b).add z1)
    rw [r3_add, r3_mul a b, Z3.distrib]

/-- Every n is 3a, 3a + 1 or 3a + 2, and r3 tells which. -/
theorem r3_spec : ∀ n, ∃ a, (n = 3 * a ∧ r3 n = z0) ∨ (n = 3 * a + 1 ∧ r3 n = z1) ∨
    (n = 3 * a + 2 ∧ r3 n = z2)
  | 0 => ⟨0, Or.inl ⟨rfl, rfl⟩⟩
  | n + 1 => by
    cases r3_spec n with
    | intro a h =>
      cases h with
      | inl h => exact ⟨a, Or.inr (Or.inl ⟨by rw [h.1], by show (r3 n).add z1 = z1; rw [h.2]; rfl⟩)⟩
      | inr h =>
        cases h with
        | inl h => exact ⟨a, Or.inr (Or.inr ⟨by rw [h.1], by show (r3 n).add z1 = z2; rw [h.2]; rfl⟩)⟩
        | inr h => exact ⟨a + 1, Or.inl ⟨by rw [h.1]; rfl, by show (r3 n).add z1 = z0; rw [h.2]; rfl⟩⟩

theorem three_dvd (n : Nat) (h : r3 n = z0) : ∃ a, n = 3 * a := by
  cases r3_spec n with
  | intro a h' =>
    cases h' with
    | inl h' => exact ⟨a, h'.1⟩
    | inr h' =>
      cases h' with
      | inl h' => exact absurd (h.symm.trans h'.2) (fun e => Z3.noConfusion e)
      | inr h' => exact absurd (h.symm.trans h'.2) (fun e => Z3.noConfusion e)

def q4 (x : Nat) : Nat := x * x * (x * x)

theorem r3_sq (x : Nat) : r3 (x * x) = (r3 x).mul (r3 x) := r3_mul x x

theorem r3_q4 (x : Nat) : r3 (q4 x) = ((r3 x).mul (r3 x)).mul ((r3 x).mul (r3 x)) := by
  unfold q4
  rw [r3_mul, r3_sq]

theorem mul_mul_mul (a x b y : Nat) : a * x * (b * y) = a * b * (x * y) := by
  rw [nmul_assoc, ← nmul_assoc x b y, nmul_comm x b, nmul_assoc b x y, ← nmul_assoc a b]

/-- (3a)(3a) = 9·(a·a). -/
theorem sq_three (a : Nat) : 3 * a * (3 * a) = 9 * (a * a) := mul_mul_mul 3 a 3 a

theorem q4_three (b : Nat) : q4 (3 * b) = 81 * q4 b := by
  unfold q4
  rw [sq_three]
  exact mul_mul_mul 9 (b * b) 9 (b * b)

theorem cancel3 (x y : Nat) (h : 3 * x = 3 * y) : x = y := Nat.eq_of_mul_eq_mul_left (Nat.zero_lt_succ 2) h
theorem cancel9 (x y : Nat) (h : 9 * x = 9 * y) : x = y := Nat.eq_of_mul_eq_mul_left (Nat.zero_lt_succ 8) h

def p4 (x : Z3) : Z3 := (x.mul x).mul (x.mul x)

theorem H1 (n : Z3) : n.mul n = z0 → n = z0 := by
  cases n <;> intro h
  · rfl
  · exact Z3.noConfusion h
  · exact Z3.noConfusion h

theorem H2 (m e : Z3) : z0 = z2.mul ((p4 m).add (p4 e)) → m = z0 ∧ e = z0 := by
  cases m <;> cases e <;> intro h <;> first | exact ⟨rfl, rfl⟩ | exact Z3.noConfusion h

theorem H3 (m e : Z3) : z0 = (p4 m).add (z1.mul (p4 e)) → m = z0 ∧ e = z0 := by
  cases m <;> cases e <;> intro h <;> first | exact ⟨rfl, rfl⟩ | exact Z3.noConfusion h

theorem H4 (n m e : Z3) : n.mul n = (z2.mul (p4 m)).add (z0.mul (p4 e)) → n = z0 ∧ m = z0 := by
  cases n <;> cases m <;> cases e <;> intro h <;> first | exact ⟨rfl, rfl⟩ | exact Z3.noConfusion h

theorem H5 (a b e : Z3) : a.mul a = (z0.mul (p4 b)).add (z2.mul (p4 e)) → e = z0 := by
  cases a <;> cases b <;> cases e <;> intro h <;> first | rfl | exact Z3.noConfusion h

/-- d = 6: N² = 6M⁴ + 6e⁴ ⇒ 3 ∣ M and 3 ∣ e. -/
theorem desc6 (N M e : Nat) (h : N * N = 6 * q4 M + 6 * q4 e) : r3 M = z0 ∧ r3 e = z0 := by
  have k := congrArg r3 h
  rw [r3_sq, r3_add, r3_mul 6, r3_mul 6] at k
  cases three_dvd N (H1 (r3 N) k) with
  | intro a ha =>
    rw [ha, sq_three] at h
    have h' : 3 * (3 * (a * a)) = 3 * (2 * (q4 M + q4 e)) := by
      rw [← nmul_assoc 3 3, h, Nat.left_distrib 2, Nat.left_distrib 3, ← nmul_assoc 3 2,
        ← nmul_assoc 3 2]
    have k2 := congrArg r3 (cancel3 _ _ h')
    rw [r3_mul 3, r3_mul 2, r3_add, r3_q4, r3_q4] at k2
    exact H2 (r3 M) (r3 e) k2

/-- d = 3: N² = 3M⁴ + 12e⁴ ⇒ 3 ∣ M and 3 ∣ e. -/
theorem desc3 (N M e : Nat) (h : N * N = 3 * q4 M + 12 * q4 e) : r3 M = z0 ∧ r3 e = z0 := by
  have k := congrArg r3 h
  rw [r3_sq, r3_add, r3_mul 3, r3_mul 12] at k
  cases three_dvd N (H1 (r3 N) k) with
  | intro a ha =>
    rw [ha, sq_three] at h
    have h' : 3 * (3 * (a * a)) = 3 * (q4 M + 4 * q4 e) := by
      rw [← nmul_assoc 3 3, h, Nat.left_distrib 3, ← nmul_assoc 3 4]
    have k2 := congrArg r3 (cancel3 _ _ h')
    rw [r3_mul 3, r3_add, r3_mul 4, r3_q4, r3_q4] at k2
    exact H3 (r3 M) (r3 e) k2

/-- d = 2: N² = 2M⁴ + 18e⁴ ⇒ 3 ∣ M and 3 ∣ e. -/
theorem desc2 (N M e : Nat) (h : N * N = 2 * q4 M + 18 * q4 e) : r3 M = z0 ∧ r3 e = z0 := by
  have k := congrArg r3 h
  rw [r3_sq, r3_add, r3_mul 2, r3_mul 18, r3_q4, r3_q4] at k
  have hNM := H4 (r3 N) (r3 M) (r3 e) k
  cases three_dvd N hNM.1 with
  | intro a ha =>
    cases three_dvd M hNM.2 with
    | intro b hb =>
      rw [ha, hb, sq_three, q4_three] at h
      have e1 : 2 * (81 * q4 b) = 9 * (18 * q4 b) := by
        rw [← nmul_assoc, ← nmul_assoc]
      have e2 : 18 * q4 e = 9 * (2 * q4 e) := by
        rw [← nmul_assoc]
      have h' : 9 * (a * a) = 9 * (18 * q4 b + 2 * q4 e) := by
        rw [h, e1, e2, Nat.left_distrib]
      have k2 := congrArg r3 (cancel9 _ _ h')
      rw [r3_sq, r3_add, r3_mul 18, r3_mul 2, r3_q4, r3_q4] at k2
      exact ⟨hNM.2, H5 (r3 a) (r3 b) (r3 e) k2⟩

/-- d < 0 and b'/d < 0: N² + |d| M⁴ + |b'/d| e⁴ = 0 forces M = e = 0 (no real point). -/
theorem real_insoluble (N M e c d : Nat) (h : N * N + (c + 1) * q4 M + (d + 1) * q4 e = 0) :
    q4 M = 0 ∧ q4 e = 0 := by
  cases hm : q4 M with
  | zero =>
    cases he : q4 e with
    | zero => exact ⟨rfl, rfl⟩
    | succ k =>
      rw [he] at h
      exact Nat.noConfusion h
  | succ k =>
    rw [hm, Nat.add_right_comm] at h
    exact Nat.noConfusion h

/-- The 2-torsion of E : y² = x³ − 9x gives the classes −1, 3, −3 of α(E). -/
theorem points_E : (0 : Int) * 0 = 0 * 0 * 0 - 9 * 0 ∧ (0 : Int) * 0 = 3 * 3 * 3 - 9 * 3 ∧
    (0 : Int) * 0 = (-3) * (-3) * (-3) - 9 * (-3) := ⟨rfl, rfl, rfl⟩

end BSDChain

#print axioms BSDChain.legV_le_two
#print axioms BSDChain.sum_le_two
#print axioms BSDChain.nE_upper
#print axioms BSDChain.nE_lower
#print axioms BSDChain.trivial_bound
#print axioms BSDChain.hasse_check
#print axioms BSDChain.ap_table
#print axioms BSDChain.Z3.add_assoc
#print axioms BSDChain.Z3.distrib
#print axioms BSDChain.r3_add
#print axioms BSDChain.r3_mul
#print axioms BSDChain.r3_spec
#print axioms BSDChain.three_dvd
#print axioms BSDChain.r3_sq
#print axioms BSDChain.r3_q4
#print axioms BSDChain.mul_mul_mul
#print axioms BSDChain.sq_three
#print axioms BSDChain.q4_three
#print axioms BSDChain.cancel3
#print axioms BSDChain.cancel9
#print axioms BSDChain.H1
#print axioms BSDChain.H2
#print axioms BSDChain.H3
#print axioms BSDChain.H4
#print axioms BSDChain.H5
#print axioms BSDChain.desc6
#print axioms BSDChain.desc3
#print axioms BSDChain.desc2
#print axioms BSDChain.real_insoluble
#print axioms BSDChain.points_E

BridgeChain.lean

lean_all/BridgeChain.lean

/-
  BridgeChain — T33: pieces of the weak-to-strong coupling bridge that are proved.

  R6 (no transition along β), finite-volume part:
    sq_diff          (x − y)² + 2xy = x² + y²
    double_sum       Σ_i Σ_j f(i) g(j) = (Σ f)(Σ g)
    lagrange         Σ_i Σ_j w_i w_j (s_i − s_j)² + 2 (Σ w s)² = 2 (Σ w)(Σ w s²)
    variance_nonneg  in an ordered ring with w ≥ 0:  (Σ w s)² ≤ (Σ w)(Σ w s²)
                     With w_i = e^{−β S_i} this is Z·Z'' ≥ (Z')², i.e. log Z is convex in β
                     and ⟨S⟩ is monotone in β, on every finite lattice.

  R7 (the block map contracts), the exactly decimable case:
    sq_le_self       0 ≤ a ≤ 1  ⇒  a·a ≤ a
    iter4            a ↦ a⁴ iterated n times (two-dimensional decimation of 2×2 plaquettes
                     sends each character coefficient a_r to a_r⁴)
    iter4_bounds     0 ≤ a ≤ 1  ⇒  0 ≤ iter4 n a ≤ a
    iter4_contract   0 ≤ a ≤ 1  ⇒  iter4 (n+1) a ≤ a · iter4 n a  (geometric contraction)

  Lean 4 core only, proofs by hand, no axioms.
-/
import YMChain

namespace BridgeChain

open YMChain

section Ring
variable {R : Type} (K : DetChain.CRing R)

theorem sq_diff (x y : R) :
    K.add (K.mul (K.add x (K.neg y)) (K.add x (K.neg y))) (K.add (K.mul x y) (K.mul x y))
      = K.add (K.mul x x) (K.mul y y) := by
  have hd : K.mul (K.add x (K.neg y)) (K.add x (K.neg y))
      = K.add (K.add (K.mul x x) (K.neg (K.mul x y))) (K.add (K.neg (K.mul x y)) (K.mul y y)) := by
    rw [DetChain.right_distrib, K.distrib, K.distrib, mul_neg_r K x y, DetChain.neg_mul_left,
      DetChain.neg_mul_left, mul_neg_r K y y, DetChain.neg_neg', K.mul_comm y x]
  rw [hd, K.add_assoc,
    DetChain.add_mid4 K (K.neg (K.mul x y)) (K.mul y y) (K.mul x y) (K.mul x y),
    DetChain.add_neg' K (K.mul x y), K.zero_add,
    DetChain.add_mid4 K (K.mul x x) (K.neg (K.mul x y)) (K.mul y y) (K.mul x y),
    DetChain.add_neg' K (K.mul x y), DetChain.add_zero']

theorem double_sum {A : Type} (f g : A → R) (l m : List A) :
    sumK K (fun i => sumK K (fun j => K.mul (f i) (g j)) m) l = K.mul (sumK K f l) (sumK K g m) := by
  rw [sumK_mul]
  exact sumK_ext K _ _ (fun i => (mul_sumK K (f i) g m).symm) l

/-- **Lagrange identity with weights.** -/
theorem lagrange {A : Type} (w s : A → R) (l : List A) :
    K.add (sumK K (fun i => sumK K (fun j =>
        K.mul (K.mul (w i) (w j)) (K.mul (K.add (s i) (K.neg (s j))) (K.add (s i) (K.neg (s j))))) l) l)
      (K.add (K.mul (sumK K (fun i => K.mul (w i) (s i)) l) (sumK K (fun i => K.mul (w i) (s i)) l))
             (K.mul (sumK K (fun i => K.mul (w i) (s i)) l) (sumK K (fun i => K.mul (w i) (s i)) l)))
    = K.add (K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l))
            (K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l)) := by
  -- the cross terms as a double sum
  have hB : K.mul (sumK K (fun i => K.mul (w i) (s i)) l) (sumK K (fun i => K.mul (w i) (s i)) l)
      = sumK K (fun i => sumK K (fun j => K.mul (K.mul (w i) (w j)) (K.mul (s i) (s j))) l) l := by
    rw [← double_sum]
    exact sumK_ext K _ _ (fun i => sumK_ext K _ _ (fun j => (mul_mid4 K _ _ _ _).symm) l) l
  -- the square terms as double sums
  have hC1 : K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l)
      = sumK K (fun i => sumK K (fun j => K.mul (K.mul (w i) (w j)) (K.mul (s i) (s i))) l) l := by
    rw [K.mul_comm, ← double_sum]
    exact sumK_ext K _ _ (fun i => sumK_ext K _ _ (fun j => by
      show K.mul (K.mul (w i) (K.mul (s i) (s i))) (w j) = K.mul (K.mul (w i) (w j)) (K.mul (s i) (s i))
      rw [K.mul_assoc, K.mul_comm (K.mul (s i) (s i)) (w j), ← K.mul_assoc]) l) l
  have hC2 : K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l)
      = sumK K (fun i => sumK K (fun j => K.mul (K.mul (w i) (w j)) (K.mul (s j) (s j))) l) l := by
    rw [← double_sum]
    exact sumK_ext K _ _ (fun i => sumK_ext K _ _ (fun j => by
      show K.mul (w i) (K.mul (w j) (K.mul (s j) (s j))) = K.mul (K.mul (w i) (w j)) (K.mul (s j) (s j))
      rw [K.mul_assoc]) l) l
  have e : K.add (K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l))
      (K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l))
      = K.add (sumK K (fun i => sumK K (fun j => K.mul (K.mul (w i) (w j)) (K.mul (s i) (s i))) l) l)
          (sumK K (fun i => sumK K (fun j => K.mul (K.mul (w i) (w j)) (K.mul (s j) (s j))) l) l) := by
    rw [← hC1, ← hC2]
  rw [hB, e, ← sumK_add, ← sumK_add, ← sumK_add]
  refine sumK_ext K _ _ (fun i => ?_) l
  rw [← sumK_add, ← sumK_add, ← sumK_add]
  refine sumK_ext K _ _ (fun j => ?_) l
  show K.add (K.mul (K.mul (w i) (w j)) (K.mul (K.add (s i) (K.neg (s j))) (K.add (s i) (K.neg (s j)))))
      (K.add (K.mul (K.mul (w i) (w j)) (K.mul (s i) (s j))) (K.mul (K.mul (w i) (w j)) (K.mul (s i) (s j))))
    = K.add (K.mul (K.mul (w i) (w j)) (K.mul (s i) (s i))) (K.mul (K.mul (w i) (w j)) (K.mul (s j) (s j)))
  rw [← K.distrib (K.mul (w i) (w j)) (K.mul (s i) (s j)) (K.mul (s i) (s j)),
    ← K.distrib (K.mul (w i) (w j)) _ (K.add (K.mul (s i) (s j)) (K.mul (s i) (s j))),
    ← K.distrib (K.mul (w i) (w j)) (K.mul (s i) (s i)) (K.mul (s j) (s j)), sq_diff]

end Ring

section Ordered
variable {R : Type} (K : DetChain.CRing R) (O : ORing K)

theorem zero_le_sum {A : Type} (f : A → R) (h : ∀ a, O.le K.zero (f a)) : ∀ l : List A, O.le K.zero (sumK K f l)
  | [] => O.le_refl _
  | a :: l => by
    have := O.add_le_add _ _ _ _ (h a) (zero_le_sum f h l)
    rw [K.zero_add] at this
    exact this

/-- `u + v ≤ u + v'` gives `v ≤ v'`. -/
theorem add_le_cancel (u v v' : R) (h : O.le (K.add u v) (K.add u v')) : O.le v v' := by
  have := O.add_le_add _ _ _ _ h (O.le_refl (K.neg u))
  rw [K.add_comm u v, K.add_comm u v', K.add_assoc, K.add_assoc, K.add_neg, DetChain.add_zero',
    DetChain.add_zero'] at this
  exact this

/-- **Variance is nonnegative** (log-convexity of the partition function): with
    nonnegative weights and `(x−y)² ≥ 0`, `2(Σws)² ≤ 2(Σw)(Σws²)`. -/
theorem variance_nonneg {A : Type} (w s : A → R) (l : List A)
    (hw : ∀ a, O.le K.zero (w a)) (hsq : ∀ x : R, O.le K.zero (K.mul x x)) :
    O.le (K.add (K.mul (sumK K (fun i => K.mul (w i) (s i)) l) (sumK K (fun i => K.mul (w i) (s i)) l))
                (K.mul (sumK K (fun i => K.mul (w i) (s i)) l) (sumK K (fun i => K.mul (w i) (s i)) l)))
         (K.add (K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l))
                (K.mul (sumK K w l) (sumK K (fun i => K.mul (w i) (K.mul (s i) (s i))) l))) := by
  rw [← lagrange K w s l]
  have hD : O.le K.zero (sumK K (fun i => sumK K (fun j =>
      K.mul (K.mul (w i) (w j)) (K.mul (K.add (s i) (K.neg (s j))) (K.add (s i) (K.neg (s j))))) l) l) :=
    zero_le_sum K O _ (fun i => zero_le_sum K O _ (fun j =>
      O.mul_nonneg _ _ (O.mul_nonneg _ _ (hw i) (hw j)) (hsq _)) l) l
  have := O.add_le_add _ _ _ _ hD (O.le_refl (K.add (K.mul (sumK K (fun i => K.mul (w i) (s i)) l)
      (sumK K (fun i => K.mul (w i) (s i)) l)) (K.mul (sumK K (fun i => K.mul (w i) (s i)) l)
      (sumK K (fun i => K.mul (w i) (s i)) l))))
  rw [K.zero_add] at this
  exact this

theorem sq_le_self (a : R) (h0 : O.le K.zero a) (h1 : O.le a K.one) : O.le (K.mul a a) a := by
  have := O.mul_le_mul_right _ _ a h1 h0
  rw [K.one_mul] at this
  exact this

/-- `a ↦ a⁴`, iterated: the exact two-dimensional decimation of character coefficients. -/
def iter4 (a : R) : Nat → R
  | 0 => a
  | n + 1 => K.mul (K.mul (iter4 a n) (iter4 a n)) (K.mul (iter4 a n) (iter4 a n))

theorem iter4_bounds (a : R) (h0 : O.le K.zero a) (h1 : O.le a K.one) :
    ∀ n, O.le K.zero (iter4 K a n) ∧ O.le (iter4 K a n) a
  | 0 => ⟨h0, O.le_refl _⟩
  | n + 1 => by
    obtain ⟨q0, qa⟩ := iter4_bounds a h0 h1 n
    have q1 : O.le (iter4 K a n) K.one := O.le_trans _ _ _ qa h1
    have s0 : O.le K.zero (K.mul (iter4 K a n) (iter4 K a n)) := O.mul_nonneg _ _ q0 q0
    have s1 := sq_le_self K O _ q0 q1
    have t1 := sq_le_self K O _ s0 (O.le_trans _ _ _ s1 q1)
    exact ⟨O.mul_nonneg _ _ s0 s0, O.le_trans _ _ _ t1 (O.le_trans _ _ _ s1 qa)⟩

/-- **Contraction**: each decimation step multiplies the coefficient by at most `a`. -/
theorem iter4_contract (a : R) (h0 : O.le K.zero a) (h1 : O.le a K.one) (n : Nat) :
    O.le (iter4 K a (n + 1)) (K.mul a (iter4 K a n)) := by
  obtain ⟨q0, qa⟩ := iter4_bounds K O a h0 h1 n
  have q1 : O.le (iter4 K a n) K.one := O.le_trans _ _ _ qa h1
  have s0 : O.le K.zero (K.mul (iter4 K a n) (iter4 K a n)) := O.mul_nonneg _ _ q0 q0
  have s1 := sq_le_self K O _ q0 q1
  have t1 := sq_le_self K O _ s0 (O.le_trans _ _ _ s1 q1)
  -- q⁴ ≤ q² ≤ q·a
  have u : O.le (K.mul (iter4 K a n) (iter4 K a n)) (K.mul a (iter4 K a n)) :=
    O.mul_le_mul_right _ _ _ qa q0
  exact O.le_trans _ _ _ t1 u

end Ordered

end BridgeChain

#print axioms BridgeChain.sq_diff
#print axioms BridgeChain.double_sum
#print axioms BridgeChain.lagrange
#print axioms BridgeChain.zero_le_sum
#print axioms BridgeChain.add_le_cancel
#print axioms BridgeChain.variance_nonneg
#print axioms BridgeChain.sq_le_self
#print axioms BridgeChain.iter4_bounds
#print axioms BridgeChain.iter4_contract

ClosureChain.lean

lean_all/ClosureChain.lean

/-
  ClosureChain.lean
  Molecular chaos, the H theorem without logarithms, and local equilibrium (T20).

  Lean 4 core plus FTAChain, FluidChain and KineticChain. Proofs are
  hand-written terms and rewriting; no omega / simp / ring / decide /
  norm_num / linarith.

  The Kac version of the model: N particles carry velocities; at each step one
  ordered pair of distinct particles is chosen, every pair with the same
  weight (counting), and the pair collision `cc` is applied to it.

  Proved here:
    vsum_add, offDiag_full        sums over ordered pairs i ≠ j
    pair_counting                 Σ_{i≠j} G(v_i,v_j) + Σ_i G(v_i,v_i) = Σ_{a,b} n_a n_b G(a,b)
    diag_gain_loss                equal velocities: gain = loss
    kac_hierarchy                 exact, every N: the summed one-step gain and loss
                                  over all ordered pairs are the quadratic forms
                                  Σ n_a n_b gain, Σ n_a n_b loss
    tagged_product                product initial data: two tagged particles have
                                  f2(a,b) = f(a) f(b) exactly
    enc_complement, enc_bound     among (Q+1)^k step sequences, those that choose a
                                  fixed pair at least once number ≤ k (Q+1)^(k-1):
                                  a direct encounter has probability ≤ k/(Q+1)
    fact, W_ratio                 Π n'! · n_a n_b = Π n! · (n_c+1)(n_d+1): the ratio
                                  W'/W = n_a n_b / ((n_c+1)(n_d+1)) of microstate counts
    W_compare                     W' < W, W' = W, W' > W according to n_a n_b vs (n_c+1)(n_d+1)
    no_increase_at_balance        if n_a n_b = n_c n_d, a collision in either direction
                                  strictly lowers W: balance is a local maximum of W
    pressure_half                 for every distribution symmetric in (v_x, v_y):
                                  2 Σ χ v_x² h(e) = Σ χ e h(e)  (so Π_xx = E/2)
-/
import KineticChain

namespace ClosureChain
open FTAChain FluidChain KineticChain

/-! ## Sums over ordered pairs of particles -/

theorem vsum_add (f g : V → Nat) : ∀ M, vsum (fun u => f u + g u) M = vsum f M + vsum g M
  | [] => rfl
  | u :: us => by
    show f u + g u + vsum (fun u => f u + g u) us = f u + vsum f us + (g u + vsum g us)
    rw [vsum_add f g us]
    exact mid4 _ _ _ _

theorem vsum_ext (f g : V → Nat) (h : ∀ u, f u = g u) : ∀ M, vsum f M = vsum g M
  | [] => rfl
  | u :: us => by
    show f u + vsum f us = g u + vsum g us
    rw [h u, vsum_ext f g h us]

/-- `Σ_{i ≠ j} G(v_i, v_j)` over ordered pairs of positions in the list. -/
def offDiag (G : V → V → Nat) : List V → Nat
  | [] => 0
  | u :: us => vsum (fun w => G u w + G w u) us + offDiag G us

theorem regroup5 (A B C D E : Nat) : A + B + C + (D + E) = D + A + (B + (C + E)) := by
  rw [nadd_assoc A B C, nadd_assoc A (B + C), nadd_comm D A, nadd_assoc A D, ← nadd_assoc B C E,
    nadd_left_comm (B + C) D E]

theorem offDiag_full (G : V → V → Nat) :
    ∀ M, offDiag G M + vsum (fun u => G u u) M = vsum (fun u => vsum (G u) M) M
  | [] => rfl
  | u :: us => by
    show vsum (fun w => G u w + G w u) us + offDiag G us + (G u u + vsum (fun u => G u u) us)
      = (G u u + vsum (G u) us) + vsum (fun x => G x u + vsum (G x) us) us
    rw [vsum_add, vsum_add (fun x => G x u) (fun x => vsum (G x) us), ← offDiag_full G us]
    exact regroup5 _ _ _ _ _

/-- `Σ_{u ∈ M} h(u) = Σ_a h(a) n_a`. -/
theorem vsum_counts (h : V → Nat) (M : List V) : vsum h M = sumL (fun a => h a * cntV a M) allV :=
  (moment_cell h M).symm

/-- **Pair counting.** `Σ_{i≠j} G(v_i,v_j) + Σ_i G(v_i,v_i) = Σ_{a,b} n_a n_b G(a,b)`. -/
theorem pair_counting (G : V → V → Nat) (M : List V) :
    offDiag G M + vsum (fun u => G u u) M
      = sumL (fun a => sumL (fun b => G a b * cntV b M) allV * cntV a M) allV := by
  rw [offDiag_full, vsum_counts]
  exact sumL_ext _ _ (fun a => by rw [vsum_counts]) allV

/-- Gain and loss of velocity `v` when the pair `(a, b)` collides. -/
def gain (v a b : V) : Nat := cntV v (cc [a, b])
def loss (v a b : V) : Nat := cntV v [a, b]

theorem diag_gain_loss (v a : V) : gain v a a = loss v a a := by
  show cntV v (cc [a, a]) = cntV v [a, a]
  rw [same_velocity_no_coll]

/-- The quadratic form `Σ_{a,b} n_a n_b G(a,b)`. -/
def Q2 (G : V → V → Nat) (M : List V) : Nat :=
  sumL (fun a => sumL (fun b => G a b * cntV b M) allV * cntV a M) allV

/-- **The exact Kac hierarchy, every N.** Summed over all ordered pairs of
    distinct particles, `gain - loss` of every velocity equals the quadratic form
    in the occupation numbers:
    `Σ_{i≠j} gain + Q2(loss) = Σ_{i≠j} loss + Q2(gain)`.
    Divided by `N(N-1)`: the expected one-step change of `n_v` is
    `Σ_{a,b} n_a n_b (gain - loss) / (N(N-1))`, and its ensemble mean is written
    exactly with the pair distribution `f2(a,b) = E[n_a n_b] / (N(N-1))`. -/
theorem kac_hierarchy (v : V) (M : List V) :
    offDiag (gain v) M + Q2 (loss v) M = offDiag (loss v) M + Q2 (gain v) M := by
  have hg := pair_counting (gain v) M
  have hl := pair_counting (loss v) M
  have hd : vsum (fun u => gain v u u) M = vsum (fun u => loss v u u) M :=
    vsum_ext _ _ (fun u => diag_gain_loss v u) M
  show offDiag (gain v) M + Q2 (loss v) M = offDiag (loss v) M + Q2 (gain v) M
  rw [← show offDiag (gain v) M + vsum (fun u => gain v u u) M = Q2 (gain v) M from hg,
    ← show offDiag (loss v) M + vsum (fun u => loss v u u) M = Q2 (loss v) M from hl, hd,
    ← nadd_assoc, ← nadd_assoc, nadd_comm (offDiag (gain v) M) (offDiag (loss v) M)]

/-! ## Product initial data -/

theorem mul_right_comm'' (a b c : Nat) : a * b * c = a * c * b := by
  rw [nmul_assoc, nmul_comm b c, ← nmul_assoc]

theorem rearr4 (p q r t : Nat) : p * q * r * t = q * t * (p * r) := by
  rw [mul_right_comm'' p q r, nmul_assoc (p * r) q t, nmul_comm (p * r) (q * t)]

/-- **Two tagged particles of a product ensemble are independent.** With
    weights `w` for the first and second particle, the weight of
    `(v₁, v₂) = (a, b)` is `w a * w b`: `f2(a, b) = f(a) f(b)` exactly. -/
theorem tagged_product (w : V → Nat) (a b : V) :
    sumL (fun u => sumL (fun u' => w u * w u' * ind (vEq a u) * ind (vEq b u')) allV) allV
      = w a * w b := by
  have e1 : ∀ u, sumL (fun u' => w u * w u' * ind (vEq a u) * ind (vEq b u')) allV
      = w u * ind (vEq a u) * w b := fun u => by
    have e2 : sumL (fun u' => w u * w u' * ind (vEq a u) * ind (vEq b u')) allV
        = sumL (fun u' => w u' * ind (vEq b u') * (w u * ind (vEq a u))) allV :=
      sumL_ext _ _ (fun u' => rearr4 _ _ _ _) allV
    rw [e2, sumL_mul, pick, nmul_comm (w b)]
  rw [sumL_ext _ _ e1 allV, sumL_mul, pick]

/-! ## Direct encounters: a counting bound -/

/-- Number of sequences of `k` choices among `Q + 1` pairs that choose a fixed
    pair at least once. -/
def enc (Q : Nat) : Nat → Nat
  | 0 => 0
  | k + 1 => (Q + 1) ^ k + Q * enc Q k

/-- The complement: `enc + Q^k = (Q+1)^k` (sequences that never choose it number `Q^k`). -/
theorem enc_complement (Q : Nat) : ∀ k, enc Q k + Q ^ k = (Q + 1) ^ k
  | 0 => rfl
  | k + 1 => by
    show (Q + 1) ^ k + Q * enc Q k + Q ^ k * Q = (Q + 1) ^ k * (Q + 1)
    rw [nmul_comm (Q ^ k) Q, nadd_assoc, ← nleft_distrib, enc_complement Q k, nleft_distrib,
      nmul_one, nadd_comm ((Q + 1) ^ k), nmul_comm]

/-- **Direct-encounter bound.** `enc(k) · (Q+1) ≤ k · (Q+1)^k`: the probability
    that a fixed pair is chosen at least once in `k` steps is at most `k/(Q+1)`.
    With `Q + 1 = N(N-1)` ordered pairs and `k = tN` steps this is `≤ t/(N-1)`. -/
theorem enc_bound (Q : Nat) : ∀ k, enc Q k * (Q + 1) ≤ k * (Q + 1) ^ k
  | 0 => by
    show 0 * (Q + 1) ≤ 0 * 1
    rw [nzero_mul, nzero_mul]
    exact Nat.le_refl 0
  | k + 1 => by
    show ((Q + 1) ^ k + Q * enc Q k) * (Q + 1) ≤ (k + 1) * ((Q + 1) ^ k * (Q + 1))
    rw [nright_distrib, nmul_assoc Q, nsucc_mul]
    have h1 : Q * (enc Q k * (Q + 1)) ≤ Q * (k * (Q + 1) ^ k) := Nat.mul_le_mul_left Q (enc_bound Q k)
    have h2 : Q * (k * (Q + 1) ^ k) ≤ k * ((Q + 1) ^ k * (Q + 1)) := by
      rw [← nmul_assoc, nmul_comm Q k, nmul_assoc, nmul_comm ((Q + 1) ^ k) (Q + 1)]
      exact Nat.mul_le_mul_left k (Nat.mul_le_mul_right _ (Nat.le_succ Q))
    rw [nadd_comm]
    exact Nat.add_le_add (Nat.le_trans h1 h2) (Nat.le_refl _)

/-! ## Microstate counts without logarithms -/

def fact : Nat → Nat
  | 0 => 1
  | n + 1 => (n + 1) * fact n

theorem mul_right_comm' (a b c : Nat) : a * b * c = a * c * b := by
  rw [nmul_assoc, nmul_comm b c, ← nmul_assoc]

/-- **The ratio of microstate counts.** A collision `(a,b) → (c,d)` takes the
    occupations `(x+1, y+1, z, w)` to `(x, y, z+1, w+1)`. With `W = N!/Π n!`,
    `Π n'! · (x+1)(y+1) = Π n! · (z+1)(w+1)`, i.e.
    `W'/W = n_a n_b / ((n_c+1)(n_d+1))`, an exact rational number. -/
theorem W_ratio (x y z w : Nat) :
    fact x * fact y * fact (z + 1) * fact (w + 1) * ((x + 1) * (y + 1))
      = fact (x + 1) * fact (y + 1) * fact z * fact w * ((z + 1) * (w + 1)) := by
  show fact x * fact y * ((z + 1) * fact z) * ((w + 1) * fact w) * ((x + 1) * (y + 1))
      = (x + 1) * fact x * ((y + 1) * fact y) * fact z * fact w * ((z + 1) * (w + 1))
  rw [nmul_assoc (fact x * fact y), mul_right_comm' (fact x * fact y), mmid4 (fact x) (fact y),
    nmul_comm (fact x) (x + 1), nmul_comm (fact y) (y + 1),
    nmul_assoc ((x + 1) * fact x * ((y + 1) * fact y)) (fact z) (fact w),
    nmul_assoc ((x + 1) * fact x * ((y + 1) * fact y)) (fact z * fact w),
    mmid4 (fact z) (fact w) (z + 1) (w + 1), nmul_comm (fact z) (z + 1), nmul_comm (fact w) (w + 1)]

theorem lt_irrefl' (n : Nat) : ¬ n < n := Nat.lt_irrefl n

/-- **Comparing W.** If `D' X = D Y` with `D = Π n!`, `D' = Π n'!` and `D > 0`,
    then `X < Y` forces `D < D'` (so `W' < W`). -/
theorem W_compare (D D' X Y : Nat) (hD : 0 < D) (h : D' * X = D * Y) (hXY : X < Y) : D < D' := by
  cases Nat.lt_or_ge D D' with
  | inl hlt => exact hlt
  | inr hge =>
    have h1 : D' * X ≤ D * X := Nat.mul_le_mul_right X hge
    have h2 : D * X < D * Y := Nat.mul_lt_mul_of_pos_left hXY hD
    exact absurd (h ▸ Nat.lt_of_le_of_lt h1 h2) (lt_irrefl' _)

theorem lt_succ_prod (z w : Nat) : z * w < (z + 1) * (w + 1) := by
  rw [nsucc_mul, nleft_distrib, nmul_one]
  exact Nat.lt_succ_of_le (Nat.le_trans (Nat.le_add_right (z * w) z) (Nat.le_add_right _ w))

theorem pos_mul {a b : Nat} (ha : 0 < a) (hb : 0 < b) : 0 < a * b := Nat.mul_le_mul ha hb

theorem fact_pos : ∀ n, 0 < fact n
  | 0 => Nat.zero_lt_succ 0
  | n + 1 => pos_mul (Nat.zero_lt_succ n) (fact_pos n)

/-- **Balance is a local maximum of W.** Let the occupations of `a, b, c, d` be
    `x+1, y+1, z+1, w+1` with `n_a n_b = n_c n_d`. The collision
    `(a,b) → (c,d)` makes the product of factorials strictly larger, i.e. W
    strictly smaller; so does the reverse collision `(c,d) → (a,b)`.
    (The factorials of the other velocities are a common factor.) -/
theorem no_increase_at_balance (x y z w : Nat)
    (hbal : (x + 1) * (y + 1) = (z + 1) * (w + 1)) :
    fact (x + 1) * fact (y + 1) * fact (z + 1) * fact (w + 1)
        < fact x * fact y * fact (z + 1 + 1) * fact (w + 1 + 1) ∧
    fact (z + 1) * fact (w + 1) * fact (x + 1) * fact (y + 1)
        < fact z * fact w * fact (x + 1 + 1) * fact (y + 1 + 1) := by
  constructor
  · apply W_compare _ _ ((x + 1) * (y + 1)) ((z + 1 + 1) * (w + 1 + 1))
      (pos_mul (pos_mul (pos_mul (fact_pos _) (fact_pos _)) (fact_pos _)) (fact_pos _))
      (W_ratio x y (z + 1) (w + 1))
    rw [hbal]
    exact lt_succ_prod (z + 1) (w + 1)
  · apply W_compare _ _ ((z + 1) * (w + 1)) ((x + 1 + 1) * (y + 1 + 1))
      (pos_mul (pos_mul (pos_mul (fact_pos _) (fact_pos _)) (fact_pos _)) (fact_pos _))
      (W_ratio z w (x + 1) (y + 1))
    rw [← hbal]
    exact lt_succ_prod (x + 1) (y + 1)

/-! ## Local equilibrium: the pressure is half the energy -/

def allC : List C3 := [.m, .z, .p]

/-- **Isotropy.** For every weight `χ` symmetric in the two components and every
    function `h` of the energy:
    `2 Σ_{a,b} χ(a,b) a² h(a²+b²) = Σ_{a,b} χ(a,b) (a²+b²) h(a²+b²)`.
    With `h = 1` and `χ = δf` this is `Π_xx = E/2`; with `h(e) = e` it gives the
    energy flux used in the sound speed. -/
theorem pressure_half (χ : C3 → C3 → Nat) (hs : ∀ a b, χ a b = χ b a) (h : Nat → Nat) :
    2 * sumL (fun a => sumL (fun b => χ a b * sq a * h (sq a + sq b)) allC) allC
      = sumL (fun a => sumL (fun b => χ a b * (sq a + sq b) * h (sq a + sq b)) allC) allC := by
  have split : sumL (fun a => sumL (fun b => χ a b * (sq a + sq b) * h (sq a + sq b)) allC) allC
      = sumL (fun a => sumL (fun b => χ a b * sq a * h (sq a + sq b)) allC) allC
        + sumL (fun a => sumL (fun b => χ a b * sq b * h (sq a + sq b)) allC) allC := by
    rw [← sumL_add]
    refine sumL_ext _ _ (fun a => ?_) allC
    rw [← sumL_add]
    refine sumL_ext _ _ (fun b => ?_) allC
    rw [nleft_distrib, nright_distrib]
  have swap : sumL (fun a => sumL (fun b => χ a b * sq b * h (sq a + sq b)) allC) allC
      = sumL (fun a => sumL (fun b => χ a b * sq a * h (sq a + sq b)) allC) allC := by
    rw [sumL_swap]
    refine sumL_ext _ _ (fun b => sumL_ext _ _ (fun a => ?_) allC) allC
    rw [hs a b, nadd_comm (sq a) (sq b)]
  rw [split, swap, Nat.two_mul]

end ClosureChain

#print axioms ClosureChain.vsum_add
#print axioms ClosureChain.vsum_ext
#print axioms ClosureChain.regroup5
#print axioms ClosureChain.offDiag_full
#print axioms ClosureChain.vsum_counts
#print axioms ClosureChain.pair_counting
#print axioms ClosureChain.diag_gain_loss
#print axioms ClosureChain.kac_hierarchy
#print axioms ClosureChain.mul_right_comm''
#print axioms ClosureChain.rearr4
#print axioms ClosureChain.tagged_product
#print axioms ClosureChain.enc_complement
#print axioms ClosureChain.enc_bound
#print axioms ClosureChain.mul_right_comm'
#print axioms ClosureChain.W_ratio
#print axioms ClosureChain.lt_irrefl'
#print axioms ClosureChain.W_compare
#print axioms ClosureChain.lt_succ_prod
#print axioms ClosureChain.pos_mul
#print axioms ClosureChain.fact_pos
#print axioms ClosureChain.no_increase_at_balance
#print axioms ClosureChain.pressure_half

DefectChain.lean

lean_all/DefectChain.lean

/-
  DefectChain.lean
  The defect count l0 and the binomial identities it uses, for every l
  (links 47-48).

  Lean 4 core plus FTAChain and FrobChain (the Pascal binomial `C` and the
  finite sums `sumTo`). Proofs are hand-written terms and plain rewriting;
  no omega / simp / ring / decide / norm_num / linarith.

  Proved here:
    ceilHalf_even, ceilHalf_odd   ⌈n/2⌉ on even and odd n
    l0_even, l0_odd               closed forms of l0
    sum_C                         Σ_{i ≤ l} C l i = 2^l
    sum_C_long                    the same with any number of extra terms
    even_eq_odd                   l ≥ 1: Σ_{i even} C l i = Σ_{i odd} C l i
    C_symm                        i ≤ l: C l i = C l (l - i)
-/
import FrobChain

namespace DefectChain
open FTAChain FrobChain

/-! ## l0 -/

/-- `⌈n / 2⌉`. -/
def ceilHalf : Nat → Nat
  | 0 => 0
  | 1 => 1
  | n + 2 => ceilHalf n + 1

/-- `l0(r1, r2, n) = r1 * (⌈n/2⌉ - 1) + r2 * (n - 1)`. -/
def l0 (r1 r2 n : Nat) : Nat := r1 * (ceilHalf n - 1) + r2 * (n - 1)

theorem ceilHalf_even : ∀ k : Nat, ceilHalf (k + k) = k
  | 0 => rfl
  | k + 1 => by
    rw [← Nat.add_assoc (k + 1) k 1, Nat.add_right_comm k 1 k]
    show ceilHalf (k + k) + 1 = k + 1
    rw [ceilHalf_even k]

theorem ceilHalf_odd : ∀ k : Nat, ceilHalf (k + k + 1) = k + 1
  | 0 => rfl
  | k + 1 => by
    rw [← Nat.add_assoc (k + 1) k 1, Nat.add_right_comm k 1 k]
    show ceilHalf (k + k + 1) + 1 = k + 1 + 1
    rw [ceilHalf_odd k]

/-- For `n = 2k + 2`: `l0 = r1 * k + r2 * (2k + 1)`. -/
theorem l0_even (r1 r2 k : Nat) : l0 r1 r2 (k + 1 + (k + 1)) = r1 * k + r2 * (k + k + 1) := by
  show r1 * (ceilHalf (k + 1 + (k + 1)) - 1) + r2 * (k + 1 + (k + 1) - 1) = _
  rw [ceilHalf_even (k + 1), Nat.add_right_comm k 1 (k + 1)]
  rfl

/-- For `n = 2k + 1`: `l0 = r1 * k + r2 * (2k)`. -/
theorem l0_odd (r1 r2 k : Nat) : l0 r1 r2 (k + k + 1) = r1 * k + r2 * (k + k) := by
  show r1 * (ceilHalf (k + k + 1) - 1) + r2 * (k + k + 1 - 1) = _
  rw [ceilHalf_odd k]
  rfl

theorem l0_values : l0 3 5 1 = 0 ∧ l0 3 5 4 = 18 ∧ l0 2 1 7 = 12 := ⟨rfl, rfl, rfl⟩

/-! ## Σ_i C l i = 2^l -/

theorem sum_C (l : Nat) : sumTo (l + 1) (C l) = 2 ^ l := by
  have hb := binom 1 1 l
  have e : sumTo (l + 1) (fun k => C l k * 1 ^ k * 1 ^ (l - k)) = sumTo (l + 1) (C l) :=
    sum_ext _ _ _ (fun k _ => by rw [Nat.one_pow, Nat.one_pow, Nat.mul_one, Nat.mul_one])
  rw [e] at hb
  exact hb.symm

/-- Extra terms past `l` add nothing. -/
theorem sum_C_long (l : Nat) : ∀ k : Nat, sumTo (l + 1 + k) (C l) = 2 ^ l
  | 0 => sum_C l
  | k + 1 => by
    show sumTo (l + 1 + k) (C l) + C l (l + 1 + k) = 2 ^ l
    rw [sum_C_long l k, Nat.add_assoc, Nat.add_comm 1 k, ← Nat.add_assoc, C_gt l k, Nat.add_zero]

/-! ## Even and odd halves -/

/-- Summing in pairs. -/
theorem sum_pairs (f : Nat → Nat) : ∀ m : Nat,
    sumTo (m + m) f = sumTo m (fun j => f (j + j) + f (j + j + 1))
  | 0 => rfl
  | m + 1 => by
    rw [← Nat.add_assoc (m + 1) m 1, Nat.add_right_comm m 1 m]
    show sumTo (m + m) f + f (m + m) + f (m + m + 1)
      = sumTo m (fun j => f (j + j) + f (j + j + 1)) + (f (m + m) + f (m + m + 1))
    rw [sum_pairs f m, Nat.add_assoc]

/-- `Σ_{j ≤ l} C l (2j)`. -/
def evenSum (l : Nat) : Nat := sumTo (l + 1) (fun j => C l (j + j))

/-- `Σ_{j ≤ l} C l (2j + 1)`. -/
def oddSum (l : Nat) : Nat := sumTo (l + 1) (fun j => C l (j + j + 1))

theorem le_two_mul (l : Nat) : ∀ m : Nat, ∃ k, l + 1 + k = l + 1 + m + (l + 1 + m)
  | m => ⟨m + (l + 1 + m), (Nat.add_assoc _ _ _).symm⟩

theorem oddSum_succ (l : Nat) : oddSum (l + 1) = 2 ^ l := by
  show sumTo (l + 1 + 1) (fun j => C (l + 1) (j + j + 1)) = 2 ^ l
  have e : sumTo (l + 1 + 1) (fun j => C (l + 1) (j + j + 1))
      = sumTo (l + 1 + 1) (fun j => C l (j + j) + C l (j + j + 1)) :=
    sum_ext _ _ _ (fun j _ => rfl)
  rw [e, ← sum_pairs]
  have ⟨k, hk⟩ := le_two_mul l 1
  rw [← hk]
  exact sum_C_long l k

theorem evenSum_succ (l : Nat) : evenSum (l + 1) = 2 ^ l := by
  show sumTo (l + 1 + 1) (fun j => C (l + 1) (j + j)) = 2 ^ l
  rw [sum_shift]
  have e : sumTo (l + 1) (fun j => C (l + 1) (j + 1 + (j + 1)))
      = sumTo (l + 1) (fun j => C l (j + 1 + j) + C l (j + 1 + j + 1)) :=
    sum_ext _ _ _ (fun j _ => rfl)
  have e2 : sumTo (l + 1) (fun j => C l (j + 1 + j) + C l (j + 1 + j + 1))
      = sumTo (l + 1) (fun j => C l (j + j + 1) + C l (j + j + 1 + 1)) :=
    sum_ext _ _ _ (fun j _ => by rw [Nat.add_right_comm j 1 j])
  rw [e, e2]
  have e3 := sum_pairs (fun i => C l (i + 1)) (l + 1)
  rw [← e3]
  show C (l + 1) 0 + sumTo (l + 1 + (l + 1)) (fun i => C l (i + 1)) = 2 ^ l
  rw [show C (l + 1) 0 = C l 0 from (C_zero_right (l + 1)).trans (C_zero_right l).symm,
    ← sum_shift (l + 1 + (l + 1)) (C l)]
  rw [Nat.add_assoc (l + 1) (l + 1) 1]
  exact sum_C_long l (l + 1 + 1)

/-- **For l ≥ 1, the even binomials and the odd binomials have the same sum**
    (in natural numbers, without signs). -/
theorem even_eq_odd (l : Nat) (hl : 1 ≤ l) : evenSum l = oddSum l :=
  match l, hl with
  | 0, hl => absurd hl (Nat.not_succ_le_zero 0)
  | l + 1, _ => (evenSum_succ l).trans (oddSum_succ l).symm

theorem even_odd_values : evenSum 5 = 16 ∧ oddSum 5 = 16 ∧ evenSum 0 = 1 ∧ oddSum 0 = 0 :=
  ⟨rfl, rfl, rfl, rfl⟩

/-! ## Symmetry -/

theorem C_symm_add : ∀ (n a b : Nat), a + b = n → C n a = C n b
  | 0, 0, 0, _ => rfl
  | 0, a + 1, b, h => absurd ((Nat.add_right_comm a 1 b).symm.trans h) (succ_ne_zero' _)
  | 0, 0, b + 1, h => absurd h (succ_ne_zero' _)
  | n + 1, 0, b, h => by
    rw [nzero_add] at h
    rw [h, C_zero_right, C_self]
  | n + 1, a + 1, 0, h => by
    have h' : a + 1 = n + 1 := h
    rw [h', C_zero_right, C_self]
  | n + 1, a + 1, b + 1, h => by
    have h' : a + b + 1 = n := (Nat.add_right_comm a 1 b).symm.trans (@succ_inj' (a + 1 + b) n h)
    show C n a + C n (a + 1) = C n b + C n (b + 1)
    rw [C_symm_add n a (b + 1) h', C_symm_add n (a + 1) b (by rw [Nat.add_right_comm a 1 b]; exact h')]
    exact Nat.add_comm _ _

theorem add_sub_of_le'' : ∀ (a b : Nat), a ≤ b → a + (b - a) = b
  | 0, b, _ => by rw [nzero_add]; rfl
  | a + 1, 0, h => absurd h (Nat.not_succ_le_zero a)
  | a + 1, b + 1, h => by
    rw [Nat.succ_sub_succ, Nat.add_right_comm]
    exact congrArg Nat.succ (add_sub_of_le'' a b (Nat.le_of_succ_le_succ h))

/-- **Symmetry.** `i ≤ l → C l i = C l (l - i)`. -/
theorem C_symm (l i : Nat) (h : i ≤ l) : C l i = C l (l - i) :=
  C_symm_add l i (l - i) (add_sub_of_le'' i l h)

end DefectChain

#print axioms DefectChain.ceilHalf_even
#print axioms DefectChain.ceilHalf_odd
#print axioms DefectChain.l0_even
#print axioms DefectChain.l0_odd
#print axioms DefectChain.l0_values
#print axioms DefectChain.sum_C
#print axioms DefectChain.sum_C_long
#print axioms DefectChain.sum_pairs
#print axioms DefectChain.le_two_mul
#print axioms DefectChain.oddSum_succ
#print axioms DefectChain.evenSum_succ
#print axioms DefectChain.even_eq_odd
#print axioms DefectChain.even_odd_values
#print axioms DefectChain.C_symm_add
#print axioms DefectChain.add_sub_of_le''
#print axioms DefectChain.C_symm

DetChain.lean

lean_all/DetChain.lean

/-
  DetChain.lean
  det ≠ 0 gives an injective map, and regular sequences give exact Koszul
  complexes (T21, the algebraic part).

  Lean 4 core only (with FTAChain for nothing beyond the conventions).
  A commutative ring is passed by its operations and laws (`CRing`); a ring
  without zero divisors adds `noZD`. Proofs are hand-written rewriting;
  no omega / simp / ring / decide / norm_num / linarith.

  Proved here:
    add_cancel_left, mul_zero, zero_mul', neg_unique, neg_mul_left, neg_neg',
    add_neg', right_distrib          ring lemmas from the laws
    inj1, inj1'                      1×1: det = a ≠ 0 ⇒ x ↦ a x has trivial kernel, is injective
    adj2_left, adj2_right            2×2: adj(d) · d = det · 1, written out
    inj2                             2×2: det ≠ 0 ⇒ d(x,y) = 0 forces x = y = 0
    koszul1_exact                    length 1: x regular ⇒ H_1 = 0
    koszul2_complex                  length 2: d1 ∘ d2 = 0
    koszul2_H2, koszul2_H1           length 2: (x, y) regular ⇒ H_2 = 0 and H_1 = 0
-/
import FTAChain

namespace DetChain

/-- A commutative ring, given by its operations and laws. -/
structure CRing (R : Type) where
  add : R → R → R
  mul : R → R → R
  neg : R → R
  zero : R
  one : R
  add_assoc : ∀ a b c, add (add a b) c = add a (add b c)
  add_comm : ∀ a b, add a b = add b a
  zero_add : ∀ a, add zero a = a
  add_neg : ∀ a, add a (neg a) = zero
  mul_assoc : ∀ a b c, mul (mul a b) c = mul a (mul b c)
  mul_comm : ∀ a b, mul a b = mul b a
  one_mul : ∀ a, mul one a = a
  distrib : ∀ a b c, mul a (add b c) = add (mul a b) (mul a c)

section Ring
variable {R : Type} (K : CRing R)

theorem add_zero' (a : R) : K.add a K.zero = a := (K.add_comm a K.zero).trans (K.zero_add a)

theorem add_cancel_left (a b c : R) (h : K.add a b = K.add a c) : b = c := by
  have e : K.add (K.neg a) (K.add a b) = K.add (K.neg a) (K.add a c) := by rw [h]
  rw [← K.add_assoc, ← K.add_assoc, K.add_comm (K.neg a) a, K.add_neg, K.zero_add, K.zero_add] at e
  exact e

theorem right_distrib (a b c : R) : K.mul (K.add a b) c = K.add (K.mul a c) (K.mul b c) := by
  rw [K.mul_comm, K.distrib, K.mul_comm c a, K.mul_comm c b]

theorem mul_zero (a : R) : K.mul a K.zero = K.zero := by
  apply add_cancel_left K (K.mul a K.zero)
  rw [← K.distrib, K.zero_add, add_zero']

theorem zero_mul' (a : R) : K.mul K.zero a = K.zero := by
  rw [K.mul_comm, mul_zero]

/-- If `u + v = 0` then `u = -v`. -/
theorem neg_unique (u v : R) (h : K.add u v = K.zero) : u = K.neg v := by
  apply add_cancel_left K v
  rw [K.add_comm v u, h, K.add_neg]

theorem neg_mul_left (a b : R) : K.mul (K.neg a) b = K.neg (K.mul a b) := by
  apply neg_unique
  rw [← right_distrib, K.add_comm, K.add_neg, zero_mul']

theorem neg_neg' (a : R) : K.neg (K.neg a) = a :=
  (neg_unique K a (K.neg a) (K.add_neg a)).symm

theorem add_neg' (a : R) : K.add (K.neg a) a = K.zero := by
  rw [K.add_comm, K.add_neg]

/-- `(u + v) + (w + z) = (u + w) + (v + z)`. -/
theorem add_mid4 (u v w z : R) : K.add (K.add u v) (K.add w z) = K.add (K.add u w) (K.add v z) := by
  rw [K.add_assoc, ← K.add_assoc v w z, K.add_comm v w, K.add_assoc w v z, ← K.add_assoc]

end Ring

/-- No zero divisors. -/
def NoZD {R : Type} (K : CRing R) : Prop := ∀ a b, K.mul a b = K.zero → a = K.zero ∨ b = K.zero

/-! ## 1 × 1 -/

/-- **1×1.** If `a ≠ 0`, then `a x = 0` forces `x = 0`. -/
theorem inj1 {R : Type} (K : CRing R) (hK : NoZD K) (a x : R) (ha : a ≠ K.zero)
    (h : K.mul a x = K.zero) : x = K.zero := by
  cases hK a x h with
  | inl h' => exact absurd h' ha
  | inr h' => exact h'

/-- **1×1, injective.** If `a ≠ 0` and `a x = a x'`, then `x = x'`. -/
theorem inj1' {R : Type} (K : CRing R) (hK : NoZD K) (a x x' : R) (ha : a ≠ K.zero)
    (h : K.mul a x = K.mul a x') : x = x' := by
  have e : K.mul a (K.add x (K.neg x')) = K.zero := by
    rw [K.distrib, h, ← K.distrib, K.add_neg, mul_zero]
  have e2 := inj1 K hK a _ ha e
  have e3 := neg_unique K x (K.neg x') e2
  rw [e3, neg_neg']

/-! ## 2 × 2 -/

/-- `det [[a, b], [c, e]] = a e - b c`. -/
def det2 {R : Type} (K : CRing R) (a b c e : R) : R := K.add (K.mul a e) (K.neg (K.mul b c))

/-- First row of `adj(d) · d`: `e (a x + b y) - b (c x + e y) = det · x`. -/
theorem adj2_left {R : Type} (K : CRing R) (a b c e x y : R) :
    K.add (K.mul e (K.add (K.mul a x) (K.mul b y))) (K.mul (K.neg b) (K.add (K.mul c x) (K.mul e y)))
      = K.mul (det2 K a b c e) x := by
  show _ = K.mul (K.add (K.mul a e) (K.neg (K.mul b c))) x
  rw [K.distrib, K.distrib, neg_mul_left, neg_mul_left, ← K.mul_assoc e a x, ← K.mul_assoc e b y,
    ← K.mul_assoc b c x, ← K.mul_assoc b e y, add_mid4, K.mul_comm e b, K.add_neg, add_zero',
    right_distrib, neg_mul_left, K.mul_comm e a]

/-- Second row of `adj(d) · d`: `-c (a x + b y) + a (c x + e y) = det · y`. -/
theorem adj2_right {R : Type} (K : CRing R) (a b c e x y : R) :
    K.add (K.mul (K.neg c) (K.add (K.mul a x) (K.mul b y))) (K.mul a (K.add (K.mul c x) (K.mul e y)))
      = K.mul (det2 K a b c e) y := by
  show _ = K.mul (K.add (K.mul a e) (K.neg (K.mul b c))) y
  rw [K.distrib, K.distrib, neg_mul_left, neg_mul_left, ← K.mul_assoc c a x, ← K.mul_assoc c b y,
    ← K.mul_assoc a c x, ← K.mul_assoc a e y, add_mid4, K.mul_comm c a, add_neg', K.zero_add,
    right_distrib, neg_mul_left, K.mul_comm c b]
  exact K.add_comm _ _

/-- **2×2.** Over a commutative ring without zero divisors, if `det d ≠ 0`
    then `d (x, y) = 0` forces `x = y = 0`: the map is injective. -/
theorem inj2 {R : Type} (K : CRing R) (hK : NoZD K) (a b c e x y : R)
    (hdet : det2 K a b c e ≠ K.zero)
    (h1 : K.add (K.mul a x) (K.mul b y) = K.zero) (h2 : K.add (K.mul c x) (K.mul e y) = K.zero) :
    x = K.zero ∧ y = K.zero := by
  have ex := adj2_left K a b c e x y
  have ey := adj2_right K a b c e x y
  rw [h1, h2, mul_zero, mul_zero, K.zero_add] at ex
  rw [h1, h2, mul_zero, mul_zero, K.zero_add] at ey
  exact ⟨inj1 K hK _ x hdet ex.symm, inj1 K hK _ y hdet ey.symm⟩

/-! ## Koszul complexes -/

/-- `x` is a non-zero-divisor. -/
def Regular1 {R : Type} (K : CRing R) (x : R) : Prop := ∀ r, K.mul r x = K.zero → r = K.zero

/-- **Length 1.** `0 → R --x--> R → 0`: if `x` is regular, `H_1 = ker(x) = 0`. -/
theorem koszul1_exact {R : Type} (K : CRing R) (x : R) (hx : Regular1 K x) (r : R)
    (h : K.mul r x = K.zero) : r = K.zero := hx r h

/-- `(x, y)` is a regular sequence: `x` regular, and `y` regular on `R/(x)`. -/
def Regular2 {R : Type} (K : CRing R) (x y : R) : Prop :=
  Regular1 K x ∧ ∀ b c, K.mul b y = K.mul c x → ∃ r, b = K.mul r x

/-- `d1 (a, b) = a x + b y`. -/
def d1 {R : Type} (K : CRing R) (x y : R) (p : R × R) : R := K.add (K.mul p.1 x) (K.mul p.2 y)

/-- `d2 r = (-(r y), r x)`. -/
def d2 {R : Type} (K : CRing R) (x y : R) (r : R) : R × R := (K.neg (K.mul r y), K.mul r x)

/-- **It is a complex**: `d1 ∘ d2 = 0`. -/
theorem koszul2_complex {R : Type} (K : CRing R) (x y r : R) : d1 K x y (d2 K x y r) = K.zero := by
  show K.add (K.mul (K.neg (K.mul r y)) x) (K.mul (K.mul r x) y) = K.zero
  rw [neg_mul_left, K.mul_assoc, K.mul_comm y x, ← K.mul_assoc, add_neg']

/-- **Length 2, H_2 = 0**: `d2 r = 0` forces `r = 0`. -/
theorem koszul2_H2 {R : Type} (K : CRing R) (x y : R) (hreg : Regular2 K x y) (r : R)
    (h : d2 K x y r = (K.zero, K.zero)) : r = K.zero :=
  hreg.1 r (congrArg Prod.snd h)

/-- **Length 2, H_1 = 0**: every `(a, b)` with `a x + b y = 0` is `d2 r` for some `r`. -/
theorem koszul2_H1 {R : Type} (K : CRing R) (x y : R) (hreg : Regular2 K x y) (a b : R)
    (h : d1 K x y (a, b) = K.zero) : ∃ r, (a, b) = d2 K x y r := by
  have h' : K.add (K.mul a x) (K.mul b y) = K.zero := h
  have hb : K.mul b y = K.mul (K.neg a) x := by
    rw [neg_mul_left]
    exact neg_unique K _ _ ((K.add_comm _ _).trans h')
  obtain ⟨r, hr⟩ := hreg.2 b (K.neg a) hb
  refine ⟨r, ?_⟩
  -- a x + (r x) y = 0, so (a + r y) x = 0, so a = -(r y)
  have e1 : K.mul (K.add a (K.mul r y)) x = K.zero := by
    rw [right_distrib, K.mul_assoc, K.mul_comm y x, ← K.mul_assoc, ← hr]
    exact h'
  have e2 := hreg.1 _ e1
  have e3 : a = K.neg (K.mul r y) := neg_unique K _ _ e2
  show (a, b) = (K.neg (K.mul r y), K.mul r x)
  rw [e3, hr]

end DetChain

#print axioms DetChain.add_zero'
#print axioms DetChain.add_cancel_left
#print axioms DetChain.right_distrib
#print axioms DetChain.mul_zero
#print axioms DetChain.zero_mul'
#print axioms DetChain.neg_unique
#print axioms DetChain.neg_mul_left
#print axioms DetChain.neg_neg'
#print axioms DetChain.add_neg'
#print axioms DetChain.add_mid4
#print axioms DetChain.inj1
#print axioms DetChain.inj1'
#print axioms DetChain.adj2_left
#print axioms DetChain.adj2_right
#print axioms DetChain.inj2
#print axioms DetChain.koszul1_exact
#print axioms DetChain.koszul2_complex
#print axioms DetChain.koszul2_H2
#print axioms DetChain.koszul2_H1

DetNChain.lean

lean_all/DetNChain.lean

/-
  DetNChain.lean
  det d ≠ 0 ⇒ injective, for every n (T21).

  Lean 4 core plus DetChain (the commutative ring `CRing` and its lemmas).
  Proofs are hand-written rewriting; no omega / simp / ring / decide /
  norm_num / linarith. The list lemmas of the core library that use `propext`
  are re-proved here by hand.

  A matrix is a list of columns; a column is a function `Nat → R` (row ↦ entry).
  The determinant is the Laplace expansion along row 0, built by hand:
    det 0 cs       = 1
    det (n+1) cs   = Σ_j (-1)^j · cs_j(0) · det n (cs without column j, rows shifted up)
  The sum is a walk over the list (`lapS pre rest suf`): `pre` are the columns
  already passed, `rest` those still to come, and `suf` a fixed tail.

  Proved here:
    list lemmas      app_nil', app_assoc', map_app', len_app', len_map'
    ring lemmas      neg_zero', neg_add', mul_neg', sgn_*
    lapS_split       the walk over xs ++ ys splits
    lapS_vanish      a walk whose minors all vanish is 0
    det_adj          two equal adjacent columns ⇒ det = 0
    det_add, det_smul  det is additive and homogeneous in every column
    det_swap         exchanging adjacent columns changes the sign
    det_eq_cols      two equal columns anywhere ⇒ det = 0
    det_congr        det only sees rows < n
    det_comb         det (… , Σ_k x_k c_k , …) = Σ_k x_k det (…, c_k, …)
    kernel_trivial   **det A ≠ 0 and A x = 0 ⇒ x = 0**, every n, over a ring
                     without zero divisors
-/
import DetChain

namespace DetN
open DetChain

/-! ## Lists, by hand -/

theorem app_nil' {A : Type} : ∀ l : List A, l ++ [] = l
  | [] => rfl
  | a :: l => congrArg (List.cons a) (app_nil' l)

theorem app_assoc' {A : Type} : ∀ a b c : List A, (a ++ b) ++ c = a ++ (b ++ c)
  | [], _, _ => rfl
  | x :: a, b, c => congrArg (List.cons x) (app_assoc' a b c)

theorem map_app' {A B : Type} (f : A → B) : ∀ a b : List A, (a ++ b).map f = a.map f ++ b.map f
  | [], _ => rfl
  | x :: a, b => congrArg (List.cons (f x)) (map_app' f a b)

theorem len_app' {A : Type} : ∀ a b : List A, (a ++ b).length = a.length + b.length
  | [], b => (Nat.zero_add b.length).symm
  | _ :: a, b => by
    show (a ++ b).length + 1 = a.length + 1 + b.length
    rw [len_app' a b, Nat.add_right_comm]

theorem len_map' {A B : Type} (f : A → B) : ∀ a : List A, (a.map f).length = a.length
  | [] => rfl
  | _ :: a => congrArg (· + 1) (len_map' f a)

section Det
variable {R : Type} (K : CRing R)

/-! ## Ring lemmas -/

theorem neg_zero' : K.neg K.zero = K.zero :=
  (neg_unique K K.zero K.zero (K.zero_add K.zero)).symm

theorem neg_add' (x y : R) : K.neg (K.add x y) = K.add (K.neg x) (K.neg y) := by
  apply Eq.symm
  apply neg_unique
  rw [add_mid4, add_neg', add_neg', K.zero_add]

theorem mul_neg' (a x : R) : K.mul a (K.neg x) = K.neg (K.mul a x) := by
  rw [K.mul_comm, neg_mul_left, K.mul_comm]

/-- `(-1)^k · x`. -/
def sgn : Nat → R → R
  | 0, x => x
  | k + 1, x => K.neg (sgn k x)

theorem sgn_zero : ∀ k, sgn K k K.zero = K.zero
  | 0 => rfl
  | k + 1 => by
    show K.neg (sgn K k K.zero) = K.zero
    rw [sgn_zero k, neg_zero']

theorem sgn_add : ∀ k (x y : R), sgn K k (K.add x y) = K.add (sgn K k x) (sgn K k y)
  | 0, _, _ => rfl
  | k + 1, x, y => by
    show K.neg (sgn K k (K.add x y)) = K.add (K.neg (sgn K k x)) (K.neg (sgn K k y))
    rw [sgn_add k, neg_add']

theorem sgn_mul : ∀ k (a x : R), sgn K k (K.mul a x) = K.mul a (sgn K k x)
  | 0, _, _ => rfl
  | k + 1, a, x => by
    show K.neg (sgn K k (K.mul a x)) = K.mul a (K.neg (sgn K k x))
    rw [sgn_mul k, mul_neg']

/-! ## The determinant -/

/-- Drop row 0: the column read from row 1 on. -/
def shc (c : Nat → R) : Nat → R := fun r => c (r + 1)

/-- The Laplace walk. -/
def lapS (D : List (Nat → R) → R) : List (Nat → R) → List (Nat → R) → List (Nat → R) → R
  | _, [], _ => K.zero
  | pre, c :: cs, suf =>
    K.add (sgn K pre.length (K.mul (c 0) (D ((pre ++ (cs ++ suf)).map shc)))) (lapS D (pre ++ [c]) cs suf)

/-- The determinant, by expansion along row 0 (fuel `n` = size). -/
def det : Nat → List (Nat → R) → R
  | 0, _ => K.one
  | n + 1, cs => lapS K (det n) [] cs []

theorem det_succ (n : Nat) (cs : List (Nat → R)) : det K (n + 1) cs = lapS K (det K n) [] cs [] := rfl

theorem lapS_split (D : List (Nat → R) → R) (suf : List (Nat → R)) :
    ∀ (xs ys pre : List (Nat → R)),
      lapS K D pre (xs ++ ys) suf = K.add (lapS K D pre xs (ys ++ suf)) (lapS K D (pre ++ xs) ys suf)
  | [], ys, pre => by
    show lapS K D pre ys suf = K.add K.zero (lapS K D (pre ++ []) ys suf)
    rw [app_nil', K.zero_add]
  | x :: xs, ys, pre => by
    show K.add (sgn K pre.length (K.mul (x 0) (D ((pre ++ ((xs ++ ys) ++ suf)).map shc))))
        (lapS K D (pre ++ [x]) (xs ++ ys) suf)
      = K.add (K.add (sgn K pre.length (K.mul (x 0) (D ((pre ++ (xs ++ (ys ++ suf))).map shc))))
          (lapS K D (pre ++ [x]) xs (ys ++ suf))) (lapS K D (pre ++ (x :: xs)) ys suf)
    rw [lapS_split D suf xs ys (pre ++ [x]), app_assoc' xs ys suf, app_assoc' pre [x] xs, K.add_assoc]
    rfl

theorem len_fix (a b s m : Nat) (h : a + (b + 1) + s = m + 1) : a + b + s = m := by
  rw [← Nat.add_assoc, Nat.add_right_comm] at h
  exact Nat.succ.inj h

/-- A walk whose minors all vanish is 0. -/
theorem lapS_vanish (D : List (Nat → R) → R) (m : Nat) (suf : List (Nat → R)) :
    ∀ (xs pre : List (Nat → R)),
      (∀ zs, ((pre ++ zs) ++ suf).length = m → D (((pre ++ zs) ++ suf).map shc) = K.zero) →
      ((pre ++ xs) ++ suf).length = m + 1 → lapS K D pre xs suf = K.zero
  | [], _, _, _ => rfl
  | x :: xs, pre, H, hl => by
    have hl' : ((pre ++ xs) ++ suf).length = m := by
      rw [len_app', len_app'] at hl
      rw [len_app', len_app']
      exact len_fix _ _ _ _ hl
    have h1 : D ((pre ++ (xs ++ suf)).map shc) = K.zero := by
      rw [← app_assoc']
      exact H xs hl'
    have H' : ∀ zs, (((pre ++ [x]) ++ zs) ++ suf).length = m →
        D ((((pre ++ [x]) ++ zs) ++ suf).map shc) = K.zero := fun zs h => by
      rw [app_assoc' pre [x] zs] at h
      rw [app_assoc' pre [x] zs]
      exact H (x :: zs) h
    have hl2 : (((pre ++ [x]) ++ xs) ++ suf).length = m + 1 := by
      rw [app_assoc' pre [x] xs]
      exact hl
    show K.add (sgn K pre.length (K.mul (x 0) (D ((pre ++ (xs ++ suf)).map shc))))
      (lapS K D (pre ++ [x]) xs suf) = K.zero
    rw [h1, mul_zero, sgn_zero, lapS_vanish D m suf xs (pre ++ [x]) H' hl2, K.zero_add]

theorem reshape2 (P zs : List (Nat → R)) (u : Nat → R) :
    ((P ++ [u]) ++ [u]) ++ zs = P ++ (u :: u :: zs) := by
  rw [app_assoc' (P ++ [u]) [u] zs, app_assoc' P [u] ([u] ++ zs)]
  rfl

/-- **Two equal adjacent columns give determinant 0.** -/
theorem det_adj : ∀ (n : Nat) (P Q : List (Nat → R)) (u : Nat → R),
    (P ++ u :: u :: Q).length = n → det K n (P ++ u :: u :: Q) = K.zero
  | 0, P, Q, u, h => by
    rw [len_app'] at h
    exact absurd h (FTAChain.succ_ne_zero' _)
  | m + 1, P, Q, u, h => by
    rw [det_succ, lapS_split K (det K m) [] P (u :: u :: Q) []]
    have part1 : lapS K (det K m) [] P ((u :: u :: Q) ++ []) = K.zero := by
      apply lapS_vanish K (det K m) m ((u :: u :: Q) ++ []) P []
      · intro zs hz
        have e : (([] ++ zs) ++ ((u :: u :: Q) ++ [])).map shc
            = zs.map shc ++ (shc u :: shc u :: (Q ++ []).map shc) := map_app' shc zs _
        rw [e]
        apply det_adj m
        rw [← e, len_map']
        exact hz
      · show (P ++ ((u :: u :: Q) ++ [])).length = m + 1
        rw [app_nil']
        exact h
    have rest : lapS K (det K m) ((P ++ [u]) ++ [u]) Q [] = K.zero := by
      apply lapS_vanish K (det K m) m [] Q ((P ++ [u]) ++ [u])
      · intro zs hz
        have e : ((((P ++ [u]) ++ [u]) ++ zs) ++ []).map shc
            = P.map shc ++ (shc u :: shc u :: (zs ++ []).map shc) := by
          rw [reshape2, app_assoc', map_app']
          rfl
        rw [e]
        apply det_adj m
        rw [← e, len_map']
        exact hz
      · rw [reshape2, app_nil']
        exact h
    rw [part1, K.zero_add]
    show K.add (sgn K ([] ++ P).length (K.mul (u 0) (det K m (List.map shc (([] ++ P) ++ ((u :: Q) ++ []))))))
      (K.add (sgn K (([] ++ P) ++ [u]).length
          (K.mul (u 0) (det K m (List.map shc ((([] ++ P) ++ [u]) ++ (Q ++ []))))))
        (lapS K (det K m) ((([] ++ P) ++ [u]) ++ [u]) Q [])) = K.zero
    have hP : ([] ++ P) = P := rfl
    rw [hP, rest, add_zero', app_assoc' P [u] (Q ++ []), len_app']
    show K.add (sgn K P.length _) (K.neg (sgn K P.length _)) = K.zero
    exact K.add_neg _

/-! ## Linearity in one column -/

/-- The column `α u + β v`. -/
def clin (α : R) (u : Nat → R) (β : R) (v : Nat → R) : Nat → R :=
  fun r => K.add (K.mul α (u r)) (K.mul β (v r))

theorem len_step {A : Type} (m : Nat) (pre xs suf : List A) (x : A)
    (h : (pre ++ ((x :: xs) ++ suf)).length = m + 1) : (pre ++ (xs ++ suf)).length = m := by
  rw [len_app'] at h
  rw [len_app']
  exact Nat.succ.inj h

theorem len_col {A : Type} (P M : List A) (a b : A) : (P ++ a :: M).length = (P ++ b :: M).length := by
  rw [len_app', len_app']
  rfl

theorem lin_comb (α β a b c d : R) :
    K.add (K.add (K.mul α a) (K.mul β b)) (K.add (K.mul α c) (K.mul β d))
      = K.add (K.mul α (K.add a c)) (K.mul β (K.add b d)) := by
  rw [add_mid4, ← K.distrib, ← K.distrib]

theorem lin_zero (α β : R) : K.zero = K.add (K.mul α K.zero) (K.mul β K.zero) := by
  rw [mul_zero, mul_zero, K.zero_add]

theorem swap_mul (x α a : R) : K.mul x (K.mul α a) = K.mul α (K.mul x a) := by
  rw [← K.mul_assoc, K.mul_comm x α, K.mul_assoc]

theorem term_lin (k : Nat) (x α a β b : R) :
    sgn K k (K.mul x (K.add (K.mul α a) (K.mul β b)))
      = K.add (K.mul α (sgn K k (K.mul x a))) (K.mul β (sgn K k (K.mul x b))) := by
  rw [K.distrib, sgn_add, swap_mul K x α a, swap_mul K x β b, sgn_mul K k α (K.mul x a),
    sgn_mul K k β (K.mul x b)]

theorem term_col (k : Nat) (X α a β b : R) :
    sgn K k (K.mul (K.add (K.mul α a) (K.mul β b)) X)
      = K.add (K.mul α (sgn K k (K.mul a X))) (K.mul β (sgn K k (K.mul b X))) := by
  rw [right_distrib, K.mul_assoc α a X, K.mul_assoc β b X, sgn_add, sgn_mul K k α (K.mul a X),
    sgn_mul K k β (K.mul b X)]

/-- The walk is linear in a column of the fixed tail. -/
theorem lapS_lin_suf (D : List (Nat → R) → R) (m : Nat) (S : List (Nat → R)) (u v : Nat → R) (α β : R) :
    ∀ (xs pre : List (Nat → R)),
      (∀ zs, (pre ++ (zs ++ (clin K α u β v :: S))).length = m →
        D ((pre ++ (zs ++ (clin K α u β v :: S))).map shc)
          = K.add (K.mul α (D ((pre ++ (zs ++ (u :: S))).map shc)))
              (K.mul β (D ((pre ++ (zs ++ (v :: S))).map shc)))) →
      (pre ++ (xs ++ (clin K α u β v :: S))).length = m + 1 →
      lapS K D pre xs (clin K α u β v :: S)
        = K.add (K.mul α (lapS K D pre xs (u :: S))) (K.mul β (lapS K D pre xs (v :: S)))
  | [], _, _, _ => lin_zero K α β
  | x :: xs, pre, H, hl => by
    have H' : ∀ zs, ((pre ++ [x]) ++ (zs ++ (clin K α u β v :: S))).length = m →
        D (((pre ++ [x]) ++ (zs ++ (clin K α u β v :: S))).map shc)
          = K.add (K.mul α (D (((pre ++ [x]) ++ (zs ++ (u :: S))).map shc)))
              (K.mul β (D (((pre ++ [x]) ++ (zs ++ (v :: S))).map shc))) := fun zs h => by
      rw [app_assoc' pre [x]] at h
      rw [app_assoc' pre [x], app_assoc' pre [x], app_assoc' pre [x]]
      exact H (x :: zs) h
    have hl' : ((pre ++ [x]) ++ (xs ++ (clin K α u β v :: S))).length = m + 1 := by
      rw [app_assoc' pre [x]]
      exact hl
    show K.add (sgn K pre.length (K.mul (x 0) (D ((pre ++ (xs ++ (clin K α u β v :: S))).map shc))))
        (lapS K D (pre ++ [x]) xs (clin K α u β v :: S))
      = K.add (K.mul α (K.add (sgn K pre.length (K.mul (x 0) (D ((pre ++ (xs ++ (u :: S))).map shc))))
            (lapS K D (pre ++ [x]) xs (u :: S))))
          (K.mul β (K.add (sgn K pre.length (K.mul (x 0) (D ((pre ++ (xs ++ (v :: S))).map shc))))
            (lapS K D (pre ++ [x]) xs (v :: S))))
    rw [H xs (len_step m pre xs _ x hl), term_lin, lapS_lin_suf D m S u v α β xs (pre ++ [x]) H' hl', lin_comb]

/-- The walk is linear in a column of the passed prefix. -/
theorem lapS_lin_pre (D : List (Nat → R) → R) (m : Nat) (P suf : List (Nat → R)) (u v : Nat → R) (α β : R) :
    ∀ (xs M : List (Nat → R)),
      (∀ M zs, ((P ++ clin K α u β v :: M) ++ (zs ++ suf)).length = m →
        D (((P ++ clin K α u β v :: M) ++ (zs ++ suf)).map shc)
          = K.add (K.mul α (D (((P ++ u :: M) ++ (zs ++ suf)).map shc)))
              (K.mul β (D (((P ++ v :: M) ++ (zs ++ suf)).map shc)))) →
      ((P ++ clin K α u β v :: M) ++ (xs ++ suf)).length = m + 1 →
      lapS K D (P ++ clin K α u β v :: M) xs suf
        = K.add (K.mul α (lapS K D (P ++ u :: M) xs suf)) (K.mul β (lapS K D (P ++ v :: M) xs suf))
  | [], _, _, _ => lin_zero K α β
  | x :: xs, M, H, hl => by
    have e : ∀ w : Nat → R, (P ++ w :: M) ++ [x] = P ++ w :: (M ++ [x]) := fun w => app_assoc' P (w :: M) [x]
    have hl' : ((P ++ clin K α u β v :: (M ++ [x])) ++ (xs ++ suf)).length = m + 1 := by
      rw [← e, app_assoc' (P ++ clin K α u β v :: M) [x]]
      exact hl
    show K.add (sgn K (P ++ clin K α u β v :: M).length
          (K.mul (x 0) (D (((P ++ clin K α u β v :: M) ++ (xs ++ suf)).map shc))))
        (lapS K D ((P ++ clin K α u β v :: M) ++ [x]) xs suf)
      = K.add (K.mul α (K.add (sgn K (P ++ u :: M).length
              (K.mul (x 0) (D (((P ++ u :: M) ++ (xs ++ suf)).map shc))))
            (lapS K D ((P ++ u :: M) ++ [x]) xs suf)))
          (K.mul β (K.add (sgn K (P ++ v :: M).length
              (K.mul (x 0) (D (((P ++ v :: M) ++ (xs ++ suf)).map shc))))
            (lapS K D ((P ++ v :: M) ++ [x]) xs suf)))
    rw [H M xs (len_step m _ xs suf x hl), len_col P M (clin K α u β v) u, len_col P M v u, term_lin,
      e, e, e, lapS_lin_pre D m P suf u v α β xs (M ++ [x]) H hl', lin_comb]

/-- **The determinant is linear in every column.** -/
theorem det_lin : ∀ (n : Nat) (P Q : List (Nat → R)) (u v : Nat → R) (α β : R),
    (P ++ u :: Q).length = n →
    det K n (P ++ clin K α u β v :: Q)
      = K.add (K.mul α (det K n (P ++ u :: Q))) (K.mul β (det K n (P ++ v :: Q)))
  | 0, P, Q, u, _, _, _, h => by
    rw [len_app'] at h
    exact absurd h (FTAChain.succ_ne_zero' _)
  | m + 1, P, Q, u, v, α, β, h => by
    have hw : (P ++ clin K α u β v :: Q).length = m + 1 := (len_col P Q _ u).trans h
    rw [det_succ, det_succ, det_succ, lapS_split K (det K m) [] P (clin K α u β v :: Q) [],
      lapS_split K (det K m) [] P (u :: Q) [], lapS_split K (det K m) [] P (v :: Q) []]
    have hA := lapS_lin_suf K (det K m) m (Q ++ []) u v α β P []
      (fun zs hz => by
        have e : ∀ w : Nat → R, ([] ++ (zs ++ (w :: (Q ++ [])))).map shc
            = zs.map shc ++ (shc w :: (Q ++ []).map shc) := fun w => map_app' shc zs _
        have hu : (List.map shc zs ++ shc u :: List.map shc (Q ++ [])).length = m := by
          rw [← e u, len_map']
          exact (len_col zs (Q ++ []) u (clin K α u β v)).trans hz
        rw [e, e, e]
        exact det_lin m (zs.map shc) ((Q ++ []).map shc) (shc u) (shc v) α β hu)
      (by rw [app_nil']; exact hw)
    have hB := lapS_lin_pre K (det K m) m P [] u v α β Q []
      (fun M zs hz => by
        have e : ∀ w : Nat → R, ((P ++ w :: M) ++ (zs ++ [])).map shc
            = P.map shc ++ (shc w :: (M ++ (zs ++ [])).map shc) := fun w => by
          rw [app_assoc', map_app']
          rfl
        have hu : (List.map shc P ++ shc u :: List.map shc (M ++ (zs ++ []))).length = m := by
          rw [← e u, len_map', app_assoc']
          rw [app_assoc'] at hz
          have hz' : (P ++ clin K α u β v :: (M ++ (zs ++ []))).length = m := hz
          exact (len_col P (M ++ (zs ++ [])) u (clin K α u β v)).trans hz'
        rw [e, e, e]
        exact det_lin m (P.map shc) ((M ++ (zs ++ [])).map shc) (shc u) (shc v) α β hu)
      (by rw [app_assoc', app_nil']; exact hw)
    show K.add (lapS K (det K m) [] P (clin K α u β v :: (Q ++ [])))
        (K.add (sgn K P.length (K.mul (clin K α u β v 0) (det K m ((P ++ (Q ++ [])).map shc))))
          (lapS K (det K m) (P ++ [clin K α u β v]) Q []))
      = K.add (K.mul α (K.add (lapS K (det K m) [] P (u :: (Q ++ [])))
            (K.add (sgn K P.length (K.mul (u 0) (det K m ((P ++ (Q ++ [])).map shc))))
              (lapS K (det K m) (P ++ [u]) Q []))))
          (K.mul β (K.add (lapS K (det K m) [] P (v :: (Q ++ [])))
            (K.add (sgn K P.length (K.mul (v 0) (det K m ((P ++ (Q ++ [])).map shc))))
              (lapS K (det K m) (P ++ [v]) Q []))))
    have hc : clin K α u β v 0 = K.add (K.mul α (u 0)) (K.mul β (v 0)) := rfl
    rw [hA, hB, hc, term_col, lin_comb, lin_comb]

/-! ## det only sees rows < n -/

/-- Two lists of columns that agree on rows `< k`. -/
def PeqB (k : Nat) : List (Nat → R) → List (Nat → R) → Prop
  | [], [] => True
  | [], _ :: _ => False
  | _ :: _, [] => False
  | c :: cs, c' :: cs' => (∀ r, r < k → c r = c' r) ∧ PeqB k cs cs'

theorem peq_refl (k : Nat) : ∀ a : List (Nat → R), PeqB k a a
  | [] => trivial
  | _ :: a => ⟨fun _ _ => rfl, peq_refl k a⟩

theorem peq_app (k : Nat) : ∀ a a' b b' : List (Nat → R), PeqB k a a' → PeqB k b b' → PeqB k (a ++ b) (a' ++ b')
  | [], [], _, _, _, hb => hb
  | [], _ :: _, _, _, h, _ => False.elim h
  | _ :: _, [], _, _, h, _ => False.elim h
  | _ :: a, _ :: a', b, b', h, hb => ⟨h.1, peq_app k a a' b b' h.2 hb⟩

theorem peq_map (k : Nat) : ∀ a a' : List (Nat → R), PeqB (k + 1) a a' → PeqB k (a.map shc) (a'.map shc)
  | [], [], _ => trivial
  | [], _ :: _, h => False.elim h
  | _ :: _, [], h => False.elim h
  | _ :: a, _ :: a', h => ⟨fun r hr => h.1 (r + 1) (Nat.succ_lt_succ hr), peq_map k a a' h.2⟩

theorem peq_len (k : Nat) : ∀ a a' : List (Nat → R), PeqB k a a' → a.length = a'.length
  | [], [], _ => rfl
  | [], _ :: _, h => False.elim h
  | _ :: _, [], h => False.elim h
  | _ :: a, _ :: a', h => congrArg (· + 1) (peq_len k a a' h.2)

theorem lapS_congr (D : List (Nat → R) → R) (m : Nat)
    (HD : ∀ A A', PeqB (m + 1) A A' → D (A.map shc) = D (A'.map shc)) (suf suf' : List (Nat → R))
    (hs : PeqB (m + 1) suf suf') :
    ∀ xs xs' pre pre', PeqB (m + 1) pre pre' → PeqB (m + 1) xs xs' →
      lapS K D pre xs suf = lapS K D pre' xs' suf'
  | [], [], _, _, _, _ => rfl
  | [], _ :: _, _, _, _, h => False.elim h
  | _ :: _, [], _, _, _, h => False.elim h
  | c :: cs, c' :: cs', pre, pre', hp, h => by
    show K.add (sgn K pre.length (K.mul (c 0) (D ((pre ++ (cs ++ suf)).map shc)))) (lapS K D (pre ++ [c]) cs suf)
      = K.add (sgn K pre'.length (K.mul (c' 0) (D ((pre' ++ (cs' ++ suf')).map shc))))
          (lapS K D (pre' ++ [c']) cs' suf')
    rw [peq_len _ pre pre' hp, h.1 0 (Nat.zero_lt_succ m),
      HD _ _ (peq_app _ _ _ _ _ hp (peq_app _ _ _ _ _ h.2 hs)),
      lapS_congr D m HD suf suf' hs cs cs' (pre ++ [c]) (pre' ++ [c'])
        (peq_app _ _ _ _ _ hp ⟨h.1, trivial⟩) h.2]

/-- **det n reads only rows < n.** -/
theorem det_congr : ∀ (n : Nat) (L L' : List (Nat → R)), PeqB n L L' → det K n L = det K n L'
  | 0, _, _, _ => rfl
  | m + 1, L, L', h =>
    lapS_congr K (det K m) m (fun A A' hA => det_congr m _ _ (peq_map m A A' hA)) [] [] trivial
      L L' [] [] trivial h

/-- A column that vanishes on rows `< n` gives determinant 0. -/
theorem det_zero_col (n : Nat) (P Q : List (Nat → R)) (z : Nat → R) (hl : (P ++ z :: Q).length = n)
    (hz : ∀ r, r < n → z r = K.zero) : det K n (P ++ z :: Q) = K.zero := by
  have e : det K n (P ++ z :: Q) = det K n (P ++ clin K K.zero z K.zero z :: Q) := by
    apply det_congr
    apply peq_app _ _ _ _ _ (peq_refl n P)
    refine ⟨fun r hr => ?_, peq_refl n Q⟩
    show z r = K.add (K.mul K.zero (z r)) (K.mul K.zero (z r))
    rw [zero_mul', K.zero_add, hz r hr]
  rw [e, det_lin K n P Q z z K.zero K.zero hl, zero_mul', K.zero_add]

/-! ## Alternating -/

/-- **Exchanging two adjacent columns changes the sign.** -/
theorem swap_alg (X Y : R) :
    K.add (K.mul K.one (K.add (K.mul K.one K.zero) (K.mul K.one X)))
      (K.mul K.one (K.add (K.mul K.one Y) (K.mul K.one K.zero))) = K.add X Y := by
  rw [K.one_mul (K.add (K.mul K.one K.zero) (K.mul K.one X)),
    K.one_mul (K.add (K.mul K.one Y) (K.mul K.one K.zero)), K.one_mul K.zero, K.one_mul X, K.one_mul Y,
    K.zero_add, add_zero']

theorem det_swap (n : Nat) (P Q : List (Nat → R)) (u v : Nat → R)
    (hl : (P ++ u :: v :: Q).length = n) :
    det K n (P ++ u :: v :: Q) = K.neg (det K n (P ++ v :: u :: Q)) := by
  have L1 : ∀ a b c d : Nat → R, (P ++ a :: b :: Q).length = (P ++ c :: d :: Q).length := fun a b c d => by
    rw [len_app', len_app']
    rfl
  have L2 : ∀ a b : Nat → R, (P ++ a :: b :: Q) = (P ++ [a]) ++ b :: Q := fun a b => (app_assoc' P [a] _).symm
  have h0 := det_adj K n P Q (clin K K.one u K.one v) ((L1 _ _ _ _).trans hl)
  have e1 := det_lin K n P (clin K K.one u K.one v :: Q) u v K.one K.one ((L1 _ _ _ _).trans hl)
  have eu := det_lin K n (P ++ [u]) Q u v K.one K.one (by rw [← L2]; exact (L1 _ _ _ _).trans hl)
  have ev := det_lin K n (P ++ [v]) Q u v K.one K.one (by rw [← L2]; exact (L1 _ _ _ _).trans hl)
  rw [← L2, ← L2, ← L2] at eu
  rw [← L2, ← L2, ← L2] at ev
  have zu := det_adj K n P Q u ((L1 _ _ _ _).trans hl)
  have zv := det_adj K n P Q v ((L1 _ _ _ _).trans hl)
  rw [eu, ev, zu, zv, swap_alg, h0] at e1
  exact neg_unique K _ _ e1.symm

/-- **Two equal columns anywhere give determinant 0.** -/
theorem det_eq_cols (n : Nat) (Q : List (Nat → R)) (u : Nat → R) :
    ∀ (M P : List (Nat → R)), (P ++ u :: (M ++ u :: Q)).length = n → det K n (P ++ u :: (M ++ u :: Q)) = K.zero
  | [], P, hl => det_adj K n P Q u hl
  | m :: M, P, hl => by
    have hs := det_swap K n P (M ++ u :: Q) u m hl
    have e : P ++ m :: u :: (M ++ u :: Q) = (P ++ [m]) ++ u :: (M ++ u :: Q) := (app_assoc' P [m] _).symm
    have hl' : ((P ++ [m]) ++ u :: (M ++ u :: Q)).length = n := by
      rw [← e, len_app']
      rw [len_app'] at hl
      exact hl
    show det K n (P ++ u :: m :: (M ++ u :: Q)) = K.zero
    rw [hs, e, det_eq_cols n Q u M (P ++ [m]) hl', neg_zero']

/-! ## Combinations of columns and the kernel -/

/-- `Σ_k x_k c_k`, as a column. -/
def comb : List (R × (Nat → R)) → Nat → R
  | [] => fun _ => K.zero
  | (x, c) :: rest => clin K x c K.one (comb rest)

/-- `Σ_k x_k det(P, c_k, Q)`. -/
def sumC (n : Nat) (P Q : List (Nat → R)) : List (R × (Nat → R)) → R
  | [] => K.zero
  | (x, c) :: rest => K.add (K.mul x (det K n (P ++ c :: Q))) (sumC n P Q rest)

/-- **det(P, Σ_k x_k c_k, Q) = Σ_k x_k det(P, c_k, Q).** -/
theorem det_comb (n : Nat) (P Q : List (Nat → R)) (w0 : Nat → R) (hl : (P ++ w0 :: Q).length = n) :
    ∀ ps, det K n (P ++ comb K ps :: Q) = sumC K n P Q ps
  | [] => det_zero_col K n P Q _ ((len_col P Q _ w0).trans hl) (fun _ _ => rfl)
  | (x, c) :: rest => by
    show det K n (P ++ clin K x c K.one (comb K rest) :: Q) = K.add (K.mul x (det K n (P ++ c :: Q))) (sumC K n P Q rest)
    rw [det_lin K n P Q c (comb K rest) x K.one ((len_col P Q _ w0).trans hl), K.one_mul,
      det_comb n P Q w0 hl rest]

def zipL : List R → List (Nat → R) → List (R × (Nat → R))
  | [], _ => []
  | _ :: _, [] => []
  | x :: xs, c :: cs => (x, c) :: zipL xs cs

theorem sumC_app (n : Nat) (P Q : List (Nat → R)) :
    ∀ a b, sumC K n P Q (a ++ b) = K.add (sumC K n P Q a) (sumC K n P Q b)
  | [], b => (K.zero_add _).symm
  | (x, c) :: a, b => by
    show K.add (K.mul x (det K n (P ++ c :: Q))) (sumC K n P Q (a ++ b))
      = K.add (K.add (K.mul x (det K n (P ++ c :: Q))) (sumC K n P Q a)) (sumC K n P Q b)
    rw [sumC_app n P Q a b, K.add_assoc]

/-- Terms whose column already stands in `P` contribute 0. -/
theorem sum_in_P (n : Nat) (Q : List (Nat → R)) (c0 : Nat → R) :
    ∀ (P2 P1 : List (Nat → R)) (xs : List R), ((P1 ++ P2) ++ c0 :: Q).length = n →
      sumC K n (P1 ++ P2) Q (zipL xs P2) = K.zero
  | [], _, [], _ => rfl
  | [], _, _ :: _, _ => rfl
  | _ :: _, _, [], _ => rfl
  | c :: P2, P1, x :: xs, hl => by
    have e : (P1 ++ [c]) ++ P2 = P1 ++ c :: P2 := app_assoc' P1 [c] P2
    have hl' : (((P1 ++ [c]) ++ P2) ++ c0 :: Q).length = n := by rw [e]; exact hl
    have hz : det K n ((P1 ++ c :: P2) ++ c :: Q) = K.zero := by
      rw [app_assoc']
      apply det_eq_cols K n Q c P2 P1
      have h2 : ((P1 ++ c :: P2) ++ c :: Q).length = n := (len_col _ Q c c0).trans hl
      rw [app_assoc'] at h2
      exact h2
    show K.add (K.mul x (det K n ((P1 ++ c :: P2) ++ c :: Q))) (sumC K n (P1 ++ c :: P2) Q (zipL xs P2)) = K.zero
    rw [hz, mul_zero, ← e, sum_in_P n Q c0 P2 (P1 ++ [c]) xs hl', K.zero_add]

/-- Terms whose column already stands in `Q` contribute 0. -/
theorem sum_in_Q (n : Nat) (P : List (Nat → R)) (c0 : Nat → R) :
    ∀ (Q2 Q1 : List (Nat → R)) (xs : List R), (P ++ c0 :: (Q1 ++ Q2)).length = n →
      sumC K n P (Q1 ++ Q2) (zipL xs Q2) = K.zero
  | [], _, [], _ => rfl
  | [], _, _ :: _, _ => rfl
  | _ :: _, _, [], _ => rfl
  | c :: Q2, Q1, x :: xs, hl => by
    have e : (Q1 ++ [c]) ++ Q2 = Q1 ++ c :: Q2 := app_assoc' Q1 [c] Q2
    have hl' : (P ++ c0 :: ((Q1 ++ [c]) ++ Q2)).length = n := by rw [e]; exact hl
    have hz : det K n (P ++ c :: (Q1 ++ c :: Q2)) = K.zero :=
      det_eq_cols K n Q2 c Q1 P ((len_col P _ c c0).trans hl)
    show K.add (K.mul x (det K n (P ++ c :: (Q1 ++ c :: Q2)))) (sumC K n P (Q1 ++ c :: Q2) (zipL xs Q2)) = K.zero
    rw [hz, mul_zero, ← e, sum_in_Q n P c0 Q2 (Q1 ++ [c]) xs hl', K.zero_add]

/-- **det A ≠ 0 and A x = 0 force x = 0**, for every size `n`, over a
    commutative ring without zero divisors. The matrix is `A = (P, c, Q)`, the
    coefficient of the column `c` is `x`, and `A x = 0` means that the column
    `Σ_k x_k c_k` vanishes on the `n` rows. Since `c` can be any column, every
    coefficient is 0. -/
theorem kernel_trivial (hK : NoZD K) (n : Nat) (P Q : List (Nat → R)) (c : Nat → R) (xP xQ : List R) (x : R)
    (hl : (P ++ c :: Q).length = n) (hdet : det K n (P ++ c :: Q) ≠ K.zero)
    (hAx : ∀ r, r < n → comb K (zipL xP P ++ (x, c) :: zipL xQ Q) r = K.zero) : x = K.zero := by
  have h0 := det_zero_col K n P Q _ ((len_col P Q _ c).trans hl) hAx
  rw [det_comb K n P Q c hl, sumC_app] at h0
  have hP : sumC K n P Q (zipL xP P) = K.zero := sum_in_P K n Q c P [] xP hl
  have hQ : sumC K n P Q (zipL xQ Q) = K.zero := sum_in_Q K n P c Q [] xQ hl
  rw [hP] at h0
  have h1 : K.add K.zero (K.add (K.mul x (det K n (P ++ c :: Q))) (sumC K n P Q (zipL xQ Q))) = K.zero := h0
  rw [hQ, K.zero_add, add_zero'] at h1
  cases hK x _ h1 with
  | inl hx => exact hx
  | inr hd => exact absurd hd hdet

end Det
end DetN

#print axioms DetN.app_nil'
#print axioms DetN.app_assoc'
#print axioms DetN.map_app'
#print axioms DetN.len_app'
#print axioms DetN.len_map'
#print axioms DetN.neg_zero'
#print axioms DetN.neg_add'
#print axioms DetN.mul_neg'
#print axioms DetN.sgn_zero
#print axioms DetN.sgn_add
#print axioms DetN.sgn_mul
#print axioms DetN.det_succ
#print axioms DetN.lapS_split
#print axioms DetN.len_fix
#print axioms DetN.lapS_vanish
#print axioms DetN.reshape2
#print axioms DetN.det_adj
#print axioms DetN.len_step
#print axioms DetN.len_col
#print axioms DetN.lin_comb
#print axioms DetN.lin_zero
#print axioms DetN.swap_mul
#print axioms DetN.term_lin
#print axioms DetN.term_col
#print axioms DetN.lapS_lin_suf
#print axioms DetN.lapS_lin_pre
#print axioms DetN.det_lin
#print axioms DetN.peq_refl
#print axioms DetN.peq_app
#print axioms DetN.peq_map
#print axioms DetN.peq_len
#print axioms DetN.lapS_congr
#print axioms DetN.det_congr
#print axioms DetN.det_zero_col
#print axioms DetN.swap_alg
#print axioms DetN.det_swap
#print axioms DetN.det_eq_cols
#print axioms DetN.det_comb
#print axioms DetN.sumC_app
#print axioms DetN.sum_in_P
#print axioms DetN.sum_in_Q
#print axioms DetN.kernel_trivial

ESChain.lean

lean_all/ESChain.lean

/-
  ESChain.lean
  Counting points on 11a:  y^2 + y = x^3 - x^2,  for every odd prime p
  (links 49-50).

  Lean 4 core plus FTAChain, FrobChain and QRChain. Proofs are
  hand-written terms and plain rewriting; no omega / simp / ring /
  decide / norm_num / linarith. Concrete numerical checks use `rfl`.

  An odd prime is written `h + h + 1`.  The Legendre symbol enters as
  `legV p d = 1 + (d|p)`, with `(0|p) = 0`:
     legV p d = 1  if p ∣ d,   2  if d is a nonzero square,   0  otherwise.

  Proved here:
    rem_eq_mod      FTAChain's `rem` is the core `%` (no axioms)
    odd_sq          (2y+1)^2 = 4(y^2+y) + 1
    cnt_sq          #{y : y^2 + y ≡ c} = 1 + (4c+1 | p)
    nE_formula      #E(F_p) = 1 + Σ_x (1 + (4x^3-4x^2+1 | p))
    nE_signed       #E(F_p) + N = p + 1 + P,  where P (N) counts the x with
                    (4x^3-4x^2+1 | p) = +1 (-1);  i.e.
                    a_p := p + 1 - #E(F_p) = N - P = -Σ_x (4x^3-4x^2+1 | p)
    modular_check   for every prime p < 200, the q^p coefficient of
                    q Π (1-q^n)^2 (1-q^{11n})^2 equals p + 1 - #E(F_p)   (rfl)
-/
import QRChain

namespace ESChain
open FTAChain FrobChain QRChain

/-! ## `rem` is `%` -/

theorem modgo_spec (y : Nat) (hy : 0 < y) : ∀ (fuel x : Nat) (hf : x < fuel),
    ∃ q, x = q * y + Nat.modCore.go y hy fuel x hf
  | 0, x, hf => absurd hf (Nat.not_lt_zero x)
  | fuel + 1, x, hf => by
    rw [Nat.modCore.go.eq_def]
    show ∃ q, x = q * y +
      (if h : y ≤ x then Nat.modCore.go y hy fuel (x - y) (Nat.div_rec_fuel_lemma hy h hf) else x)
    match Nat.decLe y x with
    | isTrue h =>
      rw [dite_eq_left h]
      have ⟨q, hq⟩ := modgo_spec y hy fuel (x - y) (Nat.div_rec_fuel_lemma hy h hf)
      refine ⟨q + 1, ?_⟩
      rw [nsucc_mul, Nat.add_right_comm, ← hq, Nat.add_comm]
      exact (add_sub_of_le' y x h).symm
    | isFalse h =>
      rw [dite_eq_right h]
      exact ⟨0, by rw [nzero_mul, nzero_add]⟩

theorem mod_decomp (m : Nat) (hm : 0 < m) : ∀ n : Nat, ∃ q, n = q * m + n % m
  | 0 => ⟨0, by rw [Nat.zero_mod, nzero_mul]⟩
  | k + 1 => by
    show ∃ q, k + 1 = q * m + Nat.mod (k + 1) m
    rw [Nat.mod.eq_def]
    show ∃ q, k + 1 = q * m + (if m ≤ k + 1 then Nat.modCore (k + 1) m else k + 1)
    match Nat.decLe m (k + 1) with
    | isTrue h =>
      rw [ite_eq_left h, Nat.modCore.eq_def, dite_eq_left hm]
      exact modgo_spec m hm _ _ _
    | isFalse h =>
      rw [ite_eq_right h]
      exact ⟨0, by rw [nzero_mul, nzero_add]⟩

theorem rem_eq_mod (m' n : Nat) : rem (m' + 1) n = n % (m' + 1) :=
  match mod_decomp (m' + 1) (Nat.zero_lt_succ m') n,
    Nat.le.dest (Nat.mod_lt n (Nat.zero_lt_succ m')) with
  | ⟨q, hq⟩, ⟨k, hk⟩ =>
    have hk' : n % (m' + 1) + (k + 1) = m' + 1 := (Nat.succ_add _ k).symm.trans hk
    Eq.trans (congrArg (rem (m' + 1)) hq) (rem_div m' q _ k hk')

/-! ## Indicators and counting -/

def b2n : Bool → Nat
  | true => 1
  | false => 0

/-- `[y = a]`. -/
def eqI (y a : Nat) : Nat := if y = a then 1 else 0

theorem b2n_beq (a b : Nat) : b2n (Nat.beq a b) = if a = b then 1 else 0 :=
  match Nat.decEq a b with
  | isTrue e => by rw [ite_eq_left e, e, beq_refl']; rfl
  | isFalse ne => by
    rw [ite_eq_right ne]
    cases hb : Nat.beq a b with
    | false => rfl
    | true => exact absurd (Nat.eq_of_beq_eq_true hb) ne

theorem sum_zero : ∀ (n : Nat) (f : Nat → Nat), (∀ y, y < n → f y = 0) → sumTo n f = 0
  | 0, _, _ => rfl
  | n + 1, f, h => by
    show sumTo n f + f n = 0
    rw [sum_zero n f (fun y hy => h y (Nat.lt_succ_of_lt hy)), h n (Nat.lt_succ_self n)]

theorem sum_eqI (a : Nat) : ∀ n : Nat, a < n → sumTo n (fun y => eqI y a) = 1
  | 0, h => absurd h (Nat.not_lt_zero a)
  | n + 1, h => by
    show sumTo n (fun y => eqI y a) + eqI n a = 1
    match Nat.eq_or_lt_of_le (Nat.le_of_lt_succ h) with
    | Or.inl e =>
      rw [e, sum_zero n (fun y => eqI y n) (fun y hy => ite_eq_right (Nat.ne_of_lt hy)),
        show eqI n n = 1 from ite_eq_left rfl]
    | Or.inr l =>
      rw [sum_eqI a n l, show eqI n a = 0 from ite_eq_right (fun e2 => Nat.ne_of_lt l e2.symm)]

theorem sum_const1 : ∀ n : Nat, sumTo n (fun _ => 1) = n
  | 0 => rfl
  | n + 1 => congrArg Nat.succ (sum_const1 n)

/-! ## Odd squares -/

theorem four_mul (t : Nat) : 4 * t = t + t + t + t := by
  rw [nmul_comm]
  show t * 0 + t + t + t + t = _
  rw [Nat.mul_zero, nzero_add]

theorem odd_sq (y : Nat) : (y + y + 1) * (y + y + 1) = 4 * (y * y + y) + 1 := by
  rw [four_mul]
  show (y + y + 1) * (y + y) + (y + y) + 1 = _
  rw [nsucc_mul (y + y) (y + y), nright_distrib y y (y + y), nleft_distrib y y y]
  apply congrArg Nat.succ
  rw [Nat.add_assoc ((y * y + y * y) + (y * y + y * y)) (y + y) (y + y),
    mid4 (y * y + y * y) (y * y + y * y) (y + y) (y + y),
    mid4 (y * y) (y * y) y y, ← Nat.add_assoc]

theorem not_dv_two (h : Nat) (hp : Pr (h + h + 1)) : ¬ Dv (h + h + 1) 2 :=
  not_dv_of_lt _ 2 (Nat.zero_lt_succ 1)
    (Nat.succ_le_succ (Nat.add_le_add (h_pos h hp) (h_pos h hp)))

theorem not_dv_four (h : Nat) (hp : Pr (h + h + 1)) : ¬ Dv (h + h + 1) 4 := fun hd =>
  match euclid _ 2 2 hp hd with
  | Or.inl h2 => not_dv_two h hp h2
  | Or.inr h2 => not_dv_two h hp h2

/-- `y^2 + y ≡ c` exactly when `(2y+1)^2 ≡ 4c + 1`. -/
theorem root_iff (h y c : Nat) (hp : Pr (h + h + 1)) :
    rem (h + h + 1) (y * y + y) = rem (h + h + 1) c ↔
      rem (h + h + 1) ((y + y + 1) * (y + y + 1)) = rem (h + h + 1) (4 * c + 1) := by
  rw [odd_sq]
  constructor
  · intro e
    exact rem_add_congr _ _ _ 1 (rem_mul_congr' _ _ _ 4 e)
  · intro e
    exact rem_cancel_mul _ 4 _ _ hp (not_dv_four h hp) (rem_cancel_add _ _ _ 1 e)

/-! ## The number of solutions of y^2 + y ≡ c -/

/-- `#{y ∈ 0..p-1 : y^2 + y ≡ c}`. -/
def cntY (p c : Nat) : Nat := sumTo p (fun y => b2n (Nat.beq (rem p (y * y + y)) (rem p c)))

/-- `1 + (d|p)`, with `(0|p) = 0`. -/
def legV (p d : Nat) : Nat := if rem p d = 0 then 1 else cond (legB p d) 2 0

theorem two_y_lt (h y : Nat) (hy : y < h + h + 1) : y + y + 1 < (h + h + 1) + (h + h + 1) :=
  Nat.lt_of_le_of_lt (Nat.add_le_add_left (hy : y + 1 ≤ h + h + 1) y)
    (Nat.add_lt_add_right hy _)

/-- When `p ∣ 4c+1` the only solution is `y = h`. -/
theorem roots_zero (h c y : Nat) (hp : Pr (h + h + 1)) (hd : rem (h + h + 1) (4 * c + 1) = 0)
    (hy : y < h + h + 1) :
    rem (h + h + 1) (y * y + y) = rem (h + h + 1) c ↔ y = h := by
  refine (root_iff h y c hp).trans ?_
  rw [hd]
  constructor
  · intro e
    have hdv : Dv (h + h + 1) (y + y + 1) :=
      match euclid _ _ _ hp (dv_of_rem_zero _ _ e) with
      | Or.inl d => d
      | Or.inr d => d
    match hdv with
    | ⟨0, hq⟩ => exact absurd hq (fun e => Nat.noConfusion (e.trans (nzero_mul _)))
    | ⟨1, hq⟩ =>
      rw [Nat.one_mul] at hq
      exact double_inj y h (succ_inj' hq)
    | ⟨q + 1 + 1, hq⟩ =>
      rw [nsucc_mul, nsucc_mul] at hq
      have l := two_y_lt h y hy
      rw [hq, Nat.add_assoc] at l
      exact absurd (Nat.lt_of_le_of_lt (Nat.le_add_left _ _) l) (Nat.lt_irrefl _)
  · intro e
    rw [e]
    exact rem_zero_of_dv _ _ ⟨h + h + 1, rfl⟩

theorem leg_root (h c y : Nat) (hp : Pr (h + h + 1))
    (e : rem (h + h + 1) (y * y + y) = rem (h + h + 1) c) :
    legB (h + h + 1) (4 * c + 1) = true :=
  (legB_iff (h + h) _).mpr ⟨y + y + 1, (root_iff h y c hp).mp e⟩

/-- The polynomial `X^2 + X + (p - c)`, whose roots are the solutions. -/
theorem poly_root (h c y : Nat) (e : rem (h + h + 1) (y * y + y) = rem (h + h + 1) c) :
    rem (h + h + 1) (ev y [1, 1, (h + h + 1) - rem (h + h + 1) c]) = 0 := by
  show rem (h + h + 1) (1 * (1 * y * y) + (1 * (1 * y) + (((h + h + 1) - rem (h + h + 1) c) * 1 + 0))) = 0
  repeat rw [Nat.one_mul]
  rw [Nat.mul_one, Nat.add_zero, ← Nat.add_assoc]
  rw [rem_add_congr _ _ (rem (h + h + 1) c) _ (e.trans (rem_idem _ c).symm),
    Nat.add_zero ((h + h + 1) - rem (h + h + 1) c),
    add_sub_of_le' _ _ (Nat.le_of_lt (rem_lt' _ c))]
  exact rem_zero_of_dv _ _ (dv_refl _)

/-- At most two solutions. -/
theorem at_most_two (h c y y0 y1 : Nat) (hp : Pr (h + h + 1))
    (hy : y < h + h + 1) (hy0 : y0 < h + h + 1) (hy1 : y1 < h + h + 1) (h01 : y0 ≠ y1)
    (e : rem (h + h + 1) (y * y + y) = rem (h + h + 1) c)
    (e0 : rem (h + h + 1) (y0 * y0 + y0) = rem (h + h + 1) c)
    (e1 : rem (h + h + 1) (y1 * y1 + y1) = rem (h + h + 1) c) : y = y0 ∨ y = y1 :=
  match Nat.decEq y y0, Nat.decEq y y1 with
  | isTrue a, _ => Or.inl a
  | _, isTrue b => Or.inr b
  | isFalse a, isFalse b => by
    have hle := roots_le (h + h) hp 1 [1, (h + h + 1) - rem (h + h + 1) c] [y, y0, y1]
      (not_dv_of_lt _ 1 Nat.zero_lt_one (Nat.succ_lt_succ (hh_pos h hp)))
      ⟨fun hm => match hm with
        | Or.inl x => a x
        | Or.inr (Or.inl x) => b x,
       fun hm => match hm with
        | Or.inl x => h01 x,
       fun hm => hm, True.intro⟩
      ⟨⟨hy, poly_root h c y e⟩, ⟨hy0, poly_root h c y0 e0⟩, ⟨hy1, poly_root h c y1 e1⟩, True.intro⟩
    exact absurd hle (Nat.not_succ_le_self 2)

/-- The partner solution `p - 1 - y0`. -/
theorem partner (h c y0 y1 : Nat) (hs : y0 + y1 + 1 = h + h + 1)
    (e0 : rem (h + h + 1) (y0 * y0 + y0) = rem (h + h + 1) c) :
    rem (h + h + 1) (y1 * y1 + y1) = rem (h + h + 1) c := by
  rw [← e0]
  apply rem_cancel_add (h + h) _ _ (y1 * y0)
  have a1 : y1 * y1 + y1 + y1 * y0 = y1 * (h + h + 1) := by
    rw [← hs]
    show y1 * y1 + y1 + y1 * y0 = y1 * (y0 + y1) + y1
    rw [nleft_distrib, Nat.add_comm (y1 * y0) (y1 * y1), Nat.add_right_comm]
  have a2 : y0 * y0 + y0 + y1 * y0 = y0 * (h + h + 1) := by
    rw [← hs, nmul_comm y1 y0]
    show y0 * y0 + y0 + y0 * y1 = y0 * (y0 + y1) + y0
    rw [nleft_distrib, Nat.add_right_comm]
  rw [a1, a2, rem_zero_of_dv (h + h) (y1 * (h + h + 1)) ⟨y1, rfl⟩,
    rem_zero_of_dv (h + h) (y0 * (h + h + 1)) ⟨y0, rfl⟩]

/-- **Solutions of y^2 + y ≡ c.**  `#{y : y^2 + y ≡ c (mod p)} = 1 + (4c+1 | p)`. -/
theorem cnt_sq (h c : Nat) (hp : Pr (h + h + 1)) :
    cntY (h + h + 1) c = legV (h + h + 1) (4 * c + 1) := by
  unfold cntY legV
  match Nat.decEq (rem (h + h + 1) (4 * c + 1)) 0 with
  | isTrue hd =>
    rw [ite_eq_left hd]
    rw [sum_ext _ _ (fun y => eqI y h) (fun y hy => by
      rw [b2n_beq]
      match Nat.decEq (rem (h + h + 1) (y * y + y)) (rem (h + h + 1) c) with
      | isTrue e2 =>
        rw [ite_eq_left e2, show eqI y h = 1 from ite_eq_left ((roots_zero h c y hp hd hy).mp e2)]
      | isFalse n2 =>
        rw [ite_eq_right n2, show eqI y h = 0 from
          ite_eq_right (fun e3 => n2 ((roots_zero h c y hp hd hy).mpr e3))])]
    exact sum_eqI h _ (lt_p_of_le_h h h (Nat.le_refl h))
  | isFalse hd =>
    rw [ite_eq_right hd]
    cases hl : legB (h + h + 1) (4 * c + 1) with
    | false =>
      show _ = 0
      exact sum_zero _ _ (fun y _ => by
        rw [b2n_beq]
        exact ite_eq_right (fun e => Bool.noConfusion (hl.symm.trans (leg_root h c y hp e))))
    | true =>
      show _ = 2
      have ⟨z0, hz0⟩ := (legB_iff (h + h) _).mp hl
      -- a solution y0 with 2 y0 + 1 ≡ z0
      have hW : rem (h + h + 1) ((z0 + h + h) * (h + 1) + (z0 + h + h) * (h + 1) + 1)
          = rem (h + h + 1) z0 := by
        have e1 : (z0 + h + h) * (h + 1) + (z0 + h + h) * (h + 1) + 1
            = (z0 + h + h) * (h + h + 1) + z0 * 1 + (h + h + 1) := by
          rw [← nleft_distrib, Nat.add_right_comm h 1 (h + 1), ← Nat.add_assoc h h 1]
          show (z0 + h + h) * (h + h + 1) + (z0 + h + h) + 1 = _
          rw [Nat.mul_one, Nat.add_assoc ((z0 + h + h) * (h + h + 1)) z0 (h + h + 1)]
          rw [Nat.add_assoc ((z0 + h + h) * (h + h + 1)) (z0 + h + h) 1, Nat.add_assoc z0 h h]
          rfl
        rw [e1, rem_add_dv _ _ _ (dv_refl _), rem_add_mul, Nat.mul_one]
      let y0 := rem (h + h + 1) ((z0 + h + h) * (h + 1))
      have hy0 : y0 < h + h + 1 := rem_lt' _ _
      have h2y0 : rem (h + h + 1) (y0 + y0 + 1) = rem (h + h + 1) z0 := by
        rw [← hW]
        apply rem_add_congr _ _ _ 1
        exact rem_add_congr2 _ _ _ _ _ (rem_idem _ _) (rem_idem _ _)
      have e0 : rem (h + h + 1) (y0 * y0 + y0) = rem (h + h + 1) c :=
        (root_iff h y0 c hp).mpr ((rem_mul_congr2 _ _ _ _ _ h2y0 h2y0).trans hz0)
      have ⟨y1, hy1s⟩ := Nat.le.dest (Nat.le_of_lt_succ hy0)
      have hs : y0 + y1 + 1 = h + h + 1 := congrArg Nat.succ hy1s
      have hy1 : y1 < h + h + 1 :=
        Nat.lt_succ_of_le (Nat.le.intro (by rw [Nat.add_comm]; exact hy1s))
      have e1 := partner h c y0 y1 hs e0
      have h01 : y0 ≠ y1 := fun e => by
        rw [← e] at hs
        have hyh : y0 = h := double_inj y0 h (succ_inj' hs)
        rw [hyh] at h2y0
        have hz : rem (h + h + 1) (z0 * z0) = 0 := by
          rw [← rem_mul_congr2 _ _ _ _ _ h2y0 h2y0]
          exact rem_zero_of_dv _ _ ⟨h + h + 1, rfl⟩
        exact hd (hz0.symm.trans hz)
      rw [sum_ext _ _ (fun y => eqI y y0 + eqI y y1) (fun y hy => by
        rw [b2n_beq]
        match Nat.decEq (rem (h + h + 1) (y * y + y)) (rem (h + h + 1) c) with
        | isTrue e2 =>
          rw [ite_eq_left e2]
          match at_most_two h c y y0 y1 hp hy hy0 hy1 h01 e2 e0 e1 with
          | Or.inl a =>
            rw [show eqI y y0 = 1 from ite_eq_left a,
              show eqI y y1 = 0 from ite_eq_right (fun b => h01 (a.symm.trans b))]
          | Or.inr b =>
            rw [show eqI y y0 = 0 from ite_eq_right (fun a => h01 (a.symm.trans b)),
              show eqI y y1 = 1 from ite_eq_left b]
        | isFalse n2 =>
          rw [ite_eq_right n2,
            show eqI y y0 = 0 from ite_eq_right (fun a => n2 (by rw [a]; exact e0)),
            show eqI y y1 = 0 from ite_eq_right (fun b => n2 (by rw [b]; exact e1))]),
        sum_add, sum_eqI y0 _ hy0, sum_eqI y1 _ hy1]

/-! ## Points of y^2 + y = x^3 - x^2 -/

/-- `x^3 - x^2` (never truncated: `x^2 ≤ x^3`). -/
def cx (x : Nat) : Nat := x * x * x - x * x

/-- `4x^3 - 4x^2 + 1`. -/
def dx (x : Nat) : Nat := 4 * cx x + 1

/-- Affine points of `y^2 + y = x^3 - x^2` over F_p, written
    `y^2 + y + x^2 ≡ x^3`. -/
def affE (p : Nat) : Nat :=
  sumTo p (fun x => sumTo p (fun y =>
    b2n (Nat.beq (rem p (y * y + y + x * x)) (rem p (x * x * x)))))

/-- `#E(F_p)`: the affine points and the point at infinity. -/
def nE (p : Nat) : Nat := affE p + 1

theorem sq_le_cube : ∀ x : Nat, x * x ≤ x * x * x
  | 0 => Nat.le_refl 0
  | k + 1 => Nat.le_add_left ((k + 1) * (k + 1)) ((k + 1) * (k + 1) * k)

theorem cx_add (x : Nat) : cx x + x * x = x * x * x := by
  unfold cx
  rw [Nat.add_comm]
  exact add_sub_of_le' _ _ (sq_le_cube x)

theorem ite_iff {P Q : Prop} [dP : Decidable P] [dQ : Decidable Q] (h : P ↔ Q) :
    (if P then (1 : Nat) else 0) = (if Q then 1 else 0) :=
  match dP with
  | isTrue hp => by rw [ite_eq_left hp, ite_eq_left (h.mp hp)]
  | isFalse hn => by rw [ite_eq_right hn, ite_eq_right (fun hq => hn (h.mpr hq))]

theorem affE_eq (m' : Nat) :
    affE (m' + 1) = sumTo (m' + 1) (fun x => cntY (m' + 1) (cx x)) :=
  sum_ext _ _ _ (fun x _ => sum_ext _ _ _ (fun y _ => by
    rw [b2n_beq, b2n_beq]
    apply ite_iff
    rw [← cx_add x]
    exact ⟨rem_cancel_add m' _ _ (x * x), rem_add_congr m' _ _ (x * x)⟩))

/-- **Point count.** `#E(F_p) = 1 + Σ_x (1 + (4x^3 - 4x^2 + 1 | p))`
    for every odd prime p. -/
theorem nE_formula (h : Nat) (hp : Pr (h + h + 1)) :
    nE (h + h + 1) = 1 + sumTo (h + h + 1) (fun x => legV (h + h + 1) (dx x)) := by
  unfold nE
  rw [affE_eq (h + h), sum_ext _ _ _ (fun x _ => cnt_sq h (cx x) hp)]
  exact Nat.add_comm _ _

/-- `[v = 2]`: the x with `(4x^3-4x^2+1 | p) = +1`. -/
def twoI (v : Nat) : Nat := if v = 2 then 1 else 0
/-- `[v = 0]`: the x with `(4x^3-4x^2+1 | p) = -1`. -/
def zeroI (v : Nat) : Nat := if v = 0 then 1 else 0

def Pcount (p : Nat) : Nat := sumTo p (fun x => twoI (legV p (dx x)))
def Ncount (p : Nat) : Nat := sumTo p (fun x => zeroI (legV p (dx x)))

theorem legV_cases (p d : Nat) : legV p d = 0 ∨ legV p d = 1 ∨ legV p d = 2 := by
  unfold legV
  match Nat.decEq (rem p d) 0 with
  | isTrue e => rw [ite_eq_left e]; exact Or.inr (Or.inl rfl)
  | isFalse n =>
    rw [ite_eq_right n]
    cases legB p d with
    | true => exact Or.inr (Or.inr rfl)
    | false => exact Or.inl rfl

theorem signed_point (v : Nat) (h : v = 0 ∨ v = 1 ∨ v = 2) : v + zeroI v = 1 + twoI v :=
  match h with
  | Or.inl e => by rw [e]; rfl
  | Or.inr (Or.inl e) => by rw [e]; rfl
  | Or.inr (Or.inr e) => by rw [e]; rfl

/-- **The trace.**  `#E(F_p) + N = p + 1 + P`, where `P` and `N` count the x with
    `(4x^3 - 4x^2 + 1 | p)` equal to `+1` and `-1`.  So
    `a_p := p + 1 - #E(F_p) = N - P = -Σ_x (4x^3 - 4x^2 + 1 | p)`. -/
theorem nE_signed (h : Nat) (hp : Pr (h + h + 1)) :
    nE (h + h + 1) + Ncount (h + h + 1) = (h + h + 1) + 1 + Pcount (h + h + 1) := by
  rw [nE_formula h hp]
  unfold Ncount Pcount
  rw [Nat.add_assoc, ← sum_add,
    sum_ext _ _ (fun x => 1 + twoI (legV (h + h + 1) (dx x)))
      (fun x _ => signed_point _ (legV_cases _ _)),
    sum_add, sum_const1, ← Nat.add_assoc, Nat.add_comm 1 (h + h + 1)]

/-! ## The modular form, checked against #E(F_p) for p < 200 -/

/-- `affE` with the core `%` (equal to `affE`, and fast to evaluate). -/
def affC (p : Nat) : Nat :=
  sumTo p (fun x => sumTo p (fun y =>
    b2n (Nat.beq ((y * y + y + x * x) % p) ((x * x * x) % p))))

theorem affE_affC : ∀ p : Nat, affE p = affC p
  | 0 => rfl
  | _ + 1 => sum_ext _ _ _ (fun _ _ => sum_ext _ _ _ (fun _ _ => by rw [rem_eq_mod, rem_eq_mod]))

/-- `a_p = p + 1 - #E(F_p)`. -/
def ap (p : Nat) : Int := Int.ofNat (p + 1) - Int.ofNat (nE p)

def apC (p : Nat) : Int := Int.ofNat (p + 1) - Int.ofNat (affC p + 1)

theorem ap_eq (p : Nat) : ap p = apC p := by
  unfold ap apC nE
  rw [affE_affC]

/-- Coefficient lists of power series (index i is the coefficient of q^i). -/
def zsub : List Int → List Int → List Int
  | a :: as, b :: bs => (a - b) :: zsub as bs
  | as, [] => as
  | [], _ :: _ => []

def zeros : Nat → List Int
  | 0 => []
  | n + 1 => 0 :: zeros n

/-- Multiply by `1 - q^k`, keeping the length. -/
def mul1m (k : Nat) (l : List Int) : List Int := zsub l (zeros k ++ l)

/-- Multiply by `Π_{n=1}^{N} (1 - q^n)^2`. -/
def prodA : Nat → List Int → List Int
  | 0, l => l
  | n + 1, l => prodA n (mul1m (n + 1) (mul1m (n + 1) l))

/-- Multiply by `Π_{n=1}^{N} (1 - q^{11n})^2`. -/
def prodB : Nat → List Int → List Int
  | 0, l => l
  | n + 1, l => prodB n (mul1m (11 * (n + 1)) (mul1m (11 * (n + 1)) l))

def oneS : Nat → List Int
  | 0 => []
  | n + 1 => 1 :: zeros n

/-- The coefficients of `q^0, ..., q^{N-1}` of `Π_{n≥1} (1-q^n)^2 (1-q^{11n})^2`
    (factors with n > N do not reach these). -/
def etaProd (N : Nat) : List Int := prodB N (prodA N (oneS N))

/-- The coefficient of `q^p` in `q Π_{n≥1} (1-q^n)^2 (1-q^{11n})^2`, for `1 ≤ p ≤ 200`. -/
def nth : List Int → Nat → Int
  | [], _ => 0
  | a :: _, 0 => a
  | _ :: as, n + 1 => nth as n

def coef (p : Nat) : Int := nth (etaProd 200) (p - 1)

def primes200 : List Nat :=
  [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83,
   89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179,
   181, 191, 193, 197, 199]

/-- Trial division. -/
def noDivFrom (n : Nat) : Nat → Bool
  | 0 => true
  | 1 => true
  | d + 2 => noDivFrom n (d + 1) && !(Nat.beq (n % (d + 2)) 0)

def isPrimeB (n : Nat) : Bool := Nat.blt 1 n && noDivFrom n (n - 1)

def primesBelow : Nat → List Nat
  | 0 => []
  | n + 1 => primesBelow n ++ (if isPrimeB n then [n] else [])

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem primes200_def : primesBelow 200 = primes200 := by rfl

theorem map_congr' (f g : Nat → Int) (hfg : ∀ p, f p = g p) :
    ∀ L : List Nat, L.map f = L.map g
  | [] => rfl
  | x :: xs => by
    show f x :: xs.map f = g x :: xs.map g
    rw [hfg x, map_congr' f g hfg xs]

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem modular_check_fast : primes200.map coef = primes200.map apC := by rfl

/-- **Modularity check.** For every prime `p < 200`, the coefficient of `q^p` in
    `q Π (1-q^n)^2 (1-q^{11n})^2` equals `a_p = p + 1 - #E(F_p)`. -/
theorem modular_check : primes200.map coef = primes200.map ap :=
  modular_check_fast.trans (map_congr' _ _ (fun p => (ap_eq p).symm) primes200)

end ESChain
#print axioms ESChain.modgo_spec
#print axioms ESChain.mod_decomp
#print axioms ESChain.rem_eq_mod
#print axioms ESChain.b2n_beq
#print axioms ESChain.sum_zero
#print axioms ESChain.sum_eqI
#print axioms ESChain.sum_const1
#print axioms ESChain.four_mul
#print axioms ESChain.odd_sq
#print axioms ESChain.not_dv_two
#print axioms ESChain.not_dv_four
#print axioms ESChain.root_iff
#print axioms ESChain.two_y_lt
#print axioms ESChain.roots_zero
#print axioms ESChain.leg_root
#print axioms ESChain.poly_root
#print axioms ESChain.at_most_two
#print axioms ESChain.partner
#print axioms ESChain.cnt_sq
#print axioms ESChain.sq_le_cube
#print axioms ESChain.cx_add
#print axioms ESChain.ite_iff
#print axioms ESChain.affE_eq
#print axioms ESChain.nE_formula
#print axioms ESChain.legV_cases
#print axioms ESChain.signed_point
#print axioms ESChain.nE_signed
#print axioms ESChain.affE_affC
#print axioms ESChain.ap_eq
#print axioms ESChain.primes200_def
#print axioms ESChain.map_congr'
#print axioms ESChain.modular_check_fast
#print axioms ESChain.modular_check

FTAChain.lean

lean_all/FTAChain.lean

/-
  FTAChain.lean
  One connected chain from `id` to the fundamental theorem of arithmetic
  (links 1-19 as in BetaChain.lean, then links 30-39).

  Lean 4 core only: no imports. Every proof is a hand-written term: no
  `omega`, no `simp`, no `ring`, no `decide`. Every `#print axioms` line
  should report no axioms.

  Proved here:

    euclid_walk    the Euclid step reaches the diagonal, and what it
                   keeps (common divisors, families closed under
                   difference)                              (link 32)
    euclid_core    Euclid's lemma for a prime               (link 34)
    lp_exists,
    lp_prime       the least factor above 1, and it is prime (link 35)
    swp, ord       the swap read off the diagonal; the order
                   idempotent                            (links 36, 37)
    ins, isort     inserting and sorting                    (link 38)
    fta_exists     every n >= 1 is the product of an ascending list
                   of primes                                (link 39 a)
    fta_unique     two ascending lists of primes with the same
                   product are the same list                (link 39)
    read_prod      the ascending list with the product of L is
                   isort L                                  (link 39 c)
    fta            existence and uniqueness in one statement

  A number p is written `j + 1 + 1` where it has to be at least 2.
-/

universe u

namespace FTAChain

/-! ## Links 1-8. Places -/

def diag {A : Type u} (x : A) : A × A := (x, x)

theorem tri1 {A : Type u} (x : A) : (diag x).1 = x := rfl

def e1 {A : Type u} (p : A × A) : A × A := diag p.1

theorem e1_idem {A : Type u} (p : A × A) : e1 (e1 p) = e1 p := rfl

theorem split_idem {A B : Type u} (r : B → A) (s : A → B)
    (h : ∀ x, r (s x) = x) (y : B) : s (r (s (r y))) = s (r y) :=
  congrArg s (h (r y))

theorem read_inj {A B : Type u} (read : A → B) (place : B → A)
    (h : ∀ n, place (read n) = n) {m n : A} (e : read m = read n) : m = n :=
  Eq.trans (Eq.symm (h m)) (Eq.trans (congrArg place e) (h n))

/-! ## Links 9-12. "Do it n times"; + and * are composition -/

def iter {A : Type u} : Nat → (A → A) → A → A
  | 0, _, a => a
  | n + 1, f, a => f (iter n f a)

theorem iter_zero {A : Type u} (f : A → A) (a : A) : iter 0 f a = a := rfl

theorem iter_succ {A : Type u} (n : Nat) (f : A → A) (a : A) :
    iter (n + 1) f a = f (iter n f a) := rfl

theorem iter_one {A : Type u} (f : A → A) (a : A) : iter 1 f a = f a := rfl

theorem iter_add {A : Type u} (f : A → A) (a : A) (m : Nat) :
    ∀ n : Nat, iter (m + n) f a = iter n f (iter m f a)
  | 0 => rfl
  | n + 1 => congrArg f (iter_add f a m n)

theorem iter_mul {A : Type u} (f : A → A) (m : Nat) :
    ∀ (n : Nat) (a : A), iter (m * n) f a = iter n (iter m f) a
  | 0, _ => rfl
  | n + 1, a =>
    Eq.trans (iter_add f a (m * n) m) (congrArg (iter m f) (iter_mul f m n a))

theorem iter_fix {A : Type u} (f : A → A) (r : A) (h : f r = r) :
    ∀ k : Nat, iter k f r = r
  | 0 => rfl
  | k + 1 => Eq.trans (congrArg f (iter_fix f r h k)) h

theorem iter_succ' {A : Type u} (f : A → A) (a : A) :
    ∀ q : Nat, iter (q + 1) f a = iter q f (f a)
  | 0 => rfl
  | q + 1 => congrArg f (iter_succ' f a q)

/-! ### The laws of + and *, from the defining equations -/

theorem nzero_add : ∀ (a : Nat), 0 + a = a
  | 0 => rfl
  | a + 1 => congrArg Nat.succ (nzero_add a)

theorem nsucc_add : ∀ (a b : Nat), Nat.succ a + b = Nat.succ (a + b)
  | _, 0 => rfl
  | a, b + 1 => congrArg Nat.succ (nsucc_add a b)

theorem nadd_assoc : ∀ (a b c : Nat), a + b + c = a + (b + c)
  | _, _, 0 => rfl
  | a, b, c + 1 => congrArg Nat.succ (nadd_assoc a b c)

theorem nadd_comm : ∀ (a b : Nat), a + b = b + a
  | a, 0 => Eq.symm (nzero_add a)
  | a, b + 1 =>
    Eq.trans (congrArg Nat.succ (nadd_comm a b)) (Eq.symm (nsucc_add b a))

theorem nadd_left_comm (a b c : Nat) : a + (b + c) = b + (a + c) :=
  Eq.trans (Eq.symm (nadd_assoc a b c))
    (Eq.trans (congrArg (fun t => t + c) (nadd_comm a b)) (nadd_assoc b a c))

theorem nadd_right_comm (a b c : Nat) : a + b + c = a + c + b :=
  Eq.trans (nadd_assoc a b c)
    (Eq.trans (congrArg (fun t => a + t) (nadd_comm b c)) (Eq.symm (nadd_assoc a c b)))

theorem mid4 (a b c d : Nat) : (a + b) + (c + d) = (a + c) + (b + d) :=
  Eq.trans (nadd_assoc a b (c + d))
    (Eq.trans
      (congrArg (fun t => a + t)
        (Eq.trans (Eq.symm (nadd_assoc b c d))
          (Eq.trans (congrArg (fun t => t + d) (nadd_comm b c)) (nadd_assoc c b d))))
      (Eq.symm (nadd_assoc a c (b + d))))

theorem nzero_mul : ∀ a : Nat, 0 * a = 0
  | 0 => rfl
  | a + 1 => nzero_mul a

theorem nsucc_mul : ∀ (a b : Nat), (a + 1) * b = a * b + b
  | _, 0 => rfl
  | a, b + 1 =>
    Eq.trans (congrArg (fun t => t + (a + 1)) (nsucc_mul a b)) (mid4 (a * b) b a 1)

theorem nmul_comm : ∀ (a b : Nat), a * b = b * a
  | a, 0 => Eq.symm (nzero_mul a)
  | a, b + 1 =>
    Eq.trans (congrArg (fun t => t + a) (nmul_comm a b)) (Eq.symm (nsucc_mul b a))

theorem nmul_one (a : Nat) : a * 1 = a :=
  Eq.trans (show a * 1 = 0 + a from rfl) (nzero_add a)

theorem nleft_distrib (a b : Nat) : ∀ c : Nat, a * (b + c) = a * b + a * c
  | 0 => rfl
  | c + 1 =>
    Eq.trans (congrArg (fun t => t + a) (nleft_distrib a b c))
      (nadd_assoc (a * b) (a * c) a)

theorem nright_distrib (a b c : Nat) : (a + b) * c = a * c + b * c :=
  Eq.trans (nmul_comm (a + b) c)
    (Eq.trans (nleft_distrib c a b)
      (Eq.trans (congrArg (fun t => t + c * b) (nmul_comm c a))
        (congrArg (fun t => a * c + t) (nmul_comm c b))))

theorem nmul_assoc (a b : Nat) : ∀ c : Nat, a * b * c = a * (b * c)
  | 0 => rfl
  | c + 1 =>
    Eq.trans (congrArg (fun t => t + a * b) (nmul_assoc a b c))
      (Eq.symm (nleft_distrib a (b * c) b))

theorem mmid4 (a b c d : Nat) : (a * b) * (c * d) = (a * c) * (b * d) :=
  Eq.trans (nmul_assoc a b (c * d))
    (Eq.trans
      (congrArg (fun t => a * t)
        (Eq.trans (Eq.symm (nmul_assoc b c d))
          (Eq.trans (congrArg (fun t => t * d) (nmul_comm b c)) (nmul_assoc c b d))))
      (Eq.symm (nmul_assoc a c (b * d))))

/-! ## Link 13. Choosing -/

def sel {A : Type u} (n : Nat) (x y : A) : A := iter n (fun _ => y) x

theorem sel_zero {A : Type u} (x y : A) : sel 0 x y = x := rfl

theorem sel_succ {A : Type u} (n : Nat) (x y : A) : sel (n + 1) x y = y := rfl

/-- A successor is not zero: choosing tells them apart.
    `sel` reads `True` at `0` and `False` at a successor, so an equation
    `n + 1 = 0` would carry `True` to `False`.
    (Proved here from `sel`, so that the library lemma
    `Nat.succ_ne_zero` is not used.) -/
theorem succ_ne_zero' (n : Nat) : Nat.succ n ≠ 0 :=
  fun h =>
    have e1 : True = sel 0 True False := Eq.symm (sel_zero True False)
    have e2 : sel 0 True False = sel (Nat.succ n) True False :=
      Eq.symm (congrArg (fun t => sel t True False) h)
    have e3 : sel (Nat.succ n) True False = False := sel_succ n True False
    Eq.mp (Eq.trans e1 (Eq.trans e2 e3)) True.intro

/-! ## Link 14. One-before, from a step on pairs -/

def pstep (p : Nat × Nat) : Nat × Nat := (p.1 + 1, p.1)

def pre (n : Nat) : Nat := (iter n pstep (0, 0)).2

theorem pstep_fst : ∀ n : Nat, (iter n pstep (0, 0)).1 = n
  | 0 => rfl
  | n + 1 => congrArg Nat.succ (pstep_fst n)

theorem pre_zero : pre 0 = 0 := rfl

theorem pre_succ (n : Nat) : pre (n + 1) = n := pstep_fst n

theorem succ_inj' {m n : Nat} (h : m + 1 = n + 1) : m = n :=
  Eq.trans (Eq.symm (pre_succ m)) (Eq.trans (congrArg pre h) (pre_succ n))

theorem pre_eq : ∀ k : Nat, pre k = Nat.pred k
  | 0 => rfl
  | k + 1 => pre_succ k

/-! ## Link 15. Subtraction: one-before, n times -/

def sb (m n : Nat) : Nat := iter n pre m

theorem sb_zero (m : Nat) : sb m 0 = m := rfl

theorem sb_succ (m n : Nat) : sb m (n + 1) = pre (sb m n) := rfl

theorem sb_add_cancel : ∀ (n m : Nat), sb (m + n) n = m
  | 0, _ => rfl
  | n + 1, m =>
    Eq.trans
      (congrArg (fun t => pre (sb t n)) (Eq.symm (nsucc_add m n)))
      (Eq.trans (congrArg pre (sb_add_cancel n (m + 1))) (pre_succ m))

theorem sb_self (a : Nat) : sb a a = 0 :=
  Eq.trans (congrArg (fun t => sb t a) (Eq.symm (nzero_add a))) (sb_add_cancel a 0)

theorem sb_eq (m : Nat) : ∀ n : Nat, sb m n = m - n
  | 0 => rfl
  | n + 1 => Eq.trans (congrArg pre (sb_eq m n)) (pre_eq (m - n))

/-- `m - (m + x) = 0`. -/
theorem sb_le_zero (m x : Nat) : sb m (m + x) = 0 :=
  Eq.trans (iter_add pre m m x)
    (Eq.trans (congrArg (iter x pre) (sb_self m)) (iter_fix pre 0 pre_zero x))

/-! ## Links 16-17. The subtract-step and the remainder -/

def tstep (m n : Nat) : Nat := sel (sb m n) (sb n m) n

def rem (m n : Nat) : Nat := iter n (tstep m) n

theorem tstep_small (m r k : Nat) (h : sb m r = k + 1) : tstep m r = r :=
  congrArg (fun t => sel t (sb r m) r) h

theorem tstep_big (m n : Nat) (h : sb m n = 0) : tstep m n = sb n m :=
  congrArg (fun t => sel t (sb n m) n) h

theorem rem_of_fix (m r : Nat) (h : tstep m r = r) : rem m r = r :=
  iter_fix (tstep m) r h r

theorem rem_small (m r k : Nat) (h : sb m r = k + 1) : rem m r = r :=
  rem_of_fix m r (tstep_small m r k h)

theorem rem_idem_of (m n : Nat) (h : tstep m (rem m n) = rem m n) :
    rem m (rem m n) = rem m n :=
  rem_of_fix m (rem m n) h

theorem rem_values :
    rem 3 10 = 1 ∧ rem 3 (rem 3 10) = rem 3 10 ∧ rem 6 11 = 5 ∧ rem 5 12 = 2 :=
  ⟨rfl, rfl, rfl, rfl⟩

/-! ### The remainder in general -/

/-- From `m` up, one step takes `m` away. -/
theorem tstep_add (m x : Nat) : tstep m (m + x) = x :=
  Eq.trans (tstep_big m (m + x) (sb_le_zero m x))
    (Eq.trans (congrArg (fun t => sb t m) (nadd_comm m x)) (sb_add_cancel m x))

/-- Below `m` (that is, `r + (k+1) = m`) the step changes nothing. -/
theorem fix_of_lt (m r k : Nat) (h : r + (k + 1) = m) : tstep m r = r :=
  tstep_small m r k
    (Eq.trans (congrArg (fun t => sb t r) (Eq.symm h))
      (Eq.trans (congrArg (fun t => sb t r) (nadd_comm r (k + 1)))
        (sb_add_cancel r (k + 1))))

/-- `r` with `m` added `q` times. -/
def up (m q r : Nat) : Nat := iter q (fun x => m + x) r

theorem up_eq (m r : Nat) : ∀ q : Nat, up m q r = q * m + r
  | 0 => Eq.symm (Eq.trans (congrArg (fun t => t + r) (nzero_mul m)) (nzero_add r))
  | q + 1 =>
    Eq.trans (congrArg (fun t => m + t) (up_eq m r q))
      (Eq.trans (Eq.symm (nadd_assoc m (q * m) r))
        (Eq.trans (congrArg (fun t => t + r) (nadd_comm m (q * m)))
          (congrArg (fun t => t + r) (Eq.symm (nsucc_mul q m)))))

/-- Taking `m` away `q` times undoes adding it `q` times. -/
theorem down_up (m r : Nat) : ∀ q : Nat, iter q (tstep m) (up m q r) = r
  | 0 => rfl
  | q + 1 =>
    Eq.trans (iter_succ' (tstep m) (up m (q + 1) r) q)
      (Eq.trans (congrArg (iter q (tstep m)) (tstep_add m (up m q r)))
        (down_up m r q))

theorem up_ge (m' r : Nat) : ∀ q : Nat, ∃ j, up (m' + 1) q r = q + j
  | 0 => ⟨r, Eq.symm (nzero_add r)⟩
  | q + 1 =>
    match up_ge m' r q with
    | ⟨j, hj⟩ =>
      ⟨m' + j,
        Eq.trans (congrArg (fun t => (m' + 1) + t) hj)
          (Eq.trans (nsucc_add m' (q + j))
            (Eq.trans (congrArg Nat.succ (nadd_left_comm m' q j))
              (Eq.symm (nsucc_add q (m' + j)))))⟩

theorem rem_up (m' r q : Nat) (hfix : tstep (m' + 1) r = r) :
    rem (m' + 1) (up (m' + 1) q r) = r :=
  match up_ge m' r q with
  | ⟨j, hj⟩ =>
    Eq.trans
      (congrArg (fun t => iter t (tstep (m' + 1)) (up (m' + 1) q r)) hj)
      (Eq.trans (iter_add (tstep (m' + 1)) (up (m' + 1) q r) q j)
        (Eq.trans (congrArg (iter j (tstep (m' + 1))) (down_up (m' + 1) r q))
          (iter_fix (tstep (m' + 1)) r hfix j)))

/-- The remainder of `q m + r` is `r` when `r` is below `m`. -/
theorem rem_div (m' q r k : Nat) (h : r + (k + 1) = m' + 1) :
    rem (m' + 1) (q * (m' + 1) + r) = r :=
  Eq.trans (congrArg (rem (m' + 1)) (Eq.symm (up_eq (m' + 1) r q)))
    (rem_up m' r q (fix_of_lt (m' + 1) r k h))

/-- Every number is `q m + r` with `r` below `m`. -/
theorem div_exists (m' : Nat) :
    ∀ n : Nat, ∃ q r k, n = q * (m' + 1) + r ∧ r + (k + 1) = m' + 1
  | 0 => ⟨0, 0, m', Eq.symm (nzero_mul (m' + 1)), nzero_add (m' + 1)⟩
  | n + 1 =>
    match div_exists m' n with
    | ⟨q, r, k, hn, hr⟩ =>
      match k, hr with
      | 0, hr =>
        ⟨q + 1, 0, m',
          Eq.trans (congrArg Nat.succ hn)
            (Eq.trans (congrArg (fun t => q * (m' + 1) + t) hr)
              (Eq.symm (nsucc_mul q (m' + 1)))),
          nzero_add (m' + 1)⟩
      | k + 1, hr =>
        ⟨q, r + 1, k, congrArg Nat.succ hn, Eq.trans (nsucc_add r (k + 1)) hr⟩

theorem rem_spec (m' n : Nat) :
    ∃ q r k, n = q * (m' + 1) + r ∧ r + (k + 1) = m' + 1 ∧ rem (m' + 1) n = r :=
  match div_exists m' n with
  | ⟨q, r, k, hn, hr⟩ =>
    ⟨q, r, k, hn, hr, Eq.trans (congrArg (rem (m' + 1)) hn) (rem_div m' q r k hr)⟩

/-- The remainder is always below the modulus. -/
theorem rem_lt (m' n : Nat) : ∃ k, rem (m' + 1) n + (k + 1) = m' + 1 :=
  match rem_spec m' n with
  | ⟨_, _, k, _, hr, hrem⟩ => ⟨k, Eq.trans (congrArg (fun t => t + (k + 1)) hrem) hr⟩

/-- The remainder is idempotent. -/
theorem rem_idem (m' n : Nat) : rem (m' + 1) (rem (m' + 1) n) = rem (m' + 1) n :=
  match rem_spec m' n with
  | ⟨_, r, k, _, hr, hrem⟩ =>
    Eq.trans (congrArg (rem (m' + 1)) hrem)
      (Eq.trans (rem_of_fix (m' + 1) r (fix_of_lt (m' + 1) r k hr)) (Eq.symm hrem))

/-- Adding a multiple of the modulus does not change the remainder. -/
theorem rem_add_mul (m' x p : Nat) :
    rem (m' + 1) (p * (m' + 1) + x) = rem (m' + 1) x :=
  match rem_spec m' x with
  | ⟨q, r, k, hx, hr, hrem⟩ =>
    Eq.trans (congrArg (fun t => rem (m' + 1) (p * (m' + 1) + t)) hx)
      (Eq.trans
        (congrArg (rem (m' + 1)) (Eq.symm (nadd_assoc (p * (m' + 1)) (q * (m' + 1)) r)))
        (Eq.trans
          (congrArg (fun t => rem (m' + 1) (t + r)) (Eq.symm (nright_distrib p q (m' + 1))))
          (Eq.trans (rem_div m' (p + q) r k hr) (Eq.symm hrem))))

/-! ## Links 30-35. Order, divisibility, the Euclid step, primes -/

abbrev Le (a b : Nat) : Prop := ∃ k, a + k = b
abbrev Lt (a b : Nat) : Prop := ∃ k, a + (k + 1) = b
abbrev Dv (d n : Nat) : Prop := ∃ q, n = q * d

theorem mul_succ' (a b : Nat) : a * (b + 1) = a * b + a := rfl

/-! ### Order -/

theorem le_or_lt : ∀ (a b : Nat), Le a b ∨ Lt b a
  | 0, b => Or.inl ⟨b, nzero_add b⟩
  | a + 1, 0 => Or.inr ⟨a, nzero_add (a + 1)⟩
  | a + 1, b + 1 =>
    match le_or_lt a b with
    | Or.inl ⟨k, h⟩ => Or.inl ⟨k, Eq.trans (nsucc_add a k) (congrArg Nat.succ h)⟩
    | Or.inr ⟨k, h⟩ => Or.inr ⟨k, Eq.trans (nsucc_add b (k + 1)) (congrArg Nat.succ h)⟩

theorem tri (a b : Nat) : a = b ∨ Lt a b ∨ Lt b a :=
  match le_or_lt a b with
  | Or.inr h => Or.inr (Or.inr h)
  | Or.inl ⟨k, hk⟩ =>
    match k, hk with
    | 0, hk => Or.inl hk
    | k + 1, hk => Or.inr (Or.inl ⟨k, hk⟩)

theorem add_succ_ne : ∀ (a k : Nat), a + (k + 1) = a → False
  | 0, k, h =>
    absurd (show Nat.succ k = 0 from Eq.trans (Eq.symm (nzero_add (k + 1))) h)
      (succ_ne_zero' k)
  | a + 1, k, h =>
    add_succ_ne a k
      (@succ_inj' (a + (k + 1)) a (Eq.trans (Eq.symm (nsucc_add a (k + 1))) h))

theorem lt_le_absurd (a b k j : Nat) (hk : a + (k + 1) = b) (hj : b + j = a) : False :=
  add_succ_ne a (k + j)
    (Eq.trans (congrArg (fun t => a + t) (Eq.symm (nsucc_add k j)))
      (Eq.trans (Eq.symm (nadd_assoc a (k + 1) j))
        (Eq.trans (congrArg (fun t => t + j) hk) hj)))

theorem le_antisym' (a b : Nat) (h1 : Le a b) (h2 : Le b a) : a = b :=
  match h1, h2 with
  | ⟨k, hk⟩, ⟨j, hj⟩ =>
    match k, hk with
    | 0, hk => hk
    | k + 1, hk => False.elim (lt_le_absurd a b k j hk hj)

theorem le_trans' (a b c : Nat) (h1 : Le a b) (h2 : Le b c) : Le a c :=
  match h1, h2 with
  | ⟨k, hk⟩, ⟨j, hj⟩ =>
    ⟨k + j,
      Eq.trans (Eq.symm (nadd_assoc a k j)) (Eq.trans (congrArg (fun t => t + j) hk) hj)⟩

theorem le_succ (a b : Nat) (h : Le a b) : Le (a + 1) (b + 1) :=
  match h with
  | ⟨k, hk⟩ => ⟨k, Eq.trans (nsucc_add a k) (congrArg Nat.succ hk)⟩

theorem le_pred (a b : Nat) (h : Le (a + 1) (b + 1)) : Le a b :=
  match h with
  | ⟨k, hk⟩ => ⟨k, @succ_inj' (a + k) b (Eq.trans (Eq.symm (nsucc_add a k)) hk)⟩

theorem le_zero_absurd (n : Nat) (h : Le (n + 1) 0) : False :=
  match h with
  | ⟨k, hk⟩ =>
    absurd (show Nat.succ (n + k) = 0 from Eq.trans (Eq.symm (nsucc_add n k)) hk)
      (succ_ne_zero' (n + k))

theorem lt_zero_absurd (d : Nat) (h : Lt d 0) : False :=
  match h with
  | ⟨k, hk⟩ => absurd (show Nat.succ (d + k) = 0 from hk) (succ_ne_zero' (d + k))

theorem lt_succ_cases (d b : Nat) (h : Lt d (b + 1)) : d = b ∨ Lt d b :=
  match h with
  | ⟨k, hk⟩ =>
    match k, hk with
    | 0, hk => Or.inl (@succ_inj' d b hk)
    | k + 1, hk => Or.inr ⟨k, @succ_inj' (d + (k + 1)) b hk⟩

/-! ### Divisibility -/

theorem dv_refl (n : Nat) : Dv n n :=
  ⟨1, Eq.symm (Eq.trans (nmul_comm 1 n) (nmul_one n))⟩

theorem dv_trans (d m n : Nat) (h1 : Dv d m) (h2 : Dv m n) : Dv d n :=
  match h1, h2 with
  | ⟨q, hq⟩, ⟨r, hr⟩ =>
    ⟨r * q,
      Eq.trans hr (Eq.trans (congrArg (fun t => r * t) hq) (Eq.symm (nmul_assoc r q d)))⟩

theorem dv_self_mul (h x : Nat) : Dv h (h * x) := ⟨x, nmul_comm h x⟩

theorem dv_mul_left (h d x : Nat) (hx : Dv d x) : Dv d (h * x) :=
  dv_trans d x (h * x) hx ⟨h, rfl⟩

theorem dv_add (p x y : Nat) (hx : Dv p x) (hy : Dv p y) : Dv p (x + y) :=
  match hx, hy with
  | ⟨c, hc⟩, ⟨e, he⟩ =>
    ⟨c + e,
      Eq.trans (congrArg (fun t => t + y) hc)
        (Eq.trans (congrArg (fun t => c * p + t) he) (Eq.symm (nright_distrib c e p)))⟩

/-- If `p` divides `x` and `x + y`, it divides `y` (through the remainder). -/
theorem dv_sub (p' x y : Nat) (hx : Dv (p' + 1) x) (hxy : Dv (p' + 1) (x + y)) :
    Dv (p' + 1) y :=
  match hx, hxy, rem_spec p' y with
  | ⟨c, hc⟩, ⟨e, he⟩, ⟨q, r, _, hy, _, hrem⟩ =>
    have h0 : rem (p' + 1) y = 0 :=
      Eq.trans (Eq.symm (rem_add_mul p' y c))
        (Eq.trans (congrArg (fun t => rem (p' + 1) (t + y)) (Eq.symm hc))
          (Eq.trans (congrArg (rem (p' + 1)) he)
            (rem_div p' e 0 p' (nzero_add (p' + 1)))))
    have hr0 : r = 0 := Eq.trans (Eq.symm hrem) h0
    ⟨q, Eq.trans hy (congrArg (fun t => q * (p' + 1) + t) hr0)⟩

/-- Divisibility is decided by the remainder. -/
theorem dv_dec (m' n : Nat) : Dv (m' + 1) n ∨ (Dv (m' + 1) n → False) :=
  match rem_spec m' n with
  | ⟨q, r, _, hn, _, hrem⟩ =>
    match r, hn, hrem with
    | 0, hn, _ => Or.inl ⟨q, hn⟩
    | r + 1, _, hrem =>
      Or.inr (fun hd =>
        match hd with
        | ⟨e, he⟩ =>
          absurd
            (show Nat.succ r = 0 from
              Eq.trans (Eq.symm hrem)
                (Eq.trans (congrArg (rem (m' + 1)) he)
                  (rem_div m' e 0 m' (nzero_add (m' + 1)))))
            (succ_ne_zero' r))

/-- A divisor of a positive number is not above it. -/
theorem dv_le (d j : Nat) (h : Dv d (j + 1)) : Le d (j + 1) :=
  match h with
  | ⟨q, hq⟩ =>
    match q, hq with
    | 0, hq =>
      absurd (show Nat.succ j = 0 from Eq.trans hq (nzero_mul d)) (succ_ne_zero' j)
    | q + 1, hq =>
      ⟨q * d, Eq.trans (nadd_comm d (q * d)) (Eq.symm (Eq.trans hq (nsucc_mul q d)))⟩

theorem two_add_ne_one (j k : Nat) (h : (j + 1 + 1) + k = 1) : False :=
  absurd
    (show Nat.succ (j + k) = 0 from
      Eq.trans (Eq.symm (nsucc_add j k))
        (@succ_inj' ((j + 1) + k) 0 (Eq.trans (Eq.symm (nsucc_add (j + 1) k)) h)))
    (succ_ne_zero' (j + k))

theorem dv_one_absurd (j : Nat) (h : Dv (j + 1 + 1) 1) : False :=
  match dv_le (j + 1 + 1) 0 h with
  | ⟨k, hk⟩ => two_add_ne_one j k hk

/-! ### Link 32. The Euclid step reaches the diagonal; what it keeps -/

/-- A family closed under difference. -/
abbrev Closed (S : Nat → Prop) : Prop := ∀ x z, S x → S (x + z) → S z

/-- `g` is where the Euclid step started at `(a, b)` ends: it divides
    both, and it lies in every closed family that holds `a` and `b`. -/
abbrev Meet (a b g : Nat) : Prop :=
  Dv g a ∧ Dv g b ∧ ∀ (S : Nat → Prop), Closed S → S a → S b → S g

theorem meet_diag (a : Nat) : Meet a a a :=
  ⟨dv_refl a, dv_refl a, fun _ _ h _ => h⟩

theorem meet_up (a k g : Nat) (h : Meet a k g) : Meet a (a + k) g :=
  ⟨h.1, dv_add g a k h.1 h.2.1,
    fun S hcl hSa hSb => h.2.2 S hcl hSa (hcl a k hSa hSb)⟩

theorem meet_swap (a b g : Nat) (h : Meet a b g) : Meet b a g :=
  ⟨h.2.1, h.1, fun S hcl hSb hSa => h.2.2 S hcl hSa hSb⟩

theorem ex_map {P Q : Nat → Prop} (h : ∃ g, P g) (f : ∀ g, P g → Q g) : ∃ g, Q g :=
  match h with
  | ⟨g, hg⟩ => ⟨g, f g hg⟩

theorem fuelA (a b k j f : Nat) (hk : a + (k + 1) = b) (hf0 : (a + b) + j = f) :
    Le ((a + k) + 1) f :=
  ⟨a + j,
    Eq.trans (nsucc_add (a + k) (a + j))
      (Eq.trans
        (congrArg Nat.succ
          (Eq.trans (Eq.symm (nadd_assoc (a + k) a j))
            (congrArg (fun t => t + j) (nadd_comm (a + k) a))))
        (Eq.trans (Eq.symm (nsucc_add (a + (a + k)) j))
          (Eq.trans (congrArg (fun t => (a + t) + j) hk) hf0)))⟩

theorem fuelB (a b k j f : Nat) (hk : b + (k + 1) = a) (hf0 : (a + b) + j = f) :
    Le ((b + k) + 1) f :=
  ⟨b + j,
    Eq.trans (nsucc_add (b + k) (b + j))
      (Eq.trans (congrArg Nat.succ (Eq.symm (nadd_assoc (b + k) b j)))
        (Eq.trans (Eq.symm (nsucc_add ((b + k) + b) j))
          (Eq.trans (congrArg (fun t => t + j) (Eq.symm (nsucc_add (b + k) b)))
            (Eq.trans (congrArg (fun t => (t + b) + j) hk) hf0))))⟩

/-- The Euclid step on `(a + 1, b + 1)`, run as a descent on `a + b`. -/
theorem euclid_walk :
    ∀ (f a b : Nat), Le ((a + b) + 1) f → ∃ g, Meet (a + 1) (b + 1) g
  | 0, a, b, hf => False.elim (le_zero_absurd (a + b) hf)
  | f + 1, a, b, hf =>
    match le_pred (a + b) f hf with
    | ⟨j, hf0⟩ =>
      match tri a b with
      | Or.inl hk =>
        ⟨a + 1,
          Eq.mp (congrArg (fun t => Meet (a + 1) (t + 1) (a + 1)) hk) (meet_diag (a + 1))⟩
      | Or.inr (Or.inl ⟨k, hk⟩) =>
        ex_map (euclid_walk f a k (fuelA a b k j f hk hf0))
          (fun g hg =>
            Eq.mp
              (congrArg (fun t => Meet (a + 1) t g)
                (Eq.trans (nsucc_add a (k + 1)) (congrArg Nat.succ hk)))
              (meet_up (a + 1) (k + 1) g hg))
      | Or.inr (Or.inr ⟨k, hk⟩) =>
        ex_map (euclid_walk f b k (fuelB a b k j f hk hf0))
          (fun g hg =>
            meet_swap (b + 1) (a + 1) g
              (Eq.mp
                (congrArg (fun t => Meet (b + 1) t g)
                  (Eq.trans (nsucc_add b (k + 1)) (congrArg Nat.succ hk)))
                (meet_up (b + 1) (k + 1) g hg)))

/-! ### Links 33-34. Primes and Euclid's lemma -/

/-- `p` is prime: at least 2, and its only divisors are 1 and itself. -/
abbrev Pr (p : Nat) : Prop :=
  (∃ j, p = j + 1 + 1) ∧ ∀ d, Dv d p → d = 1 ∨ d = p

/-- Euclid's lemma, read off the Euclid step: the family
    `S x := p ∣ x * b` is closed under difference and holds `a + 1`
    and `p`, so it holds where the step ends. -/
theorem euclid_core (j a b : Nat)
    (hpr : ∀ d, Dv d (j + 1 + 1) → d = 1 ∨ d = j + 1 + 1)
    (hab : Dv (j + 1 + 1) ((a + 1) * b)) :
    Dv (j + 1 + 1) (a + 1) ∨ Dv (j + 1 + 1) b :=
  match euclid_walk ((a + (j + 1)) + 1) a (j + 1) ⟨0, rfl⟩ with
  | ⟨g, hga, hgp, hS⟩ =>
    have hSg : Dv (j + 1 + 1) (g * b) :=
      hS (fun x => Dv (j + 1 + 1) (x * b))
        (fun x z hx hxz =>
          dv_sub (j + 1) (x * b) (z * b) hx
            (Eq.mp (congrArg (fun t => Dv (j + 1 + 1) t) (nright_distrib x z b)) hxz))
        hab (dv_self_mul (j + 1 + 1) b)
    match hpr g hgp with
    | Or.inl h1 =>
      Or.inr
        (Eq.mp
          (congrArg (fun t => Dv (j + 1 + 1) t)
            (Eq.trans (congrArg (fun t => t * b) h1)
              (Eq.trans (nmul_comm 1 b) (nmul_one b))))
          hSg)
    | Or.inr hP => Or.inl (Eq.mp (congrArg (fun t => Dv t (a + 1)) hP) hga)

/-! ### Link 35. The least factor above 1 -/

theorem min_of_no (n b : Nat) (hno : ∀ d, Lt d b → Dv (d + 1 + 1) n → False) :
    ∀ d, Dv (d + 1 + 1) n → Le b d :=
  fun d hd =>
    match le_or_lt b d with
    | Or.inl h => h
    | Or.inr hlt => False.elim (hno d hlt hd)

theorem no_step (n b : Nat) (hno : ∀ d, Lt d b → Dv (d + 1 + 1) n → False)
    (hnd : Dv (b + 1 + 1) n → False) :
    ∀ d, Lt d (b + 1) → Dv (d + 1 + 1) n → False :=
  fun d hlt hd =>
    match lt_succ_cases d b hlt with
    | Or.inl e => hnd (Eq.mp (congrArg (fun t => Dv (t + 1 + 1) n) e) hd)
    | Or.inr hlt' => hno d hlt' hd

/-- Search upwards: either a least factor `l + 2` has been found, or
    nothing below the bound divides. -/
theorem lp_search (n : Nat) :
    ∀ b : Nat,
      (∃ l, Dv (l + 1 + 1) n ∧ ∀ d, Dv (d + 1 + 1) n → Le l d) ∨
      (∀ d, Lt d b → Dv (d + 1 + 1) n → False)
  | 0 => Or.inr (fun d hlt _ => lt_zero_absurd d hlt)
  | b + 1 =>
    match lp_search n b with
    | Or.inl h => Or.inl h
    | Or.inr hno =>
      match dv_dec (b + 1) n with
      | Or.inl hdv => Or.inl ⟨b, hdv, min_of_no n b hno⟩
      | Or.inr hnd => Or.inr (no_step n b hno hnd)

theorem lp_exists (i : Nat) :
    ∃ l, Dv (l + 1 + 1) (i + 1 + 1) ∧ ∀ d, Dv (d + 1 + 1) (i + 1 + 1) → Le l d :=
  match lp_search (i + 1 + 1) (i + 1) with
  | Or.inl h => h
  | Or.inr hno => False.elim (hno i ⟨0, rfl⟩ (dv_refl (i + 1 + 1)))

/-- The least factor above 1 is prime. -/
theorem lp_prime (n l : Nat) (hl : Dv (l + 1 + 1) n)
    (hmin : ∀ d, Dv (d + 1 + 1) n → Le l d) :
    ∀ e, Dv e (l + 1 + 1) → e = 1 ∨ e = l + 1 + 1
  | 0, h =>
    match h with
    | ⟨_, hq⟩ => absurd (show Nat.succ (l + 1) = 0 from hq) (succ_ne_zero' (l + 1))
  | e + 1, h =>
    match e, h with
    | 0, _ => Or.inl rfl
    | d + 1, h =>
      Or.inr
        (congrArg (fun t => t + 1 + 1)
          (le_antisym' d l
            (le_pred d l (le_pred (d + 1) (l + 1) (dv_le (d + 1 + 1) (l + 1) h)))
            (hmin d (dv_trans (d + 1 + 1) (l + 1 + 1) n h hl))))

/-! ## Links 36-37. The swap read off the diagonal; the order idempotent -/

/-- Write the pair twice with the diagonal, then read the second place
    of the first copy and the first place of the second. -/
def swp {A : Type u} (p : A × A) : A × A := ((diag p).1.2, (diag p).2.1)

theorem swp_pair {A : Type u} (x y : A) : swp (x, y) = (y, x) := rfl

theorem swp_swp {A : Type u} (p : A × A) : swp (swp p) = p := rfl

theorem swp_diag {A : Type u} (x : A) : swp (diag x) = diag x := rfl

/-- The swap does nothing exactly on the diagonal. -/
theorem swp_fix {A : Type u} {x y : A} (h : swp (x, y) = (x, y)) : x = y :=
  congrArg Prod.snd h

/-- The other three readings of the doubled pair. -/
theorem read_12 {A : Type u} (p : A × A) : ((diag p).1.1, (diag p).2.2) = p := rfl
theorem read_11 {A : Type u} (p : A × A) : ((diag p).1.1, (diag p).2.1) = e1 p := rfl

/-- Choose between the identity and the swap. -/
def ord (p : Nat × Nat) : Nat × Nat := sel (sb p.1 p.2) p (swp p)

theorem ord_le (x k : Nat) : ord (x, x + k) = (x, x + k) :=
  congrArg (fun t => sel t (x, x + k) (swp (x, x + k))) (sb_le_zero x k)

theorem ord_gt (y k : Nat) : ord (y + (k + 1), y) = (y, y + (k + 1)) :=
  congrArg (fun t => sel t (y + (k + 1), y) (swp (y + (k + 1), y)))
    (Eq.trans (congrArg (fun t => sb t y) (nadd_comm y (k + 1))) (sb_add_cancel y (k + 1)))

theorem ord_idem (x y : Nat) : ord (ord (x, y)) = ord (x, y) :=
  match le_or_lt x y with
  | Or.inl ⟨k, h⟩ =>
    Eq.mp (congrArg (fun t => ord (ord (x, t)) = ord (x, t)) h) (congrArg ord (ord_le x k))
  | Or.inr ⟨k, h⟩ =>
    Eq.mp (congrArg (fun t => ord (ord (t, y)) = ord (t, y)) h)
      (Eq.trans (congrArg ord (ord_gt y k))
        (Eq.trans (ord_le y (k + 1)) (Eq.symm (ord_gt y k))))

/-! ## Link 38. Lists: product, primes, ascending; inserting and sorting -/

def prod : List Nat → Nat
  | [] => 1
  | p :: m => p * prod m

def AllPr : List Nat → Prop
  | [] => True
  | p :: m => Pr p ∧ AllPr m

/-- `a` is below everything in the list. -/
def LeAll (a : Nat) : List Nat → Prop
  | [] => True
  | q :: m => Le a q ∧ LeAll a m

/-- The list is ascending. -/
def Sorted : List Nat → Prop
  | [] => True
  | p :: m => LeAll p m ∧ Sorted m

/-- Insert `p`: it stays in front if it is not above the head, and
    otherwise moves past the head. -/
def ins (p : Nat) : List Nat → List Nat
  | [] => [p]
  | q :: m => sel (sb p q) (p :: q :: m) (q :: ins p m)

def isort : List Nat → List Nat
  | [] => []
  | p :: m => ins p (isort m)

theorem ins_le (p q : Nat) (m : List Nat) (k : Nat) (h : p + k = q) :
    ins p (q :: m) = p :: q :: m :=
  congrArg (fun t => sel t (p :: q :: m) (q :: ins p m))
    (Eq.trans (congrArg (fun t => sb p t) (Eq.symm h)) (sb_le_zero p k))

theorem ins_gt (p q : Nat) (m : List Nat) (k : Nat) (h : q + (k + 1) = p) :
    ins p (q :: m) = q :: ins p m :=
  congrArg (fun t => sel t (p :: q :: m) (q :: ins p m))
    (Eq.trans (congrArg (fun t => sb t q) (Eq.symm h))
      (Eq.trans (congrArg (fun t => sb t q) (nadd_comm q (k + 1))) (sb_add_cancel q (k + 1))))

theorem mul_left_comm' (a b c : Nat) : a * (b * c) = b * (a * c) :=
  Eq.trans (Eq.symm (nmul_assoc a b c))
    (Eq.trans (congrArg (fun t => t * c) (nmul_comm a b)) (nmul_assoc b a c))

theorem prod_ins (p : Nat) : ∀ (m : List Nat), prod (ins p m) = p * prod m
  | [] => rfl
  | q :: m =>
    match le_or_lt p q with
    | Or.inl ⟨k, h⟩ => congrArg prod (ins_le p q m k h)
    | Or.inr ⟨k, h⟩ =>
      Eq.trans (congrArg prod (ins_gt p q m k h))
        (Eq.trans (congrArg (fun t => q * t) (prod_ins p m)) (mul_left_comm' q p (prod m)))

theorem allpr_ins (p : Nat) (hp : Pr p) : ∀ (m : List Nat), AllPr m → AllPr (ins p m)
  | [], _ => show Pr p ∧ AllPr [] from And.intro hp True.intro
  | q :: m, hA =>
    have hA' : Pr q ∧ AllPr m := hA
    match le_or_lt p q with
    | Or.inl ⟨k, h⟩ =>
      Eq.mpr (congrArg AllPr (ins_le p q m k h))
        (show Pr p ∧ AllPr (q :: m) from And.intro hp hA)
    | Or.inr ⟨k, h⟩ =>
      Eq.mpr (congrArg AllPr (ins_gt p q m k h))
        (show Pr q ∧ AllPr (ins p m) from And.intro hA'.1 (allpr_ins p hp m hA'.2))

theorem leall_mono (a b : Nat) (hab : Le a b) : ∀ (m : List Nat), LeAll b m → LeAll a m
  | [], _ => True.intro
  | q :: m, h =>
    have h' : Le b q ∧ LeAll b m := h
    show Le a q ∧ LeAll a m from
      And.intro (le_trans' a b q hab h'.1) (leall_mono a b hab m h'.2)

theorem leall_ins (a p : Nat) (hap : Le a p) :
    ∀ (m : List Nat), LeAll a m → LeAll a (ins p m)
  | [], _ => show Le a p ∧ LeAll a [] from And.intro hap True.intro
  | q :: m, h =>
    have h' : Le a q ∧ LeAll a m := h
    match le_or_lt p q with
    | Or.inl ⟨k, hk⟩ =>
      Eq.mpr (congrArg (LeAll a) (ins_le p q m k hk))
        (show Le a p ∧ LeAll a (q :: m) from And.intro hap h)
    | Or.inr ⟨k, hk⟩ =>
      Eq.mpr (congrArg (LeAll a) (ins_gt p q m k hk))
        (show Le a q ∧ LeAll a (ins p m) from
          And.intro h'.1 (leall_ins a p hap m h'.2))

theorem sorted_ins (p : Nat) : ∀ (m : List Nat), Sorted m → Sorted (ins p m)
  | [], _ => show LeAll p [] ∧ Sorted [] from And.intro True.intro True.intro
  | q :: m, h =>
    have h' : LeAll q m ∧ Sorted m := h
    match le_or_lt p q with
    | Or.inl ⟨k, hk⟩ =>
      Eq.mpr (congrArg Sorted (ins_le p q m k hk))
        (show LeAll p (q :: m) ∧ Sorted (q :: m) from
          And.intro
            (show Le p q ∧ LeAll p m from
              And.intro ⟨k, hk⟩ (leall_mono p q ⟨k, hk⟩ m h'.1))
            h)
    | Or.inr ⟨k, hk⟩ =>
      Eq.mpr (congrArg Sorted (ins_gt p q m k hk))
        (show LeAll q (ins p m) ∧ Sorted (ins p m) from
          And.intro (leall_ins q p ⟨k + 1, hk⟩ m h'.1) (sorted_ins p m h'.2))

theorem prod_isort : ∀ (L : List Nat), prod (isort L) = prod L
  | [] => rfl
  | p :: m => Eq.trans (prod_ins p (isort m)) (congrArg (fun t => p * t) (prod_isort m))

theorem allpr_isort : ∀ (L : List Nat), AllPr L → AllPr (isort L)
  | [], _ => True.intro
  | p :: m, hA =>
    have hA' : Pr p ∧ AllPr m := hA
    allpr_ins p hA'.1 (isort m) (allpr_isort m hA'.2)

theorem sorted_isort : ∀ (L : List Nat), Sorted (isort L)
  | [] => True.intro
  | p :: m => sorted_ins p (isort m) (sorted_isort m)

theorem isort_example : isort [3, 2, 5, 2] = [2, 2, 3, 5] ∧ prod [2, 2, 3, 5] = 60 :=
  ⟨rfl, rfl⟩

/-! ## Link 39. The fundamental theorem of arithmetic -/

/-! ### (a) Every number from 1 up is the product of an ascending list of primes -/

theorem quot_le (i m l : Nat) (hq : i + 1 + 1 = (m + 1) * (l + 1 + 1)) : Le m i :=
  have s1 : i + 1 + 1 = (l * (m + 1) + (m + 1)) + (m + 1) :=
    Eq.trans hq
      (Eq.trans (nmul_comm (m + 1) (l + 1 + 1))
        (Eq.trans (nsucc_mul (l + 1) (m + 1))
          (congrArg (fun t => t + (m + 1)) (nsucc_mul l (m + 1)))))
  have s2 : i + 1 = (l * (m + 1) + (m + 1)) + m :=
    @succ_inj' (i + 1) ((l * (m + 1) + (m + 1)) + m) s1
  have s3 : i + 1 = ((l * (m + 1) + m) + m) + 1 :=
    Eq.trans s2 (nsucc_add (l * (m + 1) + m) m)
  have s4 : i = (l * (m + 1) + m) + m :=
    @succ_inj' i ((l * (m + 1) + m) + m) s3
  ⟨l * (m + 1) + m, Eq.trans (nadd_comm m (l * (m + 1) + m)) (Eq.symm s4)⟩

theorem leall_of_min (l : Nat) :
    ∀ (L : List Nat), AllPr L → (∀ d, Dv (d + 1 + 1) (prod L) → Le l d) →
      LeAll (l + 1 + 1) L
  | [], _, _ => True.intro
  | h :: t, hpr, hmin =>
    have hpr' : Pr h ∧ AllPr t := hpr
    match hpr'.1 with
    | ⟨⟨j, hj⟩, _⟩ =>
      have hdj : Dv (j + 1 + 1) (h * prod t) :=
        Eq.mp (congrArg (fun x => Dv x (h * prod t)) hj) (dv_self_mul h (prod t))
      show Le (l + 1 + 1) h ∧ LeAll (l + 1 + 1) t from
        And.intro
          (Eq.mpr (congrArg (fun x => Le (l + 1 + 1) x) hj)
            (le_succ (l + 1) (j + 1) (le_succ l j (hmin j hdj))))
          (leall_of_min l t hpr'.2
            (fun d hd => hmin d (dv_mul_left h (d + 1 + 1) (prod t) hd)))

/-- Take the least factor out and put it in front. -/
theorem factor_step (i l m : Nat) (L : List Nat)
    (hl : Dv (l + 1 + 1) (i + 1 + 1))
    (hmin : ∀ d, Dv (d + 1 + 1) (i + 1 + 1) → Le l d)
    (hq : i + 1 + 1 = (m + 1) * (l + 1 + 1))
    (hL : AllPr L ∧ Sorted L ∧ prod L = m + 1) :
    AllPr ((l + 1 + 1) :: L) ∧ Sorted ((l + 1 + 1) :: L) ∧
      prod ((l + 1 + 1) :: L) = i + 1 + 1 :=
  have hm : Dv (m + 1) (i + 1 + 1) :=
    ⟨l + 1 + 1, Eq.trans hq (nmul_comm (m + 1) (l + 1 + 1))⟩
  have hminL : ∀ d, Dv (d + 1 + 1) (prod L) → Le l d :=
    fun d hd =>
      hmin d
        (dv_trans (d + 1 + 1) (m + 1) (i + 1 + 1)
          (Eq.mp (congrArg (fun t => Dv (d + 1 + 1) t) hL.2.2) hd) hm)
  have hP : Pr (l + 1 + 1) := ⟨⟨l, rfl⟩, lp_prime (i + 1 + 1) l hl hmin⟩
  And.intro
    (show Pr (l + 1 + 1) ∧ AllPr L from And.intro hP hL.1)
    (And.intro
      (show LeAll (l + 1 + 1) L ∧ Sorted L from
        And.intro (leall_of_min l L hL.1 hminL) hL.2.1)
      (show (l + 1 + 1) * prod L = i + 1 + 1 from
        Eq.trans (congrArg (fun t => (l + 1 + 1) * t) hL.2.2)
          (Eq.trans (nmul_comm (l + 1 + 1) (m + 1)) (Eq.symm hq))))

/-- Descent on the number: `n + 1` with `n` at most `f`. -/
theorem factor_exists :
    ∀ (f n : Nat), Le n f → ∃ L, AllPr L ∧ Sorted L ∧ prod L = n + 1
  | _, 0, _ => ⟨[], True.intro, True.intro, rfl⟩
  | 0, n + 1, hf => False.elim (le_zero_absurd n hf)
  | f + 1, i + 1, hf =>
    match lp_exists i with
    | ⟨l, hl, hmin⟩ =>
      match hl with
      | ⟨q, hq⟩ =>
        match q, hq with
        | 0, hq =>
          absurd (show Nat.succ (i + 1) = 0 from Eq.trans hq (nzero_mul (l + 1 + 1)))
            (succ_ne_zero' (i + 1))
        | m + 1, hq =>
          match factor_exists f m
              (le_trans' m i f (quot_le i m l hq) (le_pred i f hf)) with
          | ⟨L, hL⟩ => ⟨(l + 1 + 1) :: L, factor_step i l m L hl hmin hq hL⟩

theorem fta_exists (n : Nat) : ∃ L, AllPr L ∧ Sorted L ∧ prod L = n + 1 :=
  factor_exists n n ⟨0, rfl⟩

/-! ### Uniqueness -/

theorem prod_pos : ∀ (L : List Nat), AllPr L → ∃ k, prod L = k + 1
  | [], _ => ⟨0, rfl⟩
  | p :: m, hA =>
    have hA' : Pr p ∧ AllPr m := hA
    match hA'.1, prod_pos m hA'.2 with
    | ⟨⟨j, hj⟩, _⟩, ⟨k, hk⟩ =>
      ⟨(j + 1 + 1) * k + (j + 1),
        Eq.trans (congrArg (fun t => t * prod m) hj)
          (Eq.trans (congrArg (fun t => (j + 1 + 1) * t) hk) (mul_succ' (j + 1 + 1) k))⟩

/-- A nonempty list of primes does not have product 1. -/
theorem prod_ne_one (p : Nat) (m : List Nat) (hA : AllPr (p :: m))
    (h : prod (p :: m) = 1) : False :=
  have hA' : Pr p ∧ AllPr m := hA
  match hA'.1, prod_pos m hA'.2 with
  | ⟨⟨j, hj⟩, _⟩, ⟨k, hk⟩ =>
    have eq0 : p * prod m = (j + 1 + 1) * k + (j + 1 + 1) :=
      Eq.trans (congrArg (fun t => t * prod m) hj)
        (Eq.trans (congrArg (fun t => (j + 1 + 1) * t) hk) (mul_succ' (j + 1 + 1) k))
    have eq1 : ((j + 1 + 1) * k + (j + 1)) + 1 = 0 + 1 := Eq.trans (Eq.symm eq0) h
    absurd
      (show Nat.succ ((j + 1 + 1) * k + j) = 0 from
        @succ_inj' ((j + 1 + 1) * k + (j + 1)) 0 eq1)
      (succ_ne_zero' ((j + 1 + 1) * k + j))

theorem mul_lt_absurd (a x y k : Nat) (hk : x + (k + 1) = y)
    (h : (a + 1) * x = (a + 1) * y) : False :=
  add_succ_ne ((a + 1) * x) ((a + 1) * k + a)
    (Eq.symm
      (Eq.trans h
        (Eq.trans (congrArg (fun t => (a + 1) * t) (Eq.symm hk))
          (Eq.trans (nleft_distrib (a + 1) x (k + 1))
            (congrArg (fun t => (a + 1) * x + t) (mul_succ' (a + 1) k))))))

/-- Cancelling a positive factor. -/
theorem mul_cancel (a x y : Nat) (h : (a + 1) * x = (a + 1) * y) : x = y :=
  match tri x y with
  | Or.inl e => e
  | Or.inr (Or.inl ⟨k, hk⟩) => False.elim (mul_lt_absurd a x y k hk h)
  | Or.inr (Or.inr ⟨k, hk⟩) => False.elim (mul_lt_absurd a y x k hk (Eq.symm h))

theorem pr_cancel (p x y : Nat) (hp : Pr p) (h : p * x = p * y) : x = y :=
  match hp with
  | ⟨⟨j, hj⟩, _⟩ =>
    mul_cancel (j + 1) x y (Eq.mp (congrArg (fun t => t * x = t * y) hj) h)

/-- A prime that divides the product of a list of primes, all of them
    at least `q`, is itself at least `q`. Euclid's lemma is used here. -/
theorem head_le (j q : Nat) (hpr : ∀ d, Dv d (j + 1 + 1) → d = 1 ∨ d = j + 1 + 1) :
    ∀ (m : List Nat), AllPr m → LeAll q m → Dv (j + 1 + 1) (prod m) → Le q (j + 1 + 1)
  | [], _, _, hd => False.elim (dv_one_absurd j hd)
  | h :: t, hall, hle, hd =>
    have hall' : Pr h ∧ AllPr t := hall
    have hle' : Le q h ∧ LeAll q t := hle
    match hall'.1 with
    | ⟨⟨i, hi⟩, hprh⟩ =>
      match euclid_core j (i + 1) (prod t) hpr
          (Eq.mp (congrArg (fun x => Dv (j + 1 + 1) (x * prod t)) hi) hd) with
      | Or.inr hdt => head_le j q hpr t hall'.2 hle'.2 hdt
      | Or.inl hdiv =>
        match hprh (j + 1 + 1) (Eq.mpr (congrArg (fun x => Dv (j + 1 + 1) x) hi) hdiv) with
        | Or.inl e => absurd (show Nat.succ j = 0 from @succ_inj' (j + 1) 0 e) (succ_ne_zero' j)
        | Or.inr e => Eq.mpr (congrArg (fun x => Le q x) e) hle'.1

theorem head_le_of (p q : Nat) (m m' : List Nat) (hp : Pr p)
    (hA' : Pr q ∧ AllPr m') (hLe : LeAll q m') (he : p * prod m = q * prod m') :
    Le q p :=
  match hp with
  | ⟨⟨j, hj⟩, hprp⟩ =>
    have hdv : Dv p (q * prod m') :=
      ⟨prod m, Eq.trans (Eq.symm he) (nmul_comm p (prod m))⟩
    have hqq : Le q q := ⟨0, rfl⟩
    Eq.mpr (congrArg (fun t => Le q t) hj)
      (head_le j q
        (Eq.mp (congrArg (fun t => ∀ d, Dv d t → d = 1 ∨ d = t) hj) hprp)
        (q :: m') hA'
        (show Le q q ∧ LeAll q m' from And.intro hqq hLe)
        (Eq.mp (congrArg (fun t => Dv t (q * prod m')) hj) hdv))

/-- Two ascending lists of primes with equal products have equal heads. -/
theorem head_eq (p q : Nat) (m m' : List Nat)
    (hA : Pr p ∧ AllPr m) (hS : LeAll p m ∧ Sorted m)
    (hA' : Pr q ∧ AllPr m') (hS' : LeAll q m' ∧ Sorted m')
    (he : p * prod m = q * prod m') : p = q :=
  le_antisym' p q
    (head_le_of q p m' m hA'.1 hA hS.1 (Eq.symm he))
    (head_le_of p q m m' hA.1 hA' hS'.1 he)

/-- Two ascending lists of primes with the same product are the same. -/
theorem fta_unique :
    ∀ (L L' : List Nat), AllPr L → Sorted L → AllPr L' → Sorted L' →
      prod L = prod L' → L = L'
  | [], [], _, _, _, _, _ => rfl
  | [], q :: m', _, _, hA', _, he => False.elim (prod_ne_one q m' hA' (Eq.symm he))
  | p :: m, [], hA, _, _, _, he => False.elim (prod_ne_one p m hA he)
  | p :: m, q :: m', hA, hS, hA', hS', he =>
    have hA1 : Pr p ∧ AllPr m := hA
    have hS1 : LeAll p m ∧ Sorted m := hS
    have hA2 : Pr q ∧ AllPr m' := hA'
    have hS2 : LeAll q m' ∧ Sorted m' := hS'
    have he1 : p * prod m = q * prod m' := he
    have hpq : p = q := head_eq p q m m' hA1 hS1 hA2 hS2 he1
    have hpp : p * prod m = p * prod m' :=
      Eq.trans he1 (congrArg (fun t => t * prod m') (Eq.symm hpq))
    have hmm : prod m = prod m' := pr_cancel p (prod m) (prod m') hA1.1 hpp
    Eq.trans (congrArg (fun t => t :: m) hpq)
      (congrArg (fun t => q :: t) (fta_unique m m' hA1.2 hS1.2 hA2.2 hS2.2 hmm))

/-! ### The theorem -/

/-- Existence and uniqueness in one statement: for every `n + 1` there
    is exactly one ascending list of primes with that product. -/
theorem fta (n : Nat) :
    ∃ L, (AllPr L ∧ Sorted L ∧ prod L = n + 1) ∧
      ∀ G, AllPr G → Sorted G → prod G = n + 1 → G = L :=
  match fta_exists n with
  | ⟨L, hL⟩ =>
    ⟨L, hL, fun G hG hGs hGp =>
      fta_unique G L hG hGs hL.1 hL.2.1 (Eq.trans hGp (Eq.symm hL.2.2))⟩

/-- (c) Reading the product of a list of primes gives the sorted list:
    the ascending list of primes with the product of `L` is `isort L`. -/
theorem read_prod (L G : List Nat) (hL : AllPr L) (hG : AllPr G) (hGs : Sorted G)
    (h : prod G = prod L) : G = isort L :=
  fta_unique G (isort L) hG hGs (allpr_isort L hL) (sorted_isort L)
    (Eq.trans h (Eq.symm (prod_isort L)))

/-- (d) Sorting is idempotent on lists of primes. -/
theorem isort_idem (L : List Nat) (hL : AllPr L) : isort (isort L) = isort L :=
  Eq.symm
    (read_prod (isort L) (isort L) (allpr_isort L hL) (allpr_isort L hL) (sorted_isort L) rfl)

/-- (d) Equal after sorting gives equal products ... -/
theorem prod_eq_of_isort (L L' : List Nat) (h : isort L = isort L') : prod L = prod L' :=
  Eq.trans (Eq.symm (prod_isort L)) (Eq.trans (congrArg prod h) (prod_isort L'))

/-- ... and equal products give equal lists after sorting. -/
theorem isort_eq_of_prod (L L' : List Nat) (hL : AllPr L) (hL' : AllPr L')
    (h : prod L = prod L') : isort L = isort L' :=
  read_prod L' (isort L) hL' (allpr_isort L hL) (sorted_isort L)
    (Eq.trans (prod_isort L) h)

/-! ## Axiom check (all should report no axioms) -/

#print axioms le_or_lt
#print axioms dv_sub
#print axioms dv_dec
#print axioms euclid_walk
#print axioms euclid_core
#print axioms lp_exists
#print axioms lp_prime
#print axioms swp_fix
#print axioms ord_idem
#print axioms prod_ins
#print axioms sorted_ins
#print axioms prod_isort
#print axioms allpr_isort
#print axioms sorted_isort
#print axioms isort_example
#print axioms factor_exists
#print axioms fta_exists
#print axioms mul_cancel
#print axioms head_le
#print axioms fta_unique
#print axioms fta
#print axioms read_prod
#print axioms isort_idem
#print axioms prod_eq_of_isort
#print axioms isort_eq_of_prod

end FTAChain

FiniteRecChain.lean

lean_all/FiniteRecChain.lean

/-
  FiniteRecChain — T31 R6: a two-sided finite model of reciprocity and functoriality.

  Both sides are finite: a finite group `G` (listed once each, `Complete`), a subgroup `H`
  (a Boolean membership test), and functions with values in any commutative ring.

  "Automorphic side": class functions on G (and on H).  "Galois side": the same functions read
  as characters.  Functoriality between H and G is induction / restriction.

    delta_sum         Σ_y [y = z] F(y) = (Σ_y [y = z]) · F(z)
    reindex           a bijection σ of G (inverse τ) leaves Σ_x F(x) unchanged
    ind_class         the induced function Ind f is a class function on G
    frobenius         ⟨Ind f, χ⟩_G = |G| · ⟨f, Res χ⟩_H  for every class function χ on G
                      (Frobenius reciprocity: transfer H → G is adjoint to restriction)

  Lean 4 core only, proofs by hand, no axioms.
-/
import YMChain

namespace FiniteRecChain

open YMChain

variable {R : Type} (Rg : DetChain.CRing R) {G : Type} [DecidableEq G]

theorem ite_pos' {α : Type} {c : Prop} [d : Decidable c] (a b : α) (h : c) : @ite α c d a b = a := by
  cases d with
  | isTrue _ => rfl
  | isFalse hn => exact absurd h hn

theorem ite_neg' {α : Type} {c : Prop} [d : Decidable c] (a b : α) (h : ¬ c) : @ite α c d a b = b := by
  cases d with
  | isTrue hc => exact absurd hc h
  | isFalse _ => rfl

/-- `[y = z]` as a ring element. -/
def delta (y z : G) : R := if y = z then Rg.one else Rg.zero

/-- Every element of `G` occurs exactly once in `els` (ring form of "count = 1"). -/
def Complete (els : List G) : Prop := ∀ z : G, sumK Rg (fun y => delta Rg y z) els = Rg.one

theorem delta_symm (y z : G) : delta Rg y z = delta Rg (R := R) z y := by
  unfold delta
  by_cases h : y = z
  · rw [ite_pos' _ _ h, ite_pos' _ _ h.symm]
  · rw [ite_neg' _ _ h, ite_neg' _ _ (fun h' => h h'.symm)]

theorem delta_mul (F : G → R) (y z : G) : Rg.mul (delta Rg y z) (F y) = Rg.mul (delta Rg y z) (F z) := by
  unfold delta
  by_cases h : y = z
  · rw [ite_pos' _ _ h, h]
  · rw [ite_neg' _ _ h, DetChain.zero_mul', DetChain.zero_mul']

theorem delta_sum (F : G → R) (z : G) : ∀ l : List G,
    sumK Rg (fun y => Rg.mul (delta Rg y z) (F y)) l = Rg.mul (sumK Rg (fun y => delta Rg y z) l) (F z)
  | [] => (DetChain.zero_mul' Rg (F z)).symm
  | y :: l => by
    show Rg.add (Rg.mul (delta Rg y z) (F y)) (sumK Rg (fun y => Rg.mul (delta Rg y z) (F y)) l)
      = Rg.mul (Rg.add (delta Rg y z) (sumK Rg (fun y => delta Rg y z) l)) (F z)
    rw [delta_sum F z l, delta_mul Rg F y z, Rg.mul_comm (Rg.add _ _), Rg.distrib,
      Rg.mul_comm (F z), Rg.mul_comm (F z)]

theorem pick (els : List G) (hc : Complete Rg els) (F : G → R) (z : G) :
    sumK Rg (fun y => Rg.mul (delta Rg y z) (F y)) els = F z := by
  rw [delta_sum, hc z, Rg.one_mul]

/-- **Reindexing.** A bijection `σ` (inverse `τ`) of a completely listed finite set
    leaves sums unchanged. -/
theorem reindex (els : List G) (hc : Complete Rg els) (σ τ : G → G)
    (hστ : ∀ x, τ (σ x) = x) (hτσ : ∀ y, σ (τ y) = y) (F : G → R) :
    sumK Rg (fun x => F (σ x)) els = sumK Rg F els := by
  have e1 : sumK Rg (fun x => F (σ x)) els
      = sumK Rg (fun x => sumK Rg (fun y => Rg.mul (delta Rg y (σ x)) (F y)) els) els :=
    sumK_ext Rg _ _ (fun x => (pick Rg els hc F (σ x)).symm) els
  rw [e1, sumK_swap]
  refine sumK_ext Rg _ _ (fun y => ?_) els
  -- Σ_x [y = σ x] F y = F y
  have e2 : sumK Rg (fun x => Rg.mul (delta Rg y (σ x)) (F y)) els
      = sumK Rg (fun x => Rg.mul (delta Rg x (τ y)) (F y)) els :=
    sumK_ext Rg _ _ (fun x => by
      show Rg.mul (delta Rg y (σ x)) (F y) = Rg.mul (delta Rg x (τ y)) (F y)
      have : delta Rg (R := R) y (σ x) = delta Rg x (τ y) := by
        unfold delta
        by_cases h : y = σ x
        · have h' : x = τ y := by rw [h, hστ]
          rw [ite_pos' _ _ h, ite_pos' _ _ h']
        · have h' : ¬ x = τ y := fun h' => h (by rw [h', hτσ])
          rw [ite_neg' _ _ h, ite_neg' _ _ h']
      rw [this]) els
  rw [e2, ← sumK_mul, hc (τ y), Rg.one_mul]

/-- `f` extended by zero outside `H`. -/
def ext0 (inH : G → Bool) (f : G → R) (x : G) : R := if inH x = true then f x else Rg.zero

section Frob
variable (K : Grp G) (els : List G) (inH : G → Bool)

/-- Class function on `G`, ring-valued. -/
def ClassR (χ : G → R) : Prop := ∀ g y, χ (K.mul (K.mul g y) (K.inv g)) = χ y

/-- Induction: `(Ind f)(x) = Σ_g f°(g x g⁻¹)` (that is `|H|` times the usual normalisation). -/
def ind (f : G → R) (x : G) : R := sumK Rg (fun g => ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) els

/-- Ring-valued pairing `⟨a, b⟩ = Σ_x a(x) b(x⁻¹)`. -/
def pair (a b : G → R) : R := sumK Rg (fun x => Rg.mul (a x) (b (K.inv x))) els

omit [DecidableEq G] in
theorem conj_conj (g h x : G) :
    K.mul (K.mul g (K.mul (K.mul h x) (K.inv h))) (K.inv g)
      = K.mul (K.mul (K.mul g h) x) (K.inv (K.mul g h)) := by
  rw [inv_mul_rev, ← K.assoc, ← K.assoc, ← K.assoc, K.assoc g h x]

/-- **The induced function is a class function.** -/
theorem ind_class (hc : Complete Rg els) (f : G → R) (h x : G) :
    ind Rg K els inH f (K.mul (K.mul h x) (K.inv h)) = ind Rg K els inH f x := by
  show sumK Rg (fun g => ext0 Rg inH f (K.mul (K.mul g (K.mul (K.mul h x) (K.inv h))) (K.inv g))) els
    = sumK Rg (fun g => ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) els
  have e : sumK Rg (fun g => ext0 Rg inH f (K.mul (K.mul g (K.mul (K.mul h x) (K.inv h))) (K.inv g))) els
      = sumK Rg (fun g => (fun k => ext0 Rg inH f (K.mul (K.mul k x) (K.inv k))) (K.mul g h)) els :=
    sumK_ext Rg _ _ (fun g => by show ext0 Rg inH f _ = ext0 Rg inH f _; rw [conj_conj]) els
  rw [e]
  exact reindex Rg els hc (fun g => K.mul g h) (fun k => K.mul k (K.inv h))
    (fun g => by show K.mul (K.mul g h) (K.inv h) = g; rw [K.assoc, K.mul_inv, K.mul_one])
    (fun k => by show K.mul (K.mul k (K.inv h)) h = k; rw [K.assoc, K.inv_mul, K.mul_one])
    (fun k => ext0 Rg inH f (K.mul (K.mul k x) (K.inv k)))

omit [DecidableEq G] in
theorem conj_inv_conj (g x : G) :
    K.inv (K.mul (K.mul g x) (K.inv g)) = K.mul (K.mul g (K.inv x)) (K.inv g) := by
  rw [inv_mul_rev, inv_mul_rev, inv_inv, K.assoc]

/-- **Frobenius reciprocity** (transfer from `H` to `G` is adjoint to restriction):
    `⟨Ind f, χ⟩_G = |G| · Σ_{y ∈ H} f(y) χ(y⁻¹)` for every class function `χ` on `G`,
    with `|G| = Σ_g 1`. -/
theorem frobenius (hc : Complete Rg els) (f χ : G → R) (hχ : ClassR K χ) :
    pair Rg K els (ind Rg K els inH f) χ
      = Rg.mul (sumK Rg (fun _ => Rg.one) els)
          (sumK Rg (fun y => Rg.mul (ext0 Rg inH f y) (χ (K.inv y))) els) := by
  unfold pair ind
  have e1 : sumK Rg (fun x => Rg.mul (sumK Rg (fun g => ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) els) (χ (K.inv x))) els
      = sumK Rg (fun x => sumK Rg (fun g => Rg.mul (ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) (χ (K.inv x))) els) els :=
    sumK_ext Rg _ _ (fun x => sumK_mul Rg _ _ els) els
  rw [e1, sumK_swap]
  -- for each g: reindex x ↦ g x g⁻¹
  have e2 : ∀ g, sumK Rg (fun x => Rg.mul (ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) (χ (K.inv x))) els
      = sumK Rg (fun y => Rg.mul (ext0 Rg inH f y) (χ (K.inv y))) els := by
    intro g
    have e3 : sumK Rg (fun x => Rg.mul (ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) (χ (K.inv x))) els
        = sumK Rg (fun x => (fun y => Rg.mul (ext0 Rg inH f y) (χ (K.inv y))) (K.mul (K.mul g x) (K.inv g))) els :=
      sumK_ext Rg _ _ (fun x => by
        show Rg.mul (ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) (χ (K.inv x))
          = Rg.mul (ext0 Rg inH f (K.mul (K.mul g x) (K.inv g))) (χ (K.inv (K.mul (K.mul g x) (K.inv g))))
        rw [conj_inv_conj, hχ]) els
    rw [e3]
    exact reindex Rg els hc (fun x => K.mul (K.mul g x) (K.inv g)) (fun y => K.mul (K.mul (K.inv g) y) g)
      (fun x => by
        show K.mul (K.mul (K.inv g) (K.mul (K.mul g x) (K.inv g))) g = x
        rw [← K.assoc, ← K.assoc, K.inv_mul, K.one_mul, K.assoc, K.inv_mul, K.mul_one])
      (fun y => by
        show K.mul (K.mul g (K.mul (K.mul (K.inv g) y) g)) (K.inv g) = y
        rw [← K.assoc, ← K.assoc, K.mul_inv, K.one_mul, K.assoc, K.mul_inv, K.mul_one])
      (fun y => Rg.mul (ext0 Rg inH f y) (χ (K.inv y)))
  rw [sumK_ext Rg _ _ e2 els, sumK_mul Rg]
  exact sumK_ext Rg _ _ (fun _ => (Rg.one_mul _).symm) els

end Frob

end FiniteRecChain

#print axioms FiniteRecChain.ite_pos'
#print axioms FiniteRecChain.ite_neg'
#print axioms FiniteRecChain.delta_symm
#print axioms FiniteRecChain.delta_mul
#print axioms FiniteRecChain.delta_sum
#print axioms FiniteRecChain.pick
#print axioms FiniteRecChain.reindex
#print axioms FiniteRecChain.conj_conj
#print axioms FiniteRecChain.ind_class
#print axioms FiniteRecChain.conj_inv_conj
#print axioms FiniteRecChain.frobenius

FluidChain.lean

lean_all/FluidChain.lean

/-
  FluidChain.lean
  From particles to a fluid: a lattice gas built from the chain (T15).

  Lean 4 core plus FTAChain (pairs, `swp`, `sel`/`sb`, `rem`, `pre`, `iter`,
  the laws of + and *) and FrobChain (`sumTo`). Proofs are hand-written terms,
  rewriting and case splits closed by `rfl`; no omega / simp / ring / decide /
  norm_num / linarith.

  The model (designed here):
  * a velocity component is one of three steps `m, z, p` (−1, 0, +1);
    a velocity is a pair of components (9 velocities in the plane);
  * space is the torus (Z/L)^2; a particle moves by `x ↦ rem L (x + (v+1) + (L-1))`;
  * the particles form a list, sorted by (cell, velocity) with insertion sort
    (`sel ∘ sb`, as `ins`/`isort` in FTAChain);
  * time is `iter n step`;
  * collision: the velocities in one cell form a sorted list (a multiset).
    It is replaced by the next multiset, in a fixed listing of all multisets
    of that size, with the same number, momentum and energy. Inside each such
    class this is a cyclic shift, so it is a bijection of the class.
    For two particles in one dimension the class is the pair and its swap,
    so the outcome is `id` or `swp` (`one_dim_id_or_swp`).
  Momentum components are carried shifted by one (`v + 1 ∈ {0,1,2}`), so every
  conserved quantity is a sum of natural numbers; the true momentum is the
  shifted one minus the particle number.

  Proved here (for every L, every configuration, every time):
    one_dim_id_or_swp              1D: same (P, E) ⇒ the pair or its swap
    cellColl_class, cons_*         the cell collision keeps N, Mx, My, E
    step_conserves, iter_conserves exact global conservation, all weights
    number/momentum_x/momentum_y/energy_conserved
    ind_balance                    the four cases of one particle
    stream_balance                 cell balance under streaming
    collideAll_cell, isort_cell    collisions and sorting keep every cell's sums
    cell_step                      one step:  A_c(t+1) + Out = A_c(t) + In
    cell_telescope                 T steps:   A_c(T) + Σ_t Out_t = A_c(0) + Σ_t In_t
    continuity, momentum_x, momentum_y, energy_cell   the four cell equations
-/
import FrobChain

namespace FluidChain
open FTAChain FrobChain

/-! ## Velocities -/

/-- One velocity component: −1, 0, +1. -/
inductive C3 where
  | m
  | z
  | p

/-- The component shifted by one: `v + 1`. -/
def sh : C3 → Nat
  | .m => 0
  | .z => 1
  | .p => 2

/-- The square of the component. -/
def sq : C3 → Nat
  | .m => 1
  | .z => 0
  | .p => 1

def c3Eq : C3 → C3 → Bool
  | .m, .m => true
  | .m, .z => false
  | .m, .p => false
  | .z, .m => false
  | .z, .z => true
  | .z, .p => false
  | .p, .m => false
  | .p, .z => false
  | .p, .p => true

/-- A velocity in the plane. -/
abbrev V := C3 × C3

def mass (_ : V) : Nat := 1
def mx (u : V) : Nat := sh u.1
def my (u : V) : Nat := sh u.2
def en (u : V) : Nat := sq u.1 + sq u.2

def idx (u : V) : Nat := 3 * sh u.1 + sh u.2

def vEq (u v : V) : Bool := c3Eq u.1 v.1 && c3Eq u.2 v.2

/-- The nine velocities, in `idx` order. -/
def allV : List V :=
  [(.m, .m), (.m, .z), (.m, .p), (.z, .m), (.z, .z), (.z, .p), (.p, .m), (.p, .z), (.p, .p)]

/-! ## Bool and Nat bookkeeping -/

theorem nat_beq_self : ∀ n : Nat, Nat.beq n n = true
  | 0 => rfl
  | n + 1 => nat_beq_self n

theorem ne_of_beq_false {a b : Nat} (h : Nat.beq a b = false) : a ≠ b := fun e =>
  Bool.noConfusion ((nat_beq_self b).symm.trans ((congrArg (fun t => Nat.beq t b) e).symm.trans h))

theorem and_true_l {a b : Bool} (h : (a && b) = true) : a = true := by
  cases a with
  | true => rfl
  | false => exact h

theorem and_true_r {a b : Bool} (h : (a && b) = true) : b = true := by
  cases a with
  | true => exact h
  | false => exact Bool.noConfusion h

/-! ## One dimension: two conserved quantities leave `id` or `swp` -/

/-- **1D collisions.** If `(c, e)` has the same momentum and energy as `(a, b)`,
    it is `(a, b)` or `swp (a, b)`. -/
theorem one_dim_id_or_swp (a b c e : C3)
    (hP : sh c + sh e = sh a + sh b) (hE : sq c + sq e = sq a + sq b) :
    (c, e) = (a, b) ∨ (c, e) = swp (a, b) := by
  cases a <;> cases b <;> cases c <;> cases e <;>
    first
    | exact Or.inl rfl
    | exact Or.inr rfl
    | exact absurd hP (ne_of_beq_false rfl)
    | exact absurd hE (ne_of_beq_false rfl)

/-! ## Multisets of velocities and the cell collision -/

def vsum (w : V → Nat) : List V → Nat
  | [] => 0
  | u :: us => w u + vsum w us

def rep (u : V) : Nat → List V
  | 0 => []
  | c + 1 => u :: rep u c

/-- All sorted lists of length `n` from the listed velocities (multisets). -/
def msets : List V → Nat → List (List V)
  | [], 0 => [[]]
  | [], _ + 1 => []
  | u :: us, n => (List.range (n + 1)).flatMap fun c => (msets us (n - c)).map fun M => rep u c ++ M

theorem msets_count : (msets allV 2).length = 45 ∧ (msets allV 3).length = 165 := ⟨rfl, rfl⟩

/-- Same number, momentum and energy. -/
def sameClass (M M' : List V) : Bool :=
  Nat.beq (vsum mass M) (vsum mass M') && Nat.beq (vsum mx M) (vsum mx M') &&
  Nat.beq (vsum my M) (vsum my M') && Nat.beq (vsum en M) (vsum en M')

def lEq : List V → List V → Bool
  | [], [] => true
  | [], _ :: _ => false
  | _ :: _, [] => false
  | u :: us, v :: vs => vEq u v && lEq us vs

def filt {A : Type} (p : A → Bool) : List A → List A
  | [] => []
  | a :: as => match p a with
    | true => a :: filt p as
    | false => filt p as

def headOr {A : Type} (d : A) : List A → A
  | [] => d
  | y :: _ => y

/-- The element after `x` in `cls`, wrapping round to the first. -/
def nextAfter (x : List V) (cls : List (List V)) : List (List V) → List V
  | [] => x
  | y :: ys => match lEq y x with
    | true => headOr (headOr x cls) ys
    | false => nextAfter x cls ys

/-- **The cell collision.** The next multiset of the same size with the same
    number, momentum and energy. -/
def cellColl (M : List V) : List V :=
  let cls := filt (sameClass M) (msets allV (vsum mass M))
  nextAfter M cls cls

/-- Every element satisfies `P`. -/
def AllP {A : Type} (P : A → Prop) : List A → Prop
  | [] => True
  | a :: as => P a ∧ AllP P as

theorem allP_filt {A : Type} (p : A → Bool) : ∀ l : List A, AllP (fun a => p a = true) (filt p l)
  | [] => trivial
  | a :: as => by
    show AllP (fun a => p a = true) (match p a with
      | true => a :: filt p as
      | false => filt p as)
    cases h : p a with
    | true => exact ⟨h, allP_filt p as⟩
    | false => exact allP_filt p as

theorem headOr_P {A : Type} (P : A → Prop) (d : A) (hd : P d) : ∀ l, AllP P l → P (headOr d l)
  | [], _ => hd
  | _ :: _, h => h.1

theorem nextAfter_P (P : List V → Prop) (x : List V) (cls : List (List V)) (hx : P x)
    (hc : AllP P cls) : ∀ l, AllP P l → P (nextAfter x cls l)
  | [], _ => hx
  | y :: ys, h => by
    show P (match lEq y x with
      | true => headOr (headOr x cls) ys
      | false => nextAfter x cls ys)
    cases lEq y x with
    | true => exact headOr_P P _ (headOr_P P x hx cls hc) ys h.2
    | false => exact nextAfter_P P x cls hx hc ys h.2

theorem sameClass_self (M : List V) : sameClass M M = true := by
  show (Nat.beq (vsum mass M) (vsum mass M) && Nat.beq (vsum mx M) (vsum mx M) &&
    Nat.beq (vsum my M) (vsum my M) && Nat.beq (vsum en M) (vsum en M)) = true
  rw [nat_beq_self, nat_beq_self, nat_beq_self, nat_beq_self]
  rfl

theorem cellColl_class (M : List V) : sameClass M (cellColl M) = true :=
  nextAfter_P (fun M' => sameClass M M' = true) M _ (sameClass_self M)
    (allP_filt _ _) _ (allP_filt _ _)

/-- A weight is kept by every cell collision. -/
def CellCons (w : V → Nat) : Prop := ∀ M, vsum w (cellColl M) = vsum w M

theorem cons_mass : CellCons mass := fun M =>
  (Nat.eq_of_beq_eq_true (and_true_l (and_true_l (and_true_l (cellColl_class M))))).symm

theorem cons_mx : CellCons mx := fun M =>
  (Nat.eq_of_beq_eq_true (and_true_r (and_true_l (and_true_l (cellColl_class M))))).symm

theorem cons_my : CellCons my := fun M =>
  (Nat.eq_of_beq_eq_true (and_true_r (and_true_l (cellColl_class M)))).symm

theorem cons_en : CellCons en := fun M =>
  (Nat.eq_of_beq_eq_true (and_true_r (cellColl_class M))).symm

/-- Head-on pairs turn by a right angle; a moving pair hands its motion to a
    rest particle; a head-on pair with a rest particle turns as a whole. -/
theorem coll_examples :
    (cellColl [(.m, .z), (.p, .z)]).map idx = [3, 5] ∧
    (cellColl [(.z, .p), (.p, .z)]).map idx = [4, 8] ∧
    (cellColl [(.m, .z), (.z, .z), (.p, .z)]).map idx = [3, 4, 5] := ⟨rfl, rfl, rfl⟩

/-! ## Particles, streaming, sorting, grouping -/

structure Pt where
  x : Nat
  y : Nat
  v : V

/-- One step along a component on the circle `Z/L`: `x + v` with `v + 1 = sh`. -/
def move (L : Nat) (x : Nat) (c : C3) : Nat := rem L (x + sh c + pre L)

def stream (L : Nat) (q : Pt) : Pt := ⟨move L q.x q.v.1, move L q.y q.v.2, q.v⟩

/-- Sort key: cell first, then velocity. -/
def key (L : Nat) (q : Pt) : Nat := (q.x * L + q.y) * 9 + idx q.v

/-- Insertion, as `ins` in FTAChain. -/
def insP (L : Nat) (q : Pt) : List Pt → List Pt
  | [] => [q]
  | r :: m => sel (sb (key L q) (key L r)) (q :: r :: m) (r :: insP L q m)

def isortP (L : Nat) : List Pt → List Pt
  | [] => []
  | q :: m => insP L q (isortP L m)

def sameCell (q r : Pt) : Bool := Nat.beq q.x r.x && Nat.beq q.y r.y

/-- The velocities of the leading run in `q`'s cell, and what follows. -/
def runOf (q : Pt) : List Pt → List V × List Pt
  | [] => ([], [])
  | r :: m => match sameCell q r with
    | true => ((r.v :: (runOf q m).1), (runOf q m).2)
    | false => ([], r :: m)

/-- Put velocities into `q`'s cell. -/
def emit (q : Pt) : List V → List Pt
  | [] => []
  | v :: vs => ⟨q.x, q.y, v⟩ :: emit q vs

/-- Collide every cell (fuel `f`: at most `f` cells). -/
def collideAll : Nat → List Pt → List Pt
  | 0, l => l
  | _ + 1, [] => []
  | f + 1, q :: m => emit q (cellColl (q.v :: (runOf q m).1)) ++ collideAll f (runOf q m).2

/-- **One time step**: stream, sort, collide every cell. -/
def step (L : Nat) (ps : List Pt) : List Pt :=
  collideAll ps.length (isortP L (ps.map (stream L)))

/-! ## Sums over particles -/

def lsum (f : Pt → Nat) : List Pt → Nat
  | [] => 0
  | q :: m => f q + lsum f m

theorem lsum_ext (f g : Pt → Nat) (h : ∀ q, f q = g q) : ∀ l, lsum f l = lsum g l
  | [] => rfl
  | q :: m => by
    show f q + lsum f m = g q + lsum g m
    rw [h q, lsum_ext f g h m]

theorem lsum_add (f g : Pt → Nat) : ∀ l, lsum (fun q => f q + g q) l = lsum f l + lsum g l
  | [] => rfl
  | q :: m => by
    show f q + g q + lsum (fun q => f q + g q) m = f q + lsum f m + (g q + lsum g m)
    rw [lsum_add f g m]
    exact mid4 _ _ _ _

theorem lsum_map (f : Pt → Nat) (g : Pt → Pt) : ∀ l, lsum f (l.map g) = lsum (fun q => f (g q)) l
  | [] => rfl
  | q :: m => by
    show f (g q) + lsum f (m.map g) = f (g q) + lsum (fun q => f (g q)) m
    rw [lsum_map f g m]

theorem lsum_append (f : Pt → Nat) : ∀ a b : List Pt, lsum f (a ++ b) = lsum f a + lsum f b
  | [], b => (nzero_add _).symm
  | q :: a, b => by
    show f q + lsum f (a ++ b) = f q + lsum f a + lsum f b
    rw [lsum_append f a b, nadd_assoc]

theorem lsum_ins (f : Pt → Nat) (L : Nat) (q : Pt) : ∀ l, lsum f (insP L q l) = f q + lsum f l
  | [] => rfl
  | r :: m => by
    show lsum f (sel (sb (key L q) (key L r)) (q :: r :: m) (r :: insP L q m)) = f q + (f r + lsum f m)
    cases sb (key L q) (key L r) with
    | zero => rfl
    | succ k =>
      show f r + lsum f (insP L q m) = f q + (f r + lsum f m)
      rw [lsum_ins f L q m]
      exact nadd_left_comm _ _ _

theorem lsum_isort (f : Pt → Nat) (L : Nat) : ∀ l, lsum f (isortP L l) = lsum f l
  | [] => rfl
  | q :: m => by
    show lsum f (insP L q (isortP L m)) = f q + lsum f m
    rw [lsum_ins, lsum_isort f L m]

/-! ## Cells -/

def ind : Bool → Nat
  | true => 1
  | false => 0

/-- The particle is in cell `(cx, cy)`. -/
def atC (cx cy : Nat) (q : Pt) : Bool := Nat.beq q.x cx && Nat.beq q.y cy

/-- The amount of weight `w` in cell `(cx, cy)`. -/
def cellSum (cx cy : Nat) (w : V → Nat) (l : List Pt) : Nat :=
  lsum (fun q => ind (atC cx cy q) * w q.v) l

/-- The weight carried by all particles: the whole torus. -/
def total (w : V → Nat) (l : List Pt) : Nat := lsum (fun q => w q.v) l

theorem atC_same (cx cy : Nat) (q r : Pt) (h : sameCell q r = true) : atC cx cy r = atC cx cy q := by
  have hx : q.x = r.x := Nat.eq_of_beq_eq_true (and_true_l h)
  have hy : q.y = r.y := Nat.eq_of_beq_eq_true (and_true_r h)
  show (Nat.beq r.x cx && Nat.beq r.y cy) = (Nat.beq q.x cx && Nat.beq q.y cy)
  rw [hx, hy]

/-- A weight on particles that, inside one cell, only sees the velocity:
    `F q = k * w q.v` with `k` the same for all particles in `q`'s cell. -/
theorem emit_sum (F : Pt → Nat) (w : V → Nat) (q : Pt) (k : Nat)
    (hF : ∀ v, F ⟨q.x, q.y, v⟩ = k * w v) : ∀ vs, lsum F (emit q vs) = k * vsum w vs
  | [] => (Nat.mul_zero k).symm
  | v :: vs => by
    show F ⟨q.x, q.y, v⟩ + lsum F (emit q vs) = k * (w v + vsum w vs)
    rw [hF v, emit_sum F w q k hF vs, nleft_distrib]

theorem run_sum (F : Pt → Nat) (w : V → Nat) (q : Pt) (k : Nat)
    (hF : ∀ r, sameCell q r = true → F r = k * w r.v) :
    ∀ m, lsum F m = k * vsum w (runOf q m).1 + lsum F (runOf q m).2
  | [] => rfl
  | r :: m => by
    show F r + lsum F m = k * vsum w (match sameCell q r with
        | true => ((r.v :: (runOf q m).1), (runOf q m).2)
        | false => ([], r :: m)).1
      + lsum F (match sameCell q r with
        | true => ((r.v :: (runOf q m).1), (runOf q m).2)
        | false => ([], r :: m)).2
    cases h : sameCell q r with
    | true =>
      show F r + lsum F m = k * (w r.v + vsum w (runOf q m).1) + lsum F (runOf q m).2
      rw [hF r h, run_sum F w q k hF m, nleft_distrib, nadd_assoc]
    | false =>
      show F r + lsum F m = k * 0 + (F r + lsum F m)
      rw [Nat.mul_zero, nzero_add]

/-- Collisions keep any weight of the form `k(cell) * w(velocity)` when `w` is
    kept by every cell collision. -/
theorem collideAll_sum (F : Pt → Nat) (w : V → Nat) (hw : CellCons w)
    (kc : Pt → Nat)
    (hF : ∀ q r, sameCell q r = true → F r = kc q * w r.v)
    (hE : ∀ q v, F ⟨q.x, q.y, v⟩ = kc q * w v) :
    ∀ f l, lsum F (collideAll f l) = lsum F l
  | 0, _ => rfl
  | _ + 1, [] => rfl
  | f + 1, q :: m => by
    show lsum F (emit q (cellColl (q.v :: (runOf q m).1)) ++ collideAll f (runOf q m).2) = F q + lsum F m
    rw [lsum_append, emit_sum F w q (kc q) (hE q), hw, collideAll_sum F w hw kc hF hE f,
      run_sum F w q (kc q) (hF q) m]
    show kc q * (w q.v + vsum w (runOf q m).1) + _ = F ⟨q.x, q.y, q.v⟩ + _
    rw [hE q q.v, nleft_distrib, nadd_assoc]

theorem sameCell_refl (q : Pt) : sameCell q q = true := by
  show (Nat.beq q.x q.x && Nat.beq q.y q.y) = true
  rw [nat_beq_self, nat_beq_self]
  rfl

/-! ## Exact global conservation -/

theorem collideAll_total (w : V → Nat) (hw : CellCons w) (f : Nat) (l : List Pt) :
    total w (collideAll f l) = total w l :=
  collideAll_sum (fun q => w q.v) w hw (fun _ => 1)
    (fun _ r _ => (Nat.one_mul (w r.v)).symm) (fun _ v => (Nat.one_mul (w v)).symm) f l

/-- **One step conserves every collision-kept weight**, for every L and every
    configuration. -/
theorem step_conserves (w : V → Nat) (hw : CellCons w) (L : Nat) (ps : List Pt) :
    total w (step L ps) = total w ps := by
  show total w (collideAll ps.length (isortP L (ps.map (stream L)))) = _
  rw [collideAll_total w hw]
  show lsum _ (isortP L (ps.map (stream L))) = _
  rw [lsum_isort, lsum_map]
  rfl

/-- **Exact conservation at every time** (`iter n`). -/
theorem iter_conserves (w : V → Nat) (hw : CellCons w) (L : Nat) (ps : List Pt) :
    ∀ n : Nat, total w (iter n (step L) ps) = total w ps
  | 0 => rfl
  | n + 1 => (step_conserves w hw L (iter n (step L) ps)).trans (iter_conserves w hw L ps n)

theorem number_conserved (L n : Nat) (ps : List Pt) :
    total mass (iter n (step L) ps) = total mass ps := iter_conserves mass cons_mass L ps n

theorem momentum_x_conserved (L n : Nat) (ps : List Pt) :
    total mx (iter n (step L) ps) = total mx ps := iter_conserves mx cons_mx L ps n

theorem momentum_y_conserved (L n : Nat) (ps : List Pt) :
    total my (iter n (step L) ps) = total my ps := iter_conserves my cons_my L ps n

theorem energy_conserved (L n : Nat) (ps : List Pt) :
    total en (iter n (step L) ps) = total en ps := iter_conserves en cons_en L ps n

/-! ## Cell balance -/

/-- Weight leaving the cell in the streaming of one step. -/
def outF (L cx cy : Nat) (w : V → Nat) (l : List Pt) : Nat :=
  lsum (fun q => ind (atC cx cy q && !(atC cx cy (stream L q))) * w q.v) l

/-- Weight entering the cell in the streaming of one step. -/
def inF (L cx cy : Nat) (w : V → Nat) (l : List Pt) : Nat :=
  lsum (fun q => ind (!(atC cx cy q) && atC cx cy (stream L q)) * w q.v) l

/-- One particle, four cases: `[after] + [leaves] = [before] + [enters]`. -/
theorem ind_balance (b1 b2 : Bool) : ind b2 + ind (b1 && !b2) = ind b1 + ind (!b1 && b2) := by
  cases b1 <;> cases b2 <;> rfl

theorem stream_balance (L cx cy : Nat) (w : V → Nat) (l : List Pt) :
    cellSum cx cy w (l.map (stream L)) + outF L cx cy w l = cellSum cx cy w l + inF L cx cy w l := by
  show lsum (fun q => ind (atC cx cy q) * w q.v) (l.map (stream L)) + outF L cx cy w l = _
  rw [lsum_map]
  show lsum (fun q => ind (atC cx cy (stream L q)) * w q.v) l
      + lsum (fun q => ind (atC cx cy q && !(atC cx cy (stream L q))) * w q.v) l
    = lsum (fun q => ind (atC cx cy q) * w q.v) l
      + lsum (fun q => ind (!(atC cx cy q) && atC cx cy (stream L q)) * w q.v) l
  rw [← lsum_add, ← lsum_add]
  apply lsum_ext
  intro q
  rw [← nright_distrib, ← nright_distrib, ind_balance]

/-- Collisions keep every cell's amount of every collision-kept weight. -/
theorem collideAll_cell (cx cy : Nat) (w : V → Nat) (hw : CellCons w) (f : Nat) (l : List Pt) :
    cellSum cx cy w (collideAll f l) = cellSum cx cy w l :=
  collideAll_sum (fun q => ind (atC cx cy q) * w q.v) w hw (fun q => ind (atC cx cy q))
    (fun q r h => by
      show ind (atC cx cy r) * w r.v = ind (atC cx cy q) * w r.v
      rw [atC_same cx cy q r h])
    (fun _ _ => rfl) f l

theorem isort_cell (cx cy : Nat) (w : V → Nat) (L : Nat) (l : List Pt) :
    cellSum cx cy w (isortP L l) = cellSum cx cy w l := lsum_isort _ L l

/-- **Cell balance for one step**: `A_c(t+1) + Out_c(t) = A_c(t) + In_c(t)`. -/
theorem cell_step (L cx cy : Nat) (w : V → Nat) (hw : CellCons w) (l : List Pt) :
    cellSum cx cy w (step L l) + outF L cx cy w l = cellSum cx cy w l + inF L cx cy w l := by
  show cellSum cx cy w (collideAll l.length (isortP L (l.map (stream L)))) + _ = _
  rw [collideAll_cell cx cy w hw, isort_cell]
  exact stream_balance L cx cy w l

/-- **Telescoping in time**:
    `A_c(T) + Σ_{t<T} Out_c(t) = A_c(0) + Σ_{t<T} In_c(t)`. -/
theorem cell_telescope (L cx cy : Nat) (w : V → Nat) (hw : CellCons w) (ps : List Pt) :
    ∀ T : Nat, cellSum cx cy w (iter T (step L) ps)
        + sumTo T (fun t => outF L cx cy w (iter t (step L) ps))
      = cellSum cx cy w ps + sumTo T (fun t => inF L cx cy w (iter t (step L) ps))
  | 0 => rfl
  | T + 1 => by
    have ih := cell_telescope L cx cy w hw ps T
    have hs := cell_step L cx cy w hw (iter T (step L) ps)
    show cellSum cx cy w (step L (iter T (step L) ps))
        + (sumTo T (fun t => outF L cx cy w (iter t (step L) ps)) + outF L cx cy w (iter T (step L) ps))
      = cellSum cx cy w ps
        + (sumTo T (fun t => inF L cx cy w (iter t (step L) ps)) + inF L cx cy w (iter T (step L) ps))
    rw [nadd_comm (sumTo T _) (outF L cx cy w (iter T (step L) ps)), ← nadd_assoc, hs,
      nadd_right_comm, ih, nadd_assoc]

/-- The cell continuity equation (mass weight). -/
theorem continuity (L cx cy : Nat) (ps : List Pt) (T : Nat) :
    cellSum cx cy mass (iter T (step L) ps)
        + sumTo T (fun t => outF L cx cy mass (iter t (step L) ps))
      = cellSum cx cy mass ps + sumTo T (fun t => inF L cx cy mass (iter t (step L) ps)) :=
  cell_telescope L cx cy mass cons_mass ps T

/-- The cell momentum equation, x component (shifted momentum weight). -/
theorem momentum_x (L cx cy : Nat) (ps : List Pt) (T : Nat) :
    cellSum cx cy mx (iter T (step L) ps)
        + sumTo T (fun t => outF L cx cy mx (iter t (step L) ps))
      = cellSum cx cy mx ps + sumTo T (fun t => inF L cx cy mx (iter t (step L) ps)) :=
  cell_telescope L cx cy mx cons_mx ps T

/-- The cell momentum equation, y component. -/
theorem momentum_y (L cx cy : Nat) (ps : List Pt) (T : Nat) :
    cellSum cx cy my (iter T (step L) ps)
        + sumTo T (fun t => outF L cx cy my (iter t (step L) ps))
      = cellSum cx cy my ps + sumTo T (fun t => inF L cx cy my (iter t (step L) ps)) :=
  cell_telescope L cx cy my cons_my ps T

/-- The cell energy equation. -/
theorem energy_cell (L cx cy : Nat) (ps : List Pt) (T : Nat) :
    cellSum cx cy en (iter T (step L) ps)
        + sumTo T (fun t => outF L cx cy en (iter t (step L) ps))
      = cellSum cx cy en ps + sumTo T (fun t => inF L cx cy en (iter t (step L) ps)) :=
  cell_telescope L cx cy en cons_en ps T

/-! ## A concrete run (the same run is repeated in numeric_fluid.py) -/

def demo : List Pt :=
  [⟨0, 0, (.p, .z)⟩, ⟨2, 0, (.m, .z)⟩, ⟨1, 3, (.z, .p)⟩, ⟨3, 1, (.p, .p)⟩, ⟨1, 1, (.z, .z)⟩]

def enc (q : Pt) : Nat × Nat × Nat := (q.x, q.y, idx q.v)

set_option maxRecDepth 100000 in
theorem demo_run :
    total mass (iter 6 (step 4) demo) = 5 ∧ total mx (iter 6 (step 4) demo) = 6 ∧
    total my (iter 6 (step 4) demo) = 7 ∧ total en (iter 6 (step 4) demo) = 5 :=
  ⟨rfl, rfl, rfl, rfl⟩

set_option maxRecDepth 100000 in
theorem demo_final : (iter 6 (step 4) demo).map enc = [(1, 1, 4), (1, 1, 5), (1, 1, 5), (1, 3, 5), (1, 3, 6)] := rfl

end FluidChain

#print axioms FluidChain.nat_beq_self
#print axioms FluidChain.ne_of_beq_false
#print axioms FluidChain.and_true_l
#print axioms FluidChain.and_true_r
#print axioms FluidChain.one_dim_id_or_swp
#print axioms FluidChain.msets_count
#print axioms FluidChain.allP_filt
#print axioms FluidChain.headOr_P
#print axioms FluidChain.nextAfter_P
#print axioms FluidChain.sameClass_self
#print axioms FluidChain.cellColl_class
#print axioms FluidChain.cons_mass
#print axioms FluidChain.cons_mx
#print axioms FluidChain.cons_my
#print axioms FluidChain.cons_en
#print axioms FluidChain.coll_examples
#print axioms FluidChain.lsum_ext
#print axioms FluidChain.lsum_add
#print axioms FluidChain.lsum_map
#print axioms FluidChain.lsum_append
#print axioms FluidChain.lsum_ins
#print axioms FluidChain.lsum_isort
#print axioms FluidChain.atC_same
#print axioms FluidChain.emit_sum
#print axioms FluidChain.run_sum
#print axioms FluidChain.collideAll_sum
#print axioms FluidChain.sameCell_refl
#print axioms FluidChain.collideAll_total
#print axioms FluidChain.step_conserves
#print axioms FluidChain.iter_conserves
#print axioms FluidChain.number_conserved
#print axioms FluidChain.momentum_x_conserved
#print axioms FluidChain.momentum_y_conserved
#print axioms FluidChain.energy_conserved
#print axioms FluidChain.ind_balance
#print axioms FluidChain.stream_balance
#print axioms FluidChain.collideAll_cell
#print axioms FluidChain.isort_cell
#print axioms FluidChain.cell_step
#print axioms FluidChain.cell_telescope
#print axioms FluidChain.continuity
#print axioms FluidChain.momentum_x
#print axioms FluidChain.momentum_y
#print axioms FluidChain.energy_cell
#print axioms FluidChain.demo_run
#print axioms FluidChain.demo_final

FrobChain.lean

lean_all/FrobChain.lean

/-
  FrobChain.lean
  Frobenius and Fermat for every prime p (links 40-41).

  Lean 4 core plus FTAChain. Proofs are hand-written terms and plain
  rewriting; no omega / simp / ring / decide / norm_num / linarith.
  Divisibility and congruence are FTAChain's `Dv` and `rem`.

  Proved here:
    C_self, C_one, C_gt     basic values of the Pascal binomial
    absorb'                 (k+1) * C (n+1) (k+1) = (n+1) * C n k
    absorb                  0 < k ≤ n → k * C n k = n * C (n-1) (k-1)
    prime_dvd_C             prime p, 0 < k < p → p ∣ C p k
    binom                   (x+y)^n = Σ_{k ≤ n} C n k * x^k * y^(n-k)
    frob                    (x+y)^p ≡ x^p + y^p  (mod p)
    fermat                  x^p ≡ x  (mod p)
-/
import FTAChain

namespace FrobChain
open FTAChain

/-! ## The binomial coefficient, by Pascal's rule -/

def C : Nat → Nat → Nat
  | _, 0 => 1
  | 0, _ + 1 => 0
  | n + 1, k + 1 => C n k + C n (k + 1)

theorem C_zero_right (n : Nat) : C n 0 = 1 := by
  cases n <;> rfl

theorem C_succ_succ (n k : Nat) : C (n + 1) (k + 1) = C n k + C n (k + 1) := rfl

theorem C_gt : ∀ n k : Nat, C n (n + k + 1) = 0
  | 0, _ => rfl
  | n + 1, k => by
    show C n (n + 1 + k) + C n (n + 1 + k + 1) = 0
    rw [Nat.succ_add n k, C_gt n k, nzero_add]
    exact C_gt n (k + 1)

theorem C_self : ∀ n : Nat, C n n = 1
  | 0 => rfl
  | n + 1 => by
    show C n n + C n (n + 0 + 1) = 1
    rw [C_self n, C_gt n 0]

theorem C_one : ∀ n : Nat, C n 1 = n
  | 0 => rfl
  | n + 1 => by
    show C n 0 + C n 1 = n + 1
    rw [C_zero_right n, C_one n]
    exact Nat.add_comm 1 n

/-! ## The absorption identity -/

theorem absorb' : ∀ n k : Nat, (k + 1) * C (n + 1) (k + 1) = (n + 1) * C n k
  | 0, 0 => rfl
  | 0, _ + 1 => rfl
  | n + 1, k => by
    show (k + 1) * (C (n + 1) k + C (n + 1) (k + 1)) = (n + 1 + 1) * C (n + 1) k
    rw [nleft_distrib, absorb' n k]
    cases k with
    | zero =>
      show 1 * C (n + 1) 0 + (n + 1) * C n 0 = (n + 1 + 1) * C (n + 1) 0
      rw [C_zero_right, C_zero_right, Nat.one_mul, Nat.mul_one, Nat.mul_one]
      exact Nat.add_comm 1 (n + 1)
    | succ j =>
      rw [nsucc_mul (j + 1), absorb' n j, nsucc_mul (n + 1), C_succ_succ n j,
        nleft_distrib]
      exact nadd_right_comm _ _ _

theorem absorb (n k : Nat) (h0 : 0 < k) (hk : k ≤ n) :
    k * C n k = n * C (n - 1) (k - 1) :=
  match n, k, h0, hk with
  | _, 0, h0, _ => absurd h0 (Nat.lt_irrefl 0)
  | 0, _ + 1, _, hk => absurd hk (Nat.not_succ_le_zero _)
  | n + 1, k + 1, _, _ => absorb' n k

/-! ## A prime divides the inner binomials -/

theorem dv_mul_right (d x h : Nat) (hx : Dv d x) : Dv d (x * h) :=
  match hx with
  | ⟨q, hq⟩ =>
    ⟨h * q, by rw [hq, nmul_comm (q * d) h, nmul_assoc]⟩

theorem prime_dvd_C (p k : Nat) (hp : Pr p) (h0 : 0 < k) (hk : k < p) : Dv p (C p k) :=
  match hp, k, h0, hk with
  | _, 0, h0, _ => absurd h0 (Nat.lt_irrefl 0)
  | ⟨⟨j, hj⟩, hpr⟩, a + 1, _, hk => by
    subst hj
    have hpr' : ∀ d, Dv d (j + 1 + 1) → d = 1 ∨ d = j + 1 + 1 := hpr
    have hab : Dv (j + 1 + 1) ((a + 1) * C (j + 1 + 1) (a + 1)) :=
      ⟨C (j + 1) a, by rw [absorb' (j + 1) a]; exact nmul_comm _ _⟩
    match euclid_core j a (C (j + 1 + 1) (a + 1)) hpr' hab with
    | Or.inr h => exact h
    | Or.inl h =>
      match dv_le (j + 1 + 1) a h with
      | ⟨e, he⟩ =>
        exact absurd (Nat.lt_of_le_of_lt (Nat.le.intro he) hk) (Nat.lt_irrefl _)

/-! ## Finite sums -/

def sumTo : Nat → (Nat → Nat) → Nat
  | 0, _ => 0
  | n + 1, f => sumTo n f + f n

theorem sum_ext : ∀ (n : Nat) (f g : Nat → Nat), (∀ k, k < n → f k = g k) →
    sumTo n f = sumTo n g
  | 0, _, _, _ => rfl
  | n + 1, f, g, h => by
    show sumTo n f + f n = sumTo n g + g n
    rw [sum_ext n f g (fun k hk => h k (Nat.lt_succ_of_lt hk)), h n (Nat.lt_succ_self n)]

theorem sum_add : ∀ (n : Nat) (f g : Nat → Nat),
    sumTo n (fun k => f k + g k) = sumTo n f + sumTo n g
  | 0, _, _ => rfl
  | n + 1, f, g => by
    show sumTo n (fun k => f k + g k) + (f n + g n) = (sumTo n f + f n) + (sumTo n g + g n)
    rw [sum_add n f g]
    exact mid4 _ _ _ _

theorem sum_mul : ∀ (n : Nat) (f : Nat → Nat) (c : Nat),
    sumTo n f * c = sumTo n (fun k => f k * c)
  | 0, _, c => nzero_mul c
  | n + 1, f, c => by
    show (sumTo n f + f n) * c = sumTo n (fun k => f k * c) + f n * c
    rw [nright_distrib, sum_mul n f c]

theorem sum_shift : ∀ (n : Nat) (f : Nat → Nat),
    sumTo (n + 1) f = f 0 + sumTo n (fun k => f (k + 1))
  | 0, f => nzero_add (f 0)
  | n + 1, f => by
    show sumTo (n + 1) f + f (n + 1) = f 0 + (sumTo n (fun k => f (k + 1)) + f (n + 1))
    rw [sum_shift n f]
    exact nadd_assoc _ _ _

/-! ## The binomial theorem -/

theorem sub_succ_add : ∀ n k : Nat, k < n → n - (k + 1) + 1 = n - k
  | 0, k, h => absurd h (Nat.not_lt_zero k)
  | _ + 1, 0, _ => rfl
  | n + 1, k + 1, h => by
    rw [Nat.succ_sub_succ, Nat.succ_sub_succ]
    exact sub_succ_add n k (Nat.lt_of_succ_lt_succ h)

theorem mul_swap3 (a b c x : Nat) : a * b * c * x = a * (b * x) * c := by
  rw [nmul_assoc a b c, nmul_assoc a (b * c) x, nmul_assoc b c x, nmul_comm c x,
    ← nmul_assoc b x c, ← nmul_assoc a (b * x) c]

theorem binom (x y : Nat) : ∀ n : Nat,
    (x + y) ^ n = sumTo (n + 1) (fun k => C n k * x ^ k * y ^ (n - k))
  | 0 => rfl
  | n + 1 => by
    have hS := binom x y n
    -- the x-part
    have hA : sumTo (n + 1) (fun k => C n k * x ^ k * y ^ (n - k)) * x
        = sumTo (n + 1) (fun k => C n k * x ^ (k + 1) * y ^ (n - k)) := by
      rw [sum_mul]
      exact sum_ext _ _ _ (fun k _ => mul_swap3 _ _ _ _)
    -- the y-part
    have hB : sumTo (n + 1) (fun k => C n k * x ^ k * y ^ (n - k)) * y
        = y ^ (n + 1) + sumTo n (fun k => C n (k + 1) * x ^ (k + 1) * y ^ (n - k)) := by
      rw [sum_mul, sum_shift]
      show C n 0 * x ^ 0 * y ^ n * y + _ = _
      rw [C_zero_right, Nat.one_mul, Nat.pow_zero, Nat.one_mul]
      apply congrArg (fun t => y ^ (n + 1) + t)
      apply sum_ext
      intro k hk
      rw [nmul_assoc (C n (k + 1) * x ^ (k + 1))]
      show C n (k + 1) * x ^ (k + 1) * y ^ (n - (k + 1) + 1) = _
      rw [sub_succ_add n k hk]
    -- the target, split
    have hT : sumTo (n + 1 + 1) (fun k => C (n + 1) k * x ^ k * y ^ (n + 1 - k))
        = y ^ (n + 1) + (sumTo (n + 1) (fun k => C n k * x ^ (k + 1) * y ^ (n - k))
            + sumTo n (fun k => C n (k + 1) * x ^ (k + 1) * y ^ (n - k))) := by
      rw [sum_shift]
      show C (n + 1) 0 * x ^ 0 * y ^ (n + 1) + _ = _
      rw [C_zero_right, Nat.one_mul, Nat.pow_zero, Nat.one_mul]
      apply congrArg (fun t => y ^ (n + 1) + t)
      have h1 : sumTo (n + 1) (fun k => C (n + 1) (k + 1) * x ^ (k + 1) * y ^ (n + 1 - (k + 1)))
          = sumTo (n + 1) (fun k => C n k * x ^ (k + 1) * y ^ (n - k)
              + C n (k + 1) * x ^ (k + 1) * y ^ (n - k)) := by
        apply sum_ext
        intro k _
        rw [Nat.succ_sub_succ, C_succ_succ, nright_distrib, nright_distrib]
      rw [h1, sum_add]
      apply congrArg (fun t => sumTo (n + 1) (fun k => C n k * x ^ (k + 1) * y ^ (n - k)) + t)
      show _ + C n (n + 0 + 1) * x ^ (n + 1) * y ^ (n - n) = _
      rw [C_gt n 0, nzero_mul, nzero_mul, Nat.add_zero]
    rw [hT]
    show (x + y) ^ n * (x + y) = _
    rw [hS, nleft_distrib, hA, hB]
    exact nadd_left_comm _ _ _

/-! ## Frobenius -/

theorem sum_mid (p : Nat) (f : Nat → Nat) : ∀ m : Nat,
    (∀ k, 0 < k → k ≤ m → Dv p (f k)) → ∃ q, sumTo (m + 1) f = f 0 + q * p
  | 0, _ => ⟨0, by rw [nzero_mul]; exact nzero_add (f 0)⟩
  | m + 1, h =>
    match sum_mid p f m (fun k h0 hk => h k h0 (Nat.le_succ_of_le hk)),
      h (m + 1) (Nat.zero_lt_succ m) (Nat.le_refl _) with
    | ⟨q, hq⟩, ⟨e, he⟩ =>
      ⟨q + e, by
        show sumTo (m + 1) f + f (m + 1) = _
        rw [hq, he, nright_distrib, nadd_assoc]⟩

theorem rem_add_left (m' a c : Nat) :
    rem (m' + 1) (a + c) = rem (m' + 1) (rem (m' + 1) a + c) :=
  match rem_spec m' a with
  | ⟨q, r, _, ha, _, hr⟩ => by
    rw [hr, ha, nadd_assoc, rem_add_mul]

theorem rem_add_congr (m' a b c : Nat) (h : rem (m' + 1) a = rem (m' + 1) b) :
    rem (m' + 1) (a + c) = rem (m' + 1) (b + c) := by
  rw [rem_add_left m' a c, h, ← rem_add_left m' b c]

theorem frob (p x y : Nat) (hp : Pr p) : rem p ((x + y) ^ p) = rem p (x ^ p + y ^ p) :=
  match hp with
  | ⟨⟨j, hj⟩, _⟩ => by
    have hmid : ∀ k, 0 < k → k ≤ j + 1 →
        Dv p (C p k * x ^ k * y ^ (p - k)) := by
      intro k h0 hk
      apply dv_mul_right
      apply dv_mul_right
      apply prime_dvd_C p k hp h0
      rw [hj]
      exact Nat.lt_succ_of_le hk
    match sum_mid p (fun k => C p k * x ^ k * y ^ (p - k)) (j + 1) hmid with
    | ⟨q, hq⟩ =>
      have hsplit : (x + y) ^ p = y ^ p + q * p + x ^ p := by
        rw [binom x y p]
        have e0 : C p 0 * x ^ 0 * y ^ (p - 0) = y ^ p := by
          rw [C_zero_right, Nat.one_mul, Nat.pow_zero, Nat.one_mul]; rfl
        have ep : C p p * x ^ p * y ^ (p - p) = x ^ p := by
          rw [C_self, Nat.one_mul, Nat.sub_self, Nat.pow_zero, Nat.mul_one]
        have hq' := hq
        rw [e0] at hq'
        show sumTo p (fun k => C p k * x ^ k * y ^ (p - k)) + C p p * x ^ p * y ^ (p - p) = _
        rw [ep]
        have hpj : p = j + 1 + 1 := hj
        rw [hpj] at hq' ⊢
        rw [hq']
      rw [hsplit, nadd_right_comm, nadd_comm (y ^ p + x ^ p) (q * p), nadd_comm (y ^ p) (x ^ p),
        hj, rem_add_mul]

/-! ## Fermat -/

theorem fermat (p : Nat) (hp : Pr p) : ∀ x : Nat, rem p (x ^ p) = rem p x
  | 0 => match hp with
    | ⟨⟨j, hj⟩, _⟩ => by rw [hj]; rfl
  | x + 1 => by
    rw [frob p x 1 hp, Nat.one_pow]
    match hp with
    | ⟨⟨j, hj⟩, _⟩ =>
      rw [hj] at ⊢
      have ih := fermat p hp x
      rw [hj] at ih
      exact rem_add_congr (j + 1) _ _ 1 ih

/-! ## Checks -/

theorem C_values : C 5 2 = 10 ∧ C 7 3 = 35 ∧ C 10 5 = 252 := ⟨rfl, rfl, rfl⟩

end FrobChain

#print axioms FrobChain.C_zero_right
#print axioms FrobChain.C_gt
#print axioms FrobChain.C_self
#print axioms FrobChain.C_one
#print axioms FrobChain.absorb'
#print axioms FrobChain.absorb
#print axioms FrobChain.dv_mul_right
#print axioms FrobChain.prime_dvd_C
#print axioms FrobChain.sum_ext
#print axioms FrobChain.sum_add
#print axioms FrobChain.sum_mul
#print axioms FrobChain.sum_shift
#print axioms FrobChain.sub_succ_add
#print axioms FrobChain.mul_swap3
#print axioms FrobChain.binom
#print axioms FrobChain.sum_mid
#print axioms FrobChain.rem_add_left
#print axioms FrobChain.rem_add_congr
#print axioms FrobChain.frob
#print axioms FrobChain.fermat
#print axioms FrobChain.C_values

HeckeChain.lean

lean_all/HeckeChain.lean

/-
  HeckeChain.lean
  Hecke relations (link 67).

  Lean 4 core plus the earlier work/ files (ESChain for the 11a series and
  `primes200`). Proofs are hand-written terms and plain rewriting; no omega /
  simp / ring / decide / norm_num / linarith. Concrete numbers use `rfl`.

  General part: in any commutative semiring given by its operations and laws
  (`CSR`), `s r = Σ_{i=0}^{r} α^i β^(r-i)` satisfies, for every r,
      s (r+2) + αβ · s r = (α+β) · s (r+1).
  This is the Hecke recursion for T(p^r) with α+β = τ(p), αβ = p^11
  (weight 12) or α+β = a_p, αβ = p (weight 2).

  Numeric part: τ(n) for n ≤ 200 from Δ = q Π (1-q^n)^24, computed by Int list
  products as (Π (1-q^n)^3)^8, with each partial product checked against a
  literal checkpoint by `rfl` (one big `rfl` is too slow); multiplicativity, the prime-power recursion and the bound
  τ(p)^2 ≤ 4p^11 are checked with `rfl`; the same three for the 11a form.

  Proved here:
    add_zero', one_mul', right_distrib'          derived laws
    sumR_ext, sumR_shift, mul_sumR               finite sums in a CSR
    s_succ                                       s (r+1) = β^(r+1) + α · s r
    hecke_rec                                    s (r+2) + αβ s r = (α+β) s (r+1)
    natCSR, hecke_rec_nat                        the Nat instance
    e3_eq, step6 … step24                        checkpoints Π (1-q^n)^(3k)
    deltaList_eq                                 (Π (1-q^n)^3)^8 = tauTable
    tau_values                                   τ(2), τ(3), τ(4), τ(6)
    tau_mult, tau_hecke, tau_ramanujan           the three checks for Δ
    a11List_eq, a11_values, a11_mult, a11_hecke, a11_ramanujan   the three checks for 11a
-/
import ESChain

namespace HeckeChain
open FTAChain

/-! ## A commutative semiring, given by its operations and laws -/

structure CSR (R : Type) where
  add : R → R → R
  mul : R → R → R
  zero : R
  one : R
  add_assoc : ∀ a b c, add (add a b) c = add a (add b c)
  add_comm : ∀ a b, add a b = add b a
  zero_add : ∀ a, add zero a = a
  mul_assoc : ∀ a b c, mul (mul a b) c = mul a (mul b c)
  mul_comm : ∀ a b, mul a b = mul b a
  mul_one : ∀ a, mul a one = a
  mul_zero : ∀ a, mul a zero = zero
  left_distrib : ∀ a b c, mul a (add b c) = add (mul a b) (mul a c)

section General
variable {R : Type} (K : CSR R)

theorem add_zero' (a : R) : K.add a K.zero = a := (K.add_comm a K.zero).trans (K.zero_add a)

theorem one_mul' (a : R) : K.mul K.one a = a := (K.mul_comm K.one a).trans (K.mul_one a)

theorem right_distrib' (a b c : R) : K.mul (K.add a b) c = K.add (K.mul a c) (K.mul b c) := by
  rw [K.mul_comm (K.add a b) c, K.left_distrib, K.mul_comm c a, K.mul_comm c b]

/-- `a^n`. -/
def pw (a : R) : Nat → R
  | 0 => K.one
  | n + 1 => K.mul (pw a n) a

/-- `Σ_{k<n} f k`. -/
def sumR : Nat → (Nat → R) → R
  | 0, _ => K.zero
  | n + 1, f => K.add (sumR n f) (f n)

theorem sumR_ext : ∀ (n : Nat) (f g : Nat → R), (∀ k, f k = g k) → sumR K n f = sumR K n g
  | 0, _, _, _ => rfl
  | n + 1, f, g, h => by
    show K.add (sumR K n f) (f n) = K.add (sumR K n g) (g n)
    rw [sumR_ext n f g h, h n]

theorem sumR_shift : ∀ (n : Nat) (f : Nat → R),
    sumR K (n + 1) f = K.add (f 0) (sumR K n (fun k => f (k + 1)))
  | 0, f => by
    show K.add K.zero (f 0) = K.add (f 0) K.zero
    rw [K.zero_add, add_zero']
  | n + 1, f => by
    show K.add (sumR K (n + 1) f) (f (n + 1))
      = K.add (f 0) (K.add (sumR K n (fun k => f (k + 1))) (f (n + 1)))
    rw [sumR_shift n f, K.add_assoc]

theorem mul_sumR (c : R) : ∀ (n : Nat) (f : Nat → R),
    K.mul c (sumR K n f) = sumR K n (fun k => K.mul c (f k))
  | 0, _ => K.mul_zero c
  | n + 1, f => by
    show K.mul c (K.add (sumR K n f) (f n)) = K.add (sumR K n (fun k => K.mul c (f k))) (K.mul c (f n))
    rw [K.left_distrib, mul_sumR c n f]

/-- `s r = Σ_{i=0}^{r} α^i β^(r-i)`. -/
def s (a b : R) (r : Nat) : R := sumR K (r + 1) (fun i => K.mul (pw K a i) (pw K b (r - i)))

theorem s_succ (a b : R) (r : Nat) : s K a b (r + 1) = K.add (pw K b (r + 1)) (K.mul a (s K a b r)) := by
  show sumR K (r + 1 + 1) (fun i => K.mul (pw K a i) (pw K b (r + 1 - i))) = _
  rw [sumR_shift]
  show K.add (K.mul K.one (pw K b (r + 1)))
    (sumR K (r + 1) (fun k => K.mul (pw K a (k + 1)) (pw K b (r + 1 - (k + 1))))) = _
  rw [one_mul']
  have e : sumR K (r + 1) (fun k => K.mul (pw K a (k + 1)) (pw K b (r + 1 - (k + 1))))
      = sumR K (r + 1) (fun k => K.mul a (K.mul (pw K a k) (pw K b (r - k)))) :=
    sumR_ext K (r + 1) _ _ (fun k => by
      rw [Nat.succ_sub_succ]
      show K.mul (K.mul (pw K a k) a) (pw K b (r - k)) = _
      rw [K.mul_comm (pw K a k) a, K.mul_assoc])
  rw [e, ← mul_sumR]
  rfl

/-- **Hecke recursion.** For every r:
    `s (r+2) + αβ · s r = (α+β) · s (r+1)`. -/
theorem hecke_rec (a b : R) (r : Nat) :
    K.add (s K a b (r + 2)) (K.mul (K.mul a b) (s K a b r)) = K.mul (K.add a b) (s K a b (r + 1)) := by
  have h1 : s K a b (r + 2) = K.add (K.mul (pw K b (r + 1)) b) (K.mul a (s K a b (r + 1))) :=
    s_succ K a b (r + 1)
  have h3 : K.mul b (s K a b (r + 1))
      = K.add (K.mul b (pw K b (r + 1))) (K.mul b (K.mul a (s K a b r))) := by
    rw [s_succ K a b r, K.left_distrib]
  rw [h1, right_distrib' K a b, h3, K.mul_comm (pw K b (r + 1)) b, K.mul_comm a b,
    K.mul_assoc b a, K.add_comm (K.mul b (pw K b (r + 1))) (K.mul a (s K a b (r + 1))),
    K.add_assoc]

end General

/-! ## The Nat instance -/

def natCSR : CSR Nat where
  add := Nat.add
  mul := Nat.mul
  zero := 0
  one := 1
  add_assoc := nadd_assoc
  add_comm := nadd_comm
  zero_add := nzero_add
  mul_assoc := fun a b c => nmul_assoc a b c
  mul_comm := nmul_comm
  mul_one := nmul_one
  mul_zero := fun _ => rfl
  left_distrib := fun a b c => nleft_distrib a b c

theorem hecke_rec_nat (a b r : Nat) :
    s natCSR a b (r + 2) + a * b * s natCSR a b r = (a + b) * s natCSR a b (r + 1) :=
  hecke_rec natCSR a b r

theorem s_nat_values : s natCSR 2 3 0 = 1 ∧ s natCSR 2 3 1 = 5 ∧ s natCSR 2 3 2 = 19 :=
  ⟨rfl, rfl, rfl⟩

/-! ## Δ = q Π (1-q^n)^24 -/

/-- Pointwise sum of coefficient lists. -/
def zadd : List Int → List Int → List Int
  | [], bs => bs
  | a :: as, [] => a :: as
  | a :: as, b :: bs => (a + b) :: zadd as bs

def scale (c : Int) : List Int → List Int
  | [] => []
  | b :: bs => c * b :: scale c bs

/-- Add `x · b` to `rest`; nothing is computed when `x = 0`. -/
def rowAdd : Int → List Int → List Int → List Int
  | Int.ofNat 0, _, rest => rest
  | Int.ofNat (k + 1), b, rest => zadd (scale (Int.ofNat (k + 1)) b) rest
  | Int.negSucc k, b, rest => zadd (scale (Int.negSucc k) b) rest

/-- Product of power series, keeping the first `N` coefficients. -/
def pmulN : Nat → List Int → List Int → List Int
  | 0, _, _ => []
  | _ + 1, [], _ => []
  | N + 1, x :: xs, b => rowAdd x (b.take (N + 1)) (0 :: pmulN N xs b)

/-- Multiply by `Π_{n=1}^{N} (1 - q^n)^3`. -/
def prodE3 : Nat → List Int → List Int
  | 0, l => l
  | n + 1, l => prodE3 n (ESChain.mul1m (n + 1) (ESChain.mul1m (n + 1) (ESChain.mul1m (n + 1) l)))

/-- `Π_{n≥1} (1-q^n)^3` up to `q^(200-1)`. -/
def e3 : List Int := prodE3 200 (ESChain.oneS 200)

/-- Multiply by `Π (1-q^n)^3`. -/
def mulE3 (l : List Int) : List Int := pmulN 200 e3 l

/-- `Π_{n≥1} (1-q^n)^24 = (Π (1-q^n)^3)^8` up to `q^(200-1)`. -/
def delta24 : List Int := mulE3 (mulE3 (mulE3 (mulE3 (mulE3 (mulE3 (mulE3 e3))))))

/-! Checkpoints `Π (1-q^n)^(3k)`, k = 1..8. -/

def L3 : List Int :=
  [1, -3, 0, 5, 0, 0, -7, 0, 0, 0, 9, 0, 0, 0, 0, -11, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, -15,
   0, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 0, 0, -19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0,
   0, 0, 0, 0, 0, 0, 0, -23, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
   0, -27, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
   -31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
   0, 0, -35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
   0, 0, 0, 0, 0, 0, 0, 0, -39, 0, 0, 0, 0, 0, 0, 0, 0, 0]
def L6 : List Int :=
  [1, -6, 9, 10, -30, 0, 11, 42, 0, -70, 18, -54, 49, 90, 0, -22, -60, 0, -110, 0, 81, 180, -78,
   0, 130, -198, 0, -182, -30, 90, 121, 84, 0, 0, 210, 0, -252, -102, -270, 170, 0, 0, -69, 330,
   0, -38, 420, 0, -190, -390, 0, -108, 0, 0, 0, -300, 99, 442, 210, 0, 418, -294, 0, 0, -510,
   378, -540, 138, 0, -230, -462, 0, 611, 570, 0, 0, 132, 0, 50, -150, 0, 110, 0, -630, -350, 0,
   0, -598, 450, 0, 361, 660, 162, -550, 420, 0, 0, 378, 0, 650, -798, -486, -782, 0, 0, 58, -330,
   0, 290, 0, 441, 468, -702, 0, 850, 522, 0, 0, 0, 810, -700, -780, 0, -1260, 0, 0, 1188, -918,
   0, 0, -558, 0, 529, 180, 0, 682, 1092, -198, 0, 330, 0, 180, -462, 0, -1150, 0, -540, 0, 930,
   0, -1102, -726, 0, -70, 210, 0, -779, 2100, 0, 490, 1218, 0, 0, -630, -990, 1178, 0, 0, 770,
   -1350, 0, -1260, 900, 0, -540, -1302, 0, -518, 0, 0, 0, 462, 729, 1450, 0, 0, 612, 0, 0, -1190,
   -78, 1620, 962, -390, 0, 0, -1020, 0, -220, -1110]
def L9 : List Int :=
  [1, -9, 27, -12, -90, 135, 54, -99, -189, -85, 657, -162, -135, -171, -810, 702, 495, 837, -673,
   -900, 243, -1053, -297, 1566, 2700, -1764, 81, -1188, -1377, 270, -2043, 3321, -756, 3726,
   3015, -4563, -3348, 504, -351, -1350, -468, -891, 7074, 1611, 2700, -2423, -1512, -3267, -5265,
   -1800, 3510, 2970, -6741, 8910, -1620, 7227, 7506, -648, -13923, -9045, 7884, -5985, -2079,
   -815, 6930, 1107, -1485, 12231, 5049, -8100, 15075, -11205, -4104, -10719, -18900, 7371, 5310,
   7587, -756, 6390, -11799, 16632, 4041, 13500, 1020, -9117, -297, -23274, -12078, 9180, -4212,
   -16236, 5535, 9855, 29700, -3780, -2862, -11034, 23463, 13500, -20322, 12177, 6318, -23751,
   -13230, -37206, -7794, 12393, 19619, 18900, -20223, 21303, 3690, 12933, -11880, 36630, -18171,
   7992, 6327, -29700, -2565, -135, -14472, -43848, 19800, -24516, -10044, 18963, 44172, 31590,
   2520, -3861, 15282, -32652, -11475, 46799, 22995, -34614, -8424, -26730, 21087, -38664, -53424,
   9018, -37800, 44577, 48573, 7425, -34101, 27000, 31266, 35442, 17874, 3996, -53820, 15228,
   -32643, 19305, 6210, -18090, -22815, -20817, 39096, -81819, -43470, 8076, 9828, -2376, 74034,
   47700, 65826, -45900, 29232, -17604, -13500, 37746, -39636, -6156, 37269, -3780, -86184, 10971,
   -29511, -9477, 33165, -118719, 57348, -18909, -37044, 70740, 909, 72981, -46413, 83412, 24300,
   53082, 28611, 16767, -80879, -61200]
def L12 : List Int :=
  [1, -12, 54, -88, -99, 540, -418, -648, 594, 836, 1056, -4104, -209, 4104, -594, 4256, -6480,
   -4752, -298, 5016, 17226, -12100, -5346, -1296, -9063, -7128, 19494, 29160, -10032, -7668,
   -34738, 8712, -22572, 21812, 49248, -46872, 67562, 2508, -47520, -76912, -25191, 67716, 32076,
   7128, 29754, 36784, -51072, 45144, -122398, -53460, 11286, -27256, 57024, 122364, 99902, 3576,
   -29646, -221616, 41382, -52272, 130549, -206712, -180036, 336512, 145200, 100980, -73568,
   221616, -317142, -148324, 15552, -225720, -32076, 108756, 196614, 74360, -58806, 229824,
   120878, -233928, 361152, -111340, -349920, -491832, -196569, -82764, 707454, 18392, 92016,
   493668, -559450, 416856, -16092, 320760, -361152, -724032, 7106, 270864, -530442, 56168,
   -261744, 52272, 930204, 406296, 451440, -339196, 562464, -653400, -374528, -810744, -248292,
   779360, 20691, -744876, -272746, 570240, -153846, -69984, 922944, 1154736, 657074, -694980,
   -489402, -349448, -812592, 1341900, -2216160, -384912, 132354, 26224, 58806, 943272, 1052676,
   -357048, 967518, -518320, -441408, -112860, 2222726, -421344, -196614, -1552276, -541728,
   -1515888, -1067021, 1468776, -1072170, -414072, 2216160, 1715472, 1064800, -135432, -1875852,
   1585892, 327072, -730728, 584858, 470448, -2482866, -320760, -1468368, 496584, 87362, -1198824,
   114048, 377948, 29502, 1177848, 639122, 355752, 2298240, 2276560, 2659392, -2904660, -3991570,
   -1715472, 1429218, -2531088, 627264, 1161864, -1777203, -1566588, 3648348, -1089232, -1705374,
   -1715472, 3505766, 2160432, 248292, 4043852, -4038144, 5187456, -2566080, 1197900, -950346,
   -2437776, -1211760, -4153248, -520738, 882816]
def L15 : List Int :=
  [1, -15, 90, -245, 105, 1107, -2485, 195, 4860, -2420, -3990, -8190, 19695, 13755, -38475, 3990,
   -9750, 34020, 43015, -46605, -13860, -127385, 106485, 165240, -79275, -16380, -92340, -35840,
   -151995, 188550, 315783, 90090, -271215, -307485, 20475, -505440, 915385, 209340, -284130,
   337645, -294225, 269325, -1707970, -70305, 1297620, 574210, 492765, 251370, -847245, -1102725,
   438129, -1416190, 641445, 0, 1537330, 1239420, -800370, 1403815, -472080, -2750895, -2707950,
   -761490, 952560, 7162255, -1869450, -1047150, 1169350, 728805, 500175, -5564055, 1575990,
   -5375160, 939590, 1736280, 4629870, 151789, 2775045, 8922960, -9469990, -4736745, -408240,
   -2820545, -7843095, 4410630, 7312455, 4813590, -2678940, -1306095, 4328205, 4383720, 2850575,
   650415, -16312140, -13250360, 3613365, -10234350, 25950965, -2986830, -126360, 14627375,
   -1348440, 4511430, -1500905, -9198165, -15036840, -6051657, 1866045, 14079420, -25952080,
   8872605, 13162500, 3784270, -3698940, 21802365, 13822370, 2059575, -5443200, -36745585,
   4354350, -32495760, -2579090, -10418370, 35281575, 23239370, 2164095, 6259680, -36269395,
   27197715, 39008880, 4624130, -24190320, -46725255, 21403445, -9364305, -49460220, 27860480,
   -14923755, 10128510, 3267385, 9231495, 4416930, 84066950, 24607620, -24426360, -20576010,
   -22731630, -33827220, -55611745, 37965930, -25008750, 6789020, -6995835, 46937880, -32399325,
   19526415, 21899880, 10264600, -7542990, 62460720, 53250665, -55884570, 49246380, -109977255,
   -58941300, -17829630, -48743275, 26869050, 47617605, -63874780, 60856560, 34399080, 63857745,
   -6648915, -29717010, 127947820, 85312500, -119541825, -135014845, -24014445, -39905460,
   84706867, 1467375, 6761430, -81434260, -59929440, -25446960, 106918315, -47015700, 20650140,
   193630840, -2268825, 34783740, 127085210, -10985415, -141015195, -172260130, 50869995,
   -39040380, -86690270, -21624225]
def L18 : List Int :=
  [1, -18, 135, -510, 765, 1242, -7038, 8280, 9180, -27710, 3519, 20196, 50370, -68850, -153765,
   244782, 52785, -71010, -130525, -343620, 517293, 54978, 498780, -390150, -1835865, 1161270,
   896751, 793730, -633420, -906660, -75582, -2589984, 1523745, 3589380, 2472615, -3740850,
   -767039, -4649670, -4222800, 11166210, 1718937, 4728294, -10403235, 2349450, 5331285,
   -23826622, 6799950, 7601040, 14132100, 7375230, -989604, -16889958, -19556595, -1794690,
   6516610, 16045416, -10484343, 48988800, -10299960, -31037580, 6486723, -21198150, -924885,
   -25688700, -14287140, 52029486, 86795778, 45900, -17620875, -112599720, 9017955, 1360476,
   -46670270, 78420150, -34415820, 65991042, 38393973, 75746610, -124838820, 7422030, 38533050,
   -156118718, -71136585, -26920350, 236345730, -89959716, 90024723, 195022980, 36215100,
   -156734730, -153057119, -131160492, -200991780, 265786500, 162542475, -101009376, -47854881,
   62559540, 175246200, 277603200, -229438800, 107153550, -386441790, -263819430, 77479065,
   -274645404, 428879196, -6726780, -28038780, 450951570, 526572603, -454098558, -10203570,
   -254377800, -354504060, -227791908, -163327347, 435317570, -99851625, -34055640, 450696960,
   214020054, -391928625, 936291150, -555307515, 310659138, -47886621, -117298980, -592247700,
   -1767636030, 197489799, 417063600, 2091050235, -457343010, -103550265, 627094402, 73087353,
   42058170, -404802300, -97511490, -307155915, -947934738, -534880485, -162112050, -29675710,
   1507438350, 427716855, -1124840190, 462396600, 1694862090, -717823215, 1141253640, -559631160,
   38546820, -90569745, -1562324004, -2082024000, -1221691230, 1320891840, 965664990, -495870687,
   1402782030, 3004646400, -777109950, 1556365725, -1395752700, 68282676, -3216593970, 918634950,
   840064860, -2118398049, 1694468098, -2156609835, -1261033650, 521423490, 607203450,
   -1187838756, 4672888380, 1907833500, 1588257180, -1621478462, -2021892246, 177252030,
   391189890, 683087625, 715330710, -7034667507, -2943241740, 2371331700, -3380227200, 2810136924,
   4260828150, 5277887490, -1080747000, -57820230, -386935164, 5164257789, -4254223140,
   -5694767100, 1017272520]
def L21 : List Int :=
  [1, -21, 189, -910, 2205, -378, -13321, 33345, -10395, -86870, 122703, 46683, -98287, -264915,
   96390, 1163064, -1113588, -1066527, 1042055, 536025, 2287467, -3603805, -1391733, 478170,
   -562555, 13742379, -7889805, -12745348, -1009470, 6926850, 21064883, -13691664, 4004343,
   -8355270, -30343950, 5444712, 39441969, 30902949, -22027005, 4899895, -91000161, -20752011,
   44496424, 116926740, 78003135, -226108554, 116695530, -60695838, -129044790, 45585540,
   12284811, 283682483, -27484758, 67323690, -214802315, -371932239, -82198368, 417708354,
   111666555, -52005240, 638583673, -444188745, -237602295, -567970480, 43637055, 576707796,
   -400022259, 341089497, 280802025, 408518215, 605957193, -681119145, -2097510107, 178523415,
   -114017085, 1294459054, 1259851698, -395936100, 825849885, -755830845, 224243019, -2566400585,
   -408874242, 693647955, 1174425490, -1533234843, 944315253, 4929083341, -2896680150, 837058320,
   -1662770753, -86999157, -2907571275, -1054415530, 154033110, -2631729177, 6834150050,
   6506694684, 2406336660, -8531638360, -2570420601, 835371117, -3776824261, 17334135, 3005512965,
   -3962727241, 3394367613, 1674066366, 1831163915, 9675444975, -4638505851, -470511573,
   -7226945334, -1984753260, -2886200205, -3277380015, -3542499576, 7108862460, 516036885,
   8749762560, 23073233701, -16559671275, -589467375, -621266030, -14047912620, -9873411597,
   -1427454266, 41809152, 8161994295, -5627832490, 32452074459, 5330325609, -27912318161,
   7008613290, -692506395, 29194385640, -15388495122, -6044259312, -40948031355, -4846020795,
   782992413, 3488503837, 38782369080, -2374229340, 28112471345, -2193913827, 1362238290,
   -22520473725, 19269433575, -8338442805, -47369561498, -34643853657, 6453091827, 40618530260,
   -5640802440, -8035613397, 56220671689, 15962029461, 2931333300, 4954343240, -77548244697,
   47249624646, 14285399303, -28276810590, -25942543515, -32222834784, -8452228806, 3284996904,
   -1702831760, 34747323975, -6667081785, 74023864530, 63865865175, -25483545675, 26371696855,
   -20051999730, -50065696107, -167281182950, 28424333700, -15641447220, 29252762917, 42620901498,
   73792687122, -37805736290, -27726712020, 90471133872, -64303207234, 166324013037, 13901410215,
   -77213528210, -76482050925, -55529640369, -43712869767, -37250101350, -19983071115,
   194978031542, -120168877725, -114149698740, 100457800555, 20825668500]

/-- τ(1), ..., τ(200) (index i holds τ(i+1)), i.e. `Π (1-q^n)^24`. -/
def tauTable : List Int :=
  [1, -24, 252, -1472, 4830, -6048, -16744, 84480, -113643, -115920, 534612, -370944, -577738,
   401856, 1217160, 987136, -6905934, 2727432, 10661420, -7109760, -4219488, -12830688, 18643272,
   21288960, -25499225, 13865712, -73279080, 24647168, 128406630, -29211840, -52843168,
   -196706304, 134722224, 165742416, -80873520, 167282496, -182213314, -255874080, -145589976,
   408038400, 308120442, 101267712, -17125708, -786948864, -548895690, -447438528, 2687348496,
   248758272, -1696965207, 611981400, -1740295368, 850430336, -1596055698, 1758697920, 2582175960,
   -1414533120, 2686677840, -3081759120, -5189203740, -1791659520, 6956478662, 1268236032,
   1902838392, 2699296768, -2790474540, -3233333376, -15481826884, 10165534848, 4698104544,
   1940964480, 9791485272, -9600560640, 1463791322, 4373119536, -6425804700, -15693610240,
   -8951543328, 3494159424, 38116845680, 4767866880, 1665188361, -7394890608, -29335099668,
   6211086336, -33355661220, 411016992, 32358470760, 45164021760, -24992917110, 13173496560,
   9673645072, -27442896384, -13316478336, -64496363904, 51494658600, -49569988608, 75013568546,
   40727164968, -60754911516, 37534859200, 81742959102, 41767088832, -225755128648, -48807306240,
   -20380127040, 38305336752, 90241258356, 107866805760, 73482676310, -61972223040, -45917755128,
   -16528605184, -85146862638, -64480268160, 90047003760, -189014559360, 65655879534,
   124540889760, 115632958896, 102825676800, 498319933, -166955487888, 77646351384, 77785143296,
   -359001100500, -45668121408, -262717201024, 338071388160, -4315678416, 66971388960,
   631528759932, -198311113728, -178514816480, 371563845216, -353937956400, -583413304320,
   -297198746214, -112754509056, 596793577940, 119045821440, 677211820992, -234995646528,
   -308865667656, -112181096448, 620204022900, -35130991728, -427635232164, 268217998208,
   -1115433620850, 154219312800, -824447297848, 900676761600, 784811057562, 214837039872,
   -255232501440, 214308444672, 1315116754406, -914804296320, -402206035896, -950091448320,
   -312162946368, -39964520664, -357832759588, -453553290624, 650708341920, 704042392032,
   2754833892216, -356462346240, -1458379197393, 800535869280, -1211595753060, 25209042176,
   -950387449578, -776603298240, 426959023400, 527734751232, -1307679342480, 599830010640,
   1681384224780, 807974455680, -996774496018, -232167481728, 1753032622824, 1574983618560,
   -880090306620, 319595480064, -3691995187608, -3955776986112, 1226984915520, -1235871806400,
   2762403350592, 680222785536, 5442387685442, -1800325645104, -703199584080, 2497932784704,
   -2876091504354, 1458117876384, 728391402200, -2154174528000]

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem e3_eq : e3 = L3 := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem step6 : pmulN 200 L3 L3 = L6 := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem step9 : pmulN 200 L3 L6 = L9 := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem step12 : pmulN 200 L3 L9 = L12 := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem step15 : pmulN 200 L3 L12 = L15 := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem step18 : pmulN 200 L3 L15 = L18 := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem step21 : pmulN 200 L3 L18 = L21 := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem step24 : pmulN 200 L3 L21 = tauTable := by rfl

/-- **The table is the Int list product `(Π (1-q^n)^3)^8`.** -/
theorem deltaList_eq : delta24 = tauTable := by
  show pmulN 200 e3 (pmulN 200 e3 (pmulN 200 e3 (pmulN 200 e3 (pmulN 200 e3
    (pmulN 200 e3 (pmulN 200 e3 e3)))))) = tauTable
  rw [e3_eq, step6, step9, step12, step15, step18, step21, step24]

/-- `τ(n)` for `1 ≤ n ≤ 200`. -/
def tau (n : Nat) : Int := ESChain.nth tauTable (n - 1)

theorem tau_values : tau 1 = 1 ∧ tau 2 = -24 ∧ tau 3 = 252 ∧ tau 4 = -1472 ∧ tau 6 = -6048 :=
  ⟨rfl, rfl, rfl, rfl, rfl⟩

/-! ## Boolean checks (comparisons written by hand) -/

def intEq : Int → Int → Bool
  | Int.ofNat a, Int.ofNat b => Nat.beq a b
  | Int.ofNat _, Int.negSucc _ => false
  | Int.negSucc _, Int.ofNat _ => false
  | Int.negSucc a, Int.negSucc b => Nat.beq a b

def intLe (a b : Int) : Bool :=
  match b - a with
  | Int.ofNat _ => true
  | Int.negSucc _ => false

/-- gcd with fuel. -/
def gcdF : Nat → Nat → Nat → Nat
  | 0, a, _ => a
  | f + 1, a, b => match Nat.beq b 0 with
    | true => a
    | false => gcdF f b (a % b)

/-- `P 1 && ... && P k`. -/
def allTo (P : Nat → Bool) : Nat → Bool
  | 0 => true
  | k + 1 => allTo P k && P (k + 1)

/-- For all `m, n ≥ 1` with `mn ≤ 200` and `gcd(m,n) = 1`: `f(mn) = f(m) f(n)`.
    (For each m, n runs over `1, ..., 200 / m`, which are exactly the n with mn ≤ 200.) -/
def multCheck (f : Nat → Int) : Bool :=
  allTo (fun m => allTo (fun n =>
    !(Nat.beq (gcdF 200 m n) 1) || intEq (f (m * n)) (f m * f n)) (200 / m)) 200

/-- For all `r ≥ 1` with `p^(r+1) ≤ 200`:
    `f(p^(r+1)) = f(p) f(p^r) - c(p) f(p^(r-1))`. -/
def heckeCheckP (f : Nat → Int) (c : Nat → Int) (p : Nat) : Bool :=
  allTo (fun r => !(Nat.ble (p ^ (r + 1)) 200) ||
    intEq (f (p ^ (r + 1))) (f p * f (p ^ r) - c p * f (p ^ (r - 1)))) 7

def heckeCheck (f : Nat → Int) (c : Nat → Int) : Bool :=
  ESChain.primes200.all (heckeCheckP f c)

/-- For every prime `p < 200`: `f(p)^2 ≤ 4 c(p)`. -/
def ramCheck (f : Nat → Int) (c : Nat → Int) : Bool :=
  ESChain.primes200.all (fun p => intLe (f p * f p) (4 * c p))

/-- Weight 12: `p^11`. -/
def c12 (p : Nat) : Int := Int.ofNat (p ^ 11)

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- **τ(mn) = τ(m) τ(n)** for all coprime m, n with mn ≤ 200. -/
theorem tau_mult : multCheck tau = true := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- **τ(p^(r+1)) = τ(p) τ(p^r) - p^11 τ(p^(r-1))** for all p^(r+1) ≤ 200, r ≥ 1. -/
theorem tau_hecke : heckeCheck tau c12 = true := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- **τ(p)^2 ≤ 4 p^11** for every prime p < 200. -/
theorem tau_ramanujan : ramCheck tau c12 = true := by rfl

/-! ## 11a, weight 2 -/

/-- Coefficients of q^1, ..., q^200 of `q Π (1-q^n)^2 (1-q^(11n))^2`. -/
def a11Table : List Int :=
  [1, -2, -1, 2, 1, 2, -2, 0, -2, -2, 1, -2, 4, 4, -1, -4, -2, 4, 0, 2, 2, -2, -1, 0, -4, -8, 5,
   -4, 0, 2, 7, 8, -1, 4, -2, -4, 3, 0, -4, 0, -8, -4, -6, 2, -2, 2, 8, 4, -3, 8, 2, 8, -6, -10,
   1, 0, 0, 0, 5, -2, 12, -14, 4, -8, 4, 2, -7, -4, 1, 4, -3, 0, 4, -6, 4, 0, -2, 8, -10, -4, 1,
   16, -6, 4, -2, 12, 0, 0, 15, 4, -8, -2, -7, -16, 0, -8, -7, 6, -2, -8, 2, -4, -16, 0, 2, 12,
   18, 10, 10, -2, -3, 8, 9, 0, -1, 0, -8, -10, 4, 0, 1, -24, 8, 14, -9, -8, 8, 0, 6, -8, -18, -2,
   0, 14, 5, 0, -7, -2, 10, -4, -8, 6, 4, 8, 0, -8, 3, 6, -10, -8, 2, 0, 4, 4, 7, -8, -7, 20, 6,
   8, 2, -2, 4, -16, -1, 12, -12, 0, 3, 4, 0, -12, -6, 0, 8, -4, -5, -30, -15, -4, 7, 16, -12, 0,
   3, 14, -2, 16, -10, 0, 17, 8, 4, 14, -4, -6, -2, 4, 0, 0]

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem a11List_eq : ESChain.etaProd 200 = a11Table := by rfl

def a11 (n : Nat) : Int := ESChain.nth a11Table (n - 1)

theorem a11_values : a11 2 = -2 ∧ a11 3 = -1 ∧ a11 5 = 1 ∧ a11 11 = 1 := ⟨rfl, rfl, rfl, rfl⟩

/-- Weight 2, level 11: `χ(p) p` with the trivial character mod 11, so `χ(11) = 0`. -/
def c2 (p : Nat) : Int := match Nat.beq p 11 with
  | true => 0
  | false => Int.ofNat p

/-- The bound `4p`, for every p. -/
def c2b (p : Nat) : Int := Int.ofNat p

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- `a(mn) = a(m) a(n)` for all coprime m, n with mn ≤ 200. -/
theorem a11_mult : multCheck a11 = true := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- `a(p^(r+1)) = a_p a(p^r) - p a(p^(r-1))` for p ≠ 11, and `a(11^(r+1)) = a_11 a(11^r)`. -/
theorem a11_hecke : heckeCheck a11 c2 = true := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- `a_p^2 ≤ 4p` for every prime p < 200. -/
theorem a11_ramanujan : ramCheck a11 c2b = true := by rfl

end HeckeChain

#print axioms HeckeChain.add_zero'
#print axioms HeckeChain.one_mul'
#print axioms HeckeChain.right_distrib'
#print axioms HeckeChain.sumR_ext
#print axioms HeckeChain.sumR_shift
#print axioms HeckeChain.mul_sumR
#print axioms HeckeChain.s_succ
#print axioms HeckeChain.hecke_rec
#print axioms HeckeChain.hecke_rec_nat
#print axioms HeckeChain.s_nat_values
#print axioms HeckeChain.e3_eq
#print axioms HeckeChain.step6
#print axioms HeckeChain.step9
#print axioms HeckeChain.step12
#print axioms HeckeChain.step15
#print axioms HeckeChain.step18
#print axioms HeckeChain.step21
#print axioms HeckeChain.step24
#print axioms HeckeChain.deltaList_eq
#print axioms HeckeChain.tau_values
#print axioms HeckeChain.tau_mult
#print axioms HeckeChain.tau_hecke
#print axioms HeckeChain.tau_ramanujan
#print axioms HeckeChain.a11List_eq
#print axioms HeckeChain.a11_values
#print axioms HeckeChain.a11_mult
#print axioms HeckeChain.a11_hecke
#print axioms HeckeChain.a11_ramanujan

HodgeChain.lean

lean_all/HodgeChain.lean

/-
  HodgeChain.lean
  Hodge classes of Fermat varieties, counted by characters (T41).

  Lean 4 core plus FTAChain (Dv, nadd_assoc). Proofs are hand-written terms and rewriting;
  no omega / simp / ring / decide / norm_num / linarith. Concrete counts use `rfl`.

  The Fermat variety X_m^n : x_0^m + … + x_{n+1}^m = 0 (n = 2p even). Its primitive middle
  cohomology splits into lines V(a), one for each character a = (a_0, …, a_{n+1}) with
  1 ≤ a_i ≤ m−1 and Σ a_i ≡ 0 (mod m) (Shioda). V(a) consists of Hodge classes iff
  Σ_i ⟨t a_i⟩ = (p+1) m for every unit t mod m, ⟨x⟩ = x mod m. A character that splits into
  pairs {b, m−b} is the class of a linear subspace (Shioda, Ran).

  Proved here:
    dv_between         m ∣ s and 0 < s < 2m  ⇒  s = m
    paired_sum         a list of pairs (x, y) with 0 < x + y < 2m and m ∣ x + y has
                       Σ (x + y) = (number of pairs) · m — for every m and every length:
                       after scaling by a unit t, a paired character of X_m^{2p} has
                       Σ ⟨t a_i⟩ = (p+1) m, i.e. it is a Hodge character
    count_*            the number of characters, of Hodge characters and of paired Hodge
                       characters for (m, n) = (3,2), (4,2), (5,2), (6,2), (7,2), (3,4), (4,4),
                       (5,4) (rfl; the same numbers as NUMERIC_HODGE.txt).
                       Quartic surface: 21 characters, 19 Hodge, all paired (Picard number
                       19 + 1 = 20); sextic surface: 85 Hodge, 61 paired (lines do not
                       span; the other 24 are the standard characters of NUMERIC_HODGE.txt)
-/
import FTAChain

namespace HodgeChain
open FTAChain

/-! ## Paired characters satisfy the Hodge condition, every m, every dimension -/

theorem dv_between (m s : Nat) (h : Dv m s) (h0 : 0 < s) (h2 : s < m + m) : s = m := by
  cases h with
  | intro q hq =>
    cases q with
    | zero =>
      rw [hq, Nat.zero_mul] at h0
      exact absurd h0 (Nat.lt_irrefl 0)
    | succ q =>
      cases q with
      | zero => rw [hq, Nat.one_mul]
      | succ k =>
        have e : (k + 1 + 1) * m = k * m + (m + m) := by
          rw [Nat.succ_mul, Nat.succ_mul, nadd_assoc]
        rw [hq, e] at h2
        exact absurd (Nat.lt_of_lt_of_le h2 (Nat.le_add_left (m + m) (k * m))) (Nat.lt_irrefl _)

def pairSum : List (Nat × Nat) → Nat
  | [] => 0
  | q :: l => q.1 + q.2 + pairSum l

def GoodPairs (m : Nat) : List (Nat × Nat) → Prop
  | [] => True
  | q :: l => (Dv m (q.1 + q.2) ∧ 0 < q.1 + q.2 ∧ q.1 + q.2 < m + m) ∧ GoodPairs m l

theorem paired_sum (m : Nat) : ∀ l : List (Nat × Nat), GoodPairs m l → pairSum l = l.length * m
  | [] => fun _ => (Nat.zero_mul m).symm
  | q :: l => fun h => by
    show q.1 + q.2 + pairSum l = (l.length + 1) * m
    rw [dv_between m _ h.1.1 h.1.2.1 h.1.2.2, paired_sum m l h.2, Nat.succ_mul, nadd_comm m]

/-! ## Finite counts -/

/-- Lists of length L over 1..m−1. -/
def tuples (m : Nat) : Nat → List (List Nat)
  | 0 => [[]]
  | L + 1 => (tuples m L).flatMap (fun a => (List.range (m - 1)).map (fun x => (x + 1) :: a))

def lsum : List Nat → Nat
  | [] => 0
  | x :: l => x + lsum l

/-- Characters of X_m^n: tuples of length n + 2 with Σ a_i ≡ 0. -/
def chars (m n : Nat) : List (List Nat) :=
  (tuples m (n + 2)).filter (fun a => Nat.beq (lsum a % m) 0)

def units (m : Nat) : List Nat := (List.range m).filter (fun t => Nat.beq (Nat.gcd t m) 1)

def hodgeB (m p : Nat) (a : List Nat) : Bool :=
  (units m).all (fun t => Nat.beq (lsum (a.map (fun x => t * x % m))) ((p + 1) * m))

/-- Remove the first occurrence of x. -/
def erase1 (x : Nat) : List Nat → Option (List Nat)
  | [] => none
  | y :: l => if Nat.beq x y then some l else (erase1 x l).map (fun r => y :: r)

/-- Splits into pairs {b, m − b}. -/
def pairedB (m : Nat) : Nat → List Nat → Bool
  | 0, _ => false
  | _, [] => true
  | f + 1, b :: l => match erase1 (m - b) l with
    | some r => pairedB m f r
    | none => false

def counts (m n : Nat) : Nat × Nat × Nat :=
  let C := chars m n
  let B := C.filter (hodgeB m (n / 2))
  (C.length, B.length, (B.filter (pairedB m (n + 2))).length)

theorem count_3_2 : counts 3 2 = (6, 6, 6) := rfl
theorem count_4_2 : counts 4 2 = (21, 19, 19) := rfl
theorem count_5_2 : counts 5 2 = (52, 36, 36) := rfl
set_option maxRecDepth 100000 in
theorem count_6_2 : counts 6 2 = (105, 85, 61) := rfl
set_option maxRecDepth 100000 in
theorem count_7_2 : counts 7 2 = (186, 90, 90) := rfl
theorem count_3_4 : counts 3 4 = (22, 20, 20) := rfl
set_option maxRecDepth 100000 in
theorem count_4_4 : counts 4 4 = (183, 141, 141) := rfl
set_option maxRecDepth 100000 in
theorem count_5_4 : counts 5 4 = (820, 400, 400) := rfl

end HodgeChain

#print axioms HodgeChain.dv_between
#print axioms HodgeChain.paired_sum
#print axioms HodgeChain.count_3_2
#print axioms HodgeChain.count_4_2
#print axioms HodgeChain.count_5_2
#print axioms HodgeChain.count_6_2
#print axioms HodgeChain.count_7_2
#print axioms HodgeChain.count_3_4
#print axioms HodgeChain.count_4_4
#print axioms HodgeChain.count_5_4

KineticChain.lean

lean_all/KineticChain.lean

/-
  KineticChain.lean
  From particles to a kinetic equation, in the FluidChain model (T18).

  Lean 4 core plus FTAChain and FluidChain. Proofs are hand-written terms,
  rewriting and case splits closed by `rfl`; no omega / simp / ring / decide /
  norm_num / linarith.

  Counting. An ensemble is a list of worlds; for a fixed cell, a world is the
  list of velocities in that cell after streaming. The one-particle
  distribution is the count `F v E = Σ_worlds #(v in the cell)`, and the
  pair distribution is the count `F2 P E = #(worlds whose cell holds exactly
  the pair P)`. Dividing by the number of worlds gives f and f2.

  Proved here:
    c3Eq_sound, vEq_sound, lEq_sound, *_refl   Bool equality means equality
    fiber                      Σ_{P ∈ Ps} [k = P] g P = g k (k in Ps, no repeats)
    cnt_ins, cnt_sort          sorting keeps counts
    cc_nil, cc_single          empty and one-particle cells do not change
    pair_world                 a two-particle cell, through the pair list
    hierarchy                  exact: F' + Loss2 + L3 = F + Gain2 + G3
                               (the change of f is the pair term in F2 plus
                               the term of cells with ≥ 3 particles)
    hierarchy_dilute           if no cell holds ≥ 3 particles: F' + Loss2 = F + Gain2
    chaos_product              product ensembles: Σ_a Σ_b a b = (Σ a)(Σ b), so f2 = f f
    chaos_not_kept             one collision step destroys the product form (example)
    same_velocity_no_coll      a pair with equal velocities never collides
    pairs_perm, sum_perm       the pair collision is a permutation of the 45 pairs
    balance                    semi-detailed balance: class-constant weights make
                               the closed gain equal to the closed loss
    moment_cell, moments_exact, moments_closed
                               N, Mx, My, E moments of both collision terms vanish
-/
import FluidChain

namespace KineticChain
open FTAChain FluidChain

/-! ## Sums and gates -/

def sumL {A : Type} (f : A → Nat) : List A → Nat
  | [] => 0
  | a :: as => f a + sumL f as

def gate : Bool → Nat → Nat
  | true, x => x
  | false, _ => 0

theorem sumL_ext {A : Type} (f g : A → Nat) (h : ∀ a, f a = g a) : ∀ l, sumL f l = sumL g l
  | [] => rfl
  | a :: as => by
    show f a + sumL f as = g a + sumL g as
    rw [h a, sumL_ext f g h as]

theorem sumL_add {A : Type} (f g : A → Nat) : ∀ l, sumL (fun a => f a + g a) l = sumL f l + sumL g l
  | [] => rfl
  | a :: as => by
    show f a + g a + sumL (fun a => f a + g a) as = f a + sumL f as + (g a + sumL g as)
    rw [sumL_add f g as]
    exact mid4 _ _ _ _

theorem sumL_mul {A : Type} (f : A → Nat) (c : Nat) : ∀ l, sumL (fun a => f a * c) l = sumL f l * c
  | [] => (nzero_mul c).symm
  | a :: as => by
    show f a * c + sumL (fun a => f a * c) as = (f a + sumL f as) * c
    rw [sumL_mul f c as, nright_distrib]

theorem sumL_cmul {A : Type} (f : A → Nat) (c : Nat) : ∀ l, sumL (fun a => c * f a) l = c * sumL f l
  | [] => rfl
  | a :: as => by
    show c * f a + sumL (fun a => c * f a) as = c * (f a + sumL f as)
    rw [sumL_cmul f c as, nleft_distrib]

theorem sumL_swap {A B : Type} (g : A → B → Nat) (bs : List B) :
    ∀ as : List A, sumL (fun a => sumL (fun b => g a b) bs) as = sumL (fun b => sumL (fun a => g a b) as) bs
  | [] => by
    show 0 = sumL (fun b => 0) bs
    exact (zeros bs).symm
  | a :: as => by
    show sumL (fun b => g a b) bs + sumL (fun a => sumL (fun b => g a b) bs) as
      = sumL (fun b => g a b + sumL (fun a => g a b) as) bs
    rw [sumL_swap g bs as, sumL_add]
where
  zeros : ∀ l : List B, sumL (fun _ => 0) l = 0
    | [] => rfl
    | _ :: l => by
      show 0 + sumL (fun _ => 0) l = 0
      rw [zeros l]

theorem gate_mul (b : Bool) (x : Nat) : gate b x = gate b 1 * x := by
  cases b with
  | true => exact (Nat.one_mul x).symm
  | false => exact (nzero_mul x).symm

theorem gate_and_false (b : Bool) (x : Nat) : gate (false && b) x = 0 := rfl

/-! ## Bool equality is equality -/

theorem c3Eq_sound : ∀ a b : C3, c3Eq a b = true → a = b := by
  intro a b h
  cases a <;> cases b <;> first | rfl | exact Bool.noConfusion h

theorem c3Eq_refl : ∀ a : C3, c3Eq a a = true := by
  intro a
  cases a <;> rfl

theorem vEq_sound (u v : V) (h : vEq u v = true) : u = v := by
  have h1 := c3Eq_sound u.1 v.1 (and_true_l h)
  have h2 := c3Eq_sound u.2 v.2 (and_true_r h)
  cases u with
  | mk a b => cases v with
    | mk c d =>
      show (a, b) = (c, d)
      have e1 : a = c := h1
      have e2 : b = d := h2
      rw [e1, e2]

theorem vEq_refl (u : V) : vEq u u = true := by
  show (c3Eq u.1 u.1 && c3Eq u.2 u.2) = true
  rw [c3Eq_refl, c3Eq_refl]
  rfl

theorem lEq_sound : ∀ k P : List V, lEq k P = true → k = P
  | [], [], _ => rfl
  | [], _ :: _, h => Bool.noConfusion h
  | _ :: _, [], h => Bool.noConfusion h
  | u :: us, v :: vs, h => by
    rw [vEq_sound u v (and_true_l h), lEq_sound us vs (and_true_r h)]

theorem lEq_refl : ∀ k : List V, lEq k k = true
  | [] => rfl
  | u :: us => by
    show (vEq u u && lEq us us) = true
    rw [vEq_refl, lEq_refl us]
    rfl

def llEq : List (List V) → List (List V) → Bool
  | [], [] => true
  | [], _ :: _ => false
  | _ :: _, [] => false
  | P :: Ps, Q :: Qs => lEq P Q && llEq Ps Qs

theorem llEq_sound : ∀ A B : List (List V), llEq A B = true → A = B
  | [], [], _ => rfl
  | [], _ :: _, h => Bool.noConfusion h
  | _ :: _, [], h => Bool.noConfusion h
  | P :: Ps, Q :: Qs, h => by
    rw [lEq_sound P Q (and_true_l h), llEq_sound Ps Qs (and_true_r h)]

/-! ## Membership and the fiber lemma -/

def memB (k : List V) : List (List V) → Bool
  | [] => false
  | P :: Ps => lEq k P || memB k Ps

def nodupB : List (List V) → Bool
  | [] => true
  | P :: Ps => !(memB P Ps) && nodupB Ps

theorem or_false_l {a b : Bool} (h : (a || b) = true) (ha : a = false) : b = true := by
  rw [ha] at h
  exact h

theorem fiber_zero (k : List V) (g : List V → Nat) :
    ∀ Ps, memB k Ps = false → sumL (fun P => gate (lEq k P) (g P)) Ps = 0
  | [], _ => rfl
  | P :: Ps, h => by
    show gate (lEq k P) (g P) + sumL (fun P => gate (lEq k P) (g P)) Ps = 0
    cases e : lEq k P with
    | true =>
      have h' : (lEq k P || memB k Ps) = false := h
      rw [e] at h'
      exact Bool.noConfusion h'
    | false =>
      have h' : (lEq k P || memB k Ps) = false := h
      rw [e] at h'
      show 0 + _ = 0
      rw [fiber_zero k g Ps h']

/-- **Fiber lemma.** If `k` is in the list and the list has no repeats, the
    indicator sum picks out `g k`. -/
theorem fiber (k : List V) (g : List V → Nat) :
    ∀ Ps, memB k Ps = true → nodupB Ps = true → sumL (fun P => gate (lEq k P) (g P)) Ps = g k
  | [], h, _ => Bool.noConfusion h
  | P :: Ps, h, hn => by
    show gate (lEq k P) (g P) + sumL (fun P => gate (lEq k P) (g P)) Ps = g k
    have hn1 : memB P Ps = false := by
      cases e : memB P Ps with
      | false => rfl
      | true =>
        have hn' : (!(memB P Ps) && nodupB Ps) = true := hn
        rw [e] at hn'
        exact Bool.noConfusion hn'
    have hn2 : nodupB Ps = true := and_true_r hn
    cases e : lEq k P with
    | true =>
      have kP : k = P := lEq_sound k P e
      show g P + _ = g k
      rw [← kP] at hn1
      rw [fiber_zero k g Ps hn1, ← kP]
      rfl
    | false =>
      show 0 + _ = g k
      rw [nzero_add]
      exact fiber k g Ps (or_false_l h e) hn2

/-! ## Counting velocities, sorting -/

/-- Number of copies of `v` in a cell. -/
def cntV (v : V) : List V → Nat
  | [] => 0
  | u :: us => ind (vEq u v) + cntV v us

def insV (u : V) : List V → List V
  | [] => [u]
  | w :: ws => sel (sb (idx u) (idx w)) (u :: w :: ws) (w :: insV u ws)

def sortV : List V → List V
  | [] => []
  | u :: us => insV u (sortV us)

theorem cnt_ins (v u : V) : ∀ l, cntV v (insV u l) = ind (vEq u v) + cntV v l
  | [] => rfl
  | w :: ws => by
    show cntV v (sel (sb (idx u) (idx w)) (u :: w :: ws) (w :: insV u ws)) = _
    cases sb (idx u) (idx w) with
    | zero => rfl
    | succ k =>
      show ind (vEq w v) + cntV v (insV u ws) = ind (vEq u v) + (ind (vEq w v) + cntV v ws)
      rw [cnt_ins v u ws]
      exact nadd_left_comm _ _ _

theorem cnt_sort (v : V) : ∀ l, cntV v (sortV l) = cntV v l
  | [] => rfl
  | u :: us => by
    show cntV v (insV u (sortV us)) = ind (vEq u v) + cntV v us
    rw [cnt_ins, cnt_sort v us]

/-- The cell collision on any list of velocities: sort, then `cellColl`. -/
def cc (M : List V) : List V := cellColl (sortV M)

/-- The 45 sorted pairs. -/
def pairs2 : List (List V) := msets allV 2

theorem pairs2_nodup : nodupB pairs2 = true := rfl

theorem pairs2_mem (a b : V) : memB (sortV [a, b]) pairs2 = true := by
  cases a with
  | mk a1 a2 => cases b with
    | mk b1 b2 => cases a1 <;> cases a2 <;> cases b1 <;> cases b2 <;> rfl

theorem cc_nil : cc [] = [] := rfl

theorem cc_single (a : V) : cc [a] = [a] := by
  cases a with
  | mk a1 a2 => cases a1 <;> cases a2 <;> rfl

/-- **A pair of equal velocities never collides** (its class has one element). -/
theorem same_velocity_no_coll (a : V) : cc [a, a] = [a, a] := by
  cases a with
  | mk a1 a2 => cases a1 <;> cases a2 <;> rfl

/-! ## The exact hierarchy -/

/-- At most two particles. -/
def small : List V → Bool
  | [] => true
  | [_] => true
  | [_, _] => true
  | _ :: _ :: _ :: _ => false

/-- One-particle count after the step. -/
def Fnext (v : V) (E : List (List V)) : Nat := sumL (fun M => cntV v (cc M)) E

/-- One-particle count after streaming, before the collision. -/
def Fstr (v : V) (E : List (List V)) : Nat := sumL (fun M => cntV v M) E

/-- Pair count: worlds whose cell holds exactly the pair `P` (and nothing else). -/
def F2 (P : List V) (E : List (List V)) : Nat := sumL (fun M => gate (small M && lEq (sortV M) P) 1) E

/-- Gain and loss of `v` from two-particle cells, written with `F2`. -/
def Gain2 (v : V) (E : List (List V)) : Nat := sumL (fun P => F2 P E * cntV v (cellColl P)) pairs2
def Loss2 (v : V) (E : List (List V)) : Nat := sumL (fun P => F2 P E * cntV v P) pairs2

/-- The same from cells with three or more particles. -/
def G3 (v : V) (E : List (List V)) : Nat := sumL (fun M => gate (!(small M)) (cntV v (cc M))) E
def L3 (v : V) (E : List (List V)) : Nat := sumL (fun M => gate (!(small M)) (cntV v M)) E

/-- Per world: the two-particle indicator sum, through the pair list. -/
theorem pair_world (M : List V) (g : List V → Nat) :
    sumL (fun P => gate (small M && lEq (sortV M) P) (g P)) pairs2
      = gate (small M && memB (sortV M) pairs2) (g (sortV M)) := by
  cases hs : small M with
  | false => exact fiber_zero_all _
  | true =>
    show sumL (fun P => gate (lEq (sortV M) P) (g P)) pairs2 = gate (memB (sortV M) pairs2) (g (sortV M))
    cases hm : memB (sortV M) pairs2 with
    | true => exact fiber (sortV M) g pairs2 hm pairs2_nodup
    | false => exact fiber_zero (sortV M) g pairs2 hm
where
  fiber_zero_all : ∀ Ps : List (List V), sumL (fun P => gate (false && lEq (sortV M) P) (g P)) Ps = 0
    | [] => rfl
    | _ :: Ps => by
      show 0 + _ = 0
      rw [fiber_zero_all Ps]

theorem gate_true (x : Nat) : gate true x = x := rfl
theorem gate_false (x : Nat) : gate false x = 0 := rfl

theorem single_not_pair (a : V) : memB (sortV [a]) pairs2 = false := by
  cases a with
  | mk a1 a2 => cases a1 <;> cases a2 <;> rfl

/-- One world, all four shapes of cell. -/
theorem world_identity (v : V) (M : List V) :
    cntV v (cc M) + gate (small M && memB (sortV M) pairs2) (cntV v (sortV M))
        + gate (!(small M)) (cntV v M)
      = cntV v M + gate (small M && memB (sortV M) pairs2) (cntV v (cellColl (sortV M)))
        + gate (!(small M)) (cntV v (cc M)) := by
  match M with
  | [] => rfl
  | [a] =>
    have h1 : (small [a] && memB (sortV [a]) pairs2) = false := by
      rw [single_not_pair]
      rfl
    have h2 : (!(small [a])) = false := rfl
    rw [h1, h2, gate_false, gate_false, gate_false, gate_false, cc_single]
  | [a, b] =>
    have h1 : (small [a, b] && memB (sortV [a, b]) pairs2) = true := by
      rw [pairs2_mem]
      rfl
    have h2 : (!(small [a, b])) = false := rfl
    rw [h1, h2, gate_true, gate_true, gate_false, gate_false, Nat.add_zero, Nat.add_zero, cnt_sort]
    exact nadd_comm _ _
  | a :: b :: c :: rest =>
    have h1 : (small (a :: b :: c :: rest) && memB (sortV (a :: b :: c :: rest)) pairs2) = false := rfl
    have h2 : (!(small (a :: b :: c :: rest))) = true := rfl
    rw [h1, h2, gate_true, gate_true, gate_false, gate_false, Nat.add_zero, Nat.add_zero]
    exact nadd_comm _ _

theorem gain2_eq (v : V) (E : List (List V)) :
    Gain2 v E = sumL (fun M => gate (small M && memB (sortV M) pairs2) (cntV v (cellColl (sortV M)))) E := by
  show sumL (fun P => sumL (fun M => gate (small M && lEq (sortV M) P) 1) E * cntV v (cellColl P)) pairs2 = _
  have e1 : sumL (fun P => sumL (fun M => gate (small M && lEq (sortV M) P) 1) E * cntV v (cellColl P)) pairs2
      = sumL (fun P => sumL (fun M => gate (small M && lEq (sortV M) P) (cntV v (cellColl P))) E) pairs2 :=
    sumL_ext _ _ (fun P => by
      rw [← sumL_mul]
      exact sumL_ext _ _ (fun M => (gate_mul _ _).symm) E) pairs2
  rw [e1, ← sumL_swap]
  exact sumL_ext _ _ (fun M => pair_world M (fun P => cntV v (cellColl P))) E

theorem loss2_eq (v : V) (E : List (List V)) :
    Loss2 v E = sumL (fun M => gate (small M && memB (sortV M) pairs2) (cntV v (sortV M))) E := by
  show sumL (fun P => sumL (fun M => gate (small M && lEq (sortV M) P) 1) E * cntV v P) pairs2 = _
  have e1 : sumL (fun P => sumL (fun M => gate (small M && lEq (sortV M) P) 1) E * cntV v P) pairs2
      = sumL (fun P => sumL (fun M => gate (small M && lEq (sortV M) P) (cntV v P)) E) pairs2 :=
    sumL_ext _ _ (fun P => by
      rw [← sumL_mul]
      exact sumL_ext _ _ (fun M => (gate_mul _ _).symm) E) pairs2
  rw [e1, ← sumL_swap]
  exact sumL_ext _ _ (fun M => pair_world M (fun P => cntV v P)) E

/-- **The exact hierarchy.** For every ensemble and every velocity:
    `F'(v) + Loss2(v) + L3(v) = F(v) + Gain2(v) + G3(v)`.
    The change of the one-particle count is the two-particle collision term,
    written with the pair count `F2`, plus the term of cells with ≥ 3 particles. -/
theorem hierarchy (v : V) (E : List (List V)) :
    Fnext v E + Loss2 v E + L3 v E = Fstr v E + Gain2 v E + G3 v E := by
  rw [gain2_eq, loss2_eq]
  show sumL _ E + sumL _ E + sumL _ E = sumL _ E + sumL _ E + sumL _ E
  rw [← sumL_add, ← sumL_add, ← sumL_add, ← sumL_add]
  exact sumL_ext _ _ (world_identity v) E

/-- Every world has at most two particles in the cell. -/
def AllSmall : List (List V) → Prop
  | [] => True
  | M :: Ms => small M = true ∧ AllSmall Ms

theorem g3_zero (v : V) : ∀ E, AllSmall E → G3 v E = 0
  | [], _ => rfl
  | M :: Ms, h => by
    show gate (!(small M)) (cntV v (cc M)) + G3 v Ms = 0
    rw [h.1, g3_zero v Ms h.2]
    rfl

theorem l3_zero (v : V) : ∀ E, AllSmall E → L3 v E = 0
  | [], _ => rfl
  | M :: Ms, h => by
    show gate (!(small M)) (cntV v M) + L3 v Ms = 0
    rw [h.1, l3_zero v Ms h.2]
    rfl

/-- **Dilute case.** If no cell holds three or more particles, the change of
    `F` is exactly the pair collision term in `F2`:
    `F'(v) + Loss2(v) = F(v) + Gain2(v)`. -/
theorem hierarchy_dilute (v : V) (E : List (List V)) (h : AllSmall E) :
    Fnext v E + Loss2 v E = Fstr v E + Gain2 v E := by
  have e := hierarchy v E
  rw [g3_zero v E h, l3_zero v E h, Nat.add_zero, Nat.add_zero] at e
  exact e

/-! ## Molecular chaos: when it holds, and that one step breaks it -/

/-- **Product ensembles factorise.** If the occupations of two velocities are
    chosen independently (all pairs `(a, b)` from `A × B`), then
    `Σ_a Σ_b a b = (Σ a)(Σ b)`: the pair density is the product of the
    one-particle densities, `f2 = f f`. -/
theorem chaos_product (A B : List Nat) :
    sumL (fun a => sumL (fun b => a * b) B) A = sumL (fun a => a) A * sumL (fun b => b) B := by
  have e : sumL (fun a => sumL (fun b => a * b) B) A = sumL (fun a => a * sumL (fun b => b) B) A :=
    sumL_ext _ _ (fun a => sumL_cmul (fun b => b) a B) A
  rw [e, sumL_mul]

/-- Two velocities `(1,0)` and `(-1,0)`, each present or absent independently:
    four worlds, a product ensemble. -/
def chaosEns : List (List V) := [[], [(.p, .z)], [(.m, .z)], [(.m, .z), (.p, .z)]]

/-- **Chaos is not kept by a step.** Before the collision,
    `4 · Σ n₊ n₋ = (Σ n₊)(Σ n₋)`: with four worlds, `f2 = 1/4 = (1/2)(1/2) = f f`.
    After one collision the turned velocities `(0,1)` and `(0,-1)` have
    `4 · Σ n_↑ n_↓ = 4` but `(Σ n_↑)(Σ n_↓) = 1`: `f2 = 1/4 ≠ 1/16 = f f`. -/
theorem chaos_not_kept :
    4 * sumL (fun M => cntV (.p, .z) M * cntV (.m, .z) M) chaosEns
        = sumL (fun M => cntV (.p, .z) M) chaosEns * sumL (fun M => cntV (.m, .z) M) chaosEns ∧
    4 * sumL (fun M => cntV (.z, .p) (cc M) * cntV (.z, .m) (cc M)) chaosEns = 4 ∧
    sumL (fun M => cntV (.z, .p) (cc M)) chaosEns * sumL (fun M => cntV (.z, .m) (cc M)) chaosEns = 1 :=
  ⟨rfl, rfl, rfl⟩

/-! ## Semi-detailed balance -/

/-- A commutative monoid, given by its operations and laws. -/
structure ACM (R : Type) where
  add : R → R → R
  zero : R
  add_assoc : ∀ a b c, add (add a b) c = add a (add b c)
  add_comm : ∀ a b, add a b = add b a
  zero_add : ∀ a, add zero a = a

section Monoid
variable {R : Type} (K : ACM R)

def sumR {A : Type} (f : A → R) : List A → R
  | [] => K.zero
  | a :: as => K.add (f a) (sumR f as)

/-- `n • x`. -/
def nsm (x : R) : Nat → R
  | 0 => K.zero
  | n + 1 => K.add x (nsm x n)

def keyP (P : List V) : Nat := sumL (fun u => idx u) P + 9 * idx (headOr (.z, .z) P)

def insL (P : List V) : List (List V) → List (List V)
  | [] => [P]
  | Q :: Qs => sel (sb (keyP P) (keyP Q)) (P :: Q :: Qs) (Q :: insL P Qs)

def sortL : List (List V) → List (List V)
  | [] => []
  | P :: Ps => insL P (sortL Ps)

theorem sumR_ins (f : List V → R) (P : List V) :
    ∀ l, sumR K f (insL P l) = K.add (f P) (sumR K f l)
  | [] => rfl
  | Q :: Qs => by
    show sumR K f (sel (sb (keyP P) (keyP Q)) (P :: Q :: Qs) (Q :: insL P Qs)) = _
    cases sb (keyP P) (keyP Q) with
    | zero => rfl
    | succ k =>
      show K.add (f Q) (sumR K f (insL P Qs)) = K.add (f P) (K.add (f Q) (sumR K f Qs))
      rw [sumR_ins f P Qs, ← K.add_assoc, K.add_comm (f Q) (f P), K.add_assoc]

theorem sumR_sort (f : List V → R) : ∀ l, sumR K f (sortL l) = sumR K f l
  | [] => rfl
  | P :: Ps => by
    show sumR K f (insL P (sortL Ps)) = K.add (f P) (sumR K f Ps)
    rw [sumR_ins, sumR_sort f Ps]

theorem sumR_map (f : List V → R) (g : List V → List V) :
    ∀ l, sumR K f (l.map g) = sumR K (fun P => f (g P)) l
  | [] => rfl
  | P :: Ps => by
    show K.add (f (g P)) (sumR K f (Ps.map g)) = K.add (f (g P)) (sumR K (fun P => f (g P)) Ps)
    rw [sumR_map f g Ps]

theorem sumR_ext {A : Type} (f g : A → R) (h : ∀ a, f a = g a) : ∀ l, sumR K f l = sumR K g l
  | [] => rfl
  | a :: as => by
    show K.add (f a) (sumR K f as) = K.add (g a) (sumR K g as)
    rw [h a, sumR_ext f g h as]

/-- The 45 pairs, written out. -/
def pairsLit : List (List V) :=
    [[(.p, .p), (.p, .p)], [(.p, .z), (.p, .p)], [(.p, .z), (.p, .z)], [(.p, .m), (.p, .p)], [(.p,
    .m), (.p, .z)], [(.p, .m), (.p, .m)], [(.z, .p), (.p, .p)], [(.z, .p), (.p, .z)], [(.z, .p),
    (.p, .m)], [(.z, .p), (.z, .p)], [(.z, .z), (.p, .p)], [(.z, .z), (.p, .z)], [(.z, .z), (.p,
    .m)], [(.z, .z), (.z, .p)], [(.z, .z), (.z, .z)], [(.z, .m), (.p, .p)], [(.z, .m), (.p, .z)],
    [(.z, .m), (.p, .m)], [(.z, .m), (.z, .p)], [(.z, .m), (.z, .z)], [(.z, .m), (.z, .m)], [(.m,
    .p), (.p, .p)], [(.m, .p), (.p, .z)], [(.m, .p), (.p, .m)], [(.m, .p), (.z, .p)], [(.m, .p),
    (.z, .z)], [(.m, .p), (.z, .m)], [(.m, .p), (.m, .p)], [(.m, .z), (.p, .p)], [(.m, .z), (.p,
    .z)], [(.m, .z), (.p, .m)], [(.m, .z), (.z, .p)], [(.m, .z), (.z, .z)], [(.m, .z), (.z, .m)],
    [(.m, .z), (.m, .p)], [(.m, .z), (.m, .z)], [(.m, .m), (.p, .p)], [(.m, .m), (.p, .z)], [(.m,
    .m), (.p, .m)], [(.m, .m), (.z, .p)], [(.m, .m), (.z, .z)], [(.m, .m), (.z, .m)], [(.m, .m),
    (.m, .p)], [(.m, .m), (.m, .z)], [(.m, .m), (.m, .m)]]

/-- Their images under the collision, written out. -/
def collLit : List (List V) :=
    [[(.p, .p), (.p, .p)], [(.p, .z), (.p, .p)], [(.p, .z), (.p, .z)], [(.p, .m), (.p, .p)], [(.p,
    .m), (.p, .z)], [(.p, .m), (.p, .m)], [(.z, .p), (.p, .p)], [(.z, .z), (.p, .p)], [(.z, .m),
    (.p, .p)], [(.z, .p), (.z, .p)], [(.z, .p), (.p, .z)], [(.z, .z), (.p, .z)], [(.z, .m), (.p,
    .z)], [(.z, .z), (.z, .p)], [(.z, .z), (.z, .z)], [(.z, .p), (.p, .m)], [(.z, .z), (.p, .m)],
    [(.z, .m), (.p, .m)], [(.m, .z), (.p, .z)], [(.z, .m), (.z, .z)], [(.z, .m), (.z, .m)], [(.m,
    .p), (.p, .p)], [(.m, .z), (.p, .p)], [(.m, .m), (.p, .p)], [(.m, .p), (.z, .p)], [(.m, .z),
    (.z, .p)], [(.m, .m), (.z, .p)], [(.m, .p), (.m, .p)], [(.m, .p), (.p, .z)], [(.z, .m), (.z,
    .p)], [(.m, .m), (.p, .z)], [(.m, .p), (.z, .z)], [(.m, .z), (.z, .z)], [(.m, .m), (.z, .z)],
    [(.m, .z), (.m, .p)], [(.m, .z), (.m, .z)], [(.m, .p), (.p, .m)], [(.m, .z), (.p, .m)], [(.m,
    .m), (.p, .m)], [(.m, .p), (.z, .m)], [(.m, .z), (.z, .m)], [(.m, .m), (.z, .m)], [(.m, .m),
    (.m, .p)], [(.m, .m), (.m, .z)], [(.m, .m), (.m, .m)]]

set_option maxRecDepth 100000 in
theorem pairs2_lit : pairs2 = pairsLit := llEq_sound _ _ (by rfl)

set_option maxHeartbeats 1000000 in
set_option maxRecDepth 100000 in
theorem map_lit : pairs2.map cellColl = collLit := llEq_sound _ _ (by rfl)

set_option maxHeartbeats 1000000 in
set_option maxRecDepth 100000 in
/-- **The pair collision permutes the 45 pairs**: sorting the images gives the
    sorted pairs. -/
theorem pairs_perm : sortL collLit = sortL pairsLit := llEq_sound _ _ (by rfl)

/-- Summing over the collided pairs is summing over the pairs. -/
theorem sum_perm (f : List V → R) :
    sumR K (fun P => f (cellColl P)) pairs2 = sumR K f pairs2 :=
  calc sumR K (fun P => f (cellColl P)) pairs2 = sumR K f (pairs2.map cellColl) := (sumR_map K f cellColl pairs2).symm
    _ = sumR K f collLit := by rw [map_lit]
    _ = sumR K f (sortL collLit) := (sumR_sort K f collLit).symm
    _ = sumR K f (sortL pairsLit) := by rw [pairs_perm]
    _ = sumR K f pairsLit := sumR_sort K f pairsLit
    _ = sumR K f pairs2 := by rw [pairs2_lit]

/-- **Semi-detailed balance.** If the pair weight `F` (for example
    `f_u f_w` with `f` a function of the conserved quantities) is the same on
    a pair and on its collided pair, the closed gain of every velocity equals
    its closed loss. -/
theorem balance (F : List V → R) (hF : ∀ P, F (cellColl P) = F P) (v : V) :
    sumR K (fun P => nsm K (F P) (cntV v (cellColl P))) pairs2
      = sumR K (fun P => nsm K (F P) (cntV v P)) pairs2 := by
  have e : sumR K (fun P => nsm K (F P) (cntV v (cellColl P))) pairs2
      = sumR K (fun P => nsm K (F (cellColl P)) (cntV v (cellColl P))) pairs2 :=
    sumR_ext K _ _ (fun P => by rw [hF P]) pairs2
  rw [e]
  exact sum_perm K (fun P => nsm K (F P) (cntV v P))

end Monoid

/-! ## Moments: the collision terms carry no number, momentum or energy -/

def memV (k : V) : List V → Bool
  | [] => false
  | u :: us => vEq k u || memV k us

def nodupV : List V → Bool
  | [] => true
  | u :: us => !(memV u us) && nodupV us

theorem memV_all (u : V) : memV u allV = true := by
  cases u with
  | mk a b => cases a <;> cases b <;> rfl

theorem fiber_zeroV (k : V) (g : V → Nat) :
    ∀ us, memV k us = false → sumL (fun u => gate (vEq k u) (g u)) us = 0
  | [], _ => rfl
  | u :: us, h => by
    show gate (vEq k u) (g u) + sumL (fun u => gate (vEq k u) (g u)) us = 0
    cases e : vEq k u with
    | true =>
      have h' : (vEq k u || memV k us) = false := h
      rw [e] at h'
      exact Bool.noConfusion h'
    | false =>
      have h' : (vEq k u || memV k us) = false := h
      rw [e] at h'
      show 0 + _ = 0
      rw [fiber_zeroV k g us h']

theorem fiberV2 (k : V) (g : V → Nat) :
    ∀ us, memV k us = true → nodupV us = true → sumL (fun u => gate (vEq k u) (g u)) us = g k
  | [], h, _ => Bool.noConfusion h
  | u :: us, h, hn => by
    show gate (vEq k u) (g u) + sumL (fun u => gate (vEq k u) (g u)) us = g k
    have hn1 : memV u us = false := by
      cases e : memV u us with
      | false => rfl
      | true =>
        have hn' : (!(memV u us) && nodupV us) = true := hn
        rw [e] at hn'
        exact Bool.noConfusion hn'
    have hn2 : nodupV us = true := and_true_r hn
    cases e : vEq k u with
    | true =>
      have ku : k = u := vEq_sound k u e
      show g u + _ = g k
      rw [← ku] at hn1
      rw [fiber_zeroV k g us hn1, ← ku]
      rfl
    | false =>
      show 0 + _ = g k
      rw [nzero_add]
      exact fiberV2 k g us (or_false_l h e) hn2

theorem gate_ind (b : Bool) (x : Nat) : x * ind b = gate b x := by
  cases b with
  | true => exact Nat.mul_one x
  | false => rfl

/-- `Σ_v w(v) [u = v] = w(u)`. -/
theorem pick (w : V → Nat) (u : V) : sumL (fun v => w v * ind (vEq u v)) allV = w u := by
  have e : sumL (fun v => w v * ind (vEq u v)) allV = sumL (fun v => gate (vEq u v) (w v)) allV :=
    sumL_ext _ _ (fun v => gate_ind _ _) allV
  rw [e]
  exact fiberV u w
where
  fiberV (u : V) (w : V → Nat) : sumL (fun v => gate (vEq u v) (w v)) allV = w u :=
    fiberV2 u w allV (memV_all u) rfl

/-- `Σ_v w(v) · #(v in M) = Σ_{u ∈ M} w(u)`. -/
theorem moment_cell (w : V → Nat) : ∀ M, sumL (fun v => w v * cntV v M) allV = vsum w M
  | [] => sumL_zero
  | u :: us => by
    show sumL (fun v => w v * (ind (vEq u v) + cntV v us)) allV = w u + vsum w us
    have e : sumL (fun v => w v * (ind (vEq u v) + cntV v us)) allV
        = sumL (fun v => w v * ind (vEq u v) + w v * cntV v us) allV :=
      sumL_ext _ _ (fun v => nleft_distrib _ _ _) allV
    rw [e, sumL_add, pick, moment_cell w us]
where
  sumL_zero : sumL (fun v => w v * cntV v []) allV = vsum w [] := rfl

/-- **The exact collision term has no moments**: for `w` one of the four
    conserved weights, `Σ_v w(v) F'(v) = Σ_v w(v) F(v)` in every cell. -/
theorem moments_exact (w : V → Nat) (hw : CellCons w) (E : List (List V)) :
    sumL (fun v => w v * Fnext v E) allV = sumL (fun v => w v * Fstr v E) allV := by
  show sumL (fun v => w v * sumL (fun M => cntV v (cc M)) E) allV
    = sumL (fun v => w v * sumL (fun M => cntV v M) E) allV
  have e1 : ∀ (g : V → List V → Nat),
      sumL (fun v => w v * sumL (fun M => g v M) E) allV
        = sumL (fun M => sumL (fun v => w v * g v M) allV) E := fun g =>
    (sumL_ext _ _ (fun v => (sumL_cmul (fun M => g v M) (w v) E).symm) allV).trans
      (sumL_swap (fun v M => w v * g v M) E allV)
  rw [e1 (fun v M => cntV v (cc M)), e1 (fun v M => cntV v M)]
  exact sumL_ext _ _ (fun M => by
    rw [moment_cell, moment_cell]
    exact hw (sortV M) |>.trans (vsum_sort w M)) E
where
  vsum_sort (w : V → Nat) (M : List V) : vsum w (sortV M) = vsum w M := by
    rw [← moment_cell w (sortV M), ← moment_cell w M]
    exact sumL_ext _ _ (fun v => by rw [cnt_sort]) allV

/-- **The closed (two-particle) collision term has no moments either**, for
    any pair weights `F2`: `Σ_v w(v) Gain2(v) = Σ_v w(v) Loss2(v)`. -/
theorem moments_closed (w : V → Nat) (hw : CellCons w) (G : List V → Nat) :
    sumL (fun v => w v * sumL (fun P => G P * cntV v (cellColl P)) pairs2) allV
      = sumL (fun v => w v * sumL (fun P => G P * cntV v P) pairs2) allV := by
  have e1 : ∀ (g : V → List V → Nat),
      sumL (fun v => w v * sumL (fun P => G P * g v P) pairs2) allV
        = sumL (fun P => G P * sumL (fun v => w v * g v P) allV) pairs2 := fun g =>
    ((sumL_ext _ _ (fun v => (sumL_cmul (fun P => G P * g v P) (w v) pairs2).symm) allV).trans
      (sumL_swap (fun v P => w v * (G P * g v P)) pairs2 allV)).trans
      (sumL_ext _ _ (fun P => (sumL_ext _ _ (fun v => by
          rw [← nmul_assoc, nmul_comm (w v) (G P), nmul_assoc]) allV).trans
        (sumL_cmul (fun v => w v * g v P) (G P) allV)) pairs2)
  rw [e1 (fun v P => cntV v (cellColl P)), e1 (fun v P => cntV v P)]
  refine sumL_ext _ _ (fun P => ?_) pairs2
  rw [moment_cell, moment_cell, hw P]

end KineticChain

#print axioms KineticChain.sumL_ext
#print axioms KineticChain.sumL_add
#print axioms KineticChain.sumL_mul
#print axioms KineticChain.sumL_cmul
#print axioms KineticChain.sumL_swap
#print axioms KineticChain.gate_mul
#print axioms KineticChain.gate_and_false
#print axioms KineticChain.c3Eq_sound
#print axioms KineticChain.c3Eq_refl
#print axioms KineticChain.vEq_sound
#print axioms KineticChain.vEq_refl
#print axioms KineticChain.lEq_sound
#print axioms KineticChain.lEq_refl
#print axioms KineticChain.llEq_sound
#print axioms KineticChain.or_false_l
#print axioms KineticChain.fiber_zero
#print axioms KineticChain.fiber
#print axioms KineticChain.cnt_ins
#print axioms KineticChain.cnt_sort
#print axioms KineticChain.pairs2_nodup
#print axioms KineticChain.pairs2_mem
#print axioms KineticChain.cc_nil
#print axioms KineticChain.cc_single
#print axioms KineticChain.same_velocity_no_coll
#print axioms KineticChain.pair_world
#print axioms KineticChain.gate_true
#print axioms KineticChain.gate_false
#print axioms KineticChain.single_not_pair
#print axioms KineticChain.world_identity
#print axioms KineticChain.gain2_eq
#print axioms KineticChain.loss2_eq
#print axioms KineticChain.hierarchy
#print axioms KineticChain.g3_zero
#print axioms KineticChain.l3_zero
#print axioms KineticChain.hierarchy_dilute
#print axioms KineticChain.chaos_product
#print axioms KineticChain.chaos_not_kept
#print axioms KineticChain.sumR_ins
#print axioms KineticChain.sumR_sort
#print axioms KineticChain.sumR_map
#print axioms KineticChain.sumR_ext
#print axioms KineticChain.pairs2_lit
#print axioms KineticChain.map_lit
#print axioms KineticChain.pairs_perm
#print axioms KineticChain.sum_perm
#print axioms KineticChain.balance
#print axioms KineticChain.memV_all
#print axioms KineticChain.fiber_zeroV
#print axioms KineticChain.fiberV2
#print axioms KineticChain.gate_ind
#print axioms KineticChain.pick
#print axioms KineticChain.moment_cell
#print axioms KineticChain.moments_exact
#print axioms KineticChain.moments_closed

KoszulRangeChain.lean

lean_all/KoszulRangeChain.lean

/-
  KoszulRangeChain — T35 R1: "cohomology vanishes outside the range" ↔ "Koszul form with a
  regular sequence", for l0 = 1 and l0 = 2.

  The patched complex of Calegari–Geraghty is, in the good case, the Koszul complex of
  f_1, …, f_{l0} over the patched ring; its cohomology is concentrated in the top degree of
  the range [q0, q0 + l0] exactly when the lower Koszul homology vanishes.

    l0 = 1:  range1_iff         H_1(x) = 0  ↔  x regular
    l0 = 2:  range2_of_regular  (x, y) regular  ⇒  H_2 = 0 and H_1 = 0       (DetChain.koszul2_*)
             regular_of_range2  x regular and H_1 = 0  ⇒  (x, y) regular
             range2_iff         for x regular:  H_1 = 0  ↔  (x, y) regular
  The hypothesis "x regular" cannot be dropped in a general ring: over ℤ/6 with (x, y) = (2, 3)
  the Koszul complex is exact (the ideal is the unit ideal) while 2·3 = 0.
  In a Noetherian local ring with x, y in the maximal ideal it can be dropped (Matsumura,
  Commutative Ring Theory, Thm 16.5); that step is cited, not proved here.

  Lean 4 core only, proofs by hand, no axioms.
-/
import DetChain

namespace KoszulRangeChain

open DetChain

variable {R : Type} (K : CRing R)

/-- `H_1` of the length-one Koszul complex `0 → R --x--> R → 0` vanishes. -/
def H1zero1 (x : R) : Prop := ∀ r, K.mul r x = K.zero → r = K.zero

/-- `H_2` of the length-two Koszul complex vanishes. -/
def H2zero (x y : R) : Prop := ∀ r, d2 K x y r = (K.zero, K.zero) → r = K.zero

/-- `H_1` of the length-two Koszul complex vanishes. -/
def H1zero (x y : R) : Prop := ∀ a b, d1 K x y (a, b) = K.zero → ∃ r, (a, b) = d2 K x y r

theorem range1_iff (x : R) : H1zero1 K x ↔ Regular1 K x := Iff.rfl

theorem range2_of_regular (x y : R) (h : Regular2 K x y) : H2zero K x y ∧ H1zero K x y :=
  ⟨fun r hr => koszul2_H2 K x y h r hr, fun a b hab => koszul2_H1 K x y h a b hab⟩

theorem regular_of_range2 (x y : R) (hx : Regular1 K x) (h1 : H1zero K x y) : Regular2 K x y := by
  refine ⟨hx, fun b c hbc => ?_⟩
  -- (−c) x + b y = 0
  have hd : d1 K x y (K.neg c, b) = K.zero := by
    show K.add (K.mul (K.neg c) x) (K.mul b y) = K.zero
    rw [neg_mul_left, hbc, add_neg']
  obtain ⟨r, hr⟩ := h1 (K.neg c) b hd
  exact ⟨r, congrArg Prod.snd hr⟩

theorem range2_iff (x y : R) (hx : Regular1 K x) : H1zero K x y ↔ Regular2 K x y :=
  ⟨regular_of_range2 K x y hx, fun h => (range2_of_regular K x y h).2⟩

end KoszulRangeChain

#print axioms KoszulRangeChain.range1_iff
#print axioms KoszulRangeChain.range2_of_regular
#print axioms KoszulRangeChain.regular_of_range2
#print axioms KoszulRangeChain.range2_iff

NSChain.lean

lean_all/NSChain.lean

/-
  NSChain.lean
  The algebra of the Navier–Stokes energy identity, in discrete models (T37, R2/R4/R5).

  Lean 4 core plus DetChain (`CRing`: a commutative ring given by its operations and
  laws, and the ring lemmas proved there). Proofs are hand-written rewriting and
  induction; no omega / simp / ring / decide / norm_num / linarith.

  Every statement holds in every commutative ring (ℤ, ℚ, ℝ, …), and for every number
  of modes N: the models are finite truncations, the theorems are uniform in N.

  Proved here:
    sumN_add, sumN_zero, sumN_neg, sumN_mul_left    sums over 0..N-1
    telescope                    Σ_{n<N} (g n − g (n+1)) = g 0 − g N
    dyadic_energy_neutral        the dyadic (Desnyansky–Novikov / Katz–Pavlović) nonlinearity
                                 Σ a_{n+1}(c_n a_n² − c_{n+1} a_{n+1} a_{n+2}) = 0 for every N, c
    lsum_*, double_antisym       Σ_i Σ_j T i j = 0 when T j i = −T i j and T i i = 0
    galerkin_neutral             every Galerkin truncation with b(u,v,w) = −b(u,w,v):
                                 Σ_i a_i Σ_j a_j Σ_k C i j k a_k = 0
    sq_diff                      a'² = a² + (a' − a)(a' + a)
    cn_energy                    Crank–Nicolson step of a viscous energy-neutral system:
                                 E' + h ν Σ k_n s_n² = E   (s = a' + a), exactly
    le_trans', dissipation_nonneg, cn_decreasing    with an order (nonnegative cone):
                                 E' ≤ E at every step
    sq_sum_nonneg, mode_le_energy                   a_m² ≤ E for every mode m < N
    cn_global                    all steps t, all modes m: a_t(m)² ≤ E(a_0)
                                 (global boundedness of every discrete viscous model,
                                 uniform in t and N: the "regularity" of the truncation)
    degiorgi_iteration           Nat: Q U_{k+1} ≤ C^k U_k², C U_0 ≤ Q, Q > 0
                                 ⇒ C^k U_k ≤ U_0 for all k (De Giorgi's iteration lemma, β = 2)
    dyadic_example               a 3-shell integer check of dyadic_energy_neutral (rfl)
-/
import DetChain

namespace NSChain
open DetChain

section Ring
variable {R : Type} (K : CRing R)

/-! ## Sums over 0..N-1 -/

def sumN (f : Nat → R) : Nat → R
  | 0 => K.zero
  | n + 1 => K.add (sumN f n) (f n)

theorem sumN_add (f g : Nat → R) :
    ∀ N, sumN K (fun n => K.add (f n) (g n)) N = K.add (sumN K f N) (sumN K g N)
  | 0 => (K.zero_add K.zero).symm
  | N + 1 => by
    show K.add (sumN K (fun n => K.add (f n) (g n)) N) (K.add (f N) (g N))
      = K.add (K.add (sumN K f N) (f N)) (K.add (sumN K g N) (g N))
    rw [sumN_add f g N, add_mid4 K]

theorem sumN_zero : ∀ N, sumN K (fun _ => K.zero) N = K.zero
  | 0 => rfl
  | N + 1 => by
    show K.add (sumN K (fun _ => K.zero) N) K.zero = K.zero
    rw [sumN_zero N, K.zero_add]

theorem sumN_ext (f g : Nat → R) (h : ∀ n, f n = g n) : ∀ N, sumN K f N = sumN K g N
  | 0 => rfl
  | N + 1 => by
    show K.add (sumN K f N) (f N) = K.add (sumN K g N) (g N)
    rw [sumN_ext f g h N, h N]

theorem sumN_neg (f : Nat → R) (N : Nat) :
    sumN K (fun n => K.neg (f n)) N = K.neg (sumN K f N) := by
  apply neg_unique K
  rw [K.add_comm, ← sumN_add]
  rw [sumN_ext K _ (fun _ => K.zero) (fun n => K.add_neg (f n)) N]
  exact sumN_zero K N

theorem sumN_mul_left (c : R) (f : Nat → R) :
    ∀ N, sumN K (fun n => K.mul c (f n)) N = K.mul c (sumN K f N)
  | 0 => (mul_zero K c).symm
  | N + 1 => by
    show K.add (sumN K (fun n => K.mul c (f n)) N) (K.mul c (f N))
      = K.mul c (K.add (sumN K f N) (f N))
    rw [sumN_mul_left c f N, K.distrib]

/-- Telescoping. -/
theorem telescope (g : Nat → R) :
    ∀ N, sumN K (fun n => K.add (g n) (K.neg (g (n + 1)))) N = K.add (g 0) (K.neg (g N))
  | 0 => (K.add_neg (g 0)).symm
  | N + 1 => by
    show K.add (sumN K (fun n => K.add (g n) (K.neg (g (n + 1)))) N) (K.add (g N) (K.neg (g (N + 1))))
      = K.add (g 0) (K.neg (g (N + 1)))
    rw [telescope g N, K.add_assoc, ← K.add_assoc (K.neg (g N)), add_neg' K, K.zero_add]

/-! ## The dyadic model -/

/-- The dyadic nonlinearity of shell n+1 (shell 0 is the boundary a 0 = 0):
    c_n a_n² − c_{n+1} a_{n+1} a_{n+2}. With c_n = λ^n this is the Desnyansky–Novikov /
    Katz–Pavlović model. -/
def dyN (c a : Nat → R) (n : Nat) : R :=
  K.add (K.mul (c n) (K.mul (a n) (a n))) (K.neg (K.mul (c (n + 1)) (K.mul (a (n + 1)) (a (n + 2)))))

theorem mul_neg' (a b : R) : K.mul a (K.neg b) = K.neg (K.mul a b) := by
  rw [K.mul_comm, neg_mul_left K, K.mul_comm]

/-- Energy flux through shell n: g n = c_n a_n² a_{n+1}. -/
def flux (c a : Nat → R) (n : Nat) : R := K.mul (K.mul (c n) (K.mul (a n) (a n))) (a (n + 1))

theorem dyadic_term (c a : Nat → R) (n : Nat) :
    K.mul (a (n + 1)) (dyN K c a n) = K.add (flux K c a n) (K.neg (flux K c a (n + 1))) := by
  unfold dyN flux
  rw [K.distrib, mul_neg', K.mul_comm (a (n + 1)) (K.mul (c n) (K.mul (a n) (a n)))]
  -- a_{n+1} (c_{n+1} (a_{n+1} a_{n+2})) = c_{n+1} (a_{n+1} a_{n+1}) a_{n+2}
  have e : K.mul (a (n + 1)) (K.mul (c (n + 1)) (K.mul (a (n + 1)) (a (n + 2))))
      = K.mul (K.mul (c (n + 1)) (K.mul (a (n + 1)) (a (n + 1)))) (a (n + 1 + 1)) := by
    rw [← K.mul_assoc, K.mul_comm (a (n + 1)) (c (n + 1)), K.mul_assoc, K.mul_assoc,
      ← K.mul_assoc (a (n + 1)) (a (n + 1))]
  rw [e]

/-- The dyadic nonlinearity is energy neutral, for every N and every coefficient sequence. -/
theorem dyadic_energy_neutral (c a : Nat → R) (N : Nat) (h0 : a 0 = K.zero)
    (hN : a (N + 1) = K.zero) :
    sumN K (fun n => K.mul (a (n + 1)) (dyN K c a n)) N = K.zero := by
  rw [sumN_ext K _ _ (dyadic_term K c a) N, telescope]
  have g0 : flux K c a 0 = K.zero := by
    unfold flux
    rw [h0, mul_zero K, mul_zero K, zero_mul']
  have gN : flux K c a N = K.zero := by
    unfold flux
    rw [hN, mul_zero K]
  rw [g0, gN, K.zero_add]
  exact (neg_unique K K.zero K.zero (K.zero_add K.zero)).symm

/-! ## Galerkin truncations: an antisymmetric trilinear form -/

def lsum {I : Type} (f : I → R) : List I → R
  | [] => K.zero
  | x :: l => K.add (f x) (lsum f l)

theorem lsum_add {I : Type} (f g : I → R) :
    ∀ l : List I, lsum K (fun i => K.add (f i) (g i)) l = K.add (lsum K f l) (lsum K g l)
  | [] => (K.zero_add K.zero).symm
  | x :: l => by
    show K.add (K.add (f x) (g x)) (lsum K (fun i => K.add (f i) (g i)) l)
      = K.add (K.add (f x) (lsum K f l)) (K.add (g x) (lsum K g l))
    rw [lsum_add f g l, add_mid4 K]

theorem lsum_ext {I : Type} (f g : I → R) (h : ∀ i, f i = g i) :
    ∀ l : List I, lsum K f l = lsum K g l
  | [] => rfl
  | x :: l => by
    show K.add (f x) (lsum K f l) = K.add (g x) (lsum K g l)
    rw [h x, lsum_ext f g h l]

theorem lsum_zero {I : Type} : ∀ l : List I, lsum K (fun _ => K.zero) l = K.zero
  | [] => rfl
  | _ :: l => by
    show K.add K.zero (lsum K (fun _ => K.zero) l) = K.zero
    rw [lsum_zero l, K.zero_add]

theorem lsum_neg {I : Type} (f : I → R) (l : List I) :
    lsum K (fun i => K.neg (f i)) l = K.neg (lsum K f l) := by
  apply neg_unique K
  rw [K.add_comm, ← lsum_add]
  rw [lsum_ext K _ (fun _ => K.zero) (fun i => K.add_neg (f i)) l]
  exact lsum_zero K l

theorem lsum_mul_left {I : Type} (c : R) (f : I → R) :
    ∀ l : List I, lsum K (fun i => K.mul c (f i)) l = K.mul c (lsum K f l)
  | [] => (mul_zero K c).symm
  | x :: l => by
    show K.add (K.mul c (f x)) (lsum K (fun i => K.mul c (f i)) l)
      = K.mul c (K.add (f x) (lsum K f l))
    rw [lsum_mul_left c f l, K.distrib]

/-- Σ_{i∈l} Σ_{j∈l} T i j = 0 when T is antisymmetric with zero diagonal. -/
theorem double_antisym {I : Type} (T : I → I → R) (hanti : ∀ i j, T j i = K.neg (T i j))
    (hdiag : ∀ i, T i i = K.zero) :
    ∀ l : List I, lsum K (fun i => lsum K (fun j => T i j) l) l = K.zero := by
  -- the general statement with the row list growing in front
  have row : ∀ (x : I) (l : List I),
      lsum K (fun i => lsum K (fun j => T i j) (x :: l)) l
        = K.add (K.neg (lsum K (fun j => T x j) l)) (lsum K (fun i => lsum K (fun j => T i j) l) l) := by
    intro x l
    have e : ∀ i, lsum K (fun j => T i j) (x :: l) = K.add (T i x) (lsum K (fun j => T i j) l) :=
      fun _ => rfl
    rw [lsum_ext K _ _ e l, lsum_add]
    rw [lsum_ext K (fun i => T i x) (fun i => K.neg (T x i)) (fun i => hanti x i) l, lsum_neg]
  intro l
  induction l with
  | nil => rfl
  | cons x l ih =>
    show K.add (lsum K (fun j => T x j) (x :: l)) (lsum K (fun i => lsum K (fun j => T i j) (x :: l)) l)
      = K.zero
    rw [row x l, ih]
    show K.add (K.add (T x x) (lsum K (fun j => T x j) l))
      (K.add (K.neg (lsum K (fun j => T x j) l)) K.zero) = K.zero
    rw [hdiag x, K.zero_add, add_zero', K.add_neg]

/-- Galerkin energy neutrality: if the interaction coefficients satisfy
    C j i k = −C i j k (the identity b(u,v,w) = −b(u,w,v) of div-free fields,
    written in a basis) and C i i k = 0, then Σ_i a_i N_i(a) = 0 with
    N_i(a) = Σ_j a_j Σ_k C i j k a_k. Every finite mode set, every ring. -/
theorem galerkin_neutral {I : Type} (C : I → I → I → R) (a : I → R)
    (hanti : ∀ i j k, C j i k = K.neg (C i j k)) (hdiag : ∀ i k, C i i k = K.zero) (l : List I) :
    lsum K (fun i => K.mul (a i) (lsum K (fun j => K.mul (a j)
      (lsum K (fun k => K.mul (C i j k) (a k)) l)) l)) l = K.zero := by
  let D : I → I → R := fun i j => lsum K (fun k => K.mul (C i j k) (a k)) l
  let T : I → I → R := fun i j => K.mul (a i) (K.mul (a j) (D i j))
  have hD : ∀ i j, D j i = K.neg (D i j) := by
    intro i j
    show lsum K (fun k => K.mul (C j i k) (a k)) l = K.neg (lsum K (fun k => K.mul (C i j k) (a k)) l)
    rw [← lsum_neg]
    apply lsum_ext
    intro k
    rw [hanti i j k, neg_mul_left K]
  have hT : ∀ i j, T j i = K.neg (T i j) := by
    intro i j
    show K.mul (a j) (K.mul (a i) (D j i)) = K.neg (K.mul (a i) (K.mul (a j) (D i j)))
    rw [hD i j, mul_neg', mul_neg', ← K.mul_assoc, K.mul_comm (a j) (a i), K.mul_assoc]
  have hT0 : ∀ i, T i i = K.zero := by
    intro i
    show K.mul (a i) (K.mul (a i) (lsum K (fun k => K.mul (C i i k) (a k)) l)) = K.zero
    rw [lsum_ext K _ (fun _ => K.zero) (fun k => by rw [hdiag i k, zero_mul']) l, lsum_zero,
      mul_zero K, mul_zero K]
  have e : ∀ i, K.mul (a i) (lsum K (fun j => K.mul (a j) (D i j)) l)
      = lsum K (fun j => T i j) l := fun i => (lsum_mul_left K (a i) _ l).symm
  show lsum K (fun i => K.mul (a i) (lsum K (fun j => K.mul (a j) (D i j)) l)) l = K.zero
  rw [lsum_ext K _ _ e l]
  exact double_antisym K T hT hT0 l

/-! ## A Crank–Nicolson step: the exact discrete energy identity -/

theorem sq_diff (a' a : R) :
    K.mul a' a' = K.add (K.mul a a) (K.mul (K.add a' (K.neg a)) (K.add a' a)) := by
  -- (a' − a)(a' + a) = a'a' + a'a − a a' − a a
  rw [right_distrib K, K.distrib, K.distrib, neg_mul_left K, neg_mul_left K,
    K.mul_comm a' a]
  -- a a + ((a'a' + a a') + (−(a a') + −(a a)))
  rw [K.add_assoc (K.mul a' a') (K.mul a a'), ← K.add_assoc (K.mul a a') (K.neg (K.mul a a')),
    K.add_neg, K.zero_add, K.add_comm (K.mul a' a') (K.neg (K.mul a a)), ← K.add_assoc,
    K.add_neg, K.zero_add]

/-- One Crank–Nicolson step of the viscous system  a' − a = h (−ν k ⊙ s + N),
    s = a' + a, where N is energy neutral at s (Σ s_n N_n = 0; e.g. dyadic_energy_neutral
    or galerkin_neutral evaluated at s). Then E(a') + h ν Σ k_n s_n² = E(a), exactly. -/
theorem cn_energy (a a' k Nn : Nat → R) (h nu : R) (N : Nat)
    (step : ∀ n, K.add (a' n) (K.neg (a n))
      = K.mul h (K.add (K.neg (K.mul nu (K.mul (k n) (K.add (a' n) (a n))))) (Nn n)))
    (neutral : sumN K (fun n => K.mul (K.add (a' n) (a n)) (Nn n)) N = K.zero) :
    K.add (sumN K (fun n => K.mul (a' n) (a' n)) N)
      (K.mul h (K.mul nu (sumN K (fun n => K.mul (k n) (K.mul (K.add (a' n) (a n)) (K.add (a' n) (a n)))) N)))
      = sumN K (fun n => K.mul (a n) (a n)) N := by
  let s : Nat → R := fun n => K.add (a' n) (a n)
  let D : Nat → R := fun n => K.mul (k n) (K.mul (s n) (s n))
  have e1 : ∀ n, K.mul (a' n) (a' n)
      = K.add (K.mul (a n) (a n))
          (K.add (K.neg (K.mul h (K.mul nu (D n)))) (K.mul h (K.mul (s n) (Nn n)))) := by
    intro n
    rw [sq_diff K (a' n) (a n), step n]
    show K.add (K.mul (a n) (a n))
        (K.mul (K.mul h (K.add (K.neg (K.mul nu (K.mul (k n) (s n)))) (Nn n))) (s n)) = _
    rw [K.mul_assoc, right_distrib K, neg_mul_left K, K.distrib, mul_neg', K.mul_comm (Nn n) (s n)]
    have e : K.mul (K.mul nu (K.mul (k n) (s n))) (s n) = K.mul nu (D n) := by
      show K.mul (K.mul nu (K.mul (k n) (s n))) (s n) = K.mul nu (K.mul (k n) (K.mul (s n) (s n)))
      rw [K.mul_assoc, K.mul_assoc]
    rw [e]
  rw [sumN_ext K _ _ e1 N, sumN_add, sumN_add, sumN_neg, sumN_mul_left, sumN_mul_left,
    sumN_mul_left]
  show K.add (K.add (sumN K (fun n => K.mul (a n) (a n)) N)
      (K.add (K.neg (K.mul h (K.mul nu (sumN K D N))))
        (K.mul h (sumN K (fun n => K.mul (s n) (Nn n)) N))))
    (K.mul h (K.mul nu (sumN K D N))) = _
  have neutral' : sumN K (fun n => K.mul (s n) (Nn n)) N = K.zero := neutral
  rw [neutral', mul_zero K, add_zero', K.add_assoc, add_neg' K, add_zero']

/-! ## Order: a nonnegative cone -/

/-- The nonnegative elements of an ordered commutative ring (ℤ, ℚ, ℝ): closed under
    + and ·, containing 0 and every square. -/
structure Cone (K : CRing R) where
  nn : R → Prop
  nn_zero : nn K.zero
  nn_add : ∀ x y, nn x → nn y → nn (K.add x y)
  nn_mul : ∀ x y, nn x → nn y → nn (K.mul x y)
  nn_sq : ∀ x, nn (K.mul x x)

/-- x ≤ y : y = x + (something nonnegative). -/
def Le (P : Cone K) (x y : R) : Prop := ∃ d, P.nn d ∧ K.add x d = y

theorem le_refl' (P : Cone K) (x : R) : Le K P x x := ⟨K.zero, P.nn_zero, add_zero' K x⟩

theorem le_trans' (P : Cone K) (x y z : R) (h1 : Le K P x y) (h2 : Le K P y z) : Le K P x z := by
  cases h1 with
  | intro d1 h1 =>
    cases h2 with
    | intro d2 h2 =>
      refine ⟨K.add d1 d2, P.nn_add d1 d2 h1.1 h2.1, ?_⟩
      rw [← K.add_assoc, h1.2, h2.2]

theorem sumN_nn (P : Cone K) (f : Nat → R) (hf : ∀ n, P.nn (f n)) : ∀ N, P.nn (sumN K f N)
  | 0 => P.nn_zero
  | N + 1 => P.nn_add _ _ (sumN_nn P f hf N) (hf N)

theorem sq_sum_nonneg (P : Cone K) (a : Nat → R) (N : Nat) :
    P.nn (sumN K (fun n => K.mul (a n) (a n)) N) :=
  sumN_nn K P _ (fun n => P.nn_sq (a n)) N

theorem dissipation_nonneg (P : Cone K) (h nu : R) (k s : Nat → R) (N : Nat)
    (hh : P.nn h) (hnu : P.nn nu) (hk : ∀ n, P.nn (k n)) :
    P.nn (K.mul h (K.mul nu (sumN K (fun n => K.mul (k n) (K.mul (s n) (s n))) N))) :=
  P.nn_mul _ _ hh (P.nn_mul _ _ hnu (sumN_nn K P _ (fun n => P.nn_mul _ _ (hk n) (P.nn_sq (s n))) N))

/-- The energy does not increase in one Crank–Nicolson step (h, ν, k_n ≥ 0). -/
theorem cn_decreasing (P : Cone K) (a a' k Nn : Nat → R) (h nu : R) (N : Nat)
    (hh : P.nn h) (hnu : P.nn nu) (hk : ∀ n, P.nn (k n))
    (step : ∀ n, K.add (a' n) (K.neg (a n))
      = K.mul h (K.add (K.neg (K.mul nu (K.mul (k n) (K.add (a' n) (a n))))) (Nn n)))
    (neutral : sumN K (fun n => K.mul (K.add (a' n) (a n)) (Nn n)) N = K.zero) :
    Le K P (sumN K (fun n => K.mul (a' n) (a' n)) N) (sumN K (fun n => K.mul (a n) (a n)) N) :=
  ⟨_, dissipation_nonneg K P h nu k (fun n => K.add (a' n) (a n)) N hh hnu hk,
    cn_energy K a a' k Nn h nu N step neutral⟩

/-- Each mode is bounded by the energy: a_m² ≤ Σ_{n<N} a_n² for m < N. -/
theorem mode_le_energy (P : Cone K) (a : Nat → R) :
    ∀ N m, m < N → Le K P (K.mul (a m) (a m)) (sumN K (fun n => K.mul (a n) (a n)) N)
  | 0, _, hm => absurd hm (Nat.not_lt_zero _)
  | N + 1, m, hm => by
    cases Nat.lt_or_eq_of_le (Nat.le_of_lt_succ hm) with
    | inl hlt =>
      cases mode_le_energy P a N m hlt with
      | intro d hd =>
        refine ⟨K.add d (K.mul (a N) (a N)), P.nn_add _ _ hd.1 (P.nn_sq (a N)), ?_⟩
        show K.add (K.mul (a m) (a m)) (K.add d (K.mul (a N) (a N)))
          = K.add (sumN K (fun n => K.mul (a n) (a n)) N) (K.mul (a N) (a N))
        rw [← K.add_assoc, hd.2]
    | inr heq =>
      refine ⟨sumN K (fun n => K.mul (a n) (a n)) N, sq_sum_nonneg K P a N, ?_⟩
      rw [heq]
      exact K.add_comm _ _

/-- Global boundedness of a discrete viscous energy-neutral model: if every time step is a
    Crank–Nicolson step as in `cn_energy` (with h, ν, k_n ≥ 0), then for every time t and
    every mode m < N, a_t(m)² ≤ E(a_0). Uniform in t and in the truncation N. -/
theorem cn_global (P : Cone K) (a : Nat → Nat → R) (k : Nat → R) (Nn : Nat → Nat → R)
    (h nu : R) (N : Nat) (hh : P.nn h) (hnu : P.nn nu) (hk : ∀ n, P.nn (k n))
    (step : ∀ t n, K.add (a (t + 1) n) (K.neg (a t n))
      = K.mul h (K.add (K.neg (K.mul nu (K.mul (k n) (K.add (a (t + 1) n) (a t n))))) (Nn t n)))
    (neutral : ∀ t, sumN K (fun n => K.mul (K.add (a (t + 1) n) (a t n)) (Nn t n)) N = K.zero) :
    (∀ t, Le K P (sumN K (fun n => K.mul (a t n) (a t n)) N) (sumN K (fun n => K.mul (a 0 n) (a 0 n)) N)) ∧
    (∀ t m, m < N → Le K P (K.mul (a t m) (a t m)) (sumN K (fun n => K.mul (a 0 n) (a 0 n)) N)) := by
  have hE : ∀ t, Le K P (sumN K (fun n => K.mul (a t n) (a t n)) N)
      (sumN K (fun n => K.mul (a 0 n) (a 0 n)) N) := by
    intro t
    induction t with
    | zero => exact le_refl' K P _
    | succ t ih =>
      exact le_trans' K P _ _ _
        (cn_decreasing K P (a t) (a (t + 1)) k (Nn t) h nu N hh hnu hk (step t) (neutral t)) ih
  exact ⟨hE, fun t m hm => le_trans' K P _ _ _ (mode_le_energy K P (a t) N m hm) (hE t)⟩

end Ring

/-! ## De Giorgi's iteration lemma (β = 2), in ℕ -/

/-- If Q·U_{k+1} ≤ C^k·U_k² for all k, C·U_0 ≤ Q and Q > 0, then C^k·U_k ≤ U_0 for all k:
    the level-set energies decay geometrically (U_k ≤ U_0 / C^k), so U_k → 0 when C ≥ 2.
    This is the step that turns ε-smallness into boundedness in De Giorgi's method;
    for Navier–Stokes the exponent is β = 5/3 (Vasseur 2007) instead of 2. -/
theorem degiorgi_iteration (U : Nat → Nat) (C Q : Nat) (hQ : 0 < Q)
    (hrec : ∀ k, Q * U (k + 1) ≤ C ^ k * (U k * U k)) (h0 : C * U 0 ≤ Q) :
    ∀ k, C ^ k * U k ≤ U 0
  | 0 => by rw [Nat.pow_zero, Nat.one_mul]; exact Nat.le_refl _
  | k + 1 => by
    have ih := degiorgi_iteration U C Q hQ hrec h0 k
    apply Nat.le_of_mul_le_mul_left _ hQ
    -- Q (C^{k+1} U_{k+1}) = C^{k+1} (Q U_{k+1}) ≤ C^{k+1} C^k U_k² = C (C^k U_k)(C^k U_k) ≤ C U0 U0 ≤ Q U0
    have e1 : Q * (C ^ (k + 1) * U (k + 1)) = C ^ (k + 1) * (Q * U (k + 1)) := by
      rw [← FTAChain.nmul_assoc, FTAChain.nmul_comm Q (C ^ (k + 1)), FTAChain.nmul_assoc]
    have e2 : C ^ (k + 1) * (C ^ k * (U k * U k)) = C * (C ^ k * U k) * (C ^ k * U k) := by
      have e3 : C ^ k * (C ^ k * (U k * U k)) = C ^ k * U k * (C ^ k * U k) := by
        rw [FTAChain.nmul_assoc (C ^ k) (U k), FTAChain.nmul_comm (U k) (C ^ k * U k),
          FTAChain.nmul_assoc (C ^ k) (U k) (U k)]
      rw [Nat.pow_succ', FTAChain.nmul_assoc, e3, ← FTAChain.nmul_assoc]
    rw [e1]
    apply Nat.le_trans (Nat.mul_le_mul_left (C ^ (k + 1)) (hrec k))
    rw [e2]
    apply Nat.le_trans (Nat.mul_le_mul (Nat.mul_le_mul_left C ih) ih)
    exact Nat.mul_le_mul_right (U 0) h0

/-! ## A finite check over ℤ-like integers: three shells, c_n = 2^n -/

def dyadicInt (c a : Nat → Int) (N : Nat) : Int :=
  (List.range N).foldl (fun acc n => acc + a (n + 1) * (c n * (a n * a n) - c (n + 1) * (a (n + 1) * a (n + 2)))) 0

def shells : Nat → Int
  | 1 => 3
  | 2 => -5
  | 3 => 7
  | _ => 0

theorem dyadic_example : dyadicInt (fun n => 2 ^ n) shells 3 = 0 := rfl

end NSChain

#print axioms NSChain.sumN_add
#print axioms NSChain.sumN_zero
#print axioms NSChain.sumN_ext
#print axioms NSChain.sumN_neg
#print axioms NSChain.sumN_mul_left
#print axioms NSChain.telescope
#print axioms NSChain.mul_neg'
#print axioms NSChain.dyadic_term
#print axioms NSChain.dyadic_energy_neutral
#print axioms NSChain.lsum_add
#print axioms NSChain.lsum_ext
#print axioms NSChain.lsum_zero
#print axioms NSChain.lsum_neg
#print axioms NSChain.lsum_mul_left
#print axioms NSChain.double_antisym
#print axioms NSChain.galerkin_neutral
#print axioms NSChain.sq_diff
#print axioms NSChain.cn_energy
#print axioms NSChain.le_refl'
#print axioms NSChain.le_trans'
#print axioms NSChain.sumN_nn
#print axioms NSChain.sq_sum_nonneg
#print axioms NSChain.dissipation_nonneg
#print axioms NSChain.cn_decreasing
#print axioms NSChain.mode_le_energy
#print axioms NSChain.cn_global
#print axioms NSChain.degiorgi_iteration
#print axioms NSChain.dyadic_example

NonAbChain.lean

lean_all/NonAbChain.lean

/-
  NonAbChain.lean
  Non-abelian reciprocity for S3 (link 73).

  Lean 4 core plus the earlier work/ files (ESChain for `mul1m`, `oneS`, `nth`,
  `primes200`; HeckeChain for `intEq`). Proofs are hand-written terms;
  no omega / simp / ring / decide / norm_num / linarith. Concrete checks use `rfl`.

  S3 is listed as the six permutations of Fin 3. The 2-dimensional
  irreducible character is χ = (fixed points) - 1. The weight-1 form
  η(z)η(23z) = q Π (1-q^n)(1-q^(23n)) has a_p = r_p - 1, where r_p is the
  number of roots of x^3 - x - 1 mod p (the splitting field of that cubic has
  Galois group S3 and discriminant -23).

  Proved here:
    perms_list, fix_values, chi_values      the six permutations, fixed points, χ
    comp_check, inv_check                   composition and inverse are right
    chi_class                               χ(h g h⁻¹) = χ(g) for all 36 pairs
    chi_norm                                Σ χ(g)^2 = 6, i.e. ⟨χ, χ⟩ = 1
    noncomm_bool, noncomm                   στ ≠ τσ
    a23List_eq, a23_values                  coefficients of η(z)η(23z), n ≤ 200
    r_values                                r_p for small p
    ap_eq_rp                                a_p = r_p - 1, primes p < 200, p ≠ 23
    rp_013                                  r_p ∈ {0, 1, 3} for the same p
-/
import HeckeChain

namespace NonAbChain
open FTAChain HeckeChain

/-! ## S3 as the permutations of Fin 3 -/

/-- A map `Fin 3 → Fin 3` given by its values at 0, 1, 2. -/
structure P3 where
  a : Fin 3
  b : Fin 3
  c : Fin 3

def f0 : Fin 3 := ⟨0, Nat.zero_lt_succ 2⟩
def f1 : Fin 3 := ⟨1, Nat.succ_lt_succ (Nat.zero_lt_succ 1)⟩
def f2 : Fin 3 := ⟨2, Nat.succ_lt_succ (Nat.succ_lt_succ (Nat.zero_lt_succ 0))⟩

def app (s : P3) (i : Fin 3) : Fin 3 :=
  match i.val with
  | 0 => s.a
  | 1 => s.b
  | _ + 2 => s.c

/-- `(s ∘ t)(i) = s (t i)`. -/
def comp (s t : P3) : P3 := ⟨app s (app t f0), app s (app t f1), app s (app t f2)⟩

def finEq (i j : Fin 3) : Bool := Nat.beq i.val j.val

def p3Eq (s t : P3) : Bool := finEq s.a t.a && finEq s.b t.b && finEq s.c t.c

/-- The preimage of `j` under a permutation. -/
def pre (s : P3) (j : Fin 3) : Fin 3 :=
  match finEq s.a j with
  | true => f0
  | false => match finEq s.b j with
    | true => f1
    | false => f2

def inv (s : P3) : P3 := ⟨pre s f0, pre s f1, pre s f2⟩

def e   : P3 := ⟨f0, f1, f2⟩
def t01 : P3 := ⟨f1, f0, f2⟩
def t02 : P3 := ⟨f2, f1, f0⟩
def t12 : P3 := ⟨f0, f2, f1⟩
def c1  : P3 := ⟨f1, f2, f0⟩
def c2  : P3 := ⟨f2, f0, f1⟩

/-- **The six elements of S3.** -/
def S3 : List P3 := [e, t01, t02, t12, c1, c2]

def vals (s : P3) : List Nat := [s.a.val, s.b.val, s.c.val]

theorem perms_list : S3.map vals =
    [[0, 1, 2], [1, 0, 2], [2, 1, 0], [0, 2, 1], [1, 2, 0], [2, 0, 1]] := rfl

/-- Number of fixed points. -/
def fix (s : P3) : Nat :=
  (match finEq s.a f0 with | true => 1 | false => 0) +
  (match finEq s.b f1 with | true => 1 | false => 0) +
  (match finEq s.c f2 with | true => 1 | false => 0)

/-- The character χ = fixed points - 1. -/
def chi (s : P3) : Int := Int.ofNat (fix s) - 1

theorem fix_values : S3.map fix = [3, 1, 1, 1, 0, 0] := rfl

theorem chi_values : S3.map chi = [2, 0, 0, 0, -1, -1] := rfl

/-- `allL L P` : `P` holds on every element of `L`. -/
def allL {A : Type} (P : A → Bool) : List A → Bool
  | [] => true
  | x :: xs => P x && allL P xs

/-- Every element of S3 is a permutation: `s ∘ s⁻¹ = s⁻¹ ∘ s = e`. -/
theorem inv_check : allL (fun s => p3Eq (comp s (inv s)) e && p3Eq (comp (inv s) s) e) S3 = true :=
  rfl

/-- `anyL L P` : `P` holds on some element of `L`. -/
def anyL {A : Type} (P : A → Bool) : List A → Bool
  | [] => false
  | x :: xs => P x || anyL P xs

/-- S3 is closed under composition: every `s ∘ t` is in the list. -/
theorem comp_check : allL (fun s => allL (fun t =>
    anyL (fun u => p3Eq (comp s t) u) S3) S3) S3 = true := rfl

/-- **χ is a class function**: `χ(h g h⁻¹) = χ(g)` for all 6 × 6 pairs. -/
theorem chi_class : allL (fun g => allL (fun h =>
    intEq (chi (comp (comp h g) (inv h))) (chi g)) S3) S3 = true := rfl

def sumI : List Int → Int
  | [] => 0
  | x :: xs => x + sumI xs

/-- **Σ_g χ(g)^2 = 6 = |S3|**, i.e. ⟨χ, χ⟩ = 1: χ is irreducible. -/
theorem chi_norm : sumI (S3.map (fun g => chi g * chi g)) = 6 := rfl

/-- **S3 is non-abelian** (Bool form). -/
theorem noncomm_bool : p3Eq (comp t01 t12) (comp t12 t01) = false := rfl

/-- **S3 is non-abelian**: `t01 ∘ t12 ≠ t12 ∘ t01` (they send 0 to 1 and 2). -/
theorem noncomm : comp t01 t12 ≠ comp t12 t01 := fun h =>
  have h12 : (1 : Nat) = 2 := congrArg (fun s => s.a.val) h
  succ_ne_zero' 0 (succ_inj' h12).symm

/-! ## η(z) η(23z) -/

/-- Multiply by `Π_{n=1}^{N} (1 - q^n)`. -/
def prodA : Nat → List Int → List Int
  | 0, l => l
  | n + 1, l => prodA n (ESChain.mul1m (n + 1) l)

/-- Multiply by `Π_{n=1}^{N} (1 - q^(23n))`. -/
def prodB : Nat → List Int → List Int
  | 0, l => l
  | n + 1, l => prodB n (ESChain.mul1m (23 * (n + 1)) l)

/-- Coefficients of `q^0, ..., q^(N-1)` of `Π (1-q^n)(1-q^(23n))`. -/
def eta23 (N : Nat) : List Int := prodB N (prodA N (ESChain.oneS N))

/-- Coefficients of q^1, ..., q^200 of `η(z)η(23z) = q Π (1-q^n)(1-q^(23n))`. -/
def a23Table : List Int :=
  [1, -1, -1, 0, 0, 1, 0, 1, 0, 0, 0, 0, -1, 0, 0, -1, 0, 0, 0, 0, 0, 0, 1, -1, 1, 1, 1, 0, -1, 0,
   -1, 0, 0, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0, -1, -1, 1, 1, -1, 0, 0, 0, -1, 0, 0, 0, 1, 2, 0,
   0, 1, 0, 1, 0, 0, 0, 0, -1, 0, -1, 0, -1, 0, -1, 0, 0, -1, 0, 0, -1, 1, 0, 0, 0, 0, 1, 0, 0, 0,
   0, 0, 1, 1, 0, 0, 0, -1, 0, 0, 2, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -2, 0, 0, 1,
   0, 1, 0, 0, 0, -1, -1, 0, 0, -1, 0, 0, 0, 0, 0, 0, 1, -1, 0, 1, 1, 0, 0, 0, 1, -1, 0, 0, 1, -1,
   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, -1, 0, 0, -2, 0, -1, 0, 0,
   0, 0, 1, 0, -1, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, -1, 0, 0, 1]

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
theorem a23List_eq : eta23 200 = a23Table := by rfl

/-- `a_n` for `1 ≤ n ≤ 200`. -/
def a23 (n : Nat) : Int := ESChain.nth a23Table (n - 1)

theorem a23_values : a23 1 = 1 ∧ a23 2 = -1 ∧ a23 3 = -1 ∧ a23 6 = 1 ∧ a23 8 = 1 :=
  ⟨rfl, rfl, rfl, rfl, rfl⟩

/-! ## Roots of x^3 - x - 1 mod p -/

/-- `x^3 - x - 1 ≡ 0 (mod p)`, i.e. `x^3 ≡ x + 1`. -/
def isRoot (p x : Nat) : Nat :=
  match Nat.beq ((x * x * x) % p) ((x + 1) % p) with
  | true => 1
  | false => 0

/-- `Σ_{x < k} isRoot p x`. -/
def cntTo (p : Nat) : Nat → Nat
  | 0 => 0
  | k + 1 => cntTo p k + isRoot p k

/-- `r_p = #{x mod p : x^3 - x - 1 ≡ 0}`. -/
def r (p : Nat) : Nat := cntTo p p

theorem r_values : r 2 = 0 ∧ r 3 = 0 ∧ r 5 = 1 ∧ r 7 = 1 ∧ r 59 = 3 ∧ r 101 = 3 :=
  ⟨rfl, rfl, rfl, rfl, rfl, rfl⟩

/-- The primes below 200 other than 23. -/
def primesNo23 : List Nat := ESChain.primes200.filter (fun p => !(Nat.beq p 23))

theorem primesNo23_length : primesNo23.length = 45 := rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- **Non-abelian reciprocity for S3**: for every prime p < 200, p ≠ 23,
    the q^p coefficient of η(z)η(23z) is `r_p - 1`. -/
theorem ap_eq_rp : allL (fun p => intEq (a23 p) (Int.ofNat (r p) - 1)) primesNo23 = true := by rfl

set_option maxHeartbeats 0 in
set_option maxRecDepth 1000000 in
/-- For the same p, `r_p ∈ {0, 1, 3}`: there is no p with exactly two roots. -/
theorem rp_013 : allL (fun p => Nat.ble (r p) 3 && !(Nat.beq (r p) 2)) primesNo23 = true := by rfl

end NonAbChain

#print axioms NonAbChain.perms_list
#print axioms NonAbChain.fix_values
#print axioms NonAbChain.chi_values
#print axioms NonAbChain.inv_check
#print axioms NonAbChain.comp_check
#print axioms NonAbChain.chi_class
#print axioms NonAbChain.chi_norm
#print axioms NonAbChain.noncomm_bool
#print axioms NonAbChain.noncomm
#print axioms NonAbChain.a23List_eq
#print axioms NonAbChain.a23_values
#print axioms NonAbChain.r_values
#print axioms NonAbChain.primesNo23_length
#print axioms NonAbChain.ap_eq_rp
#print axioms NonAbChain.rp_013

OPEN_LEMMAS_HODGE.lean

lean_all/OPEN_LEMMAS_HODGE.lean

/- G470b (cycle 757): for gcd e q = 1 and every j,
     OrbitSum.sumF (fun i => (j + e * i) % q) q = OrbitSum.sumF (fun i => i) q.
   Plan: i ↦ (e i) mod q is injective on range q (euclid), an injective self-map of range q has the identity sum
   (induction on q removing the preimage of q − 1), then shift by j (OrbitSum.cyc).
   G470c: with G470b, for m = qk, 0 < a < k, unit t ≡ e (mod q):
     Σ_{i<q} ⟨t(a + ik)⟩ = q u + k Σ i,  ⟨t(qk − qa)⟩ = qk − q u   (pair_m),  total = (q+1) qk / 2. -/

/- G529b (cycle 821): for every odd prime p, a balanced list c (2·T_t(c) = |c|·p for all units t) is a union of
   complementary pairs. Equivalent to: the multiset c is symmetric under x ↦ −x. Standard proof: the odd part
   f(x) = [x ∈ c] − [−x ∈ c] satisfies Σ_x f(x)·⟨tx/p⟩ = 0 for all t, i.e. f ⋆ B₁ = 0 on (ℤ/p)*, and the Fourier
   coefficients of B₁ (generalized Bernoulli numbers B_{1,χ} for odd χ) are nonzero because L(1, χ) ≠ 0 (or by the
   class-number formula / Stickelberger). Five paths for Lean: (1) L(1, χ) ≠ 0 — analysis, out of core;
   (2) B_{1,χ} ≠ 0 via the class number of ℚ(ζ_p) — algebraic number theory; (3) finite check per p by rfl (done for
   p ≤ 19 length 4, p ≤ 13 length 6); (4) a Kamiak interval-free exact check per p up to a bound (integers only);
   (5) a combinatorial proof for |c| ≤ 6 (Lang–Koblitz style case analysis). Currently (3)/(4). -/

/- G849 (cycle 1718): G529b at every length now reduces, per prime p = q + 1, to the invertibility of the
   h × h integer matrix A_{t,x} = 2⟨tx⟩ − p (1 ≤ t, x ≤ h = (p − 1)/2) (hodge/MailletBridge.pairs_of_bal; the
   finite check deltaOK is rfl). Certified for p ≤ 97 (MailletCert<p>, a2_mcert2) and submitted for p ≤ 199.
   Open lemma G849d: det A_p ≠ 0 for every odd prime p. Up to sign and a power of 2 this is a Maillet-type
   determinant, proportional to the relative class number h⁻(ℚ(ζ_p)) (Carlitz–Olson), so G849d is equivalent to
   h⁻ ≠ 0, i.e. B_{1,χ} ≠ 0 for odd χ. Possible paths: (a) the mod-p reduction of A_p is a circulant-type matrix
   on the cyclic group (ℤ/p)*/±1, whose eigenvalues are sums of p-adic Teichmüller characters; show its
   determinant is nonzero mod p for p not dividing h⁻ (fails for irregular p); (b) a direct lower bound
   |det A_p| ≥ 1 via diagonal dominance after the change of basis x ↦ g^k (fails numerically? to test);
   (c) the classical proof through L(1, χ) ≠ 0. -/

/- G849d update (cycle 1732): computed |det A_p| = 2^(h-1) * p^(h-1) * h^-(Q(zeta_p)) for every odd prime p <= 59
   (exact rational elimination on Kamiak), so G849d is equivalent to h^- != 0 on this range. -/

OPEN_LEMMAS_NS.lean

lean_all/OPEN_LEMMAS_NS.lean

/- G852e (cycle 1748): the infinite diagonal extraction for the continuous-time limit of the Galerkin scheme.
   Proved (no axioms): uniform bound (ns/GlobalEZAll), uniform Hölder-1/2 modulus of the interpolants
   (ns/InterpModes.holder_interp), and the finite extraction (ns/NestExtract.extract: among m·N^d + 1 truncations,
   m + 1 share the box at every level ℓ < d; ns/BoxClose, ns/CloseInterp turn shared boxes into closeness).
   Open: an infinite subsequence of truncations M_1 < M_2 < … sharing boxes at every level. Choosing at each level a
   box with infinitely many members is not constructive (Classical.choice is excluded). Paths:
   (1) a computable box selection from an a-priori convergence rate (e.g. a Cauchy estimate between truncations
       M and M' — StepCauchy-type bounds in M, which exist only for small data);
   (2) state the limit as a statement about the finite extraction with explicit sizes (a "metastable" or
       Kreisel-style finitary convergence: for every ε and every rate F there is a window where the truncations are
       ε-close), provable from NestExtract alone;
   (3) small data: GlobalEZ data with the StepCauchy estimate give genuine convergence with a rate — no extraction.
   Path (2) is the next concrete goal (G852e: metastable convergence of the interpolants). -/

/- G852g (cycle 1762): path (3) of G852e without extraction. For small energy × enstrophy data the truncation error
   per step is bounded (ns/TruncBound.err_bound: ≲ ι²A Z (C₂ + C₁/(R+1)²)) and the step-size error is O(k)
   (ns/StepCauchy). Missing piece: a truncation-Cauchy recursion — run the R-scheme and the R'-scheme (R < R') from
   the same data, feed err_bound into EnstLipschitz/ErrRec as the local defect, and get
   Qe(a^R_n, P_R a^{R'}_n) ≤ gⁿ·n·(defect(R)), defect(R) → 0 as R → ∞ uniformly on GlobalEZ data. With StepCauchy this
   makes the interpolants Cauchy in (R, k) with explicit rates, so the limit exists constructively (no choice). -/

OPEN_LEMMAS_PNP.lean

lean_all/OPEN_LEMMAS_PNP.lean

/-
  T330. Open lemmas of the P vs NP map (PNP_MAP.md). Each open lemma is a definition of a
  proposition; nothing here is proved or assumed (no sorry, no axiom). A lemma moves out
  of this file when a file under work/found proves it with no axioms.
  The main target is O0 (or its negation); the chain O1 -> O0 and the barrier status of
  every method are in PNP_MAP.md.
-/
import found.RootComp
import found.Pnp1
import found.Pnp4
import found.Owf1
import found.Owf4

namespace Pnp.Open

open Found.RootComp
open Found.Pnp1

/-- The language SAT on bit strings, for a fixed encoding of CNF formulas. -/
def SatLang (dec : List Bool -> Option CNF) (x : List Bool) : Prop :=
  match dec x with
  | some f => Sat f
  | none => False

/-- O0 (main target): P differs from NP for the machine model M (some language in NP
is not in P). -/
def O0_P_ne_NP (M : Machine) : Prop :=
  Exists fun L : List Bool -> Bool => InNP M L /\ (InP M L -> False)

/-- O0' (the other answer): P equals NP for M. -/
def O0_P_eq_NP (M : Machine) : Prop :=
  forall L : List Bool -> Bool, InNP M L -> InP M L

/-- A family of formulas, one for each input length n, computing L on inputs of length n
(variables 0 .. n-1 read the input). -/
def Computes (L : List Bool -> Bool) (F : Nat -> Fm) : Prop :=
  forall n (a : Nat -> Bool), ev a (F n) = L (read a 0 n)

/-- O1 (non-uniform route): some language in NP has no family of formulas of polynomial
size (NP not in NC1). A step only: O0 needs the circuit version of O1 together with the
tool "P has polynomial-size circuits" (missing, PNP_MAP.md). -/
def O1_formula_lower (M : Machine) : Prop :=
  Exists fun L : List Bool -> Bool => InNP M L /\
    forall F : Nat -> Fm, Computes L F -> forall c k : Nat,
      Exists fun n => pbound c k n < gates (F n)

/-- O2 (tool, counting side): for every n some function of n bits needs at least
2^n / (4 (n+1)) - 1 gates in formulas (Shannon-Riordan counting). A tool lemma only: the property
"needs many gates" is large, so it is not used for the main conclusion (natural proofs). -/
def O2_counting (n : Nat) : Prop :=
  Exists fun f : List Bool -> Bool => forall F : Fm,
    (forall a, ev a F = f (read a 0 n)) -> pow2 n <= 4 * (n + 1) * (gates F + 1)

/-- O3 (tool, Cook-Levin): every language in NP maps to SAT by a length-polynomial map r.
The time bound of r needs a machine model that writes an output string; the model of
RootComp returns one bit; the model with output is found/Pnp3 (OM), and O3o below is the
same lemma there. -/
def O3_cook_levin (M : Machine) (satb : List Bool -> Bool) : Prop :=
  forall L : List Bool -> Bool, InNP M L ->
    Exists fun r : List Bool -> List Bool =>
      (Exists fun c => Exists fun k => forall x, (r x).length <= pbound c k x.length) /\
      forall x, L x = satb (r x)

/-- O0 over the machine model with output (found/Pnp3, Pnp4): some NP language is not in P.
By Pnp4.sep_hard this excludes every NP-hard language from P. -/
def O0o_P_ne_NP (M : Found.Pnp3.OM) : Prop :=
  Exists fun L : List Bool -> Bool => Found.Pnp4.InNPo M L /\ (Found.Pnp3.InPo M L -> False)

/-- O3 over the machine model with output: the SAT language satb is NP-hard. With
Pnp4.hard_in_P and Pnp4.sep_hard: O0o holds iff satb is not in P (for satb in NP). -/
def O3o_cook_levin (M : Found.Pnp3.OM) (satb : List Bool -> Bool) : Prop :=
  Found.Pnp4.Hard M satb

/-- O5 (T332, search-to-decision on a concrete model): if NP is inside P, every function
computed in polynomial time has a polynomial-time inverter. With Owf1.owf_p_ne_np a
one-way function (Owf1.OneWay2) then gives that NP is not inside P. -/
def O5_search_to_decision (M : Found.Pnp3.OM) : Prop := Found.Owf1.S2D M

/-- O5rm: search-to-decision on the register machine (Owf4.S2DRM). Closed: proved as
Found.Pnp86.s2drm (Pnp67-86), so a register-machine one-way function gives NP_RM not inside
P_RM (Found.Pnp86.owf_p_ne_np). Kept here as the statement. -/
def O5rm_search_to_decision : Prop := Found.Owf4.S2DRM

end Pnp.Open

QRChain.lean

lean_all/QRChain.lean

/-
  QRChain.lean
  Quadratic reciprocity for all distinct odd primes p, q (links 42-46).

  Lean 4 core plus FTAChain and FrobChain. Proofs are hand-written terms
  and plain rewriting; no omega / simp / ring / decide / norm_num /
  linarith. Divisibility and congruence are FTAChain's `Dv` and `rem`.

  An odd prime is written `h + h + 1`, so that (p-1)/2 is `h`.
  Signs are Booleans: `qr p a = true` means "a is a square mod p",
  and the sign (-1)^n is read from the parity `par n`.

  Proved here:
    roots_le        a polynomial over F_p with leading coefficient
                    not ≡ 0 has at most (degree) distinct roots
    euler_pm        p ∤ a → a^h ≡ 1 or a^h ≡ p-1
    euler_iff       p ∤ a → (a^h ≡ 1 ↔ a is a square mod p)
    gauss_lemma     p ∤ a → (a is a square ↔ μ is even)
    eisenstein_par  a odd, p ∤ a → μ ≡ Σ_{k=1}^{h} ⌊k a / p⌋ (mod 2)
    lattice         Σ_{k=1}^{h} ⌊k q/p⌋ + Σ_{k=1}^{g} ⌊k p/q⌋ = h g
    qr_law          (p|q)(q|p) = (-1)^(h g)
-/
import FrobChain

namespace QRChain
open FTAChain FrobChain

/-! ## Order and cancellation -/

theorem add_left_cancel' : ∀ (a b c : Nat), a + b = a + c → b = c
  | 0, b, c, h => by rw [nzero_add, nzero_add] at h; exact h
  | a + 1, b, c, h => by
    rw [Nat.add_right_comm a 1 b, Nat.add_right_comm a 1 c] at h
    exact add_left_cancel' a b c (succ_inj' h)

theorem add_right_cancel' (a b c : Nat) (h : b + a = c + a) : b = c := by
  rw [Nat.add_comm b a, Nat.add_comm c a] at h
  exact add_left_cancel' a b c h

theorem le_of_add_le_add_left' (a b c : Nat) (h : a + b ≤ a + c) : b ≤ c :=
  match Nat.le.dest h with
  | ⟨k, hk⟩ => Nat.le.intro (add_left_cancel' a _ _ (by rw [← Nat.add_assoc]; exact hk))

theorem lt_of_add_lt_add_left' (a b c : Nat) (h : a + b < a + c) : b < c :=
  le_of_add_le_add_left' a (b + 1) c h

theorem add_sub_of_le' : ∀ (a b : Nat), a ≤ b → a + (b - a) = b
  | 0, b, _ => by rw [nzero_add]; rfl
  | a + 1, 0, h => absurd h (Nat.not_succ_le_zero a)
  | a + 1, b + 1, h => by
    rw [Nat.succ_sub_succ, Nat.add_right_comm]
    exact congrArg Nat.succ (add_sub_of_le' a b (Nat.le_of_succ_le_succ h))

theorem lt_irrefl_of_le (a b : Nat) (h1 : a < b) (h2 : b ≤ a) : False :=
  Nat.lt_irrefl a (Nat.lt_of_lt_of_le h1 h2)

theorem eq_zero_of_add_eq_self (a b : Nat) (h : a + b = a) : b = 0 :=
  add_left_cancel' a b 0 h

theorem lt_of_le_of_ne' (a b : Nat) (h1 : a ≤ b) (h2 : a ≠ b) : a < b :=
  match Nat.eq_or_lt_of_le h1 with
  | Or.inl e => absurd e h2
  | Or.inr l => l

/-! ## Parity -/

def par : Nat → Bool
  | 0 => false
  | n + 1 => !par n

def bx : Bool → Bool → Bool
  | true, b => !b
  | false, b => b

theorem par_add (a : Nat) : ∀ b : Nat, par (a + b) = bx (par a) (par b)
  | 0 => by cases par a <;> rfl
  | b + 1 => by
    show (!par (a + b)) = bx (par a) (!par b)
    rw [par_add a b]
    cases par a <;> cases par b <;> rfl

theorem par_mul (a : Nat) : ∀ b : Nat, par (a * b) = (par a && par b)
  | 0 => by show false = (par a && false); cases par a <;> rfl
  | b + 1 => by
    show par (a * b + a) = (par a && !par b)
    rw [par_add, par_mul a b]
    cases par a <;> cases par b <;> rfl

theorem par_double (a : Nat) : par (a + a) = false := by
  rw [par_add]; cases par a <;> rfl

theorem par_split : ∀ n : Nat,
    (par n = false → ∃ k, n = k + k) ∧ (par n = true → ∃ k, n = k + k + 1)
  | 0 => ⟨fun _ => ⟨0, rfl⟩, fun h => Bool.noConfusion h⟩
  | n + 1 => by
    have ih := par_split n
    constructor
    · intro h
      have h' : par n = true := by
        revert h; show (!par n) = false → par n = true
        cases par n <;> intro h <;> first | rfl | exact Bool.noConfusion h
      match ih.2 h' with
      | ⟨k, hk⟩ => exact ⟨k + 1, by rw [hk, ← Nat.add_assoc, Nat.add_right_comm k 1 k]⟩
    · intro h
      have h' : par n = false := by
        revert h; show (!par n) = true → par n = false
        cases par n <;> intro h <;> first | rfl | exact Bool.noConfusion h
      match ih.1 h' with
      | ⟨k, hk⟩ => exact ⟨k, by rw [hk]⟩

theorem bx_self (a : Bool) : bx a a = false := by cases a <;> rfl
theorem bx_false (a : Bool) : bx a false = a := by cases a <;> rfl
theorem bx_comm (a b : Bool) : bx a b = bx b a := by cases a <;> cases b <;> rfl
theorem bx_assoc (a b c : Bool) : bx (bx a b) c = bx a (bx b c) := by
  cases a <;> cases b <;> cases c <;> rfl

/-! ## Finite sums and products over 1..n -/

def sum1 : Nat → (Nat → Nat) → Nat
  | 0, _ => 0
  | n + 1, f => sum1 n f + f (n + 1)

def prod1 : Nat → (Nat → Nat) → Nat
  | 0, _ => 1
  | n + 1, f => prod1 n f * f (n + 1)

theorem sum1_ext : ∀ (n : Nat) (f g : Nat → Nat), (∀ k, 0 < k → k ≤ n → f k = g k) →
    sum1 n f = sum1 n g
  | 0, _, _, _ => rfl
  | n + 1, f, g, h => by
    show sum1 n f + f (n + 1) = sum1 n g + g (n + 1)
    rw [sum1_ext n f g (fun k h0 hk => h k h0 (Nat.le_succ_of_le hk)),
      h (n + 1) (Nat.zero_lt_succ n) (Nat.le_refl _)]

theorem prod1_ext : ∀ (n : Nat) (f g : Nat → Nat), (∀ k, 0 < k → k ≤ n → f k = g k) →
    prod1 n f = prod1 n g
  | 0, _, _, _ => rfl
  | n + 1, f, g, h => by
    show prod1 n f * f (n + 1) = prod1 n g * g (n + 1)
    rw [prod1_ext n f g (fun k h0 hk => h k h0 (Nat.le_succ_of_le hk)),
      h (n + 1) (Nat.zero_lt_succ n) (Nat.le_refl _)]

theorem sum1_add : ∀ (n : Nat) (f g : Nat → Nat),
    sum1 n (fun k => f k + g k) = sum1 n f + sum1 n g
  | 0, _, _ => rfl
  | n + 1, f, g => by
    show sum1 n (fun k => f k + g k) + (f (n + 1) + g (n + 1))
      = (sum1 n f + f (n + 1)) + (sum1 n g + g (n + 1))
    rw [sum1_add n f g]
    exact mid4 _ _ _ _

theorem sum1_mul_left : ∀ (n : Nat) (f : Nat → Nat) (c : Nat),
    c * sum1 n f = sum1 n (fun k => c * f k)
  | 0, _, _ => rfl
  | n + 1, f, c => by
    show c * (sum1 n f + f (n + 1)) = sum1 n (fun k => c * f k) + c * f (n + 1)
    rw [nleft_distrib, sum1_mul_left n f c]

theorem sum1_const : ∀ (n c : Nat), sum1 n (fun _ => c) = n * c
  | 0, c => (nzero_mul c).symm
  | n + 1, c => by
    show sum1 n (fun _ => c) + c = (n + 1) * c
    rw [sum1_const n c, nsucc_mul]

theorem sum1_swap (f : Nat → Nat → Nat) (B : Nat) : ∀ A : Nat,
    sum1 A (fun x => sum1 B (fun y => f x y)) = sum1 B (fun y => sum1 A (fun x => f x y))
  | 0 => by
    show 0 = sum1 B (fun _ => 0)
    rw [sum1_const, Nat.mul_zero]
  | A + 1 => by
    show sum1 A (fun x => sum1 B (fun y => f x y)) + sum1 B (fun y => f (A + 1) y)
      = sum1 B (fun y => sum1 A (fun x => f x y) + f (A + 1) y)
    rw [sum1_swap f B A, sum1_add]

theorem prod1_mul : ∀ (n : Nat) (f g : Nat → Nat),
    prod1 n (fun k => f k * g k) = prod1 n f * prod1 n g
  | 0, _, _ => rfl
  | n + 1, f, g => by
    show prod1 n (fun k => f k * g k) * (f (n + 1) * g (n + 1))
      = (prod1 n f * f (n + 1)) * (prod1 n g * g (n + 1))
    rw [prod1_mul n f g]
    exact mmid4 _ _ _ _

theorem pow_add' (a m : Nat) : ∀ n : Nat, a ^ (m + n) = a ^ m * a ^ n
  | 0 => (Nat.mul_one _).symm
  | n + 1 => by
    show a ^ (m + n) * a = a ^ m * (a ^ n * a)
    rw [pow_add' a m n, nmul_assoc]

theorem pow_mul' (a m : Nat) : ∀ n : Nat, a ^ (m * n) = (a ^ m) ^ n
  | 0 => rfl
  | n + 1 => by
    show a ^ (m * n + m) = (a ^ m) ^ n * a ^ m
    rw [pow_add', pow_mul' a m n]

theorem prod1_const : ∀ (n c : Nat), prod1 n (fun _ => c) = c ^ n
  | 0, _ => rfl
  | n + 1, c => by
    show prod1 n (fun _ => c) * c = c ^ n * c
    rw [prod1_const n c]

theorem prod1_pow (c : Nat) : ∀ (n : Nat) (e : Nat → Nat),
    prod1 n (fun k => c ^ e k) = c ^ sum1 n e
  | 0, _ => rfl
  | n + 1, e => by
    show prod1 n (fun k => c ^ e k) * c ^ e (n + 1) = c ^ (sum1 n e + e (n + 1))
    rw [prod1_pow c n e, pow_add']

/-! ## Congruence modulo m' + 1 -/

theorem rem_of_lt (m' x : Nat) (h : x < m' + 1) : rem (m' + 1) x = x :=
  match Nat.le.dest h with
  | ⟨k, hk⟩ => by
    have hk' : x + (k + 1) = m' + 1 := by rw [Nat.add_comm k 1, ← Nat.add_assoc]; exact hk
    have e := rem_div m' 0 x k hk'
    rw [nzero_mul, nzero_add] at e
    exact e

theorem rem_lt' (m' n : Nat) : rem (m' + 1) n < m' + 1 :=
  match rem_lt m' n with
  | ⟨k, hk⟩ => by
    show rem (m' + 1) n + 1 ≤ m' + 1
    exact Nat.le.intro (by rw [Nat.add_assoc, Nat.add_comm 1 k]; exact hk)

theorem rem_zero_of_dv (m' n : Nat) (h : Dv (m' + 1) n) : rem (m' + 1) n = 0 :=
  match h with
  | ⟨q, hq⟩ => by
    rw [hq]
    exact rem_div m' q 0 m' (nzero_add (m' + 1))

theorem dv_of_rem_zero (m' n : Nat) (h : rem (m' + 1) n = 0) : Dv (m' + 1) n :=
  match rem_spec m' n with
  | ⟨q, r, _, hn, _, hr⟩ => by
    have r0 : r = 0 := hr.symm.trans h
    exact ⟨q, by rw [hn, r0]; rfl⟩

theorem rem_mul_left (m' a c : Nat) :
    rem (m' + 1) (a * c) = rem (m' + 1) (rem (m' + 1) a * c) :=
  match rem_spec m' a with
  | ⟨q, r, _, ha, _, hr⟩ => by
    rw [hr, ha, nright_distrib, nmul_assoc q (m' + 1) c, nmul_comm (m' + 1) c,
      ← nmul_assoc q c (m' + 1), rem_add_mul]

theorem rem_mul_congr (m' a b c : Nat) (h : rem (m' + 1) a = rem (m' + 1) b) :
    rem (m' + 1) (a * c) = rem (m' + 1) (b * c) := by
  rw [rem_mul_left m' a c, h, ← rem_mul_left m' b c]

theorem rem_mul_congr' (m' a b c : Nat) (h : rem (m' + 1) a = rem (m' + 1) b) :
    rem (m' + 1) (c * a) = rem (m' + 1) (c * b) := by
  rw [nmul_comm c a, nmul_comm c b]; exact rem_mul_congr m' a b c h

theorem rem_mul_congr2 (m' a b c d : Nat) (h1 : rem (m' + 1) a = rem (m' + 1) b)
    (h2 : rem (m' + 1) c = rem (m' + 1) d) : rem (m' + 1) (a * c) = rem (m' + 1) (b * d) :=
  Eq.trans (rem_mul_congr m' a b c h1) (rem_mul_congr' m' c d b h2)

theorem rem_add_congr' (m' a b c : Nat) (h : rem (m' + 1) a = rem (m' + 1) b) :
    rem (m' + 1) (c + a) = rem (m' + 1) (c + b) := by
  rw [Nat.add_comm c a, Nat.add_comm c b]; exact rem_add_congr m' a b c h

theorem rem_add_congr2 (m' a b c d : Nat) (h1 : rem (m' + 1) a = rem (m' + 1) b)
    (h2 : rem (m' + 1) c = rem (m' + 1) d) : rem (m' + 1) (a + c) = rem (m' + 1) (b + d) :=
  Eq.trans (rem_add_congr m' a b c h1) (rem_add_congr' m' c d b h2)

theorem rem_pow_congr (m' a b : Nat) (h : rem (m' + 1) a = rem (m' + 1) b) :
    ∀ n : Nat, rem (m' + 1) (a ^ n) = rem (m' + 1) (b ^ n)
  | 0 => rfl
  | n + 1 => rem_mul_congr2 m' _ _ _ _ (rem_pow_congr m' a b h n) h

theorem rem_cancel_add (m' a b c : Nat) (h : rem (m' + 1) (a + c) = rem (m' + 1) (b + c)) :
    rem (m' + 1) a = rem (m' + 1) b := by
  have h2 := rem_add_congr m' _ _ (m' * c) h
  have e : ∀ x, x + c + m' * c = c * (m' + 1) + x := fun x => by
    rw [Nat.add_assoc x c (m' * c), Nat.add_comm c (m' * c), ← nsucc_mul m' c,
      nmul_comm (m' + 1) c, Nat.add_comm x (c * (m' + 1))]
  rw [e a, e b, rem_add_mul, rem_add_mul] at h2
  exact h2

theorem dv_of_rem_add (m' u v : Nat) (h : rem (m' + 1) (u + v) = rem (m' + 1) u) :
    Dv (m' + 1) v := by
  apply dv_of_rem_zero
  have h2 : rem (m' + 1) (v + u) = rem (m' + 1) (0 + u) := by
    rw [Nat.add_comm v u, nzero_add]; exact h
  exact rem_cancel_add m' v 0 u h2

theorem rem_add_dv (m' u v : Nat) (h : Dv (m' + 1) v) : rem (m' + 1) (u + v) = rem (m' + 1) u :=
  match h with
  | ⟨q, hq⟩ => by rw [hq, Nat.add_comm u, rem_add_mul]

theorem rem_prod1_congr (m' : Nat) (f g : Nat → Nat) : ∀ n : Nat,
    (∀ k, 0 < k → k ≤ n → rem (m' + 1) (f k) = rem (m' + 1) (g k)) →
    rem (m' + 1) (prod1 n f) = rem (m' + 1) (prod1 n g)
  | 0, _ => rfl
  | n + 1, h =>
    rem_mul_congr2 m' _ _ _ _
      (rem_prod1_congr m' f g n (fun k h0 hk => h k h0 (Nat.le_succ_of_le hk)))
      (h (n + 1) (Nat.zero_lt_succ n) (Nat.le_refl _))

/-! ## Primes -/

theorem euclid (p a b : Nat) (hp : Pr p) (h : Dv p (a * b)) : Dv p a ∨ Dv p b :=
  match hp, a, h with
  | _, 0, _ => Or.inl ⟨0, (nzero_mul p).symm⟩
  | ⟨⟨j, hj⟩, hpr⟩, a + 1, h => by
    subst hj; exact euclid_core j a b hpr h

theorem eq_zero_of_dv_lt (d t : Nat) (h : Dv d t) (hl : t < d) : t = 0 :=
  match h with
  | ⟨0, hq⟩ => by rw [hq, nzero_mul]
  | ⟨q + 1, hq⟩ => by
    rw [hq, nsucc_mul] at hl
    exact absurd (Nat.lt_of_le_of_lt (Nat.le_add_left d (q * d)) hl) (Nat.lt_irrefl d)

theorem not_dv_of_lt (d k : Nat) (h0 : 0 < k) (hk : k < d) (h : Dv d k) : False := by
  have e := eq_zero_of_dv_lt d k h hk
  rw [e] at h0
  exact Nat.lt_irrefl 0 h0

theorem not_dv_prod1 (p : Nat) (hp : Pr p) (f : Nat → Nat) : ∀ n : Nat,
    (∀ k, 0 < k → k ≤ n → ¬ Dv p (f k)) → ¬ Dv p (prod1 n f)
  | 0, _, hd =>
    match hp with
    | ⟨⟨j, hj⟩, _⟩ => by subst hj; exact dv_one_absurd j hd
  | n + 1, h, hd =>
    match euclid p _ _ hp hd with
    | Or.inl h1 => not_dv_prod1 p hp f n (fun k h0 hk => h k h0 (Nat.le_succ_of_le hk)) h1
    | Or.inr h2 => h (n + 1) (Nat.zero_lt_succ n) (Nat.le_refl _) h2

theorem cancel_core (m' a u v : Nat) (hp : Pr (m' + 1)) (ha : ¬ Dv (m' + 1) a)
    (hv : v < m' + 1) (huv : u ≤ v)
    (h : rem (m' + 1) (a * u) = rem (m' + 1) (a * v)) : u = v :=
  match Nat.le.dest huv with
  | ⟨t, ht⟩ => by
    rw [← ht, nleft_distrib] at h
    have hd := dv_of_rem_add m' _ _ h.symm
    match euclid _ _ _ hp hd with
    | Or.inl hda => exact absurd hda ha
    | Or.inr hdt =>
      have htv : t ≤ v := Nat.le.intro (by rw [Nat.add_comm]; exact ht)
      have ht0 : t = 0 := eq_zero_of_dv_lt _ _ hdt (Nat.lt_of_le_of_lt htv hv)
      rw [← ht, ht0]; rfl

theorem rem_cancel_mul (m' a x y : Nat) (hp : Pr (m' + 1)) (ha : ¬ Dv (m' + 1) a)
    (h : rem (m' + 1) (a * x) = rem (m' + 1) (a * y)) : rem (m' + 1) x = rem (m' + 1) y := by
  have hx := rem_mul_congr' m' x (rem (m' + 1) x) a (rem_idem m' x).symm
  have hy := rem_mul_congr' m' y (rem (m' + 1) y) a (rem_idem m' y).symm
  have e1 := (hx.symm.trans h).trans hy
  match Nat.le_total (rem (m' + 1) x) (rem (m' + 1) y) with
  | Or.inl hl => exact cancel_core m' a _ _ hp ha (rem_lt' m' y) hl e1
  | Or.inr hl => exact (cancel_core m' a _ _ hp ha (rem_lt' m' x) hl e1.symm).symm

/-! ## Lists -/

def memL (v : Nat) : List Nat → Prop
  | [] => False
  | x :: xs => v = x ∨ memL v xs

def nodupL : List Nat → Prop
  | [] => True
  | x :: xs => ¬ memL x xs ∧ nodupL xs

def allL (P : Nat → Prop) : List Nat → Prop
  | [] => True
  | x :: xs => P x ∧ allL P xs

theorem allL_mono (P Q : Nat → Prop) (r : Nat) (hPQ : ∀ x, P x → x ≠ r → Q x) :
    ∀ L : List Nat, allL P L → ¬ memL r L → allL Q L
  | [], _, _ => True.intro
  | x :: xs, ⟨hx, hxs⟩, hm =>
    ⟨hPQ x hx (fun e => hm (Or.inl e.symm)),
      allL_mono P Q r hPQ xs hxs (fun h => hm (Or.inr h))⟩

/-! ## Polynomials over F_p have at most (degree) roots -/

/-- Evaluation of a coefficient list, leading coefficient first. -/
def ev (x : Nat) : List Nat → Nat
  | [] => 0
  | c :: cs => c * x ^ cs.length + ev x cs

/-- Synthetic division by `X - r`: the quotient's coefficients. -/
def qd (r : Nat) : Nat → List Nat → List Nat
  | _, [] => []
  | b, c :: cs => b :: qd r (b * r + c) cs

theorem qd_length (r : Nat) : ∀ (b : Nat) (cs : List Nat), (qd r b cs).length = cs.length
  | _, [] => rfl
  | _, _ :: cs => congrArg Nat.succ (qd_length r _ cs)

/-- The remainder theorem, without subtraction:
    `P(x) + r Q(x) = x Q(x) + P(r)`. -/
theorem qd_spec (x r : Nat) : ∀ (b : Nat) (cs : List Nat),
    ev x (b :: cs) + r * ev x (qd r b cs) = x * ev x (qd r b cs) + ev r (b :: cs)
  | b, [] => (nzero_add (b * 1)).symm
  | b, c :: cs => by
    have ih := qd_spec x r (b * r + c) cs
    have t1 : r * (b * x ^ cs.length) = b * r * x ^ cs.length := by
      rw [← nmul_assoc r b, nmul_comm r b]
    have t2 : x * (b * x ^ cs.length) = b * x ^ (cs.length + 1) := by
      rw [nmul_comm x, nmul_assoc]; rfl
    have t3 : b * r ^ (cs.length + 1) = b * r * r ^ cs.length := by
      rw [nmul_assoc]; show b * (r ^ cs.length * r) = _; rw [nmul_comm (r ^ cs.length) r]
    show b * x ^ (cs.length + 1) + (c * x ^ cs.length + ev x cs)
        + r * (b * x ^ (qd r (b * r + c) cs).length + ev x (qd r (b * r + c) cs))
      = x * (b * x ^ (qd r (b * r + c) cs).length + ev x (qd r (b * r + c) cs))
        + (b * r ^ (cs.length + 1) + (c * r ^ cs.length + ev r cs))
    rw [qd_length, nleft_distrib, nleft_distrib, t1, t2, t3]
    rw [Nat.add_assoc, Nat.add_assoc (b * x ^ (cs.length + 1))]
    apply congrArg (fun t => b * x ^ (cs.length + 1) + t)
    have hR : b * r * r ^ cs.length + (c * r ^ cs.length + ev r cs)
        = (b * r + c) * r ^ cs.length + ev r cs := by
      rw [← Nat.add_assoc, ← nright_distrib]
    have hL : (c * x ^ cs.length + ev x cs) + (b * r * x ^ cs.length + r * ev x (qd r (b * r + c) cs))
        = (b * r + c) * x ^ cs.length + ev x cs + r * ev x (qd r (b * r + c) cs) := by
      rw [nright_distrib, ← Nat.add_assoc (c * x ^ cs.length + ev x cs),
        Nat.add_right_comm (c * x ^ cs.length) (ev x cs), Nat.add_comm (c * x ^ cs.length)]
    rw [hR, hL]
    exact ih

/-- A root of `P` other than `r` is a root of the quotient by `X - r`. -/
theorem root_quot (m' : Nat) (hp : Pr (m' + 1)) (r s b : Nat) (cs : List Nat)
    (hr : r < m' + 1) (hs : s < m' + 1) (hrs : s ≠ r)
    (hPr : rem (m' + 1) (ev r (b :: cs)) = 0) (hPs : rem (m' + 1) (ev s (b :: cs)) = 0) :
    rem (m' + 1) (ev s (qd r b cs)) = 0 := by
  have hq := qd_spec s r b cs
  have h1 : rem (m' + 1) (0 + r * ev s (qd r b cs)) = rem (m' + 1) (0 + s * ev s (qd r b cs)) := by
    have a1 : rem (m' + 1) (ev s (b :: cs) + r * ev s (qd r b cs))
        = rem (m' + 1) (0 + r * ev s (qd r b cs)) := rem_add_congr m' _ 0 _ hPs
    have a2 : rem (m' + 1) (s * ev s (qd r b cs) + ev r (b :: cs))
        = rem (m' + 1) (s * ev s (qd r b cs) + 0) := rem_add_congr' m' _ 0 _ hPr
    rw [← a1, hq, a2, nzero_add]; rfl
  rw [nzero_add, nzero_add, nmul_comm r, nmul_comm s] at h1
  match dv_dec m' (ev s (qd r b cs)) with
  | Or.inl hd => exact rem_zero_of_dv m' _ hd
  | Or.inr hnd =>
    have e := rem_cancel_mul m' _ r s hp hnd h1
    rw [rem_of_lt m' r hr, rem_of_lt m' s hs] at e
    exact absurd e.symm hrs

theorem roots_le_n (m' : Nat) (hp : Pr (m' + 1)) : ∀ (n : Nat) (cs : List Nat) (c : Nat)
    (R : List Nat), cs.length = n → ¬ Dv (m' + 1) c → nodupL R →
    allL (fun x => x < m' + 1 ∧ rem (m' + 1) (ev x (c :: cs)) = 0) R →
    R.length ≤ n
  | n, _, _, [], _, _, _, _ => Nat.zero_le n
  | 0, [], c, x :: _, _, hc, _, ⟨⟨_, hx⟩, _⟩ => by
    have e : rem (m' + 1) c = 0 := by
      have hx' : rem (m' + 1) (c * 1 + 0) = 0 := hx
      rw [Nat.mul_one] at hx'; exact hx'
    exact absurd (dv_of_rem_zero m' c e) hc
  | 0, _ :: _, _, _ :: _, hl, _, _, _ => Nat.noConfusion hl
  | n + 1, [], _, _ :: _, hl, _, _, _ => Nat.noConfusion hl
  | n + 1, d :: ds, c, r :: R', hl, hc, ⟨hnm, hnd⟩, ⟨⟨hr, hPr⟩, hall⟩ => by
    have hds : (qd r (c * r + d) ds).length = n := by
      rw [qd_length]; exact succ_inj' hl
    have hall' : allL (fun x => x < m' + 1 ∧
        rem (m' + 1) (ev x (c :: qd r (c * r + d) ds)) = 0) R' :=
      allL_mono _ _ r
        (fun x ⟨hx, hPx⟩ hxr => ⟨hx, root_quot m' hp r x c (d :: ds) hr hx hxr hPr hPx⟩)
        R' hall hnm
    exact Nat.succ_le_succ (roots_le_n m' hp n _ c R' hds hc hnd hall')

/-- **Roots.** A polynomial over F_p whose leading coefficient is not `≡ 0`
    has at most (degree) distinct roots in `0..p-1`. -/
theorem roots_le (m' : Nat) (hp : Pr (m' + 1)) (c : Nat) (cs R : List Nat)
    (hc : ¬ Dv (m' + 1) c) (hR : nodupL R)
    (hroots : allL (fun x => x < m' + 1 ∧ rem (m' + 1) (ev x (c :: cs)) = 0) R) :
    R.length ≤ cs.length :=
  roots_le_n m' hp cs.length cs c R rfl hc hR hroots

/-! ## Euler's criterion.  Here p = h + h + 1. -/

theorem h_pos (h : Nat) (hp : Pr (h + h + 1)) : 0 < h :=
  match h, hp with
  | 0, ⟨⟨j, hj⟩, _⟩ => absurd (succ_inj' hj).symm (succ_ne_zero' j)
  | h + 1, _ => Nat.zero_lt_succ h

theorem rem_one (m' : Nat) (h0 : 0 < m') : rem (m' + 1) 1 = 1 :=
  rem_of_lt m' 1 (Nat.succ_le_succ h0)

theorem hh_pos (h : Nat) (hp : Pr (h + h + 1)) : 0 < h + h :=
  Nat.lt_of_lt_of_le (h_pos h hp) (Nat.le_add_right h h)

/-- Fermat in the form `y^(p-1) ≡ 1` for `p ∤ y`. -/
theorem fermat1 (h y : Nat) (hp : Pr (h + h + 1)) (hy : ¬ Dv (h + h + 1) y) :
    rem (h + h + 1) (y ^ (h + h)) = 1 := by
  have f := fermat (h + h + 1) hp y
  have f' : rem (h + h + 1) (y * y ^ (h + h)) = rem (h + h + 1) (y * 1) := by
    rw [nmul_comm, Nat.mul_one]; exact f
  rw [rem_cancel_mul (h + h) y _ 1 hp hy f']
  exact rem_one (h + h) (hh_pos h hp)

theorem sq_pow (x : Nat) : ∀ n : Nat, (x * x) ^ n = x ^ (n + n)
  | 0 => rfl
  | n + 1 => by
    show (x * x) ^ n * (x * x) = x ^ (n + 1 + (n + 1))
    rw [sq_pow x n, ← Nat.add_assoc (n + 1) n 1, Nat.add_right_comm n 1 n]
    exact (nmul_assoc _ x x).symm

/-- `x² ≡ 1` forces `x ≡ 1` or `x ≡ -1`. -/
theorem sq_one (m' : Nat) (hp : Pr (m' + 1)) (h0 : 0 < m') (x : Nat)
    (hx : rem (m' + 1) (x * x) = 1) : rem (m' + 1) x = 1 ∨ rem (m' + 1) x = m' := by
  have hrr : rem (m' + 1) (rem (m' + 1) x * rem (m' + 1) x) = 1 :=
    (rem_mul_congr2 m' _ _ _ _ (rem_idem m' x).symm (rem_idem m' x).symm).symm.trans hx
  have hlt := rem_lt' m' x
  revert hrr hlt
  cases rem (m' + 1) x with
  | zero =>
    intro hrr _
    have e0 : (0 : Nat) = 1 := hrr
    exact absurd e0 (fun e => Nat.noConfusion e)
  | succ t =>
    intro hrr hlt
    have e : (t + 1) * (t + 1) = t * (t + 1 + 1) + 1 := by rw [nsucc_mul]; rfl
    rw [e] at hrr
    have h2 : rem (m' + 1) (t * (t + 1 + 1) + 1) = rem (m' + 1) (0 + 1) := by
      rw [hrr, nzero_add]; exact (rem_one m' h0).symm
    have hd := dv_of_rem_zero m' _ (rem_cancel_add m' _ 0 1 h2)
    match euclid _ _ _ hp hd with
    | Or.inl ht =>
      have t0 : t = 0 := eq_zero_of_dv_lt _ _ ht (Nat.lt_trans (Nat.lt_succ_self t) hlt)
      rw [t0]; exact Or.inl rfl
    | Or.inr ht2 =>
      have hle : t + 1 + 1 ≤ m' + 1 := hlt
      match Nat.eq_or_lt_of_le hle with
      | Or.inl e2 => exact Or.inr (succ_inj' e2)
      | Or.inr l2 => exact absurd (eq_zero_of_dv_lt _ _ ht2 l2) (fun e => Nat.noConfusion e)

/-- **Euler, part 1.** For `p ∤ a`: `a^h ≡ 1` or `a^h ≡ p - 1`. -/
theorem euler_pm (h a : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a) :
    rem (h + h + 1) (a ^ h) = 1 ∨ rem (h + h + 1) (a ^ h) = (h + h + 1) - 1 := by
  have e : rem (h + h + 1) (a ^ h * a ^ h) = 1 := by
    rw [← pow_add']; exact fermat1 h a hp ha
  exact sq_one (h + h) hp (hh_pos h hp) _ e

/-- A square (of a unit) satisfies `a^h ≡ 1`. -/
theorem euler_of_sq (h a x : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (hx : rem (h + h + 1) (x * x) = rem (h + h + 1) a) : rem (h + h + 1) (a ^ h) = 1 := by
  have hnx : ¬ Dv (h + h + 1) x := fun hd =>
    ha (dv_of_rem_zero _ _ (hx.symm.trans (rem_zero_of_dv _ _ (dv_mul_right _ _ x hd))))
  rw [← rem_pow_congr (h + h) _ _ hx h, sq_pow]
  exact fermat1 h x hp hnx

def tailL : Nat → Nat → List Nat
  | 0, c => [c]
  | n + 1, c => 0 :: tailL n c

theorem tailL_length (c : Nat) : ∀ n : Nat, (tailL n c).length = n + 1
  | 0 => rfl
  | n + 1 => congrArg Nat.succ (tailL_length c n)

theorem ev_tailL (x c : Nat) : ∀ n : Nat, ev x (tailL n c) = c
  | 0 => Nat.mul_one c
  | n + 1 => by
    show 0 * x ^ (tailL n c).length + ev x (tailL n c) = c
    rw [nzero_mul, nzero_add, ev_tailL x c n]

def sqL (m : Nat) : Nat → List Nat
  | 0 => []
  | n + 1 => rem m ((n + 1) * (n + 1)) :: sqL m n

theorem sqL_length (m : Nat) : ∀ n : Nat, (sqL m n).length = n
  | 0 => rfl
  | n + 1 => congrArg Nat.succ (sqL_length m n)

theorem sqL_mem (m v : Nat) : ∀ n : Nat, memL v (sqL m n) →
    ∃ y, 0 < y ∧ y ≤ n ∧ v = rem m (y * y)
  | 0, hm => False.elim hm
  | n + 1, Or.inl e => ⟨n + 1, Nat.zero_lt_succ n, Nat.le_refl _, e⟩
  | n + 1, Or.inr hm =>
    match sqL_mem m v n hm with
    | ⟨y, h0, hy, e⟩ => ⟨y, h0, Nat.le_succ_of_le hy, e⟩

theorem sq_expand (y t : Nat) : (y + t) * (y + t) = y * y + t * (y + (y + t)) := by
  rw [nleft_distrib (y + t) y t, nright_distrib y t y, nright_distrib y t t,
    nleft_distrib t y (y + t), nleft_distrib t y t, nmul_comm y t, Nat.add_assoc (y * y)]

theorem lt_p_of_le_h (h z : Nat) (hz : z ≤ h) : z < h + h + 1 :=
  Nat.lt_succ_of_le (Nat.le_trans hz (Nat.le_add_right h h))

/-- The squares of `1, ..., h` are distinct mod p. -/
theorem sq_distinct (h : Nat) (hp : Pr (h + h + 1)) (y z : Nat) (h0 : 0 < y) (hyz : y < z)
    (hz : z ≤ h) : rem (h + h + 1) (y * y) ≠ rem (h + h + 1) (z * z) := fun he =>
  match Nat.le.dest hyz with
  | ⟨k, hk⟩ => by
    have hz' : z = y + (k + 1) := hk.symm.trans (Nat.succ_add y k)
    rw [hz', sq_expand] at he
    have hd := dv_of_rem_add (h + h) _ _ he.symm
    match euclid _ _ _ hp hd with
    | Or.inl ht =>
      have hkz : k + 1 ≤ z := Nat.le.intro (by rw [Nat.add_comm, ← hz'])
      exact not_dv_of_lt _ (k + 1) (Nat.zero_lt_succ k)
        (lt_p_of_le_h h _ (Nat.le_trans hkz hz)) ht
    | Or.inr hs =>
      have hs' : y + (y + (k + 1)) ≤ h + h :=
        Nat.add_le_add (Nat.le_trans (Nat.le_of_lt hyz) hz) (by rw [← hz']; exact hz)
      exact not_dv_of_lt _ _ (Nat.lt_of_lt_of_le h0 (Nat.le_add_right y _))
        (Nat.lt_succ_of_le hs') hs

theorem sqL_nodup (h : Nat) (hp : Pr (h + h + 1)) : ∀ n : Nat, n ≤ h →
    nodupL (sqL (h + h + 1) n)
  | 0, _ => True.intro
  | n + 1, hn =>
    ⟨fun hm =>
      match sqL_mem _ _ n hm with
      | ⟨y, h0, hy, e⟩ =>
        sq_distinct h hp y (n + 1) h0 (Nat.lt_succ_of_le hy) hn e.symm,
      sqL_nodup h hp n (Nat.le_trans (Nat.le_succ n) hn)⟩

/-- `X^h - 1`, written `X^h + (p - 1)`; its roots are the `v` with `v^h ≡ 1`. -/
theorem root_of_pow (h' v : Nat) (hv : rem (h' + 1 + (h' + 1) + 1) (v ^ (h' + 1)) = 1) :
    rem (h' + 1 + (h' + 1) + 1) (ev v (1 :: tailL h' (h' + 1 + (h' + 1)))) = 0 := by
  show rem _ (1 * v ^ (tailL h' (h' + 1 + (h' + 1))).length + ev v (tailL h' _)) = 0
  rw [tailL_length, ev_tailL, Nat.one_mul]
  have e1 := rem_add_congr (h' + 1 + (h' + 1)) _ 1 (h' + 1 + (h' + 1))
    (hv.trans (rem_one _ (Nat.zero_lt_succ _)).symm)
  rw [e1, Nat.add_comm 1]
  exact rem_zero_of_dv _ _ (dv_refl _)

theorem sq_search (m a : Nat) : ∀ n : Nat,
    (∃ y, rem m (y * y) = rem m a) ∨ (∀ y, y ≤ n → rem m (y * y) ≠ rem m a)
  | 0 =>
    match Nat.decEq (rem m (0 * 0)) (rem m a) with
    | isTrue e => Or.inl ⟨0, e⟩
    | isFalse ne => Or.inr (fun y hy => by
        have y0 : y = 0 := Nat.le_antisymm hy (Nat.zero_le y)
        rw [y0]; exact ne)
  | n + 1 =>
    match sq_search m a n with
    | Or.inl ex => Or.inl ex
    | Or.inr hall =>
      match Nat.decEq (rem m ((n + 1) * (n + 1))) (rem m a) with
      | isTrue e => Or.inl ⟨n + 1, e⟩
      | isFalse ne => Or.inr (fun y hy =>
          match Nat.eq_or_lt_of_le hy with
          | Or.inl e => by rw [e]; exact ne
          | Or.inr l => hall y (Nat.le_of_lt_succ l))

/-- **Euler, part 2.** For `p ∤ a`: `a^h ≡ 1` exactly when `a` is a square mod p. -/
theorem euler_iff (h a : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a) :
    rem (h + h + 1) (a ^ h) = 1 ↔ ∃ x, rem (h + h + 1) (x * x) = rem (h + h + 1) a := by
  constructor
  · intro hah
    match sq_search (h + h + 1) a h with
    | Or.inl ex => exact ex
    | Or.inr hall =>
      exfalso
      match h, hp, ha, hah, hall with
      | 0, hp, _, _, _ => exact Nat.lt_irrefl 0 (h_pos 0 hp)
      | h' + 1, hp, ha, hah, hall =>
        have hnm : ¬ memL (rem (h' + 1 + (h' + 1) + 1) a) (sqL (h' + 1 + (h' + 1) + 1) (h' + 1)) :=
          fun hm =>
            match sqL_mem _ _ _ hm with
            | ⟨y, _, hy, e⟩ => hall y hy e.symm
        have hroots : allL (fun x => x < h' + 1 + (h' + 1) + 1 ∧
            rem (h' + 1 + (h' + 1) + 1) (ev x (1 :: tailL h' (h' + 1 + (h' + 1)))) = 0)
            (rem (h' + 1 + (h' + 1) + 1) a :: sqL (h' + 1 + (h' + 1) + 1) (h' + 1)) := by
          refine ⟨⟨rem_lt' _ a, root_of_pow h' _ ?_⟩, ?_⟩
          · rw [rem_pow_congr _ _ _ (rem_idem _ a)]; exact hah
          · have gen : ∀ n, n ≤ h' + 1 → allL (fun x => x < h' + 1 + (h' + 1) + 1 ∧
                rem (h' + 1 + (h' + 1) + 1) (ev x (1 :: tailL h' (h' + 1 + (h' + 1)))) = 0)
                (sqL (h' + 1 + (h' + 1) + 1) n) := by
              intro n
              induction n with
              | zero => intro _; exact True.intro
              | succ n ih =>
                intro hn
                refine ⟨⟨rem_lt' _ _, root_of_pow h' _ ?_⟩, ih (Nat.le_trans (Nat.le_succ n) hn)⟩
                rw [rem_pow_congr _ _ _ (rem_idem _ _), sq_pow]
                apply fermat1 (h' + 1) (n + 1) hp
                exact not_dv_of_lt _ _ (Nat.zero_lt_succ n) (lt_p_of_le_h _ _ hn)
            exact gen (h' + 1) (Nat.le_refl _)
        have hle := roots_le (h' + 1 + (h' + 1)) hp 1 (tailL h' (h' + 1 + (h' + 1)))
          (rem (h' + 1 + (h' + 1) + 1) a :: sqL (h' + 1 + (h' + 1) + 1) (h' + 1)) (dv_one_absurd _)
          ⟨hnm, sqL_nodup (h' + 1) hp (h' + 1) (Nat.le_refl _)⟩ hroots
        rw [tailL_length] at hle
        show False
        have hle' : h' + 1 + 1 ≤ h' + 1 := by
          have l := hle; revert l
          show (sqL _ (h' + 1)).length + 1 ≤ h' + 1 → h' + 1 + 1 ≤ h' + 1
          rw [sqL_length]; exact id
        exact Nat.not_succ_le_self _ hle'
  · intro ⟨x, hx⟩
    exact euler_of_sq h a x hp ha hx

/-! ## A list of distinct numbers in 1..n of length n: product n!, sum 1+...+n -/

def prodL : List Nat → Nat
  | [] => 1
  | x :: xs => x * prodL xs

def sumL : List Nat → Nat
  | [] => 0
  | x :: xs => x + sumL xs

def eraseL (w : Nat) : List Nat → List Nat
  | [] => []
  | x :: xs => if x = w then xs else x :: eraseL w xs

theorem memL_dec (v : Nat) : ∀ L : List Nat, memL v L ∨ ¬ memL v L
  | [] => Or.inr id
  | x :: xs =>
    match Nat.decEq v x with
    | isTrue e => Or.inl (Or.inl e)
    | isFalse ne =>
      match memL_dec v xs with
      | Or.inl h => Or.inl (Or.inr h)
      | Or.inr h => Or.inr (fun hm =>
          match hm with
          | Or.inl e => ne e
          | Or.inr h' => h h')

theorem eraseL_eq (w x : Nat) (xs : List Nat) (e : x = w) : eraseL w (x :: xs) = xs :=
  ite_eq_left e

theorem eraseL_ne (w x : Nat) (xs : List Nat) (ne : ¬ x = w) :
    eraseL w (x :: xs) = x :: eraseL w xs :=
  ite_eq_right ne

theorem erase_mem (w v : Nat) : ∀ L : List Nat, memL v (eraseL w L) → memL v L
  | [], h => h
  | x :: xs, h =>
    match Nat.decEq x w with
    | isTrue e => by rw [eraseL_eq w x xs e] at h; exact Or.inr h
    | isFalse ne => by
      rw [eraseL_ne w x xs ne] at h
      match h with
      | Or.inl e => exact Or.inl e
      | Or.inr h' => exact Or.inr (erase_mem w v xs h')

theorem erase_ne (w v : Nat) : ∀ L : List Nat, nodupL L → memL v (eraseL w L) → v ≠ w
  | [], _, h => False.elim h
  | x :: xs, ⟨hnm, hnd⟩, h =>
    match Nat.decEq x w with
    | isTrue e => by
      rw [eraseL_eq w x xs e] at h
      intro hv
      rw [hv, ← e] at h
      exact hnm h
    | isFalse ne => by
      rw [eraseL_ne w x xs ne] at h
      match h with
      | Or.inl e => rw [e]; exact ne
      | Or.inr h' => exact erase_ne w v xs hnd h'

theorem erase_nodup (w : Nat) : ∀ L : List Nat, nodupL L → nodupL (eraseL w L)
  | [], _ => True.intro
  | x :: xs, ⟨hnm, hnd⟩ =>
    match Nat.decEq x w with
    | isTrue e => by rw [eraseL_eq w x xs e]; exact hnd
    | isFalse ne => by
      rw [eraseL_ne w x xs ne]
      exact ⟨fun hm => hnm (erase_mem w x xs hm), erase_nodup w xs hnd⟩

theorem erase_count (w : Nat) : ∀ L : List Nat, memL w L →
    (eraseL w L).length + 1 = L.length ∧ prodL L = w * prodL (eraseL w L) ∧
      sumL L = w + sumL (eraseL w L)
  | [], h => False.elim h
  | x :: xs, hm =>
    match Nat.decEq x w with
    | isTrue e => by
      rw [eraseL_eq w x xs e]
      exact ⟨rfl, by rw [← e]; rfl, by rw [← e]; rfl⟩
    | isFalse ne => by
      rw [eraseL_ne w x xs ne]
      match hm with
      | Or.inl e => exact absurd e.symm ne
      | Or.inr h' =>
        have ⟨h1, h2, h3⟩ := erase_count w xs h'
        refine ⟨congrArg Nat.succ h1, ?_, ?_⟩
        · show x * prodL xs = w * (x * prodL (eraseL w xs))
          rw [h2]; exact mul_left_comm' _ _ _
        · show x + sumL xs = w + (x + sumL (eraseL w xs))
          rw [h3]; exact Nat.add_left_comm _ _ _

theorem erase_not_mem (w : Nat) : ∀ L : List Nat, ¬ memL w L → eraseL w L = L
  | [], _ => rfl
  | x :: xs, hn =>
    match Nat.decEq x w with
    | isTrue e => absurd (Or.inl e.symm) hn
    | isFalse ne => by
      rw [eraseL_ne w x xs ne, erase_not_mem w xs (fun h => hn (Or.inr h))]

theorem perm_count : ∀ (n : Nat) (L : List Nat), nodupL L →
    (∀ v, memL v L → 0 < v ∧ v ≤ n) →
    L.length ≤ n ∧
      (L.length = n → prodL L = prod1 n (fun k => k) ∧ sumL L = sum1 n (fun k => k))
  | 0, [], _, _ => ⟨Nat.le_refl 0, fun _ => ⟨rfl, rfl⟩⟩
  | 0, x :: _, _, hb =>
    match hb x (Or.inl rfl) with
    | ⟨h0, hx⟩ => absurd (Nat.lt_of_lt_of_le h0 hx) (Nat.lt_irrefl 0)
  | n + 1, L, hnd, hb => by
    have hb' : ∀ v, memL v (eraseL (n + 1) L) → 0 < v ∧ v ≤ n := fun v hv =>
      match hb v (erase_mem _ _ L hv) with
      | ⟨h0, hle⟩ =>
        ⟨h0, Nat.le_of_lt_succ (lt_of_le_of_ne' v (n + 1) hle (erase_ne (n + 1) v L hnd hv))⟩
    have ih := perm_count n (eraseL (n + 1) L) (erase_nodup (n + 1) L hnd) hb'
    match memL_dec (n + 1) L with
    | Or.inl hm =>
      have ⟨hlen, hprod, hsum⟩ := erase_count (n + 1) L hm
      refine ⟨?_, fun hl => ?_⟩
      · rw [← hlen]; exact Nat.succ_le_succ ih.1
      · have hl' : (eraseL (n + 1) L).length = n := succ_inj' (hlen.trans hl)
        have ⟨p1, s1⟩ := ih.2 hl'
        refine ⟨?_, ?_⟩
        · rw [hprod, p1]; exact nmul_comm _ _
        · rw [hsum, s1]; exact Nat.add_comm _ _
    | Or.inr hn =>
      rw [erase_not_mem (n + 1) L hn] at ih
      refine ⟨Nat.le_succ_of_le ih.1, fun hl => ?_⟩
      have h1 := ih.1
      rw [hl] at h1
      exact absurd h1 (Nat.not_succ_le_self n)

def mkL (f : Nat → Nat) : Nat → List Nat
  | 0 => []
  | n + 1 => f (n + 1) :: mkL f n

theorem mkL_length (f : Nat → Nat) : ∀ n : Nat, (mkL f n).length = n
  | 0 => rfl
  | n + 1 => congrArg Nat.succ (mkL_length f n)

theorem prodL_mkL (f : Nat → Nat) : ∀ n : Nat, prodL (mkL f n) = prod1 n f
  | 0 => rfl
  | n + 1 => by
    show f (n + 1) * prodL (mkL f n) = prod1 n f * f (n + 1)
    rw [prodL_mkL f n]; exact nmul_comm _ _

theorem sumL_mkL (f : Nat → Nat) : ∀ n : Nat, sumL (mkL f n) = sum1 n f
  | 0 => rfl
  | n + 1 => by
    show f (n + 1) + sumL (mkL f n) = sum1 n f + f (n + 1)
    rw [sumL_mkL f n]; exact Nat.add_comm _ _

theorem mkL_mem (f : Nat → Nat) (v : Nat) : ∀ n : Nat, memL v (mkL f n) →
    ∃ k, 0 < k ∧ k ≤ n ∧ v = f k
  | 0, h => False.elim h
  | n + 1, Or.inl e => ⟨n + 1, Nat.zero_lt_succ n, Nat.le_refl _, e⟩
  | n + 1, Or.inr h =>
    match mkL_mem f v n h with
    | ⟨k, h0, hk, e⟩ => ⟨k, h0, Nat.le_succ_of_le hk, e⟩

theorem mkL_nodup (f : Nat → Nat) : ∀ n : Nat,
    (∀ i j, 0 < i → i < j → j ≤ n → f i ≠ f j) → nodupL (mkL f n)
  | 0, _ => True.intro
  | n + 1, hinj =>
    ⟨fun hm =>
      match mkL_mem f _ n hm with
      | ⟨k, h0, hk, e⟩ => hinj k (n + 1) h0 (Nat.lt_succ_of_le hk) (Nat.le_refl _) e.symm,
      mkL_nodup f n (fun i j h0 hij hj => hinj i j h0 hij (Nat.le_succ_of_le hj))⟩

/-- A map of `1..n` into `1..n` without repeats has the same product and sum
    as the identity. -/
theorem perm_fun (f : Nat → Nat) (n : Nat) (hb : ∀ k, 0 < k → k ≤ n → 0 < f k ∧ f k ≤ n)
    (hinj : ∀ i j, 0 < i → i < j → j ≤ n → f i ≠ f j) :
    prod1 n f = prod1 n (fun k => k) ∧ sum1 n f = sum1 n (fun k => k) := by
  have hpc := perm_count n (mkL f n) (mkL_nodup f n hinj)
    (fun v hv => match mkL_mem f v n hv with
      | ⟨k, h0, hk, e⟩ => by rw [e]; exact hb k h0 hk)
  have ⟨p1, s1⟩ := hpc.2 (mkL_length f n)
  rw [prodL_mkL] at p1
  rw [sumL_mkL] at s1
  exact ⟨p1, s1⟩

/-! ## Floor division -/

/-- Quotient and remainder by `m' + 1`, counting up from 0. -/
def dm (m' : Nat) : Nat → Nat × Nat
  | 0 => (0, 0)
  | n + 1 =>
    if (dm m' n).2 = m' then ((dm m' n).1 + 1, 0) else ((dm m' n).1, (dm m' n).2 + 1)

/-- `fl m' n = ⌊n / (m' + 1)⌋`. -/
def fl (m' n : Nat) : Nat := (dm m' n).1

theorem dm_spec (m' : Nat) : ∀ n : Nat,
    n = (dm m' n).1 * (m' + 1) + (dm m' n).2 ∧ (dm m' n).2 ≤ m'
  | 0 => ⟨by show 0 = 0 * (m' + 1) + 0; rw [nzero_mul], Nat.zero_le _⟩
  | n + 1 => by
    have ⟨ih1, ih2⟩ := dm_spec m' n
    match Nat.decEq (dm m' n).2 m' with
    | isTrue e =>
      have hd : dm m' (n + 1) = ((dm m' n).1 + 1, 0) := ite_eq_left e
      rw [hd]
      refine ⟨?_, Nat.zero_le _⟩
      show n + 1 = ((dm m' n).1 + 1) * (m' + 1) + 0
      rw [nsucc_mul]
      exact congrArg Nat.succ (ih1.trans (congrArg (fun t => (dm m' n).1 * (m' + 1) + t) e))
    | isFalse ne =>
      have hd : dm m' (n + 1) = ((dm m' n).1, (dm m' n).2 + 1) := ite_eq_right ne
      rw [hd]
      exact ⟨congrArg Nat.succ ih1, lt_of_le_of_ne' _ _ ih2 ne⟩

theorem fl_spec (m' n : Nat) : n = fl m' n * (m' + 1) + rem (m' + 1) n := by
  have ⟨h1, h2⟩ := dm_spec m' n
  have ⟨k, hk⟩ := Nat.le.dest h2
  have hr : rem (m' + 1) n = (dm m' n).2 := by
    have hk' : (dm m' n).2 + (k + 1) = m' + 1 := congrArg Nat.succ hk
    rw [h1]
    rw [rem_div m' _ _ k hk']
    rw [← h1]
  rw [hr]
  exact h1

theorem fl_values : fl 6 23 = 3 ∧ fl 4 17 = 3 ∧ fl 2 2 = 0 := ⟨rfl, rfl, rfl⟩

/-! ## Gauss's lemma.  p = h + h + 1, p ∤ a. -/

/-- `a k` reduced mod p. -/
def rk (h a k : Nat) : Nat := rem (h + h + 1) (a * k)
/-- the reduced value folded into `1..h`. -/
def sk (h a k : Nat) : Nat := if rk h a k ≤ h then rk h a k else (h + h + 1) - rk h a k
/-- 1 when `a k` reduces above `p/2`, else 0. -/
def lk (h a k : Nat) : Nat := if rk h a k ≤ h then 0 else 1
/-- μ: how many of `a, 2a, ..., h a` reduce above `p/2`. -/
def mu (h a : Nat) : Nat := sum1 h (lk h a)

theorem rk_cases (h a k : Nat) :
    (rk h a k ≤ h ∧ sk h a k = rk h a k ∧ lk h a k = 0) ∨
    (h < rk h a k ∧ rk h a k + sk h a k = h + h + 1 ∧ lk h a k = 1) :=
  match Nat.lt_or_ge h (rk h a k) with
  | Or.inl hl =>
    have hn : ¬ rk h a k ≤ h := Nat.not_le_of_gt hl
    Or.inr ⟨hl,
      by
        show rk h a k + (if rk h a k ≤ h then rk h a k else (h + h + 1) - rk h a k) = _
        rw [ite_eq_right hn]
        exact add_sub_of_le' _ _ (Nat.le_of_lt (rem_lt' (h + h) (a * k))),
      ite_eq_right hn⟩
  | Or.inr hg => Or.inl ⟨hg, ite_eq_left hg, ite_eq_left hg⟩

theorem rk_pos (h a k : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (h0 : 0 < k) (hk : k ≤ h) : 0 < rk h a k := by
  apply Nat.pos_of_ne_zero
  intro e
  match euclid _ _ _ hp (dv_of_rem_zero (h + h) _ e) with
  | Or.inl hd => exact ha hd
  | Or.inr hd => exact not_dv_of_lt _ _ h0 (lt_p_of_le_h h k hk) hd

theorem sk_bounds (h a k : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (h0 : 0 < k) (hk : k ≤ h) : 0 < sk h a k ∧ sk h a k ≤ h :=
  match rk_cases h a k with
  | Or.inl ⟨hle, hs, _⟩ => by rw [hs]; exact ⟨rk_pos h a k hp ha h0 hk, hle⟩
  | Or.inr ⟨hl, hsum, _⟩ => by
    constructor
    · apply Nat.pos_of_ne_zero
      intro e
      rw [e] at hsum
      exact Nat.lt_irrefl _ (Nat.lt_of_lt_of_le (rem_lt' (h + h) (a * k)) (Nat.le_of_eq hsum.symm))
    · apply le_of_add_le_add_left' (h + 1)
      rw [← Nat.add_right_comm h h 1, ← hsum]
      exact Nat.add_le_add_right hl _

theorem rk_sign (h a k : Nat) :
    rem (h + h + 1) (a * k) = rem (h + h + 1) ((h + h) ^ lk h a k * sk h a k) :=
  match rk_cases h a k with
  | Or.inl ⟨_, hs, hl⟩ => by
    rw [hl, hs, Nat.pow_zero, Nat.one_mul]
    exact (rem_idem (h + h) (a * k)).symm
  | Or.inr ⟨_, hsum, hl⟩ => by
    rw [hl, show (h + h) ^ 1 = h + h from Nat.one_mul (h + h)]
    apply Eq.trans (rem_idem (h + h) (a * k)).symm
    apply rem_cancel_add (h + h) _ _ (sk h a k)
    show rem (h + h + 1) (rk h a k + sk h a k) = _
    rw [hsum, ← nsucc_mul, nmul_comm]
    rw [rem_zero_of_dv _ _ (dv_refl _), rem_zero_of_dv _ _ ⟨sk h a k, rfl⟩]

theorem rk_no_eq (h a i j : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (hi : i < j) (hj : j ≤ h) (e : rk h a i = rk h a j) : False := by
  have e2 := rem_cancel_mul (h + h) a i j hp ha e
  rw [rem_of_lt _ _ (lt_p_of_le_h h i (Nat.le_trans (Nat.le_of_lt hi) hj)),
    rem_of_lt _ _ (lt_p_of_le_h h j hj)] at e2
  rw [e2] at hi
  exact Nat.lt_irrefl j hi

theorem rk_no_sum (h a i j : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (h0 : 0 < i) (hi : i ≤ h) (hj : j ≤ h) (e : rk h a i + rk h a j = h + h + 1) : False := by
  have e2 : rem (h + h + 1) (a * i + a * j) = 0 := by
    rw [rem_add_congr2 (h + h) _ (rk h a i) _ (rk h a j) (rem_idem _ _).symm (rem_idem _ _).symm,
      e]
    exact rem_zero_of_dv _ _ (dv_refl _)
  rw [← nleft_distrib] at e2
  match euclid _ _ _ hp (dv_of_rem_zero _ _ e2) with
  | Or.inl hd => exact ha hd
  | Or.inr hd =>
    exact not_dv_of_lt _ _ (Nat.lt_of_lt_of_le h0 (Nat.le_add_right i j))
      (Nat.lt_succ_of_le (Nat.add_le_add hi hj)) hd

theorem sk_inj (h a i j : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (h0 : 0 < i) (hij : i < j) (hj : j ≤ h) : sk h a i ≠ sk h a j := fun e =>
  have hi : i ≤ h := Nat.le_trans (Nat.le_of_lt hij) hj
  have h0j : 0 < j := Nat.lt_trans h0 hij
  match rk_cases h a i, rk_cases h a j with
  | Or.inl ⟨_, hsi, _⟩, Or.inl ⟨_, hsj, _⟩ =>
    rk_no_eq h a i j hp ha hij hj (hsi.symm.trans (e.trans hsj))
  | Or.inr ⟨_, hsi, _⟩, Or.inr ⟨_, hsj, _⟩ =>
    rk_no_eq h a i j hp ha hij hj
      (add_right_cancel' (sk h a i) _ _ (hsi.trans (by rw [e]; exact hsj.symm)))
  | Or.inl ⟨_, hsi, _⟩, Or.inr ⟨_, hsj, _⟩ =>
    rk_no_sum h a j i hp ha h0j hj hi
      (by rw [← hsi, e]; exact hsj)
  | Or.inr ⟨_, hsi, _⟩, Or.inl ⟨_, hsj, _⟩ =>
    rk_no_sum h a i j hp ha h0 hi hj
      (by rw [← hsj, ← e]; exact hsi)

theorem neg_sq (m'' : Nat) : rem (m'' + 1 + 1) ((m'' + 1) * (m'' + 1)) = 1 := by
  have e : (m'' + 1) * (m'' + 1) = m'' * (m'' + 1 + 1) + 1 := by rw [nsucc_mul]; rfl
  rw [e, rem_add_mul (m'' + 1) 1 m'']
  exact rem_one (m'' + 1) (Nat.zero_lt_succ m'')

theorem neg_sq' (h : Nat) (hp : Pr (h + h + 1)) : rem (h + h + 1) ((h + h) * (h + h)) = 1 :=
  match h, hp with
  | 0, hp => absurd (h_pos 0 hp) (Nat.lt_irrefl 0)
  | h' + 1, _ => neg_sq (h' + 1 + h')

theorem neg_pow_even (h n : Nat) (hp : Pr (h + h + 1)) : rem (h + h + 1) ((h + h) ^ (n + n)) = 1 := by
  rw [← sq_pow, rem_pow_congr (h + h) _ 1 (by rw [neg_sq' h hp]; exact (rem_one _ (hh_pos h hp)).symm),
    Nat.one_pow]
  exact rem_one _ (hh_pos h hp)

theorem neg_pow_odd (h n : Nat) (hp : Pr (h + h + 1)) :
    rem (h + h + 1) ((h + h) ^ (n + n + 1)) = h + h := by
  show rem (h + h + 1) ((h + h) ^ (n + n) * (h + h)) = h + h
  rw [rem_mul_congr (h + h) _ 1 _ (by rw [neg_pow_even h n hp]; exact (rem_one _ (hh_pos h hp)).symm),
    Nat.one_mul]
  exact rem_of_lt _ _ (Nat.lt_succ_self _)

/-- `a^h ≡ (-1)^μ`, with `-1` written `p - 1 = h + h`. -/
theorem gauss_pow (h a : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a) :
    rem (h + h + 1) (a ^ h) = rem (h + h + 1) ((h + h) ^ mu h a) := by
  have hperm := perm_fun (sk h a) h (fun k h0 hk => sk_bounds h a k hp ha h0 hk)
    (fun i j h0 hij hj => sk_inj h a i j hp ha h0 hij hj)
  have hprod : rem (h + h + 1) (prod1 h (fun k => a * k))
      = rem (h + h + 1) ((h + h) ^ mu h a * prod1 h (fun k => k)) := by
    rw [rem_prod1_congr (h + h) _ (fun k => (h + h) ^ lk h a k * sk h a k) h
      (fun k _ _ => rk_sign h a k)]
    rw [prod1_mul h (fun k => (h + h) ^ lk h a k) (sk h a), prod1_pow, hperm.1]
    rfl
  have hl : prod1 h (fun k => a * k) = a ^ h * prod1 h (fun k => k) := by
    rw [prod1_mul h (fun _ => a) (fun k => k), prod1_const]
  rw [hl, nmul_comm (a ^ h), nmul_comm ((h + h) ^ mu h a)] at hprod
  exact rem_cancel_mul (h + h) _ _ _ hp
    (not_dv_prod1 _ hp _ h (fun k h0 hk => not_dv_of_lt _ _ h0 (lt_p_of_le_h h k hk))) hprod

theorem par_one_ne (h : Nat) (e : h + h = 1) : False := by
  have e2 := congrArg par e
  rw [par_double] at e2
  exact Bool.noConfusion e2

/-- **Gauss's lemma.** For `p ∤ a`: `a` is a square mod p exactly when μ is even,
    i.e. `(a|p) = (-1)^μ`. -/
theorem gauss_lemma (h a : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a) :
    (∃ x, rem (h + h + 1) (x * x) = rem (h + h + 1) a) ↔ par (mu h a) = false := by
  have key : rem (h + h + 1) (a ^ h) = 1 ↔ par (mu h a) = false := by
    rw [gauss_pow h a hp ha]
    have hs := par_split (mu h a)
    constructor
    · intro e
      revert hs
      cases par (mu h a) with
      | false => intro _; rfl
      | true =>
        intro hs
        have ⟨n, hn⟩ := hs.2 rfl
        rw [hn, neg_pow_odd h n hp] at e
        exact False.elim (par_one_ne h e)
    · intro hf
      have ⟨n, hn⟩ := hs.1 hf
      rw [hn]
      exact neg_pow_even h n hp
  exact (euler_iff h a hp ha).symm.trans key

/-! ## Eisenstein: μ has the parity of Σ ⌊a k / p⌋ (a odd) -/

theorem bx_solve (x y z : Bool) (h : y = bx x (bx y z)) : x = z := by
  cases x <;> cases y <;> cases z <;> first | rfl | exact Bool.noConfusion h

theorem par_p (h : Nat) : par (h + h + 1) = true := by
  rw [par_add, par_double]; rfl

theorem eisenstein_par (h a : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (hodd : par a = true) :
    par (sum1 h (fun k => fl (h + h) (a * k))) = par (mu h a) := by
  have hperm := perm_fun (sk h a) h (fun k h0 hk => sk_bounds h a k hp ha h0 hk)
    (fun i j h0 hij hj => sk_inj h a i j hp ha h0 hij hj)
  -- a S = p F + R
  have h1 : a * sum1 h (fun k => k)
      = (h + h + 1) * sum1 h (fun k => fl (h + h) (a * k)) + sum1 h (rk h a) := by
    rw [sum1_mul_left, sum1_mul_left, ← sum1_add]
    apply sum1_ext
    intro k _ _
    show a * k = (h + h + 1) * fl (h + h) (a * k) + rem (h + h + 1) (a * k)
    rw [nmul_comm (h + h + 1)]
    exact fl_spec (h + h) (a * k)
  -- R + 2X = S + p μ
  have h2 : sum1 h (rk h a) + (sum1 h (fun k => lk h a k * sk h a k)
      + sum1 h (fun k => lk h a k * sk h a k))
      = sum1 h (fun k => k) + (h + h + 1) * mu h a := by
    rw [← sum1_add, ← sum1_add, ← hperm.2]
    show _ = sum1 h (sk h a) + (h + h + 1) * sum1 h (lk h a)
    rw [sum1_mul_left, ← sum1_add]
    apply sum1_ext
    intro k _ _
    show rk h a k + (lk h a k * sk h a k + lk h a k * sk h a k)
      = sk h a k + (h + h + 1) * lk h a k
    match rk_cases h a k with
    | Or.inl ⟨_, hs, hl⟩ =>
      rw [hl, hs, nzero_mul, Nat.mul_zero]
    | Or.inr ⟨_, hsum, hl⟩ =>
      rw [hl, Nat.one_mul, Nat.mul_one, ← Nat.add_assoc, hsum]
      exact Nat.add_comm _ _
  have p1 := congrArg par h1
  have p2 := congrArg par h2
  rw [par_mul, hodd, par_add, par_mul, par_p] at p1
  rw [par_add, par_double, bx_false, par_add, par_mul, par_p] at p2
  rw [p2] at p1
  exact bx_solve _ _ _ p1

/-- Gauss and Eisenstein together: for odd `a` with `p ∤ a`,
    `a` is a square mod p exactly when `Σ_{k=1}^{h} ⌊a k / p⌋` is even. -/
theorem qr_by_floor (h a : Nat) (hp : Pr (h + h + 1)) (ha : ¬ Dv (h + h + 1) a)
    (hodd : par a = true) :
    (∃ x, rem (h + h + 1) (x * x) = rem (h + h + 1) a) ↔
      par (sum1 h (fun k => fl (h + h) (a * k))) = false := by
  rw [eisenstein_par h a hp ha hodd]
  exact gauss_lemma h a hp ha

/-! ## Eisenstein's lattice count -/

/-- `[a < b]` as 0 or 1. -/
def ltI (a b : Nat) : Nat := if a < b then 1 else 0

theorem ltI_one (a b : Nat) (h : a < b) : ltI a b = 1 := ite_eq_left h

theorem ltI_zero (a b : Nat) (h : b ≤ a) : ltI a b = 0 := ite_eq_right (Nat.not_lt_of_le h)

theorem ltI_add (a b : Nat) (hne : a ≠ b) : ltI a b + ltI b a = 1 :=
  match Nat.lt_or_ge a b with
  | Or.inl hl => by rw [ltI_one a b hl, ltI_zero b a (Nat.le_of_lt hl)]
  | Or.inr hg => by
    rw [ltI_zero a b hg, ltI_one b a (lt_of_le_of_ne' b a hg (fun e => hne e.symm))]

theorem count_low (m' N Q r : Nat) (hN : N = Q * (m' + 1) + r) (hr : 0 < r) :
    ∀ Y : Nat, Y ≤ Q → sum1 Y (fun y => ltI ((m' + 1) * y) N) = Y
  | 0, _ => rfl
  | Y + 1, hY => by
    show sum1 Y (fun y => ltI ((m' + 1) * y) N) + ltI ((m' + 1) * (Y + 1)) N = Y + 1
    rw [count_low m' N Q r hN hr Y (Nat.le_of_succ_le hY), ltI_one]
    rw [hN, nmul_comm (m' + 1) (Y + 1)]
    exact Nat.lt_of_le_of_lt (Nat.mul_le_mul_right (m' + 1) hY) (Nat.lt_add_of_pos_right hr)

theorem count_high (m' N Q r : Nat) (hN : N = Q * (m' + 1) + r) (hr0 : 0 < r)
    (hr : r < m' + 1) : ∀ j : Nat, sum1 (Q + j) (fun y => ltI ((m' + 1) * y) N) = Q
  | 0 => count_low m' N Q r hN hr0 Q (Nat.le_refl Q)
  | j + 1 => by
    show sum1 (Q + j) (fun y => ltI ((m' + 1) * y) N) + ltI ((m' + 1) * (Q + j + 1)) N = Q
    rw [count_high m' N Q r hN hr0 hr j, ltI_zero]
    · rfl
    rw [hN, nmul_comm (m' + 1) (Q + j + 1)]
    apply Nat.le_trans (Nat.add_le_add_left (Nat.le_of_lt hr) _)
    rw [← nsucc_mul]
    exact Nat.mul_le_mul_right _ (Nat.succ_le_succ (Nat.le_add_right Q j))

/-- `⌊N/m⌋` counts the `y` in `1..Y` with `m y < N`, once `⌊N/m⌋ ≤ Y` and `m ∤ N`. -/
theorem fl_count (m' N Y : Nat) (hr0 : rem (m' + 1) N ≠ 0) (hY : fl m' N ≤ Y) :
    sum1 Y (fun y => ltI ((m' + 1) * y) N) = fl m' N :=
  match Nat.le.dest hY with
  | ⟨j, hj⟩ => by
    rw [← hj]
    exact count_high m' N (fl m' N) (rem (m' + 1) N) (fl_spec m' N)
      (Nat.pos_of_ne_zero hr0) (rem_lt' m' N) j

theorem double_inj (h g : Nat) (e : h + h = g + g) : h = g :=
  match Nat.lt_trichotomy h g with
  | Or.inl hl => absurd (Nat.lt_of_lt_of_le (Nat.add_lt_add hl hl) (Nat.le_of_eq e.symm))
      (Nat.lt_irrefl _)
  | Or.inr (Or.inl he) => he
  | Or.inr (Or.inr hl) => absurd (Nat.lt_of_lt_of_le (Nat.add_lt_add hl hl) (Nat.le_of_eq e))
      (Nat.lt_irrefl _)

theorem not_dv_qx (h g x : Nat) (hp : Pr (h + h + 1)) (hq : Pr (g + g + 1)) (hne : h ≠ g)
    (h0 : 0 < x) (hx : x ≤ h) : ¬ Dv (h + h + 1) ((g + g + 1) * x) := fun hd =>
  match euclid _ _ _ hp hd with
  | Or.inr hdx => not_dv_of_lt _ _ h0 (lt_p_of_le_h h x hx) hdx
  | Or.inl hdq =>
    match hq.2 _ hdq with
    | Or.inl e1 => by
      have e2 : h + h = 0 := succ_inj' e1
      have l := hh_pos h hp
      rw [e2] at l
      exact Nat.lt_irrefl 0 l
    | Or.inr e2 => hne (double_inj h g (succ_inj' e2))

theorem fl_le (h g x : Nat) (hx : x ≤ h) : fl (h + h) ((g + g + 1) * x) ≤ g :=
  match Nat.lt_or_ge g (fl (h + h) ((g + g + 1) * x)) with
  | Or.inr hge => hge
  | Or.inl hlt => by
    have e := fl_spec (h + h) ((g + g + 1) * x)
    have i1 : g + (h + h + 1) = h + (h + g + 1) :=
      congrArg Nat.succ ((Nat.add_comm g (h + h)).trans (Nat.add_assoc h h g))
    have i2 : (g + 1) * (h + h + 1) = (g + g + 1) * h + (h + g + 1) := by
      rw [nsucc_mul g, nsucc_mul (g + g) h, nright_distrib g g h]
      show g * (h + h) + g + (h + h + 1) = g * h + g * h + h + (h + g + 1)
      rw [nleft_distrib g h h, Nat.add_assoc (g * h + g * h) g, Nat.add_assoc (g * h + g * h) h, i1]
    have c1 : (g + 1) * (h + h + 1) ≤ (g + g + 1) * h :=
      Nat.le_trans (Nat.mul_le_mul_right _ hlt)
        (Nat.le_trans (Nat.le_add_right _ (rem (h + h + 1) ((g + g + 1) * x)))
          (Nat.le_trans (Nat.le_of_eq e.symm) (Nat.mul_le_mul_left _ hx)))
    rw [i2] at c1
    exact absurd (Nat.lt_of_lt_of_le (Nat.lt_add_of_pos_right (Nat.zero_lt_succ _)) c1)
      (Nat.lt_irrefl _)

theorem fl_as_count (h g x : Nat) (hp : Pr (h + h + 1)) (hq : Pr (g + g + 1)) (hne : h ≠ g)
    (h0 : 0 < x) (hx : x ≤ h) :
    fl (h + h) ((g + g + 1) * x) = sum1 g (fun y => ltI ((h + h + 1) * y) ((g + g + 1) * x)) :=
  (fl_count (h + h) _ g (fun e => not_dv_qx h g x hp hq hne h0 hx (dv_of_rem_zero _ _ e))
    (fl_le h g x hx)).symm

/-- **Eisenstein's lattice count.**
    `Σ_{k=1}^{h} ⌊k q/p⌋ + Σ_{k=1}^{g} ⌊k p/q⌋ = h g`. -/
theorem lattice (h g : Nat) (hp : Pr (h + h + 1)) (hq : Pr (g + g + 1)) (hne : h ≠ g) :
    sum1 h (fun x => fl (h + h) ((g + g + 1) * x)) + sum1 g (fun y => fl (g + g) ((h + h + 1) * y))
      = h * g :=
  calc sum1 h (fun x => fl (h + h) ((g + g + 1) * x)) + sum1 g (fun y => fl (g + g) ((h + h + 1) * y))
      = sum1 h (fun x => sum1 g (fun y => ltI ((h + h + 1) * y) ((g + g + 1) * x)))
        + sum1 g (fun y => sum1 h (fun x => ltI ((g + g + 1) * x) ((h + h + 1) * y))) := by
        rw [sum1_ext h _ _ (fun x h0 hx => fl_as_count h g x hp hq hne h0 hx),
          sum1_ext g _ _ (fun y h0 hy => fl_as_count g h y hq hp (fun e => hne e.symm) h0 hy)]
    _ = sum1 h (fun x => sum1 g (fun y => ltI ((h + h + 1) * y) ((g + g + 1) * x)))
        + sum1 h (fun x => sum1 g (fun y => ltI ((g + g + 1) * x) ((h + h + 1) * y))) :=
        congrArg (fun t => sum1 h (fun x => sum1 g (fun y => ltI ((h + h + 1) * y) ((g + g + 1) * x))) + t)
          (sum1_swap (fun x y => ltI ((g + g + 1) * x) ((h + h + 1) * y)) g h).symm
    _ = sum1 h (fun x => sum1 g (fun y => ltI ((h + h + 1) * y) ((g + g + 1) * x))
          + sum1 g (fun y => ltI ((g + g + 1) * x) ((h + h + 1) * y))) := (sum1_add h _ _).symm
    _ = sum1 h (fun x => sum1 g (fun y => ltI ((h + h + 1) * y) ((g + g + 1) * x)
          + ltI ((g + g + 1) * x) ((h + h + 1) * y))) :=
        sum1_ext h _ _ (fun x _ _ => (sum1_add g _ _).symm)
    _ = sum1 h (fun _ => sum1 g (fun _ => 1)) :=
        sum1_ext h _ _ (fun x h0 hx => sum1_ext g _ _ (fun y _ _ =>
          ltI_add _ _ (fun e => not_dv_qx h g x hp hq hne h0 hx
            ⟨y, e.symm.trans (nmul_comm _ _)⟩)))
    _ = h * g := by rw [sum1_const g 1, sum1_const h, Nat.mul_one]

/-! ## Quadratic reciprocity -/

theorem beq_refl' : ∀ n : Nat, Nat.beq n n = true
  | 0 => rfl
  | n + 1 => beq_refl' n

def sqS (m a : Nat) : Nat → Bool
  | 0 => Nat.beq (rem m (0 * 0)) (rem m a)
  | n + 1 => sqS m a n || Nat.beq (rem m ((n + 1) * (n + 1))) (rem m a)

/-- The Legendre symbol as a Boolean: `true` for +1 (a square mod m),
    `false` for -1. -/
def legB (m a : Nat) : Bool := sqS m a m

theorem or_true_cases (b c : Bool) (h : (b || c) = true) : b = true ∨ c = true := by
  cases b <;> cases c <;> first | exact Or.inl rfl | exact Or.inr rfl | exact Bool.noConfusion h

theorem or_true_right (b : Bool) : (b || true) = true := by cases b <;> rfl

theorem sqS_sound (m a : Nat) : ∀ n : Nat, sqS m a n = true → ∃ x, rem m (x * x) = rem m a
  | 0, h => ⟨0, Nat.eq_of_beq_eq_true h⟩
  | n + 1, h =>
    match or_true_cases _ _ h with
    | Or.inl h1 => sqS_sound m a n h1
    | Or.inr h2 => ⟨n + 1, Nat.eq_of_beq_eq_true h2⟩

theorem sqS_complete (m a : Nat) : ∀ n x : Nat, x ≤ n → rem m (x * x) = rem m a →
    sqS m a n = true
  | 0, x, hx, e => by
    have x0 : x = 0 := Nat.le_antisymm hx (Nat.zero_le x)
    rw [x0] at e
    show Nat.beq (rem m (0 * 0)) (rem m a) = true
    rw [e]; exact beq_refl' _
  | n + 1, x, hx, e =>
    match Nat.eq_or_lt_of_le hx with
    | Or.inl ex => by
      show (sqS m a n || Nat.beq (rem m ((n + 1) * (n + 1))) (rem m a)) = true
      rw [← ex, e, beq_refl']
      exact or_true_right _
    | Or.inr lx => by
      show (sqS m a n || Nat.beq (rem m ((n + 1) * (n + 1))) (rem m a)) = true
      rw [sqS_complete m a n x (Nat.le_of_lt_succ lx) e]
      rfl

theorem legB_iff (m' a : Nat) :
    legB (m' + 1) a = true ↔ ∃ x, rem (m' + 1) (x * x) = rem (m' + 1) a :=
  ⟨sqS_sound (m' + 1) a (m' + 1), fun ⟨x, e⟩ =>
    sqS_complete (m' + 1) a (m' + 1) (rem (m' + 1) x) (Nat.le_of_lt (rem_lt' m' x))
      ((rem_mul_congr2 m' _ _ _ _ (rem_idem m' x) (rem_idem m' x)).trans e)⟩

theorem b_of_iff (x y : Bool) (h : x = true ↔ y = false) : x = !y := by
  cases x <;> cases y
  · exact absurd (h.mpr rfl) (fun e => Bool.noConfusion e)
  · rfl
  · rfl
  · exact absurd (h.mp rfl) (fun e => Bool.noConfusion e)

/-- **Quadratic reciprocity.** For distinct odd primes `p = 2h+1`, `q = 2g+1`
    (written `h + h + 1`, `g + g + 1`):
    `(p|q)(q|p) = (-1)^(h g)`, with the product of signs read as
    "different" (`bx` = exclusive or) and `(-1)^n` read as `par n`. -/
theorem qr_law (h g : Nat) (hp : Pr (h + h + 1)) (hq : Pr (g + g + 1)) (hne : h ≠ g) :
    bx (legB (h + h + 1) (g + g + 1)) (legB (g + g + 1) (h + h + 1)) = par (h * g) := by
  have nq : ¬ Dv (h + h + 1) (g + g + 1) := fun hd =>
    not_dv_qx h g 1 hp hq hne Nat.zero_lt_one (h_pos h hp) (by rw [Nat.mul_one]; exact hd)
  have np : ¬ Dv (g + g + 1) (h + h + 1) := fun hd =>
    not_dv_qx g h 1 hq hp (fun e => hne e.symm) Nat.zero_lt_one (h_pos g hq)
      (by rw [Nat.mul_one]; exact hd)
  have hA := (legB_iff (h + h) (g + g + 1)).trans (qr_by_floor h (g + g + 1) hp nq (par_p g))
  have hB := (legB_iff (g + g) (h + h + 1)).trans (qr_by_floor g (h + h + 1) hq np (par_p h))
  rw [b_of_iff _ _ hA, b_of_iff _ _ hB, ← lattice h g hp hq hne, par_add]
  cases par (sum1 h (fun k => fl (h + h) ((g + g + 1) * k))) <;>
    cases par (sum1 g (fun k => fl (g + g) ((h + h + 1) * k))) <;> rfl

/-- The same, as a statement about squares: `q` is a square mod `p` exactly as
    `p` is a square mod `q`, unless both `h` and `g` are odd. -/
theorem iff_bx (a b : Bool) : ((a = true ↔ b = true) ↔ bx a b = false) := by
  cases a <;> cases b
  · exact ⟨fun _ => rfl, fun _ => Iff.rfl⟩
  · exact ⟨fun h => absurd (h.mpr rfl) (fun e => Bool.noConfusion e), fun e => Bool.noConfusion e⟩
  · exact ⟨fun h => absurd (h.mp rfl) (fun e => Bool.noConfusion e), fun e => Bool.noConfusion e⟩
  · exact ⟨fun _ => rfl, fun _ => Iff.rfl⟩

theorem qr_law_iff (h g : Nat) (hp : Pr (h + h + 1)) (hq : Pr (g + g + 1)) (hne : h ≠ g) :
    ((∃ x, rem (h + h + 1) (x * x) = rem (h + h + 1) (g + g + 1)) ↔
      (∃ y, rem (g + g + 1) (y * y) = rem (g + g + 1) (h + h + 1))) ↔ par (h * g) = false := by
  have e := iff_bx (legB (h + h + 1) (g + g + 1)) (legB (g + g + 1) (h + h + 1))
  rw [qr_law h g hp hq hne] at e
  have iA := legB_iff (h + h) (g + g + 1)
  have iB := legB_iff (g + g) (h + h + 1)
  exact ⟨fun hAB => e.mp ⟨fun a => iB.mpr (hAB.mp (iA.mp a)), fun b => iA.mpr (hAB.mpr (iB.mp b))⟩,
    fun hf => ⟨fun a => iB.mp ((e.mpr hf).mp (iA.mpr a)), fun b => iA.mp ((e.mpr hf).mpr (iB.mpr b))⟩⟩

/-! ## Checks by computation -/

set_option maxRecDepth 100000 in
theorem leg_values : legB 7 2 = true ∧ legB 7 3 = false ∧ legB 11 5 = true ∧ legB 11 2 = false :=
  ⟨rfl, rfl, rfl, rfl⟩

set_option maxRecDepth 100000 in
theorem qr_example : bx (legB 7 11) (legB 11 7) = par (3 * 5) := rfl

end QRChain
#print axioms QRChain.add_left_cancel'
#print axioms QRChain.add_right_cancel'
#print axioms QRChain.le_of_add_le_add_left'
#print axioms QRChain.lt_of_add_lt_add_left'
#print axioms QRChain.add_sub_of_le'
#print axioms QRChain.lt_irrefl_of_le
#print axioms QRChain.eq_zero_of_add_eq_self
#print axioms QRChain.lt_of_le_of_ne'
#print axioms QRChain.par_add
#print axioms QRChain.par_mul
#print axioms QRChain.par_double
#print axioms QRChain.par_split
#print axioms QRChain.bx_self
#print axioms QRChain.bx_false
#print axioms QRChain.bx_comm
#print axioms QRChain.bx_assoc
#print axioms QRChain.sum1_ext
#print axioms QRChain.prod1_ext
#print axioms QRChain.sum1_add
#print axioms QRChain.sum1_mul_left
#print axioms QRChain.sum1_const
#print axioms QRChain.sum1_swap
#print axioms QRChain.prod1_mul
#print axioms QRChain.pow_add'
#print axioms QRChain.pow_mul'
#print axioms QRChain.prod1_const
#print axioms QRChain.prod1_pow
#print axioms QRChain.rem_of_lt
#print axioms QRChain.rem_lt'
#print axioms QRChain.rem_zero_of_dv
#print axioms QRChain.dv_of_rem_zero
#print axioms QRChain.rem_mul_left
#print axioms QRChain.rem_mul_congr
#print axioms QRChain.rem_mul_congr'
#print axioms QRChain.rem_mul_congr2
#print axioms QRChain.rem_add_congr'
#print axioms QRChain.rem_add_congr2
#print axioms QRChain.rem_pow_congr
#print axioms QRChain.rem_cancel_add
#print axioms QRChain.dv_of_rem_add
#print axioms QRChain.rem_add_dv
#print axioms QRChain.rem_prod1_congr
#print axioms QRChain.euclid
#print axioms QRChain.eq_zero_of_dv_lt
#print axioms QRChain.not_dv_of_lt
#print axioms QRChain.not_dv_prod1
#print axioms QRChain.cancel_core
#print axioms QRChain.rem_cancel_mul
#print axioms QRChain.allL_mono
#print axioms QRChain.qd_length
#print axioms QRChain.qd_spec
#print axioms QRChain.root_quot
#print axioms QRChain.roots_le_n
#print axioms QRChain.roots_le
#print axioms QRChain.h_pos
#print axioms QRChain.rem_one
#print axioms QRChain.hh_pos
#print axioms QRChain.fermat1
#print axioms QRChain.sq_pow
#print axioms QRChain.sq_one
#print axioms QRChain.euler_pm
#print axioms QRChain.euler_of_sq
#print axioms QRChain.tailL_length
#print axioms QRChain.ev_tailL
#print axioms QRChain.sqL_length
#print axioms QRChain.sqL_mem
#print axioms QRChain.sq_expand
#print axioms QRChain.lt_p_of_le_h
#print axioms QRChain.sq_distinct
#print axioms QRChain.sqL_nodup
#print axioms QRChain.root_of_pow
#print axioms QRChain.sq_search
#print axioms QRChain.euler_iff
#print axioms QRChain.memL_dec
#print axioms QRChain.eraseL_eq
#print axioms QRChain.eraseL_ne
#print axioms QRChain.erase_mem
#print axioms QRChain.erase_ne
#print axioms QRChain.erase_nodup
#print axioms QRChain.erase_count
#print axioms QRChain.erase_not_mem
#print axioms QRChain.perm_count
#print axioms QRChain.mkL_length
#print axioms QRChain.prodL_mkL
#print axioms QRChain.sumL_mkL
#print axioms QRChain.mkL_mem
#print axioms QRChain.mkL_nodup
#print axioms QRChain.perm_fun
#print axioms QRChain.dm_spec
#print axioms QRChain.fl_spec
#print axioms QRChain.fl_values
#print axioms QRChain.rk_cases
#print axioms QRChain.rk_pos
#print axioms QRChain.sk_bounds
#print axioms QRChain.rk_sign
#print axioms QRChain.rk_no_eq
#print axioms QRChain.rk_no_sum
#print axioms QRChain.sk_inj
#print axioms QRChain.neg_sq
#print axioms QRChain.neg_sq'
#print axioms QRChain.neg_pow_even
#print axioms QRChain.neg_pow_odd
#print axioms QRChain.gauss_pow
#print axioms QRChain.par_one_ne
#print axioms QRChain.gauss_lemma
#print axioms QRChain.bx_solve
#print axioms QRChain.beq_refl'
#print axioms QRChain.par_p
#print axioms QRChain.eisenstein_par
#print axioms QRChain.qr_by_floor
#print axioms QRChain.ltI_one
#print axioms QRChain.ltI_zero
#print axioms QRChain.ltI_add
#print axioms QRChain.count_low
#print axioms QRChain.count_high
#print axioms QRChain.fl_count
#print axioms QRChain.double_inj
#print axioms QRChain.not_dv_qx
#print axioms QRChain.fl_le
#print axioms QRChain.fl_as_count
#print axioms QRChain.lattice
#print axioms QRChain.or_true_cases
#print axioms QRChain.or_true_right
#print axioms QRChain.sqS_sound
#print axioms QRChain.sqS_complete
#print axioms QRChain.legB_iff
#print axioms QRChain.b_of_iff
#print axioms QRChain.qr_law
#print axioms QRChain.iff_bx
#print axioms QRChain.qr_law_iff
#print axioms QRChain.leg_values
#print axioms QRChain.qr_example

SMChain.lean

lean_all/SMChain.lean

/-
  SMChain.lean
  Standard Model numbers (links 62-64).

  Lean 4 core plus FTAChain, FrobChain and DefectChain (`sum_C`).
  Concrete numbers are checked with `rfl`; the general count uses `sum_C`.
  No omega / simp / ring / decide / norm_num / linarith.

  Proved here:
    gauge_dim          dim U(1) + dim SU(2) + dim SU(3) = 1 + 3 + 8 = 12
    su_dims            dim SU(n) = n^2 - 1 for n = 2, 3
    g2_minus_s6        dim G2 - dim S^6 = 14 - 6 = 8 = dim SU(3)
    charge_mult        multiplicity of N ∈ {0,1,2,3} is C 3 N = 1, 3, 3, 1
    charge_total       Σ_N C 3 N = 2^3 (from sum_C)
    charge_total_8     ... = 8
    anomaly_linear     Σ m·(6Y) = 0
    anomaly_cubic      Σ m·(6Y)^3 = 0
    anomaly_su3        2·1 + (-4) + 2 = 0
    anomaly_su2        3·1 + (-3) = 0
-/
import DefectChain

namespace SMChain
open FTAChain FrobChain DefectChain

/-! ## Gauge dimensions -/

def dimSU (n : Nat) : Nat := n * n - 1
def dimU1 : Nat := 1
def dimG2 : Nat := 14
def dimS6 : Nat := 6

theorem su_dims : dimSU 2 = 3 ∧ dimSU 3 = 8 := ⟨rfl, rfl⟩

theorem gauge_dim : dimU1 + dimSU 2 + dimSU 3 = 12 := rfl

theorem g2_minus_s6 : dimG2 - dimS6 = 8 ∧ dimG2 - dimS6 = dimSU 3 := ⟨rfl, rfl⟩

/-! ## Charges in one generation -/

/-- Multiplicity of charge level N ∈ {0,1,2,3}. -/
def mult (N : Nat) : Nat := C 3 N

theorem charge_mult : mult 0 = 1 ∧ mult 1 = 3 ∧ mult 2 = 3 ∧ mult 3 = 1 :=
  ⟨rfl, rfl, rfl, rfl⟩

/-- **Σ_{N=0}^{3} C 3 N = 2^3**, from the general `sum_C`. -/
theorem charge_total : sumTo 4 mult = 2 ^ 3 := sum_C 3

theorem charge_total_8 : sumTo 4 mult = 8 := charge_total

/-! ## Anomaly cancellation -/

/-- One generation as a table of (multiplicity m, 6Y). -/
def table : List (Int × Int) := [(6, 1), (3, -4), (3, 2), (2, -3), (1, 6)]

def sumLin : List (Int × Int) → Int
  | [] => 0
  | (m, y) :: t => m * y + sumLin t

def sumCube : List (Int × Int) → Int
  | [] => 0
  | (m, y) :: t => m * y ^ 3 + sumCube t

theorem anomaly_linear : sumLin table = 0 := rfl

theorem anomaly_cubic : sumCube table = 0 := rfl

theorem anomaly_su3 : (2 : Int) * 1 + (-4) + 2 = 0 := rfl

theorem anomaly_su2 : (3 : Int) * 1 + (-3) = 0 := rfl

end SMChain

#print axioms SMChain.su_dims
#print axioms SMChain.gauge_dim
#print axioms SMChain.g2_minus_s6
#print axioms SMChain.charge_mult
#print axioms SMChain.charge_total
#print axioms SMChain.charge_total_8
#print axioms SMChain.anomaly_linear
#print axioms SMChain.anomaly_cubic
#print axioms SMChain.anomaly_su3
#print axioms SMChain.anomaly_su2

SimplexChain.lean

lean_all/SimplexChain.lean

/-
  SimplexChain.lean
  Counting the faces of the boundary of a simplex (link 54).

  Lean 4 core plus FTAChain, FrobChain (Pascal binomial `C`, `sumTo`) and
  DefectChain (`even_eq_odd`). Proofs are hand-written terms and plain
  rewriting; no omega / simp / ring / decide / norm_num / linarith.
  Concrete numbers are checked with `rfl`.

  ∂Δ^m has `faces m k = C (m+1) (k+1)` faces of dimension k, for k < m.
  The Euler characteristic χ = Σ_k (-1)^k faces m k is written without signs
  as `chiEven m = chiOdd m + 2 * par (m + 1)`, i.e. χ = 1 + (-1)^(m+1).

  Proved here:
    par_dbl, par_dbl1, par_cases   parity weight
    sum_tail_zero                   vanishing tail terms
    evenSum_w, oddSum_w             DefectChain's halves as weighted sums
    w_succ, v_succ                  peel off the i = 0 and i = m+1 terms
    add_right_cancel'               a + k = b + k → a = b
    euler_char                      every m: χ(∂Δ^m) = 1 + (-1)^(m+1)
    euler_odd, euler_even           χ = 2 for odd m, χ = 0 for even m ≥ 2
    fvec5, chi5                     ∂Δ^5: (6,15,20,15,6), χ = 2
    C_succ_self, cofaces_eq         k < m: a k-face lies in m - k facets
    triangle5                       a triangle of ∂Δ^5 lies in 3 four-simplices
-/
import DefectChain

namespace SimplexChain
open FTAChain FrobChain DefectChain

/-! ## Faces -/

/-- Number of k-faces of ∂Δ^m (choose k+1 of the m+1 vertices). -/
def faces (m k : Nat) : Nat := C (m + 1) (k + 1)

/-- Parity weight: `par k = 1` for even k, `0` for odd k. -/
def par : Nat → Nat
  | 0 => 1
  | 1 => 0
  | n + 2 => par n

/-- Σ over even dimensions k < m. -/
def chiEven (m : Nat) : Nat := sumTo m (fun k => par k * faces m k)

/-- Σ over odd dimensions k < m. -/
def chiOdd (m : Nat) : Nat := sumTo m (fun k => par (k + 1) * faces m k)

theorem par_dbl : ∀ j : Nat, par (j + j) = 1
  | 0 => rfl
  | j + 1 => by
    rw [← Nat.add_assoc (j + 1) j 1, Nat.add_right_comm j 1 j]
    show par (j + j) = 1
    exact par_dbl j

theorem par_dbl1 : ∀ j : Nat, par (j + j + 1) = 0
  | 0 => rfl
  | j + 1 => by
    rw [← Nat.add_assoc (j + 1) j 1, Nat.add_right_comm j 1 j]
    show par (j + j + 1) = 0
    exact par_dbl1 j

theorem par_cases : ∀ m : Nat, (par m = 1 ∧ par (m + 1) = 0) ∨ (par m = 0 ∧ par (m + 1) = 1)
  | 0 => Or.inl ⟨rfl, rfl⟩
  | 1 => Or.inr ⟨rfl, rfl⟩
  | m + 2 => par_cases m

/-! ## Weighted binomial sums -/

theorem sum_tail_zero (n : Nat) (g : Nat → Nat) (h : ∀ j, g (n + j) = 0) :
    ∀ k : Nat, sumTo (n + k) g = sumTo n g
  | 0 => rfl
  | k + 1 => by
    show sumTo (n + k) g + g (n + k) = sumTo n g
    rw [sum_tail_zero n g h k, h k, Nat.add_zero]

/-- `Σ_{i ≤ l} par i * C l i`. -/
def W (l : Nat) : Nat := sumTo (l + 1) (fun i => par i * C l i)

/-- `Σ_{i ≤ l} par (i+1) * C l i`. -/
def V (l : Nat) : Nat := sumTo (l + 1) (fun i => par (i + 1) * C l i)

theorem tail_C (l : Nat) (w : Nat → Nat) (j : Nat) : w (l + 1 + j) * C l (l + 1 + j) = 0 := by
  rw [Nat.add_right_comm l 1 j, C_gt l j, Nat.mul_zero]

theorem evenSum_w (l : Nat) : evenSum l = W l := by
  show sumTo (l + 1) (fun j => C l (j + j)) = W l
  have e : sumTo (l + 1) (fun j => C l (j + j))
      = sumTo (l + 1) (fun j => par (j + j) * C l (j + j) + par (j + j + 1) * C l (j + j + 1)) :=
    sum_ext _ _ _ (fun j _ => by rw [par_dbl, par_dbl1, Nat.one_mul, Nat.zero_mul, Nat.add_zero])
  rw [e, ← sum_pairs (fun i => par i * C l i) (l + 1)]
  exact sum_tail_zero (l + 1) _ (tail_C l par) (l + 1)

theorem oddSum_w (l : Nat) : oddSum l = V l := by
  show sumTo (l + 1) (fun j => C l (j + j + 1)) = V l
  have e : sumTo (l + 1) (fun j => C l (j + j + 1))
      = sumTo (l + 1)
          (fun j => par (j + j + 1) * C l (j + j) + par (j + j + 1 + 1) * C l (j + j + 1)) :=
    sum_ext _ _ _ (fun j _ => by
      rw [par_dbl1]
      show C l (j + j + 1) = 0 * C l (j + j) + par (j + j) * C l (j + j + 1)
      rw [par_dbl, Nat.one_mul, Nat.zero_mul, nzero_add])
  rw [e, ← sum_pairs (fun i => par (i + 1) * C l i) (l + 1)]
  exact sum_tail_zero (l + 1) _ (tail_C l (fun i => par (i + 1))) (l + 1)

theorem w_succ (m : Nat) : W (m + 1) = 1 + (chiOdd m + par (m + 1)) := by
  show sumTo (m + 1 + 1) (fun i => par i * C (m + 1) i) = _
  rw [sum_shift]
  show 1 * 1 + (chiOdd m + par (m + 1) * C (m + 1) (m + 1)) = _
  rw [C_self, Nat.mul_one (par (m + 1))]

theorem v_succ (m : Nat) : V (m + 1) = chiEven m + par m := by
  show sumTo (m + 1 + 1) (fun i => par (i + 1) * C (m + 1) i) = _
  rw [sum_shift]
  show 0 * 1 + (chiEven m + par m * C (m + 1) (m + 1)) = _
  rw [C_self, Nat.mul_one (par m)]
  exact nzero_add _

/-! ## The Euler characteristic -/

/-- Right cancellation, by hand (the core lemma uses `propext`). -/
theorem add_right_cancel' {a b : Nat} : ∀ k : Nat, a + k = b + k → a = b
  | 0, h => h
  | k + 1, h => add_right_cancel' k (succ_inj' h)

/-- **χ(∂Δ^m) = 1 + (-1)^(m+1)**, written in natural numbers:
    the even-dimensional count equals the odd-dimensional count plus
    `2` if m is odd and plus `0` if m is even. -/
theorem euler_char (m : Nat) : chiEven m = chiOdd m + 2 * par (m + 1) := by
  have h0 : evenSum (m + 1) = oddSum (m + 1) :=
    even_eq_odd (m + 1) (Nat.succ_le_succ (Nat.zero_le m))
  have h : 1 + (chiOdd m + par (m + 1)) = chiEven m + par m :=
    (w_succ m).symm.trans ((evenSum_w _).symm.trans (h0.trans ((oddSum_w _).trans (v_succ m))))
  cases par_cases m with
  | inl hp =>
    have h1 : 1 + (chiOdd m + 0) = chiEven m + 1 :=
      (congrArg (fun t => 1 + (chiOdd m + t)) hp.2).symm.trans
        (h.trans (congrArg (fun t => chiEven m + t) hp.1))
    rw [hp.2]
    exact (add_right_cancel' 1 ((Nat.add_comm 1 (chiOdd m)).symm.trans h1)).symm
  | inr hp =>
    have h1 : 1 + (chiOdd m + 1) = chiEven m + 0 :=
      (congrArg (fun t => 1 + (chiOdd m + t)) hp.2).symm.trans
        (h.trans (congrArg (fun t => chiEven m + t) hp.1))
    rw [hp.2]
    exact h1.symm.trans (Nat.add_comm 1 (chiOdd m + 1))

/-- Odd m = 2n+1: χ(∂Δ^m) = 2. -/
theorem euler_odd (n : Nat) : chiEven (n + n + 1) = chiOdd (n + n + 1) + 2 := by
  rw [euler_char, Nat.add_assoc (n + n) 1 1]
  show chiOdd (n + n + 1) + 2 * par (n + n) = _
  rw [par_dbl]

/-- Even m = 2n+2 ≥ 2: χ(∂Δ^m) = 0. -/
theorem euler_even (n : Nat) : chiEven (n + n + 2) = chiOdd (n + n + 2) := by
  rw [euler_char]
  show chiOdd (n + n + 2) + 2 * par (n + n + 1) = _
  rw [par_dbl1]
  rfl

/-! ## ∂Δ^5 -/

def fvec (m : Nat) : List Nat := (List.range m).map (faces m)

theorem fvec5 : fvec 5 = [6, 15, 20, 15, 6] := rfl

theorem chi5 : chiEven 5 = 32 ∧ chiOdd 5 = 30 ∧ chiEven 5 = chiOdd 5 + 2 := ⟨rfl, rfl, rfl⟩

/-! ## Facets through a face -/

/-- Number of (m-1)-faces of ∂Δ^m containing a fixed k-face:
    choose the missing m-1-k vertices among the other m-k. -/
def cofaces (m k : Nat) : Nat := C (m - k) (m - k - 1)

theorem C_succ_self : ∀ n : Nat, C (n + 1) n = n + 1
  | 0 => rfl
  | n + 1 => by
    show C (n + 1) n + C (n + 1) (n + 1) = n + 1 + 1
    rw [C_succ_self n, C_self]

/-- **k < m: a k-face of ∂Δ^m lies in exactly m - k facets.** -/
theorem cofaces_eq (m k : Nat) (h : k < m) : cofaces m k = m - k := by
  show C (m - k) (m - k - 1) = m - k
  rw [← sub_succ_add m k h]
  exact C_succ_self (m - (k + 1))

/-- A triangle of ∂Δ^5 lies in 3 four-simplices. -/
theorem triangle5 : cofaces 5 2 = 3 ∧ faces 5 2 = 20 := ⟨rfl, rfl⟩

end SimplexChain

#print axioms SimplexChain.par_dbl
#print axioms SimplexChain.par_dbl1
#print axioms SimplexChain.par_cases
#print axioms SimplexChain.sum_tail_zero
#print axioms SimplexChain.tail_C
#print axioms SimplexChain.evenSum_w
#print axioms SimplexChain.oddSum_w
#print axioms SimplexChain.w_succ
#print axioms SimplexChain.v_succ
#print axioms SimplexChain.add_right_cancel'
#print axioms SimplexChain.euler_char
#print axioms SimplexChain.euler_odd
#print axioms SimplexChain.euler_even
#print axioms SimplexChain.fvec5
#print axioms SimplexChain.chi5
#print axioms SimplexChain.C_succ_self
#print axioms SimplexChain.cofaces_eq
#print axioms SimplexChain.triangle5

Test.lean

lean_all/Test.lean

/- Test: fill in the two sorries so that it checks without axioms -/
namespace Test

def double : Nat → Nat
  | 0 => 0
  | n + 1 => double n + 2

theorem double_eq (n : Nat) : double n = n + n := by
  induction n with
  | zero => rfl
  | succ n ih =>
    show double n + 2 = (n + 1) + (n + 1)
    rw [ih]
    exact congrArg (· + 1) (Nat.succ_add n n).symm

theorem swap_swap {A B : Type} (p : A × B) : (p.2, p.1).swap = p := by
  rfl

#print axioms double_eq
#print axioms swap_swap

end Test

YMChain.lean

lean_all/YMChain.lean

/-
  YMChain.lean
  A four-dimensional interacting lattice gauge field built from the chain (T16).

  Lean 4 core plus FTAChain (pairs, `rem`, `iter`, laws of + and *).
  Proofs are hand-written terms, rewriting and case splits closed by `rfl`;
  no omega / simp / ring / decide / norm_num / linarith.

  Design (made here):
  * Gauge group: the unit quaternions with integer coordinates,
    ±1, ±i, ±j, ±k (the group Q8), written as a sign and a unit.
    `toVec` gives the integer coordinates, and the product agrees with the
    quaternion product of those coordinates (`mul_is_quaternion`).
  * A general group is passed by its operations and laws (`Grp`).
  * Space-time: any set of sites with four shifts that commute; the torus
    (Z/L)^4 with `rem` is an instance (`torus_comm`).
  * Field: a group element on every link; gauge transformation
    `U(x,μ) ↦ g(x) U(x,μ) g(x+μ)⁻¹`.
  * Action: count the plaquettes (2-cells, counted as in SimplexChain) whose
    holonomy is not 1, or more generally sum any class function of the
    holonomies. Weight `t^S`, measure = counting measure on configurations.

  Proved here:
    grp laws for Q8 (q8_assoc, q8_one_mul, q8_mul_one, q8_inv_mul, q8_mul_inv)
    mul_is_quaternion        Q8 product = integer quaternion product
    q8_noncomm               i j ≠ j i
    inv_mul_rev, conj_mul, conj_inv   group lemmas from the laws
    hol_gauge                holonomy of a transformed field = conjugate holonomy
    action_gauge_inv         S(gU) = S(U): every lattice, every g, every U,
                             every class function
    gauge_inverse            transforming by g then by g⁻¹ gives U back
                             (the counting measure is gauge invariant)
    weight_gauge_inv         t^S(gU) = t^S(U)
    torus_comm, torus_action_gauge_inv   the (Z/L)^4 instance, every L
    defect_class, wilson_class   both plaquette functions are class functions
    interaction              the plaquette weight is not a sum of one-link terms
    factor_sum               at t = 1 (no action), observables on disjoint link
                             sets are uncorrelated: Σ Σ F G = (Σ F)(Σ G)

  Added for T23 (reflection positivity, transfer matrix, strong coupling):
    rp_identity              Σ_x Σ_y F(x) F(y) K(x,y) = Σ_k c_k (Σ_x F(x) g_k(x))²
                             for a Gram kernel K(x,y) = Σ_k c_k g_k(x) g_k(y), any commutative ring
    rp_nonneg                with c_k ≥ 0 (any positivity predicate): ⟨θF · F⟩ ≥ 0
    gram_mul, gram_mul_nn    the product of Gram kernels is a Gram kernel, coefficients ≥ 0
    delta_gram               [g = h] = Σ_k [g = k][h = k]  (finite group, no repeats)
    defect_gram              the defect weight a + b [g = h] of a crossing plaquette is Gram
    transfer_pos             transfer-matrix entries q^(non-defects) are positive
    words_length             there are k^n words of length n over k letters
    surface_count            DFS codes of surfaces of area A: (D+1)^(2A) = ((D+1)^2)^A
    geom_telescope           q T(N) + c^(N+1) = q^(N+1) + c T(N),  T(N) = Σ_{j≤N} c^j q^(N-j)
    geom_bound               2c ≤ q ⇒ T(N) ≤ 2 q^N
    decay_bound              Σ_{A≥t} c^A q^(-A) ≤ 2 (c/q)^t, written in integers; no L appears

  Added for T25:
    c_441, gap_explicit      with c = 441 and activity ≤ 1/q, q ≥ 882 (β ≤ β₀ = 1/1764 for the
                             Wilson action): surface sum ≤ 2·2^(-t), decay rate ≥ ln 2, every L
    argmin, sum_zero_each, sumK_sub, mul_neg_r, swap3
    perron_simple            positive matrix, positive eigenvector u: every eigenvector with
                             the same eigenvalue is a multiple of u (the top eigenvalue is simple)

  Added for T27:
    perron_dominant          |μ| ≤ λ for every eigenvalue μ (positive matrix, positive eigenvector)
    perron_gap               every eigenvalue μ ≠ λ has |μ| < λ: a strict gap on each finite lattice
    sq, sq_eigen, pos_sum, sum_le, abs_sum, argmax   the steps (T² is positive; same eigenvectors)
    ker_symm                 Gram kernels, hence transfer matrices built from them, are symmetric
    sh2_comm, coarse         the coarse lattice of a decimation step
    block_gauge              blocking commutes with gauge transformations (coarse gauge covariance)
    block_weight_pos         blocked weights stay positive
    block_rp                 blocked observables keep reflection positivity
    doeblin                  rows P_ij = r_ij + δ q_j, Σ_j r_ij = e: spread(Pf) ≤ e · spread(f)
                             (Hilbert/Doeblin contraction; a gap ≥ -ln(1-δ) for stochastic P)
    pow_add_nat, pow_mul_nat, block_decay, block_decay_explicit
                             a 2·q^(-s) bound at fine distance s gives 2·(2^(2^n))^(-t) at coarse
                             distance t after n decimation steps (strong-coupling range q ≥ 882)
-/
import DetChain

namespace YMChain
open FTAChain

/-! ## A group, given by its operations and laws -/

structure Grp (G : Type) where
  mul : G → G → G
  inv : G → G
  one : G
  assoc : ∀ a b c, mul (mul a b) c = mul a (mul b c)
  one_mul : ∀ a, mul one a = a
  mul_one : ∀ a, mul a one = a
  inv_mul : ∀ a, mul (inv a) a = one
  mul_inv : ∀ a, mul a (inv a) = one

section Group
variable {G : Type} (K : Grp G)

theorem cancel_left (a b c : G) : K.mul (K.mul a (K.inv b)) (K.mul b c) = K.mul a c := by
  rw [K.assoc, ← K.assoc (K.inv b) b c, K.inv_mul, K.one_mul]

theorem inv_unique (a b : G) (h : K.mul a b = K.one) : K.inv a = b := by
  have e : K.mul (K.mul (K.inv a) a) b = K.mul (K.inv a) K.one := by rw [K.assoc, h]
  rw [K.inv_mul, K.one_mul, K.mul_one] at e
  exact e.symm

theorem inv_mul_rev (a b : G) : K.inv (K.mul a b) = K.mul (K.inv b) (K.inv a) := by
  apply inv_unique
  rw [K.assoc, ← K.assoc b (K.inv b) (K.inv a), K.mul_inv, K.one_mul, K.mul_inv]

theorem inv_inv (a : G) : K.inv (K.inv a) = a := inv_unique K (K.inv a) a (K.inv_mul a)

/-- `(g u h⁻¹)(h v k⁻¹) = g (u v) k⁻¹`. -/
theorem conj_mul (g u h v k : G) :
    K.mul (K.mul (K.mul g u) (K.inv h)) (K.mul (K.mul h v) (K.inv k))
      = K.mul (K.mul g (K.mul u v)) (K.inv k) := by
  rw [← K.assoc (K.mul (K.mul g u) (K.inv h)) (K.mul h v) (K.inv k),
    K.assoc (K.mul g u) (K.inv h) (K.mul h v), ← K.assoc (K.inv h) h v, K.inv_mul, K.one_mul,
    K.assoc g u v]

/-- `(g u h⁻¹)⁻¹ = h u⁻¹ g⁻¹`. -/
theorem conj_inv (g u h : G) :
    K.inv (K.mul (K.mul g u) (K.inv h)) = K.mul (K.mul h (K.inv u)) (K.inv g) := by
  rw [inv_mul_rev, inv_inv, inv_mul_rev, K.assoc]

end Group

/-! ## Lattice, field, gauge transformation -/

inductive D4 where
  | d0
  | d1
  | d2
  | d3

/-- Sites with four shifts that commute. -/
structure Lat (S : Type) where
  sh : S → D4 → S
  comm : ∀ x μ ν, sh (sh x μ) ν = sh (sh x ν) μ

section Field
variable {G : Type} (K : Grp G) {S : Type} (Λ : Lat S)

/-- The holonomy round the plaquette at `x` in the plane `(μ, ν)`. -/
def hol (U : S → D4 → G) (x : S) (μ ν : D4) : G :=
  K.mul (K.mul (K.mul (U x μ) (U (Λ.sh x μ) ν)) (K.inv (U (Λ.sh x ν) μ))) (K.inv (U x ν))

/-- The gauge transformation of a field. -/
def gauge (g : S → G) (U : S → D4 → G) : S → D4 → G :=
  fun x μ => K.mul (K.mul (g x) (U x μ)) (K.inv (g (Λ.sh x μ)))

/-- **The holonomy of a transformed field is the conjugated holonomy.** -/
theorem hol_gauge (g : S → G) (U : S → D4 → G) (x : S) (μ ν : D4) :
    hol K Λ (gauge K Λ g U) x μ ν = K.mul (K.mul (g x) (hol K Λ U x μ ν)) (K.inv (g x)) := by
  show K.mul (K.mul (K.mul
      (K.mul (K.mul (g x) (U x μ)) (K.inv (g (Λ.sh x μ))))
      (K.mul (K.mul (g (Λ.sh x μ)) (U (Λ.sh x μ) ν)) (K.inv (g (Λ.sh (Λ.sh x μ) ν)))))
      (K.inv (K.mul (K.mul (g (Λ.sh x ν)) (U (Λ.sh x ν) μ)) (K.inv (g (Λ.sh (Λ.sh x ν) μ))))))
      (K.inv (K.mul (K.mul (g x) (U x ν)) (K.inv (g (Λ.sh x ν))))) = _
  rw [conj_inv, conj_inv, conj_mul, Λ.comm x ν μ, conj_mul, conj_mul]
  rfl

/-- `gauge g⁻¹ (gauge g U) = U`: a gauge transformation is a bijection of
    configurations, so the counting measure does not see it. -/
theorem gauge_inverse (g : S → G) (U : S → D4 → G) (x : S) (μ : D4) :
    gauge K Λ (fun y => K.inv (g y)) (gauge K Λ g U) x μ = U x μ := by
  show K.mul (K.mul (K.inv (g x)) (K.mul (K.mul (g x) (U x μ)) (K.inv (g (Λ.sh x μ)))))
      (K.inv (K.inv (g (Λ.sh x μ)))) = U x μ
  rw [inv_inv, ← K.assoc (K.inv (g x)), ← K.assoc (K.inv (g x)), K.inv_mul, K.one_mul, K.assoc,
    K.inv_mul, K.mul_one]

/-- A class function: unchanged by conjugation. -/
def IsClass (f : G → Nat) : Prop := ∀ a b, f (K.mul (K.mul a b) (K.inv a)) = f b

/-- The six planes `μ < ν`. -/
def planes : List (D4 × D4) :=
  [(.d0, .d1), (.d0, .d2), (.d0, .d3), (.d1, .d2), (.d1, .d3), (.d2, .d3)]

def lsum {A : Type} (F : A → Nat) : List A → Nat
  | [] => 0
  | a :: as => F a + lsum F as

theorem lsum_ext {A : Type} (F H : A → Nat) (h : ∀ a, F a = H a) : ∀ l, lsum F l = lsum H l
  | [] => rfl
  | a :: as => by
    show F a + lsum F as = H a + lsum H as
    rw [h a, lsum_ext F H h as]

/-- **The action**: sum of `f` over the plaquettes at the listed sites. -/
def action (f : G → Nat) (sites : List S) (U : S → D4 → G) : Nat :=
  lsum (fun x => lsum (fun p => f (hol K Λ U x p.1 p.2)) planes) sites

/-- **Gauge invariance of the action**, for every list of sites, every gauge
    transformation, every field and every class function. -/
theorem action_gauge_inv (f : G → Nat) (hf : IsClass K f) (sites : List S)
    (g : S → G) (U : S → D4 → G) : action K Λ f sites (gauge K Λ g U) = action K Λ f sites U :=
  lsum_ext _ _ (fun x => lsum_ext _ _ (fun p => by
    show f (hol K Λ (gauge K Λ g U) x p.1 p.2) = f (hol K Λ U x p.1 p.2)
    rw [hol_gauge]
    exact hf (g x) _) planes) sites

/-- The Boltzmann weight `t^S` is gauge invariant. -/
theorem weight_gauge_inv (f : G → Nat) (hf : IsClass K f) (sites : List S) (t : Nat)
    (g : S → G) (U : S → D4 → G) :
    t ^ action K Λ f sites (gauge K Λ g U) = t ^ action K Λ f sites U := by
  rw [action_gauge_inv K Λ f hf sites g U]

end Field

/-! ## The torus (Z/L)^4 -/

structure Site where
  c0 : Nat
  c1 : Nat
  c2 : Nat
  c3 : Nat

def up (L n : Nat) : Nat := rem L (n + 1)

def tsh (L : Nat) (x : Site) : D4 → Site
  | .d0 => ⟨up L x.c0, x.c1, x.c2, x.c3⟩
  | .d1 => ⟨x.c0, up L x.c1, x.c2, x.c3⟩
  | .d2 => ⟨x.c0, x.c1, up L x.c2, x.c3⟩
  | .d3 => ⟨x.c0, x.c1, x.c2, up L x.c3⟩

theorem torus_comm (L : Nat) (x : Site) (μ ν : D4) : tsh L (tsh L x μ) ν = tsh L (tsh L x ν) μ := by
  cases μ <;> cases ν <;> rfl

def torus (L : Nat) : Lat Site := ⟨tsh L, torus_comm L⟩

/-- All sites of (Z/L)^4. -/
def sites (L : Nat) : List Site :=
  (List.range L).flatMap fun a => (List.range L).flatMap fun b =>
    (List.range L).flatMap fun c => (List.range L).map fun d => ⟨a, b, c, d⟩

theorem sites_length : (sites 2).length = 16 ∧ (sites 3).length = 81 := ⟨rfl, rfl⟩

theorem torus_action_gauge_inv {G : Type} (K : Grp G) (f : G → Nat) (hf : IsClass K f) (L : Nat)
    (g : Site → G) (U : Site → D4 → G) :
    action K (torus L) f (sites L) (gauge K (torus L) g U) = action K (torus L) f (sites L) U :=
  action_gauge_inv K (torus L) f hf (sites L) g U

/-! ## Q8: the unit quaternions with integer coordinates -/

inductive U4 where
  | e
  | i
  | j
  | k

/-- Product of units: a sign flip and a unit (`ij = k`, `ji = -k`, `i² = -1`, ...). -/
def umul : U4 → U4 → Bool × U4
  | .e, u => (false, u)
  | .i, .e => (false, .i)
  | .i, .i => (true, .e)
  | .i, .j => (false, .k)
  | .i, .k => (true, .j)
  | .j, .e => (false, .j)
  | .j, .i => (true, .k)
  | .j, .j => (true, .e)
  | .j, .k => (false, .i)
  | .k, .e => (false, .k)
  | .k, .i => (false, .j)
  | .k, .j => (true, .i)
  | .k, .k => (true, .e)

def bxor : Bool → Bool → Bool
  | false, b => b
  | true, false => true
  | true, true => false

/-- `±u`: `neg = true` means the minus sign. -/
structure Q8 where
  neg : Bool
  u : U4

def qmul (a b : Q8) : Q8 := ⟨bxor (bxor a.neg b.neg) (umul a.u b.u).1, (umul a.u b.u).2⟩

def isE : U4 → Bool
  | .e => true
  | .i => false
  | .j => false
  | .k => false

/-- `u⁻¹ = -u` for `u = i, j, k`, and `1⁻¹ = 1`. -/
def qinv (a : Q8) : Q8 := ⟨bxor a.neg (!(isE a.u)), a.u⟩

def qone : Q8 := ⟨false, .e⟩

theorem q8_assoc (a b c : Q8) : qmul (qmul a b) c = qmul a (qmul b c) := by
  cases a with
  | mk s u => cases b with
    | mk t v => cases c with
      | mk r w => cases s <;> cases t <;> cases r <;> cases u <;> cases v <;> cases w <;> rfl

theorem q8_one_mul (a : Q8) : qmul qone a = a := by
  cases a with
  | mk s u => cases s <;> cases u <;> rfl

theorem q8_mul_one (a : Q8) : qmul a qone = a := by
  cases a with
  | mk s u => cases s <;> cases u <;> rfl

theorem q8_inv_mul (a : Q8) : qmul (qinv a) a = qone := by
  cases a with
  | mk s u => cases s <;> cases u <;> rfl

theorem q8_mul_inv (a : Q8) : qmul a (qinv a) = qone := by
  cases a with
  | mk s u => cases s <;> cases u <;> rfl

def Q8grp : Grp Q8 := ⟨qmul, qinv, qone, q8_assoc, q8_one_mul, q8_mul_one, q8_inv_mul, q8_mul_inv⟩

/-- Integer coordinates `(w, x, y, z)` of `w + x i + y j + z k`. -/
def toVec (a : Q8) : Int × Int × Int × Int :=
  let s : Int := match a.neg with
    | false => 1
    | true => -1
  match a.u with
  | .e => (s, 0, 0, 0)
  | .i => (0, s, 0, 0)
  | .j => (0, 0, s, 0)
  | .k => (0, 0, 0, s)

/-- The quaternion product of coordinates. -/
def vmul (p q : Int × Int × Int × Int) : Int × Int × Int × Int :=
  let (a1, b1, c1, d1) := p
  let (a2, b2, c2, d2) := q
  (a1 * a2 - b1 * b2 - c1 * c2 - d1 * d2,
   a1 * b2 + b1 * a2 + c1 * d2 - d1 * c2,
   a1 * c2 - b1 * d2 + c1 * a2 + d1 * b2,
   a1 * d2 + b1 * c2 - c1 * b2 + d1 * a2)

def norm2 (p : Int × Int × Int × Int) : Int :=
  p.1 * p.1 + p.2.1 * p.2.1 + p.2.2.1 * p.2.2.1 + p.2.2.2 * p.2.2.2

/-- **Q8 is the group of unit integer quaternions**: its product is the
    quaternion product, and every element has norm 1. -/
theorem mul_is_quaternion (a b : Q8) : toVec (qmul a b) = vmul (toVec a) (toVec b) := by
  cases a with
  | mk s u => cases b with
    | mk t v => cases s <;> cases t <;> cases u <;> cases v <;> rfl

theorem unit_norm (a : Q8) : norm2 (toVec a) = 1 := by
  cases a with
  | mk s u => cases s <;> cases u <;> rfl

def qi : Q8 := ⟨false, .i⟩
def qj : Q8 := ⟨false, .j⟩

theorem q8_noncomm : qmul qi qj ≠ qmul qj qi := fun h =>
  Bool.noConfusion (congrArg (fun a => a.neg) h)

/-! ## Plaquette functions -/

/-- The defect: 1 when the holonomy is not 1. -/
def defect (a : Q8) : Nat :=
  match a.neg, a.u with
  | false, .e => 0
  | false, .i => 1
  | false, .j => 1
  | false, .k => 1
  | true, _ => 1

/-- `2 (1 - Re a)` for a unit quaternion: 0, 2, 4 on the classes 1, ±i ±j ±k, -1
    (the Wilson plaquette function, as a natural number). -/
def wilson2 (a : Q8) : Nat :=
  match a.neg, a.u with
  | false, .e => 0
  | true, .e => 4
  | _, .i => 2
  | _, .j => 2
  | _, .k => 2

theorem defect_class : IsClass Q8grp defect := by
  intro a b
  cases a with
  | mk s u => cases b with
    | mk t v => cases s <;> cases t <;> cases u <;> cases v <;> rfl

theorem wilson_class : IsClass Q8grp wilson2 := by
  intro a b
  cases a with
  | mk s u => cases b with
    | mk t v => cases s <;> cases t <;> cases u <;> cases v <;> rfl

/-- The weight of one plaquette from its four links. -/
def pw (a b c d : Q8) : Nat := defect (qmul (qmul (qmul a b) (qinv c)) (qinv d))

/-- Eight terms in two different groupings. -/
theorem regroup (x x' y y' z w : Nat) :
    x + y + z + w + (x' + y' + z + w) = x + y' + z + w + (x' + y + z + w) := by
  rw [nadd_assoc (x + y) z w, nadd_assoc (x' + y') z w, nadd_assoc (x + y') z w,
    nadd_assoc (x' + y) z w, mid4 (x + y) (z + w) (x' + y') (z + w),
    mid4 (x + y') (z + w) (x' + y) (z + w), mid4 x y x' y', mid4 x y' x' y, nadd_comm y' y]

/-- **Interaction.** The plaquette weight is not a sum of one-link terms:
    there are no `h1 h2 h3 h4` with `pw a b c d = h1 a + h2 b + h3 c + h4 d`.
    (`pw i i 1 1 = 1` since `i² = -1`, while `pw 1 1 1 1 = 0` and
    `pw i 1 1 1 = pw 1 i 1 1 = 1`; a sum of one-link terms would give `1 + 0 = 1 + 1`.) -/
theorem interaction :
    ¬ ∃ h1 h2 h3 h4 : Q8 → Nat, ∀ a b c d, pw a b c d = h1 a + h2 b + h3 c + h4 d := by
  intro ⟨h1, h2, h3, h4, h⟩
  have s : pw qi qi qone qone + pw qone qone qone qone = pw qi qone qone qone + pw qone qi qone qone := by
    rw [h qi qi qone qone, h qone qone qone qone, h qi qone qone qone, h qone qi qone qone]
    exact regroup _ _ _ _ _ _
  have s12 : (1 : Nat) = 2 := s
  exact succ_ne_zero' 0 (succ_inj' s12).symm

/-! ## No action: observables on disjoint link sets do not correlate -/

/-- `Σ_{a ∈ A} Σ_{b ∈ B} F a * H b = (Σ F) (Σ H)`. -/
theorem factor_sum {A B : Type} (F : A → Nat) (H : B → Nat) (bs : List B) :
    ∀ as : List A, lsum (fun a => lsum (fun b => F a * H b) bs) as = lsum F as * lsum H bs
  | [] => (nzero_mul _).symm
  | a :: as => by
    show lsum (fun b => F a * H b) bs + lsum (fun a => lsum (fun b => F a * H b) bs) as
      = (F a + lsum F as) * lsum H bs
    rw [factor_sum F H bs as, nright_distrib, mul_lsum]
where
  mul_lsum : ∀ (c : Nat) (l : List B), lsum (fun b => c * H b) l = c * lsum H l := fun c l => by
    induction l with
    | nil => rfl
    | cons b l ih =>
      show c * H b + lsum (fun b => c * H b) l = c * (H b + lsum H l)
      rw [ih, nleft_distrib]

/-! ## Reflection positivity, for Gram kernels -/

section RP
variable {R : Type} (K : DetChain.CRing R)

/-- A positivity predicate on the ring: squares, sums and products of nonnegatives. -/
structure Positivity where
  nn : R → Prop
  nn_sq : ∀ x, nn (K.mul x x)
  nn_add : ∀ a b, nn a → nn b → nn (K.add a b)
  nn_mul : ∀ a b, nn a → nn b → nn (K.mul a b)
  nn_zero : nn K.zero

def sumK {A : Type} (f : A → R) : List A → R
  | [] => K.zero
  | a :: as => K.add (f a) (sumK f as)

theorem sumK_ext {A : Type} (f g : A → R) (h : ∀ a, f a = g a) : ∀ l, sumK K f l = sumK K g l
  | [] => rfl
  | a :: as => by
    show K.add (f a) (sumK K f as) = K.add (g a) (sumK K g as)
    rw [h a, sumK_ext f g h as]

theorem sumK_add {A : Type} (f g : A → R) :
    ∀ l, sumK K (fun a => K.add (f a) (g a)) l = K.add (sumK K f l) (sumK K g l)
  | [] => (K.zero_add K.zero).symm
  | a :: as => by
    show K.add (K.add (f a) (g a)) (sumK K (fun a => K.add (f a) (g a)) as)
      = K.add (K.add (f a) (sumK K f as)) (K.add (g a) (sumK K g as))
    rw [sumK_add f g as, DetChain.add_mid4]

theorem mul_sumK {A : Type} (c : R) (f : A → R) :
    ∀ l, K.mul c (sumK K f l) = sumK K (fun a => K.mul c (f a)) l
  | [] => DetChain.mul_zero K c
  | a :: as => by
    show K.mul c (K.add (f a) (sumK K f as)) = K.add (K.mul c (f a)) (sumK K (fun a => K.mul c (f a)) as)
    rw [K.distrib, mul_sumK c f as]

theorem sumK_mul {A : Type} (c : R) (f : A → R) (l : List A) :
    K.mul (sumK K f l) c = sumK K (fun a => K.mul (f a) c) l := by
  rw [K.mul_comm, mul_sumK]
  exact sumK_ext K _ _ (fun a => K.mul_comm _ _) l

theorem sumK_swap {A B : Type} (g : A → B → R) (bs : List B) :
    ∀ as : List A, sumK K (fun a => sumK K (fun b => g a b) bs) as
      = sumK K (fun b => sumK K (fun a => g a b) as) bs
  | [] => (zeros bs).symm
  | a :: as => by
    show K.add (sumK K (fun b => g a b) bs) (sumK K (fun a => sumK K (fun b => g a b) bs) as)
      = sumK K (fun b => K.add (g a b) (sumK K (fun a => g a b) as)) bs
    rw [sumK_swap g bs as, sumK_add]
where
  zeros : ∀ l : List B, sumK K (fun _ => K.zero) l = K.zero
    | [] => rfl
    | _ :: l => by
      show K.add K.zero (sumK K (fun _ => K.zero) l) = K.zero
      rw [zeros l, K.zero_add]

/-- A Gram kernel `K(x,y) = Σ_k c_k g_k(x) g_k(y)`, given by its list of `(c_k, g_k)`. -/
def ker {X : Type} (L : List (R × (X → R))) (x y : X) : R :=
  sumK K (fun p => K.mul (K.mul p.1 (p.2 x)) (p.2 y)) L

theorem rearr (a b c d e : R) :
    K.mul (K.mul a b) (K.mul (K.mul c d) e) = K.mul c (K.mul (K.mul a d) (K.mul b e)) := by
  rw [K.mul_assoc c d e, ← K.mul_assoc, K.mul_comm (K.mul a b) c, K.mul_assoc c, ← K.mul_assoc (K.mul a b) d,
    K.mul_assoc a b d, K.mul_comm b d, ← K.mul_assoc a d b, K.mul_assoc (K.mul a d) b e]

/-- **Reflection positivity as a sum of squares.**
    `Σ_x Σ_y F(x) F(y) K(x,y) = Σ_k c_k (Σ_x F(x) g_k(x))²`. -/
theorem rp_identity {X : Type} (F : X → R) (xs : List X) (L : List (R × (X → R))) :
    sumK K (fun x => sumK K (fun y => K.mul (K.mul (F x) (F y)) (ker K L x y)) xs) xs
      = sumK K (fun p => K.mul p.1 (K.mul (sumK K (fun x => K.mul (F x) (p.2 x)) xs)
          (sumK K (fun x => K.mul (F x) (p.2 x)) xs))) L := by
  have e1 : ∀ x y, K.mul (K.mul (F x) (F y)) (ker K L x y)
      = sumK K (fun p => K.mul p.1 (K.mul (K.mul (F x) (p.2 x)) (K.mul (F y) (p.2 y)))) L := fun x y => by
    show K.mul (K.mul (F x) (F y)) (sumK K _ L) = _
    rw [mul_sumK]
    exact sumK_ext K _ _ (fun p => rearr K _ _ _ _ _) L
  rw [sumK_ext K _ _ (fun x => sumK_ext K _ _ (fun y => e1 x y) xs) xs]
  rw [sumK_ext K _ _ (fun x => sumK_swap K _ L xs) xs, sumK_swap]
  refine sumK_ext K _ _ (fun p => ?_) L
  show sumK K (fun x => sumK K (fun y => K.mul p.1 (K.mul ((fun x => K.mul (F x) (p.2 x)) x)
      ((fun x => K.mul (F x) (p.2 x)) y))) xs) xs = _
  generalize (fun x => K.mul (F x) (p.2 x)) = a
  have inner : ∀ x, sumK K (fun y => K.mul p.1 (K.mul (a x) (a y))) xs
      = K.mul p.1 (K.mul (a x) (sumK K a xs)) := fun x => by
    rw [mul_sumK K (a x) a xs, mul_sumK K p.1]
  rw [sumK_ext K _ _ inner xs, sumK_mul K (sumK K a xs) a xs, mul_sumK K p.1]

/-- All coefficients are nonnegative. -/
def AllNN {X : Type} (P : Positivity K) : List (R × (X → R)) → Prop
  | [] => True
  | p :: ps => P.nn p.1 ∧ AllNN P ps

theorem sumK_nn {A : Type} (P : Positivity K) (f : A → R) (h : ∀ a, P.nn (f a)) : ∀ l, P.nn (sumK K f l)
  | [] => P.nn_zero
  | a :: as => P.nn_add _ _ (h a) (sumK_nn P f h as)

theorem sumK_nn_list {X : Type} (P : Positivity K) (f : R × (X → R) → R) :
    ∀ L : List (R × (X → R)), AllNN K P L → (∀ p, P.nn p.1 → P.nn (f p)) → P.nn (sumK K f L)
  | [], _, _ => P.nn_zero
  | p :: ps, h, hf => P.nn_add _ _ (hf p h.1) (sumK_nn_list P f ps h.2 hf)

/-- **⟨θF · F⟩ ≥ 0** for a Gram kernel with nonnegative coefficients. -/
theorem rp_nonneg {X : Type} (P : Positivity K) (F : X → R) (xs : List X) (L : List (R × (X → R)))
    (hL : AllNN K P L) :
    P.nn (sumK K (fun x => sumK K (fun y => K.mul (K.mul (F x) (F y)) (ker K L x y)) xs) xs) := by
  rw [rp_identity]
  exact sumK_nn_list K P _ L hL (fun p hp => P.nn_mul _ _ hp (P.nn_sq _))

/-- Product of Gram lists. -/
def prodG {X : Type} : List (R × (X → R)) → List (R × (X → R)) → List (R × (X → R))
  | [], _ => []
  | p :: ps, L2 => L2.map (fun q => (K.mul p.1 q.1, fun x => K.mul (p.2 x) (q.2 x))) ++ prodG ps L2

theorem sumK_append {A : Type} (f : A → R) : ∀ a b : List A, sumK K f (a ++ b) = K.add (sumK K f a) (sumK K f b)
  | [], b => (K.zero_add _).symm
  | x :: a, b => by
    show K.add (f x) (sumK K f (a ++ b)) = K.add (K.add (f x) (sumK K f a)) (sumK K f b)
    rw [sumK_append f a b, K.add_assoc]

theorem sumK_map {A B : Type} (f : B → R) (g : A → B) : ∀ l : List A, sumK K f (l.map g) = sumK K (fun a => f (g a)) l
  | [] => rfl
  | a :: as => by
    show K.add (f (g a)) (sumK K f (as.map g)) = K.add (f (g a)) (sumK K (fun a => f (g a)) as)
    rw [sumK_map f g as]

theorem mul_mid4 (a b c d : R) : K.mul (K.mul a b) (K.mul c d) = K.mul (K.mul a c) (K.mul b d) := by
  rw [K.mul_assoc, ← K.mul_assoc b c d, K.mul_comm b c, K.mul_assoc c b d, ← K.mul_assoc]

theorem rearr2 (c1 a1 b1 c2 a2 b2 : R) :
    K.mul (K.mul (K.mul c1 c2) (K.mul a1 a2)) (K.mul b1 b2)
      = K.mul (K.mul (K.mul c1 a1) b1) (K.mul (K.mul c2 a2) b2) := by
  rw [K.mul_assoc, mul_mid4 K a1 a2 b1 b2, mul_mid4 K c1 c2 (K.mul a1 b1) (K.mul a2 b2),
    ← K.mul_assoc c1 a1 b1, ← K.mul_assoc c2 a2 b2]

/-- **The product of two Gram kernels is the Gram kernel of the product list.** -/
theorem gram_mul {X : Type} (L1 L2 : List (R × (X → R))) (x y : X) :
    ker K (prodG K L1 L2) x y = K.mul (ker K L1 x y) (ker K L2 x y) := by
  induction L1 with
  | nil => exact (DetChain.zero_mul' K _).symm
  | cons p ps ih =>
    show sumK K _ (L2.map _ ++ prodG K ps L2) = K.mul (K.add _ (ker K ps x y)) (ker K L2 x y)
    rw [sumK_append, sumK_map]
    show K.add _ (ker K (prodG K ps L2) x y) = _
    rw [ih, DetChain.right_distrib]
    congr 1
    show _ = K.mul _ (sumK K _ L2)
    rw [mul_sumK]
    exact sumK_ext K _ _ (fun q => rearr2 K _ _ _ _ _ _) L2

theorem gram_mul_nn {X : Type} (P : Positivity K) :
    ∀ L1 L2 : List (R × (X → R)), AllNN K P L1 → AllNN K P L2 → AllNN K P (prodG K L1 L2)
  | [], _, _, _ => trivial
  | p :: ps, L2, h1, h2 => by
    show AllNN K P (L2.map _ ++ prodG K ps L2)
    exact app_nn _ _ (map_nn p h1.1 L2 h2) (gram_mul_nn P ps L2 h1.2 h2)
where
  map_nn (p : R × (X → R)) (hp : P.nn p.1) :
      ∀ L2 : List (R × (X → R)), AllNN K P L2 →
        AllNN K P (L2.map (fun q => (K.mul p.1 q.1, fun x => K.mul (p.2 x) (q.2 x))))
    | [], _ => trivial
    | q :: qs, h => ⟨P.nn_mul _ _ hp h.1, map_nn p hp qs h.2⟩
  app_nn : ∀ (a b : List (R × (X → R))), AllNN K P a → AllNN K P b → AllNN K P (a ++ b)
    | [], _, _, hb => hb
    | _ :: a, b, ha, hb => ⟨ha.1, app_nn a b ha.2 hb⟩

/-- Indicator in the ring. -/
def indR : Bool → R
  | true => K.one
  | false => K.zero

def memL {G : Type} : G → List G → Prop
  | _, [] => False
  | a, b :: bs => a = b ∨ memL a bs

def distinctL {G : Type} : List G → Prop
  | [] => True
  | a :: as => (¬ memL a as) ∧ distinctL as

/-- **The diagonal is Gram**: for a list `Gs` with no repeats containing `g`,
    `Σ_{k∈Gs} [g = k][h = k] = [g = h]`. -/
theorem delta_gram {G : Type} (eqb : G → G → Bool) (sound : ∀ a b, eqb a b = true → a = b)
    (refl : ∀ a, eqb a a = true) (symm : ∀ a b, eqb a b = eqb b a) (g h : G) :
    ∀ Gs : List G, distinctL Gs → memL g Gs →
      sumK K (fun k => K.mul (indR K (eqb g k)) (indR K (eqb h k))) Gs = indR K (eqb g h)
  | [], _, hm => False.elim hm
  | k :: ks, hd, hm => by
    show K.add (K.mul (indR K (eqb g k)) (indR K (eqb h k))) (sumK K _ ks) = _
    cases e : eqb g k with
    | true =>
      have gk : g = k := sound g k e
      rw [← gk] at hd
      have rest : sumK K (fun k => K.mul (indR K (eqb g k)) (indR K (eqb h k))) ks = K.zero :=
        zero_rest ks hd.1
      rw [rest, DetChain.add_zero', ← gk, symm h g]
      exact DetChain.CRing.one_mul K _
    | false =>
      have hm' : memL g ks := by
        cases hm with
        | inl hg => rw [hg, refl] at e; exact Bool.noConfusion e
        | inr hr => exact hr
      rw [show K.mul (indR K false) (indR K (eqb h k)) = K.zero from DetChain.zero_mul' K _, K.zero_add]
      exact delta_gram eqb sound refl symm g h ks hd.2 hm'
where
  zero_rest : ∀ ks : List G, ¬ memL g ks →
      sumK K (fun k => K.mul (indR K (eqb g k)) (indR K (eqb h k))) ks = K.zero
    | [], _ => rfl
    | k :: ks, hn => by
      show K.add (K.mul (indR K (eqb g k)) (indR K (eqb h k))) (sumK K _ ks) = K.zero
      cases e : eqb g k with
      | true => exact absurd (Or.inl (sound g k e)) hn
      | false =>
        rw [show K.mul (indR K false) (indR K (eqb h k)) = K.zero from DetChain.zero_mul' K _, K.zero_add]
        exact zero_rest ks (fun hm => hn (Or.inr hm))

/-- **The defect weight of a crossing plaquette is a Gram kernel**:
    `a + b [g = h] = a·1·1 + Σ_k b [g = k][h = k]`, with coefficients `a, b`. -/
theorem defect_gram {G : Type} (eqb : G → G → Bool) (sound : ∀ a b, eqb a b = true → a = b)
    (refl : ∀ a, eqb a a = true) (symm : ∀ a b, eqb a b = eqb b a) (a b : R) (g h : G) (Gs : List G)
    (hd : distinctL Gs) (hg : memL g Gs) :
    ker K ((a, fun _ => K.one) :: Gs.map (fun k => (b, fun x => indR K (eqb x k)))) g h
      = K.add a (K.mul b (indR K (eqb g h))) := by
  show K.add (K.mul (K.mul a K.one) K.one) (sumK K _ (Gs.map _)) = _
  rw [sumK_map, DetChain.CRing.mul_comm K a K.one, DetChain.CRing.one_mul, DetChain.CRing.mul_comm K a K.one,
    DetChain.CRing.one_mul, ← delta_gram K eqb sound refl symm g h Gs hd hg, mul_sumK]
  congr 1
  exact sumK_ext K _ _ (fun k => DetChain.CRing.mul_assoc K _ _ _) Gs

end RP

/-! ## Transfer matrix: positive entries -/

/-- `Π_i q^(n_i)` with `q ≥ 1`: every entry of the transfer matrix (weight of a
    time step, written as `q` to the number of non-defective plaquettes) is ≥ 1. -/
def prodPow (q : Nat) : List Nat → Nat
  | [] => 1
  | n :: ns => q ^ n * prodPow q ns

theorem pow_pos' (q : Nat) (hq : 0 < q) : ∀ n, 0 < q ^ n
  | 0 => Nat.zero_lt_succ 0
  | n + 1 => Nat.mul_le_mul (pow_pos' q hq n) hq

theorem transfer_pos (q : Nat) (hq : 0 < q) : ∀ ns, 0 < prodPow q ns
  | [] => Nat.zero_lt_succ 0
  | n :: ns => Nat.mul_le_mul (pow_pos' q hq n) (transfer_pos q hq ns)

/-! ## Counting surfaces -/

/-- All words of length `n` over the letters `as`. -/
def consAll {α : Type} : List α → List (List α) → List (List α)
  | [], _ => []
  | a :: as, ws => ws.map (List.cons a) ++ consAll as ws

def words {α : Type} (as : List α) : Nat → List (List α)
  | 0 => [[]]
  | n + 1 => consAll as (words as n)

theorem len_app2 {β : Type} : ∀ a b : List β, (a ++ b).length = a.length + b.length
  | [], b => (Nat.zero_add b.length).symm
  | _ :: a, b => by
    show (a ++ b).length + 1 = a.length + 1 + b.length
    rw [len_app2 a b, Nat.add_right_comm]

theorem len_map2 {β γ : Type} (f : β → γ) : ∀ a : List β, (a.map f).length = a.length
  | [] => rfl
  | _ :: a => congrArg (· + 1) (len_map2 f a)

theorem consAll_length {α : Type} (ws : List (List α)) : ∀ as : List α, (consAll as ws).length = as.length * ws.length
  | [] => (nzero_mul _).symm
  | _ :: as => by
    show (ws.map _ ++ consAll as ws).length = (as.length + 1) * ws.length
    rw [len_app2, len_map2, consAll_length ws as, nsucc_mul, nadd_comm]

/-- **There are `k^n` words of length `n` over `k` letters.** -/
theorem words_length {α : Type} (as : List α) : ∀ n, (words as n).length = as.length ^ n
  | 0 => rfl
  | n + 1 => by
    show (consAll as (words as n)).length = as.length ^ n * as.length
    rw [consAll_length, words_length as n, nmul_comm]

/-- **Surface count.** A connected plaquette surface of area `A` is coded by a
    depth-first walk on its plaquettes: `2A` letters, each a neighbour direction
    (`D` of them) or a step back. There are `(D+1)^(2A) = ((D+1)^2)^A` codes. -/
theorem surface_count {α : Type} (dirs : List α) (back : α) (A : Nat) :
    (words (back :: dirs) (A + A)).length = ((dirs.length + 1) * (dirs.length + 1)) ^ A := by
  rw [words_length]
  show (dirs.length + 1) ^ (A + A) = _
  exact pow_double (dirs.length + 1) A
where
  pow_double (k : Nat) : ∀ A, k ^ (A + A) = (k * k) ^ A
    | 0 => rfl
    | A + 1 => by
      rw [← Nat.add_assoc (A + 1) A 1, Nat.add_right_comm A 1 A]
      show k ^ (A + A) * k * k = (k * k) ^ A * (k * k)
      rw [pow_double k A, nmul_assoc]

/-! ## The geometric bound: decay independent of L -/

/-- `T(N) = Σ_{j ≤ N} c^j q^(N-j)`. -/
def geomT (c q : Nat) : Nat → Nat
  | 0 => 1
  | N + 1 => q * geomT c q N + c ^ (N + 1)

/-- **Telescoping**: `q T(N) + c^(N+1) = q^(N+1) + c T(N)`. -/
theorem geom_telescope (c q : Nat) : ∀ N, q * geomT c q N + c ^ (N + 1) = q ^ (N + 1) + c * geomT c q N
  | 0 => by
    show q * 1 + 1 * c = 1 * q + c * 1
    rw [nmul_one, nmul_one, Nat.one_mul, Nat.one_mul]
  | N + 1 => by
    have ih := geom_telescope c q N
    show q * (q * geomT c q N + c ^ (N + 1)) + c ^ (N + 1) * c
      = q ^ (N + 1) * q + c * (q * geomT c q N + c ^ (N + 1))
    have L : q * (q * geomT c q N + c ^ (N + 1)) + c ^ (N + 1) * c
        = q ^ (N + 1) * q + c * (q * geomT c q N) + c * c ^ (N + 1) := by
      rw [ih, nleft_distrib, nmul_comm q (q ^ (N + 1)), nmul_comm (c ^ (N + 1)) c, ← nmul_assoc q c,
        nmul_comm q c, nmul_assoc c q]
    rw [L, nleft_distrib c (q * geomT c q N) (c ^ (N + 1)), nadd_assoc]

theorem le_cancel {a b : Nat} (h : a + a ≤ b + a) : a ≤ b := by
  cases Nat.lt_or_ge b a with
  | inl hlt => exact absurd h (Nat.not_le_of_lt (Nat.add_lt_add_right hlt a))
  | inr hge => exact hge

/-- **Geometric bound**: if `2c ≤ q` then `T(N) ≤ 2 q^N`. -/
theorem geom_bound (c q : Nat) (hq : 0 < q) (hc : 2 * c ≤ q) (N : Nat) : geomT c q N ≤ 2 * q ^ N := by
  have tel := geom_telescope c q N
  have h1 : q * geomT c q N ≤ q ^ (N + 1) + c * geomT c q N :=
    tel ▸ Nat.le_add_right (q * geomT c q N) (c ^ (N + 1))
  have h2 : 2 * (q * geomT c q N) ≤ 2 * q ^ (N + 1) + q * geomT c q N := by
    have a := Nat.mul_le_mul_left 2 h1
    rw [nleft_distrib, ← nmul_assoc 2 c] at a
    exact Nat.le_trans a (Nat.add_le_add (Nat.le_refl _) (Nat.mul_le_mul_right _ hc))
  rw [Nat.two_mul (q * geomT c q N)] at h2
  have h4 : q * geomT c q N ≤ 2 * q ^ (N + 1) := le_cancel h2
  have e : q * (2 * q ^ N) = 2 * q ^ (N + 1) := by
    rw [← nmul_assoc, nmul_comm q 2, nmul_assoc, nmul_comm q (q ^ N)]
    rfl
  have h3 : q * geomT c q N ≤ q * (2 * q ^ N) := by
    rw [e]
    exact h4
  exact Nat.le_of_mul_le_mul_left h3 hq

/-- **Decay with a rate independent of L.** If a correlation at distance `t` is
    bounded by a sum over surfaces of area `A ≥ t` with at most `c^A` surfaces of
    area `A`, each of weight `ε^A = q^(-A)`, then (multiplying by `q^(t+N)`)
    `Σ_{A=t}^{t+N} c^A q^(t+N-A) ≤ 2 c^t q^N`, i.e. the sum is `≤ 2 (c/q)^t`.
    Nothing here depends on the lattice size. -/
theorem decay_bound (c q t : Nat) (hq : 0 < q) (hc : 2 * c ≤ q) (N : Nat) :
    c ^ t * geomT c q N ≤ 2 * c ^ t * q ^ N := by
  have h := Nat.mul_le_mul_left (c ^ t) (geom_bound c q hq hc N)
  rw [← nmul_assoc, nmul_comm (c ^ t) 2] at h
  exact h

/-! ## An explicit β₀ -/

/-- In four dimensions a plaquette shares an edge with `D = 20` others; the
    surface constant is `c = (D+1)² = 441`. -/
theorem c_441 : (20 + 1) * (20 + 1) = 441 := rfl

theorem mul_pow' (a b : Nat) : ∀ t, (a * b) ^ t = a ^ t * b ^ t
  | 0 => rfl
  | t + 1 => by
    show (a * b) ^ t * (a * b) = a ^ t * a * (b ^ t * b)
    rw [mul_pow' a b t, mmid4]

/-- **Strong coupling with an explicit β₀.** Let every plaquette of a polymer
    carry activity at most `ε = 1/q`. For the Wilson action `ε ≤ 1 - e^(-2β) ≤ 2β`,
    for the defect action `ε ≤ 1 - e^(-β) ≤ β`. If `q ≥ 882`, i.e. `β ≤ β₀ = 1/1764`
    (Wilson) or `β ≤ 1/882` (defect), then for every `t` and every cut-off `N`:
    the surface sum `Σ_{A=t}^{t+N} 441^A q^(t+N-A)` is at most `2 · 441^t q^N`, and
    `2^t · 441^t ≤ q^t`. Together: the sum is `≤ 2 · 2^(-t)`, a decay rate `≥ ln 2`
    in every finite volume. No lattice size enters. -/
theorem gap_explicit (q : Nat) (hq : 882 ≤ q) (t N : Nat) :
    441 ^ t * geomT 441 q N ≤ 2 * 441 ^ t * q ^ N ∧ 2 ^ t * 441 ^ t ≤ q ^ t := by
  have hq0 : 0 < q := Nat.lt_of_lt_of_le (Nat.zero_lt_succ 881) hq
  refine ⟨decay_bound 441 q t hq0 hq N, ?_⟩
  rw [← mul_pow']
  exact Nat.pow_le_pow_left hq t

/-! ## Perron: the top eigenvalue of a positive matrix is simple -/

section Perron
variable {R : Type} (K : DetChain.CRing R)

/-- An order on the ring, given by its laws. -/
structure ORing where
  le : R → R → Prop
  le_refl : ∀ a, le a a
  le_trans : ∀ a b c, le a b → le b c → le a c
  le_antisymm : ∀ a b, le a b → le b a → a = b
  le_total : ∀ a b, le a b ∨ le b a
  add_le_add : ∀ a b c d, le a b → le c d → le (K.add a c) (K.add b d)
  mul_nonneg : ∀ a b, le K.zero a → le K.zero b → le K.zero (K.mul a b)
  mul_le_mul_right : ∀ a b c, le a b → le K.zero c → le (K.mul a c) (K.mul b c)
  pos_cancel : ∀ a b c, le K.zero c → c ≠ K.zero → le (K.mul a c) (K.mul b c) → le a b
  pos_mul_eq_zero : ∀ a b, le K.zero a → a ≠ K.zero → K.mul a b = K.zero → b = K.zero

variable (O : ORing K)

def Pos (a : R) : Prop := O.le K.zero a ∧ a ≠ K.zero

/-- A minimiser of the ratios `w_i / u_i`, in cross-multiplied form. -/
theorem argmin (u w : Nat → R) (hu : ∀ i, Pos K O (u i)) :
    ∀ (a : Nat) (rest : List Nat), ∃ k, memL k (a :: rest) ∧
      ∀ j, memL j (a :: rest) → O.le (K.mul (w k) (u j)) (K.mul (w j) (u k))
  | a, [] => ⟨a, Or.inl rfl, fun j hj => by
      cases hj with
      | inl h => rw [h]; exact O.le_refl _
      | inr h => exact False.elim h⟩
  | a, b :: rest => by
    obtain ⟨k', hk'm, hk'⟩ := argmin u w hu b rest
    cases O.le_total (K.mul (w a) (u k')) (K.mul (w k') (u a)) with
    | inl hle =>
      refine ⟨a, Or.inl rfl, fun j hj => ?_⟩
      cases hj with
      | inl h => rw [h]; exact O.le_refl _
      | inr h =>
        -- w_a u_j u_k' ≤ w_k' u_a u_j ≤ ... ≤ w_j u_a u_k'
        have h1 := O.mul_le_mul_right _ _ (u j) hle (hu j).1
        have h2 := O.mul_le_mul_right _ _ (u a) (hk' j h) (hu a).1
        apply O.pos_cancel _ _ (u k') (hu k').1 (hu k').2
        have e1 : K.mul (K.mul (w a) (u j)) (u k') = K.mul (K.mul (w a) (u k')) (u j) := by
          rw [K.mul_assoc, K.mul_comm (u j), ← K.mul_assoc]
        have e2 : K.mul (K.mul (w k') (u a)) (u j) = K.mul (K.mul (w k') (u j)) (u a) := by
          rw [K.mul_assoc, K.mul_comm (u a), ← K.mul_assoc]
        have e3 : K.mul (K.mul (w j) (u k')) (u a) = K.mul (K.mul (w j) (u a)) (u k') := by
          rw [K.mul_assoc, K.mul_comm (u k'), ← K.mul_assoc]
        rw [e1]
        exact O.le_trans _ _ _ h1 (e2 ▸ (e3 ▸ h2))
    | inr hge =>
      refine ⟨k', Or.inr hk'm, fun j hj => ?_⟩
      cases hj with
      | inl h => rw [h]; exact hge
      | inr h => exact hk' j h

/-- A sum of nonnegative terms that vanishes has every term zero. -/
theorem sum_zero_each (f : Nat → R) :
    ∀ l : List Nat, (∀ j, memL j l → O.le K.zero (f j)) → sumK K f l = K.zero →
      ∀ j, memL j l → f j = K.zero
  | [], _, _, _, hj => False.elim hj
  | a :: rest, hnn, hs, j, hj => by
    have hrest : O.le K.zero (sumK K f rest) := nn_sum rest (fun i hi => hnn i (Or.inr hi))
    have hs' : K.add (f a) (sumK K f rest) = K.zero := hs
    have ha0 : f a = K.zero := by
      apply O.le_antisymm _ _ _ (hnn a (Or.inl rfl))
      have := O.add_le_add _ _ _ _ (O.le_refl (f a)) hrest
      rw [DetChain.add_zero', hs'] at this
      exact this
    have hr0 : sumK K f rest = K.zero := by
      rw [ha0, K.zero_add] at hs'
      exact hs'
    cases hj with
    | inl h => rw [h]; exact ha0
    | inr h => exact sum_zero_each f rest (fun i hi => hnn i (Or.inr hi)) hr0 j h
where
  nn_sum : ∀ l : List Nat, (∀ j, memL j l → O.le K.zero (f j)) → O.le K.zero (sumK K f l)
    | [], _ => O.le_refl _
    | a :: rest, h => by
      have := O.add_le_add _ _ _ _ (h a (Or.inl rfl)) (nn_sum rest (fun i hi => h i (Or.inr hi)))
      rw [K.zero_add] at this
      exact this

theorem sumK_sub (f g : Nat → R) :
    ∀ l : List Nat, sumK K (fun j => K.add (f j) (K.neg (g j))) l = K.add (sumK K f l) (K.neg (sumK K g l))
  | [] => by
    show K.zero = K.add K.zero (K.neg K.zero)
    rw [K.add_neg]
  | a :: rest => by
    show K.add (K.add (f a) (K.neg (g a))) (sumK K _ rest)
      = K.add (K.add (f a) (sumK K f rest)) (K.neg (K.add (g a) (sumK K g rest)))
    rw [sumK_sub f g rest, neg_add'' (g a) (sumK K g rest), DetChain.add_mid4]
where
  neg_add'' : ∀ x y : R, K.neg (K.add x y) = K.add (K.neg x) (K.neg y) := fun x y => by
    apply Eq.symm
    apply DetChain.neg_unique
    rw [DetChain.add_mid4, DetChain.add_neg', DetChain.add_neg', K.zero_add]

theorem mul_neg_r (a b : R) : K.mul a (K.neg b) = K.neg (K.mul a b) := by
  rw [K.mul_comm, DetChain.neg_mul_left, K.mul_comm]

theorem swap3 (a b c : R) : K.mul a (K.mul b c) = K.mul b (K.mul a c) := by
  rw [← K.mul_assoc, K.mul_comm a b, K.mul_assoc]

/-- **The Perron eigenvalue has a one-dimensional eigenspace.** Let `T` have
    positive entries on the index list, `u` a positive eigenvector with
    eigenvalue `λ`, and `w` any eigenvector with the same eigenvalue. Then `w` is
    proportional to `u`: for some index `k`, `u_k w_j = w_k u_j` for all `j`. -/
theorem perron_simple (T : Nat → Nat → R) (u w : Nat → R) (lam : R) (a : Nat) (rest : List Nat)
    (hT : ∀ i j, Pos K O (T i j)) (hu : ∀ i, Pos K O (u i))
    (heu : ∀ i, sumK K (fun j => K.mul (T i j) (u j)) (a :: rest) = K.mul lam (u i))
    (hew : ∀ i, sumK K (fun j => K.mul (T i j) (w j)) (a :: rest) = K.mul lam (w i)) :
    ∃ k, memL k (a :: rest) ∧ ∀ j, memL j (a :: rest) → K.mul (u k) (w j) = K.mul (w k) (u j) := by
  obtain ⟨k, hkm, hk⟩ := argmin K O u w hu a rest
  refine ⟨k, hkm, ?_⟩
  -- z_j = u_k w_j - w_k u_j ≥ 0
  let z : Nat → R := fun j => K.add (K.mul (u k) (w j)) (K.neg (K.mul (w k) (u j)))
  have hz : ∀ j, memL j (a :: rest) → O.le K.zero (z j) := fun j hj => by
    have h := O.add_le_add _ _ _ _ (hk j hj) (O.le_refl (K.neg (K.mul (w k) (u j))))
    have e1 : K.add (K.mul (w k) (u j)) (K.neg (K.mul (w k) (u j))) = K.zero := K.add_neg _
    have e2 : K.mul (w j) (u k) = K.mul (u k) (w j) := K.mul_comm _ _
    rw [e1, e2] at h
    exact h
  -- Σ_j T_kj z_j = u_k (λ w_k) - w_k (λ u_k) = 0
  have hsum : sumK K (fun j => K.mul (T k j) (z j)) (a :: rest) = K.zero := by
    have e : sumK K (fun j => K.mul (T k j) (z j)) (a :: rest)
        = sumK K (fun j => K.add (K.mul (u k) (K.mul (T k j) (w j)))
            (K.neg (K.mul (w k) (K.mul (T k j) (u j))))) (a :: rest) :=
      sumK_ext K _ _ (fun j => by
        show K.mul (T k j) (K.add (K.mul (u k) (w j)) (K.neg (K.mul (w k) (u j)))) = _
        rw [K.distrib, mul_neg_r K, swap3 K (T k j) (u k) (w j), swap3 K (T k j) (w k) (u j)]) (a :: rest)
    rw [e, sumK_sub, ← mul_sumK, ← mul_sumK, hew k, heu k, swap3 K (u k) lam (w k),
      swap3 K (w k) lam (u k), K.mul_comm (w k) (u k), K.add_neg]
  have each := sum_zero_each K O (fun j => K.mul (T k j) (z j)) (a :: rest)
    (fun j hj => O.mul_nonneg _ _ (hT k j).1 (hz j hj)) hsum
  intro j hj
  have hz0 : z j = K.zero := O.pos_mul_eq_zero _ _ (hT k j).1 (hT k j).2 (each j hj)
  have := DetChain.neg_unique K _ _ hz0
  rw [DetChain.neg_neg'] at this
  exact this

end Perron

/-! ## T27: dominance and a strict gap; Gram symmetry; block spin -/

section Gap
variable {R : Type} (K : DetChain.CRing R) (O : ORing K)

/-- Absolute value and the extra laws used for the gap (an ordered field gives them). -/
structure AbsLaws where
  abs : R → R
  abs_nonneg : ∀ a, O.le K.zero (abs a)
  abs_mul : ∀ a b, abs (K.mul a b) = K.mul (abs a) (abs b)
  abs_add : ∀ a b, O.le (abs (K.add a b)) (K.add (abs a) (abs b))
  abs_of_nonneg : ∀ a, O.le K.zero a → abs a = a
  abs_eq_zero : ∀ a, abs a = K.zero → a = K.zero
  mul_self_nonneg : ∀ a, O.le K.zero (K.mul a a)
  mul_right_cancel : ∀ a b c, c ≠ K.zero → K.mul a c = K.mul b c → a = b

variable (A : AbsLaws K O)

theorem sum_le (f g : Nat → R) : ∀ l : List Nat, (∀ j, memL j l → O.le (f j) (g j)) →
    O.le (sumK K f l) (sumK K g l)
  | [], _ => O.le_refl _
  | a :: rest, h => O.add_le_add _ _ _ _ (h a (Or.inl rfl)) (sum_le f g rest (fun j hj => h j (Or.inr hj)))

theorem abs_sum (f : Nat → R) : ∀ l : List Nat, O.le (A.abs (sumK K f l)) (sumK K (fun j => A.abs (f j)) l)
  | [] => by
    show O.le (A.abs K.zero) K.zero
    rw [A.abs_of_nonneg _ (O.le_refl _)]
    exact O.le_refl _
  | a :: rest => O.le_trans _ _ _ (A.abs_add _ _) (O.add_le_add _ _ _ _ (O.le_refl _) (abs_sum f rest))

/-- A maximiser of `|w_i| / u_i`, cross-multiplied. -/
theorem argmax (u v : Nat → R) (hu : ∀ i, Pos K O (u i)) :
    ∀ (a : Nat) (rest : List Nat), ∃ k, memL k (a :: rest) ∧
      ∀ j, memL j (a :: rest) → O.le (K.mul (v j) (u k)) (K.mul (v k) (u j))
  | a, [] => ⟨a, Or.inl rfl, fun j hj => by
      cases hj with
      | inl h => rw [h]; exact O.le_refl _
      | inr h => exact False.elim h⟩
  | a, b :: rest => by
    obtain ⟨k', hk'm, hk'⟩ := argmax u v hu b rest
    cases O.le_total (K.mul (v k') (u a)) (K.mul (v a) (u k')) with
    | inl hle =>
      refine ⟨a, Or.inl rfl, fun j hj => ?_⟩
      cases hj with
      | inl h => rw [h]; exact O.le_refl _
      | inr h =>
        have h1 := O.mul_le_mul_right _ _ (u a) (hk' j h) (hu a).1
        have h2 := O.mul_le_mul_right _ _ (u j) hle (hu j).1
        apply O.pos_cancel _ _ (u k') (hu k').1 (hu k').2
        have e1 : K.mul (K.mul (v j) (u a)) (u k') = K.mul (K.mul (v j) (u k')) (u a) := by
          rw [K.mul_assoc, K.mul_comm (u a), ← K.mul_assoc]
        have e2 : K.mul (K.mul (v k') (u j)) (u a) = K.mul (K.mul (v k') (u a)) (u j) := by
          rw [K.mul_assoc, K.mul_comm (u j), ← K.mul_assoc]
        have e3 : K.mul (K.mul (v a) (u k')) (u j) = K.mul (K.mul (v a) (u j)) (u k') := by
          rw [K.mul_assoc, K.mul_comm (u k'), ← K.mul_assoc]
        rw [e1]
        exact O.le_trans _ _ _ h1 (e2 ▸ (e3 ▸ h2))
    | inr hge =>
      refine ⟨k', Or.inr hk'm, fun j hj => ?_⟩
      cases hj with
      | inl h => rw [h]; exact hge
      | inr h => exact hk' j h

/-- **Dominance.** For a matrix with positive entries, a positive eigenvector `u`
    (eigenvalue `λ`) and any nonzero eigenvector `w` (eigenvalue `μ`): `|μ| ≤ λ`. -/
theorem perron_dominant (T : Nat → Nat → R) (u w : Nat → R) (lam mu : R) (a : Nat) (rest : List Nat)
    (hT : ∀ i j, Pos K O (T i j)) (hu : ∀ i, Pos K O (u i))
    (heu : ∀ i, sumK K (fun j => K.mul (T i j) (u j)) (a :: rest) = K.mul lam (u i))
    (hew : ∀ i, sumK K (fun j => K.mul (T i j) (w j)) (a :: rest) = K.mul mu (w i))
    (i0 : Nat) (hi0 : memL i0 (a :: rest)) (hw0 : w i0 ≠ K.zero) :
    O.le (A.abs mu) lam := by
  obtain ⟨k, hkm, hk⟩ := argmax K O u (fun j => A.abs (w j)) hu a rest
  -- |w_k| ≠ 0
  have hwk : A.abs (w k) ≠ K.zero := fun h0 => by
    have h := hk i0 hi0
    rw [h0, DetChain.zero_mul' K] at h
    have h' : O.le (K.mul (A.abs (w i0)) (u k)) (K.mul K.zero (u k)) := by
      rw [DetChain.zero_mul' K]; exact h
    have hle := O.pos_cancel _ _ _ (hu k).1 (hu k).2 h'
    exact hw0 (A.abs_eq_zero _ (O.le_antisymm _ _ hle (A.abs_nonneg _)))
  -- |μ| |w_k| ≤ Σ_j T_kj |w_j|
  have s1 : O.le (K.mul (A.abs mu) (A.abs (w k))) (sumK K (fun j => K.mul (T k j) (A.abs (w j))) (a :: rest)) := by
    rw [← A.abs_mul, ← hew k]
    refine O.le_trans _ _ _ (abs_sum K O A _ _) (sum_le K O _ _ _ (fun j _ => ?_))
    rw [A.abs_mul, A.abs_of_nonneg _ (hT k j).1]
    exact O.le_refl _
  -- (Σ_j T_kj |w_j|) u_k ≤ (Σ_j T_kj u_j) |w_k| = λ u_k |w_k|
  have s2 : O.le (K.mul (sumK K (fun j => K.mul (T k j) (A.abs (w j))) (a :: rest)) (u k))
      (K.mul (K.mul lam (u k)) (A.abs (w k))) := by
    rw [← heu k, sumK_mul, sumK_mul]
    refine sum_le K O _ _ _ (fun j hj => ?_)
    show O.le (K.mul (K.mul (T k j) (A.abs (w j))) (u k)) (K.mul (K.mul (T k j) (u j)) (A.abs (w k)))
    rw [K.mul_assoc, K.mul_assoc]
    have := O.mul_le_mul_right _ _ (T k j) (hk j hj) (hT k j).1
    rw [K.mul_comm (K.mul (A.abs (w j)) (u k)) (T k j), K.mul_comm (K.mul (A.abs (w k)) (u j)) (T k j)] at this
    rw [K.mul_comm (u j) (A.abs (w k))]
    exact this
  have s3 := O.le_trans _ _ _ (O.mul_le_mul_right _ _ (u k) s1 (hu k).1) s2
  -- cancel u_k, then |w_k|
  have e : K.mul (K.mul lam (u k)) (A.abs (w k)) = K.mul (K.mul lam (A.abs (w k))) (u k) := by
    rw [K.mul_assoc, K.mul_comm (u k), ← K.mul_assoc]
  rw [e] at s3
  have s4 := O.pos_cancel _ _ _ (hu k).1 (hu k).2 s3
  exact O.pos_cancel _ _ _ (A.abs_nonneg _) hwk s4

/-- `T²` with entries `Σ_k T_ik T_kj`. -/
def sq (T : Nat → Nat → R) (idx : List Nat) (i j : Nat) : R := sumK K (fun k => K.mul (T i k) (T k j)) idx

theorem pos_sum (f : Nat → R) (a : Nat) (rest : List Nat) (h : ∀ j, Pos K O (f j)) :
    Pos K O (sumK K f (a :: rest)) := by
  have nn : ∀ l : List Nat, O.le K.zero (sumK K f l) := fun l =>
    sum_zero_each.nn_sum K O f l (fun j _ => (h j).1)
  refine ⟨nn _, fun h0 => ?_⟩
  exact (h a).2 (sum_zero_each K O f (a :: rest) (fun j _ => (h j).1) h0 a (Or.inl rfl))

theorem sq_eigen (T : Nat → Nat → R) (v : Nat → R) (c : R) (idx : List Nat)
    (hev : ∀ i, sumK K (fun j => K.mul (T i j) (v j)) idx = K.mul c (v i)) (i : Nat) :
    sumK K (fun j => K.mul (sq K T idx i j) (v j)) idx = K.mul (K.mul c c) (v i) := by
  have e1 : sumK K (fun j => K.mul (sq K T idx i j) (v j)) idx
      = sumK K (fun j => sumK K (fun k => K.mul (T i k) (K.mul (T k j) (v j))) idx) idx :=
    sumK_ext K _ _ (fun j => by
      show K.mul (sumK K _ idx) (v j) = _
      rw [sumK_mul]
      exact sumK_ext K _ _ (fun k => K.mul_assoc _ _ _) idx) idx
  rw [e1, sumK_swap]
  have e2 : sumK K (fun k => sumK K (fun j => K.mul (T i k) (K.mul (T k j) (v j))) idx) idx
      = sumK K (fun k => K.mul (T i k) (K.mul c (v k))) idx :=
    sumK_ext K _ _ (fun k => by rw [← mul_sumK, hev k]) idx
  rw [e2]
  have e3 : sumK K (fun k => K.mul (T i k) (K.mul c (v k))) idx = K.mul c (sumK K (fun k => K.mul (T i k) (v k)) idx) := by
    rw [mul_sumK]
    exact sumK_ext K _ _ (fun k => swap3 K _ _ _) idx
  rw [e3, hev i, K.mul_assoc]

/-- **Strict gap on a finite lattice.** With a positive eigenvector `u` for `λ`,
    every eigenvalue `μ ≠ λ` (nonzero eigenvector) satisfies `|μ| ≤ λ` and `|μ| ≠ λ`. -/
theorem perron_gap (T : Nat → Nat → R) (u w : Nat → R) (lam mu : R) (a : Nat) (rest : List Nat)
    (hT : ∀ i j, Pos K O (T i j)) (hu : ∀ i, Pos K O (u i))
    (heu : ∀ i, sumK K (fun j => K.mul (T i j) (u j)) (a :: rest) = K.mul lam (u i))
    (hew : ∀ i, sumK K (fun j => K.mul (T i j) (w j)) (a :: rest) = K.mul mu (w i))
    (i0 : Nat) (hi0 : memL i0 (a :: rest)) (hw0 : w i0 ≠ K.zero) (hne : mu ≠ lam) :
    O.le (A.abs mu) lam ∧ A.abs mu ≠ lam := by
  refine ⟨perron_dominant K O A T u w lam mu a rest hT hu heu hew i0 hi0 hw0, fun habs => hne ?_⟩
  -- μ² = λ²
  have hsq : K.mul mu mu = K.mul lam lam := by
    rw [← A.abs_of_nonneg _ (A.mul_self_nonneg mu), A.abs_mul, habs]
  -- T² is positive, u and w are eigenvectors of T² for λ²
  have hS : ∀ i j, Pos K O (sq K T (a :: rest) i j) := fun i j =>
    pos_sum K O _ a rest (fun k => ⟨O.mul_nonneg _ _ (hT i k).1 (hT k j).1,
      fun h0 => (hT k j).2 (O.pos_mul_eq_zero _ _ (hT i k).1 (hT i k).2 h0)⟩)
  have heu2 := sq_eigen K T u lam (a :: rest) heu
  have hew2 : ∀ i, sumK K (fun j => K.mul (sq K T (a :: rest) i j) (w j)) (a :: rest) = K.mul (K.mul lam lam) (w i) :=
    fun i => (sq_eigen K T w mu (a :: rest) hew i).trans (by rw [hsq])
  obtain ⟨k, _, hk⟩ := perron_simple K O (sq K T (a :: rest)) u w (K.mul lam lam) a rest hS hu heu2 hew2
  -- u_k (μ w_i) = u_k (λ w_i)
  have key : K.mul (u k) (K.mul mu (w i0)) = K.mul (u k) (K.mul lam (w i0)) := by
    rw [← hew i0, mul_sumK]
    have e : sumK K (fun j => K.mul (u k) (K.mul (T i0 j) (w j))) (a :: rest)
        = sumK K (fun j => K.mul (w k) (K.mul (T i0 j) (u j))) (a :: rest) :=
      sumK_ext' (g := fun j => K.mul (u k) (K.mul (T i0 j) (w j)))
        (h := fun j => K.mul (w k) (K.mul (T i0 j) (u j))) (fun j hj => by
        show K.mul (u k) (K.mul (T i0 j) (w j)) = K.mul (w k) (K.mul (T i0 j) (u j))
        rw [swap3 K (u k), hk j hj, ← swap3 K (T i0 j) (w k) (u j)]) (a :: rest) (fun j hj => hj)
    rw [e, ← mul_sumK, heu i0, swap3 K (w k) lam (u i0), ← hk i0 hi0, swap3 K lam (u k) (w i0)]
  have key2 : K.mul (K.mul mu (w i0)) (u k) = K.mul (K.mul lam (w i0)) (u k) := by
    rw [K.mul_comm _ (u k), K.mul_comm _ (u k)]
    exact key
  have key3 := A.mul_right_cancel _ _ _ (hu k).2 key2
  have key4 : K.mul mu (w i0) = K.mul lam (w i0) := key3
  exact A.mul_right_cancel _ _ _ hw0 key4
where
  sumK_ext' {g h : Nat → R} (hgh : ∀ j, memL j (a :: rest) → g j = h j) :
      ∀ l : List Nat, (∀ j, memL j l → memL j (a :: rest)) → sumK K g l = sumK K h l := by
    intro l
    induction l with
    | nil => intro _; rfl
    | cons b l ih =>
      intro hl
      show K.add (g b) (sumK K g l) = K.add (h b) (sumK K h l)
      rw [hgh b (hl b (Or.inl rfl)), ih (fun j hj => hl j (Or.inr hj))]

/-- **Doeblin contraction** (the finite-dimensional form of the Hilbert-metric
    contraction). Write the rows of `P` as `P_ij = r_ij + δ q_j` with `r ≥ 0` and the
    same row mass `Σ_j r_ij = e` for every row. If `m ≤ f ≤ M` then for any two rows
    `(Pf)_i + e·m ≤ (Pf)_k + e·M`: the spread of `Pf` is at most `e` times the
    spread of `f`. For a stochastic `P` (`Σq = 1`) one has `e = 1 - δ`, so `n`
    steps shrink every spread by `(1-δ)^n`: a gap `≥ -ln(1-δ)`. -/
theorem doeblin (P r : Nat → Nat → R) (q f : Nat → R) (δ e M m : R) (idx : List Nat)
    (hP : ∀ i j, P i j = K.add (r i j) (K.mul δ (q j)))
    (hr : ∀ i j, O.le K.zero (r i j))
    (he : ∀ i, sumK K (r i) idx = e)
    (hM : ∀ j, memL j idx → O.le (f j) M) (hm : ∀ j, memL j idx → O.le m (f j))
    (i k : Nat) :
    O.le (K.add (sumK K (fun j => K.mul (P i j) (f j)) idx) (K.mul e m))
         (K.add (sumK K (fun j => K.mul (P k j) (f j)) idx) (K.mul e M)) := by
  have split : ∀ a, sumK K (fun j => K.mul (P a j) (f j)) idx
      = K.add (sumK K (fun j => K.mul (r a j) (f j)) idx) (sumK K (fun j => K.mul (K.mul δ (q j)) (f j)) idx) := by
    intro a
    rw [← sumK_add]
    exact sumK_ext K _ _ (fun j => by
      show K.mul (P a j) (f j) = K.add (K.mul (r a j) (f j)) (K.mul (K.mul δ (q j)) (f j))
      rw [hP a j, K.mul_comm, K.distrib, K.mul_comm (f j), K.mul_comm (f j)]) idx
  -- Σ_j r_aj f_j ≤ e M and e m ≤ Σ_j r_aj f_j
  have up : ∀ a, O.le (sumK K (fun j => K.mul (r a j) (f j)) idx) (K.mul e M) := by
    intro a
    rw [← he a, sumK_mul]
    refine sum_le K O _ _ idx (fun j hj => ?_)
    show O.le (K.mul (r a j) (f j)) (K.mul (r a j) M)
    rw [K.mul_comm (r a j), K.mul_comm (r a j)]
    exact O.mul_le_mul_right _ _ _ (hM j hj) (hr a j)
  have lo : ∀ a, O.le (K.mul e m) (sumK K (fun j => K.mul (r a j) (f j)) idx) := by
    intro a
    rw [← he a, sumK_mul]
    refine sum_le K O _ _ idx (fun j hj => ?_)
    show O.le (K.mul (r a j) m) (K.mul (r a j) (f j))
    rw [K.mul_comm (r a j), K.mul_comm (r a j)]
    exact O.mul_le_mul_right _ _ _ (hm j hj) (hr a j)
  rw [split i, split k]
  -- (A_i + Q) + e m ≤ (A_k + Q) + e M
  have h1 : O.le (K.add (sumK K (fun j => K.mul (r i j) (f j)) idx) (K.mul e m))
      (K.add (K.mul e M) (sumK K (fun j => K.mul (r k j) (f j)) idx)) :=
    O.add_le_add _ _ _ _ (up i) (lo k)
  have h2 := O.add_le_add _ _ _ _ h1 (O.le_refl (sumK K (fun j => K.mul (K.mul δ (q j)) (f j)) idx))
  have eL : ∀ x y z : R, K.add (K.add x z) y = K.add (K.add x y) z := fun x y z => by
    rw [K.add_assoc, K.add_comm z, ← K.add_assoc]
  have eR : ∀ x y z : R, K.add (K.add x y) z = K.add (K.add y z) x := fun x y z => by
    rw [K.add_comm x y, K.add_assoc, K.add_comm x z, ← K.add_assoc]
  rw [eL (sumK K (fun j => K.mul (r i j) (f j)) idx) (sumK K (fun j => K.mul (K.mul δ (q j)) (f j)) idx) (K.mul e m),
    eR (K.mul e M) (sumK K (fun j => K.mul (r k j) (f j)) idx) (sumK K (fun j => K.mul (K.mul δ (q j)) (f j)) idx)] at h2
  exact h2

end Gap

/-- A Gram kernel is symmetric: the transfer matrix built from crossing kernels is symmetric. -/
theorem ker_symm {R X : Type} (K : DetChain.CRing R) (L : List (R × (X → R))) (x y : X) :
    ker K L x y = ker K L y x :=
  sumK_ext K _ _ (fun p => by
    show K.mul (K.mul p.1 (p.2 x)) (p.2 y) = K.mul (K.mul p.1 (p.2 y)) (p.2 x)
    rw [K.mul_assoc, K.mul_comm (p.2 x), ← K.mul_assoc]) L

/-! ### Block spin: one decimation step -/

section Block
variable {G : Type} (K : Grp G) {S : Type} (Λ : Lat S)

/-- Coarse shift: two fine steps. -/
def sh2 (x : S) (μ : D4) : S := Λ.sh (Λ.sh x μ) μ

theorem sh2_comm (x : S) (μ ν : D4) : sh2 Λ (sh2 Λ x μ) ν = sh2 Λ (sh2 Λ x ν) μ := by
  show Λ.sh (Λ.sh (Λ.sh (Λ.sh x μ) μ) ν) ν = Λ.sh (Λ.sh (Λ.sh (Λ.sh x ν) ν) μ) μ
  rw [Λ.comm (Λ.sh (Λ.sh x μ) μ) ν ν |>.symm.symm]
  rw [Λ.comm (Λ.sh x μ) μ ν, Λ.comm x μ ν, Λ.comm (Λ.sh (Λ.sh x ν) μ) μ ν, Λ.comm (Λ.sh x ν) μ ν,
    Λ.comm x ν ν]

/-- The coarse lattice (shifts by two). -/
def coarse : Lat S := ⟨sh2 Λ, sh2_comm Λ⟩

/-- **Decimation**: the coarse link is the product of the two fine links along it. -/
def block (U : S → D4 → G) : S → D4 → G := fun x μ => K.mul (U x μ) (U (Λ.sh x μ) μ)

/-- **Gauge covariance of the block step**: blocking a gauge-transformed field is
    the coarse gauge transform of the blocked field. -/
theorem block_gauge (g : S → G) (U : S → D4 → G) (x : S) (μ : D4) :
    block K Λ (gauge K Λ g U) x μ = gauge K (coarse Λ) g (block K Λ U) x μ := by
  show K.mul (K.mul (K.mul (g x) (U x μ)) (K.inv (g (Λ.sh x μ))))
      (K.mul (K.mul (g (Λ.sh x μ)) (U (Λ.sh x μ) μ)) (K.inv (g (Λ.sh (Λ.sh x μ) μ))))
    = K.mul (K.mul (g x) (K.mul (U x μ) (U (Λ.sh x μ) μ))) (K.inv (g (Λ.sh (Λ.sh x μ) μ)))
  exact conj_mul K _ _ _ _ _

end Block

/-- **Positivity is kept**: the blocked weight `Σ_{U ↦ V} W(U)` of a coarse field is
    positive when every fine weight is positive and the fibre is nonempty. -/
theorem block_weight_pos {X : Type} (W : X → Nat) (hW : ∀ x, 0 < W x) :
    ∀ (x : X) (fibre : List X), 0 < lsum W (x :: fibre)
  | x, _ => Nat.lt_of_lt_of_le (hW x) (Nat.le_add_right _ _)

/-- **Reflection positivity is kept**: an observable of the blocked field is an
    observable `G ∘ B` of the fine field, so `⟨θ(G∘B) · (G∘B)⟩ ≥ 0`. -/
theorem block_rp {R X Y : Type} (K : DetChain.CRing R) (P : Positivity K) (Bl : X → Y) (Gf : Y → R)
    (xs : List X) (L : List (R × (X → R))) (hL : AllNN K P L) :
    P.nn (sumK K (fun x => sumK K (fun y => K.mul (K.mul (Gf (Bl x)) (Gf (Bl y))) (ker K L x y)) xs) xs) :=
  rp_nonneg K P (fun x => Gf (Bl x)) xs L hL

/-! ### The bridge across block steps (strong-coupling range) -/

theorem pow_add_nat (a m : Nat) : ∀ n : Nat, a ^ (m + n) = a ^ m * a ^ n
  | 0 => (Nat.mul_one _).symm
  | n + 1 => by
    show a ^ (m + n) * a = a ^ m * (a ^ n * a)
    rw [pow_add_nat a m n, nmul_assoc]

theorem pow_mul_nat (a : Nat) (b : Nat) : ∀ c, (a ^ b) ^ c = a ^ (b * c)
  | 0 => rfl
  | c + 1 => by
    show (a ^ b) ^ c * a ^ b = a ^ (b * c + b)
    rw [pow_mul_nat a b c, pow_add_nat]

/-- **Decay survives blocking.** In the strong-coupling range (`q ≥ 2`, e.g. `q ≥ 882`
    from `gap_explicit`) a correlation bounded by `2 · q^(-s)` at fine distance `s`
    is, after `n` decimation steps, bounded at coarse distance `t` (fine distance
    `2^n t`) by `2 · (2^(2^n))^(-t)`: the decay rate per coarse unit is at least
    `2^n ln 2`. -/
theorem block_decay (q n t : Nat) (hq : 2 ≤ q) : (2 ^ (2 ^ n)) ^ t ≤ q ^ (2 ^ n * t) := by
  rw [pow_mul_nat]
  exact Nat.pow_le_pow_left hq _

/-- Iterating: `n` block steps from the explicit β₀ keep `2^(2^n t) ≤ 882^(2^n t)`. -/
theorem block_decay_explicit (q n t : Nat) (hq : 882 ≤ q) : (2 ^ (2 ^ n)) ^ t ≤ q ^ (2 ^ n * t) :=
  block_decay q n t (Nat.le_trans (Nat.le_add_left 2 880) hq)

end YMChain

#print axioms YMChain.cancel_left
#print axioms YMChain.inv_unique
#print axioms YMChain.inv_mul_rev
#print axioms YMChain.inv_inv
#print axioms YMChain.conj_mul
#print axioms YMChain.conj_inv
#print axioms YMChain.hol_gauge
#print axioms YMChain.gauge_inverse
#print axioms YMChain.lsum_ext
#print axioms YMChain.action_gauge_inv
#print axioms YMChain.weight_gauge_inv
#print axioms YMChain.torus_comm
#print axioms YMChain.sites_length
#print axioms YMChain.torus_action_gauge_inv
#print axioms YMChain.q8_assoc
#print axioms YMChain.q8_one_mul
#print axioms YMChain.q8_mul_one
#print axioms YMChain.q8_inv_mul
#print axioms YMChain.q8_mul_inv
#print axioms YMChain.mul_is_quaternion
#print axioms YMChain.unit_norm
#print axioms YMChain.q8_noncomm
#print axioms YMChain.defect_class
#print axioms YMChain.wilson_class
#print axioms YMChain.regroup
#print axioms YMChain.interaction
#print axioms YMChain.factor_sum
#print axioms YMChain.sumK_ext
#print axioms YMChain.sumK_add
#print axioms YMChain.mul_sumK
#print axioms YMChain.sumK_mul
#print axioms YMChain.sumK_swap
#print axioms YMChain.rearr
#print axioms YMChain.rp_identity
#print axioms YMChain.sumK_nn
#print axioms YMChain.sumK_nn_list
#print axioms YMChain.rp_nonneg
#print axioms YMChain.sumK_append
#print axioms YMChain.sumK_map
#print axioms YMChain.mul_mid4
#print axioms YMChain.rearr2
#print axioms YMChain.gram_mul
#print axioms YMChain.gram_mul_nn
#print axioms YMChain.delta_gram
#print axioms YMChain.defect_gram
#print axioms YMChain.pow_pos'
#print axioms YMChain.transfer_pos
#print axioms YMChain.len_app2
#print axioms YMChain.len_map2
#print axioms YMChain.consAll_length
#print axioms YMChain.words_length
#print axioms YMChain.surface_count
#print axioms YMChain.geom_telescope
#print axioms YMChain.le_cancel
#print axioms YMChain.geom_bound
#print axioms YMChain.decay_bound
#print axioms YMChain.c_441
#print axioms YMChain.mul_pow'
#print axioms YMChain.gap_explicit
#print axioms YMChain.argmin
#print axioms YMChain.sum_zero_each
#print axioms YMChain.sumK_sub
#print axioms YMChain.mul_neg_r
#print axioms YMChain.swap3
#print axioms YMChain.perron_simple
#print axioms YMChain.sum_le
#print axioms YMChain.abs_sum
#print axioms YMChain.argmax
#print axioms YMChain.perron_dominant
#print axioms YMChain.pos_sum
#print axioms YMChain.sq_eigen
#print axioms YMChain.perron_gap
#print axioms YMChain.ker_symm
#print axioms YMChain.sh2_comm
#print axioms YMChain.block_gauge
#print axioms YMChain.block_weight_pos
#print axioms YMChain.block_rp
#print axioms YMChain.doeblin
#print axioms YMChain.pow_add_nat
#print axioms YMChain.pow_mul_nat
#print axioms YMChain.block_decay
#print axioms YMChain.block_decay_explicit

bsd/Adic2.lean

lean_all/bsd/Adic2.lean

/-
  bsd/Adic2.lean — T39 (goal G289e-6f): the 2-adic obstruction for the classes (1, d) of E_n (n symbolic; n = 42486 in bsd/Adic2Inst), as a finite
  residue table.  For integers U, V, W, Z with
      U² − n·Z² = d·V²,   d·(U² + n·Z²) = W²,
  reduce modulo M = 2·m₂: the table tab2 M c₁ … c₅ (c₁ ≡ −n, c₂ ≡ −d, c₃ ≡ d, c₄ ≡ d·n, c₅ ≡ −1 mod M) says every
  residue solution has U and Z even; hence 2 ∣ U and 2 ∣ Z.
    sq_res     M ∣ (Mq + r)² − r²
    adic2      the statement above
  Lean 4 core plus bsd/SqRes, bsd/IntDivMod, bsd/ModLink, bsd/Res97b (allBelow).
-/
import bsd.SqRes
import bsd.IntDivMod

namespace Adic2
open LibGcd LibInt SqRes Res97b

def row2 (M c1 c2 c3 c4 c5 u v w z : Nat) : Bool :=
  imp (Nat.beq ((u * u + c1 * (z * z) + c2 * (v * v)) % M) 0 && Nat.beq ((c3 * (u * u) + c4 * (z * z) + c5 * (w * w)) % M) 0)
    (Nat.beq (u % 2) 0 && Nat.beq (z % 2) 0)

def tab2 (M c1 c2 c3 c4 c5 : Nat) : Bool :=
  allBelow (fun u => allBelow (fun v => allBelow (fun w => allBelow (fun z => row2 M c1 c2 c3 c4 c5 u v w z) M) M) M) M

theorem tab2_row {M c1 c2 c3 c4 c5 : Nat} (ht : tab2 M c1 c2 c3 c4 c5 = true) {u v w z : Nat}
    (hu : u < M) (hv : v < M) (hw : w < M) (hz : z < M) : row2 M c1 c2 c3 c4 c5 u v w z = true :=
  all_below _ M z (all_below _ M w (all_below _ M v (all_below _ M u ht hu) hv) hw) hz

theorem sq_res (M : Nat) (q : Int) (r : Nat) :
    IDv (Int.ofNat M) ((Int.ofNat M * q + Int.ofNat r) * (Int.ofNat M * q + Int.ofNat r) - Int.ofNat (r * r)) :=
  ⟨Int.ofNat M * q * q + 2 * q * Int.ofNat r, by lib_int⟩

theorem idv_add {p A B : Int} (h1 : IDv p A) (h2 : IDv p B) : IDv p (A + B) := by
  obtain ⟨a, ea⟩ := h1; obtain ⟨b, eb⟩ := h2
  exact ⟨a + b, by rw [ea, eb]; lib_int⟩

theorem idv_zero (p : Int) : IDv p 0 := ⟨0, by lib_int⟩

theorem mod_zero_of {M : Nat} (hM : 0 < M) {N : Nat} (h : IDv (Int.ofNat M) (Int.ofNat N)) : Nat.beq (N % M) 0 = true := by
  rw [ModLink.mod_of_dvd M hM N (idv_nat h)]; exact LibMod.beq_self 0

theorem even_of (M m2 : Nat) (hM : M = 2 * m2) (q : Int) (r : Nat) (hr : Nat.beq (r % 2) 0 = true) :
    IDv 2 (Int.ofNat M * q + Int.ofNat r) := by
  obtain ⟨c, hc⟩ := mod_rel 2 (Nat.succ_pos 1) r
  rw [LibMod.beq_true hr] at hc
  refine ⟨Int.ofNat m2 * q + c, ?_⟩
  have e : Int.ofNat r = Int.ofNat 2 * c := by rw [← hc]; lib_int
  rw [hM, e]; lib_int

/-- the first equation modulo M -/
theorem lin1 (M c1 c2 : Nat) (n d U V Z : Int) (ru rv rz : Nat)
    (sU : IDv (Int.ofNat M) (U * U - Int.ofNat (ru * ru))) (sV : IDv (Int.ofNat M) (V * V - Int.ofNat (rv * rv)))
    (sZ : IDv (Int.ofNat M) (Z * Z - Int.ofNat (rz * rz)))
    (hc1 : IDv (Int.ofNat M) (Int.ofNat c1 + n)) (hc2 : IDv (Int.ofNat M) (Int.ofNat c2 + d))
    (e1 : U * U - n * (Z * Z) = d * (V * V)) :
    IDv (Int.ofNat M) (Int.ofNat (ru * ru + c1 * (rz * rz) + c2 * (rv * rv))) := by
  obtain ⟨a1, ea1⟩ := sU
  obtain ⟨a2, ea2⟩ := sV
  obtain ⟨a3, ea3⟩ := sZ
  obtain ⟨b1, eb1⟩ := hc1
  obtain ⟨b2, eb2⟩ := hc2
  refine ⟨-a1 - a3 * Int.ofNat c1 - a2 * Int.ofNat c2 + b1 * (Z * Z) + b2 * (V * V), ?_⟩
  have e : Int.ofNat (ru * ru + c1 * (rz * rz) + c2 * (rv * rv))
      = -(U * U - Int.ofNat (ru * ru)) - (Z * Z - Int.ofNat (rz * rz)) * Int.ofNat c1
        - (V * V - Int.ofNat (rv * rv)) * Int.ofNat c2 + (Int.ofNat c1 + n) * (Z * Z) + (Int.ofNat c2 + d) * (V * V)
        + (U * U - n * (Z * Z) - d * (V * V)) := by lib_int
  have e0 : U * U - n * (Z * Z) - d * (V * V) = 0 := by rw [e1]; lib_int
  rw [e, e0, ea1, ea2, ea3, eb1, eb2]; lib_int

/-- the second equation modulo M -/
theorem lin2 (M c3 c4 c5 : Nat) (n d U W Z : Int) (ru rw' rz : Nat)
    (sU : IDv (Int.ofNat M) (U * U - Int.ofNat (ru * ru))) (sW : IDv (Int.ofNat M) (W * W - Int.ofNat (rw' * rw')))
    (sZ : IDv (Int.ofNat M) (Z * Z - Int.ofNat (rz * rz)))
    (hc3 : IDv (Int.ofNat M) (Int.ofNat c3 - d)) (hc4 : IDv (Int.ofNat M) (Int.ofNat c4 - d * n))
    (hc5 : IDv (Int.ofNat M) (Int.ofNat c5 + 1))
    (e2 : d * (U * U + n * (Z * Z)) = W * W) :
    IDv (Int.ofNat M) (Int.ofNat (c3 * (ru * ru) + c4 * (rz * rz) + c5 * (rw' * rw'))) := by
  obtain ⟨a1, ea1⟩ := sU
  obtain ⟨a2, ea2⟩ := sW
  obtain ⟨a3, ea3⟩ := sZ
  obtain ⟨b3, eb3⟩ := hc3
  obtain ⟨b4, eb4⟩ := hc4
  obtain ⟨b5, eb5⟩ := hc5
  refine ⟨-a1 * Int.ofNat c3 - a3 * Int.ofNat c4 - a2 * Int.ofNat c5 + b3 * (U * U) + b4 * (Z * Z) + b5 * (W * W), ?_⟩
  have e : Int.ofNat (c3 * (ru * ru) + c4 * (rz * rz) + c5 * (rw' * rw'))
      = -(U * U - Int.ofNat (ru * ru)) * Int.ofNat c3 - (Z * Z - Int.ofNat (rz * rz)) * Int.ofNat c4
        - (W * W - Int.ofNat (rw' * rw')) * Int.ofNat c5
        + (Int.ofNat c3 - d) * (U * U) + (Int.ofNat c4 - d * n) * (Z * Z) + (Int.ofNat c5 + 1) * (W * W)
        + (d * (U * U + n * (Z * Z)) - W * W) := by lib_int
  have e0 : d * (U * U + n * (Z * Z)) - W * W = 0 := by rw [e2]; lib_int
  rw [e, e0, ea1, ea2, ea3, eb3, eb4, eb5]; lib_int

/-- **2-adic obstruction table.** -/
theorem adic2 (M m2 c1 c2 c3 c4 c5 : Nat) (n d : Int) (hM : 0 < M) (hMe : M = 2 * m2)
    (hc1 : IDv (Int.ofNat M) (Int.ofNat c1 + n)) (hc2 : IDv (Int.ofNat M) (Int.ofNat c2 + d))
    (hc3 : IDv (Int.ofNat M) (Int.ofNat c3 - d)) (hc4 : IDv (Int.ofNat M) (Int.ofNat c4 - d * n))
    (hc5 : IDv (Int.ofNat M) (Int.ofNat c5 + 1))
    (ht : tab2 M c1 c2 c3 c4 c5 = true)
    (U V W Z : Int) (e1 : U * U - n * (Z * Z) = d * (V * V)) (e2 : d * (U * U + n * (Z * Z)) = W * W) :
    IDv 2 U ∧ IDv 2 Z := by
  obtain ⟨qu, ru, hru, hU⟩ := IntDivMod.int_divmod M hM U
  obtain ⟨qv, rv, hrv, hV⟩ := IntDivMod.int_divmod M hM V
  obtain ⟨qw, rw', hrw, hW⟩ := IntDivMod.int_divmod M hM W
  obtain ⟨qz, rz, hrz, hZ⟩ := IntDivMod.int_divmod M hM Z
  have sU := sq_res M qu ru
  have sV := sq_res M qv rv
  have sW := sq_res M qw rw'
  have sZ := sq_res M qz rz
  rw [← hU] at sU
  rw [← hV] at sV
  rw [← hW] at sW
  rw [← hZ] at sZ
  have m1 := lin1 M c1 c2 n d U V Z ru rv rz sU sV sZ hc1 hc2 e1
  have m2' := lin2 M c3 c4 c5 n d U W Z ru rw' rz sU sW sZ hc3 hc4 hc5 e2
  have hrow := tab2_row ht hru hrv hrw hrz
  have hpar := imp_mp hrow (by rw [mod_zero_of hM m1, mod_zero_of hM m2']; rfl)
  exact ⟨by rw [hU]; exact even_of M m2 hMe qu ru (and_left hpar), by rw [hZ]; exact even_of M m2 hMe qz rz (and_right hpar)⟩

end Adic2

#print axioms Adic2.tab2_row
#print axioms Adic2.sq_res
#print axioms Adic2.idv_add
#print axioms Adic2.idv_zero
#print axioms Adic2.mod_zero_of
#print axioms Adic2.even_of
#print axioms Adic2.lin1
#print axioms Adic2.lin2
#print axioms Adic2.adic2

bsd/Adic2Inst.lean

lean_all/bsd/Adic2Inst.lean

/-
  bsd/Adic2Inst.lean — T39 (goal G289e-6f): the 2-adic obstruction (bsd/Adic2) for the twelve classes (1, d) of E_42486,
  d ∈ {3, 291, 219, 21243} (tables mod 8) and d ∈ {2, 194, 146, 14162, 6, 582, 438, 42486} (tables mod 16):
  U² − n·Z² = d·V² and d·(U² + n·Z²) = W² force 2 ∣ U and 2 ∣ Z (tools/g289e6_adic2.py chose the moduli).
  Lean 4 core plus bsd/Adic2.
-/
import bsd.Adic2

set_option maxRecDepth 200000

namespace Adic2Inst
open LibGcd LibInt

theorem idvM (M : Nat) (N : Int) (h : N = Int.ofNat M * (N / Int.ofNat M)) : IDv (Int.ofNat M) N := ⟨_, h⟩

theorem tabA : Adic2.tab2 8 2 5 3 2 7 = true := rfl

theorem tabB : Adic2.tab2 16 10 14 2 12 15 = true := rfl

theorem tabC : Adic2.tab2 16 10 10 6 4 15 = true := rfl

theorem adic_3 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 3 * (V * V))
    (e2 : 3 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 8 4 2 5 3 2 7 42486 3 (Nat.succ_pos 7) rfl
    (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) tabA U V W Z e1 e2

theorem adic_291 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 291 * (V * V))
    (e2 : 291 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 8 4 2 5 3 2 7 42486 291 (Nat.succ_pos 7) rfl
    (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) tabA U V W Z e1 e2

theorem adic_219 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 219 * (V * V))
    (e2 : 219 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 8 4 2 5 3 2 7 42486 219 (Nat.succ_pos 7) rfl
    (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) tabA U V W Z e1 e2

theorem adic_21243 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 21243 * (V * V))
    (e2 : 21243 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 8 4 2 5 3 2 7 42486 21243 (Nat.succ_pos 7) rfl
    (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) tabA U V W Z e1 e2

theorem adic_2 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 2 * (V * V))
    (e2 : 2 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 14 2 12 15 42486 2 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabB U V W Z e1 e2

theorem adic_194 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 194 * (V * V))
    (e2 : 194 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 14 2 12 15 42486 194 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabB U V W Z e1 e2

theorem adic_146 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 146 * (V * V))
    (e2 : 146 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 14 2 12 15 42486 146 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabB U V W Z e1 e2

theorem adic_14162 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 14162 * (V * V))
    (e2 : 14162 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 14 2 12 15 42486 14162 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabB U V W Z e1 e2

theorem adic_6 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 6 * (V * V))
    (e2 : 6 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 10 6 4 15 42486 6 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabC U V W Z e1 e2

theorem adic_582 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 582 * (V * V))
    (e2 : 582 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 10 6 4 15 42486 582 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabC U V W Z e1 e2

theorem adic_438 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 438 * (V * V))
    (e2 : 438 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 10 6 4 15 42486 438 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabC U V W Z e1 e2

theorem adic_42486 (U V W Z : Int) (e1 : U * U - 42486 * (Z * Z) = 42486 * (V * V))
    (e2 : 42486 * (U * U + 42486 * (Z * Z)) = W * W) : IDv 2 U ∧ IDv 2 Z :=
  Adic2.adic2 16 8 10 10 6 4 15 42486 42486 (Nat.succ_pos 15) rfl
    (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) tabC U V W Z e1 e2

end Adic2Inst

#print axioms Adic2Inst.idvM

#print axioms Adic2Inst.tabA

#print axioms Adic2Inst.tabB

#print axioms Adic2Inst.tabC

#print axioms Adic2Inst.adic_3

#print axioms Adic2Inst.adic_291

#print axioms Adic2Inst.adic_219

#print axioms Adic2Inst.adic_21243

#print axioms Adic2Inst.adic_2

#print axioms Adic2Inst.adic_194

#print axioms Adic2Inst.adic_146

#print axioms Adic2Inst.adic_14162

#print axioms Adic2Inst.adic_6

#print axioms Adic2Inst.adic_582

#print axioms Adic2Inst.adic_438

#print axioms Adic2Inst.adic_42486

bsd/Assemble1.lean

lean_all/bsd/Assemble1.lean

/-
  bsd/Assemble1.lean — T39 (goal G289e-6f): bookkeeping for the reduction of a descent class of E_42486 to (1, d₂).
    hc_unique       HC x β₁ β₂ and HC x γ₁ γ₂  ⇒  β₁ = γ₁ (the first coordinate determines its bits)
    hc_unique2      … and β₂ = γ₂
    all2_app        all2 f = true ⇒ f b = true
    inv_of          VSet.xorInv γ = true  ⇒  inVB (β ⊕ γ) = inVB β   (for every β)
    xorInv_Q3, Q4   the translation classes (73, 97) and (97, 7081) leave V-membership unchanged (rfl)
  Lean 4 core plus bsd/TransStep2, bsd/VSet.
-/
import bsd.TransStep2

namespace Assemble1
open DetChain LibRing LibRat LibInt QModel QCls B5S TransStep TransStep2

theorem cq_sq_eq (β γ : B5) (s t : Q) (hs : s ≠ zeroQ)
    (h : ratR.mul (cq β) (ratR.mul s s) = ratR.mul (cq γ) (ratR.mul t t)) : β = γ := by
  have h2 : normQ (β.cls * (s.num * s.num)) (1 * (s.den * s.den)) (mul_pos' (Nat.succ_pos 0) (mul_pos' s.den_pos s.den_pos))
      = normQ (γ.cls * (t.num * t.num)) (1 * (t.den * t.den)) (mul_pos' (Nat.succ_pos 0) (mul_pos' t.den_pos t.den_pos)) :=
    ((rmul β.cls (s.num * s.num) 1 (s.den * s.den) (Nat.succ_pos 0) (mul_pos' s.den_pos s.den_pos)).symm.trans
      ((congrArg (ratR.mul (cq β)) (e_yy s)).symm.trans h)).trans
      ((congrArg (ratR.mul (cq γ)) (e_yy t)).trans (rmul γ.cls (t.num * t.num) 1 (t.den * t.den) (Nat.succ_pos 0) (mul_pos' t.den_pos t.den_pos)))
  have e := (normQ_eq_iff _ _ _ _ _ _).1 h2
  have hs0 : s.num ≠ 0 := fun h0 => hs (zero_eq s h0)
  have ht0 : Int.ofNat t.den ≠ 0 := CopReduce.ofNat_ne_zero t.den_pos
  have hP : s.num * Int.ofNat t.den ≠ 0 := fun h0 => by
    cases int_noZD _ _ h0 with
    | inl h1 => exact hs0 h1
    | inr h1 => exact ht0 h1
  apply eq_of_cls β γ (s.num * Int.ofNat t.den) (t.num * Int.ofNat s.den) hP
  calc β.cls * ((s.num * Int.ofNat t.den) * (s.num * Int.ofNat t.den))
      = β.cls * (s.num * s.num) * Int.ofNat (1 * (t.den * t.den)) := by lib_int
    _ = γ.cls * (t.num * t.num) * Int.ofNat (1 * (s.den * s.den)) := e
    _ = γ.cls * ((t.num * Int.ofNat s.den) * (t.num * Int.ofNat s.den)) := by lib_int

theorem hc_unique (x : Q) (β1 β2 γ1 γ2 : B5) (h1 : HC x β1 β2) (h2 : HC x γ1 γ2) : β1 = γ1 ∧ β2 = γ2 := by
  obtain ⟨s, r, hs, hr, e1, e2⟩ := h1
  obtain ⟨s', r', _, _, e1', e2'⟩ := h2
  exact ⟨cq_sq_eq β1 γ1 s s' hs (e1.symm.trans e1'), cq_sq_eq β2 γ2 r r' hr (e2.symm.trans e2')⟩

theorem band_left : ∀ {a b : Bool}, (a && b) = true → a = true
  | true, _, _ => rfl
  | false, _, h => Bool.noConfusion h

theorem band_right : ∀ {a b : Bool}, (a && b) = true → b = true
  | true, _, h => h
  | false, _, h => Bool.noConfusion h

theorem all2_app (f : Bool → Bool) (h : VSet.all2 f = true) : ∀ b, f b = true
  | true => band_left h
  | false => band_right h

theorem beqB_eq : ∀ x y : Bool, VSet.beqB x y = true → x = y
  | true, true, _ => rfl
  | false, false, _ => rfl
  | true, false, h => Bool.noConfusion h
  | false, true, h => Bool.noConfusion h

theorem inv_of (g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 : Bool) (h : VSet.xorInv g1 g2 g3 g4 g5 g6 g7 g8 g9 g10 = true)
    (β1 β2 : B5) : inVB (β1.xor ⟨g1, g2, g3, g4, g5⟩) (β2.xor ⟨g6, g7, g8, g9, g10⟩) = inVB β1 β2 := by
  obtain ⟨s1, a1, b1, c1, d1⟩ := β1
  obtain ⟨s2, a2, b2, c2, d2⟩ := β2
  have h1 := all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _
    (all2_app _ (all2_app _ h s1) a1) b1) c1) d1) s2) a2) b2) c2) d2
  exact beqB_eq _ _ h1

theorem xorInv_Q3 : VSet.xorInv false false false true false false false false false true = true := rfl
theorem xorInv_Q4 : VSet.xorInv false false false false true false false false true true = true := rfl

end Assemble1

#print axioms Assemble1.cq_sq_eq
#print axioms Assemble1.hc_unique
#print axioms Assemble1.band_left
#print axioms Assemble1.band_right
#print axioms Assemble1.all2_app
#print axioms Assemble1.beqB_eq
#print axioms Assemble1.inv_of
#print axioms Assemble1.xorInv_Q3
#print axioms Assemble1.xorInv_Q4

bsd/Assemble2.lean

lean_all/bsd/Assemble2.lean

/-
  bsd/Assemble2.lean — T39 (goal G289e-6f): clearing the first-coordinate bits of a descent class of E_42486 not in V by
  chord steps with the translation points Q0 (−1), Q1 (2), Q2 (3), Q3 (73), Q4 (97).
    St x y β₁ β₂      (x, y) ∈ E(Q), x(x − n)(x + n) ≠ 0, class (β₁, β₂), and (β₁, β₂) ∉ V
    trans_by          St for (β₁, β₂) ⇒ St for (β₁ ⊕ q₁, β₂ ⊕ q₂) when (q₁, q₂) is the class of an explicit point in V
    clear             St for (β₁, β₂) ⇒ St for some (0, β₂′)
  Lean 4 core plus bsd/Assemble1, bsd/TransPts.
-/
import bsd.Assemble1
import bsd.TransPts

namespace Assemble2
open DetChain LibRing LibRat LibInt QModel QCls B5S TransStep TransStep2 TransQ Assemble1 TransPts

def St (x y : Q) (β1 β2 : B5) : Prop := OnE x y ∧ ND x ∧ HC x β1 β2 ∧ inVB β1 β2 = false

theorem trans_by (x y : Q) (β1 β2 : B5) (hs : St x y β1 β2) (qx qy : Q) (q1 q2 : B5) (qon : OnE qx qy) (qnd : ND qx)
    (qhc : HC qx q1 q2) (qV : inVB q1 q2 = true) (qinv : inVB (β1.xor q1) (β2.xor q2) = inVB β1 β2) :
    ∃ x' y' : Q, St x' y' (β1.xor q1) (β2.xor q2) := by
  obtain ⟨o, nd, hc, hV⟩ := hs
  have hxq : x ≠ qx := fun h => by
    rw [h] at hc
    obtain ⟨e1, e2⟩ := hc_unique qx β1 β2 q1 q2 hc qhc
    rw [e1, e2, qV] at hV
    exact Bool.noConfusion hV
  cases step x y qx qy o qon hxq β1 β2 q1 q2 hc qhc nd qnd with
  | inl h =>
    exact ⟨x3 x y qx qy, y3 x y qx qy, third_onE x y qx qy hxq o qon, h.1, h.2, qinv.trans hV⟩
  | inr h =>
    rw [qinv, hV] at h
    exact Bool.noConfusion h

theorem xf (a : Bool) : xor a false = a := by cases a <;> rfl

theorem xt (a : Bool) (h : a = true) : xor a true = false := by rw [h]; rfl

theorem clear_s (x y : Q) (β1 β2 : B5) (hs : St x y β1 β2) :
    ∃ x' y' : Q, ∃ γ1 γ2 : B5, St x' y' γ1 γ2 ∧ γ1.s = false ∧ γ1.a = β1.a ∧ γ1.b = β1.b ∧ γ1.c = β1.c ∧ γ1.d = β1.d := by
  cases hb : β1.s with
  | false => exact ⟨x, y, β1, β2, hs, hb, rfl, rfl, rfl, rfl⟩
  | true =>
    obtain ⟨x', y', h'⟩ := trans_by x y β1 β2 hs Q0x Q0y Q0b1 Q0b2 Q0_on Q0_nd Q0_hc rfl
      (inv_of true false false false false true true true true true VSet.xorInv_T0 β1 β2)
    exact ⟨x', y', _, _, h', xt _ hb, xf _, xf _, xf _, xf _⟩

theorem clear_a (x y : Q) (β1 β2 : B5) (hs : St x y β1 β2) :
    ∃ x' y' : Q, ∃ γ1 γ2 : B5, St x' y' γ1 γ2 ∧ γ1.s = β1.s ∧ γ1.a = false ∧ γ1.b = β1.b ∧ γ1.c = β1.c ∧ γ1.d = β1.d := by
  cases hb : β1.a with
  | false => exact ⟨x, y, β1, β2, hs, rfl, hb, rfl, rfl, rfl⟩
  | true =>
    obtain ⟨x', y', h'⟩ := trans_by x y β1 β2 hs Q1x Q1y Q1b1 Q1b2 Q1_on Q1_nd Q1_hc rfl
      (inv_of false true false false false false false true false false VSet.xorInv_G1 β1 β2)
    exact ⟨x', y', _, _, h', xf _, xt _ hb, xf _, xf _, xf _⟩

theorem clear_b (x y : Q) (β1 β2 : B5) (hs : St x y β1 β2) :
    ∃ x' y' : Q, ∃ γ1 γ2 : B5, St x' y' γ1 γ2 ∧ γ1.s = β1.s ∧ γ1.a = β1.a ∧ γ1.b = false ∧ γ1.c = β1.c ∧ γ1.d = β1.d := by
  cases hb : β1.b with
  | false => exact ⟨x, y, β1, β2, hs, rfl, rfl, hb, rfl, rfl⟩
  | true =>
    obtain ⟨x', y', h'⟩ := trans_by x y β1 β2 hs Q2x Q2y Q2b1 Q2b2 Q2_on Q2_nd Q2_hc rfl
      (inv_of false false true false false false true true true false VSet.xorInv_G2 β1 β2)
    exact ⟨x', y', _, _, h', xf _, xf _, xt _ hb, xf _, xf _⟩

theorem clear_c (x y : Q) (β1 β2 : B5) (hs : St x y β1 β2) :
    ∃ x' y' : Q, ∃ γ1 γ2 : B5, St x' y' γ1 γ2 ∧ γ1.s = β1.s ∧ γ1.a = β1.a ∧ γ1.b = β1.b ∧ γ1.c = false ∧ γ1.d = β1.d := by
  cases hb : β1.c with
  | false => exact ⟨x, y, β1, β2, hs, rfl, rfl, rfl, hb, rfl⟩
  | true =>
    obtain ⟨x', y', h'⟩ := trans_by x y β1 β2 hs Q3x Q3y Q3b1 Q3b2 Q3_on Q3_nd Q3_hc rfl
      (inv_of false false false true false false false false false true xorInv_Q3 β1 β2)
    exact ⟨x', y', _, _, h', xf _, xf _, xf _, xt _ hb, xf _⟩

theorem clear_d (x y : Q) (β1 β2 : B5) (hs : St x y β1 β2) :
    ∃ x' y' : Q, ∃ γ1 γ2 : B5, St x' y' γ1 γ2 ∧ γ1.s = β1.s ∧ γ1.a = β1.a ∧ γ1.b = β1.b ∧ γ1.c = β1.c ∧ γ1.d = false := by
  cases hb : β1.d with
  | false => exact ⟨x, y, β1, β2, hs, rfl, rfl, rfl, rfl, hb⟩
  | true =>
    obtain ⟨x', y', h'⟩ := trans_by x y β1 β2 hs Q4x Q4y Q4b1 Q4b2 Q4_on Q4_nd Q4_hc rfl
      (inv_of false false false false true false false false true true xorInv_Q4 β1 β2)
    exact ⟨x', y', _, _, h', xf _, xf _, xf _, xf _, xt _ hb⟩

theorem eta0 (γ : B5) (h1 : γ.s = false) (h2 : γ.a = false) (h3 : γ.b = false) (h4 : γ.c = false) (h5 : γ.d = false) :
    γ = ⟨false, false, false, false, false⟩ := by
  obtain ⟨s, a, b, c, d⟩ := γ
  cases h1; cases h2; cases h3; cases h4; cases h5; rfl

/-- **Reduction to the first coordinate 1.** -/
theorem clear (x y : Q) (β1 β2 : B5) (hs : St x y β1 β2) :
    ∃ x' y' : Q, ∃ γ2 : B5, St x' y' ⟨false, false, false, false, false⟩ γ2 := by
  obtain ⟨x1, y1, g1, g2, h1, s1, a1, b1, c1, d1⟩ := clear_s x y β1 β2 hs
  obtain ⟨x2, y2, k1, k2, h2, s2, a2, b2, c2, d2⟩ := clear_a x1 y1 g1 g2 h1
  obtain ⟨x3', y3', l1, l2, h3, s3, a3, b3, c3, d3⟩ := clear_b x2 y2 k1 k2 h2
  obtain ⟨x4, y4, m1, m2, h4, s4, a4, b4, c4, d4⟩ := clear_c x3' y3' l1 l2 h3
  obtain ⟨x5, y5, p1, p2, h5, s5, a5, b5, c5, d5⟩ := clear_d x4 y4 m1 m2 h4
  have e := eta0 p1 (s5.trans (s4.trans (s3.trans (s2.trans s1)))) (a5.trans (a4.trans (a3.trans a2)))
    (b5.trans (b4.trans b3)) (c5.trans c4) d5
  rw [e] at h5
  exact ⟨x5, y5, p2, h5⟩

end Assemble2

#print axioms Assemble2.trans_by
#print axioms Assemble2.xf
#print axioms Assemble2.xt
#print axioms Assemble2.clear_s
#print axioms Assemble2.clear_a
#print axioms Assemble2.clear_b
#print axioms Assemble2.clear_c
#print axioms Assemble2.clear_d
#print axioms Assemble2.eta0
#print axioms Assemble2.clear

bsd/Assemble3.lean

lean_all/bsd/Assemble3.lean

/-
  bsd/Assemble3.lean — T39 (goal G289e-6f, conclusion): every rational point of E_n (n = 42486) outside E[2] has its
  2-descent class in V, the 32 classes of the subgroup generated by the three Rank3Cert12 points and E[2].
    isq_dvd       Y² = G²·R, G ≠ 0  ⇒  Y = G·W, W² = R
    st_int        St x y γ₁ γ₂  ⇒  integer data X = cls γ₁·U², X − nT² = cls γ₂·V², Y² = X(X − nT²)(X + nT²), gcd(X, T) = 1
    neg_case      class (1, −D): excluded at ∞ (bsd/SignObs)
    adic_case     class (1, d), d in the 12 2-adic cosets: 2 ∣ U, 2 ∣ T (bsd/Adic2Inst) against gcd(X, T) = 1
    cover_case    class (−1, −D), 2n = D·m: b² + c² = m·k², a² + n·k² = D·b² (bsd/CoverLink5, 6, 7)
    no_st0        St x y (1, γ₂) is impossible for every γ₂ (32 cases)
    all_in_V      OnE x y, ND x, HC x β₁ β₂  ⇒  (β₁, β₂) ∈ V
    image_in_V    OnE x y, ND x  ⇒  ∃ (β₁, β₂) ∈ V, HC x β₁ β₂
  Lean 4 core plus bsd/Assemble2, bsd/SignObs, bsd/Adic2Inst, bsd/CoverLink5, bsd/CoverLink6, bsd/CoverLink7.
-/
import bsd.Assemble2
import bsd.SignObs
import bsd.Adic2Inst
import bsd.CoverLink5
import bsd.CoverLink6
import bsd.CoverLink7
import bsd.SqDvd
import bsd.TorsionImage

namespace Assemble3
open DetChain LibRing LibRat LibInt LibGcd QModel QCls B5S TransStep TransStep2 Assemble1 TransPts Assemble2 SqRes

/-! ## Integer helpers -/

theorem zero_or_ne : ∀ z : Int, z = 0 ∨ z ≠ 0
  | Int.ofNat 0 => Or.inl rfl
  | Int.ofNat (_ + 1) => Or.inr (fun h => Nat.noConfusion (Int.ofNat.inj h))
  | Int.negSucc _ => Or.inr (fun h => Int.noConfusion h)

theorem eq_zero_of_mul {a c : Int} (ha : a ≠ 0) (h : a * c = 0) : c = 0 := by
  cases zero_or_ne c with
  | inl h0 => exact h0
  | inr h0 => exact absurd h (SqClass.mul_ne_zero' ha h0)

theorem ne_of_lit (k : Nat) : Int.ofNat (k + 1) ≠ 0 := fun h => Nat.noConfusion (Int.ofNat.inj h)

theorem pm_zero {Y : Int} (h : PM Y 0) : Y = 0 := by
  cases h with
  | inl e => exact e
  | inr e => rw [e]; rfl

/-- **Square divisibility over Z.** -/
theorem isq_dvd (G Y R : Int) (hG : G ≠ 0) (h : Y * Y = G * G * R) : ∃ W : Int, Y = G * W ∧ W * W = R := by
  obtain ⟨g, hg⟩ := pm_exists G
  obtain ⟨y, hy⟩ := pm_exists Y
  obtain ⟨r, hr⟩ := pm_exists R
  have eG := pm_sq hg
  have eY := pm_sq hy
  have hW : ∃ W : Int, Y = G * W := by
    cases hr with
    | inl eR =>
      have h' : Int.ofNat (y * y) = Int.ofNat (g * g * r) :=
        (eY.symm.trans h).trans ((congrArg (· * R) eG).trans (congrArg (Int.ofNat (g * g) * ·) eR))
      have hd : g ∣ y := SqDvd.dvd_of_sq_dvd g y ⟨r, Int.ofNat.inj h'⟩
      obtain ⟨c, hc⟩ := pm_dvd hy hd
      cases hg with
      | inl e => exact ⟨c, by rw [hc, e]⟩
      | inr e => exact ⟨-c, by rw [hc, e]; lib_int⟩
    | inr eR =>
      have h' : Int.ofNat (y * y) = -Int.ofNat (g * g * r) := by
        rw [← eY, h, eG, eR]
        show Int.ofNat (g * g) * -Int.ofNat r = -(Int.ofNat (g * g) * Int.ofNat r)
        lib_int
      obtain ⟨e0, _⟩ := SqRes.neg_zero h'
      have y0 := SqDvd.sq_eq_zero y e0
      rw [y0] at hy
      exact ⟨0, by rw [pm_zero hy]; lib_int⟩
  obtain ⟨W, hW⟩ := hW
  refine ⟨W, hW, ?_⟩
  have hGG : G * G ≠ 0 := SqClass.mul_ne_zero' hG hG
  apply CopReduce.int_cancel hGG
  calc G * G * (W * W) = (G * W) * (G * W) := by lib_int
    _ = Y * Y := by rw [← hW]
    _ = G * G * R := h

theorem two_ndvd_one (X T u v U : Int) (hX : X = U * U) (huv : u * X + v * T = 1)
    (h2 : IDv 2 U ∧ IDv 2 T) : False := by
  obtain ⟨⟨a, ha⟩, ⟨b, hb⟩⟩ := h2
  have e : (1 : Int) = 2 * (u * a * U + v * b) :=
    calc (1 : Int) = u * X + v * T := huv.symm
      _ = u * (U * U) + v * (2 * b) := by rw [hX, hb]
      _ = u * ((2 * a) * U) + v * (2 * b) := by rw [show U * U = (2 * a) * U from congrArg (· * U) ha]
      _ = 2 * (u * a * U + v * b) := by lib_int
  obtain ⟨k, hk⟩ := pm_exists (u * a * U + v * b)
  have h1 : PM (1 : Int) 1 := Or.inl rfl
  have h2' : PM (2 * (u * a * U + v * b)) (2 * k) := pm_mul (Or.inl rfl) hk
  rw [← e] at h2'
  exact TorsionImage.odd_ne_even 0 k (pm_unique h1 h2')

/-! ## From a descent state to integers -/

theorem normQ_zero (m : Int) (d : Nat) (hd : 0 < d) (h : m = 0) : normQ m d hd = zeroQ :=
  (normQ_eq_iff m 0 d 1 hd (Nat.succ_le_succ (Nat.zero_le 0))).2 (by rw [h]; lib_int)

theorem num_zero (x : Q) (h : x.num = 0) : x = zeroQ := (self_norm x).trans (normQ_zero _ _ _ h)

theorem sub_form (n X D : Int) : X * Int.ofNat 1 + -n * D = X - n * D := by lib_int

theorem add_form (n X : Int) (t : Nat) :
    X * Int.ofNat 1 + - -n * Int.ofNat (t * t) = X + n * (Int.ofNat t * Int.ofNat t) := by lib_int

theorem one_cls (U : Int) : B5.cls ⟨false, false, false, false, false⟩ * (U * U) = U * U := by
  show 1 * 1 * 1 * 1 * 1 * (U * U) = U * U
  lib_int

/-- **The integer data of a descent state.** -/
theorem st_int (x y : Q) (γ1 γ2 : B5) (hs : St x y γ1 γ2) :
    ∃ X T Y u v U V : Int, T ≠ 0 ∧ u * X + v * T = 1 ∧
      Y * Y = X * ((X - 42486 * (T * T)) * (X + 42486 * (T * T))) ∧
      X = γ1.cls * (U * U) ∧ X - 42486 * (T * T) = γ2.cls * (V * V) ∧
      X ≠ 0 ∧ X - 42486 * (T * T) ≠ 0 ∧ X + 42486 * (T * T) ≠ 0 := by
  obtain ⟨o, nd, hc, _⟩ := hs
  obtain ⟨nd0, nd1, nd2⟩ := nd
  have h0 : x.num ≠ 0 := fun h => nd0 (num_zero x h)
  have h1 : x.num - 42486 * Int.ofNat x.den ≠ 0 := fun h => nd1 (by
    rw [e_n x]; exact normQ_zero _ _ _ ((sub_form 42486 x.num _).trans h))
  obtain ⟨t, Y, u, v, U, V, s1, a1, b1, c1, d1, s2, a2, b2, c2, d2, ht, hq, huv, hY, hU, hV, hcl⟩ :=
    int_data x y o h0 h1
  obtain ⟨e1, e2⟩ := hc_unique x γ1 γ2 ⟨s1, a1, b1, c1, d1⟩ ⟨s2, a2, b2, c2, d2⟩ hc hcl
  have h1' : x.num - 42486 * (Int.ofNat t * Int.ofNat t) ≠ 0 := fun h => h1 (by
    rw [hq]; exact (sub_sq 42486 x.num t).trans h)
  have h2' : x.num + 42486 * (Int.ofNat t * Int.ofNat t) ≠ 0 := fun h => nd2 (by
    rw [e_mn x]; apply normQ_zero
    rw [hq]; exact (add_form 42486 x.num t).trans h)
  refine ⟨x.num, Int.ofNat t, Y, u, v, U, V, CopReduce.ofNat_ne_zero ht, huv, hY, ?_, ?_, h0, h1', h2'⟩
  · rw [e1]; exact hU
  · rw [e2]; exact hV

/-! ## The three obstructions (generic in n) -/

theorem neg_case (X T Y U V : Int) (a b c d : Bool)
    (hX : X = B5.cls ⟨false, false, false, false, false⟩ * (U * U))
    (hXm : X - 42486 * (T * T) = B5.cls ⟨true, a, b, c, d⟩ * (V * V))
    (hY : Y * Y = X * ((X - 42486 * (T * T)) * (X + 42486 * (T * T))))
    (h0 : X ≠ 0) (h1 : X - 42486 * (T * T) ≠ 0) (h2 : X + 42486 * (T * T) ≠ 0) : False := by
  have fbn : ∀ (k : Nat) (e : Bool), ∃ m : Nat, SqClass.fb (Int.ofNat k) e = Int.ofNat m := fun k e => by
    cases e with
    | true => exact ⟨k, rfl⟩
    | false => exact ⟨1, rfl⟩
  obtain ⟨m2, f2⟩ := fbn 2 a
  obtain ⟨m3, f3⟩ := fbn 3 b
  obtain ⟨m73, f73⟩ := fbn 73 c
  obtain ⟨m97, f97⟩ := fbn 97 d
  have ec : B5.cls ⟨true, a, b, c, d⟩ = -Int.ofNat (m2 * m3 * m73 * m97) := by
    show -1 * SqClass.fb (Int.ofNat 2) a * SqClass.fb (Int.ofNat 3) b * SqClass.fb (Int.ofNat 73) c
      * SqClass.fb (Int.ofNat 97) d = -(Int.ofNat m2 * Int.ofNat m3 * Int.ofNat m73 * Int.ofNat m97)
    rw [f2, f3, f73, f97]; lib_int
  rw [ec] at hXm
  exact SqClass.mul_ne_zero' h0 (SqClass.mul_ne_zero' h1 h2)
    (SignObs.sign_obs X T Y U V _ (hX.trans (one_cls U)) hXm hY)

theorem adic_gen (n d X T Y u v U V : Int) (hX : X = U * U) (hXm : X - n * (T * T) = d * (V * V))
    (hY : Y * Y = X * ((X - n * (T * T)) * (X + n * (T * T)))) (huv : u * X + v * T = 1)
    (h0 : X ≠ 0) (h1 : X - n * (T * T) ≠ 0)
    (hadic : ∀ W : Int, U * U - n * (T * T) = d * (V * V) → d * (U * U + n * (T * T)) = W * W → IDv 2 U ∧ IDv 2 T) :
    False := by
  have hU : U ≠ 0 := fun h => h0 (by rw [hX, h] <;> lib_int)
  have hV : V ≠ 0 := fun h => h1 (by rw [hXm, h] <;> lib_int)
  have e : Y * Y = (U * V) * (U * V) * (d * (U * U + n * (T * T))) := by
    rw [hY, hXm, hX]; lib_int
  obtain ⟨W, _, hW⟩ := isq_dvd (U * V) Y _ (SqClass.mul_ne_zero' hU hV) e
  have e1 : U * U - n * (T * T) = d * (V * V) := by rw [← hX]; exact hXm
  exact two_ndvd_one X T u v U hX huv (hadic W e1 hW.symm)

theorem cover_gen (n D m X T Y U V : Int) (hm : 2 * n = D * m) (hD : D ≠ 0) (hT : T ≠ 0)
    (hX : X = -1 * (U * U)) (hXm : X - n * (T * T) = -D * (V * V))
    (hY : Y * Y = X * ((X - n * (T * T)) * (X + n * (T * T))))
    (h0 : X ≠ 0) (h1 : X - n * (T * T) ≠ 0)
    (hlink : ∀ a b c k : Int, k ≠ 0 → b * b + c * c = m * (k * k) → a * a + n * (k * k) = D * (b * b) → False) :
    False := by
  have hU : U ≠ 0 := fun h => h0 (by rw [hX, h] <;> lib_int)
  have hV : V ≠ 0 := fun h => h1 (by rw [hXm, h] <;> lib_int)
  have r2 : U * U + n * (T * T) = D * (V * V) :=
    calc U * U + n * (T * T) = -((-1 * (U * U)) - n * (T * T)) := by lib_int
      _ = -(X - n * (T * T)) := by rw [hX]
      _ = -(-D * (V * V)) := by rw [hXm]
      _ = D * (V * V) := by lib_int
  have eB : X + n * (T * T) = D * (m * (T * T) - V * V) :=
    calc X + n * (T * T) = (X - n * (T * T)) + 2 * n * (T * T) := by lib_int
      _ = -D * (V * V) + D * m * (T * T) := by rw [hXm, hm]
      _ = D * (m * (T * T) - V * V) := by lib_int
  have e : Y * Y = (U * V * D) * (U * V * D) * (m * (T * T) - V * V) := by
    rw [hY, eB, hXm, hX]; lib_int
  obtain ⟨W, _, hW⟩ := isq_dvd (U * V * D) Y _ (SqClass.mul_ne_zero' (SqClass.mul_ne_zero' hU hV) hD) e
  have r1 : V * V + W * W = m * (T * T) := by rw [hW]; lib_int
  exact hlink U V W T hT r1 r2

/-- choose signs of b, c so that the linear form p·k + q·b + r·c does not vanish -/
theorem sign_pick (p q r b c k : Int) (hp : p ≠ 0) (hq : q ≠ 0) (hr : r ≠ 0) (hk : k ≠ 0)
    (H : ∀ b' c' : Int, b' * b' = b * b → c' * c' = c * c → p * k + q * b' + r * c' ≠ 0 → False) : False := by
  have nb : (-b) * (-b) = b * b := by lib_int
  have nc : (-c) * (-c) = c * c := by lib_int
  cases zero_or_ne (p * k + q * b + r * c) with
  | inr h => exact H b c rfl rfl h
  | inl f1 =>
    cases zero_or_ne (p * k + q * b + r * (-c)) with
    | inr h => exact H b (-c) rfl nc h
    | inl f2 =>
      cases zero_or_ne (p * k + q * (-b) + r * c) with
      | inr h => exact H (-b) c nb rfl h
      | inl f3 =>
        have two : (2 : Int) ≠ 0 := ne_of_lit 1
        have c0 : c = 0 := eq_zero_of_mul (SqClass.mul_ne_zero' two hr) (by
          calc 2 * r * c = (p * k + q * b + r * c) - (p * k + q * b + r * (-c)) := by lib_int
            _ = 0 - 0 := by rw [f1, f2]
            _ = 0 := rfl)
        have b0 : b = 0 := eq_zero_of_mul (SqClass.mul_ne_zero' two hq) (by
          calc 2 * q * b = (p * k + q * b + r * c) - (p * k + q * (-b) + r * c) := by lib_int
            _ = 0 - 0 := by rw [f1, f3]
            _ = 0 := rfl)
        have k0 : k = 0 := eq_zero_of_mul hp (by
          calc p * k = p * k + q * b + r * c := by rw [b0, c0]; lib_int
            _ = 0 := f1)
        exact hk k0

theorem link5' (a b c k : Int) (hk : k ≠ 0) (r1 : b * b + c * c = 146 * (k * k))
    (r2 : a * a + 42486 * (k * k) = 582 * (b * b)) : False :=
  sign_pick 146 5 11 b c k (ne_of_lit 145) (ne_of_lit 4) (ne_of_lit 10) hk (fun b' c' eb ec hne =>
    CoverLink5.link5 a b' c' k hne (by rw [eb, ec]; exact r1) (by rw [eb]; exact r2))

theorem link7' (a b c k : Int) (hk : k ≠ 0) (r1 : b * b + c * c = 194 * (k * k))
    (r2 : a * a + 42486 * (k * k) = 438 * (b * b)) : False :=
  sign_pick 194 13 5 b c k (ne_of_lit 193) (ne_of_lit 12) (ne_of_lit 4) hk (fun b' c' eb ec hne =>
    CoverLink7.link7 a b' c' k hne (by rw [eb, ec]; exact r1) (by rw [eb]; exact r2))

theorem link6' (a b c k : Int) (hk : k ≠ 0) (r1 : b * b + c * c = 14162 * (k * k))
    (r2 : a * a + 42486 * (k * k) = 6 * (b * b)) : False :=
  sign_pick 14162 1 119 b c k (ne_of_lit 14161) (ne_of_lit 0) (ne_of_lit 118) hk (fun b' c' eb ec hne =>
    CoverLink6.link6 a b' c' k hne (by rw [eb, ec]; exact r1) (by rw [eb]; exact r2))

/-! ## The 32 classes (1, γ₂) -/

theorem adic_st (x y : Q) (γ : B5) (hs : St x y ⟨false, false, false, false, false⟩ γ) (d : Int)
    (hd : γ.cls = d)
    (hadic : ∀ U V W Z : Int, U * U - 42486 * (Z * Z) = d * (V * V) → d * (U * U + 42486 * (Z * Z)) = W * W →
      IDv 2 U ∧ IDv 2 Z) : False := by
  obtain ⟨X, T, Y, u, v, U, V, _, huv, hY, hX, hXm, h0, h1, _⟩ := st_int x y _ _ hs
  rw [hd] at hXm
  exact adic_gen 42486 d X T Y u v U V (hX.trans (one_cls U)) hXm hY huv h0 h1
    (fun W e1 e2 => hadic U V W T e1 e2)

theorem cover_st (x y : Q) (γ : B5) (hs : St x y ⟨false, false, false, false, false⟩ γ) (D m : Int)
    (hd : (γ.xor Q0b2).cls = -D) (hm : 2 * 42486 = D * m) (hD : D ≠ 0)
    (hlink : ∀ a b c k : Int, k ≠ 0 → b * b + c * c = m * (k * k) → a * a + 42486 * (k * k) = D * (b * b) → False) :
    False := by
  obtain ⟨x', y', h'⟩ := trans_by x y _ γ hs Q0x Q0y Q0b1 Q0b2 Q0_on Q0_nd Q0_hc rfl
    (inv_of true false false false false true true true true true VSet.xorInv_T0 _ γ)
  obtain ⟨X, T, Y, _, _, U, V, hT, _, hY, hX, hXm, h0, h1, _⟩ := st_int x' y' _ _ h'
  have e1 : B5.cls (B5.xor ⟨false, false, false, false, false⟩ Q0b1) = -1 := rfl
  rw [e1] at hX
  rw [hd] at hXm
  exact cover_gen 42486 D m X T Y U V hm hD hT hX hXm hY h0 h1 hlink

theorem no_st0 (x y : Q) (γ : B5) (hs : St x y ⟨false, false, false, false, false⟩ γ) : False := by
  obtain ⟨s, a, b, c, d⟩ := γ
  cases s with
  | true =>
    obtain ⟨X, T, Y, _, _, U, V, _, _, hY, hX, hXm, h0, h1, h2⟩ := st_int x y _ _ hs
    exact neg_case X T Y U V a b c d hX hXm hY h0 h1 h2
  | false =>
    cases a <;> cases b <;> cases c <;> cases d
    -- (a, b, c, d) = bits of 2, 3, 73, 97
    · exact Bool.noConfusion (hs.2.2.2.symm.trans (rfl : inVB ⟨false, false, false, false, false⟩
        ⟨false, false, false, false, false⟩ = true))
    · exact cover_st x y _ hs 438 194 rfl rfl (ne_of_lit 437) link7'
    · exact cover_st x y _ hs 582 146 rfl rfl (ne_of_lit 581) link5'
    · exact cover_st x y _ hs 6 14162 rfl rfl (ne_of_lit 5) link6'
    · exact adic_st x y _ hs 3 rfl Adic2Inst.adic_3
    · exact adic_st x y _ hs 291 rfl Adic2Inst.adic_291
    · exact adic_st x y _ hs 219 rfl Adic2Inst.adic_219
    · exact adic_st x y _ hs 21243 rfl Adic2Inst.adic_21243
    · exact adic_st x y _ hs 2 rfl Adic2Inst.adic_2
    · exact adic_st x y _ hs 194 rfl Adic2Inst.adic_194
    · exact adic_st x y _ hs 146 rfl Adic2Inst.adic_146
    · exact adic_st x y _ hs 14162 rfl Adic2Inst.adic_14162
    · exact adic_st x y _ hs 6 rfl Adic2Inst.adic_6
    · exact adic_st x y _ hs 582 rfl Adic2Inst.adic_582
    · exact adic_st x y _ hs 438 rfl Adic2Inst.adic_438
    · exact adic_st x y _ hs 42486 rfl Adic2Inst.adic_42486

/-- **Every descent class of a rational point of E_42486 outside E[2] lies in V.** -/
theorem all_in_V (x y : Q) (o : OnE x y) (nd : ND x) (β1 β2 : B5) (hc : HC x β1 β2) : inVB β1 β2 = true := by
  cases hV : inVB β1 β2 with
  | true => rfl
  | false =>
    obtain ⟨x', y', γ2, h'⟩ := clear x y β1 β2 ⟨o, nd, hc, hV⟩
    exact (no_st0 x' y' γ2 h').elim

/-- **The 2-descent image of E_42486(Q) \ E[2] is contained in V (|V| = 32), so rank E_42486(Q) ≤ 3.** -/
theorem image_in_V (x y : Q) (o : OnE x y) (nd : ND x) : ∃ β1 β2 : B5, HC x β1 β2 ∧ inVB β1 β2 = true := by
  have h0 : x.num ≠ 0 := fun h => nd.1 (num_zero x h)
  have h1 : x.num - 42486 * Int.ofNat x.den ≠ 0 := fun h => nd.2.1 (by
    rw [e_n x]; exact normQ_zero _ _ _ ((sub_form 42486 x.num _).trans h))
  obtain ⟨s1, a1, b1, c1, d1, s2, a2, b2, c2, d2, hc⟩ := q_cls x y o h0 h1
  exact ⟨⟨s1, a1, b1, c1, d1⟩, ⟨s2, a2, b2, c2, d2⟩, hc, all_in_V x y o nd _ _ hc⟩

end Assemble3

#print axioms Assemble3.zero_or_ne
#print axioms Assemble3.eq_zero_of_mul
#print axioms Assemble3.ne_of_lit
#print axioms Assemble3.pm_zero
#print axioms Assemble3.isq_dvd
#print axioms Assemble3.two_ndvd_one
#print axioms Assemble3.normQ_zero
#print axioms Assemble3.num_zero
#print axioms Assemble3.sub_form
#print axioms Assemble3.add_form
#print axioms Assemble3.one_cls
#print axioms Assemble3.st_int
#print axioms Assemble3.neg_case
#print axioms Assemble3.adic_gen
#print axioms Assemble3.cover_gen
#print axioms Assemble3.sign_pick
#print axioms Assemble3.link5'
#print axioms Assemble3.link7'
#print axioms Assemble3.link6'
#print axioms Assemble3.adic_st
#print axioms Assemble3.cover_st
#print axioms Assemble3.no_st0
#print axioms Assemble3.all_in_V
#print axioms Assemble3.image_in_V

bsd/AssembleN.lean

lean_all/bsd/AssembleN.lean

/-
  bsd/AssembleN.lean — T39 (goal G289f-4h-5d): clearing the first coordinate of a descent class by translation points,
  for a rational parameter n and classes over a prime list (bsd/Assemble2 is the case n = 42486).
    St               (x, y) ∈ E_n(Q) away from E[2], class (β, β′), (β, β′) ∉ V
    tor_inV          the classes of E[2] lie in V (from vtor)
    TP, TPok         a translation point: a rational point away from E[2] with class (c, c′), and V-membership
                     unchanged by adding (c, c′) (checked on all classes at each instance)
    trans_byN        St for (β, β′)  ⇒  St for (β ⊕ c, β′ ⊕ c′)       (class additivity, PtClsN2.cls_addN)
    applyL, trans_list   the same along a list of translation points
    allCL_app        a Boolean check over all well-formed classes (allBits)
    img_of_clear     if every class has a list of translation points clearing its first coordinate, and no St has
                     first coordinate 1, then every point away from E[2] has its class in V (the input img of
                     Rank3FinalN.rank_le3N)
  Lean 4 core plus bsd/Rank3FinalN.
-/
import bsd.Rank3FinalN

namespace AssembleN
open DetChain LibRing LibRat QModel QCls B5S SqUniqueL SqClassL QModelN TransStepL StepN PtAdd PtAddN DblClsN
  PtClsN PtClsN2 TorClsN0 Dep4 Rank3FinalN

def St (n : Q) (ps : List Nat) (inV : CL → CL → Bool) (x y : Q) (β β' : CL) : Prop :=
  OnEn n x y ∧ NDn n x ∧ HCc n ps x β β' ∧ WF ps β ∧ WF ps β' ∧ inV β β' = false

theorem tor_inV (n : Q) (ps : List Nat) (D : TorData n ps) (inV : CL → CL → Bool)
    (vtor : ∀ s t : Bool, inV (tcA ps D s t) (tcB ps D s t) = true) (x : Q) (β β' : CL)
    (h : TorClsN n ps D x β β') : inV β β' = true := by
  cases h with
  | inl h => obtain ⟨_, e1, e2⟩ := h; rw [e1, e2]; exact vtor true false
  | inr h =>
    cases h with
    | inl h => obtain ⟨_, e1, e2⟩ := h; rw [e1, e2]; exact vtor false true
    | inr h => obtain ⟨_, e1, e2⟩ := h; rw [e1, e2]; exact vtor true true

/-- **One translation step.** -/
theorem trans_byN (n : Q) (ps : List Nat) (D : TorData n ps) (H : Hyp n ps D) (inV : CL → CL → Bool)
    (vtor : ∀ s t : Bool, inV (tcA ps D s t) (tcB ps D s t) = true) (x y : Q) (β β' : CL)
    (hs : St n ps inV x y β β') (qx qy : Q) (q q' : CL) (qon : OnEn n qx qy) (qnd : NDn n qx)
    (qhc : HCc n ps qx q q') (qw : WF ps q) (qw' : WF ps q')
    (qinv : inV (cxor β q) (cxor β' q') = inV β β') :
    ∃ x' y' : Q, St n ps inV x' y' (cxor β q) (cxor β' q') := by
  obtain ⟨o, nd, hc, w, w', hV⟩ := hs
  have c1 : ClsPtN n ps D (Pt.A x y) β β' := ⟨w, w', Or.inl ⟨nd, hc⟩⟩
  have c2 : ClsPtN n ps D (Pt.A qx qy) q q' := ⟨qw, qw', Or.inl ⟨qnd, qhc⟩⟩
  have c3 := cls_addN n ps H.hc H.hp D H.R H.hn H.h0n H.hn0 H.hm0 (Pt.A x y) (Pt.A qx qy) β β' q q' o qon c1 c2
  have oS : OnPtN n (addN n (Pt.A x y) (Pt.A qx qy)) := on_addN n _ _ o qon
  have hf : inV (cxor β q) (cxor β' q') = false := qinv.trans hV
  generalize addN n (Pt.A x y) (Pt.A qx qy) = S at c3 oS
  cases S with
  | O =>
    obtain ⟨e1, e2⟩ := c3
    rw [e1, e2] at hf
    exact Bool.noConfusion (hf.symm.trans (vtor false false))
  | A x' y' =>
    obtain ⟨_, _, hcase⟩ := c3
    cases hcase with
    | inl h => exact ⟨x', y', oS, h.1, h.2, wf_cxor ps β q w qw, wf_cxor ps β' q' w' qw', hf⟩
    | inr h => exact Bool.noConfusion (hf.symm.trans (tor_inV n ps D inV vtor x' _ _ h))

/-- a translation point -/
structure TP where
  x : Q
  y : Q
  c : CL
  c' : CL

def TPok (n : Q) (ps : List Nat) (inV : CL → CL → Bool) (t : TP) : Prop :=
  OnEn n t.x t.y ∧ NDn n t.x ∧ HCc n ps t.x t.c t.c' ∧ WF ps t.c ∧ WF ps t.c' ∧
    ∀ β β' : CL, WF ps β → WF ps β' → inV (cxor β t.c) (cxor β' t.c') = inV β β'

def applyL : List TP → CL → CL → CL × CL
  | [], β, β' => (β, β')
  | t :: ts, β, β' => applyL ts (cxor β t.c) (cxor β' t.c')

/-- **Translation along a list.** -/
theorem trans_list (n : Q) (ps : List Nat) (D : TorData n ps) (H : Hyp n ps D) (inV : CL → CL → Bool)
    (vtor : ∀ s t : Bool, inV (tcA ps D s t) (tcB ps D s t) = true) :
    ∀ (ts : List TP), (∀ t, t ∈ ts → TPok n ps inV t) → ∀ (x y : Q) (β β' : CL), St n ps inV x y β β' →
      ∃ x' y' : Q, St n ps inV x' y' (applyL ts β β').1 (applyL ts β β').2
  | [], _, x, y, β, β', hs => ⟨x, y, hs⟩
  | t :: ts, hok, x, y, β, β', hs => by
    obtain ⟨to, tnd, thc, tw, tw', tinv⟩ := hok t (List.Mem.head ts)
    have hs' := hs
    obtain ⟨_, _, _, w, w', _⟩ := hs'
    obtain ⟨x1, y1, h1⟩ := trans_byN n ps D H inV vtor x y β β' hs t.x t.y t.c t.c' to tnd thc tw tw'
      (tinv β β' w w')
    exact trans_list n ps D H inV vtor ts (fun s hs => hok s (List.Mem.tail t hs)) x1 y1 _ _ h1

/-- a Boolean check over all well-formed classes -/
def allCL (k : Nat) (f : CL → Bool) : Bool := allBits k (fun b => f ⟨true, b⟩ && f ⟨false, b⟩)

theorem allCL_app (ps : List Nat) (f : CL → Bool) (h : allCL ps.length f = true) (β : CL) (w : WF ps β) :
    f β = true := by
  have h1 := allBits_app ps.length (fun b => f ⟨true, b⟩ && f ⟨false, b⟩) h β.b w
  cases β with
  | mk s b =>
    cases s with
    | true => exact and_l h1
    | false => exact and_r h1

/-- **The Selmer bound from a clearing certificate.**  comb β lists translation points whose classes clear the first
    coordinate β; hfin: no point has a class (1, β′) outside V. -/
theorem img_of_clear (n : Q) (ps : List Nat) (D : TorData n ps) (H : Hyp n ps D) (inV : CL → CL → Bool)
    (vtor : ∀ s t : Bool, inV (tcA ps D s t) (tcB ps D s t) = true)
    (hex : ∀ x y : Q, OnEn n x y → NDn n x → ∃ β β' : CL, WF ps β ∧ WF ps β' ∧ HCc n ps x β β')
    (comb : CL → List TP) (hok : ∀ β : CL, ∀ t, t ∈ comb β → TPok n ps inV t)
    (hclr : ∀ β β' : CL, WF ps β → WF ps β' → (applyL (comb β) β β').1 = zc ps)
    (hfin : ∀ x y : Q, ∀ β' : CL, St n ps inV x y (zc ps) β' → False) :
    ∀ x y : Q, OnEn n x y → NDn n x → ∃ β β' : CL, WF ps β ∧ WF ps β' ∧ HCc n ps x β β' ∧ inV β β' = true := by
  intro x y o nd
  obtain ⟨β, β', w, w', hc⟩ := hex x y o nd
  cases hv : inV β β' with
  | true => exact ⟨β, β', w, w', hc, hv⟩
  | false =>
    have hs : St n ps inV x y β β' := ⟨o, nd, hc, w, w', hv⟩
    obtain ⟨x1, y1, h1⟩ := trans_list n ps D H inV vtor (comb β) (hok β) x y β β' hs
    rw [hclr β β' w w'] at h1
    exact (hfin x1 y1 _ h1).elim

end AssembleN

#print axioms AssembleN.tor_inV
#print axioms AssembleN.trans_byN
#print axioms AssembleN.trans_list
#print axioms AssembleN.allCL_app
#print axioms AssembleN.img_of_clear

bsd/B5.lean

lean_all/bsd/B5.lean

/-
  bsd/B5.lean — T39 (goal G289e-6b): bit vectors over {−1, 2, 3, 73, 97} as a structure, with the class map, xor, and
  the cast to Q.
    B5, B5.cls, B5.xor, B5.and          (cls β = (−1)^s 2^a 3^b 73^c 97^d)
    cls_mul       cls β · cls γ = cls (β ⊕ γ) · (cls (β ∧ γ))²
    eq_of_cls     cls β · P² = cls γ · Q², P ≠ 0  ⇒  β = γ           (bsd/BitsEq)
    castQ_mul     castQ (a·b) = castQ a · castQ b
    cq β          castQ (cls β) ∈ Q, nonzero
  Lean 4 core plus bsd/BitsEq, bsd/QCls.
-/
import bsd.BitsEq
import bsd.QCls

namespace B5S
open LibRat LibInt QModel QCls

structure B5 where
  s : Bool
  a : Bool
  b : Bool
  c : Bool
  d : Bool

def B5.cls (β : B5) : Int := SqClass.cls β.s β.a β.b β.c β.d
def B5.xor (β γ : B5) : B5 := ⟨Bool.xor β.s γ.s, Bool.xor β.a γ.a, Bool.xor β.b γ.b, Bool.xor β.c γ.c, Bool.xor β.d γ.d⟩
def B5.and (β γ : B5) : B5 := ⟨β.s && γ.s, β.a && γ.a, β.b && γ.b, β.c && γ.c, β.d && γ.d⟩

theorem cls_mul (β γ : B5) : β.cls * γ.cls = (β.xor γ).cls * ((β.and γ).cls * (β.and γ).cls) :=
  SqClass.cls_mul _ _ _ _ _ _ _ _ _ _

theorem cls_ne (β : B5) : β.cls ≠ 0 := SqClass.cls_ne_zero _ _ _ _ _

theorem eq_of_cls (β γ : B5) (P Q : Int) (hP : P ≠ 0) (h : β.cls * (P * P) = γ.cls * (Q * Q)) : β = γ := by
  obtain ⟨e1, e2, e3, e4, e5⟩ := BitsEq.bits_eq _ _ _ _ _ _ _ _ _ _ P Q hP h
  cases β; cases γ
  cases e1; cases e2; cases e3; cases e4; cases e5; rfl

theorem castQ_mul (a b : Int) : castQ (a * b) = ratR.mul (castQ a) (castQ b) :=
  ((normQ_eq_iff (a * b) (a * b) 1 (1 * 1) (Nat.succ_pos 0) (mul_pos' (Nat.succ_pos 0) (Nat.succ_pos 0))).2
    (by lib_int)).trans (rmul a b 1 1 (Nat.succ_pos 0) (Nat.succ_pos 0)).symm

def cq (β : B5) : Q := castQ β.cls

theorem cq_ne (β : B5) : cq β ≠ zeroQ := normQ_ne_zero (Nat.succ_pos 0) (cls_ne β)

/-- cq β · cq γ = cq (β ⊕ γ) · (cq (β ∧ γ))² -/
theorem cq_mul (β γ : B5) : ratR.mul (cq β) (cq γ) = ratR.mul (cq (β.xor γ)) (ratR.mul (cq (β.and γ)) (cq (β.and γ))) :=
  calc ratR.mul (cq β) (cq γ) = castQ (β.cls * γ.cls) := (castQ_mul β.cls γ.cls).symm
    _ = castQ ((β.xor γ).cls * ((β.and γ).cls * (β.and γ).cls)) := congrArg castQ (cls_mul β γ)
    _ = ratR.mul (cq (β.xor γ)) (castQ ((β.and γ).cls * (β.and γ).cls)) := castQ_mul _ _
    _ = _ := congrArg (ratR.mul (cq (β.xor γ))) (castQ_mul _ _)

end B5S

#print axioms B5S.cls_mul
#print axioms B5S.cls_ne
#print axioms B5S.eq_of_cls
#print axioms B5S.castQ_mul
#print axioms B5S.cq_ne
#print axioms B5S.cq_mul

bsd/BitsEq.lean

lean_all/bsd/BitsEq.lean

/-
  bsd/BitsEq.lean — T39 (goal G289e-6f): two classes that agree modulo squares have the same bits.
    xor_false     xor x y = false ⇒ x = y
    bits_eq       cls β · P² = cls β′ · Q², P ≠ 0  ⇒  β = β′
  (cls β · cls β′ = (cls β′·Q/P)² is an integer square (bsd/SqNat); cls β · cls β′ = cls(β ⊕ β′)·cls(β ∧ β′)²
  (bsd/SqClass) so cls(β ⊕ β′) is a square, and only the trivial class is (bsd/SqUnique).)
  Lean 4 core plus bsd/SqClass, bsd/SqNat, bsd/SqUnique.
-/
import bsd.SqClass
import bsd.SqNat
import bsd.SqUnique

namespace BitsEq
open LibInt SqClass

theorem xor_false : ∀ x y : Bool, xor x y = false → x = y
  | true, true, _ => rfl
  | false, false, _ => rfl
  | true, false, h => Bool.noConfusion h
  | false, true, h => Bool.noConfusion h

/-- **Equal classes have equal bits.** -/
theorem bits_eq (s a b c d s' a' b' c' d' : Bool) (P Q : Int) (hP : P ≠ 0)
    (h : cls s a b c d * (P * P) = cls s' a' b' c' d' * (Q * Q)) :
    s = s' ∧ a = a' ∧ b = b' ∧ c = c' ∧ d = d' := by
  have h1 : (cls s a b c d * cls s' a' b' c' d') * (P * P)
      = (cls s' a' b' c' d' * Q) * (cls s' a' b' c' d' * Q) := by
    calc (cls s a b c d * cls s' a' b' c' d') * (P * P) = cls s' a' b' c' d' * (cls s a b c d * (P * P)) := by lib_int
      _ = cls s' a' b' c' d' * (cls s' a' b' c' d' * (Q * Q)) := by rw [h]
      _ = _ := by lib_int
  obtain ⟨m, hm⟩ := SqNat.int_sq_of_mul_sq _ _ _ hP h1
  rw [cls_mul] at hm
  obtain ⟨m', hm'⟩ := SqNat.int_sq_of_mul_sq _ m _ (cls_ne_zero _ _ _ _ _)
    (show cls (xor s s') (xor a a') (xor b b') (xor c c') (xor d d')
        * (cls (s && s') (a && a') (b && b') (c && c') (d && d') * cls (s && s') (a && a') (b && b') (c && c') (d && d'))
        = m * m from hm)
  obtain ⟨e1, e2, e3, e4, e5⟩ := SqUnique.cls_sq _ _ _ _ _ m' hm'
  exact ⟨xor_false _ _ e1, xor_false _ _ e2, xor_false _ _ e3, xor_false _ _ e4, xor_false _ _ e5⟩

end BitsEq

#print axioms BitsEq.xor_false
#print axioms BitsEq.bits_eq

bsd/ChordClass.lean

lean_all/bsd/ChordClass.lean

/-
  bsd/ChordClass.lean — T39 (goal G289e-6a): the chord through two points with distinct x-coordinates, without
  assuming the third intersection point is distinct from them.
  Lean 4 core plus bsd/DescentHomFull (f, c2, c1, c0, cubic_eq) and lib/Vieta3 (cubic, cubic_diff, cancel_left).
  On y² = f(x) = (x − e₁)(x − e₂)(x − e₃) over an integral domain, let P₁, P₂ lie on the line y = λx + ν with
  x₁ ≠ x₂, and put
      x₃ := e₁ + e₂ + e₃ + λ² − x₁ − x₂,    y₃ := λx₃ + ν.
    factor2       the line cubic is (t − x₁)(t − x₂)(t − x₃) for every t           (two roots suffice)
    third_on      y₃² = f(x₃)                                                       (P₃ is on the curve)
    chord_sq      (x₁ − e)(x₂ − e)(x₃ − e) = (λe + ν)² for each root e = eᵢ          (descent image is multiplicative)
  This is DescentHomFull.collinear_sq without the hypotheses x₃ ≠ x₁, x₃ ≠ x₂: the third point is produced, not
  assumed (used to translate a descent class by a known point, G289e-6).
-/
import bsd.DescentHomFull

namespace ChordClass
open DetChain LibRing LibVieta DescentHomFull

variable {R : Type} (K : CRing R)

/-- Third root of the monic cubic through two roots. -/
def third (c2 x1 x2 : R) : R := sub K (K.neg c2) (K.add x1 x2)

/-- Linear remainder identity: cubic(t) = (t − x₁)(t − x₂)(t − x₃) + g₁₂·(t − x₁) + cubic(x₁). -/
theorem rem_identity (c2 c1 c0 x1 x2 t : R) :
    cubic K c2 c1 c0 t
      = K.add (K.add (K.mul (K.mul (sub K t x1) (sub K t x2)) (sub K t (third K c2 x1 x2)))
          (K.mul (K.add (K.add (K.add (K.add (K.mul x1 x1) (K.mul x1 x2)) (K.mul x2 x2)) (K.mul c2 (K.add x1 x2))) c1)
            (sub K t x1)))
          (cubic K c2 c1 c0 x1) := by
  unfold cubic third; lib_ring

/-- **Two distinct roots determine the factorization.** -/
theorem factor2 (hK : NoZD K) (c2 c1 c0 x1 x2 : R) (h12 : x1 ≠ x2)
    (f1 : cubic K c2 c1 c0 x1 = K.zero) (f2 : cubic K c2 c1 c0 x2 = K.zero) (t : R) :
    cubic K c2 c1 c0 t = K.mul (K.mul (sub K t x1) (sub K t x2)) (sub K t (third K c2 x1 x2)) := by
  have zz : sub K K.zero K.zero = K.zero := by lib_ring
  have g12 := cancel_left K hK _ _ (sub_ne_zero K _ _ h12)
    (((cubic_diff K c2 c1 c0 x1 x2).symm.trans (by rw [f1, f2])).trans zz)
  rw [rem_identity K c2 c1 c0 x1 x2 t, g12, f1, zero_mul' K]
  lib_ring

theorem root_line (e1 e2 e3 l n x y : R) (hl : y = K.add (K.mul l x) n) (hc : K.mul y y = f K e1 e2 e3 x) :
    cubic K (c2 K e1 e2 e3 l) (c1 K e1 e2 e3 l n) (c0 K e1 e2 e3 n) x = K.zero := by
  rw [cubic_eq, ← hl, ← hc]; lib_ring

/-- **The third point is on the curve.** -/
theorem third_on (hK : NoZD K) (e1 e2 e3 l n x1 x2 y1 y2 : R) (h12 : x1 ≠ x2)
    (l1 : y1 = K.add (K.mul l x1) n) (l2 : y2 = K.add (K.mul l x2) n)
    (o1 : K.mul y1 y1 = f K e1 e2 e3 x1) (o2 : K.mul y2 y2 = f K e1 e2 e3 x2) :
    K.mul (K.add (K.mul l (third K (c2 K e1 e2 e3 l) x1 x2)) n) (K.add (K.mul l (third K (c2 K e1 e2 e3 l) x1 x2)) n)
      = f K e1 e2 e3 (third K (c2 K e1 e2 e3 l) x1 x2) := by
  have fac := factor2 K hK _ _ _ x1 x2 h12 (root_line K e1 e2 e3 l n x1 y1 l1 o1)
    (root_line K e1 e2 e3 l n x2 y2 l2 o2) (third K (c2 K e1 e2 e3 l) x1 x2)
  rw [cubic_eq] at fac
  have z3 : sub K (third K (c2 K e1 e2 e3 l) x1 x2) (third K (c2 K e1 e2 e3 l) x1 x2) = K.zero := by lib_ring
  rw [z3, mul_zero K] at fac
  exact (sub_zero_eq K _ _ fac).symm

/-- **Chord: product of the three descent coordinates is a square, at every root.** -/
theorem chord_sq (hK : NoZD K) (e1 e2 e3 l n x1 x2 y1 y2 : R) (h12 : x1 ≠ x2)
    (l1 : y1 = K.add (K.mul l x1) n) (l2 : y2 = K.add (K.mul l x2) n)
    (o1 : K.mul y1 y1 = f K e1 e2 e3 x1) (o2 : K.mul y2 y2 = f K e1 e2 e3 x2)
    (e : R) (he : e = e1 ∨ e = e2 ∨ e = e3) :
    K.mul (K.mul (sub K x1 e) (sub K x2 e)) (sub K (third K (c2 K e1 e2 e3 l) x1 x2) e)
      = K.mul (K.add (K.mul l e) n) (K.add (K.mul l e) n) := by
  have fac := factor2 K hK _ _ _ x1 x2 h12 (root_line K e1 e2 e3 l n x1 y1 l1 o1)
    (root_line K e1 e2 e3 l n x2 y2 l2 o2) e
  rw [cubic_eq] at fac
  have f0 : f K e1 e2 e3 e = K.zero := by
    rcases he with h | h | h <;> (rw [h]; unfold f; lib_ring)
  rw [f0] at fac
  have g : K.mul (K.mul (sub K x1 e) (sub K x2 e)) (sub K (third K (c2 K e1 e2 e3 l) x1 x2) e)
      = K.neg (K.mul (K.mul (sub K e x1) (sub K e x2)) (sub K e (third K (c2 K e1 e2 e3 l) x1 x2))) := by lib_ring
  rw [g, ← fac]; lib_ring

end ChordClass

#print axioms ChordClass.rem_identity
#print axioms ChordClass.factor2
#print axioms ChordClass.root_line
#print axioms ChordClass.third_on
#print axioms ChordClass.chord_sq

bsd/ChordSym.lean

lean_all/bsd/ChordSym.lean

/-
  bsd/ChordSym.lean — T39 (goal G289e-7b3): chord facts needed for the torsion cases of the class additivity.
    on_root1/2/3    a point of y² = f(x) with x a root has y = 0       (no zero divisors)
    tor_y           a point of E_42486 with x ∈ {0, n, −n} has y = 0
    slope_symm      (y₂ − y₁)/(x₂ − x₁) = (y₁ − y₂)/(x₁ − x₂)           (inverses on both sides)
    third_symm      the third root does not depend on the order
    x3_symm         TransQ.x3 x₁ y₁ x₂ y₂ = TransQ.x3 x₂ y₂ x₁ y₁ for x₁ ≠ x₂
    third_tor       the chord through two points of E[2] (slope 0) meets the third one
  Lean 4 core plus bsd/StepFull.
-/
import bsd.StepFull

namespace ChordSym
open DetChain LibRing

section gen
variable {R : Type} (K : CRing R)

theorem sq_zero (hK : NoZD K) (y : R) (h : K.mul y y = K.zero) : y = K.zero :=
  (hK y y h).elim id id

theorem on_root1 (hK : NoZD K) (e1 e2 e3 y : R) (o : K.mul y y = DescentHomFull.f K e1 e2 e3 e1) : y = K.zero :=
  sq_zero K hK y (o.trans (by unfold DescentHomFull.f LibRing.sub; lib_ring))

theorem on_root2 (hK : NoZD K) (e1 e2 e3 y : R) (o : K.mul y y = DescentHomFull.f K e1 e2 e3 e2) : y = K.zero :=
  sq_zero K hK y (o.trans (by unfold DescentHomFull.f LibRing.sub; lib_ring))

theorem on_root3 (hK : NoZD K) (e1 e2 e3 y : R) (o : K.mul y y = DescentHomFull.f K e1 e2 e3 e3) : y = K.zero :=
  sq_zero K hK y (o.trans (by unfold DescentHomFull.f LibRing.sub; lib_ring))

theorem slope_symm (x1 y1 x2 y2 i j : R) (hi : K.mul (sub K x2 x1) i = K.one) (hj : K.mul (sub K x1 x2) j = K.one) :
    K.mul (sub K y2 y1) i = K.mul (sub K y1 y2) j := by
  calc K.mul (sub K y2 y1) i = K.mul (sub K y2 y1) (K.mul i (K.mul (sub K x1 x2) j)) := by rw [hj]; lib_ring
    _ = K.mul (sub K y1 y2) (K.mul (K.mul (sub K x2 x1) i) j) := by unfold LibRing.sub; lib_ring
    _ = K.mul (sub K y1 y2) j := by rw [hi]; lib_ring

theorem third_symm (c2 x1 x2 : R) : ChordClass.third K c2 x1 x2 = ChordClass.third K c2 x2 x1 := by
  unfold ChordClass.third LibRing.sub; lib_ring

theorem third_tor (a b c x1 x2 x3 z v : R) (hs : K.add (K.add x1 x2) x3 = K.add (K.add a b) c) :
    ChordClass.third K (DescentHomFull.c2 K a b c (K.mul (sub K z z) v)) x1 x2 = x3 := by
  calc ChordClass.third K (DescentHomFull.c2 K a b c (K.mul (sub K z z) v)) x1 x2
      = K.add (K.add (K.add a b) c) (K.neg (K.add x1 x2)) := by
        unfold ChordClass.third DescentHomFull.c2 LibRing.sub; lib_ring
    _ = K.add (K.add (K.add x1 x2) x3) (K.neg (K.add x1 x2)) := by rw [hs]
    _ = x3 := by lib_ring

end gen

open LibRat QModel StepFull

theorem tor_y (x y : Q) (o : OnE x y) (β1 β2 : B5S.B5) (t : TorCls x β1 β2) : y = zeroQ := by
  rcases t with ⟨e, _, _⟩ | ⟨e, _, _⟩ | ⟨e, _, _⟩
  · subst e; exact on_root1 ratR rat_noZD zeroQ nQ (negQ nQ) y o
  · subst e; exact on_root2 ratR rat_noZD zeroQ nQ (negQ nQ) y o
  · subst e; exact on_root3 ratR rat_noZD zeroQ nQ (negQ nQ) y o

theorem sub_ne_of_ne (a b : Q) (h : a ≠ b) : sub ratR a b ≠ zeroQ := fun e => h (LibVieta.sub_zero_eq ratR a b e)

theorem x3_symm (x1 y1 x2 y2 : Q) (h : x1 ≠ x2) : TransQ.x3 x1 y1 x2 y2 = TransQ.x3 x2 y2 x1 y1 := by
  unfold TransQ.x3 TransQ.slope
  rw [slope_symm ratR x1 y1 x2 y2 _ _ (mul_invQ _ (sub_ne_of_ne x2 x1 (fun e => h e.symm)))
    (mul_invQ _ (sub_ne_of_ne x1 x2 h))]
  exact third_symm ratR _ x1 x2

end ChordSym

#print axioms ChordSym.sq_zero
#print axioms ChordSym.on_root1
#print axioms ChordSym.on_root2
#print axioms ChordSym.on_root3
#print axioms ChordSym.slope_symm
#print axioms ChordSym.third_symm
#print axioms ChordSym.third_tor
#print axioms ChordSym.tor_y
#print axioms ChordSym.sub_ne_of_ne
#print axioms ChordSym.x3_symm

bsd/ChordTor.lean

lean_all/bsd/ChordTor.lean

/-
  bsd/ChordTor.lean — T39 (goal G289e-7b3, case 3b): the chord through a point T = (e₁, 0) of E[2] and P₂ = (x₂, y₂)
  meets the curve again at the abscissa of the translate (bsd/TorTrans): with v = (x₂ − e₁)⁻¹, slope l = y₂v,
      third root = s₁ + l² − e₁ − x₂ = e₁ + (e₁ − a)(e₁ − b)·v = TorTrans.xT.
  Proof: l² = f(x₂)v², and the difference of both sides is ((x₂ − e₁)v − 1)·Z for an explicit Z.
    chord_tor1, chord_tor2, chord_tor3    e₁ in the first, second, third root position (any commutative ring)
    x3_T0, x3_T1, x3_T2                    E_42486 over ℚ: TransQ.x3 through (0,0), (n,0), (−n,0)
  Lean 4 core plus bsd/TransQ, bsd/TorTrans.
-/
import bsd.TransQ
import bsd.TorTrans

namespace ChordTor
open DetChain LibRing

section gen
variable {R : Type} (K : CRing R)

/-- the cofactor Z -/
def Z (e1 a b x2 v : R) : R :=
  K.add (K.mul (K.add (sub K x2 e1) (K.add (K.add e1 e1) (K.neg (K.add a b)))) (K.add (K.mul (sub K x2 e1) v) K.one))
    (K.mul (TorTrans.A K e1 a b) v)

theorem chord_tor1 (e1 a b x2 y2 v : R) (hy : K.mul y2 y2 = DescentHomFull.f K e1 a b x2)
    (hv : K.mul (sub K x2 e1) v = K.one) :
    ChordClass.third K (DescentHomFull.c2 K e1 a b (K.mul (sub K y2 K.zero) v)) e1 x2 = TorTrans.xT K e1 a b v := by
  calc ChordClass.third K (DescentHomFull.c2 K e1 a b (K.mul (sub K y2 K.zero) v)) e1 x2
      = K.add (K.add (K.add a b) (K.neg x2)) (K.mul (K.mul y2 y2) (K.mul v v)) := by
        unfold ChordClass.third DescentHomFull.c2 LibRing.sub; lib_ring
    _ = K.add (K.add (K.add a b) (K.neg x2)) (K.mul (DescentHomFull.f K e1 a b x2) (K.mul v v)) := by rw [hy]
    _ = K.add (TorTrans.xT K e1 a b v) (K.mul (K.add (K.mul (sub K x2 e1) v) (K.neg K.one)) (Z K e1 a b x2 v)) := by
        unfold Z DescentHomFull.f TorTrans.xT TorTrans.A LibRing.sub; lib_ring
    _ = TorTrans.xT K e1 a b v := by rw [hv]; lib_ring

theorem chord_tor2 (a e1 b x2 y2 v : R) (hy : K.mul y2 y2 = DescentHomFull.f K a e1 b x2)
    (hv : K.mul (sub K x2 e1) v = K.one) :
    ChordClass.third K (DescentHomFull.c2 K a e1 b (K.mul (sub K y2 K.zero) v)) e1 x2 = TorTrans.xT K e1 a b v := by
  calc ChordClass.third K (DescentHomFull.c2 K a e1 b (K.mul (sub K y2 K.zero) v)) e1 x2
      = K.add (K.add (K.add a b) (K.neg x2)) (K.mul (K.mul y2 y2) (K.mul v v)) := by
        unfold ChordClass.third DescentHomFull.c2 LibRing.sub; lib_ring
    _ = K.add (K.add (K.add a b) (K.neg x2)) (K.mul (DescentHomFull.f K a e1 b x2) (K.mul v v)) := by rw [hy]
    _ = K.add (TorTrans.xT K e1 a b v) (K.mul (K.add (K.mul (sub K x2 e1) v) (K.neg K.one)) (Z K e1 a b x2 v)) := by
        unfold Z DescentHomFull.f TorTrans.xT TorTrans.A LibRing.sub; lib_ring
    _ = TorTrans.xT K e1 a b v := by rw [hv]; lib_ring

theorem chord_tor3 (a b e1 x2 y2 v : R) (hy : K.mul y2 y2 = DescentHomFull.f K a b e1 x2)
    (hv : K.mul (sub K x2 e1) v = K.one) :
    ChordClass.third K (DescentHomFull.c2 K a b e1 (K.mul (sub K y2 K.zero) v)) e1 x2 = TorTrans.xT K e1 a b v := by
  calc ChordClass.third K (DescentHomFull.c2 K a b e1 (K.mul (sub K y2 K.zero) v)) e1 x2
      = K.add (K.add (K.add a b) (K.neg x2)) (K.mul (K.mul y2 y2) (K.mul v v)) := by
        unfold ChordClass.third DescentHomFull.c2 LibRing.sub; lib_ring
    _ = K.add (K.add (K.add a b) (K.neg x2)) (K.mul (DescentHomFull.f K a b e1 x2) (K.mul v v)) := by rw [hy]
    _ = K.add (TorTrans.xT K e1 a b v) (K.mul (K.add (K.mul (sub K x2 e1) v) (K.neg K.one)) (Z K e1 a b x2 v)) := by
        unfold Z DescentHomFull.f TorTrans.xT TorTrans.A LibRing.sub; lib_ring
    _ = TorTrans.xT K e1 a b v := by rw [hv]; lib_ring

end gen

open LibRat QModel

theorem x3_T0 (x2 y2 : Q) (o : OnE x2 y2) (h : sub ratR x2 zeroQ ≠ zeroQ) :
    TransQ.x3 zeroQ zeroQ x2 y2 = TorTrans.xT ratR zeroQ nQ (negQ nQ) (invQ (sub ratR x2 zeroQ)) :=
  chord_tor1 ratR zeroQ nQ (negQ nQ) x2 y2 _ o (mul_invQ _ h)

theorem x3_T1 (x2 y2 : Q) (o : OnE x2 y2) (h : sub ratR x2 nQ ≠ zeroQ) :
    TransQ.x3 nQ zeroQ x2 y2 = TorTrans.xT ratR nQ zeroQ (negQ nQ) (invQ (sub ratR x2 nQ)) :=
  chord_tor2 ratR zeroQ nQ (negQ nQ) x2 y2 _ o (mul_invQ _ h)

theorem x3_T2 (x2 y2 : Q) (o : OnE x2 y2) (h : sub ratR x2 (negQ nQ) ≠ zeroQ) :
    TransQ.x3 (negQ nQ) zeroQ x2 y2 = TorTrans.xT ratR (negQ nQ) zeroQ nQ (invQ (sub ratR x2 (negQ nQ))) :=
  chord_tor3 ratR zeroQ nQ (negQ nQ) x2 y2 _ o (mul_invQ _ h)

end ChordTor

#print axioms ChordTor.chord_tor1
#print axioms ChordTor.chord_tor2
#print axioms ChordTor.chord_tor3
#print axioms ChordTor.x3_T0
#print axioms ChordTor.x3_T1
#print axioms ChordTor.x3_T2

bsd/CircParam.lean

lean_all/bsd/CircParam.lean

/-
  bsd/CircParam.lean — T39 (goal G289e-6d): the rational parametrization of the circle b² + c² = m·k² from a point
  (b₀, c₀), b₀² + c₀² = m:  X₀ = m·k + b₀·b + c₀·c,  Z₀ = b₀·c − c₀·b.
    circ_S     X₀² + Z₀² = 2mk·X₀ + m·r₁ + (b₀² + c₀² − m)(b² + c²)              (r₁ = b² + c² − m·k²)
    circ_B     b₀(X₀² − Z₀²) − 2c₀X₀Z₀ = 2mb·X₀ − m·b₀·r₁ + (b₀² + c₀² − m)(2mkb + b₀(b² − c²) + 2c₀bc)
    circ_sq    r₁ = 0, a² + N·k² = D·b²  ⇒  D·B² − N·S² = (2m·a·X₀)²
  Lean 4 core plus lib/IntRing.
-/
import lib.IntRing

namespace CircParam
open LibInt

theorem circ_S (m b0 c0 b c k : Int) :
    (m * k + b0 * b + c0 * c) * (m * k + b0 * b + c0 * c) + (b0 * c - c0 * b) * (b0 * c - c0 * b)
      = 2 * m * k * (m * k + b0 * b + c0 * c) + m * (b * b + c * c - m * (k * k))
        + (b0 * b0 + c0 * c0 - m) * (b * b + c * c) := by
  lib_int

theorem circ_B (m b0 c0 b c k : Int) :
    b0 * ((m * k + b0 * b + c0 * c) * (m * k + b0 * b + c0 * c) - (b0 * c - c0 * b) * (b0 * c - c0 * b))
      - 2 * c0 * ((m * k + b0 * b + c0 * c) * (b0 * c - c0 * b))
      = 2 * m * b * (m * k + b0 * b + c0 * c) - m * b0 * (b * b + c * c - m * (k * k))
        + (b0 * b0 + c0 * c0 - m) * (2 * m * k * b + b0 * (b * b - c * c) + 2 * c0 * (b * c)) := by
  lib_int

theorem circ_sq (m D N a b c k X0 Z0 b0 c0 : Int) (hX : X0 = m * k + b0 * b + c0 * c) (hZ : Z0 = b0 * c - c0 * b)
    (hm : b0 * b0 + c0 * c0 - m = 0) (r1 : b * b + c * c = m * (k * k)) (r2 : a * a + N * (k * k) = D * (b * b)) :
    D * ((b0 * (X0 * X0 - Z0 * Z0) - 2 * c0 * (X0 * Z0)) * (b0 * (X0 * X0 - Z0 * Z0) - 2 * c0 * (X0 * Z0)))
      - N * ((X0 * X0 + Z0 * Z0) * (X0 * X0 + Z0 * Z0)) = (2 * m * a * X0) * (2 * m * a * X0) := by
  have z1 : b * b + c * c - m * (k * k) = 0 := by rw [r1]; lib_int
  have hS : X0 * X0 + Z0 * Z0 = 2 * m * k * X0 := by
    rw [hX, hZ, circ_S m b0 c0 b c k, z1, hm]; lib_int
  have hB : b0 * (X0 * X0 - Z0 * Z0) - 2 * c0 * (X0 * Z0) = 2 * m * b * X0 := by
    rw [hX, hZ, circ_B m b0 c0 b c k, z1, hm]; lib_int
  rw [hS, hB]
  have e : D * (2 * m * b * X0 * (2 * m * b * X0)) - N * (2 * m * k * X0 * (2 * m * k * X0))
      = (2 * m * X0) * (2 * m * X0) * (D * (b * b) - N * (k * k)) := by lib_int
  rw [e, ← r2]; lib_int

end CircParam

#print axioms CircParam.circ_S
#print axioms CircParam.circ_B
#print axioms CircParam.circ_sq

bsd/Clear1254.lean

lean_all/bsd/Clear1254.lean

/-
  bsd/Clear1254.lean — T39 (goal G289f-4h-5e4): the clearing certificate for E_1254 — for every first coordinate β a
  subset of the five translation points of bsd/TP1254 whose first coordinates add up to β, so translation along it
  reaches first coordinate 1 (AssembleN.img_of_clear, input hclr).
    beqL_eq, beqCL_eq     Boolean comparison gives equality
    applyL1, fst_applyL    the first component of AssembleN.applyL does not depend on β′
    c1, build, codes, code, comb   the 32 subsets (as Boolean codes) and the chosen one
    clr_chk, hclr1254      the check over all 32 first coordinates (rfl) and the statement
  Lean 4 core plus bsd/TP1254.
-/
import bsd.TP1254

set_option maxRecDepth 100000

namespace Clear1254
open DetChain LibRat PtClsN Rank3FinalN Tor1254 AssembleN TP1254

theorem beqL_eq : ∀ a b : List Bool, beqL a b = true → a = b
  | [], [], _ => rfl
  | [], _ :: _, h => Bool.noConfusion h
  | _ :: _, [], h => Bool.noConfusion h
  | x :: l, y :: m, h => by
    have h1 : beqB x y = true := SqUniqueL.and_l h
    have h2 : beqL l m = true := SqUniqueL.and_r h
    rw [beqB_eq x y h1, beqL_eq l m h2]

theorem beqCL_eq (c d : CL) (h : beqCL c d = true) : c = d := by
  cases c with
  | mk s b =>
    cases d with
    | mk s' b' =>
      have h1 : beqB s s' = true := SqUniqueL.and_l h
      have h2 : beqL b b' = true := SqUniqueL.and_r h
      rw [beqB_eq s s' h1, beqL_eq b b' h2]

def applyL1 : List TP → CL → CL
  | [], β => β
  | t :: ts, β => applyL1 ts (cxor β t.c)

theorem fst_applyL : ∀ (ts : List TP) (β β' : CL), (applyL ts β β').1 = applyL1 ts β
  | [], _, _ => rfl
  | t :: ts, β, β' => fst_applyL ts (cxor β t.c) (cxor β' t.c')

def c1 : Bool → TP → List TP → List TP
  | true, t, l => t :: l
  | false, _, l => l

theorem mem_c1 (u t : TP) (l : List TP) : ∀ e : Bool, t ∈ c1 e u l → t = u ∨ t ∈ l
  | true, h => by
    cases h with
    | head => exact Or.inl rfl
    | tail _ h' => exact Or.inr h'
  | false, h => Or.inr h

def build (e : Bool × Bool × Bool × Bool × Bool) : List TP :=
  c1 e.1 tp1 (c1 e.2.1 tp2 (c1 e.2.2.1 tp3 (c1 e.2.2.2.1 tp4 (c1 e.2.2.2.2 tp5 []))))

def codes : List (Bool × Bool × Bool × Bool × Bool) := [
  (false, false, false, false, false),
  (false, false, false, false, true),
  (false, false, false, true, false),
  (false, false, false, true, true),
  (false, false, true, false, false),
  (false, false, true, false, true),
  (false, false, true, true, false),
  (false, false, true, true, true),
  (false, true, false, false, false),
  (false, true, false, false, true),
  (false, true, false, true, false),
  (false, true, false, true, true),
  (false, true, true, false, false),
  (false, true, true, false, true),
  (false, true, true, true, false),
  (false, true, true, true, true),
  (true, false, false, false, false),
  (true, false, false, false, true),
  (true, false, false, true, false),
  (true, false, false, true, true),
  (true, false, true, false, false),
  (true, false, true, false, true),
  (true, false, true, true, false),
  (true, false, true, true, true),
  (true, true, false, false, false),
  (true, true, false, false, true),
  (true, true, false, true, false),
  (true, true, false, true, true),
  (true, true, true, false, false),
  (true, true, true, false, true),
  (true, true, true, true, false),
  (true, true, true, true, true)]

def code (β : CL) : Bool × Bool × Bool × Bool × Bool :=
  match codes.find? (fun e => beqCL (applyL1 (build e) β) (zc P1254)) with
  | some e => e
  | none => (false, false, false, false, false)

def comb (β : CL) : List TP := build (code β)

theorem clr_chk : allCL 4 (fun β => beqCL (applyL1 (comb β) β) (zc P1254)) = true := rfl

theorem hclr1254 (β β' : CL) (w : WF P1254 β) (_ : WF P1254 β') : (applyL (comb β) β β').1 = zc P1254 := by
  rw [fst_applyL]
  exact beqCL_eq _ _ (allCL_app P1254 _ clr_chk β w)

theorem not_mem_nil (t : TP) (h : t ∈ ([] : List TP)) : False := nomatch h

theorem build_ok (e : Bool × Bool × Bool × Bool × Bool) : ∀ t, t ∈ build e → TPok n1254 P1254 inV1254 t := by
  intro t ht
  cases mem_c1 tp1 t _ e.1 ht with
  | inl h => rw [h]; exact ok1
  | inr ht =>
    cases mem_c1 tp2 t _ e.2.1 ht with
    | inl h => rw [h]; exact ok2
    | inr ht =>
      cases mem_c1 tp3 t _ e.2.2.1 ht with
      | inl h => rw [h]; exact ok3
      | inr ht =>
        cases mem_c1 tp4 t _ e.2.2.2.1 ht with
        | inl h => rw [h]; exact ok4
        | inr ht =>
          cases mem_c1 tp5 t _ e.2.2.2.2 ht with
          | inl h => rw [h]; exact ok5
          | inr ht => exact (not_mem_nil t ht).elim

theorem comb_ok (β : CL) : ∀ t, t ∈ comb β → TPok n1254 P1254 inV1254 t := build_ok (code β)

end Clear1254

#print axioms Clear1254.beqL_eq
#print axioms Clear1254.beqCL_eq
#print axioms Clear1254.fst_applyL
#print axioms Clear1254.clr_chk
#print axioms Clear1254.hclr1254
#print axioms Clear1254.mem_c1
#print axioms Clear1254.not_mem_nil
#print axioms Clear1254.build_ok
#print axioms Clear1254.comb_ok

bsd/Clear48622.lean

lean_all/bsd/Clear48622.lean

/-
  bsd/Clear48622.lean — T39 (goal G289f-4h-5e4): the clearing certificate for E_48622 — for every first coordinate β a
  subset of the five translation points of bsd/TP48622 whose first coordinates add up to β, so translation along it
  reaches first coordinate 1 (AssembleN.img_of_clear, input hclr).
    beqL_eq, beqCL_eq     Boolean comparison gives equality
    applyL1, fst_applyL    the first component of AssembleN.applyL does not depend on β′
    c1, build, codes, code, comb   the 32 subsets (as Boolean codes) and the chosen one
    clr_chk, hclr48622      the check over all 32 first coordinates (rfl) and the statement
  Lean 4 core plus bsd/TP48622.
-/
import bsd.TP48622

set_option maxRecDepth 100000

namespace Clear48622
open DetChain LibRat PtClsN Rank3FinalN Tor48622 AssembleN TP48622

theorem beqL_eq : ∀ a b : List Bool, beqL a b = true → a = b
  | [], [], _ => rfl
  | [], _ :: _, h => Bool.noConfusion h
  | _ :: _, [], h => Bool.noConfusion h
  | x :: l, y :: m, h => by
    have h1 : beqB x y = true := SqUniqueL.and_l h
    have h2 : beqL l m = true := SqUniqueL.and_r h
    rw [beqB_eq x y h1, beqL_eq l m h2]

theorem beqCL_eq (c d : CL) (h : beqCL c d = true) : c = d := by
  cases c with
  | mk s b =>
    cases d with
    | mk s' b' =>
      have h1 : beqB s s' = true := SqUniqueL.and_l h
      have h2 : beqL b b' = true := SqUniqueL.and_r h
      rw [beqB_eq s s' h1, beqL_eq b b' h2]

def applyL1 : List TP → CL → CL
  | [], β => β
  | t :: ts, β => applyL1 ts (cxor β t.c)

theorem fst_applyL : ∀ (ts : List TP) (β β' : CL), (applyL ts β β').1 = applyL1 ts β
  | [], _, _ => rfl
  | t :: ts, β, β' => fst_applyL ts (cxor β t.c) (cxor β' t.c')

def c1 : Bool → TP → List TP → List TP
  | true, t, l => t :: l
  | false, _, l => l

theorem mem_c1 (u t : TP) (l : List TP) : ∀ e : Bool, t ∈ c1 e u l → t = u ∨ t ∈ l
  | true, h => by
    cases h with
    | head => exact Or.inl rfl
    | tail _ h' => exact Or.inr h'
  | false, h => Or.inr h

def build (e : Bool × Bool × Bool × Bool × Bool) : List TP :=
  c1 e.1 tp1 (c1 e.2.1 tp2 (c1 e.2.2.1 tp3 (c1 e.2.2.2.1 tp4 (c1 e.2.2.2.2 tp5 []))))

def codes : List (Bool × Bool × Bool × Bool × Bool) := [
  (false, false, false, false, false),
  (false, false, false, false, true),
  (false, false, false, true, false),
  (false, false, false, true, true),
  (false, false, true, false, false),
  (false, false, true, false, true),
  (false, false, true, true, false),
  (false, false, true, true, true),
  (false, true, false, false, false),
  (false, true, false, false, true),
  (false, true, false, true, false),
  (false, true, false, true, true),
  (false, true, true, false, false),
  (false, true, true, false, true),
  (false, true, true, true, false),
  (false, true, true, true, true),
  (true, false, false, false, false),
  (true, false, false, false, true),
  (true, false, false, true, false),
  (true, false, false, true, true),
  (true, false, true, false, false),
  (true, false, true, false, true),
  (true, false, true, true, false),
  (true, false, true, true, true),
  (true, true, false, false, false),
  (true, true, false, false, true),
  (true, true, false, true, false),
  (true, true, false, true, true),
  (true, true, true, false, false),
  (true, true, true, false, true),
  (true, true, true, true, false),
  (true, true, true, true, true)]

def code (β : CL) : Bool × Bool × Bool × Bool × Bool :=
  match codes.find? (fun e => beqCL (applyL1 (build e) β) (zc P48622)) with
  | some e => e
  | none => (false, false, false, false, false)

def comb (β : CL) : List TP := build (code β)

theorem clr_chk : allCL 4 (fun β => beqCL (applyL1 (comb β) β) (zc P48622)) = true := rfl

theorem hclr48622 (β β' : CL) (w : WF P48622 β) (_ : WF P48622 β') : (applyL (comb β) β β').1 = zc P48622 := by
  rw [fst_applyL]
  exact beqCL_eq _ _ (allCL_app P48622 _ clr_chk β w)

theorem not_mem_nil (t : TP) (h : t ∈ ([] : List TP)) : False := nomatch h

theorem build_ok (e : Bool × Bool × Bool × Bool × Bool) : ∀ t, t ∈ build e → TPok n48622 P48622 inV48622 t := by
  intro t ht
  cases mem_c1 tp1 t _ e.1 ht with
  | inl h => rw [h]; exact ok1
  | inr ht =>
    cases mem_c1 tp2 t _ e.2.1 ht with
    | inl h => rw [h]; exact ok2
    | inr ht =>
      cases mem_c1 tp3 t _ e.2.2.1 ht with
      | inl h => rw [h]; exact ok3
      | inr ht =>
        cases mem_c1 tp4 t _ e.2.2.2.1 ht with
        | inl h => rw [h]; exact ok4
        | inr ht =>
          cases mem_c1 tp5 t _ e.2.2.2.2 ht with
          | inl h => rw [h]; exact ok5
          | inr ht => exact (not_mem_nil t ht).elim

theorem comb_ok (β : CL) : ∀ t, t ∈ comb β → TPok n48622 P48622 inV48622 t := build_ok (code β)

end Clear48622

#print axioms Clear48622.beqL_eq
#print axioms Clear48622.beqCL_eq
#print axioms Clear48622.fst_applyL
#print axioms Clear48622.clr_chk
#print axioms Clear48622.hclr48622
#print axioms Clear48622.mem_c1
#print axioms Clear48622.not_mem_nil
#print axioms Clear48622.build_ok
#print axioms Clear48622.comb_ok

bsd/ClsInt.lean

lean_all/bsd/ClsInt.lean

/-
  bsd/ClsInt.lean — T39 (goal G289e-6c): the descent class of an integral point of E_n (n = 42486) is supported on
  {−1, 2, 3, 73, 97}.  For X, Z with u·X + v·Z = 1 and Y² = X·(X − nZ²)(X + nZ²):
    cls_X     X = cls(s, a, b, c, d)·U²           (g = gcd(X, (X − nZ²)(X + nZ²)) divides n²)
    cls_Xm    X − nZ² = cls(s, a, b, c, d)·U²     (g divides 2n², since X(X + nZ²) ≡ 2n²Z⁴ mod X − nZ²)
  Lean 4 core plus bsd/SqRes (sq_split, PM), bsd/DivBits (split_p1, split_p2, primes), bsd/SqClass (cls), bsd/Cover5None,
  bsd/Cover7None (prime97, prime73), lib/Gcd (gauss).
-/
import bsd.DivBits
import bsd.SqClass
import bsd.Cover5None
import bsd.Cover7None

namespace ClsInt
open LibGcd LibInt SqRes DivBits

theorem fbm1 : SqClass.fb (-1) false = 1 := rfl
theorem fb2 : ∀ b, SqClass.fb 2 b = Int.ofNat (fbN 2 b) | true => rfl | false => rfl
theorem fb3 : ∀ b, SqClass.fb 3 b = Int.ofNat (fbN 3 b) | true => rfl | false => rfl
theorem fb73 : ∀ b, SqClass.fb 73 b = Int.ofNat (fbN 73 b) | true => rfl | false => rfl
theorem fb97 : ∀ b, SqClass.fb 97 b = Int.ofNat (fbN 97 b) | true => rfl | false => rfl

/-- a natural divisor of 2²·3²·73²·97² is a class times a square -/
theorem bits_n2 (g : Nat) (h : g ∣ 2 * (2 * (3 * (3 * (73 * (73 * (97 * (97 * 1)))))))) :
    ∃ a b c d : Bool, ∃ M : Int, Int.ofNat g = SqClass.cls false a b c d * (M * M) := by
  obtain ⟨a, g1, m1, e1, h1⟩ := split_p2 prime2 (Nat.succ_pos 1) h
  obtain ⟨b, g2, m2, e2, h2⟩ := split_p2 prime3 (Nat.succ_pos 2) h1
  obtain ⟨c, g3, m3, e3, h3⟩ := split_p2 Cover7None.prime73 (Nat.succ_pos 72) h2
  obtain ⟨d, g4, m4, e4, h4⟩ := split_p2 Cover5None.prime97 (Nat.succ_pos 96) h3
  have g41 : g4 = 1 := dvd_one' h4
  refine ⟨a, b, c, d, Int.ofNat (m1 * m2 * m3 * m4), ?_⟩
  rw [e1, e2, e3, e4, g41]
  unfold SqClass.cls
  rw [fbm1, fb2, fb3, fb73, fb97]
  lib_int

theorem key_mul (A B C D E F G H M : Int) (h : A * B = C * (D * D)) :
    A * (E * B * F * G * H * (M * M)) = E * C * F * G * H * ((M * D) * (M * D)) := by
  calc A * (E * B * F * G * H * (M * M)) = (A * B) * (E * F * G * H * (M * M)) := by lib_int
    _ = C * (D * D) * (E * F * G * H * (M * M)) := by rw [h]
    _ = E * C * F * G * H * ((M * D) * (M * D)) := by lib_int

/-- a natural divisor of 2³·3²·73²·97² is a class times a square -/
theorem bits_2n2 (g : Nat) (h : g ∣ 2 * (2 * (2 * (3 * (3 * (73 * (73 * (97 * (97 * 1))))))))) :
    ∃ a b c d : Bool, ∃ M : Int, Int.ofNat g = SqClass.cls false a b c d * (M * M) := by
  obtain ⟨a0, g0, e0, h0⟩ := split_p1 prime2 (Nat.succ_pos 1) h
  obtain ⟨a, b, c, d, M, hm⟩ := bits_n2 g0 h0
  refine ⟨xor a0 a, b, c, d, M * SqClass.fb 2 (a0 && a), ?_⟩
  rw [e0]
  have e5 : Int.ofNat (fbN 2 a0 * g0) = SqClass.fb 2 a0 * Int.ofNat g0 := by rw [fb2]; lib_int
  rw [e5, hm]
  unfold SqClass.cls
  exact key_mul _ _ _ _ _ _ _ _ _ (SqClass.fb_mul 2 a0 a)

/-- coprimality with Z from u·X + v·Z = 1 -/
theorem cop_Z {X Z u v G : Int} {g zn : Nat} (huv : u * X + v * Z = 1) (hg : IDv (Int.ofNat g) G)
    (hGX : ∀ d : Int, IDv d G → IDv d Z → IDv d X) (hz : PM Z zn) : ∀ d, d ∣ g → d ∣ zn → d = 1 := by
  intro d hdg hdz
  have h1 : IDv (Int.ofNat d) G := by
    obtain ⟨k, hk⟩ := hdg; obtain ⟨c, hc⟩ := hg
    exact ⟨Int.ofNat k * c, by rw [hc, hk]; lib_int⟩
  have h2 : IDv (Int.ofNat d) Z := pm_dvd hz hdz
  have h3 := hGX _ h1 h2
  have h4 := idv_lin h3 h2 u v
  rw [huv] at h4
  exact dvd_one' (idv_nat h4)

/-- g ∣ N·z⁴ with g, z coprime ⇒ g ∣ N -/
theorem dvd_of_z4 {g N zn : Nat} (hc : ∀ d, d ∣ g → d ∣ zn → d = 1) (h : g ∣ N * zn * zn * zn * zn) : g ∣ N :=
  gauss hc (gauss hc (gauss hc (gauss hc h)))

theorem cls_neg (a b c d : Bool) : SqClass.cls true a b c d = -SqClass.cls false a b c d := by
  unfold SqClass.cls
  show (-1 : Int) * SqClass.fb 2 a * SqClass.fb 3 b * SqClass.fb 73 c * SqClass.fb 97 d
    = -(1 * SqClass.fb 2 a * SqClass.fb 3 b * SqClass.fb 73 c * SqClass.fb 97 d)
  lib_int

/-- from A = ±g·u² and g = cls·M²: A = cls′·U² -/
theorem cls_of_pm {A : Int} {g u : Nat} {a b c d : Bool} {M : Int} (hA : PM A (g * (u * u)))
    (hg : Int.ofNat g = SqClass.cls false a b c d * (M * M)) :
    ∃ s : Bool, ∃ U : Int, A = SqClass.cls s a b c d * (U * U) := by
  cases hA with
  | inl e =>
    refine ⟨false, M * Int.ofNat u, ?_⟩
    rw [e, show Int.ofNat (g * (u * u)) = Int.ofNat g * (Int.ofNat u * Int.ofNat u) by lib_int, hg]; lib_int
  | inr e =>
    refine ⟨true, M * Int.ofNat u, ?_⟩
    rw [e, show Int.ofNat (g * (u * u)) = Int.ofNat g * (Int.ofNat u * Int.ofNat u) by lib_int, hg, cls_neg]; lib_int

theorem z4_nat {Z : Int} {zn : Nat} (hz : PM Z zn) (N : Nat) :
    Int.ofNat N * (Z * Z * Z * Z) = Int.ofNat (N * zn * zn * zn * zn) := by
  have e := pm_sq hz
  calc Int.ofNat N * (Z * Z * Z * Z) = Int.ofNat N * ((Z * Z) * (Z * Z)) := by lib_int
    _ = Int.ofNat N * (Int.ofNat (zn * zn) * Int.ofNat (zn * zn)) := by rw [e]
    _ = Int.ofNat (N * zn * zn * zn * zn) := by lib_int

/-! ## Generic identities (symbolic n) -/

theorem gid1 (n X Z : Int) :
    X * X + -1 * ((X - n * (Z * Z)) * (X + n * (Z * Z))) = n * n * (Z * Z * Z * Z) := by lib_int

theorem gid2 (n X Z : Int) :
    1 * (X * (X + n * (Z * Z))) + -(X + 2 * n * (Z * Z)) * (X - n * (Z * Z)) = 2 * n * n * (Z * Z * Z * Z) := by lib_int

theorem gid3 (n X Z : Int) : 1 * (X - n * (Z * Z)) + n * Z * Z = X := by lib_int

theorem gid4 (n X Z Y : Int) (h : Y * Y = X * ((X - n * (Z * Z)) * (X + n * (Z * Z)))) :
    (X - n * (Z * Z)) * (X * (X + n * (Z * Z))) = Y * Y := by rw [h]; lib_int

/-- **The class of X.** -/
theorem cls_X (X Z Y u v : Int) (huv : u * X + v * Z = 1)
    (h : Y * Y = X * ((X - 42486 * (Z * Z)) * (X + 42486 * (Z * Z)))) :
    ∃ s a b c d : Bool, ∃ U : Int, X = SqClass.cls s a b c d * (U * U) := by
  obtain ⟨xa, hx⟩ := pm_exists X
  obtain ⟨bb, hb⟩ := pm_exists ((X - 42486 * (Z * Z)) * (X + 42486 * (Z * Z)))
  obtain ⟨yn, hy⟩ := pm_exists Y
  obtain ⟨zn, hz⟩ := pm_exists Z
  obtain ⟨g, u1, w1, hag, hbg⟩ := sq_split xa bb yn (pm_nat_sq hx hb hy h.symm)
  have hgX : IDv (Int.ofNat g) X := pm_dvd hx ⟨u1 * u1, hag⟩
  have hgB : IDv (Int.ofNat g) ((X - 42486 * (Z * Z)) * (X + 42486 * (Z * Z))) := pm_dvd hb ⟨w1 * w1, hbg⟩
  have hgN := idv_lin hgX hgB X (-1)
  rw [gid1, show (42486 * 42486 : Int) = Int.ofNat (42486 * 42486) from rfl, z4_nat hz] at hgN
  have hcop := cop_Z huv hgX (fun _ h1 _ => h1) hz
  have hg0 := dvd_of_z4 hcop (idv_nat hgN)
  have hg : g ∣ 2 * (2 * (3 * (3 * (73 * (73 * (97 * (97 * 1))))))) := hg0
  obtain ⟨a, b, c, d, M, hM⟩ := bits_n2 g hg
  rw [hag] at hx
  obtain ⟨s, U, hU⟩ := cls_of_pm hx hM
  exact ⟨s, a, b, c, d, U, hU⟩

/-- **The class of X − nZ².** -/
theorem cls_Xm (X Z Y u v : Int) (huv : u * X + v * Z = 1)
    (h : Y * Y = X * ((X - 42486 * (Z * Z)) * (X + 42486 * (Z * Z)))) :
    ∃ s a b c d : Bool, ∃ U : Int, X - 42486 * (Z * Z) = SqClass.cls s a b c d * (U * U) := by
  obtain ⟨xa, hx⟩ := pm_exists (X - 42486 * (Z * Z))
  obtain ⟨bb, hb⟩ := pm_exists (X * (X + 42486 * (Z * Z)))
  obtain ⟨yn, hy⟩ := pm_exists Y
  obtain ⟨zn, hz⟩ := pm_exists Z
  have hAB : (X - 42486 * (Z * Z)) * (X * (X + 42486 * (Z * Z))) = Y * Y := gid4 42486 X Z Y h
  obtain ⟨g, u1, w1, hag, hbg⟩ := sq_split xa bb yn (pm_nat_sq hx hb hy hAB)
  have hgA : IDv (Int.ofNat g) (X - 42486 * (Z * Z)) := pm_dvd hx ⟨u1 * u1, hag⟩
  have hgB : IDv (Int.ofNat g) (X * (X + 42486 * (Z * Z))) := pm_dvd hb ⟨w1 * w1, hbg⟩
  have hgN := idv_lin hgB hgA 1 (-(X + 2 * 42486 * (Z * Z)))
  rw [gid2, show (2 * 42486 * 42486 : Int) = Int.ofNat (2 * 42486 * 42486) from rfl, z4_nat hz] at hgN
  have hGX : ∀ d : Int, IDv d (X - 42486 * (Z * Z)) → IDv d Z → IDv d X := fun d h1 h2 => by
    have h3 := idv_lin h1 h2 1 (42486 * Z)
    rw [gid3] at h3
    exact h3
  have hcop := cop_Z huv hgA hGX hz
  have hg0 := dvd_of_z4 hcop (idv_nat hgN)
  have hg : g ∣ 2 * (2 * (2 * (3 * (3 * (73 * (73 * (97 * (97 * 1)))))))) := hg0
  obtain ⟨a, b, c, d, M, hM⟩ := bits_2n2 g hg
  rw [hag] at hx
  obtain ⟨s, U, hU⟩ := cls_of_pm hx hM
  exact ⟨s, a, b, c, d, U, hU⟩

end ClsInt

#print axioms ClsInt.fbm1
#print axioms ClsInt.fb2
#print axioms ClsInt.fb3
#print axioms ClsInt.fb73
#print axioms ClsInt.fb97
#print axioms ClsInt.key_mul
#print axioms ClsInt.bits_n2
#print axioms ClsInt.bits_2n2
#print axioms ClsInt.cop_Z
#print axioms ClsInt.dvd_of_z4
#print axioms ClsInt.gid1
#print axioms ClsInt.gid2
#print axioms ClsInt.gid3
#print axioms ClsInt.gid4
#print axioms ClsInt.cls_neg
#print axioms ClsInt.cls_of_pm
#print axioms ClsInt.z4_nat
#print axioms ClsInt.cls_X
#print axioms ClsInt.cls_Xm

bsd/ClsIntL.lean

lean_all/bsd/ClsIntL.lean

/-
  bsd/ClsIntL.lean — T39 (goal G289f-4h-5b): the descent class of an integral point of E_n is supported on a prime
  list ps = 2 :: qs (bsd/ClsInt is the case n = 42486, ps = [2, 3, 73, 97]). For a natural N with N² ∣ ∏ p²
  (product over ps) and X, Z with u·X + v·Z = 1, Y² = X·(X − NZ²)(X + NZ²):
    primeOK, prime_of_ok   primality of p by a divisor table (rfl at each instance)
    okL, prodSq            every entry of ps is a positive prime; ∏_{p ∈ ps} p²
    bitsL                  g ∣ ∏ p²  ⇒  g = prodL ps bs · M²
    bits2L                 g ∣ 2·∏ p² (ps = 2 :: qs)  ⇒  g = prodL ps bs · M²
    cls_of_pmL             A = ±g·u², g = prodL ps bs · M²  ⇒  A = clsL s ps bs · U²
    cls_XL, cls_XmL        X = clsL s ps bs · U²  and  X − NZ² = clsL s′ ps bs′ · V²
  Lean 4 core plus bsd/ClsInt, bsd/SqUniqueL.
-/
import bsd.ClsInt
import bsd.SqUniqueL

namespace ClsIntL
open LibGcd LibInt SqRes Res97b DivBits SqUniqueL ClsInt

def primeOK (p : Nat) : Bool := allBelow (fun k => imp (Nat.beq (p % k) 0) (Nat.beq k 1 || Nat.beq k p)) (p + 1)

theorem prime_of_ok {p : Nat} (hp0 : 0 < p) (h : primeOK p = true) : ∀ d, d ∣ p → d = 1 ∨ d = p := fun d hd => by
  have h' : (Nat.beq d 1 || Nat.beq d p) = true := dvd_tab p hp0 (fun k => Nat.beq k 1 || Nat.beq k p) h d hd
  cases SqRes.or_cases h' with
  | inl h1 => exact Or.inl (LibMod.beq_true h1)
  | inr h2 => exact Or.inr (LibMod.beq_true h2)

def okL : List Nat → Bool
  | [] => true
  | 0 :: _ => false
  | (p + 1) :: ps => primeOK (p + 1) && okL ps

def prodSq : List Nat → Nat
  | [] => 1
  | p :: ps => p * (p * prodSq ps)

theorem fb_nat (p : Nat) : ∀ b : Bool, SqClass.fb (Int.ofNat p) b = Int.ofNat (fbN p b)
  | true => rfl
  | false => rfl

theorem dvd_trans' {a b c : Nat} (h1 : a ∣ b) (h2 : b ∣ c) : a ∣ c := by
  obtain ⟨k1, e1⟩ := h1
  obtain ⟨k2, e2⟩ := h2
  exact ⟨k1 * k2, by rw [e2, e1]; lib_nat⟩

/-- a natural divisor of ∏ p² is a class times a square -/
theorem bitsL : ∀ (ps : List Nat), okL ps = true → ∀ g : Nat, g ∣ prodSq ps →
    ∃ bs : List Bool, bs.length = ps.length ∧ ∃ M : Int, Int.ofNat g = prodL ps bs * (M * M)
  | [], _, g, h => ⟨[], rfl, 1, by rw [dvd_one' h]; show Int.ofNat 1 = 1 * (1 * 1); rfl⟩
  | 0 :: _, hk, _, _ => by
    have h : false = true := hk
    exact Bool.noConfusion h
  | (p + 1) :: ps, hk, g, h => by
    have hk1 : primeOK (p + 1) = true := and_l hk
    have hk2 : okL ps = true := and_r hk
    obtain ⟨a, g1, m, e, h1⟩ := split_p2 (prime_of_ok (Nat.succ_pos p) hk1) (Nat.succ_pos p) h
    obtain ⟨bs, hl, M, hM⟩ := bitsL ps hk2 g1 h1
    refine ⟨a :: bs, congrArg Nat.succ hl, M * Int.ofNat m, ?_⟩
    show Int.ofNat g = SqClass.fb (Int.ofNat (p + 1)) a * prodL ps bs * (M * Int.ofNat m * (M * Int.ofNat m))
    rw [e, fb_nat]
    calc Int.ofNat (fbN (p + 1) a * g1 * (m * m))
        = Int.ofNat (fbN (p + 1) a) * Int.ofNat g1 * (Int.ofNat m * Int.ofNat m) := by lib_int
      _ = Int.ofNat (fbN (p + 1) a) * (prodL ps bs * (M * M)) * (Int.ofNat m * Int.ofNat m) := by rw [hM]
      _ = Int.ofNat (fbN (p + 1) a) * prodL ps bs * (M * Int.ofNat m * (M * Int.ofNat m)) := by lib_int

/-- a natural divisor of 2·∏ p² (2 first in the list) is a class times a square -/
theorem bits2L (qs : List Nat) (hk : okL (2 :: qs) = true) (g : Nat) (h : g ∣ 2 * prodSq (2 :: qs)) :
    ∃ bs : List Bool, bs.length = (2 :: qs).length ∧ ∃ M : Int, Int.ofNat g = prodL (2 :: qs) bs * (M * M) := by
  obtain ⟨a0, g0, e0, h0⟩ := split_p1 prime2 (Nat.succ_pos 1) h
  obtain ⟨bs, hl, M, hM⟩ := bitsL (2 :: qs) hk g0 h0
  cases bs with
  | nil => exact absurd hl (fun e => Nat.noConfusion e)
  | cons b bs' =>
    refine ⟨xor a0 b :: bs', hl, M * SqClass.fb 2 (a0 && b), ?_⟩
    rw [e0]
    have e5 : Int.ofNat (fbN 2 a0 * g0) = SqClass.fb 2 a0 * Int.ofNat g0 := by rw [fb2]; lib_int
    rw [e5, hM]
    show SqClass.fb 2 a0 * (SqClass.fb 2 b * prodL qs bs' * (M * M))
      = SqClass.fb 2 (xor a0 b) * prodL qs bs' * (M * SqClass.fb 2 (a0 && b) * (M * SqClass.fb 2 (a0 && b)))
    have f := SqClass.fb_mul 2 a0 b
    calc SqClass.fb 2 a0 * (SqClass.fb 2 b * prodL qs bs' * (M * M))
        = (SqClass.fb 2 a0 * SqClass.fb 2 b) * prodL qs bs' * (M * M) := by lib_int
      _ = SqClass.fb 2 (xor a0 b) * (SqClass.fb 2 (a0 && b) * SqClass.fb 2 (a0 && b)) * prodL qs bs' * (M * M) := by
          rw [f]
      _ = SqClass.fb 2 (xor a0 b) * prodL qs bs' * (M * SqClass.fb 2 (a0 && b) * (M * SqClass.fb 2 (a0 && b))) := by
          lib_int

/-- from A = ±g·u² and g = prodL·M²: A = clsL·U² -/
theorem cls_of_pmL {A : Int} {g u : Nat} (ps : List Nat) (bs : List Bool) {M : Int} (hA : PM A (g * (u * u)))
    (hg : Int.ofNat g = prodL ps bs * (M * M)) :
    ∃ s : Bool, ∃ U : Int, A = clsL s ps bs * (U * U) := by
  cases hA with
  | inl e =>
    refine ⟨false, M * Int.ofNat u, ?_⟩
    rw [e, show Int.ofNat (g * (u * u)) = Int.ofNat g * (Int.ofNat u * Int.ofNat u) by lib_int, hg]
    show prodL ps bs * (M * M) * (Int.ofNat u * Int.ofNat u) = 1 * prodL ps bs * (M * Int.ofNat u * (M * Int.ofNat u))
    lib_int
  | inr e =>
    refine ⟨true, M * Int.ofNat u, ?_⟩
    rw [e, show Int.ofNat (g * (u * u)) = Int.ofNat g * (Int.ofNat u * Int.ofNat u) by lib_int, hg]
    show -(prodL ps bs * (M * M) * (Int.ofNat u * Int.ofNat u)) = -1 * prodL ps bs * (M * Int.ofNat u * (M * Int.ofNat u))
    lib_int

theorem nn_eq (N : Nat) (Z : Int) :
    Int.ofNat N * Int.ofNat N * (Z * Z * Z * Z) = Int.ofNat (N * N) * (Z * Z * Z * Z) := by lib_int

theorem nn2_eq (N : Nat) (Z : Int) :
    2 * Int.ofNat N * Int.ofNat N * (Z * Z * Z * Z) = Int.ofNat (2 * (N * N)) * (Z * Z * Z * Z) := by lib_int

/-- **The class of X, prime-list version.** -/
theorem cls_XL (ps : List Nat) (hk : okL ps = true) (N : Nat) (hN : N * N ∣ prodSq ps) (X Z Y u v : Int)
    (huv : u * X + v * Z = 1)
    (h : Y * Y = X * ((X - Int.ofNat N * (Z * Z)) * (X + Int.ofNat N * (Z * Z)))) :
    ∃ s : Bool, ∃ bs : List Bool, bs.length = ps.length ∧ ∃ U : Int, X = clsL s ps bs * (U * U) := by
  obtain ⟨xa, hx⟩ := pm_exists X
  obtain ⟨bb, hb⟩ := pm_exists ((X - Int.ofNat N * (Z * Z)) * (X + Int.ofNat N * (Z * Z)))
  obtain ⟨yn, hy⟩ := pm_exists Y
  obtain ⟨zn, hz⟩ := pm_exists Z
  obtain ⟨g, u1, w1, hag, hbg⟩ := sq_split xa bb yn (pm_nat_sq hx hb hy h.symm)
  have hgX : IDv (Int.ofNat g) X := pm_dvd hx ⟨u1 * u1, hag⟩
  have hgB : IDv (Int.ofNat g) ((X - Int.ofNat N * (Z * Z)) * (X + Int.ofNat N * (Z * Z))) := pm_dvd hb ⟨w1 * w1, hbg⟩
  have hgN := idv_lin hgX hgB X (-1)
  rw [gid1, nn_eq, z4_nat hz] at hgN
  have hcop := cop_Z huv hgX (fun _ h1 _ => h1) hz
  have hg0 := dvd_of_z4 hcop (idv_nat hgN)
  obtain ⟨bs, hl, M, hM⟩ := bitsL ps hk g (dvd_trans' hg0 hN)
  rw [hag] at hx
  obtain ⟨s, U, hU⟩ := cls_of_pmL ps bs hx hM
  exact ⟨s, bs, hl, U, hU⟩

/-- **The class of X − NZ², prime-list version (2 first).** -/
theorem cls_XmL (qs : List Nat) (hk : okL (2 :: qs) = true) (N : Nat) (hN : N * N ∣ prodSq (2 :: qs))
    (X Z Y u v : Int) (huv : u * X + v * Z = 1)
    (h : Y * Y = X * ((X - Int.ofNat N * (Z * Z)) * (X + Int.ofNat N * (Z * Z)))) :
    ∃ s : Bool, ∃ bs : List Bool, bs.length = (2 :: qs).length ∧ ∃ U : Int,
      X - Int.ofNat N * (Z * Z) = clsL s (2 :: qs) bs * (U * U) := by
  obtain ⟨xa, hx⟩ := pm_exists (X - Int.ofNat N * (Z * Z))
  obtain ⟨bb, hb⟩ := pm_exists (X * (X + Int.ofNat N * (Z * Z)))
  obtain ⟨yn, hy⟩ := pm_exists Y
  obtain ⟨zn, hz⟩ := pm_exists Z
  have hAB : (X - Int.ofNat N * (Z * Z)) * (X * (X + Int.ofNat N * (Z * Z))) = Y * Y := gid4 (Int.ofNat N) X Z Y h
  obtain ⟨g, u1, w1, hag, hbg⟩ := sq_split xa bb yn (pm_nat_sq hx hb hy hAB)
  have hgA : IDv (Int.ofNat g) (X - Int.ofNat N * (Z * Z)) := pm_dvd hx ⟨u1 * u1, hag⟩
  have hgB : IDv (Int.ofNat g) (X * (X + Int.ofNat N * (Z * Z))) := pm_dvd hb ⟨w1 * w1, hbg⟩
  have hgN := idv_lin hgB hgA 1 (-(X + 2 * Int.ofNat N * (Z * Z)))
  rw [gid2, nn2_eq, z4_nat hz] at hgN
  have hGX : ∀ d : Int, IDv d (X - Int.ofNat N * (Z * Z)) → IDv d Z → IDv d X := fun d h1 h2 => by
    have h3 := idv_lin h1 h2 1 (Int.ofNat N * Z)
    rw [gid3] at h3
    exact h3
  have hcop := cop_Z huv hgA hGX hz
  have hg0 := dvd_of_z4 hcop (idv_nat hgN)
  have hN2 : 2 * (N * N) ∣ 2 * prodSq (2 :: qs) := by
    obtain ⟨k, hk'⟩ := hN
    exact ⟨k, by rw [hk']; lib_nat⟩
  obtain ⟨bs, hl, M, hM⟩ := bits2L qs hk g (dvd_trans' hg0 hN2)
  rw [hag] at hx
  obtain ⟨s, U, hU⟩ := cls_of_pmL (2 :: qs) bs hx hM
  exact ⟨s, bs, hl, U, hU⟩

end ClsIntL

#print axioms ClsIntL.prime_of_ok
#print axioms ClsIntL.fb_nat
#print axioms ClsIntL.dvd_trans'
#print axioms ClsIntL.bitsL
#print axioms ClsIntL.bits2L
#print axioms ClsIntL.cls_of_pmL
#print axioms ClsIntL.nn_eq
#print axioms ClsIntL.nn2_eq
#print axioms ClsIntL.cls_XL
#print axioms ClsIntL.cls_XmL

bsd/Congruent2p.lean

lean_all/bsd/Congruent2p.lean

/-
  bsd/Congruent2p.lean — T39 cycle 24: the second congruent family n = 2p, p ≡ 5 (mod 8):
  the classes d = 2 and d = 2p of the descent on E' : y² = x³ + 16p²x.

  Lean 4 core plus bsd/CongruentFamily (sum1 lemmas, nonres machinery), bsd/Mod16.

    mu_two5      μ(h, 2) = 2j + 1 for h = 4j + 2 (Gauss's count)
    two_nonres5  2 is not a square mod p = 8j + 5
    desc2_5      d = 2 :  N² = 2M⁴ + 8p²e⁴  ⇒ p ∣ M and p ∣ e
    tbl_2p       mod 16: 2z⁴ + 8w⁴ ≠ u v² (u ≡ 5, 13) unless z, w are both even
    desc2p_5     d = 2p:  N² = 2p M⁴ + 8p e⁴ ⇒ M and e are both even (no primitive solution)
  (d = p: next cycle, with Mod16.case_odd / case_reduced after the divisions; E-side classes after.)
-/
import bsd.CongruentFamily
import bsd.Mod16

namespace Congruent2p
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent CongruentFamily

theorem mu_two5 (j : Nat) : mu ((j + j + 1) + (j + j + 1)) 2 = j + j + 1 := by
  unfold mu
  rw [sum1_split]
  have low : sum1 (j + j + 1) (lk ((j + j + 1) + (j + j + 1)) 2) = 0 := by
    apply sum1_zero
    intro k hk hkn
    unfold lk rk
    apply ite_eq_left
    rw [rem_of_lt]
    · show 2 * k ≤ (j + j + 1) + (j + j + 1)
      rw [Nat.two_mul]
      exact Nat.add_le_add hkn hkn
    · show 2 * k < (j + j + 1) + (j + j + 1) + ((j + j + 1) + (j + j + 1)) + 1
      rw [Nat.two_mul]
      exact Nat.lt_succ_of_le (Nat.le_trans (Nat.add_le_add hkn hkn) (Nat.le_add_right _ _))
  have high : sum1 (j + j + 1) (fun k => lk ((j + j + 1) + (j + j + 1)) 2 ((j + j + 1) + k)) = j + j + 1 := by
    apply sum1_one
    intro k hk hkn
    unfold lk rk
    apply ite_eq_right
    intro hle
    rw [rem_of_lt] at hle
    · rw [Nat.two_mul] at hle
      have a2 : (j + j + 1) + (j + j + 1) < ((j + j + 1) + k) + ((j + j + 1) + k) :=
        Nat.lt_of_lt_of_le (Nat.add_lt_add_right (Nat.lt_add_of_pos_right hk) (j + j + 1))
          (Nat.add_le_add_left (Nat.le_add_right (j + j + 1) k) ((j + j + 1) + k))
      exact Nat.lt_irrefl _ (Nat.lt_of_lt_of_le a2 hle)
    · show 2 * ((j + j + 1) + k) < (j + j + 1) + (j + j + 1) + ((j + j + 1) + (j + j + 1)) + 1
      rw [Nat.two_mul]
      apply Nat.lt_succ_of_le
      apply Nat.add_le_add <;> exact Nat.add_le_add_left hkn _
  rw [low, high, Nat.zero_add]

/-- 2 is not a square mod p = 8j + 5. -/
theorem two_nonres5 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) :
    ¬ ∃ x, rem (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) (x * x)
        = rem (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) 2 := by
  intro hx
  have hnd : ¬ Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) 2 := fun hd =>
    not_dv_of_lt _ 2 (Nat.zero_lt_succ 1)
      (Nat.lt_succ_of_le (Nat.add_le_add (Nat.le_add_left 1 _) (Nat.le_add_left 1 _))) hd
  have g := (gauss_lemma ((j + j + 1) + (j + j + 1)) 2 hp hnd).mp hx
  rw [mu_two5, par_odd] at g
  exact Bool.noConfusion g

/-- **d = 2** (n = 2p, p = 8j + 5): N² = 2M⁴ + 8p²e⁴ forces p ∣ M and p ∣ e. -/
theorem desc2_5 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat)
    (eq : N * N = 2 * q4 M + 8 * ((((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) *
      (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) * q4 e) :
    Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) M ∧
      Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) e := by
  let h := (j + j + 1) + (j + j + 1)
  let P := h + h + 1
  have hP : 0 < P := Nat.zero_lt_succ _
  have hPP : 0 < P * P := Nat.mul_le_mul hP hP
  have dvPP : ∀ x, Dv P (x * (P * P)) := fun x => ⟨x * P, by rw [nmul_assoc]⟩
  have n2 : ¬ Dv P 2 := fun hd =>
    not_dv_of_lt _ 2 (Nat.zero_lt_succ 1)
      (Nat.lt_succ_of_le (Nat.add_le_add (Nat.le_add_left 1 _) (Nat.le_add_left 1 _))) hd
  have r1 : rem P (N * N) = rem P (2 * (M * M * (M * M))) := by
    rw [eq]
    apply rem_add_dv
    exact dv_mul_right _ _ (q4 e) (dv_mul_left 8 _ _ ⟨P, rfl⟩)
  have hM : Dv P M := dv_sq P M hp (nonres_dv h hp 2 N (M * M) (two_nonres5 j hp) r1)
  have hN : Dv P N := by
    apply dv_sq P N hp
    apply dv_of_rem_zero
    rw [r1]
    apply rem_zero_of_dv
    exact dv_mul_left _ _ _ (dv_mul_left _ _ _ (dv_mul_left _ _ _ hM))
  refine ⟨hM, ?_⟩
  cases hN with
  | intro c hc =>
    cases hM with
    | intro b hb =>
      have e1 : (P * P) * (c * c) = (P * P) * (2 * (q4 b * (P * P)) + 8 * q4 e) := by
        have l : N * N = (P * P) * (c * c) := by rw [hc, mul4, nmul_comm]
        have m : q4 M = q4 b * ((P * P) * (P * P)) := by
          unfold q4; rw [hb, mul4 b P b P, mul4 (b * b) (P * P) (b * b) (P * P)]
        rw [← l, eq, m]
        generalize P * P = Q
        generalize q4 b = X
        generalize q4 e = Y
        rw [nleft_distrib Q]
        have t1 : Q * (2 * (X * Q)) = 2 * (X * (Q * Q)) := by
          rw [← nmul_assoc Q 2, nmul_comm Q 2, nmul_assoc 2, ← nmul_assoc Q X Q, nmul_comm Q X,
            nmul_assoc X]
        have t2 : Q * (8 * Y) = 8 * Q * Y := by rw [← nmul_assoc, nmul_comm Q 8]
        rw [t1, t2]
      have e2 := Nat.eq_of_mul_eq_mul_left hPP e1
      have e8 : 8 * q4 e = 2 * ((2 * (e * e)) * (2 * (e * e))) := by
        unfold q4; rw [mul4 2 (e * e) 2 (e * e), ← nmul_assoc 2 (2 * 2)]
      have r2 : rem P (c * c) = rem P (2 * ((2 * (e * e)) * (2 * (e * e)))) := by
        rw [e2, e8, nadd_comm]
        apply rem_add_dv
        exact dv_mul_left _ _ _ (dvPP _)
      have d2 := nonres_dv h hp 2 c (2 * (e * e)) (two_nonres5 j hp) r2
      cases euclid _ 2 (e * e) hp d2 with
      | inl a => exact absurd a n2
      | inr a => exact dv_sq P e hp a

open Mod16 in
set_option maxHeartbeats 0 in
theorem tbl_2p (z w u v : Z16) (hu : u = Z16.r5 ∨ u = Z16.r13) (hzw : odd16 z = true ∨ odd16 w = true) :
    (Z16.r2.mul (p4 z)).add (Z16.r8.mul (p4 w)) ≠ u.mul (v.mul v) := by
  cases hu with
  | inl h => subst h; cases hzw with
    | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
    | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
  | inr h => subst h; cases hzw with
    | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
    | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))

open Mod16 in
theorem r16_P (j : Nat) :
    r16 (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) = Z16.r5 ∨
    r16 (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) = Z16.r13 := by
  repeat rw [r16_add]
  cases r16 j <;> first | exact Or.inl rfl | exact Or.inr rfl

open Mod16 in
/-- **d = 2p** (n = 2p, p = 8j + 5): N² = 2p M⁴ + 8p e⁴ forces M and e both even. -/
theorem desc2p_5 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat)
    (eq : N * N = (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) * (2 * Mod16.q4 M + 8 * Mod16.q4 e)) :
    odd16 (r16 M) = false ∧ odd16 (r16 e) = false := by
  let P := ((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1
  have hN : Dv P N := dv_sq P N hp ⟨2 * Mod16.q4 M + 8 * Mod16.q4 e, by rw [eq, nmul_comm]⟩
  cases cancel_square P N _ (Nat.zero_lt_succ _) hN eq with
  | intro c hc =>
    have k := congrArg r16 hc
    rw [r16_mul P (c * c), r16_mul c c, r16_add (2 * Mod16.q4 M) (8 * Mod16.q4 e), r16_mul 2, r16_mul 8,
      r16_q4, r16_q4] at k
    have k' : (Z16.r2.mul (p4 (r16 M))).add (Z16.r8.mul (p4 (r16 e))) = (r16 P).mul ((r16 c).mul (r16 c)) := k.symm
    cases hM : odd16 (r16 M) with
    | true => exact absurd k' (tbl_2p _ _ _ _ (r16_P j) (Or.inl hM))
    | false =>
      cases he : odd16 (r16 e) with
      | true => exact absurd k' (tbl_2p _ _ _ _ (r16_P j) (Or.inr he))
      | false => exact ⟨rfl, rfl⟩

end Congruent2p

#print axioms Congruent2p.mu_two5
#print axioms Congruent2p.two_nonres5
#print axioms Congruent2p.desc2_5
#print axioms Congruent2p.tbl_2p
#print axioms Congruent2p.r16_P
#print axioms Congruent2p.desc2p_5

bsd/Congruent2pE.lean

lean_all/bsd/Congruent2pE.lean

/-
  bsd/Congruent2pE.lean — T39 cycle 30: the E-side classes d = ±2 of the descent for n = 2p,
  p ≡ 5 (mod 8), on E : y² = x³ − 4p²x.

  Lean 4 core plus bsd/Congruent2pP. With h = (p − 1)/2 = 2(2j + 1) and −2 represented by 2(p − 1):
    mul_pow'         (ab)ⁿ = aⁿbⁿ
    neg2_nonres5     −2 is not a square mod p = 8j + 5 ((2|p) = −1 and (−1|p) = +1, Euler)
    descE2           d = 2 :  N² + 2p²e⁴ = 2M⁴  ⇒ p ∣ M and p ∣ e
    descEm2          d = −2:  N² + 2M⁴ = 2p²e⁴  ⇒ p ∣ M and p ∣ e
-/
import bsd.Congruent2pP

namespace Congruent2pE
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent CongruentFamily Congruent2p

theorem mul_pow' (a b : Nat) : ∀ n, (a * b) ^ n = a ^ n * b ^ n
  | 0 => rfl
  | n + 1 => by
    show (a * b) ^ n * (a * b) = a ^ n * a * (b ^ n * b)
    rw [mul_pow' a b n, mul4]

/-- −2 ≡ 2(p − 1) is not a square mod p = 8j + 5. -/
theorem neg2_nonres5 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) :
    ¬ ∃ x, rem (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) (x * x)
        = rem (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)
            (2 * (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)))) := by
  intro hx
  let n := j + j + 1
  let h := n + n
  have n2 : ¬ Dv (h + h + 1) 2 := fun hd =>
    not_dv_of_lt _ 2 (Nat.zero_lt_succ 1)
      (Nat.lt_succ_of_le (Nat.add_le_add (Nat.le_add_left 1 _) (Nat.le_add_left 1 _))) hd
  have nhh : ¬ Dv (h + h + 1) (h + h) := fun hd => not_dv_of_lt _ _ (hh_pos h hp) (Nat.lt_succ_self _) hd
  have hnd : ¬ Dv (h + h + 1) (2 * (h + h)) := fun hd =>
    match euclid _ 2 (h + h) hp hd with
    | Or.inl a => n2 a
    | Or.inr a => nhh a
  cases hx with
  | intro x hx =>
  have e1 := euler_of_sq h _ x hp hnd hx
  -- rem(2^h) = p − 1 (2 is a non-residue), rem((p−1)^h) = 1 (h even)
  have t2 : rem (h + h + 1) (2 ^ h) = h + h := by
    cases euler_pm h 2 hp n2 with
    | inl e => exact absurd ((euler_iff h 2 hp n2).mp e) (two_nonres5 j hp)
    | inr e => exact e
  have tm : rem (h + h + 1) ((h + h) ^ h) = 1 := neg_pow_even h n hp
  rw [mul_pow', rem_mul_congr2 (h + h) _ _ _ _ (t2.trans (rem_of_lt _ _ (Nat.lt_succ_self _)).symm)
    (tm.trans (rem_one _ (hh_pos h hp)).symm), Nat.mul_one, rem_of_lt _ _ (Nat.lt_succ_self _)] at e1
  exact par_one_ne h e1

theorem dv_PP (P x : Nat) : Dv P (x * (P * P)) := ⟨x * P, by rw [nmul_assoc]⟩

theorem q4_mulP (b P : Nat) : q4 (b * P) = q4 b * ((P * P) * (P * P)) := by
  unfold q4; rw [mul4 b P b P, mul4 (b * b) (P * P) (b * b) (P * P)]

/-- **E-side d = 2** (n = 2p, p = 8j + 5): N² + 2p²e⁴ = 2M⁴ forces p ∣ M and p ∣ e. -/
theorem descE2 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat)
    (eq : N * N + 2 * q4 e * ((((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) *
      (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) = 2 * q4 M) :
    Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) M ∧
      Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) e := by
  let h := (j + j + 1) + (j + j + 1)
  let P := h + h + 1
  have hPP : 0 < P * P := Nat.mul_le_mul (Nat.zero_lt_succ _) (Nat.zero_lt_succ _)
  have r1 : rem P (N * N) = rem P (2 * (M * M * (M * M))) := by
    rw [← rem_add_dv (h + h) (N * N) _ (dv_PP P (2 * q4 e)), eq]; rfl
  have hM : Dv P M := dv_sq P M hp (nonres_dv h hp 2 N (M * M) (two_nonres5 j hp) r1)
  have hN : Dv P N := by
    apply dv_sq P N hp
    apply dv_of_rem_zero
    rw [r1]
    apply rem_zero_of_dv
    exact dv_mul_left _ _ _ (dv_mul_left _ _ _ (dv_mul_left _ _ _ hM))
  refine ⟨hM, ?_⟩
  cases hN with
  | intro c hc =>
    cases hM with
    | intro b hb =>
      -- P²c² + 2e⁴P² = 2b⁴P⁴  ⇒  c² + 2e⁴ = 2b⁴P²
      have e1 : (P * P) * (c * c + 2 * q4 e) = (P * P) * (2 * (q4 b * (P * P))) := by
        have l : N * N = (P * P) * (c * c) := by rw [hc, mul4, nmul_comm]
        rw [nleft_distrib, ← l, nmul_comm (P * P) (2 * q4 e), eq, hb, q4_mulP]
        generalize P * P = Q
        generalize q4 b = X
        rw [← nmul_assoc Q 2, nmul_comm Q 2, nmul_assoc 2, ← nmul_assoc Q X Q, nmul_comm Q X, nmul_assoc X]
      have e2 := Nat.eq_of_mul_eq_mul_left hPP e1
      have z : rem P (c * c + 2 * q4 e) = 0 := by
        rw [e2]; exact rem_zero_of_dv _ _ (dv_mul_left _ _ _ (dv_PP P (q4 b)))
      have s1 := shift_neg h (c * c) (2 * q4 e) z
      have e3 : (h + h) * (2 * q4 e) = (2 * (h + h)) * ((e * e) * (e * e)) := by
        unfold q4; rw [← nmul_assoc, nmul_comm (h + h) 2]
      rw [e3] at s1
      exact dv_sq P e hp (nonres_dv h hp _ c (e * e) (neg2_nonres5 j hp) s1)

/-- **E-side d = −2** (n = 2p, p = 8j + 5): N² + 2M⁴ = 2p²e⁴ forces p ∣ M and p ∣ e. -/
theorem descEm2 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat)
    (eq : N * N + 2 * q4 M = 2 * q4 e * ((((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) *
      (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1))) :
    Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) M ∧
      Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) e := by
  let h := (j + j + 1) + (j + j + 1)
  let P := h + h + 1
  have hPP : 0 < P * P := Nat.mul_le_mul (Nat.zero_lt_succ _) (Nat.zero_lt_succ _)
  have z0 : rem P (N * N + 2 * q4 M) = 0 := by rw [eq]; exact rem_zero_of_dv _ _ (dv_PP P _)
  have s0 := shift_neg h (N * N) (2 * q4 M) z0
  have e3 : (h + h) * (2 * q4 M) = (2 * (h + h)) * ((M * M) * (M * M)) := by
    unfold q4; rw [← nmul_assoc, nmul_comm (h + h) 2]
  rw [e3] at s0
  have hM : Dv P M := dv_sq P M hp (nonres_dv h hp _ N (M * M) (neg2_nonres5 j hp) s0)
  have hN : Dv P N := by
    apply dv_sq P N hp
    apply dv_of_rem_zero
    rw [s0]
    apply rem_zero_of_dv
    exact dv_mul_left _ _ _ (dv_mul_left _ _ _ (dv_mul_left _ _ _ hM))
  refine ⟨hM, ?_⟩
  cases hN with
  | intro c hc =>
    cases hM with
    | intro b hb =>
      have e1 : (P * P) * (c * c + 2 * (q4 b * (P * P))) = (P * P) * (2 * q4 e) := by
        have l : N * N = (P * P) * (c * c) := by rw [hc, mul4, nmul_comm]
        rw [nleft_distrib, ← l, nmul_comm (P * P) (2 * q4 e), ← eq, hb, q4_mulP]
        congr 1
        generalize P * P = Q
        generalize q4 b = X
        rw [← nmul_assoc Q 2, nmul_comm Q 2, nmul_assoc 2, ← nmul_assoc Q X Q, nmul_comm Q X, nmul_assoc X]
      have e2 := Nat.eq_of_mul_eq_mul_left hPP e1
      have r2 : rem P (c * c) = rem P (2 * ((e * e) * (e * e))) := by
        rw [← rem_add_dv (h + h) (c * c) _ (dv_mul_left _ _ _ (dv_PP P (q4 b))), e2]; rfl
      exact dv_sq P e hp (nonres_dv h hp 2 c (e * e) (two_nonres5 j hp) r2)

end Congruent2pE

#print axioms Congruent2pE.mul_pow'
#print axioms Congruent2pE.neg2_nonres5
#print axioms Congruent2pE.dv_PP
#print axioms Congruent2pE.q4_mulP
#print axioms Congruent2pE.descE2
#print axioms Congruent2pE.descEm2

bsd/Congruent2pF.lean

lean_all/bsd/Congruent2pF.lean

/-
  bsd/Congruent2pF.lean — T39 cycle 32: the E-side classes ±p for n = 2p, p ≡ 5 (mod 8), and the family.

  Lean 4 core plus bsd/Congruent2pE.
    sq_dich      x² ≡ y² (mod p) ⇒ x ≡ y or x ≡ −y  (p ∣ (x + (p−1)y)(x + y))
    fourth_both  M⁴ ≡ 4e⁴ (mod p) ⇒ p ∣ M and p ∣ e   (both 2 and −2 are non-residues)
    descEp       d = p : N² + 4p e⁴ = p M⁴ ⇒ p ∣ M and p ∣ e
    descEmp      d = −p: N² + p M⁴ = 4p e⁴ ⇒ p ∣ M and p ∣ e
  With cycles 24, 27, 30: for n = 2p, p ≡ 5 (mod 8), every non-trivial class of both descent maps
  except those of the 2-torsion is excluded: #α(E) = 4 ({1, −1, 2p, −2p}), #α'(E') = 1, so with the
  cited exact sequence rank E_{2p}(Q) = log₂(4·1/4) = 0.
-/
import bsd.Congruent2pE

namespace Congruent2pF
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent CongruentFamily Congruent2p Congruent2pE

theorem nmid4 (a b c d : Nat) : a + b + (c + d) = a + c + (b + d) := by
  rw [nadd_assoc, ← nadd_assoc b, nadd_comm b c, nadd_assoc c, ← nadd_assoc a]

theorem expand (c x y : Nat) : (x + c * y) * (x + y) = (x * x + c * (y * y)) + x * y * (c + 1) := by
  rw [nright_distrib, nleft_distrib, nleft_distrib]
  have t1 : c * y * x = x * y * c := by rw [nmul_comm (c * y) x, ← nmul_assoc, nmul_comm (x * c) y,
    ← nmul_assoc, nmul_comm y x]
  have t2 : c * y * y = c * (y * y) := nmul_assoc c y y
  rw [t1, t2]
  show x * x + x * y + (x * y * c + c * (y * y)) = x * x + c * (y * y) + (x * y * c + x * y)
  rw [nadd_comm (x * y * c) (c * (y * y)), nmid4, nadd_comm (x * y) (x * y * c)]

/-- x² ≡ y² ⇒ p ∣ x + (p−1)y (x ≡ y) or p ∣ x + y (x ≡ −y). -/
theorem sq_dich (h : Nat) (hp : Pr (h + h + 1)) (x y : Nat)
    (e : rem (h + h + 1) (x * x) = rem (h + h + 1) (y * y)) :
    Dv (h + h + 1) (x + (h + h) * y) ∨ Dv (h + h + 1) (x + y) := by
  apply euclid _ _ _ hp
  apply dv_of_rem_zero
  rw [expand, rem_add_dv (h + h) _ _ (dv_mul_left _ _ _ (dv_refl _))]
  -- x² + (p−1)y² ≡ y² + (p−1)y² = p y² ≡ 0
  rw [rem_add_congr (h + h) _ _ _ e]
  have : y * y + (h + h) * (y * y) = (y * y) * (h + h + 1) + 0 := by
    rw [Nat.add_zero, nadd_comm, nmul_comm (y * y)]; exact (Nat.succ_mul _ _).symm
  rw [this, rem_add_mul]; rfl

/-- M⁴ ≡ 4e⁴ (mod p = 8j + 5) ⇒ p ∣ M and p ∣ e. -/
theorem fourth_both (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (M e : Nat)
    (r : rem (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) (q4 M)
      = rem (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) (4 * q4 e)) :
    Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) M ∧
      Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) e := by
  let h := (j + j + 1) + (j + j + 1)
  let P := h + h + 1
  have n2 : ¬ Dv P 2 := fun hd =>
    not_dv_of_lt _ 2 (Nat.zero_lt_succ 1)
      (Nat.lt_succ_of_le (Nat.add_le_add (Nat.le_add_left 1 _) (Nat.le_add_left 1 _))) hd
  have e4 : 4 * q4 e = (2 * (e * e)) * (2 * (e * e)) := by
    unfold q4; rw [mul4 2 (e * e) 2 (e * e)]
  rw [e4] at r
  have hE : Dv P e := by
    cases sq_dich h hp (M * M) (2 * (e * e)) r with
    | inl d =>
      -- M² ≡ 2e²
      have r2 : rem P (M * M) = rem P (2 * (e * e)) := by
        apply rem_cancel_add (h + h) _ _ ((h + h) * (2 * (e * e)))
        rw [rem_zero_of_dv _ _ d]
        have : 2 * (e * e) + (h + h) * (2 * (e * e)) = (2 * (e * e)) * (h + h + 1) + 0 := by
          rw [Nat.add_zero, nadd_comm, nmul_comm (2 * (e * e))]; exact (Nat.succ_mul _ _).symm
        rw [this, rem_add_mul]; rfl
      have d2 := nonres_dv h hp 2 M e (two_nonres5 j hp) r2
      exact d2
    | inr d =>
      -- M² ≡ −2e² = 2(p−1)e²
      have s1 := shift_neg h (M * M) (2 * (e * e)) (rem_zero_of_dv _ _ d)
      have e3 : (h + h) * (2 * (e * e)) = (2 * (h + h)) * (e * e) := by
        rw [← nmul_assoc, nmul_comm (h + h) 2]
      rw [e3] at s1
      exact nonres_dv h hp _ M e (neg2_nonres5 j hp) s1
  refine ⟨?_, hE⟩
  apply dv_q4 _ M hp
  apply dv_of_rem_zero
  unfold q4 at r ⊢
  rw [r]
  apply rem_zero_of_dv
  exact dv_mul_left _ _ _ (dv_mul_left _ _ _ (dv_mul_left _ _ _ hE))

/-- **E-side d = p**: N² + 4p e⁴ = p M⁴ ⇒ p ∣ M and p ∣ e. -/
theorem descEp (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat)
    (eq : N * N + (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) * (4 * q4 e)
      = (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) * q4 M) :
    Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) M ∧
      Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) e := by
  let h := (j + j + 1) + (j + j + 1)
  let P := h + h + 1
  have hP : 0 < P := Nat.zero_lt_succ _
  have dNN : Dv P (N * N) :=
    dv_sub (h + h) (P * (4 * q4 e)) (N * N) (dv_mul_right _ _ _ (dv_refl _))
      (by rw [nadd_comm (P * (4 * q4 e)) (N * N), eq]; exact dv_mul_right _ _ _ (dv_refl _))
  cases dv_sq P N hp dNN with
  | intro c hc =>
    have e1 : P * (P * (c * c) + 4 * q4 e) = P * q4 M := by
      rw [nleft_distrib, ← eq, hc, mul4 c P c P, ← nmul_assoc P P (c * c), nmul_comm (P * P) (c * c)]
    have e2 := Nat.eq_of_mul_eq_mul_left hP e1
    apply fourth_both j hp M e
    rw [← e2, nadd_comm (P * (c * c)) (4 * q4 e)]
    exact rem_add_dv (h + h) _ _ (dv_mul_right _ _ _ (dv_refl _))

/-- **E-side d = −p**: N² + p M⁴ = 4p e⁴ ⇒ p ∣ M and p ∣ e. -/
theorem descEmp (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat)
    (eq : N * N + (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) * q4 M
      = (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) * (4 * q4 e)) :
    Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) M ∧
      Dv (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) e := by
  let h := (j + j + 1) + (j + j + 1)
  let P := h + h + 1
  have hP : 0 < P := Nat.zero_lt_succ _
  have dNN : Dv P (N * N) :=
    dv_sub (h + h) (P * q4 M) (N * N) (dv_mul_right _ _ _ (dv_refl _))
      (by rw [nadd_comm (P * q4 M) (N * N), eq]; exact dv_mul_right _ _ _ (dv_refl _))
  cases dv_sq P N hp dNN with
  | intro c hc =>
    have e1 : P * (P * (c * c) + q4 M) = P * (4 * q4 e) := by
      rw [nleft_distrib, ← eq, hc, mul4 c P c P, ← nmul_assoc P P (c * c), nmul_comm (P * P) (c * c)]
    have e2 := Nat.eq_of_mul_eq_mul_left hP e1
    apply fourth_both j hp M e
    rw [← e2, nadd_comm (P * (c * c)) (q4 M)]
    exact (rem_add_dv (h + h) _ _ (dv_mul_right _ _ _ (dv_refl _))).symm

end Congruent2pF

#print axioms Congruent2pF.nmid4
#print axioms Congruent2pF.expand
#print axioms Congruent2pF.sq_dich
#print axioms Congruent2pF.fourth_both
#print axioms Congruent2pF.descEp
#print axioms Congruent2pF.descEmp

bsd/Congruent2pP.lean

lean_all/bsd/Congruent2pP.lean

/-
  bsd/Congruent2pP.lean — T39 cycle 27: the class d = p of the descent for n = 2p, p ≡ 5 (mod 8):
  N² = pM⁴ + 16p e⁴ forces M and e both even (no primitive solution).

  Lean 4 core plus bsd/Congruent2p and bsd/Mod16.
    val16, r16_spec        n = 16q + (residue of n), constructively
    even_of_r16            r16 M even ⇒ M = 2M'
    four_of_r16            r16 c ∈ {0, 4, 8, 12} ⇒ c = 4c'
    sq_unit_zero           u ∈ {5, 13}, u·v² ≡ 0 (mod 16) ⇒ v ∈ {0, 4, 8, 12}
    descP_5                the class d = p
-/
import bsd.Congruent2p

namespace Congruent2pP
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent Mod16
def val16 : Z16 → Nat
  | Z16.r0 => 0
  | Z16.r1 => 1
  | Z16.r2 => 2
  | Z16.r3 => 3
  | Z16.r4 => 4
  | Z16.r5 => 5
  | Z16.r6 => 6
  | Z16.r7 => 7
  | Z16.r8 => 8
  | Z16.r9 => 9
  | Z16.r10 => 10
  | Z16.r11 => 11
  | Z16.r12 => 12
  | Z16.r13 => 13
  | Z16.r14 => 14
  | Z16.r15 => 15

theorem r16_spec : ∀ n, ∃ q, n = 16 * q + val16 (r16 n)
  | 0 => ⟨0, rfl⟩
  | n + 1 => by
    cases r16_spec n with
    | intro q hq =>
      show ∃ q', n + 1 = 16 * q' + val16 ((r16 n).add Z16.r1)
      revert hq
      cases r16 n with
      | r0 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r1 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r2 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r3 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r4 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r5 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r6 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r7 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r8 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r9 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r10 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r11 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r12 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r13 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r14 => intro hq; exact ⟨q, by rw [hq]; rfl⟩
      | r15 => intro hq; exact ⟨q + 1, by rw [hq]; rfl⟩

theorem even_of_r16 (M : Nat) (h : odd16 (r16 M) = false) : ∃ M', M = 2 * M' := by
  cases r16_spec M with
  | intro q hq =>
    revert h hq
    cases r16 M with
    | r0 => intro h hq; exact ⟨8 * q + 0, by rw [hq]; show 16 * q + 0 = 2 * (8 * q + 0); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r1 => intro h hq; exact Bool.noConfusion h
    | r2 => intro h hq; exact ⟨8 * q + 1, by rw [hq]; show 16 * q + 2 = 2 * (8 * q + 1); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r3 => intro h hq; exact Bool.noConfusion h
    | r4 => intro h hq; exact ⟨8 * q + 2, by rw [hq]; show 16 * q + 4 = 2 * (8 * q + 2); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r5 => intro h hq; exact Bool.noConfusion h
    | r6 => intro h hq; exact ⟨8 * q + 3, by rw [hq]; show 16 * q + 6 = 2 * (8 * q + 3); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r7 => intro h hq; exact Bool.noConfusion h
    | r8 => intro h hq; exact ⟨8 * q + 4, by rw [hq]; show 16 * q + 8 = 2 * (8 * q + 4); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r9 => intro h hq; exact Bool.noConfusion h
    | r10 => intro h hq; exact ⟨8 * q + 5, by rw [hq]; show 16 * q + 10 = 2 * (8 * q + 5); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r11 => intro h hq; exact Bool.noConfusion h
    | r12 => intro h hq; exact ⟨8 * q + 6, by rw [hq]; show 16 * q + 12 = 2 * (8 * q + 6); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r13 => intro h hq; exact Bool.noConfusion h
    | r14 => intro h hq; exact ⟨8 * q + 7, by rw [hq]; show 16 * q + 14 = 2 * (8 * q + 7); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r15 => intro h hq; exact Bool.noConfusion h

theorem four_of_r16 (c : Nat) (h : r16 c = Z16.r0 ∨ r16 c = Z16.r4 ∨ r16 c = Z16.r8 ∨ r16 c = Z16.r12) :
    ∃ c', c = 4 * c' := by
  cases r16_spec c with
  | intro q hq =>
    revert h hq
    cases r16 c with
    | r0 => intro h hq; exact ⟨4 * q + 0, by rw [hq]; show 16 * q + 0 = 4 * (4 * q + 0); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r1 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r2 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r3 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r4 => intro h hq; exact ⟨4 * q + 1, by rw [hq]; show 16 * q + 4 = 4 * (4 * q + 1); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r5 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r6 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r7 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r8 => intro h hq; exact ⟨4 * q + 2, by rw [hq]; show 16 * q + 8 = 4 * (4 * q + 2); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r9 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r10 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r11 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r12 => intro h hq; exact ⟨4 * q + 3, by rw [hq]; show 16 * q + 12 = 4 * (4 * q + 3); rw [Nat.left_distrib, ← nmul_assoc]⟩
    | r13 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r14 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)
    | r15 => intro h hq; exact absurd h (by intro hh; cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr hh => cases hh with | inl e => exact Z16.noConfusion e | inr e => exact Z16.noConfusion e)

theorem sq_unit_zero (u v : Z16) (hu : u = Z16.r5 ∨ u = Z16.r13) (h : u.mul (v.mul v) = Z16.r0) :
    v = Z16.r0 ∨ v = Z16.r4 ∨ v = Z16.r8 ∨ v = Z16.r12 := by
  cases hu with
  | inl e => subst e; revert h; cases v <;> intro h <;> first | exact Or.inl rfl | exact Or.inr (Or.inl rfl) | exact Or.inr (Or.inr (Or.inl rfl)) | exact Or.inr (Or.inr (Or.inr rfl)) | exact Z16.noConfusion h
  | inr e => subst e; revert h; cases v <;> intro h <;> first | exact Or.inl rfl | exact Or.inr (Or.inl rfl) | exact Or.inr (Or.inr (Or.inl rfl)) | exact Or.inr (Or.inr (Or.inr rfl)) | exact Z16.noConfusion h

theorem q4_two (x : Nat) : Mod16.q4 (2 * x) = 16 * Mod16.q4 x := by
  unfold Mod16.q4
  rw [mul4 2 x 2 x, mul4 (2 * 2) (x * x) (2 * 2) (x * x)]

theorem zero_mul16 (z : Z16) : Z16.r0.mul z = Z16.r0 := by cases z <;> rfl

/-- **d = p** (n = 2p, p = 8j + 5): N² = p M⁴ + 16p e⁴ forces M and e both even. -/
theorem descP_5 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat)
    (eq : N * N = (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1) * (Mod16.q4 M + 16 * Mod16.q4 e)) :
    odd16 (r16 M) = false ∧ odd16 (r16 e) = false := by
  let P := ((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1
  have hu := Congruent2p.r16_P j
  have hN : Dv P N := dv_sq P N hp ⟨Mod16.q4 M + 16 * Mod16.q4 e, by rw [eq, nmul_comm]⟩
  cases cancel_square P N _ (Nat.zero_lt_succ _) hN eq with
  | intro c hc =>
    have hM : odd16 (r16 M) = false := by
      cases h : odd16 (r16 M) with
      | false => rfl
      | true => exact absurd hc.symm (case_odd M e c P h hu)
    refine ⟨hM, ?_⟩
    cases even_of_r16 M hM with
    | intro M2 hM2 =>
      have h16 : P * (c * c) = 16 * (Mod16.q4 M2 + Mod16.q4 e) := by
        rw [hc, hM2, q4_two, Nat.left_distrib]
      have k := congrArg r16 h16
      rw [r16_mul P (c * c), r16_mul 16] at k
      have k0 : (r16 P).mul (r16 (c * c)) = Z16.r0 := by rw [k]; exact zero_mul16 _
      rw [r16_mul c c] at k0
      cases four_of_r16 c (sq_unit_zero _ _ hu k0) with
      | intro c2 hc2 =>
        have h' : 16 * (P * (c2 * c2)) = 16 * (Mod16.q4 M2 + Mod16.q4 e) := by
          rw [← h16, hc2, mul4 4 c2 4 c2, ← nmul_assoc P (4 * 4), nmul_comm P (4 * 4), nmul_assoc]
        have h2 := Nat.eq_of_mul_eq_mul_left (Nat.zero_lt_succ 15) h'
        cases he : odd16 (r16 e) with
        | false => rfl
        | true => exact absurd h2.symm (case_reduced M2 e c2 P he hu)

end Congruent2pP

#print axioms Congruent2pP.r16_spec
#print axioms Congruent2pP.even_of_r16
#print axioms Congruent2pP.four_of_r16
#print axioms Congruent2pP.sq_unit_zero
#print axioms Congruent2pP.q4_two
#print axioms Congruent2pP.zero_mul16
#print axioms Congruent2pP.descP_5

bsd/CongruentDescent.lean

lean_all/bsd/CongruentDescent.lean

/-
  bsd/CongruentDescent.lean — T39 cycle 9: local insolubility in the 2-isogeny descent of the
  congruent-number curves E_p : y² = x³ − p²x, for every prime p ≡ 3 (mod 4) (and, with (2|p) = −1,
  p ≡ 3 (mod 8)).

  Lean 4 core plus QRChain (rem, Euler, Fermat), BSDChain (q4). Hand proofs.

  E'_p : y² = x³ + 4p²x. The classes d of the descent on E'_p are the divisors of 4p² mod squares;
  d is in the image iff N² = d M⁴ + (4p²/d) e⁴ has a solution with gcd(M, e) = 1.
    nonres_dv     if d is not a square mod p and N² ≡ d M² (mod p), then p ∣ M
    neg1_nonres   p = 2h + 1 with h odd (p ≡ 3 mod 4): −1 is not a square mod p
    desc_p        d = p :  N² = p M⁴ + 4p e⁴   ⇒ p ∣ M and p ∣ e      (p ≡ 3 mod 4)
    desc_2p       d = 2p:  N² = 2p M⁴ + 2p e⁴  ⇒ p ∣ M and p ∣ e      (p ≡ 3 mod 4)
  (d = 2 needs (2|p) = −1, i.e. p ≡ 3 mod 8: next cycle; d < 0: no real point, BSDChain.real_insoluble.)
-/
import BSDChain

namespace CongruentDescent
open FTAChain FrobChain QRChain ESChain BSDChain

theorem mul4 (a x b y : Nat) : a * x * (b * y) = a * b * (x * y) := by
  rw [nmul_assoc, ← nmul_assoc x b y, nmul_comm x b, nmul_assoc b x y, ← nmul_assoc a b]

/-- **Non-residues force divisibility.** -/
theorem nonres_dv (h : Nat) (hp : Pr (h + h + 1)) (d N M : Nat)
    (hd : ¬ ∃ x, rem (h + h + 1) (x * x) = rem (h + h + 1) d)
    (e : rem (h + h + 1) (N * N) = rem (h + h + 1) (d * (M * M))) : Dv (h + h + 1) M := by
  cases dv_dec (h + h) M with
  | inl hM => exact hM
  | inr hM =>
    exfalso
    apply hd
    cases h with
    | zero => exact absurd (h_pos 0 hp) (Nat.lt_irrefl 0)
    | succ g =>
      -- x = N · M^(2g+1); x² ≡ d M² (M^(2g+1))² = d (M^(2g+2))² ≡ d
      refine ⟨N * M ^ (g + g + 1), ?_⟩
      have hf : rem (g + 1 + (g + 1) + 1) (M ^ (g + 1 + (g + 1))) = 1 := fermat1 (g + 1) M hp hM
      have pw : M ^ (g + 1 + (g + 1)) = M ^ (g + g + 1) * M := by
        rw [Nat.succ_add]; rfl
      calc rem (g + 1 + (g + 1) + 1) (N * M ^ (g + g + 1) * (N * M ^ (g + g + 1)))
          = rem (g + 1 + (g + 1) + 1) (N * N * (M ^ (g + g + 1) * M ^ (g + g + 1))) := by rw [mul4]
        _ = rem (g + 1 + (g + 1) + 1) (d * (M * M) * (M ^ (g + g + 1) * M ^ (g + g + 1))) :=
            rem_mul_congr _ _ _ _ e
        _ = rem (g + 1 + (g + 1) + 1) (d * (M ^ (g + 1 + (g + 1)) * M ^ (g + 1 + (g + 1)))) := by
            rw [nmul_assoc, pw, mul4 (M ^ (g + g + 1)) M (M ^ (g + g + 1)) M, nmul_comm (M * M)]
        _ = rem (g + 1 + (g + 1) + 1) (d * (1 * 1)) :=
            rem_mul_congr' _ _ _ d (rem_mul_congr2 _ _ _ _ _ (hf.trans (rem_one _ (hh_pos _ hp)).symm)
              (hf.trans (rem_one _ (hh_pos _ hp)).symm))
        _ = rem (g + 1 + (g + 1) + 1) d := by rw [Nat.one_mul, Nat.mul_one]

/-- −1 (as p − 1 = 2h) is not a square mod p when h is odd. -/
theorem neg1_nonres (n : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1)) :
    ¬ ∃ x, rem ((n + n + 1) + (n + n + 1) + 1) (x * x) = rem ((n + n + 1) + (n + n + 1) + 1) ((n + n + 1) + (n + n + 1)) := by
  intro hx
  cases hx with
  | intro x hx =>
    have hnd : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) ((n + n + 1) + (n + n + 1)) :=
      fun hd => not_dv_of_lt _ _ (hh_pos _ hp) (Nat.lt_succ_self _) hd
    have e1 := euler_of_sq (n + n + 1) _ x hp hnd hx
    rw [neg_pow_odd (n + n + 1) n hp] at e1
    -- 2h = 1 with h ≥ 1: impossible
    exact par_one_ne (n + n + 1) e1

theorem dv_sq (P x : Nat) (hp : Pr P) (h : Dv P (x * x)) : Dv P x :=
  match euclid P x x hp h with
  | Or.inl a => a
  | Or.inr a => a

theorem dv_q4 (P x : Nat) (hp : Pr P) (h : Dv P (q4 x)) : Dv P x :=
  dv_sq P x hp (dv_sq P _ hp h)

theorem not_dv_two (n : Nat) (_hp : Pr ((n + n + 1) + (n + n + 1) + 1)) :
    ¬ Dv ((n + n + 1) + (n + n + 1) + 1) 2 :=
  fun hd => not_dv_of_lt _ 2 (Nat.zero_lt_succ 1)
    (Nat.lt_succ_of_le (Nat.add_le_add (Nat.succ_le_succ (Nat.zero_le (n + n)))
      (Nat.succ_le_succ (Nat.zero_le (n + n))))) hd

/-- From P ∣ N and N² = P·Y: P·(c·c) = Y with N = c P. -/
theorem cancel_square (P N Y : Nat) (hP : 0 < P) (hN : Dv P N) (e : N * N = P * Y) :
    ∃ c, P * (c * c) = Y := by
  cases hN with
  | intro c hc =>
    refine ⟨c, Nat.eq_of_mul_eq_mul_left hP ?_⟩
    rw [← e, hc, mul4 c P c P, ← nmul_assoc, nmul_comm (P * P)]

/-- The shared step: Y ≡ 0 with Y = A + X ⇒ A ≡ (P−1)·X. -/
theorem shift_neg (h A X : Nat) (e : rem (h + h + 1) (A + X) = 0) :
    rem (h + h + 1) A = rem (h + h + 1) ((h + h) * X) := by
  apply rem_cancel_add (h + h) _ _ X
  rw [e]
  have : (h + h) * X + X = X * (h + h + 1) := by rw [← Nat.succ_mul, nmul_comm]
  rw [this]
  exact (rem_add_mul (h + h) 0 X).symm

/-- **d = p**: N² = p M⁴ + 4p e⁴ forces p ∣ M and p ∣ e (p ≡ 3 mod 4). -/
theorem desc_p (n : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1)) (N M e : Nat)
    (eq : N * N = ((n + n + 1) + (n + n + 1) + 1) * (q4 M + 4 * q4 e)) :
    Dv ((n + n + 1) + (n + n + 1) + 1) M ∧ Dv ((n + n + 1) + (n + n + 1) + 1) e := by
  let h := n + n + 1
  have hP : 0 < h + h + 1 := Nat.zero_lt_succ _
  have hN : Dv (h + h + 1) N := dv_sq _ N hp ⟨q4 M + 4 * q4 e, by rw [eq, nmul_comm]⟩
  cases cancel_square _ N _ hP hN eq with
  | intro c hc =>
    have z : rem (h + h + 1) (q4 M + 4 * q4 e) = 0 := by
      rw [← hc]; exact rem_zero_of_dv _ _ (dv_mul_right _ _ _ (dv_refl _))
    have s1 := shift_neg h (q4 M) (4 * q4 e) z
    have e4 : 4 * q4 e = (2 * (e * e)) * (2 * (e * e)) := by
      unfold q4; rw [mul4 2 (e * e) 2 (e * e)]
    rw [e4] at s1
    have hE : Dv (h + h + 1) e := by
      have d2 := nonres_dv h hp (h + h) (M * M) (2 * (e * e)) (neg1_nonres n hp) s1
      cases euclid _ 2 (e * e) hp d2 with
      | inl a => exact absurd a (not_dv_two n hp)
      | inr a => exact dv_sq _ e hp a
    refine ⟨?_, hE⟩
    apply dv_q4 _ M hp
    apply dv_of_rem_zero
    rw [s1]
    apply rem_zero_of_dv
    apply dv_mul_left
    exact dv_mul_left _ _ _ (dv_trans _ _ _ hE ⟨e * 2, by rw [← nmul_assoc, nmul_comm 2 e]⟩)

/-- **d = 2p**: N² = 2p M⁴ + 2p e⁴ forces p ∣ M and p ∣ e (p ≡ 3 mod 4). -/
theorem desc_2p (n : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1)) (N M e : Nat)
    (eq : N * N = ((n + n + 1) + (n + n + 1) + 1) * (2 * (q4 M + q4 e))) :
    Dv ((n + n + 1) + (n + n + 1) + 1) M ∧ Dv ((n + n + 1) + (n + n + 1) + 1) e := by
  let h := n + n + 1
  have hP : 0 < h + h + 1 := Nat.zero_lt_succ _
  have hN : Dv (h + h + 1) N := dv_sq _ N hp ⟨2 * (q4 M + q4 e), by rw [eq, nmul_comm]⟩
  cases cancel_square _ N _ hP hN eq with
  | intro c hc =>
    have d2 : Dv (h + h + 1) (2 * (q4 M + q4 e)) := ⟨c * c, by rw [← hc, nmul_comm]⟩
    have dS : Dv (h + h + 1) (q4 M + q4 e) :=
      match euclid _ 2 _ hp d2 with
      | Or.inl a => absurd a (not_dv_two n hp)
      | Or.inr a => a
    have s1 := shift_neg h (q4 M) (q4 e) (rem_zero_of_dv _ _ dS)
    have hE : Dv (h + h + 1) e := by
      have d3 := nonres_dv h hp (h + h) (M * M) (e * e) (neg1_nonres n hp) s1
      exact dv_sq _ e hp d3
    refine ⟨?_, hE⟩
    apply dv_q4 _ M hp
    apply dv_of_rem_zero
    rw [s1]
    apply rem_zero_of_dv
    apply dv_mul_left
    unfold q4
    exact dv_mul_left _ _ _ (dv_mul_left _ _ _ hE)

end CongruentDescent

#print axioms CongruentDescent.mul4
#print axioms CongruentDescent.nonres_dv
#print axioms CongruentDescent.neg1_nonres
#print axioms CongruentDescent.dv_sq
#print axioms CongruentDescent.dv_q4
#print axioms CongruentDescent.not_dv_two
#print axioms CongruentDescent.cancel_square
#print axioms CongruentDescent.shift_neg
#print axioms CongruentDescent.desc_p
#print axioms CongruentDescent.desc_2p

bsd/CongruentFamily.lean

lean_all/bsd/CongruentFamily.lean

/-
  bsd/CongruentFamily.lean — T39 cycle 12: the descent of E_p : y² = x³ − p²x closes for every prime
  p ≡ 3 (mod 8).

  Lean 4 core plus bsd/CongruentDescent (nonres_dv, desc_p, desc_2p) and QRChain (gauss_lemma, mu).

    mu_two          μ(h, 2) = 2j + 1 for h = 4j + 1 (Gauss's count for a = 2)
    two_nonres      2 is not a square mod p = 8j + 3
    desc_2          d = 2 : N² = 2M⁴ + 2p²e⁴ ⇒ p ∣ M and p ∣ e
    family_rank0    for every prime p = 8j + 3, every class d ∈ {2, p, 2p} of the descent on
                    E'_p : y² = x³ + 4p²x has only solutions with p ∣ M and p ∣ e (no primitive one);
                    the negative classes have no real point (BSDChain.real_insoluble), and the image of
                    E_p is {±1, ±p} (2-torsion). With the exact sequence of the 2-isogeny descent
                    (Silverman AEC X.4, cited) rank E_p(Q) = log₂(4·1/4) = 0: no prime p ≡ 3 (mod 8)
                    is a congruent number.
-/
import bsd.CongruentDescent

namespace CongruentFamily
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent

theorem sum1_split (f : Nat → Nat) (a : Nat) : ∀ b, sum1 (a + b) f = sum1 a f + sum1 b (fun k => f (a + k))
  | 0 => rfl
  | b + 1 => by
    show sum1 (a + b) f + f (a + b + 1) = sum1 a f + (sum1 b (fun k => f (a + k)) + f (a + (b + 1)))
    rw [sum1_split f a b, nadd_assoc]; rfl

theorem sum1_zero (f : Nat → Nat) : ∀ n, (∀ k, 0 < k → k ≤ n → f k = 0) → sum1 n f = 0
  | 0, _ => rfl
  | n + 1, h => by
    show sum1 n f + f (n + 1) = 0
    rw [sum1_zero f n (fun k hk hkn => h k hk (Nat.le_succ_of_le hkn)), h (n + 1) (Nat.zero_lt_succ n) (Nat.le_refl _)]

theorem sum1_one (f : Nat → Nat) : ∀ n, (∀ k, 0 < k → k ≤ n → f k = 1) → sum1 n f = n
  | 0, _ => rfl
  | n + 1, h => by
    show sum1 n f + f (n + 1) = n + 1
    rw [sum1_one f n (fun k hk hkn => h k hk (Nat.le_succ_of_le hkn)), h (n + 1) (Nat.zero_lt_succ n) (Nat.le_refl _)]

/-- Gauss's count for a = 2 and h = 4j + 1. -/
theorem mu_two (j : Nat) : mu (j + j + (j + j) + 1) 2 = j + j + 1 := by
  unfold mu
  -- k ≤ 2j: 2k ≤ 4j < h, so lk = 0;  2j < k ≤ 4j + 1: 2k > h, so lk = 1
  show sum1 ((j + j) + (j + j + 1)) (lk (j + j + (j + j + 1)) 2) = j + j + 1
  rw [sum1_split]
  have low : sum1 (j + j) (lk (j + j + (j + j + 1)) 2) = 0 := by
    apply sum1_zero
    intro k hk hkn
    unfold lk rk
    apply ite_eq_left
    rw [rem_of_lt]
    · show 2 * k ≤ j + j + (j + j + 1)
      rw [Nat.two_mul]
      exact Nat.le_trans (Nat.add_le_add hkn hkn) (Nat.le_succ _)
    · show 2 * k < j + j + (j + j + 1) + (j + j + (j + j + 1)) + 1
      rw [Nat.two_mul]
      exact Nat.lt_succ_of_le (Nat.add_le_add (Nat.le_trans hkn (Nat.le_add_right _ _))
        (Nat.le_trans hkn (Nat.le_add_right _ _)))
  have high : sum1 (j + j + 1) (fun k => lk (j + j + (j + j + 1)) 2 (j + j + k)) = j + j + 1 := by
    apply sum1_one
    intro k hk hkn
    unfold lk rk
    apply ite_eq_right
    intro hle
    rw [rem_of_lt] at hle
    · -- 2(2j + k) ≥ 4j + 2 > h
      rw [Nat.two_mul] at hle
      have a1 : j + j + (j + j + 1) < (j + j + 1) + (j + j + 1) := by
        show (j + j + (j + j)).succ < ((j + j + 1) + (j + j)).succ
        exact Nat.succ_lt_succ (Nat.add_lt_add_right (Nat.lt_succ_self (j + j)) (j + j))
      have a2 : (j + j + 1) + (j + j + 1) ≤ (j + j + k) + (j + j + k) :=
        Nat.add_le_add (Nat.add_le_add_left hk (j + j)) (Nat.add_le_add_left hk (j + j))
      exact Nat.lt_irrefl _ (Nat.lt_of_lt_of_le (Nat.lt_of_lt_of_le a1 a2) hle)
    · show 2 * (j + j + k) < j + j + (j + j + 1) + (j + j + (j + j + 1)) + 1
      rw [Nat.two_mul]
      apply Nat.lt_succ_of_le
      apply Nat.add_le_add <;> exact Nat.add_le_add_left hkn _
  rw [low, high, Nat.zero_add]

theorem par_odd (j : Nat) : par (j + j + 1) = true := by
  show (!par (j + j)) = true
  rw [par_double]; rfl

/-- 2 is not a square mod p = 8j + 3. -/
theorem two_nonres (j : Nat) (hp : Pr ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1)) :
    ¬ ∃ x, rem ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) (x * x)
        = rem ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) 2 := by
  intro hx
  have hnd : ¬ Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) 2 :=
    not_dv_two (j + j) hp
  have g := (gauss_lemma (j + j + (j + j) + 1) 2 hp hnd).mp hx
  rw [mu_two, par_odd] at g
  exact Bool.noConfusion g

/-- **d = 2**: N² = 2M⁴ + 2p²e⁴ forces p ∣ M and p ∣ e (p = 8j + 3). -/
theorem desc_2 (j : Nat) (hp : Pr ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1)) (N M e : Nat)
    (eq : N * N = 2 * q4 M + 2 * (((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) *
      ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1)) * q4 e) :
    Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) M ∧
      Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) e := by
  let h := j + j + (j + j) + 1
  let P := h + h + 1
  have hP : 0 < P := Nat.zero_lt_succ _
  have hPP : 0 < P * P := Nat.mul_le_mul hP hP
  have dvPP : ∀ x, Dv P (x * (P * P)) := fun x => ⟨x * P, by rw [nmul_assoc]⟩
  -- mod p: N² ≡ 2 (M²)²
  have r1 : rem P (N * N) = rem P (2 * (M * M * (M * M))) := by
    rw [eq]
    apply rem_add_dv
    exact dv_mul_right _ _ (q4 e) (dv_mul_left 2 _ _ ⟨P, rfl⟩)
  have hM : Dv P M := dv_sq P M hp (nonres_dv h hp 2 N (M * M) (two_nonres j hp) r1)
  have hN : Dv P N := by
    apply dv_sq P N hp
    apply dv_of_rem_zero
    rw [r1]
    apply rem_zero_of_dv
    exact dv_mul_left _ _ _ (dv_mul_left _ _ _ (dv_mul_left _ _ _ hM))
  refine ⟨hM, ?_⟩
  cases hN with
  | intro c hc =>
    cases hM with
    | intro b hb =>
      -- c² P² = 2 b⁴ P⁴ + 2 P² e⁴  ⇒  c² = 2 b⁴ P² + 2 e⁴
      have e1 : (P * P) * (c * c) = (P * P) * (2 * (q4 b * (P * P)) + 2 * q4 e) := by
        have l : N * N = (P * P) * (c * c) := by rw [hc, mul4, nmul_comm]
        have m : q4 M = q4 b * ((P * P) * (P * P)) := by
          unfold q4; rw [hb, mul4 b P b P, mul4 (b * b) (P * P) (b * b) (P * P)]
        rw [← l, eq, m]
        generalize P * P = Q
        generalize q4 b = X
        generalize q4 e = Y
        rw [nleft_distrib Q]
        have t1 : Q * (2 * (X * Q)) = 2 * (X * (Q * Q)) := by
          rw [← nmul_assoc Q 2, nmul_comm Q 2, nmul_assoc 2, ← nmul_assoc Q X Q, nmul_comm Q X,
            nmul_assoc X]
        have t2 : Q * (2 * Y) = 2 * Q * Y := by rw [← nmul_assoc, nmul_comm Q 2]
        rw [t1, t2]
      have e2 := Nat.eq_of_mul_eq_mul_left hPP e1
      have r2 : rem P (c * c) = rem P (2 * ((e * e) * (e * e))) := by
        rw [e2, nadd_comm]
        apply rem_add_dv
        exact dv_mul_left _ _ _ (dvPP _)
      exact dv_sq P e hp (nonres_dv h hp 2 c (e * e) (two_nonres j hp) r2)

/-- **The family.** For every prime p = 8j + 3, the classes d = 2, p, 2p of the 2-isogeny descent on
    y² = x³ + 4p²x have no solution with p ∤ gcd(M, e). (With BSDChain.real_insoluble for d < 0 and
    the cited exact sequence: rank of y² = x³ − p²x over Q is 0.) -/
theorem family_rank0 (j : Nat) (hp : Pr ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1)) (N M e : Nat) :
    (N * N = 2 * q4 M + 2 * (((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) *
      ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1)) * q4 e →
      Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) M ∧ Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) e) ∧
    (N * N = ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) * (q4 M + 4 * q4 e) →
      Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) M ∧ Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) e) ∧
    (N * N = ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) * (2 * (q4 M + q4 e)) →
      Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) M ∧ Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) e) :=
  ⟨desc_2 j hp N M e, desc_p (j + j) hp N M e, desc_2p (j + j) hp N M e⟩

end CongruentFamily

#print axioms CongruentFamily.sum1_split
#print axioms CongruentFamily.sum1_zero
#print axioms CongruentFamily.sum1_one
#print axioms CongruentFamily.mu_two
#print axioms CongruentFamily.par_odd
#print axioms CongruentFamily.two_nonres
#print axioms CongruentFamily.desc_2
#print axioms CongruentFamily.family_rank0

bsd/CongruentFamily2.lean

lean_all/bsd/CongruentFamily2.lean

/-
  bsd/CongruentFamily2.lean — T39 cycle 35: the n = 2p family as one statement.

  Lean 4 core plus bsd/Congruent2pF.
    family2_rank0   for every prime p = 8j + 5, the seven non-torsion classes of the two descent maps
                    for y² = x³ − 4p²x (E-side ±2, ±p; E'-side 2, p, 2p) have no primitive solution.
-/
import bsd.Congruent2pF

namespace CongruentFamily2
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent Congruent2p Congruent2pP Congruent2pE Congruent2pF

theorem family2_rank0 (j : Nat) (hp : Pr (((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1)) (N M e : Nat) :
    let P := ((j + j + 1) + (j + j + 1)) + ((j + j + 1) + (j + j + 1)) + 1
    (N * N + 2 * q4 e * (P * P) = 2 * q4 M → Dv P M ∧ Dv P e) ∧
    (N * N + 2 * q4 M = 2 * q4 e * (P * P) → Dv P M ∧ Dv P e) ∧
    (N * N + P * (4 * q4 e) = P * q4 M → Dv P M ∧ Dv P e) ∧
    (N * N + P * q4 M = P * (4 * q4 e) → Dv P M ∧ Dv P e) ∧
    (N * N = 2 * q4 M + 8 * (P * P) * q4 e → Dv P M ∧ Dv P e) ∧
    (N * N = P * (Mod16.q4 M + 16 * Mod16.q4 e) → Mod16.odd16 (Mod16.r16 M) = false ∧ Mod16.odd16 (Mod16.r16 e) = false) ∧
    (N * N = P * (2 * Mod16.q4 M + 8 * Mod16.q4 e) → Mod16.odd16 (Mod16.r16 M) = false ∧ Mod16.odd16 (Mod16.r16 e) = false) :=
  ⟨descE2 j hp N M e, descEm2 j hp N M e, descEp j hp N M e, descEmp j hp N M e, desc2_5 j hp N M e,
   descP_5 j hp N M e, desc2p_5 j hp N M e⟩

end CongruentFamily2

#print axioms CongruentFamily2.family2_rank0

bsd/CongruentPoints.lean

lean_all/bsd/CongruentPoints.lean

/-
  bsd/CongruentPoints.lean — T39 cycle 90: rational points on y² = x³ − n²x for the 32 squarefree n ≤ 200 of
  analytic rank 1 whose generators lie beyond naive height 60, found on the 2-descent quartics
  (numeric_bsd.py cfill) and checked here by rfl.

  x = a/b², y = c/b³:  c² + n²ab⁴ = a³ (x > 0)  or  c² + a³ = n²ab⁴ (x = −a/b² < 0).  b > 1 (x not an
  integer, except where noted), so by Nagell–Lutz (cited) the point has infinite order and n is congruent.
  With the computed L′(E_n,1), Ω and ĥ(P): #Ш_an = 1 for every one (NUMERIC_BSD_CONGRUENT_FILL.jsonl).
-/
namespace CongruentPoints

def pos (n a b c : Nat) : Bool := Nat.beq (c * c + n * n * a * (b * b * b * b)) (a * a * a)
def neg (n a b c : Nat) : Bool := Nat.beq (c * c + a * a * a) (n * n * a * (b * b * b * b))

theorem point_101 : pos 101 4516224269881 63050 9559609645758946779 = true := rfl
theorem point_109 : pos 109 297025 42 123384185 = true := rfl
theorem point_119 : pos 119 169 1 1560 = true := rfl  -- integral x
theorem point_133 : pos 133 1792252 87 1985131610 = true := rfl
theorem point_134 : neg 134 4141442 177 1398696488 = true := rfl
theorem point_143 : pos 143 1338649 95 411341268 = true := rfl
theorem point_149 : neg 149 56644 25 17592246 = true := rfl
theorem point_151 : pos 151 151321 23 49994280 = true := rfl
theorem point_158 : pos 158 2695842 49 4382264160 = true := rfl
theorem point_159 : neg 159 65025 29 29795220 = true := rfl
theorem point_167 : pos 167 118669915225 25871 13731952942771560 = true := rfl
theorem point_181 : pos 181 556368301801 34950 380821752178542701 = true := rfl
theorem point_182 : pos 182 31213 3 5506865 = true := rfl
theorem point_183 : neg 183 1368900 541 62645458590 = true := rfl
theorem point_23 : pos 23 42025 17 8506680 = true := rfl
theorem point_29 : pos 29 142129 70 1082367 = true := rfl
theorem point_31 : pos 31 1681 7 29520 = true := rfl
theorem point_37 : neg 37 1764 145 32672766 = true := rfl
theorem point_38 : pos 38 58482 31 11046600 = true := rfl
theorem point_47 : pos 47 16851025 511 47401321680 = true := rfl
theorem point_53 : pos 53 99278557225 34034 24583549770420915 = true := rfl
theorem point_61 : pos 61 736851025 3198 10643776627535 = true := rfl
theorem point_62 : pos 62 124002 23 42110880 = true := rfl
theorem point_69 : pos 69 1083 1 35568 = true := rfl  -- integral x
theorem point_71 : pos 71 3721 7 80520 = true := rfl
theorem point_77 : pos 77 216832 53 7114800 = true := rfl
theorem point_79 : pos 79 335952241 161 6157554234000 = true := rfl
theorem point_86 : pos 86 33282 17 4038216 = true := rfl
theorem point_87 : pos 87 525625 77 73251100 = true := rfl
theorem point_93 : pos 93 141267 37 23006340 = true := rfl
theorem point_94 : pos 94 29282 17 1870176 = true := rfl
theorem point_95 : pos 95 7225 2 613275 = true := rfl
theorem point_199 : pos 199 14207630028601 262001 14721540674529048360 = true := rfl  -- M, e ≤ 5000 search (cycle 93)

end CongruentPoints

#print axioms CongruentPoints.point_101
#print axioms CongruentPoints.point_109
#print axioms CongruentPoints.point_119
#print axioms CongruentPoints.point_133
#print axioms CongruentPoints.point_134
#print axioms CongruentPoints.point_143
#print axioms CongruentPoints.point_149
#print axioms CongruentPoints.point_151
#print axioms CongruentPoints.point_158
#print axioms CongruentPoints.point_159
#print axioms CongruentPoints.point_167
#print axioms CongruentPoints.point_181
#print axioms CongruentPoints.point_182
#print axioms CongruentPoints.point_183
#print axioms CongruentPoints.point_23
#print axioms CongruentPoints.point_29
#print axioms CongruentPoints.point_31
#print axioms CongruentPoints.point_37
#print axioms CongruentPoints.point_38
#print axioms CongruentPoints.point_47
#print axioms CongruentPoints.point_53
#print axioms CongruentPoints.point_61
#print axioms CongruentPoints.point_62
#print axioms CongruentPoints.point_69
#print axioms CongruentPoints.point_71
#print axioms CongruentPoints.point_77
#print axioms CongruentPoints.point_79
#print axioms CongruentPoints.point_86
#print axioms CongruentPoints.point_87
#print axioms CongruentPoints.point_93
#print axioms CongruentPoints.point_94
#print axioms CongruentPoints.point_95
#print axioms CongruentPoints.point_199

bsd/CongruentPoints10.lean

lean_all/bsd/CongruentPoints10.lean

/-
  bsd/CongruentPoints10.lean — T39 goal G61: points for congruent curves in 1401–1600 with Tunnell A = 2B
  (n = 1405, 1406, 1411, 1415, 1419, 1430, 1434, 1443, 1446, 1455, 1462, 1463, 1469, 1479, 1482, 1493, 1495, 1501, 1510, 1511, 1513, 1517, 1518, 1526, 1534, 1541, 1542, 1551, 1561, 1565, 1567, 1581, 1582, 1590, 1591, 1595, 1598, 1599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints10
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1405, true, 2205, 1, 79800),
   (1406, true, 13357, 3, 494209),
   (1411, true, 395641, 16, 101530035),
   (1415, true, 343917025, 321, 5776414774100),
   (1419, true, 5547, 1, 399384),
   (1430, true, 31850, 1, 5678400),
   (1434, true, 28812, 1, 4884516),
   (1443, false, 1166400, 277, 119570907240),
   (1446, true, 1458, 1, 7128),
   (1455, true, 3659901180, 263, 221329743166350),
   (1462, true, 62866, 5, 12824664),
   (1463, true, 3388, 1, 177870),
   (1469, true, 1573, 1, 22308),
   (1479, true, 7225, 1, 601120),
   (1482, true, 212268, 1, 97794900),
   (1493, false, 188356, 25, 396639978),
   (1495, true, 628849, 17, 362340732),
   (1501, true, 10051, 1, 996360),
   (1510, true, 1690, 1, 31200),
   (1511, true, 1142761, 7, 1219044840),
   (1513, true, 2289169, 35, 2032782072),
   (1517, false, 16559757, 239, 346122189120),
   (1518, true, 9787558, 63, 24131393000),
   (1526, false, 2527, 16, 19637583),
   (1534, false, 43732, 113, 4096196988),
   (1541, true, 77372, 7, 4694346),
   (1542, false, 116162, 17, 146634040),
   (1551, true, 61306377, 167, 340161603804),
   (1561, true, 94192, 3, 28584836),
   (1565, false, 1162084, 61, 6151323486),
   (1567, true, 2640625, 41, 300846000),
   (1581, true, 1323297, 2, 1522232649),
   (1582, true, 3150, 1, 152880),
   (1590, true, 70225, 4, 17345575),
   (1591, true, 34225, 1, 6324780),
   (1595, true, 3115225, 38, 3702290475),
   (1598, true, 25857, 4, 619905),
   (1599, true, 2825761, 33, 3741031880)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 38 := rfl

end CongruentPoints10

#print axioms CongruentPoints10.on_curve
#print axioms CongruentPoints10.indep
#print axioms CongruentPoints10.count

bsd/CongruentPoints100.lean

lean_all/bsd/CongruentPoints100.lean

/-
  bsd/CongruentPoints100.lean — T39 goal G158: points for congruent curves in 18801–19000 with Tunnell A = 2B
  (n = 18805, 18814, 18830, 18833, 18845, 18849, 18870, 18886, 18894, 18895, 18901, 18907, 18921, 18935, 18938, 18941, 18942, 18966, 18970, 18991, 18995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints100
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (18805, true, 57245, 1, 12936300),
   (18814, false, 14271454, 31, 41935014960),
   (18830, true, 1809025, 6, 2255854175),
   (18833, false, 136900, 41, 11713451490),
   (18845, false, 3049805, 23, 16574850600),
   (18849, true, 75119548, 13, 650486994542),
   (18870, true, 41070, 1, 7392600),
   (18886, false, 64057588, 79, 791886363996),
   (18894, true, 592012, 3, 436312844),
   (18895, true, 9825765625, 418, 917355483013125),
   (18901, false, 685028021, 511, 127925358286200),
   (18907, true, 634957, 1, 505735980),
   (18921, true, 70225, 1, 17921420),
   (18935, true, 2742339312001, 11850, 1111712696997343001),
   (18938, true, 677055231481225, 32656, 17609330829351321962715),
   (18941, false, 5208957, 17, 3840046392),
   (18942, true, 11931738, 17, 36621257400),
   (18966, true, 44109, 1, 8363745),
   (18970, true, 20230, 1, 999600),
   (18991, true, 5726449, 17, 3909970560),
   (18995, true, 3065445, 11, 3551374800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints100

#print axioms CongruentPoints100.on_curve
#print axioms CongruentPoints100.indep
#print axioms CongruentPoints100.count

bsd/CongruentPoints101.lean

lean_all/bsd/CongruentPoints101.lean

/-
  bsd/CongruentPoints101.lean — T39 goal G159: points for congruent curves in 19001–19200 with Tunnell A = 2B
  (n = 19005, 19006, 19014, 19030, 19046, 19047, 19065, 19095, 19106, 19146, 19147, 19149, 19173, 19182, 19194, 19195, 19199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints101
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (19005, false, 776559504, 419, 90425280833244),
   (19006, true, 29068, 1, 3749772),
   (19014, true, 1337920189225, 7268, 1022359554017468245),
   (19030, true, 172480, 3, 8470000),
   (19046, true, 22898, 1, 1923432),
   (19047, false, 8171949369, 995, 1536264104830596),
   (19065, true, 1755625, 3, 2315066500),
   (19095, true, 3838095, 7, 7292380500),
   (19106, true, 37538, 1, 6260352),
   (19146, true, 22188, 1, 1670292),
   (19147, true, 10582031161, 500, 970826196655341),
   (19149, true, 3171961, 6, 5514234245),
   (19173, true, 79233, 2, 5602905),
   (19182, false, 17368703, 36, 74124487745),
   (19194, true, 208849, 2, 88760825),
   (19195, true, 609005, 1, 475023900),
   (19199, true, 37249, 1, 6160560)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints101

#print axioms CongruentPoints101.on_curve
#print axioms CongruentPoints101.indep
#print axioms CongruentPoints101.count

bsd/CongruentPoints102.lean

lean_all/bsd/CongruentPoints102.lean

/-
  bsd/CongruentPoints102.lean — T39 goal G160: points for congruent curves in 19201–19400 with Tunnell A = 2B
  (n = 19261, 19273, 19285, 19329, 19342), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints102
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (19261, true, 346492, 3, 176597414),
   (19273, true, 186186025, 31, 2527906867080),
   (19285, true, 264915, 1, 135989700),
   (19329, true, 1221025, 1, 1349063560),
   (19342, false, 7323398, 37, 68862295080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints102

#print axioms CongruentPoints102.on_curve
#print axioms CongruentPoints102.indep
#print axioms CongruentPoints102.count

bsd/CongruentPoints103.lean

lean_all/bsd/CongruentPoints103.lean

/-
  bsd/CongruentPoints103.lean — T39 goal G161: points for congruent curves in 19401–19600 with Tunnell A = 2B
  (n = 19401, 19402, 19405, 19415, 19430, 19437, 19446, 19461, 19470, 19495, 19511, 19537, 19558, 19561, 19565, 19569, 19581, 19598, 19599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints103
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (19401, true, 17305692, 23, 57965415354),
   (19402, true, 2250009, 10, 1709058723),
   (19405, true, 99405, 1, 30738000),
   (19415, true, 77427194735, 919, 21056024351646900),
   (19430, true, 22445, 1, 1683375),
   (19437, true, 1040763, 1, 1061578260),
   (19446, false, 16854, 1, 1259280),
   (19461, true, 747003, 1, 645410592),
   (19470, true, 6061005, 11, 13748324625),
   (19495, true, 103547577243889, 61977, 727739871848056582012),
   (19511, true, 62686639129, 1267, 13595559620455380),
   (19537, true, 19663, 1, 311640),
   (19558, false, 42350, 39, 6121811080),
   (19561, false, 49824391, 1513, 316074631154640),
   (19565, true, 4974515, 1, 11094883800),
   (19569, false, 184041, 5, 194460552),
   (19581, true, 12878834901, 473, 1374399088271820),
   (19598, true, 19602, 1, 55440),
   (19599, true, 29258487, 1, 158262382404)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints103

#print axioms CongruentPoints103.on_curve
#print axioms CongruentPoints103.indep
#print axioms CongruentPoints103.count

bsd/CongruentPoints104.lean

lean_all/bsd/CongruentPoints104.lean

/-
  bsd/CongruentPoints104.lean — T39 goal G162: points for congruent curves in 19601–19800 with Tunnell A = 2B
  (n = 19610, 19619, 19623, 19637, 19642, 19645, 19646, 19662, 19669, 19670, 19671, 19686, 19695, 19711, 19714, 19721, 19726, 19734, 19741, 19758, 19762, 19765, 19778), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints104
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (19610, true, 28090, 1, 3370800),
   (19619, true, 727609, 6, 149159845),
   (19623, true, 5520604, 15, 7786811942),
   (19637, true, 495730225, 72, 10802210280535),
   (19642, true, 599886, 5, 266882616),
   (19645, true, 27925993095025, 26358, 128749715879506985825),
   (19646, true, 87362, 1, 25160256),
   (19662, true, 37439232, 31, 197766465120),
   (19669, true, 1338649, 2, 1546139595),
   (19670, true, 4437566, 13, 6192509064),
   (19671, true, 544231, 5, 171976996),
   (19686, false, 10082, 1, 1697752),
   (19695, true, 1723969, 7, 1875678272),
   (19711, false, 4761, 5, 33999888),
   (19714, false, 1731856, 89, 205486806840),
   (19721, true, 34225, 1, 5174820),
   (19726, true, 1985281, 10, 315659679),
   (19734, true, 19941, 1, 404685),
   (19741, true, 269059, 1, 139187160),
   (19758, true, 44400, 1, 8378280),
   (19762, true, 2381321, 10, 2050317381),
   (19765, true, 119475, 1, 40727700),
   (19778, true, 53564218, 9, 391848172840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 23 := rfl

end CongruentPoints104

#print axioms CongruentPoints104.on_curve
#print axioms CongruentPoints104.indep
#print axioms CongruentPoints104.count

bsd/CongruentPoints105.lean

lean_all/bsd/CongruentPoints105.lean

/-
  bsd/CongruentPoints105.lean — T39 goal G163: points for congruent curves in 19801–20000 with Tunnell A = 2B
  (n = 19805, 19810, 19822, 19829, 19830, 19853, 19866, 19870, 19873, 19878, 19885, 19895, 19910, 19939, 19947, 19981, 19995, 19999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints105
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (19805, false, 2427364, 13, 3590375166),
   (19810, true, 259210, 3, 95795000),
   (19822, true, 3706714, 5, 7072410312),
   (19829, true, 239730556, 105, 1523218364954),
   (19830, true, 19845, 1, 108675),
   (19853, true, 2847673125025, 6314, 4616125139023106295),
   (19866, true, 63525, 1, 15207885),
   (19870, false, 7220, 3, 15182900),
   (19873, true, 21025, 1, 995280),
   (19878, true, 142572, 1, 53307540),
   (19885, false, 2452356, 13, 3598171578),
   (19895, false, 2975625, 13, 2700280500),
   (19910, true, 36037100, 37, 141517691700),
   (19939, true, 1934019947190868849, 1661754, 2688532896617648144007355295),
   (19947, false, 14400, 1, 1656360),
   (19981, false, 215296, 5, 209146608),
   (19995, true, 83205, 1, 23297400),
   (19999, false, 5887, 1, 1466472)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints105

#print axioms CongruentPoints105.on_curve
#print axioms CongruentPoints105.indep
#print axioms CongruentPoints105.count

bsd/CongruentPoints106.lean

lean_all/bsd/CongruentPoints106.lean

/-
  bsd/CongruentPoints106.lean — T39 goal G165: points for congruent curves in 20001–20200 with Tunnell A = 2B
  (n = 20001, 20002, 20005, 20009, 20022, 20026, 20033, 20046, 20055, 20066, 20105, 20113, 20118, 20119, 20130, 20131, 20137, 20155, 20157, 20162, 20166, 20174, 20190, 20191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints106
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (20001, true, 3540177, 7, 6400640016),
   (20002, false, 400, 1, 399960),
   (20005, false, 19600, 1, 560700),
   (20009, true, 180625, 3, 5953400),
   (20022, true, 11846350, 23, 18262333160),
   (20026, true, 786258, 1, 696958152),
   (20033, true, 34983, 1, 5364060),
   (20046, true, 15455466, 23, 44202632760),
   (20055, false, 45185280, 67, 523416020400),
   (20066, true, 1825216, 7, 2077504080),
   (20105, true, 11435631118921, 23718, 5717879482054899581),
   (20113, true, 18640849425025, 2471, 80480214024539741280),
   (20118, true, 332682, 1, 191535120),
   (20119, false, 147666321, 247, 14807279034900),
   (20130, true, 83205, 1, 23287725),
   (20131, true, 1200276025, 244, 2249051647635),
   (20137, false, 374544, 5, 205866396),
   (20155, true, 390625, 2, 238884375),
   (20157, true, 11916147, 23, 18361748160),
   (20162, false, 3600, 1, 1190280),
   (20166, false, 3607298, 113, 489018220424),
   (20174, true, 8848917, 19, 14951876709),
   (20190, false, 14959446, 53, 211585759992),
   (20191, true, 155444266417441, 86651, 428234750765864421780)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end CongruentPoints106

#print axioms CongruentPoints106.on_curve
#print axioms CongruentPoints106.indep
#print axioms CongruentPoints106.count

bsd/CongruentPoints107.lean

lean_all/bsd/CongruentPoints107.lean

/-
  bsd/CongruentPoints107.lean — T39 goal G166: points for congruent curves in 20201–20400 with Tunnell A = 2B
  (n = 20209, 20210, 20213, 20215, 20235, 20247, 20254, 20262, 20267, 20301, 20306, 20314, 20315, 20319, 20351, 20355, 20366, 20378, 20386, 20389, 20391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints107
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (20209, true, 348686707009, 1207, 205163183880316080),
   (20210, true, 22090, 1, 1325400),
   (20213, true, 73797119775625, 58426, 224859608121459066525),
   (20215, true, 628849, 1, 498419532),
   (20235, true, 21660, 1, 1137150),
   (20247, true, 1295811125569, 7925, 283660899262073128),
   (20254, true, 511762, 3, 342090224),
   (20262, true, 2073478, 9, 1824660640),
   (20267, true, 3279280225, 366, 105328245258665),
   (20301, true, 4080501, 1, 8242612020),
   (20306, true, 2903758, 1, 4948003632),
   (20314, true, 4210802, 1, 8640565704),
   (20315, true, 1085365, 7, 450666600),
   (20319, true, 22188855975, 1039, 498745264523220),
   (20351, true, 2745649, 7, 4238871120),
   (20355, true, 23805, 1, 1904400),
   (20366, true, 169362, 1, 69192816),
   (20378, false, 559682, 9, 1161705160),
   (20386, false, 18818, 1, 1075536),
   (20389, true, 5308217857849, 3810, 12210880662510643493),
   (20391, true, 11397232, 19, 29374963156)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints107

#print axioms CongruentPoints107.on_curve
#print axioms CongruentPoints107.indep
#print axioms CongruentPoints107.count

bsd/CongruentPoints108.lean

lean_all/bsd/CongruentPoints108.lean

/-
  bsd/CongruentPoints108.lean — T39 goal G167: points for congruent curves in 20401–20600 with Tunnell A = 2B
  (n = 20405, 20410, 20415, 20431, 20438, 20445, 20447, 20454, 20470, 20474, 20514, 20526, 20539, 20553, 20559, 20566, 20586, 20589, 20590, 20597, 20598), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints108
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (20405, true, 30899, 1, 4078668),
   (20410, false, 3600, 1, 1205400),
   (20415, true, 5112324492025, 13609, 7780170420865843100),
   (20431, true, 9279276241, 367, 853653194887920),
   (20438, true, 87362, 1, 25105080),
   (20445, true, 91050045025, 1256, 25692435069297425),
   (20447, true, 21025, 1, 709920),
   (20454, false, 13254, 1, 1793520),
   (20470, false, 19220, 1, 976500),
   (20474, true, 4259578, 7, 8543927568),
   (20514, true, 4869228, 11, 9243682812),
   (20526, false, 53745318, 293, 12912424266456),
   (20539, true, 203228, 1, 91147758),
   (20553, true, 1221025, 7, 762896420),
   (20559, true, 353241, 1, 209589660),
   (20566, true, 178766, 1, 75081720),
   (20586, true, 33282, 1, 4770936),
   (20589, false, 15669059423, 1404, 4686424730738191),
   (20590, false, 724271, 24, 10074372967),
   (20597, false, 3641283, 17, 8985585300),
   (20598, false, 166464, 5, 198819216)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints108

#print axioms CongruentPoints108.on_curve
#print axioms CongruentPoints108.indep
#print axioms CongruentPoints108.count

bsd/CongruentPoints109.lean

lean_all/bsd/CongruentPoints109.lean

/-
  bsd/CongruentPoints109.lean — T39 goal G168: points for congruent curves in 20601–20800 with Tunnell A = 2B
  (n = 20609, 20615, 20643, 20651, 20654, 20670, 20679, 20702, 20735, 20742, 20761, 20774), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints109
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (20609, true, 1892091681, 254, 58555522909065),
   (20615, false, 52111, 4, 74349687),
   (20643, true, 24843, 1, 2178540),
   (20651, false, 5038523, 41, 77096924856),
   (20654, true, 33784654, 7, 196283714880),
   (20670, true, 365170, 3, 189888400),
   (20679, true, 35115638964025, 23218, 197326224341004644965),
   (20702, true, 19480582, 29, 38571552360),
   (20735, true, 21025, 1, 504600),
   (20742, false, 4414107, 61, 161890103475),
   (20761, true, 1603822149241, 8520, 694857760318143539),
   (20774, true, 83521, 2, 2431935)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints109

#print axioms CongruentPoints109.on_curve
#print axioms CongruentPoints109.indep
#print axioms CongruentPoints109.count

bsd/CongruentPoints11.lean

lean_all/bsd/CongruentPoints11.lean

/-
  bsd/CongruentPoints11.lean — T39 goal G62: points for congruent curves in 1601–1800 with Tunnell A = 2B
  (n = 1605, 1610, 1614, 1615, 1630, 1631, 1633, 1635, 1645, 1649, 1651, 1653, 1659, 1662, 1669, 1670, 1677, 1679, 1695, 1705, 1711, 1717, 1727, 1731, 1735, 1745, 1749, 1751, 1762, 1770, 1774, 1785, 1794, 1799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints11
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1605, true, 4636845, 1, 9984672900),
   (1610, true, 259210, 9, 114052400),
   (1614, false, 8915766, 145, 97765740648),
   (1615, false, 636804, 101, 13136917794),
   (1630, false, 873620, 81, 9962423900),
   (1631, true, 380023, 3, 234094168),
   (1633, false, 947807, 36, 1842223985),
   (1635, true, 11881, 2, 1081171),
   (1645, false, 581405, 23, 493699800),
   (1649, true, 351649, 7, 202948320),
   (1651, true, 3757, 1, 206856),
   (1653, false, 888125, 57, 4991587300),
   (1659, true, 917427, 13, 836693424),
   (1662, true, 920748, 23, 262413180),
   (1669, false, 476100, 17, 53365290),
   (1670, false, 2191220, 41, 2597588700),
   (1677, true, 105625, 6, 28168075),
   (1679, true, 234623, 7, 106430568),
   (1695, true, 12769, 1, 1430128),
   (1705, true, 7225, 2, 202725),
   (1711, true, 5624003959, 1137, 387772932563380),
   (1717, true, 29307473, 38, 158091272625),
   (1727, true, 1730976025, 858, 48873637762955),
   (1731, true, 332929, 4, 191434175),
   (1735, true, 13076938602025, 37827, 46428906365921916100),
   (1745, true, 121801, 6, 36418499),
   (1749, true, 2475, 1, 87120),
   (1751, true, 7497, 1, 631176),
   (1762, true, 776161, 20, 286403409),
   (1770, true, 3645, 1, 192375),
   (1774, true, 351122, 7, 201582576),
   (1785, true, 7225, 2, 93925),
   (1794, true, 2028, 1, 42588),
   (1799, true, 3031081, 41, 357462120)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 34 := rfl

end CongruentPoints11

#print axioms CongruentPoints11.on_curve
#print axioms CongruentPoints11.indep
#print axioms CongruentPoints11.count

bsd/CongruentPoints110.lean

lean_all/bsd/CongruentPoints110.lean

/-
  bsd/CongruentPoints110.lean — T39 goal G169: points for congruent curves in 20801–21000 with Tunnell A = 2B
  (n = 20805, 20810, 20815, 20831, 20845, 20890, 20909, 20910, 20922, 20930, 20935, 20945, 20958, 20962, 20967, 20989, 20991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints110
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (20805, false, 444771, 7, 611760708),
   (20810, true, 14774190760658641, 29930, 1795788589120808324626311),
   (20815, false, 233289, 5, 224668416),
   (20831, true, 40016267676, 823, 7490782720235430),
   (20845, true, 11730625, 22, 20498573625),
   (20890, false, 189834490, 161, 6987165790800),
   (20909, true, 94192, 1, 28186956),
   (20910, true, 8573100, 7, 24922001700),
   (20922, true, 697686, 5, 385662816),
   (20930, false, 14, 3, 704816),
   (20935, true, 40531621938025, 11997, 257328321041322712900),
   (20945, true, 1640384, 7, 1638970248),
   (20958, true, 705894, 5, 397432728),
   (20962, true, 19460350, 17, 81581550960),
   (20967, true, 42108, 1, 7493310),
   (20989, true, 63707731, 23, 500714534760),
   (20991, false, 636804, 13, 2784904290)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints110

#print axioms CongruentPoints110.on_curve
#print axioms CongruentPoints110.indep
#print axioms CongruentPoints110.count

bsd/CongruentPoints111.lean

lean_all/bsd/CongruentPoints111.lean

/-
  bsd/CongruentPoints111.lean — T39 goal G170: points for congruent curves in 21001–21200 with Tunnell A = 2B
  (n = 21009, 21014, 21026, 21029, 21030, 21034, 21038, 21041, 21045, 21049, 21063, 21079, 21090, 21115, 21126, 21127, 21170, 21190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints111
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (21009, true, 34263, 1, 5010012),
   (21014, false, 16667028, 47, 176873796876),
   (21026, false, 10658, 1, 1871136),
   (21029, true, 1530169, 6, 1644931675),
   (21030, true, 2610825798025, 8556, 3407141898538092325),
   (21034, true, 12703626, 17, 39758169360),
   (21038, true, 6605932, 17, 6638961660),
   (21041, true, 59740424431249, 30805, 435191633204466088932),
   (21045, false, 6716405, 49, 129789224200),
   (21049, true, 14292271, 11, 53167248120),
   (21063, true, 37792377, 2, 232329968325),
   (21079, true, 17181663335929, 14282, 68953327142818467195),
   (21090, true, 4942090, 13, 7610818600),
   (21115, true, 25688699035, 897, 3088284684659000),
   (21126, true, 35322, 1, 5320224),
   (21127, true, 977500225, 42, 30539324624185),
   (21170, false, 3069504, 97, 348936866256),
   (21190, true, 19584603025, 524, 2617025617431225)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints111

#print axioms CongruentPoints111.on_curve
#print axioms CongruentPoints111.indep
#print axioms CongruentPoints111.count

bsd/CongruentPoints112.lean

lean_all/bsd/CongruentPoints112.lean

/-
  bsd/CongruentPoints112.lean — T39 goal G171: points for congruent curves in 21201–21400 with Tunnell A = 2B
  (n = 21255, 21257, 21274, 21279, 21314, 21318, 21335, 21358, 21367, 21369, 21385, 21389, 21390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints112
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (21255, true, 3553225, 7, 6403646600),
   (21257, true, 537289, 5, 58027212),
   (21274, true, 40678, 1, 6992832),
   (21279, true, 725946600625, 3699, 566599149696623300),
   (21314, false, 20736, 1, 709920),
   (21318, false, 12482, 1, 1930760),
   (21335, true, 816202902640225, 69486, 23131857169368359592425),
   (21358, false, 152743979, 85, 271146573819),
   (21367, true, 3753968, 11, 5273442300),
   (21369, true, 1540081, 5, 1792569896),
   (21385, true, 54665, 1, 11762400),
   (21389, true, 345870316612921, 106406, 4592487207967944531675),
   (21390, true, 44206, 1, 8133904)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints112

#print axioms CongruentPoints112.on_curve
#print axioms CongruentPoints112.indep
#print axioms CongruentPoints112.count

bsd/CongruentPoints113.lean

lean_all/bsd/CongruentPoints113.lean

/-
  bsd/CongruentPoints113.lean — T39 goal G172: points for congruent curves in 21401–21600 with Tunnell A = 2B
  (n = 21406, 21414, 21431, 21437, 21455, 21459, 21471, 21479, 21494, 21495, 21507, 21513, 21534, 21553, 21574, 21583, 21585, 21590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints113
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (21406, true, 22253, 1, 907137),
   (21414, false, 21218, 1, 421064),
   (21431, true, 7460131100, 149, 643035015543270),
   (21437, false, 174724, 5, 211776774),
   (21455, true, 375769, 1, 229970628),
   (21459, true, 166843725, 1, 2155087027080),
   (21471, true, 28444802271, 301, 4786151097338820),
   (21479, true, 28067306089, 71, 4702165001908920),
   (21494, true, 41999276, 35, 212054344524),
   (21495, false, 378225, 157, 325845523800),
   (21507, false, 104612915600, 3509, 78685791386962780),
   (21513, true, 255025, 1, 128328580),
   (21534, false, 3505683, 13, 1829061729),
   (21553, true, 3617699100625, 12719, 1834957656425961600),
   (21574, false, 86247, 2, 853923),
   (21583, true, 409050625, 137, 1148279714400),
   (21585, true, 21660, 1, 265050),
   (21590, false, 20076660, 113, 1231971192900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints113

#print axioms CongruentPoints113.on_curve
#print axioms CongruentPoints113.indep
#print axioms CongruentPoints113.count

bsd/CongruentPoints114.lean

lean_all/bsd/CongruentPoints114.lean

/-
  bsd/CongruentPoints114.lean — T39 goal G173: points for congruent curves in 21601–21800 with Tunnell A = 2B
  (n = 21601, 21605, 21619, 21630, 21641, 21669, 21670, 21710, 21714, 21715, 21738, 21749, 21754, 21755, 21765, 21777, 21783, 21799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints114
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (21601, false, 20449, 1, 995280),
   (21605, true, 52819530625, 432, 12103828481821375),
   (21619, true, 888576481, 174, 17913936304745),
   (21630, true, 28830, 1, 3236400),
   (21641, true, 347633, 4, 18225207),
   (21669, false, 62491299, 1673, 479446659612180),
   (21670, true, 96413680, 39, 889652863000),
   (21710, true, 1648514763025, 7946, 1175813735583512025),
   (21714, true, 99372, 1, 30568356),
   (21715, true, 123725, 1, 42844200),
   (21738, true, 144150, 1, 54103680),
   (21749, true, 36386077, 3, 219480816464),
   (21754, true, 2035897, 6, 2681398259),
   (21755, true, 1050625, 2, 1073190375),
   (21765, true, 61440, 1, 14241600),
   (21777, true, 26775, 1, 2548980),
   (21783, true, 81740422363681, 26075, 726786627767522066296),
   (21799, true, 250304041, 71, 3558022027560)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints114

#print axioms CongruentPoints114.on_curve
#print axioms CongruentPoints114.indep
#print axioms CongruentPoints114.count

bsd/CongruentPoints115.lean

lean_all/bsd/CongruentPoints115.lean

/-
  bsd/CongruentPoints115.lean — T39 goal G174: points for congruent curves in 21801–22000 with Tunnell A = 2B
  (n = 21831, 21835, 21846, 21855, 21865, 21867, 21885, 21894, 21895, 21913, 21935, 21941, 21945, 21959, 21981, 21991, 21998), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints115
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (21831, true, 5584233, 7, 12951709632),
   (21835, false, 14170475, 27, 27293957900),
   (21846, false, 4434242, 19, 13733213768),
   (21855, true, 68479, 1, 16982792),
   (21865, true, 1342921734025, 4836, 1439001525572445275),
   (21867, false, 17462853, 53, 246092014980),
   (21885, false, 4335, 2, 5756625),
   (21894, false, 578, 1, 526184),
   (21895, true, 697224025, 178, 1843111644075),
   (21913, false, 186624, 5, 222504624),
   (21935, true, 54695025, 43, 271390557900),
   (21941, true, 1906573, 7, 2174097948),
   (21945, true, 43120, 1, 7707700),
   (21959, false, 784, 1, 614460),
   (21981, false, 24548, 13, 582013054),
   (21991, true, 1350489001, 217, 31857153925080),
   (21998, true, 6941457, 4, 18264885255)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints115

#print axioms CongruentPoints115.on_curve
#print axioms CongruentPoints115.indep
#print axioms CongruentPoints115.count

bsd/CongruentPoints116.lean

lean_all/bsd/CongruentPoints116.lean

/-
  bsd/CongruentPoints116.lean — T39 goal G175: points for congruent curves in 22001–22200 with Tunnell A = 2B
  (n = 22009, 22010, 22015, 22034, 22042, 22055, 22070, 22071, 22106, 22110, 22114, 22126, 22127, 22134, 22161, 22179, 22191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints116
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (22009, false, 467856, 5, 198074772),
   (22010, true, 28400, 1, 3024600),
   (22015, true, 34233523135, 211, 6331393744823700),
   (22034, true, 29808, 1, 3466008),
   (22042, true, 14333292, 1, 54264825300),
   (22055, false, 2371600, 13, 4428200700),
   (22070, false, 20, 1, 98700),
   (22071, false, 52983, 2, 16254819),
   (22106, false, 185585407, 116, 3166851118977),
   (22110, true, 33745690, 39, 16266635000),
   (22114, true, 378268826657, 2212, 222927731033411151),
   (22126, true, 186374106, 91, 465719179080),
   (22127, true, 23548, 1, 1236270),
   (22134, true, 46818, 1, 8926632),
   (22161, true, 49662801, 47, 58933190520),
   (22179, true, 149187, 1, 56982744),
   (22191, true, 657871201, 158, 9101057882345)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints116

#print axioms CongruentPoints116.on_curve
#print axioms CongruentPoints116.indep
#print axioms CongruentPoints116.count

bsd/CongruentPoints117.lean

lean_all/bsd/CongruentPoints117.lean

/-
  bsd/CongruentPoints117.lean — T39 goal G176: points for congruent curves in 22201–22400 with Tunnell A = 2B
  (n = 22205, 22211, 22215, 22219, 22265, 22274, 22282, 22287, 22289, 22310, 22321, 22323, 22327, 22330, 22335, 22345, 22351, 22386), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints117
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (22205, false, 3232804, 13, 3426274194),
   (22211, true, 23275, 1, 1061340),
   (22215, true, 49350625, 1, 346688105500),
   (22219, false, 24531083, 943, 97860159811176),
   (22265, false, 3254416, 13, 3407281548),
   (22274, false, 6727, 2, 7286643),
   (22282, true, 19095674, 5, 83409904032),
   (22287, true, 3965913, 1, 7897832460),
   (22289, true, 725949444015601, 107953, 18264621012761794791120),
   (22310, true, 67476940, 41, 460789100100),
   (22321, true, 1723969, 8, 1267117215),
   (22323, false, 15123, 1, 2019240),
   (22327, true, 1809025, 9, 59336020),
   (22330, true, 1854405, 1, 2525081475),
   (22335, true, 270047554921, 268, 140330706357068981),
   (22345, true, 93025, 2, 7864425),
   (22351, false, 127991808, 109, 2632294689024),
   (22386, true, 70602, 1, 17791704)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints117

#print axioms CongruentPoints117.on_curve
#print axioms CongruentPoints117.indep
#print axioms CongruentPoints117.count

bsd/CongruentPoints118.lean

lean_all/bsd/CongruentPoints118.lean

/-
  bsd/CongruentPoints118.lean — T39 goal G177: points for congruent curves in 22401–22600 with Tunnell A = 2B
  (n = 22407, 22466, 22470, 22471, 22490, 22494, 22495, 22519, 22523, 22534, 22557, 22586), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints118
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (22407, false, 6564228, 661, 25082935660530),
   (22466, false, 22846606, 35, 73340107728),
   (22470, true, 28350, 1, 2910600),
   (22471, true, 50163904729, 1343, 6620487759699240),
   (22490, true, 610090, 3, 449540000),
   (22494, false, 15053063, 26, 8344811539),
   (22495, true, 29324850025, 118, 5021447482182675),
   (22519, false, 7056, 1, 1796340),
   (22523, true, 93661841034612841, 1655090, 21566588506165963681314861),
   (22534, true, 13362662, 17, 42653617104),
   (22557, false, 507, 1, 507780),
   (22586, false, 947807, 24, 12631825423)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints118

#print axioms CongruentPoints118.on_curve
#print axioms CongruentPoints118.indep
#print axioms CongruentPoints118.count

bsd/CongruentPoints119.lean

lean_all/bsd/CongruentPoints119.lean

/-
  bsd/CongruentPoints119.lean — T39 goal G178: points for congruent curves in 22601–22800 with Tunnell A = 2B
  (n = 22605, 22614, 22629, 22630, 22633, 22649, 22654, 22661, 22678, 22685, 22695, 22701, 22705, 22715, 22758, 22759, 22774, 22781, 22789, 22790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints119
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (22605, true, 200475, 1, 89189100),
   (22614, false, 6627, 1, 1760103),
   (22629, true, 157609, 2, 51222925),
   (22630, false, 361252034, 135, 3782124610264),
   (22633, true, 38703873289, 1290, 1753518025743587),
   (22649, true, 2100464, 5, 2931502812),
   (22654, true, 27072, 1, 2438736),
   (22661, true, 11942347, 21, 22594920524),
   (22678, false, 6083586, 35, 66857373288),
   (22685, true, 41729674920480625, 1338238, 1947438698594943983846625),
   (22695, true, 3975680809, 9, 250678575252352),
   (22701, true, 971349, 1, 957071340),
   (22705, true, 5426495, 7, 12372408600),
   (22715, false, 996611, 1257, 35829944423812),
   (22758, true, 30258, 1, 3468600),
   (22759, true, 674686460449, 1330, 553195276940199543),
   (22774, false, 501264, 17, 4646299560),
   (22781, true, 4761229, 3, 10379479220),
   (22789, true, 324586575625, 3186, 129725530210200925),
   (22790, false, 3124810, 133, 712600902000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints119

#print axioms CongruentPoints119.on_curve
#print axioms CongruentPoints119.indep
#print axioms CongruentPoints119.count

bsd/CongruentPoints12.lean

lean_all/bsd/CongruentPoints12.lean

/-
  bsd/CongruentPoints12.lean — T39 goal G63: points for congruent curves in 1801–2000 with Tunnell A = 2B
  (n = 1806, 1807, 1830, 1839, 1846, 1855, 1858, 1869, 1870, 1878, 1885, 1886, 1887, 1903, 1910, 1918, 1919, 1927, 1939, 1943, 1958, 1965, 1974, 1981, 1983, 1991, 1995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints12
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1806, true, 183750, 1, 78762600),
   (1807, true, 28157934024025, 121818, 45590066824235463595),
   (1830, true, 37845, 1, 7353675),
   (1839, false, 777924, 97, 15245947710),
   (1846, false, 10021492, 217, 273345462468),
   (1855, true, 2770041820, 493, 143846537602950),
   (1858, true, 1726082, 23, 1864168560),
   (1869, true, 6069, 1, 449820),
   (1870, true, 17986, 3, 850816),
   (1878, true, 2178, 1, 51480),
   (1885, true, 6525, 1, 504600),
   (1886, true, 3362, 1, 161376),
   (1887, true, 1066479649, 305, 34353009421768),
   (1903, true, 2318228540329, 33945, 1145479275401959108),
   (1910, true, 5290, 1, 358800),
   (1918, true, 262766, 5, 132434064),
   (1919, true, 395890609, 310, 6970204801023),
   (1927, true, 3139718205625, 34799, 3722064023508721800),
   (1939, true, 76729, 6, 8823835),
   (1943, true, 232109077729, 2990, 111511224082859433),
   (1958, true, 9900, 1, 965580),
   (1965, true, 277440, 11, 75306600),
   (1974, true, 12138, 1, 1319472),
   (1981, true, 1792252, 27, 1420968934),
   (1983, true, 436921, 10, 257346469),
   (1991, true, 46627060489, 1350, 10037786776789987),
   (1995, true, 2205, 1, 44100)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 27 := rfl

end CongruentPoints12

#print axioms CongruentPoints12.on_curve
#print axioms CongruentPoints12.indep
#print axioms CongruentPoints12.count

bsd/CongruentPoints120.lean

lean_all/bsd/CongruentPoints120.lean

/-
  bsd/CongruentPoints120.lean — T39 goal G179: points for congruent curves in 22801–23000 with Tunnell A = 2B
  (n = 22810, 22814, 22829, 22830, 22845, 22855, 22862, 22865, 22866, 22870, 22879, 22890, 22895, 22919, 22933, 22935, 22945, 22949, 22954, 22989), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints120
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (22810, false, 14400, 1, 2122800),
   (22814, true, 2958850, 9, 3974929120),
   (22829, true, 77710486725, 1781, 7861601564777520),
   (22830, false, 19220, 1, 1708100),
   (22845, false, 8405, 1, 1947500),
   (22855, true, 426409, 3, 243905948),
   (22862, true, 113600, 1, 37505040),
   (22865, true, 1809025, 7, 1910330400),
   (22866, true, 127308, 1, 44685108),
   (22870, false, 16820, 1, 2009700),
   (22879, true, 281199361, 79, 4062278176320),
   (22890, true, 2851440, 7, 4426860600),
   (22895, true, 3524048790025, 3422, 6596330409261479325),
   (22919, true, 303792106514689, 115034, 306409211690051593305),
   (22933, true, 23275, 1, 606480),
   (22935, false, 5098335, 23, 24858711900),
   (22945, false, 20736, 1, 1414512),
   (22949, true, 81917881369, 1716, 13252312351956995),
   (22954, true, 4482018, 7, 9185148888),
   (22989, true, 3164187, 1, 5628358476)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints120

#print axioms CongruentPoints120.on_curve
#print axioms CongruentPoints120.indep
#print axioms CongruentPoints120.count

bsd/CongruentPoints121.lean

lean_all/bsd/CongruentPoints121.lean

/-
  bsd/CongruentPoints121.lean — T39 goal G180: points for congruent curves in 23001–23200 with Tunnell A = 2B
  (n = 23001, 23010, 23023, 23042, 23046, 23055, 23069, 23070, 23117, 23135, 23141, 23142, 23165, 23185, 23191, 23199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints121
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (23001, true, 485809, 4, 221043095),
   (23010, true, 34810, 1, 4873400),
   (23023, true, 23552, 1, 761760),
   (23042, true, 360928905500641, 62850, 6635360494268374800689),
   (23046, true, 1282894, 5, 1298288728),
   (23055, false, 9801, 1, 2065932),
   (23069, false, 186695071, 280, 24580177673967),
   (23070, true, 23805, 1, 905625),
   (23117, true, 1034825201367052225, 3775726, 997880327982176524995816135),
   (23135, false, 3969, 1, 1435896),
   (23141, true, 13796146849, 492, 1480870128513295),
   (23142, true, 94192, 1, 28022120),
   (23165, true, 6375549250225, 5642, 15990130377357040575),
   (23185, true, 986362023772801, 165213, 23761606485332413181276),
   (23191, true, 5067873721, 313, 322489817724360),
   (23199, false, 126852, 7, 402339762)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints121

#print axioms CongruentPoints121.on_curve
#print axioms CongruentPoints121.indep
#print axioms CongruentPoints121.count

bsd/CongruentPoints122.lean

lean_all/bsd/CongruentPoints122.lean

/-
  bsd/CongruentPoints122.lean — T39 goal G181: points for congruent curves in 23201–23400 with Tunnell A = 2B
  (n = 23205, 23206, 23218, 23233, 23254, 23258, 23259, 23270, 23294, 23329, 23341, 23359, 23374, 23381, 23385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints122
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (23205, true, 31875, 1, 3901500),
   (23206, true, 160178, 1, 63430488),
   (23218, true, 70356650, 23, 581081602920),
   (23233, false, 10130463, 92, 625055419695),
   (23254, true, 292336, 3, 110356840),
   (23258, true, 3830842, 7, 7158457440),
   (23259, true, 79707, 1, 21523824),
   (23270, true, 4165330, 9, 7580900600),
   (23294, false, 356611, 5, 274931463),
   (23329, false, 1089329, 7, 361683960),
   (23341, true, 32047193, 2, 181419159573),
   (23359, true, 124609, 1, 43207200),
   (23374, true, 473327043703856329, 915064, 325364659237732607808760965),
   (23381, true, 390052348, 129, 542698111718),
   (23385, true, 4406460, 11, 7090782750)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints122

#print axioms CongruentPoints122.on_curve
#print axioms CongruentPoints122.indep
#print axioms CongruentPoints122.count

bsd/CongruentPoints123.lean

lean_all/bsd/CongruentPoints123.lean

/-
  bsd/CongruentPoints123.lean — T39 goal G182: points for congruent curves in 23401–23600 with Tunnell A = 2B
  (n = 23405, 23406, 23430, 23439, 23446, 23457, 23478, 23485, 23497, 23506, 23529, 23541, 23585, 23590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints123
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (23405, true, 133225, 2, 34596525),
   (23406, false, 688127, 16, 4937629697),
   (23430, false, 9703398606, 1655, 6248966665636728),
   (23439, true, 72111, 1, 18312840),
   (23446, true, 380689, 4, 39972345),
   (23457, false, 86247, 2, 10850805),
   (23478, false, 163407482, 1013, 307968266402720),
   (23485, true, 361669, 3, 176494472),
   (23497, true, 3988987590025, 8136, 7336400354062311205),
   (23506, true, 1421298, 1, 1694214192),
   (23529, true, 7161372, 7, 18914377014),
   (23541, true, 23548, 1, 88102),
   (23585, false, 1782225, 389, 4764488628900),
   (23590, true, 409374, 1, 261491832)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints123

#print axioms CongruentPoints123.on_curve
#print axioms CongruentPoints123.indep
#print axioms CongruentPoints123.count

bsd/CongruentPoints124.lean

lean_all/bsd/CongruentPoints124.lean

/-
  bsd/CongruentPoints124.lean — T39 goal G183: points for congruent curves in 23601–23800 with Tunnell A = 2B
  (n = 23606, 23619, 23639, 23645, 23655, 23686, 23694, 23701, 23705, 23709, 23717, 23718, 23730, 23737, 23746, 23766, 23779, 23790, 23795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints124
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (23606, true, 481783808, 13, 10574586895488),
   (23619, true, 8313284170447369, 577524, 242125278730752144608155),
   (23639, true, 9516892, 19, 12996213846),
   (23645, true, 2338111733700625, 211922, 100723818545146262643375),
   (23655, true, 43669980, 37, 193609696950),
   (23686, true, 24986, 1, 1257360),
   (23694, true, 85623186, 41, 701355378240),
   (23701, true, 5556158676726025, 376494, 329868339142343347164835),
   (23705, true, 931225, 2, 893961525),
   (23709, false, 7056, 5, 49785372),
   (23717, true, 3615015625, 198, 210040365296125),
   (23718, true, 30150, 1, 3232080),
   (23730, false, 160286, 5, 228678688),
   (23737, true, 1374728029155625, 18377, 50970371330120319253800),
   (23746, true, 24304, 1, 807240),
   (23766, false, 25538, 3, 33937064),
   (23779, true, 268363, 1, 138475308),
   (23790, true, 9287616, 19, 10775956464),
   (23795, true, 6601005, 1, 16959469800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints124

#print axioms CongruentPoints124.on_curve
#print axioms CongruentPoints124.indep
#print axioms CongruentPoints124.count

bsd/CongruentPoints125.lean

lean_all/bsd/CongruentPoints125.lean

/-
  bsd/CongruentPoints125.lean — T39 goal G184: points for congruent curves in 23801–24000 with Tunnell A = 2B
  (n = 23807, 23834, 23849, 23870, 23871, 23874, 23883, 23903, 23907, 23929, 23938, 23941, 23959, 23970, 23982), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints125
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (23807, true, 224287, 3, 31400180),
   (23834, false, 913051098, 1223, 1076849224611504),
   (23849, true, 5595102967609, 9703, 12122197531733674440),
   (23870, true, 97216, 1, 29383536),
   (23871, true, 1540081, 8, 241430345),
   (23874, true, 179574, 1, 75421080),
   (23883, true, 53067, 1, 10916640),
   (23903, true, 2634684272, 251, 110968259095980),
   (23907, true, 24843, 1, 1064700),
   (23929, true, 5129352350533009, 444139, 143770951426417686541560),
   (23938, false, 146882, 17, 2650770240),
   (23941, true, 161003225, 22, 2037624614955),
   (23959, true, 2286848041, 95, 108869404135536),
   (23970, true, 66270, 1, 15904800),
   (23982, true, 1023414, 5, 839060712)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints125

#print axioms CongruentPoints125.on_curve
#print axioms CongruentPoints125.indep
#print axioms CongruentPoints125.count

bsd/CongruentPoints126.lean

lean_all/bsd/CongruentPoints126.lean

/-
  bsd/CongruentPoints126.lean — T39 goal G185: points for congruent curves in 24001–24200 with Tunnell A = 2B
  (n = 24045, 24054, 24070, 24081, 24094, 24095, 24133, 24135, 24161, 24190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints126
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (24045, false, 7442100624, 571, 212634209412324),
   (24054, false, 1387778, 11, 3013867304),
   (24070, true, 6759939150, 293, 529190740930200),
   (24081, true, 60809148, 11, 473646380562),
   (24094, true, 1468898, 1, 1780036992),
   (24095, true, 105625, 2, 14044875),
   (24133, true, 2460647136025, 9954, 910884741748650955),
   (24135, true, 2588881, 4, 4118909671),
   (24161, true, 224090271426025, 18031, 3352490227184911215060),
   (24190, false, 9610, 1, 2176200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints126

#print axioms CongruentPoints126.on_curve
#print axioms CongruentPoints126.indep
#print axioms CongruentPoints126.count

bsd/CongruentPoints127.lean

lean_all/bsd/CongruentPoints127.lean

/-
  bsd/CongruentPoints127.lean — T39 goal G186: points for congruent curves in 24201–24400 with Tunnell A = 2B
  (n = 24211, 24230, 24245, 24269, 24295, 24297, 24301, 24305, 24310, 24313, 24335, 24361, 24366, 24385, 24386, 24395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints127
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (24211, false, 20339, 1, 1873080),
   (24230, false, 16820, 7, 153963900),
   (24245, false, 23716, 1, 775698),
   (24269, false, 16407727, 88, 758368046247),
   (24295, true, 198475397340373729, 545475, 88363269094934265354358192),
   (24297, false, 275625, 13, 2150889300),
   (24301, false, 38690251, 49, 271657618980),
   (24305, true, 477204025, 62, 10222778763675),
   (24310, true, 67626, 1, 16410576),
   (24313, true, 6153618025, 329, 436350003112920),
   (24335, true, 2062698185, 22, 93679906692675),
   (24361, false, 518400, 13, 2940653520),
   (24366, true, 4163052, 13, 1248258276),
   (24385, true, 202385022511681, 61893, 2554140170733047941004),
   (24386, false, 2396304, 17, 10259602200),
   (24395, true, 1050625, 6, 591081625)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints127

#print axioms CongruentPoints127.on_curve
#print axioms CongruentPoints127.indep
#print axioms CongruentPoints127.count

bsd/CongruentPoints128.lean

lean_all/bsd/CongruentPoints128.lean

/-
  bsd/CongruentPoints128.lean — T39 goal G187: points for congruent curves in 24401–24600 with Tunnell A = 2B
  (n = 24409, 24414, 24430, 24431, 24447, 24455, 24465, 24474, 24486, 24490, 24503, 24510, 24518, 24519, 24521, 24530, 24535, 24557, 24559, 24577, 24583, 24595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints128
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (24409, true, 100489, 2, 7536675),
   (24414, true, 97969, 2, 2449225),
   (24430, true, 1914860926225, 8618, 846932177035815975),
   (24431, true, 34829713116, 665, 6179537903667414),
   (24447, true, 5707047025, 483, 15794310698020),
   (24455, true, 32742485631025, 26199, 160862783352029668700),
   (24465, true, 54289, 1, 11292112),
   (24474, true, 31974, 1, 3679200),
   (24486, true, 117978, 1, 39640608),
   (24490, true, 204490, 1, 91806000),
   (24503, true, 1311025, 1, 1500861420),
   (24510, true, 210786, 1, 96118416),
   (24518, false, 856727, 6, 196536725),
   (24519, true, 114873, 1, 38036592),
   (24521, true, 29929, 1, 2968680),
   (24530, true, 19692684, 19, 78055235148),
   (24535, true, 119434521649, 1118, 39891893109688257),
   (24557, false, 611524, 5, 42418026),
   (24559, true, 1438305625, 236, 16864565722275),
   (24577, false, 2527, 1, 1228920),
   (24583, true, 628849, 5, 105646632),
   (24595, true, 1825685829522025, 6182, 78007975940961940158675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints128

#print axioms CongruentPoints128.on_curve
#print axioms CongruentPoints128.indep
#print axioms CongruentPoints128.count

bsd/CongruentPoints129.lean

lean_all/bsd/CongruentPoints129.lean

/-
  bsd/CongruentPoints129.lean — T39 goal G188: points for congruent curves in 24601–24800 with Tunnell A = 2B
  (n = 24610, 24627, 24630, 24634, 24645, 24653, 24654, 24655, 24679, 24695, 24701, 24727, 24735, 24765, 24785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints129
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (24610, false, 3726, 5, 37554768),
   (24627, true, 31827, 1, 3596760),
   (24630, false, 2304, 1, 1177056),
   (24634, true, 38348997241, 182, 7508145590196525),
   (24645, false, 695795, 13, 3425388400),
   (24653, true, 5602372801, 440, 219586640679201),
   (24654, false, 5649821583, 1684, 5238009334167561),
   (24655, true, 178089025, 82, 868206816825),
   (24679, true, 238918849, 63, 3368343378140),
   (24695, true, 11088055, 19, 21954348900),
   (24701, true, 1092252821881, 712, 1141448235343319475),
   (24727, true, 10347975625, 348, 1007608272465275),
   (24735, true, 85007399789281225, 537298, 24697183643920847669284675),
   (24765, true, 9435465, 16, 21465682875),
   (24785, true, 87309308163025, 58672, 173157577963046079975)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints129

#print axioms CongruentPoints129.on_curve
#print axioms CongruentPoints129.indep
#print axioms CongruentPoints129.count

bsd/CongruentPoints13.lean

lean_all/bsd/CongruentPoints13.lean

/-
  bsd/CongruentPoints13.lean — T39 goal G64: points for congruent curves in 2001–2200 with Tunnell A = 2B
  (n = 2005, 2006, 2014, 2015, 2021, 2022, 2030, 2031, 2035, 2038, 2046, 2047, 2054, 2055, 2059, 2085, 2086, 2093, 2094, 2111, 2113, 2119, 2130, 2134, 2135, 2139, 2145, 2154, 2159, 2170, 2189, 2190, 2191, 2195, 2199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints13
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (2005, true, 779805625, 158, 21731168398875),
   (2006, true, 118354, 3, 40240360),
   (2014, false, 131323478, 293, 1288816101144),
   (2015, true, 83265625, 201, 159596067500),
   (2021, false, 9059283, 79, 26414658684),
   (2022, true, 2028, 1, 7020),
   (2030, true, 2205, 1, 40425),
   (2031, true, 458329, 15, 23833108),
   (2035, true, 34225, 4, 1950825),
   (2038, false, 7380482, 219, 264784877000),
   (2046, true, 2178, 1, 34848),
   (2047, true, 4225, 1, 240240),
   (2054, true, 49729914, 103, 315232279440),
   (2055, true, 2667619201, 1139, 4807714936024),
   (2059, true, 867941, 7, 803121360),
   (2085, true, 1159260, 7, 1243306350),
   (2086, false, 219303, 22, 461516349),
   (2093, true, 4994588, 29, 10446030750),
   (2094, true, 1461612, 13, 1714470876),
   (2111, true, 8837692081, 2023, 175038613571760),
   (2113, true, 14938225, 71, 40479907440),
   (2119, true, 238918849, 335, 356217755868),
   (2130, true, 2205, 1, 26775),
   (2134, true, 2178, 1, 20328),
   (2135, true, 66422175625, 5151, 8938870324397000),
   (2139, true, 2883, 1, 103788),
   (2145, true, 4225, 1, 236600),
   (2154, true, 2178, 1, 15048),
   (2159, true, 347633, 8, 188079177),
   (2170, true, 2205, 1, 18375),
   (2189, true, 435611, 1, 287503260),
   (2190, true, 799350, 19, 105514200),
   (2191, true, 83923921, 113, 724849833840),
   (2195, true, 2645, 1, 75900),
   (2199, true, 537289, 6, 389534525)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 35 := rfl

end CongruentPoints13

#print axioms CongruentPoints13.on_curve
#print axioms CongruentPoints13.indep
#print axioms CongruentPoints13.count

bsd/CongruentPoints130.lean

lean_all/bsd/CongruentPoints130.lean

/-
  bsd/CongruentPoints130.lean — T39 goal G189: points for congruent curves in 24801–25000 with Tunnell A = 2B
  (n = 24802, 24815, 24817, 24830, 24845, 24853, 24871, 24886, 24887, 24889, 24901, 24905, 24910, 24913, 24934, 24949, 24973, 24981, 24994, 24995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints130
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (24802, false, 19600, 1, 2127720),
   (24815, true, 81039118721929, 28950, 705095003049765626717),
   (24817, true, 7316208, 7, 19513974180),
   (24830, false, 203813999, 828, 243009509200199),
   (24845, false, 605, 7, 29944200),
   (24853, true, 1340525, 7, 648764220),
   (24871, true, 100793, 2, 5140443),
   (24886, false, 6681983, 312, 6262032480319),
   (24887, true, 92509558208, 1321, 24843904164638760),
   (24889, true, 1418053941901249, 23821, 53397089684666465576040),
   (24901, true, 649893049, 126, 13149953875045),
   (24905, false, 495616, 13, 2942482752),
   (24910, true, 9163701484, 225, 868869619206148),
   (24913, true, 4718287, 1, 10248740040),
   (24934, true, 78750, 1, 20962200),
   (24949, true, 88468565727529, 58590, 208563217176360339917),
   (24973, true, 513419540089, 2340, 354594225319248563),
   (24981, true, 107440383961, 266, 35212150409912405),
   (24994, false, 4187618, 17, 12043948224),
   (24995, true, 367297225, 118, 2249917625475)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints130

#print axioms CongruentPoints130.on_curve
#print axioms CongruentPoints130.indep
#print axioms CongruentPoints130.count

bsd/CongruentPoints131.lean

lean_all/bsd/CongruentPoints131.lean

/-
  bsd/CongruentPoints131.lean — T39 goal G191: points for congruent curves in 25001–25200 with Tunnell A = 2B
  (n = 25014, 25018, 25021, 25023, 25027, 25045, 25049, 25070, 25071, 25085, 25095, 25105, 25109, 25121, 25122, 25134, 25149, 25151, 25174, 25177, 25194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints131
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (25014, false, 4761698, 19, 16742525176),
   (25018, false, 6330807, 74, 344335155675),
   (25021, true, 234171539, 53, 3418235407860),
   (25023, false, 22123353, 31, 44328381300),
   (25027, true, 8514776524081, 8050, 24391334143734331521),
   (25045, true, 1225553132425801, 216932, 11761339335427448935749),
   (25049, true, 565213013575681, 52438, 13337342391998979769305),
   (25070, true, 297025, 2, 152373825),
   (25071, true, 20770118118585889, 69730, 2993304988507287603752713),
   (25085, true, 58725, 1, 12867300),
   (25095, false, 2824080, 11, 1874999700),
   (25105, true, 3358661002225, 9888, 4201418843419422025),
   (25109, false, 2178788, 39, 56280534526),
   (25121, true, 1099651921, 199, 15538822792080),
   (25122, true, 936150, 1, 905444280),
   (25134, false, 373451238, 149, 8012213049384),
   (25149, false, 5483189, 17, 11171115100),
   (25151, true, 5695866558031225, 215787, 420687817866836033373280),
   (25174, true, 3814025, 2, 7446014715),
   (25177, false, 134657, 3, 66874600),
   (25194, true, 229957, 3, 18363709)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints131

#print axioms CongruentPoints131.on_curve
#print axioms CongruentPoints131.indep
#print axioms CongruentPoints131.count

bsd/CongruentPoints132.lean

lean_all/bsd/CongruentPoints132.lean

/-
  bsd/CongruentPoints132.lean — T39 goal G192: points for congruent curves in 25201–25400 with Tunnell A = 2B
  (n = 25206, 25207, 25214, 25221, 25231, 25233, 25234, 25258, 25259, 25267, 25279, 25285, 25311, 25313, 25322, 25345, 25365, 25379, 25385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints132
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (25206, false, 11094, 1, 2383920),
   (25207, true, 15194260225, 342, 1837322622602585),
   (25214, false, 522242, 9, 1426850992),
   (25221, false, 22743, 2, 14822451),
   (25231, true, 27678407, 19, 137506325976),
   (25233, false, 1365952223, 812, 612815874549425),
   (25234, true, 42284, 1, 6976860),
   (25258, true, 69966193, 48, 324894342025),
   (25259, true, 525625, 2, 373971675),
   (25267, true, 18694798931655625, 471844, 2437653945485174109879675),
   (25279, true, 34423793, 16, 198369514167),
   (25285, true, 3161250625, 316, 106954563158625),
   (25311, true, 16426839, 25, 17938108188),
   (25313, false, 225, 1, 379680),
   (25322, true, 27500, 1, 1778700),
   (25345, true, 469225, 1, 320949900),
   (25365, false, 319264004, 119, 2940930377594),
   (25379, true, 2951205625, 332, 51085964064525),
   (25385, true, 7322657893681, 16849, 3515175674476266996)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints132

#print axioms CongruentPoints132.on_curve
#print axioms CongruentPoints132.indep
#print axioms CongruentPoints132.count

bsd/CongruentPoints133.lean

lean_all/bsd/CongruentPoints133.lean

/-
  bsd/CongruentPoints133.lean — T39 goal G193: points for congruent curves in 25401–25600 with Tunnell A = 2B
  (n = 25409, 25413, 25415, 25417, 25438, 25442, 25454, 25467, 25473, 25474, 25485, 25493, 25530, 25555, 25591, 25599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints133
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (25409, true, 452880961, 127, 4101621625920),
   (25413, true, 1668787, 7, 1435156820),
   (25415, true, 3147973708009, 8899, 4294608171420008052),
   (25417, true, 131383, 1, 46722480),
   (25438, true, 42793984, 15, 277430723648),
   (25442, true, 1281806644561, 6930, 438650926059797191),
   (25454, false, 3752518, 13, 4074198744),
   (25467, false, 216333, 7, 571622220),
   (25473, false, 298116, 5, 307254402),
   (25474, false, 528750, 11, 2208116400),
   (25485, false, 5274735, 38, 83645867025),
   (25493, true, 5877117, 13, 9690712920),
   (25530, false, 1491870, 13, 4944846600),
   (25555, true, 361805, 1, 217083000),
   (25591, true, 35996198236, 1023, 4563174465187750),
   (25599, true, 7096221993, 244, 583829682913323)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints133

#print axioms CongruentPoints133.on_curve
#print axioms CongruentPoints133.indep
#print axioms CongruentPoints133.count

bsd/CongruentPoints134.lean

lean_all/bsd/CongruentPoints134.lean

/-
  bsd/CongruentPoints134.lean — T39 goal G194: points for congruent curves in 25601–25800 with Tunnell A = 2B
  (n = 25619, 25638, 25655, 25666, 25670, 25681, 25683, 25690, 25707, 25718, 25745, 25751, 25754, 25795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints134
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (25619, true, 509777, 4, 216387801),
   (25638, true, 28812, 1, 2231460),
   (25655, true, 34947546606025, 34191, 106056221951659220200),
   (25666, false, 578, 1, 616896),
   (25670, false, 362551, 22, 7477747557),
   (25681, true, 217985338321, 1253, 100018863396314820),
   (25683, true, 19150012, 19, 73325152810),
   (25690, false, 18490, 1, 2425200),
   (25707, true, 583737, 4, 316468845),
   (25718, true, 29282, 1, 2395800),
   (25745, true, 62792055, 49, 87490263300),
   (25751, true, 1492910885622025, 240726, 1722816383049856294685),
   (25754, true, 28549867117, 291, 4809892116682961),
   (25795, true, 9898245, 19, 10558128000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints134

#print axioms CongruentPoints134.on_curve
#print axioms CongruentPoints134.indep
#print axioms CongruentPoints134.count

bsd/CongruentPoints135.lean

lean_all/bsd/CongruentPoints135.lean

/-
  bsd/CongruentPoints135.lean — T39 goal G195: points for congruent curves in 25801–26000 with Tunnell A = 2B
  (n = 25806, 25871, 25878, 25909, 25926, 25935, 25942, 25951, 25959, 25979, 25985, 25987, 25991, 25993), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints135
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (25806, true, 53958, 1, 11007432),
   (25871, true, 2217121, 7, 2708431440),
   (25878, false, 761378, 43, 41745800440),
   (25909, true, 12599184518089, 3570, 44705859227489282563),
   (25926, true, 893313884159449, 62240, 26530407952866956795293),
   (25935, true, 1900665, 8, 1276613325),
   (25942, false, 37026, 5, 124591368),
   (25951, true, 8562254117937601, 129007, 791277754564946111255520),
   (25959, true, 259081, 3, 56997820),
   (25979, true, 2932114201, 312, 80351708410115),
   (25985, true, 759829225, 129, 17222203486700),
   (25987, true, 2527161987025, 9846, 317122809548010895),
   (25991, true, 43687, 1, 7339416),
   (25993, false, 2070617, 9, 548683840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints135

#print axioms CongruentPoints135.on_curve
#print axioms CongruentPoints135.indep
#print axioms CongruentPoints135.count

bsd/CongruentPoints136.lean

lean_all/bsd/CongruentPoints136.lean

/-
  bsd/CongruentPoints136.lean — T39 goal G196: points for congruent curves in 26001–26200 with Tunnell A = 2B
  (n = 26013, 26045, 26059, 26063, 26067, 26070, 26078, 26089, 26093, 26115, 26123, 26130), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints136
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (26013, true, 105625, 2, 5902325),
   (26045, false, 3600, 1, 1547700),
   (26059, true, 217948, 1, 101018898),
   (26063, true, 18431049121, 770, 1363813718228919),
   (26067, true, 141267, 1, 52184160),
   (26070, true, 172480, 1, 70809200),
   (26078, true, 2412982, 9, 1811930120),
   (26089, true, 1576804681, 223, 35585965290840),
   (26093, false, 250185892, 113, 3480407447550),
   (26115, false, 21564015, 38, 143658155025),
   (26123, true, 488153404, 135, 2382740023958),
   (26130, true, 516906, 1, 371160504)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints136

#print axioms CongruentPoints136.on_curve
#print axioms CongruentPoints136.indep
#print axioms CongruentPoints136.count

bsd/CongruentPoints137.lean

lean_all/bsd/CongruentPoints137.lean

/-
  bsd/CongruentPoints137.lean — T39 goal G197: points for congruent curves in 26201–26400 with Tunnell A = 2B
  (n = 26209, 26229, 26230, 26238, 26239, 26243, 26245, 26247, 26255, 26265, 26270, 26286, 26310, 26315, 26319, 26327, 26329, 26331, 26358, 26367, 26385, 26386, 26390, 26391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints137
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (26209, true, 46560446079017809, 679399, 9701700368407414389213360),
   (26229, false, 6627, 1, 2065932),
   (26230, true, 1684071892128025, 120694, 67307698913719822040925),
   (26238, false, 602934, 5, 200600136),
   (26239, true, 1907161, 7, 1945304220),
   (26243, false, 31788127, 44, 223457182095),
   (26245, true, 180625, 2, 62468625),
   (26247, true, 731991, 5, 277558164),
   (26255, true, 2020562746225, 2222, 2866242495346421025),
   (26265, true, 811801, 1, 731049776),
   (26270, false, 37559, 18, 1649521061),
   (26286, true, 26575146, 17, 131281221240),
   (26310, false, 123210, 11, 1116615600),
   (26315, true, 1918225, 8, 1271783175),
   (26319, false, 3562551, 14, 7041713085),
   (26327, false, 19600, 1, 2460780),
   (26329, true, 70344873, 7, 589896235032),
   (26331, true, 1149787, 1, 1232571664),
   (26358, false, 15229981875, 1319, 5337923493110175),
   (26367, true, 811801, 5, 426915424),
   (26385, true, 46411215, 17, 311883364800),
   (26386, true, 30258, 1, 2576112),
   (26390, true, 105625, 2, 1204125),
   (26391, true, 2079417, 7, 2348195256)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end CongruentPoints137

#print axioms CongruentPoints137.on_curve
#print axioms CongruentPoints137.indep
#print axioms CongruentPoints137.count

bsd/CongruentPoints138.lean

lean_all/bsd/CongruentPoints138.lean

/-
  bsd/CongruentPoints138.lean — T39 goal G198: points for congruent curves in 26401–26600 with Tunnell A = 2B
  (n = 26414, 26423, 26426, 26441, 26455, 26473, 26474, 26485, 26486, 26489, 26491, 26497, 26510, 26513, 26519, 26535, 26551, 26565, 26574, 26593, 26598), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints138
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (26414, true, 2044242, 7, 2262359184),
   (26423, true, 349129225, 17, 6521918979240),
   (26426, true, 93897523850, 1373, 24389492182673280),
   (26441, true, 20730977, 28, 1029460881),
   (26455, true, 28561, 1, 1819116),
   (26473, true, 30470423, 1, 168196734960),
   (26474, true, 7812126, 5, 21756530376),
   (26485, true, 5556226837225, 9282, 11941527435415858925),
   (26486, false, 195938, 3, 60093496),
   (26489, true, 11706121659241, 15113, 34287493080141744120),
   (26491, false, 491751371, 137, 1629248771640),
   (26497, true, 6958283437897817281, 6143585, 18164376091210879108961727696),
   (26510, false, 7290, 1, 2176200),
   (26513, false, 11025, 1, 2531760),
   (26519, true, 1273691087838481, 110268, 43975766870174803892345),
   (26535, true, 2784145225, 119, 145561292199800),
   (26551, true, 7252249, 7, 19213477800),
   (26565, true, 1309275, 1, 1497810600),
   (26574, true, 14593165248, 173, 1760265996745968),
   (26593, true, 4950967, 9, 9919006300),
   (26598, true, 3572998, 7, 6288476480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints138

#print axioms CongruentPoints138.on_curve
#print axioms CongruentPoints138.indep
#print axioms CongruentPoints138.count

bsd/CongruentPoints139.lean

lean_all/bsd/CongruentPoints139.lean

/-
  bsd/CongruentPoints139.lean — T39 goal G199: points for congruent curves in 26601–26800 with Tunnell A = 2B
  (n = 26606, 26619, 26626, 26638, 26655, 26670, 26697, 26709, 26715, 26718, 26726, 26751, 26782, 26790, 26791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints139
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (26606, false, 10542548, 27, 52861233916),
   (26619, false, 178752, 11, 1359667512),
   (26626, true, 6079982259526081, 319534, 424050680853867101446785),
   (26638, false, 1539, 5, 26125209),
   (26655, true, 906688279900225, 83979, 26708297977195989757100),
   (26670, true, 55470, 1, 11455200),
   (26697, true, 27753, 1, 1263240),
   (26709, true, 24598989, 23, 99871895340),
   (26715, true, 469225, 2, 312973075),
   (26718, false, 8959802, 19, 10688944600),
   (26726, true, 1163225, 2, 1249262595),
   (26751, false, 3755844, 13, 4876812270),
   (26782, true, 1717161264025, 2422, 2240739167823160605),
   (26790, true, 705183765, 23, 18722581888725),
   (26791, true, 122713, 1, 41949888)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints139

#print axioms CongruentPoints139.on_curve
#print axioms CongruentPoints139.indep
#print axioms CongruentPoints139.count

bsd/CongruentPoints14.lean

lean_all/bsd/CongruentPoints14.lean

/-
  bsd/CongruentPoints14.lean — T39 goal G65: points for congruent curves in 2201–2400 with Tunnell A = 2B
  (n = 2201, 2238, 2245, 2249, 2255, 2257, 2261, 2262, 2269, 2271, 2273, 2278, 2282, 2293, 2298, 2301, 2306, 2310, 2319, 2329, 2334, 2337, 2341, 2343, 2359, 2365, 2373, 2379, 2397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints14
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (2201, true, 10001344, 55, 23601921672),
   (2238, true, 1669548, 11, 2128673700),
   (2245, false, 3034205, 321, 402913211500),
   (2249, true, 29929, 2, 4938285),
   (2255, true, 34225, 2, 6107775),
   (2257, false, 665856, 25, 1014763728),
   (2261, true, 269059, 9, 102242420),
   (2262, true, 528525, 13, 265331295),
   (2269, true, 41670962643025, 133518, 64649720618065593935),
   (2271, true, 8507261391841, 41314, 22087916797331296855),
   (2273, true, 3045025, 31, 3702024480),
   (2278, true, 1221025, 2, 1349195055),
   (2282, true, 6429698, 31, 15326061960),
   (2293, true, 1340882941225, 23562, 487774668279718835),
   (2298, true, 5202, 1, 336600),
   (2301, true, 1217307, 23, 15203916),
   (2306, true, 722402, 7, 606442656),
   (2310, true, 2541, 1, 53361),
   (2319, true, 44315895368801281, 2631565, 8694980275717856488253804),
   (2329, true, 469225, 9, 294297920),
   (2334, false, 773286, 25, 1087709688),
   (2337, true, 133209, 5, 43692552),
   (2341, true, 1933860871219225, 846198, 42406750832199577224245),
   (2343, false, 42811593, 293, 1285942230540),
   (2359, true, 113569, 5, 32707872),
   (2365, true, 2475, 1, 36300),
   (2373, true, 23548, 1, 3595130),
   (2379, true, 48841, 2, 10587005),
   (2397, true, 7823808, 31, 20914016760)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 29 := rfl

end CongruentPoints14

#print axioms CongruentPoints14.on_curve
#print axioms CongruentPoints14.indep
#print axioms CongruentPoints14.count

bsd/CongruentPoints140.lean

lean_all/bsd/CongruentPoints140.lean

/-
  bsd/CongruentPoints140.lean — T39 goal G200: points for congruent curves in 26801–27000 with Tunnell A = 2B
  (n = 26815, 26818, 26826, 26845, 26866, 26869, 26890, 26921, 26943, 26945, 26970, 26989), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints140
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (26815, true, 279775, 3, 74861900),
   (26818, false, 566766, 5, 269637648),
   (26826, true, 46818, 1, 8302392),
   (26845, true, 316771, 3, 115304644),
   (26866, true, 44541, 1, 7497735),
   (26869, false, 8100, 1, 2305710),
   (26890, false, 1288810, 7, 311037600),
   (26921, true, 462637081, 119, 5637576868440),
   (26943, true, 11522623, 19, 20971173860),
   (26945, false, 104329, 109, 103403129544),
   (26970, false, 799350, 11, 2828779200),
   (26989, true, 95977953, 28, 917145251793)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints140

#print axioms CongruentPoints140.on_curve
#print axioms CongruentPoints140.indep
#print axioms CongruentPoints140.count

bsd/CongruentPoints141.lean

lean_all/bsd/CongruentPoints141.lean

/-
  bsd/CongruentPoints141.lean — T39 goal G201: points for congruent curves in 27001–27200 with Tunnell A = 2B
  (n = 27006, 27007, 27071, 27087, 27094, 27110, 27118, 27149, 27159, 27183, 27185, 27186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints141
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (27006, true, 7442082, 1, 20301999696),
   (27007, true, 52030173808, 763, 11313309980234100),
   (27071, true, 52992, 1, 10486896),
   (27087, true, 39403268311579225, 1181953, 2180681717862758197368860),
   (27094, true, 50555358, 37, 244249674312),
   (27110, false, 3566615999, 1224, 2416237115550049),
   (27118, true, 31850, 1, 2981160),
   (27149, true, 56746827236401, 5526, 427431008243603893375),
   (27159, true, 987657, 1, 981171576),
   (27183, true, 26344865925625, 6111, 135120530341809197900),
   (27185, true, 40468966561, 1219, 489158242625484),
   (27186, true, 11409846, 19, 19657534680)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints141

#print axioms CongruentPoints141.on_curve
#print axioms CongruentPoints141.indep
#print axioms CongruentPoints141.count

bsd/CongruentPoints142.lean

lean_all/bsd/CongruentPoints142.lean

/-
  bsd/CongruentPoints142.lean — T39 goal G202: points for congruent curves in 27201–27400 with Tunnell A = 2B
  (n = 27202, 27230, 27231, 27237, 27249, 27255, 27258, 27265, 27269, 27285, 27294, 27295, 27313, 27314, 27334, 27354, 27359, 27370, 27393, 27398, 27399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints142
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (27202, false, 567, 2, 2590875),
   (27230, true, 5029495366, 269, 328174541229864),
   (27231, true, 34093212, 13, 197246278026),
   (27237, true, 35326389, 25, 183979833912),
   (27249, true, 496552762225, 2629, 323758453752728020),
   (27255, false, 212056320, 107, 3333513178800),
   (27258, true, 54208, 1, 10909360),
   (27265, true, 42025, 1, 6555900),
   (27269, true, 279203389609, 1758, 140648908789877005),
   (27285, true, 1221025, 6, 801462025),
   (27294, false, 20667, 1, 2562957),
   (27295, true, 57516030625, 1391, 5463198237537000),
   (27313, true, 187804188, 1, 2573699893050),
   (27314, true, 599886, 1, 464143680),
   (27334, true, 1195902, 1, 1307464536),
   (27354, true, 37446, 1, 4948560),
   (27359, true, 3433609, 1, 6362275500),
   (27370, true, 129430, 1, 45511200),
   (27393, true, 67068, 1, 15854130),
   (27398, true, 29151472, 31, 67558536360),
   (27399, true, 2382321249529, 8798, 1674940362978284155)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints142

#print axioms CongruentPoints142.on_curve
#print axioms CongruentPoints142.indep
#print axioms CongruentPoints142.count

bsd/CongruentPoints143.lean

lean_all/bsd/CongruentPoints143.lean

/-
  bsd/CongruentPoints143.lean — T39 goal G203: points for congruent curves in 27401–27600 with Tunnell A = 2B
  (n = 27401, 27419, 27430, 27451, 27454, 27470, 27503, 27510, 27555, 27559, 27565, 27574, 27599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints143
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (27401, true, 474721, 2, 318245655),
   (27419, true, 43097652683710302001, 4002614, 282916231751425114297050034305),
   (27430, true, 5787730, 7, 13543288200),
   (27451, true, 812374777791721, 64236, 22928282467183300047605),
   (27454, false, 413343, 4, 95577489),
   (27470, false, 19220, 3, 34171300),
   (27503, true, 21133309129, 860, 833224121370117),
   (27510, true, 63525, 1, 14431725),
   (27555, true, 1255005, 1, 1405605600),
   (27559, true, 395641, 1, 248253720),
   (27565, true, 16522461, 19, 53613550116),
   (27574, false, 216482, 3, 56453768),
   (27599, true, 2136242404921, 5635, 2847485069122168656)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints143

#print axioms CongruentPoints143.on_curve
#print axioms CongruentPoints143.indep
#print axioms CongruentPoints143.count

bsd/CongruentPoints144.lean

lean_all/bsd/CongruentPoints144.lean

/-
  bsd/CongruentPoints144.lean — T39 goal G204: points for congruent curves in 27601–27800 with Tunnell A = 2B
  (n = 27606, 27613, 27629, 27645, 27646, 27651, 27671, 27674, 27699, 27727, 27742, 27761, 27787, 27789), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints144
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (27606, true, 68694, 1, 16486560),
   (27613, true, 102254013, 49, 787207193760),
   (27629, true, 27387388, 3, 143320402918),
   (27645, true, 54720, 1, 11046600),
   (27646, false, 685584, 5, 72481464),
   (27651, false, 576, 1, 663480),
   (27671, true, 31423, 1, 2639532),
   (27674, true, 5534937, 2, 13019135619),
   (27699, true, 28749, 1, 1305360),
   (27727, true, 34225, 1, 3711840),
   (27742, false, 60550182, 89, 1643723198040),
   (27761, true, 78961, 1, 20771520),
   (27787, true, 127351225, 66, 446807806235),
   (27789, true, 73947, 1, 18634644)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints144

#print axioms CongruentPoints144.on_curve
#print axioms CongruentPoints144.indep
#print axioms CongruentPoints144.count

bsd/CongruentPoints145.lean

lean_all/bsd/CongruentPoints145.lean

/-
  bsd/CongruentPoints145.lean — T39 goal G205: points for congruent curves in 27801–28000 with Tunnell A = 2B
  (n = 27805, 27807, 27811, 27813, 27833, 27839, 27897, 27898, 27911, 27913, 27921, 27965, 27966, 27987, 27989, 27995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints145
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (27805, false, 111005, 3, 74723500),
   (27807, false, 1185167, 12, 4163878025),
   (27811, false, 1764, 1, 1165710),
   (27813, true, 48387, 1, 8709660),
   (27833, true, 80284915234225, 46506, 475982055400428108415),
   (27839, true, 231361, 1, 110476080),
   (27897, true, 10414535937, 64, 1062756433211265),
   (27898, false, 2650384, 25, 28056362664),
   (27911, true, 27624102025, 851, 3129418175244660),
   (27913, true, 42025, 1, 6440280),
   (27921, true, 24053737700521, 21957, 97767950707941510320),
   (27965, true, 22344035, 13, 103229441700),
   (27966, true, 62658, 1, 14035392),
   (27987, true, 13741617, 4, 50912690985),
   (27989, true, 4174653980809, 11330, 4343263165447241373),
   (27995, true, 259081, 2, 118918179)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints145

#print axioms CongruentPoints145.on_curve
#print axioms CongruentPoints145.indep
#print axioms CongruentPoints145.count

bsd/CongruentPoints146.lean

lean_all/bsd/CongruentPoints146.lean

/-
  bsd/CongruentPoints146.lean — T39 goal G206: points for congruent curves in 28001–28200 with Tunnell A = 2B
  (n = 28005, 28006, 28007, 28010, 28014, 28015, 28065, 28067, 28070, 28074, 28085, 28093, 28101, 28165, 28182, 28186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints146
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (28005, false, 218405, 3, 58791700),
   (28006, true, 450604, 3, 250728940),
   (28007, true, 10063207, 1, 31922943360),
   (28010, false, 19600, 1, 2801400),
   (28014, true, 3754842, 11, 3129805224),
   (28015, true, 42603024025, 1041, 6169159038293900),
   (28065, true, 39676079865, 682, 7463040089710725),
   (28067, true, 3610477, 9, 5329529920),
   (28070, false, 16820, 1, 2914500),
   (28074, true, 74892, 1, 19000764),
   (28085, false, 56644, 169, 190908292554),
   (28093, true, 917771574615025, 138546, 22498198675586997935455),
   (28101, true, 100572, 1, 30624174),
   (28165, true, 2179971, 5, 3046146144),
   (28182, true, 4219614, 5, 8546124888),
   (28186, true, 189145009, 38, 2540372948535)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints146

#print axioms CongruentPoints146.on_curve
#print axioms CongruentPoints146.indep
#print axioms CongruentPoints146.count

bsd/CongruentPoints147.lean

lean_all/bsd/CongruentPoints147.lean

/-
  bsd/CongruentPoints147.lean — T39 goal G207: points for congruent curves in 28201–28400 with Tunnell A = 2B
  (n = 28213, 28217, 28221, 28230, 28231, 28234, 28237, 28241, 28246, 28254, 28281, 28282, 28294, 28329, 28343, 28345, 28354, 28374, 28378, 28381), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints147
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (28213, true, 2512225, 2, 3977857065),
   (28217, true, 3129361, 10, 2393653359),
   (28221, true, 28227, 1, 97776),
   (28230, false, 28224, 1, 97776),
   (28231, false, 7056, 1, 2296140),
   (28234, true, 21601395773, 811, 1621863930682647),
   (28237, false, 6850719, 40, 116884105071),
   (28241, true, 524164864, 15, 11999687748112),
   (28246, true, 79402, 1, 20910624),
   (28254, true, 5855650, 1, 14169600640),
   (28281, true, 734449, 5, 170392168),
   (28282, true, 1251518, 1, 1399731480),
   (28294, true, 28350, 1, 299880),
   (28329, true, 35287, 1, 3952144),
   (28343, true, 1123441005625, 5257, 853604109490618200),
   (28345, true, 179158225, 62, 1903579698225),
   (28354, true, 399886683617, 3472, 131253945326768559),
   (28374, true, 35574, 1, 4047120),
   (28378, false, 28322, 1, 299880),
   (28381, true, 214999961917129, 42550, 3061160700884220938883)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints147

#print axioms CongruentPoints147.on_curve
#print axioms CongruentPoints147.indep
#print axioms CongruentPoints147.count

bsd/CongruentPoints148.lean

lean_all/bsd/CongruentPoints148.lean

/-
  bsd/CongruentPoints148.lean — T39 goal G208: points for congruent curves in 28401–28600 with Tunnell A = 2B
  (n = 28406, 28421, 28441, 28446, 28455, 28462, 28470, 28509, 28511, 28535, 28545, 28565, 28574, 28581, 28587, 28589, 28598), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints148
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (28406, true, 14766206, 5, 56676178104),
   (28421, true, 60368981401, 1116, 12015404126735165),
   (28441, true, 30880249, 31, 79866759960),
   (28446, true, 110946, 1, 35719200),
   (28455, false, 26460420, 31, 35493069150),
   (28462, false, 5438275, 479, 15228841725735),
   (28470, false, 15995906, 203, 4691844339272),
   (28509, true, 231361, 2, 96827705),
   (28511, true, 1100182561, 193, 9529634139360),
   (28535, true, 19705158135, 47, 2766098649841800),
   (28545, true, 29929, 1, 1556308),
   (28565, false, 676, 1, 742482),
   (28574, true, 42494111881, 900, 7346436336645029),
   (28581, false, 151827716, 1025, 369994381006202),
   (28587, true, 108476328548809, 61600, 5406044273159055877),
   (28589, false, 26411, 1, 1778700),
   (28598, false, 53508991, 100, 2054994334527)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints148

#print axioms CongruentPoints148.on_curve
#print axioms CongruentPoints148.indep
#print axioms CongruentPoints148.count

bsd/CongruentPoints149.lean

lean_all/bsd/CongruentPoints149.lean

/-
  bsd/CongruentPoints149.lean — T39 goal G210: points for congruent curves in 28601–28800 with Tunnell A = 2B
  (n = 28601, 28614, 28615, 28618, 28633, 28634, 28645, 28655, 28658, 28671, 28686, 28705, 28706, 28734, 28770, 28797), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints149
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (28601, true, 108097609, 54, 715011827075),
   (28614, true, 4788076, 3, 10461946060),
   (28615, true, 32505608474161, 31291, 93964115281157581416),
   (28618, true, 12357441, 20, 16363390239),
   (28633, true, 11761313, 8, 39842551665),
   (28634, true, 38642, 1, 5100744),
   (28645, false, 15876, 1, 3004218),
   (28655, true, 394129895817025, 88914, 6402889560266739978425),
   (28658, false, 10288400, 31, 81941477640),
   (28671, false, 9395652, 23, 36495373698),
   (28686, true, 28812, 1, 456876),
   (28705, true, 1730976025, 242, 17166754919925),
   (28706, true, 94302, 1, 27584544),
   (28734, false, 507, 1, 646893),
   (28770, false, 286286, 5, 353040688),
   (28797, false, 9588125, 19, 12439483300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints149

#print axioms CongruentPoints149.on_curve
#print axioms CongruentPoints149.indep
#print axioms CongruentPoints149.count

bsd/CongruentPoints15.lean

lean_all/bsd/CongruentPoints15.lean

/-
  bsd/CongruentPoints15.lean — T39 goal G67: points for congruent curves in 2401–2600 with Tunnell A = 2B
  (n = 2405, 2406, 2415, 2418, 2431, 2434, 2445, 2454, 2465, 2469, 2470, 2478, 2479, 2485, 2486, 2494, 2501, 2530, 2533, 2542, 2559, 2566, 2567, 2569, 2581, 2590, 2594, 2598), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints15
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (2405, false, 196, 1, 33558),
   (2406, false, 108578, 17, 226310104),
   (2415, true, 126960, 1, 45229500),
   (2418, true, 11532, 1, 1210860),
   (2431, true, 231361, 5, 107376516),
   (2434, true, 2962178, 31, 3128059968),
   (2445, false, 198005, 9, 1771100),
   (2454, true, 5046, 1, 313200),
   (2465, true, 21025, 1, 3027600),
   (2469, true, 2031987, 23, 2218929804),
   (2470, true, 5850, 1, 405600),
   (2478, true, 563922, 7, 413542800),
   (2479, true, 358383253206169, 247506, 6145340659648066272565),
   (2485, true, 176435, 1, 74102700),
   (2486, true, 3564, 1, 152460),
   (2494, true, 482589, 13, 163275945),
   (2501, false, 100, 1, 24990),
   (2530, true, 2645, 1, 39675),
   (2533, true, 151119565081, 4750, 54383334228971979),
   (2542, true, 30258, 1, 5244720),
   (2559, true, 1460958107401, 18306, 1429650708234264035),
   (2566, false, 18818, 33, 383319944),
   (2567, true, 474113, 8, 306228735),
   (2569, true, 3703, 1, 162288),
   (2581, false, 900, 1, 72570),
   (2590, true, 24010, 3, 891800),
   (2594, true, 1682209, 6, 2178460655),
   (2598, true, 3750, 1, 165600)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 28 := rfl

end CongruentPoints15

#print axioms CongruentPoints15.on_curve
#print axioms CongruentPoints15.indep
#print axioms CongruentPoints15.count

bsd/CongruentPoints150.lean

lean_all/bsd/CongruentPoints150.lean

/-
  bsd/CongruentPoints150.lean — T39 goal G211: points for congruent curves in 28801–29000 with Tunnell A = 2B
  (n = 28806, 28815, 28826, 28831, 28839, 28855, 28866, 28885, 28886, 28891, 28897, 28905, 28913, 28914, 28918, 28927, 28938, 28946, 28990, 28999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints150
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (28806, false, 2509056, 25, 28239643872),
   (28815, true, 55353615, 1, 411830895600),
   (28826, false, 89383, 2, 21777021),
   (28831, false, 12100, 1, 2878590),
   (28839, false, 1764, 1, 1208970),
   (28855, true, 1151329, 2, 1229152617),
   (28866, true, 1441602, 7, 334451664),
   (28885, false, 6084, 1, 2202486),
   (28886, true, 22013360161, 826, 1455029534305425),
   (28891, true, 7766571938449, 16306, 3191036994364705425),
   (28897, true, 87479100, 49, 498330525090),
   (28905, true, 1050625, 6, 148558375),
   (28913, true, 15250969752001, 21395, 29595465422793095124),
   (28914, true, 3669708, 11, 2121615468),
   (28918, true, 8646102, 17, 6515934480),
   (28927, true, 357060027025, 919, 212859425324866320),
   (28938, true, 80613, 1, 21362445),
   (28946, true, 30258, 1, 1533072),
   (28990, true, 3917173264225, 11542, 1296832720650291825),
   (28999, true, 113209088, 61, 364370379408)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints150

#print axioms CongruentPoints150.on_curve
#print axioms CongruentPoints150.indep
#print axioms CongruentPoints150.count

bsd/CongruentPoints151.lean

lean_all/bsd/CongruentPoints151.lean

/-
  bsd/CongruentPoints151.lean — T39 goal G212: points for congruent curves in 29001–29200 with Tunnell A = 2B
  (n = 29022, 29029, 29039, 29041, 29045, 29055, 29058, 29062, 29078, 29154, 29185, 29190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints151
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (29022, false, 28322, 1, 1066240),
   (29029, true, 2551785313, 278, 61421541709143),
   (29039, false, 725904, 5, 8650356),
   (29041, true, 1651225, 3, 2095074280),
   (29045, true, 34651600981854025, 116762, 6449953721526080889252675),
   (29055, true, 555025, 4, 225895175),
   (29058, true, 20224368, 23, 59105715480),
   (29062, true, 1587762, 7, 884834280),
   (29078, true, 513422, 1, 367294200),
   (29154, true, 33282, 1, 2928816),
   (29185, true, 28201144465, 142, 4734842338604625),
   (29190, true, 889350, 1, 838252800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints151

#print axioms CongruentPoints151.on_curve
#print axioms CongruentPoints151.indep
#print axioms CongruentPoints151.count

bsd/CongruentPoints152.lean

lean_all/bsd/CongruentPoints152.lean

/-
  bsd/CongruentPoints152.lean — T39 goal G213: points for congruent curves in 29201–29400 with Tunnell A = 2B
  (n = 29206, 29211, 29219, 29222, 29226, 29233, 29245, 29246, 29255, 29261, 29265, 29274, 29281, 29289, 29294, 29314, 29318, 29319, 29323, 29326, 29341, 29342, 29359, 29370, 29382, 29391, 29395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints152
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (29206, true, 25087954, 29, 25589713080),
   (29211, true, 3905643, 11, 3283902972),
   (29219, true, 2715781, 1, 4475246700),
   (29222, true, 2628422, 1, 4261041840),
   (29226, true, 35574, 1, 3825360),
   (29233, true, 255025, 1, 127938720),
   (29245, true, 465953060490927025, 3867642, 109506676532883865276191425),
   (29246, true, 1524258, 7, 641187072),
   (29255, true, 38331766225, 418, 7437759419933775),
   (29261, true, 3613661, 7, 6305582520),
   (29265, false, 45990015, 151, 4514401935000),
   (29274, true, 485809, 4, 89874665),
   (29281, true, 58081, 1, 12088560),
   (29289, true, 21996039, 7, 102941462520),
   (29294, true, 169362, 1, 68648064),
   (29314, false, 1936, 1, 1287000),
   (29318, true, 364194145225, 3344, 95716347515772165),
   (29319, true, 3706706928961, 10385, 3724022481103645084),
   (29323, true, 141148, 1, 51871890),
   (29326, true, 4027122, 7, 7549511376),
   (29341, false, 272484, 5, 355501314),
   (29342, true, 167042, 1, 67209840),
   (29359, true, 462637081, 78, 9179276877685),
   (29370, true, 356445, 1, 212084775),
   (29382, false, 4418, 1, 1930760),
   (29391, true, 177044497, 44, 2230738777351),
   (29395, true, 37845, 1, 4637100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 27 := rfl

end CongruentPoints152

#print axioms CongruentPoints152.on_curve
#print axioms CongruentPoints152.indep
#print axioms CongruentPoints152.count

bsd/CongruentPoints153.lean

lean_all/bsd/CongruentPoints153.lean

/-
  bsd/CongruentPoints153.lean — T39 goal G214: points for congruent curves in 29401–29600 with Tunnell A = 2B
  (n = 29431, 29437, 29438, 29455, 29465, 29469, 29523, 29526, 29535, 29559, 29585), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints153
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (29431, false, 2989441, 17, 13767854100),
   (29437, true, 153858513116400625, 1962114, 40818157206562925671815775),
   (29438, false, 67308551, 270, 17597753661293),
   (29455, true, 3171961, 3, 5629498784),
   (29465, true, 4402071, 11, 5417482044),
   (29469, true, 1968219, 7, 1876368780),
   (29523, false, 14400, 1, 3092760),
   (29526, true, 87024, 1, 24149160),
   (29535, true, 3962940, 11, 3409477650),
   (29559, true, 54108, 1, 10542042),
   (29585, false, 10816, 1, 2863848)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints153

#print axioms CongruentPoints153.on_curve
#print axioms CongruentPoints153.indep
#print axioms CongruentPoints153.count

bsd/CongruentPoints154.lean

lean_all/bsd/CongruentPoints154.lean

/-
  bsd/CongruentPoints154.lean — T39 goal G215: points for congruent curves in 29601–29800 with Tunnell A = 2B
  (n = 29605, 29614, 29631, 29639, 29641, 29670, 29679, 29710, 29711, 29726, 29731, 29733, 29751, 29786, 29789, 29794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints154
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (29605, true, 32805, 1, 2559600),
   (29614, true, 811801, 4, 593916675),
   (29631, true, 907137, 2, 856584729),
   (29639, true, 1918225, 7, 1735609980),
   (29641, true, 137311266204121, 28441, 1584292904037725810760),
   (29670, false, 1540494, 47, 81324850104),
   (29679, true, 579121, 1, 440131960),
   (29710, false, 28090, 1, 1621800),
   (29711, true, 1151329, 6, 457157015),
   (29726, false, 1571303, 18, 11911140899),
   (29731, true, 16336333, 23, 17855189352),
   (29733, false, 4284068, 23, 31324516370),
   (29751, true, 1573983, 1, 1974342348),
   (29786, false, 128493306, 527, 93760792794480),
   (29789, true, 37292334495025, 6118, 227632963321407567615),
   (29794, false, 7744, 1, 2531760)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints154

#print axioms CongruentPoints154.on_curve
#print axioms CongruentPoints154.indep
#print axioms CongruentPoints154.count

bsd/CongruentPoints155.lean

lean_all/bsd/CongruentPoints155.lean

/-
  bsd/CongruentPoints155.lean — T39 goal G216: points for congruent curves in 29801–30000 with Tunnell A = 2B
  (n = 29807, 29809, 29815, 29829, 29830, 29854, 29859, 29865, 29866, 29883, 29905, 29915, 29954, 29958, 29967, 29973, 29986), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints155
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (29807, true, 447111025, 49, 9332265906480),
   (29809, true, 29308412809, 935, 2296027451268252),
   (29815, true, 132250529, 44, 1368376695183),
   (29829, true, 54307560036030625, 248482, 12648544445742526378038025),
   (29830, true, 46833100, 27, 283855419100),
   (29854, true, 451784653, 67, 9170576226063),
   (29859, true, 2677357, 3, 4358737196),
   (29865, true, 31740, 1, 1914750),
   (29866, false, 760384, 149, 578183637360),
   (29883, false, 60543, 2, 25359705),
   (29905, true, 37290575773201, 562, 227718660002488883601),
   (29915, true, 931225, 2, 891182325),
   (29954, false, 15842, 1, 3199728),
   (29958, false, 546448899, 1465, 1502959085635401),
   (29967, true, 2453248, 9, 557098640),
   (29973, true, 31827, 1, 1909620),
   (29986, true, 128122, 1, 44586456)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints155

#print axioms CongruentPoints155.on_curve
#print axioms CongruentPoints155.indep
#print axioms CongruentPoints155.count

bsd/CongruentPoints156.lean

lean_all/bsd/CongruentPoints156.lean

/-
  bsd/CongruentPoints156.lean — T39 goal G218: points for congruent curves in 30001–30200 with Tunnell A = 2B
  (n = 30009, 30019, 30030, 30039, 30071, 30081, 30107, 30126, 30149, 30189, 30199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints156
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (30009, false, 15876, 5, 94507182),
   (30019, true, 1858131, 7, 1547628720),
   (30030, true, 80850, 1, 21344400),
   (30039, true, 147033, 2, 32494293),
   (30071, true, 533656201, 113, 8561434812840),
   (30081, false, 161710239, 113, 4430501490240),
   (30107, true, 343101276, 95, 3880515237774),
   (30126, false, 587814, 5, 361004184),
   (30149, false, 1471972, 7, 152100318),
   (30189, true, 940992, 1, 912336984),
   (30199, true, 2897991889, 308, 23544770443545)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints156

#print axioms CongruentPoints156.on_curve
#print axioms CongruentPoints156.indep
#print axioms CongruentPoints156.count

bsd/CongruentPoints157.lean

lean_all/bsd/CongruentPoints157.lean

/-
  bsd/CongruentPoints157.lean — T39 goal G219: points for congruent curves in 30201–30400 with Tunnell A = 2B
  (n = 30205, 30206, 30230, 30234, 30247, 30270, 30277, 30279, 30295, 30301, 30305, 30381, 30387, 30394, 30399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints157
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (30205, false, 17405, 1, 3256800),
   (30206, false, 13475, 1, 3138135),
   (30230, false, 1048820, 7, 1071239100),
   (30234, true, 30258, 1, 209592),
   (30247, true, 621628, 1, 489532050),
   (30270, false, 32400, 17, 1574634600),
   (30277, true, 3171961, 10, 1684311291),
   (30279, true, 23568432501289, 22046, 89371801552531641715),
   (30295, true, 39223406401, 869, 6309938466031776),
   (30301, true, 5848093, 11, 11017807212),
   (30305, true, 235225, 2, 97768725),
   (30381, true, 1048944, 1, 1073856420),
   (30387, false, 1587, 1, 1208880),
   (30394, true, 10151596, 3, 32332833260),
   (30399, false, 27225, 1, 2231460)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints157

#print axioms CongruentPoints157.on_curve
#print axioms CongruentPoints157.indep
#print axioms CongruentPoints157.count

bsd/CongruentPoints158.lean

lean_all/bsd/CongruentPoints158.lean

/-
  bsd/CongruentPoints158.lean — T39 goal G220: points for congruent curves in 30401–30600 with Tunnell A = 2B
  (n = 30414, 30415, 30435, 30446, 30463, 30470, 30471, 30485, 30490, 30495, 30506, 30511, 30529, 30530, 30531, 30545, 30566, 30570, 30583, 30590, 30595, 30597), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints158
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (30414, true, 112501386, 1, 1193264700840),
   (30415, true, 38236, 1, 4530966),
   (30435, false, 1368900, 1013, 36540800577450),
   (30446, false, 116714, 3, 84696040),
   (30463, true, 30970720225, 497, 5287069109768160),
   (30470, true, 6970480, 9, 17211015800),
   (30471, false, 280838148, 757, 292583841988626),
   (30485, true, 3553225, 8, 5597799675),
   (30490, true, 59290, 1, 12381600),
   (30495, true, 9788895, 13, 26038460700),
   (30506, true, 16239006, 5, 65367170904),
   (30511, true, 12021954318361, 17135, 27798026743580915484),
   (30529, true, 105848561322529, 54607, 555615845697354475440),
   (30530, true, 83205, 1, 22326675),
   (30531, true, 67924240231120849, 1196952, 13543301251229134158320615),
   (30545, true, 14958513025, 418, 1709096452486425),
   (30566, false, 25322146, 575, 50853774044808),
   (30570, true, 6230166, 1, 15550494336),
   (30583, true, 42055225, 23, 251740073640),
   (30590, true, 1392489, 2, 1636833387),
   (30595, true, 18313555100, 757, 716086945449150),
   (30597, true, 51772, 1, 9502570)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints158

#print axioms CongruentPoints158.on_curve
#print axioms CongruentPoints158.indep
#print axioms CongruentPoints158.count

bsd/CongruentPoints159.lean

lean_all/bsd/CongruentPoints159.lean

/-
  bsd/CongruentPoints159.lean — T39 goal G221: points for congruent curves in 30601–30800 with Tunnell A = 2B
  (n = 30601, 30615, 30617, 30621, 30646, 30678, 30679, 30695, 30702, 30705, 30721, 30739, 30745, 30751, 30765, 30797, 30799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints159
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (30601, true, 1124255175481, 791, 1191885000274789080),
   (30615, true, 555025, 1, 412864100),
   (30617, true, 11969669397841, 7515, 40977352635630501736),
   (30621, true, 5419917, 13, 3750582564),
   (30646, true, 786366, 5, 157100664),
   (30678, true, 99372, 1, 29795220),
   (30679, true, 82312379228689, 43329, 533507967345988154060),
   (30695, true, 7150131604729, 10507, 16835737988642768292),
   (30702, true, 41081082, 29, 204798124440),
   (30705, true, 423729, 2, 263983167),
   (30721, true, 32951791, 23, 164550569280),
   (30739, true, 2309661339049, 8140, 1655188606755444843),
   (30745, true, 406780, 3, 190169650),
   (30751, true, 5873441, 4, 14184360015),
   (30765, true, 2146225, 8, 1251249175),
   (30797, true, 165997, 1, 66457560),
   (30799, true, 9777452161, 210, 957430395373159)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints159

#print axioms CongruentPoints159.on_curve
#print axioms CongruentPoints159.indep
#print axioms CongruentPoints159.count

bsd/CongruentPoints16.lean

lean_all/bsd/CongruentPoints16.lean

/-
  bsd/CongruentPoints16.lean — T39 goal G68: points for congruent curves in 2601–2800 with Tunnell A = 2B
  (n = 2605, 2607, 2611, 2631, 2639, 2669, 2670, 2671, 2679, 2685, 2698, 2701, 2702, 2703, 2706, 2710, 2717, 2726, 2730, 2735, 2742, 2751, 2758, 2774, 2777), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints16
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (2605, true, 1357225, 2, 1581120525),
   (2607, false, 7166148, 181, 227827914930),
   (2611, true, 139129, 6, 38260475),
   (2631, true, 58872980074129, 21378, 451630673994611880145),
   (2639, true, 21025, 2, 2636535),
   (2669, false, 93636, 13, 135017910),
   (2670, true, 3208005, 19, 5480341875),
   (2671, true, 3568321, 7, 6736022880),
   (2679, false, 142655268, 277, 1767653779626),
   (2685, true, 20603760, 71, 70512588900),
   (2698, true, 6498, 1, 476520),
   (2701, true, 197173, 1, 87544812),
   (2702, true, 59150, 1, 14370720),
   (2703, true, 1536698748, 329, 59137843825710),
   (2706, true, 19602, 1, 2718144),
   (2710, true, 6773290, 41, 13045208400),
   (2717, false, 2007837, 67, 17046587220),
   (2726, true, 61562621, 23, 482899185015),
   (2730, true, 3150, 1, 88200),
   (2735, true, 748225, 3, 646864300),
   (2742, true, 7350, 1, 584640),
   (2751, true, 28672, 1, 4832576),
   (2758, false, 1398663, 58, 10847132205),
   (2774, true, 900601, 18, 54382445),
   (2777, true, 120495765625, 6424, 12922792024594125)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 25 := rfl

end CongruentPoints16

#print axioms CongruentPoints16.on_curve
#print axioms CongruentPoints16.indep
#print axioms CongruentPoints16.count

bsd/CongruentPoints160.lean

lean_all/bsd/CongruentPoints160.lean

/-
  bsd/CongruentPoints160.lean — T39 goal G222: points for congruent curves in 30801–31000 with Tunnell A = 2B
  (n = 30805, 30810, 30814, 30819, 30846, 30866, 30877, 30881, 30894, 30914, 30947, 30958, 30966, 30970, 30977, 30979, 30985, 30989, 30995, 30999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints160
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (30805, true, 51005, 1, 9180900),
   (30810, false, 936975, 16, 7580702025),
   (30814, true, 564592, 3, 369525464),
   (30819, true, 98120883, 23, 958435726248),
   (30846, true, 337657, 2, 182638099),
   (30866, true, 20711086, 25, 34297558416),
   (30877, false, 6171011, 15, 7927499888),
   (30881, true, 38878053579784225, 429352, 7583164362324217074085455),
   (30894, true, 58482, 1, 12008304),
   (30914, true, 11654578, 19, 11468104752),
   (30947, false, 77296303, 176, 8400532319655),
   (30958, true, 2126350, 7, 2172793440),
   (30966, false, 363, 1, 589941),
   (30970, true, 1668422034, 31, 68138060117448),
   (30977, true, 479829025, 17, 10508825265120),
   (30979, true, 1028646603295441, 94686, 31765952293547202428815),
   (30985, false, 585225, 13, 3980799900),
   (30989, true, 68337717525, 1219, 13199726224044360),
   (30995, true, 3266712834025, 1798, 5901494940253538925),
   (30999, false, 15876, 1, 3354750)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints160

#print axioms CongruentPoints160.on_curve
#print axioms CongruentPoints160.indep
#print axioms CongruentPoints160.count

bsd/CongruentPoints161.lean

lean_all/bsd/CongruentPoints161.lean

/-
  bsd/CongruentPoints161.lean — T39 goal G223: points for congruent curves in 31001–31200 with Tunnell A = 2B
  (n = 31001, 31031, 31049, 31061, 31062, 31065, 31071, 31081, 31098, 31109, 31119, 31134, 31141, 31146, 31169, 31174), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints161
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (31001, true, 325357300801, 1750, 177507162449034951),
   (31031, true, 112112, 1, 36072036),
   (31049, true, 14146700625, 166, 1679527085612175),
   (31061, false, 16900, 1, 3387930),
   (31062, true, 369762048, 61, 6753934908000),
   (31065, true, 297025, 3, 54652600),
   (31071, false, 15876, 13, 661622850),
   (31081, true, 6979556353225, 11928, 14265955599306252155),
   (31098, true, 3330625, 4, 6010179425),
   (31109, true, 36517, 1, 3654456),
   (31119, true, 981290341201, 5473, 303816251026186120),
   (31134, false, 4183350, 173, 1905833037960),
   (31141, true, 12251371, 9, 41963463080),
   (31146, false, 3716756, 967, 56148382459700),
   (31169, true, 7873119, 1, 22091073480),
   (31174, true, 2007889, 6, 2359269575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints161

#print axioms CongruentPoints161.on_curve
#print axioms CongruentPoints161.indep
#print axioms CongruentPoints161.count

bsd/CongruentPoints162.lean

lean_all/bsd/CongruentPoints162.lean

/-
  bsd/CongruentPoints162.lean — T39 goal G224: points for congruent curves in 31201–31400 with Tunnell A = 2B
  (n = 31201, 31234, 31246, 31249, 31270, 31290, 31297, 31326, 31335, 31346, 31369, 31390, 31398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints162
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (31201, true, 725249, 1, 617061480),
   (31234, true, 33282, 1, 2097024),
   (31246, true, 14108657, 4, 52960940361),
   (31249, true, 5203768505329, 8911, 10434254441285360400),
   (31270, true, 16573100, 1, 67469090100),
   (31290, true, 183750, 1, 77616000),
   (31297, true, 8231111, 5, 23508053016),
   (31326, true, 4209621, 11, 3757214565),
   (31335, true, 31740, 1, 900450),
   (31346, true, 2522258, 1, 4005444528),
   (31369, true, 5547487, 1, 13065844836),
   (31390, true, 52706, 1, 9720096),
   (31398, true, 44652, 1, 6708780)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints162

#print axioms CongruentPoints162.on_curve
#print axioms CongruentPoints162.indep
#print axioms CongruentPoints162.count

bsd/CongruentPoints163.lean

lean_all/bsd/CongruentPoints163.lean

/-
  bsd/CongruentPoints163.lean — T39 goal G225: points for congruent curves in 31401–31600 with Tunnell A = 2B
  (n = 31414, 31429, 31430, 31445, 31449, 31471, 31481, 31490, 31494, 31510, 31526, 31529, 31535, 31559, 31561, 31567, 31579, 31595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints163
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (31414, true, 934636, 1, 903063540),
   (31429, false, 643858052, 423, 141755865054202),
   (31430, true, 201601, 2, 70761951),
   (31445, true, 555025, 2, 402735825),
   (31449, true, 336633, 1, 194460552),
   (31471, true, 1205753189737849, 73970, 41439365249653865277243),
   (31481, true, 48404037204601, 8680, 336356912150383938099),
   (31490, false, 647566, 13, 4250716848),
   (31494, true, 31581, 1, 416295),
   (31510, true, 629740, 1, 499111500),
   (31526, true, 4542098, 7, 9103160088),
   (31529, true, 30961601, 20, 157340122401),
   (31535, true, 2164688540, 143, 96142038920550),
   (31559, false, 126991, 40, 17994024777),
   (31561, true, 541366365132961, 105625, 9567712896398328995916),
   (31567, true, 1834683795025, 7441, 755615834598958320),
   (31579, true, 10079612, 7, 31621828806),
   (31595, true, 39605, 1, 4752600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints163

#print axioms CongruentPoints163.on_curve
#print axioms CongruentPoints163.indep
#print axioms CongruentPoints163.count

bsd/CongruentPoints164.lean

lean_all/bsd/CongruentPoints164.lean

/-
  bsd/CongruentPoints164.lean — T39 goal G226: points for congruent curves in 31601–31800 with Tunnell A = 2B
  (n = 31609, 31614, 31619, 31622, 31623, 31641, 31655, 31665, 31679, 31681, 31686, 31710, 31717, 31719, 31735, 31746, 31749, 31759, 31773, 31778, 31785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints164
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (31609, false, 484416, 5, 434538552),
   (31614, false, 319727231, 280, 43948238028353),
   (31619, true, 1084016971394569, 176182, 15153647816852459809245),
   (31622, true, 4304178, 7, 8330975640),
   (31623, true, 120977152, 51, 975761919440),
   (31641, false, 8193111, 23, 41778369360),
   (31655, true, 1677348765625, 4257, 2041381837572805000),
   (31665, true, 33135, 1, 1776600),
   (31679, true, 83521, 1, 22333920),
   (31681, false, 435600, 17, 6035991060),
   (31686, false, 69696, 5, 208316592),
   (31710, false, 4357815, 46, 139774652325),
   (31717, false, 204687, 8, 913688055),
   (31719, true, 1152457, 2, 1229671619),
   (31735, false, 23716, 1, 3247398),
   (31746, true, 99372, 1, 29683836),
   (31749, false, 87628911, 1358, 548091177799185),
   (31759, true, 256354458611329, 74905, 2950784085520326070392),
   (31773, false, 3565988, 13, 7581033550),
   (31778, true, 42253266258216049, 38310, 8685406812152734461991657),
   (31785, true, 70225, 1, 16594300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints164

#print axioms CongruentPoints164.on_curve
#print axioms CongruentPoints164.indep
#print axioms CongruentPoints164.count

bsd/CongruentPoints165.lean

lean_all/bsd/CongruentPoints165.lean

/-
  bsd/CongruentPoints165.lean — T39 goal G227: points for congruent curves in 31801–32000 with Tunnell A = 2B
  (n = 31809, 31830, 31845, 31855, 31857, 31858, 31874, 31894, 31906, 31926, 31930, 31934, 31947, 31965, 31973, 31993), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints165
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (31809, true, 34983, 1, 2723292),
   (31830, false, 207936, 5, 350254512),
   (31845, false, 261855, 26, 11015044425),
   (31855, true, 76729, 1, 19335708),
   (31857, true, 81165609, 10, 730673406477),
   (31858, false, 41616, 5, 162253848),
   (31874, false, 17424, 1, 3523080),
   (31894, true, 6873157, 7, 17547169821),
   (31906, true, 483148, 3, 270079732),
   (31926, false, 10658, 3, 29643256),
   (31930, true, 4296645, 1, 8905990275),
   (31934, true, 2585538, 1, 4157126688),
   (31947, true, 498525, 1, 351266580),
   (31965, false, 52215, 2, 26669475),
   (31973, true, 21493284127225, 5474, 99545649903871295685),
   (31993, true, 139932, 1, 50958570)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints165

#print axioms CongruentPoints165.on_curve
#print axioms CongruentPoints165.indep
#print axioms CongruentPoints165.count

bsd/CongruentPoints166.lean

lean_all/bsd/CongruentPoints166.lean

/-
  bsd/CongruentPoints166.lean — T39 goal G228: points for congruent curves in 32001–32200 with Tunnell A = 2B
  (n = 32006, 32010, 32021, 32038, 32039, 32045, 32081, 32097, 32119, 32154, 32155, 32181, 32190, 32194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints166
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (32006, true, 103194, 1, 31515120),
   (32010, true, 35574, 1, 2927232),
   (32021, false, 3168644, 15, 11517986746),
   (32038, true, 12366668, 19, 15396501660),
   (32039, true, 32761, 1, 1238040),
   (32045, false, 763876, 5, 211021182),
   (32081, true, 38067568, 9, 234324931148),
   (32097, true, 93799225, 46, 626578445285),
   (32119, true, 616082041, 119, 10314319886520),
   (32154, true, 977202, 1, 965475576),
   (32155, true, 255025, 2, 111208575),
   (32181, false, 122451, 23, 5956966260),
   (32190, true, 3170826, 5, 5461357176),
   (32194, false, 28322, 1, 2576112)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints166

#print axioms CongruentPoints166.on_curve
#print axioms CongruentPoints166.indep
#print axioms CongruentPoints166.count

bsd/CongruentPoints167.lean

lean_all/bsd/CongruentPoints167.lean

/-
  bsd/CongruentPoints167.lean — T39 goal G229: points for congruent curves in 32201–32400 with Tunnell A = 2B
  (n = 32214, 32239, 32262, 32270, 32294, 32311, 32318, 32330, 32331, 32333, 32334, 32351, 32383, 32385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints167
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (32214, true, 977158, 3, 922437152),
   (32239, true, 54289, 1, 10177440),
   (32262, false, 25538, 1, 3150440),
   (32270, true, 24597061958595025, 873054, 11872486866235301394425),
   (32294, true, 15565708, 11, 59445438852),
   (32311, true, 146389406524201, 20447, 1763630024973881772840),
   (32318, true, 319225, 2, 164911635),
   (32330, true, 394426, 3, 167236624),
   (32331, false, 736164, 5, 286334334),
   (32333, true, 94937500, 27, 896068353250),
   (32334, true, 5855650, 11, 10542766240),
   (32351, true, 135598488169, 675, 49636496304684928),
   (32383, true, 16278318823, 513, 1769527644992380),
   (32385, true, 3433609, 3, 6339513248)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints167

#print axioms CongruentPoints167.on_curve
#print axioms CongruentPoints167.indep
#print axioms CongruentPoints167.count

bsd/CongruentPoints168.lean

lean_all/bsd/CongruentPoints168.lean

/-
  bsd/CongruentPoints168.lean — T39 goal G230: points for congruent curves in 32401–32600 with Tunnell A = 2B
  (n = 32402, 32405, 32415, 32430, 32431, 32439, 32457, 32466, 32485, 32494, 32505, 32513, 32518, 32565, 32595, 32599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints168
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (32402, true, 61823033, 2, 486098752845),
   (32405, false, 7188005, 27, 60331881500),
   (32415, false, 441, 1, 680652),
   (32430, true, 35056830, 29, 130411407600),
   (32431, true, 319225, 3, 73038680),
   (32439, true, 31887537, 31, 37882393956),
   (32457, true, 5179397637241, 11890, 5467532634126036539),
   (32466, true, 825846, 5, 138555144),
   (32485, true, 7895446765, 237, 682568899933600),
   (32494, false, 139167, 8, 774063633),
   (32505, true, 293095, 3, 9716300),
   (32513, false, 729316, 5, 306469002),
   (32518, false, 3854519, 30, 56957598629),
   (32565, true, 69610944, 7, 580633585272),
   (32595, true, 1069116, 1, 1104931386),
   (32599, false, 1030225, 61, 123115951560)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints168

#print axioms CongruentPoints168.on_curve
#print axioms CongruentPoints168.indep
#print axioms CongruentPoints168.count

bsd/CongruentPoints169.lean

lean_all/bsd/CongruentPoints169.lean

/-
  bsd/CongruentPoints169.lean — T39 goal G231: points for congruent curves in 32601–32800 with Tunnell A = 2B
  (n = 32606, 32610, 32615, 32623, 32630, 32631, 32633, 32645, 32655, 32662, 32663, 32677, 32718, 32729, 32734, 32745, 32754, 32757, 32766, 32770, 32773), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints169
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (32606, true, 37538, 1, 3603648),
   (32610, false, 33819210, 247, 11568143802600),
   (32615, true, 4177941769, 183, 260657877334328),
   (32623, true, 47014673, 32, 226834488825),
   (32630, true, 8190130, 3, 23423771800),
   (32631, true, 3751969, 7, 6574604140),
   (32633, false, 27225, 1, 2968680),
   (32645, true, 89007997704025, 25438, 815745327504657981675),
   (32655, false, 1181364911, 260, 64093703387687),
   (32662, false, 23212287, 32, 116012422785),
   (32663, true, 981225, 1, 971431440),
   (32677, true, 58745169, 40, 205298366553),
   (32718, true, 71250, 1, 16894800),
   (32729, true, 34983, 1, 2310672),
   (32734, false, 193492, 17, 4160423748),
   (32745, false, 2537649, 13, 7834004424),
   (32754, true, 1124554, 1, 1192027240),
   (32757, true, 139571848286809, 9490, 1648540835808260438123),
   (32766, true, 33282, 1, 1065024),
   (32770, true, 1851505, 4, 2416214025),
   (32773, false, 389077, 7, 971837880)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints169

#print axioms CongruentPoints169.on_curve
#print axioms CongruentPoints169.indep
#print axioms CongruentPoints169.count

bsd/CongruentPoints17.lean

lean_all/bsd/CongruentPoints17.lean

/-
  bsd/CongruentPoints17.lean — T39 goal G69: points for congruent curves in 2801–3000 with Tunnell A = 2B
  (n = 2805, 2806, 2810, 2814, 2818, 2821, 2822, 2829, 2838, 2839, 2845, 2847, 2849, 2855, 2865, 2870, 2886, 2893, 2894, 2895, 2901, 2910, 2914, 2919, 2926, 2927, 2929, 2945, 2949, 2951, 2953, 2958, 2965, 2982, 2990, 2995, 2999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints17
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (2805, true, 746691, 13, 498518064),
   (2806, true, 57188350, 123, 289778857480),
   (2810, true, 78961, 4, 18239991),
   (2814, true, 7350, 1, 582120),
   (2818, true, 1441602, 17, 1428221760),
   (2821, false, 36517, 17, 155636832),
   (2822, true, 84555586, 165, 324711251416),
   (2829, true, 5567472, 29, 11876809644),
   (2838, true, 61017, 4, 10067805),
   (2839, true, 412262873929, 7519, 243819539349977640),
   (2845, false, 59405, 7, 30738000),
   (2847, true, 88230979369, 5530, 4248735750255347),
   (2849, true, 231361, 6, 99752185),
   (2855, true, 239067213025, 7258, 90861959030742825),
   (2865, true, 93025, 3, 27260900),
   (2870, true, 411845, 11, 142086525),
   (2886, true, 2776332, 11, 4589276796),
   (2893, true, 171875, 7, 40293000),
   (2894, true, 977202, 7, 955773456),
   (2895, true, 27870633025, 2867, 2422271192014700),
   (2901, false, 83667, 7, 33240348),
   (2910, true, 1411350, 1, 1676683800),
   (2914, true, 4923522, 41, 1101463104),
   (2919, true, 9946048, 29, 30396749768),
   (2926, true, 2832102, 31, 568453704),
   (2927, true, 104550625, 119, 981429201600),
   (2929, true, 243049, 9, 26020540),
   (2945, true, 21025, 2, 2525175),
   (2949, true, 11163, 1, 1137528),
   (2951, true, 28565394169, 1285, 4757161763809572),
   (2953, true, 728320575889, 3725, 620576731069322088),
   (2958, true, 2460274, 25, 2546173232),
   (2965, true, 36036995014515625, 2352798, 6090306496230496132458125),
   (2982, true, 105861, 5, 24453891),
   (2990, true, 5290, 1, 317400),
   (2995, true, 4205, 1, 191400),
   (2999, true, 35868121, 89, 160949104680)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 37 := rfl

end CongruentPoints17

#print axioms CongruentPoints17.on_curve
#print axioms CongruentPoints17.indep
#print axioms CongruentPoints17.count

bsd/CongruentPoints170.lean

lean_all/bsd/CongruentPoints170.lean

/-
  bsd/CongruentPoints170.lean — T39 goal G232: points for congruent curves in 32801–33000 with Tunnell A = 2B
  (n = 32809, 32819, 32857, 32858, 32861, 32863, 32870, 32882, 32883, 32893, 32929, 32935, 32953, 32966, 32970), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints170
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (32809, true, 16762056034201, 21750, 25917663917164864949),
   (32819, true, 1940317, 7, 1512328824),
   (32857, true, 2770288, 3, 4584573260),
   (32858, false, 11630647, 46, 233773703835),
   (32861, false, 568516, 5, 447149898),
   (32863, false, 13924, 5, 96931926),
   (32870, true, 3502080, 1, 6553449600),
   (32882, true, 2894418, 7, 4090777440),
   (32883, true, 993825625, 132, 25599654597725),
   (32893, true, 451612, 3, 229193090),
   (32929, true, 377417, 1, 230979204),
   (32935, true, 13227514411225, 14257, 41491964122922542200),
   (32953, true, 574321225, 89, 12259990351560),
   (32966, false, 197549999, 420, 81686936236249),
   (32970, true, 255150, 1, 127801800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints170

#print axioms CongruentPoints170.on_curve
#print axioms CongruentPoints170.indep
#print axioms CongruentPoints170.count

bsd/CongruentPoints171.lean

lean_all/bsd/CongruentPoints171.lean

/-
  bsd/CongruentPoints171.lean — T39 goal G234: points for congruent curves in 33001–33200 with Tunnell A = 2B
  (n = 33005, 33011, 33014, 33015, 33019, 33022, 33031, 33037, 33051, 33054, 33065, 33077, 33078, 33110, 33113, 33117, 33122, 33126, 33155, 33166, 33169, 33170, 33182, 33189, 33197), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints171
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (33005, false, 4205, 1, 2122800),
   (33011, false, 3920400, 37, 89142948180),
   (33014, true, 32056594, 27, 119891661560),
   (33015, true, 34225, 1, 1668700),
   (33019, true, 38637, 1, 3943836),
   (33022, false, 65276199, 130, 4477917880701),
   (33031, true, 160743880467361, 49038, 1771787349159076398025),
   (33037, true, 12953277189376225, 175602, 1469678023746542530929385),
   (33051, true, 35643, 1, 2519208),
   (33054, false, 1839362, 9, 2638584928),
   (33065, true, 151321, 2, 28599669),
   (33077, false, 13475, 1, 3506580),
   (33078, true, 33525, 1, 999045),
   (33110, true, 1251614, 5, 1050300888),
   (33113, true, 3896007348180025, 342848, 10664251148368305618195),
   (33117, true, 53067, 1, 9552060),
   (33122, false, 32400, 1, 1238040),
   (33126, true, 2288614411486225, 252926, 41349410117370569052505),
   (33155, true, 616225, 2, 472401225),
   (33166, true, 211968, 1, 96388032),
   (33169, true, 75872151601, 623, 20595864100098960),
   (33170, true, 57245, 1, 11162775),
   (33182, true, 18536048, 17, 68294415960),
   (33189, true, 11560107, 11, 36856683396),
   (33197, true, 4998663021361, 7300, 10452556021401769641)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 25 := rfl

end CongruentPoints171

#print axioms CongruentPoints171.on_curve
#print axioms CongruentPoints171.indep
#print axioms CongruentPoints171.count

bsd/CongruentPoints172.lean

lean_all/bsd/CongruentPoints172.lean

/-
  bsd/CongruentPoints172.lean — T39 goal G235: points for congruent curves in 33201–33400 with Tunnell A = 2B
  (n = 33205, 33213, 33215, 33218, 33229, 33231, 33245, 33254, 33258, 33269, 33270, 33278, 33286, 33299, 33305, 33306, 33307, 33319, 33321, 33351, 33361, 33362, 33366, 33367, 33371), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints172
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (33205, true, 37845, 1, 3532200),
   (33213, false, 11163, 1, 3304980),
   (33215, true, 133225, 2, 3597075),
   (33218, false, 4418, 1, 2188320),
   (33229, false, 1071647, 12, 4827599407),
   (33231, false, 26124753, 29, 50739749964),
   (33245, true, 3490802720161, 6432, 5994545081769222641),
   (33254, false, 9042228, 17, 9789263484),
   (33258, true, 93750, 1, 26838000),
   (33269, true, 3157937, 4, 5531540631),
   (33270, true, 812640211854025, 71572, 22650633100921803265925),
   (33278, false, 15478183, 158, 3267803906115),
   (33286, true, 198025, 2, 65229435),
   (33299, false, 271663, 4, 238882791),
   (33305, false, 8100, 1, 2907450),
   (33306, true, 628849, 2, 487357975),
   (33307, true, 137275, 1, 49341480),
   (33319, true, 20375368156, 549, 2530633361872330),
   (33321, true, 249658332, 13, 3943742873994),
   (33351, false, 11025, 1, 3304980),
   (33361, false, 99937, 7, 515804568),
   (33362, true, 18519698, 23, 24156794640),
   (33366, true, 41334, 1, 4960080),
   (33367, true, 875272225, 73, 25354950782460),
   (33371, true, 65774513, 4, 533423509143)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 25 := rfl

end CongruentPoints172

#print axioms CongruentPoints172.on_curve
#print axioms CongruentPoints172.indep
#print axioms CongruentPoints172.count

bsd/CongruentPoints173.lean

lean_all/bsd/CongruentPoints173.lean

/-
  bsd/CongruentPoints173.lean — T39 goal G236: points for congruent curves in 33401–33600 with Tunnell A = 2B
  (n = 33415, 33441, 33470, 33495, 33501, 33511, 33521, 33535, 33537, 33546, 33553, 33558, 33586, 33594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints173
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (33415, true, 58549025, 1, 448001460900),
   (33441, false, 181476, 17, 4116329370),
   (33470, false, 292820, 3, 38248100),
   (33495, true, 859705, 4, 623286125),
   (33501, true, 2479771423441, 3954, 3816872616681000305),
   (33511, true, 1095664, 1, 1146338460),
   (33521, true, 88725115198801, 22720, 819690077091191141799),
   (33535, true, 36749635716783025, 897666, 4774542199077143707300225),
   (33537, true, 332906480775625, 45902, 5935712429920103841725),
   (33546, true, 927522, 1, 892692936),
   (33553, true, 17057305057, 88, 2227487271392175),
   (33558, false, 24863, 8, 338628655),
   (33586, true, 319214, 1, 179351760),
   (33594, true, 89100, 1, 24633180)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints173

#print axioms CongruentPoints173.on_curve
#print axioms CongruentPoints173.indep
#print axioms CongruentPoints173.count

bsd/CongruentPoints174.lean

lean_all/bsd/CongruentPoints174.lean

/-
  bsd/CongruentPoints174.lean — T39 goal G237: points for congruent curves in 33601–33800 with Tunnell A = 2B
  (n = 33605, 33630, 33649, 33670, 33695, 33710, 33711, 33719, 33726, 33735, 33745, 33769, 33774, 33779, 33781, 33785, 33787, 33790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints174
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (33605, true, 37180, 1, 3067350),
   (33630, true, 381357474, 65, 6911083162368),
   (33649, true, 1792252, 3, 2364876514),
   (33670, true, 2813850, 1, 4719764400),
   (33695, true, 2146225, 7, 2008866600),
   (33710, false, 90, 1, 319800),
   (33711, true, 2047947034225, 2838, 2904873642649391905),
   (33719, false, 14778463, 116, 1743310732401),
   (33726, true, 35574, 1, 2134440),
   (33735, true, 7751922025, 477, 95481771991100),
   (33745, false, 24336, 1, 3646812),
   (33769, true, 52993546899912529, 150403, 12198020457371908447805160),
   (33774, false, 28227, 1, 3115737),
   (33779, true, 66848913, 4, 546546767943),
   (33781, true, 37741788469, 725, 6470066727567828),
   (33785, true, 1357225, 6, 701685325),
   (33787, true, 1221025, 6, 118180855),
   (33790, false, 4499991, 14, 10307967573)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints174

#print axioms CongruentPoints174.on_curve
#print axioms CongruentPoints174.indep
#print axioms CongruentPoints174.count

bsd/CongruentPoints175.lean

lean_all/bsd/CongruentPoints175.lean

/-
  bsd/CongruentPoints175.lean — T39 goal G238: points for congruent curves in 33801–34000 with Tunnell A = 2B
  (n = 33838, 33839, 33846, 33870, 33878, 33899, 33901, 33915, 33917, 33935, 33990, 33994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints175
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (33838, false, 8750, 1, 3057600),
   (33839, true, 5153851337928241, 57387, 369910177619040745263460),
   (33846, false, 3600, 1, 2019240),
   (33870, true, 1274641, 6, 419356889),
   (33878, true, 52650, 1, 9247680),
   (33899, true, 29134501, 7, 157001712120),
   (33901, true, 320572, 3, 55691146),
   (33915, true, 180625, 2, 50683375),
   (33917, true, 88830625, 18, 830797548425),
   (33935, true, 1807472931928225, 204258, 47768292522896867493175),
   (33990, true, 48510, 1, 7623000),
   (33994, false, 14982338, 219, 6310473641416)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints175

#print axioms CongruentPoints175.on_curve
#print axioms CongruentPoints175.indep
#print axioms CongruentPoints175.count

bsd/CongruentPoints176.lean

lean_all/bsd/CongruentPoints176.lean

/-
  bsd/CongruentPoints176.lean — T39 goal G239: points for congruent curves in 34001–34200 with Tunnell A = 2B
  (n = 34013, 34026, 34030, 34041, 34045, 34071, 34086, 34099, 34111, 34185, 34190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints176
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (34013, false, 24367, 4, 84865305),
   (34026, true, 62163117, 37, 324545368401),
   (34030, true, 218489, 2, 79886163),
   (34041, false, 5103, 2, 9720081),
   (34045, true, 1918225, 2, 2650038225),
   (34071, true, 118168875049, 1862, 1098538712131085),
   (34086, true, 8688576, 5, 25487311824),
   (34099, true, 48373, 1, 7546188),
   (34111, false, 11272527, 184, 3877216476777),
   (34185, true, 42135, 1, 5056200),
   (34190, true, 3856098636, 187, 227653686134316)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints176

#print axioms CongruentPoints176.on_curve
#print axioms CongruentPoints176.indep
#print axioms CongruentPoints176.count

bsd/CongruentPoints177.lean

lean_all/bsd/CongruentPoints177.lean

/-
  bsd/CongruentPoints177.lean — T39 goal G240: points for congruent curves in 34201–34400 with Tunnell A = 2B
  (n = 34215, 34221, 34238, 34241, 34255, 34262, 34270, 34279, 34289, 34291, 34306, 34314, 34321, 34333, 34357, 34365, 34374), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints177
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (34215, true, 11236876101025, 17329, 15251577556915294100),
   (34221, true, 88572, 1, 24313014),
   (34238, true, 140777, 2, 12229035),
   (34241, true, 1238593, 1, 1377929232),
   (34255, true, 3228499495, 183, 171472023113300),
   (34262, false, 29571732, 31, 78732586380),
   (34270, true, 31629432240025, 28884, 76075523516914228925),
   (34279, true, 828352, 3, 699675704),
   (34289, true, 6265494591409, 12513, 8084788231890894400),
   (34291, true, 3707307640969, 9022, 4698033790513013475),
   (34306, false, 32258, 1, 2097024),
   (34314, true, 45486, 1, 6368040),
   (34321, true, 155407, 1, 59751384),
   (34333, true, 1151059, 5, 822842748),
   (34357, true, 907137, 4, 687283905),
   (34365, true, 1628901, 1, 2078477676),
   (34374, false, 235298, 41, 28028722456)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints177

#print axioms CongruentPoints177.on_curve
#print axioms CongruentPoints177.indep
#print axioms CongruentPoints177.count

bsd/CongruentPoints178.lean

lean_all/bsd/CongruentPoints178.lean

/-
  bsd/CongruentPoints178.lean — T39 goal G241: points for congruent curves in 34401–34600 with Tunnell A = 2B
  (n = 34405, 34431, 34451, 34469, 34486, 34491, 34510, 34523, 34527, 34539, 34546, 34590, 34591, 34593), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints178
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (34405, false, 31205, 1, 2559600),
   (34431, false, 15502943, 52, 361457574031),
   (34451, true, 212573557249, 1026, 96571702370396825),
   (34469, true, 134932687298809, 39550, 1436818964741035944123),
   (34486, false, 32316158123, 1191, 6601660378317739),
   (34491, true, 25526667, 23, 90196697016),
   (34510, true, 40460, 1, 4248300),
   (34523, false, 5801839, 40, 132312950841),
   (34527, true, 89612218609, 185, 26823354040520648),
   (34539, false, 6675423, 14, 2908002231),
   (34546, true, 299538, 1, 162843408),
   (34590, false, 861846, 5, 65736792),
   (34591, true, 2779503841, 257, 83455580009760),
   (34593, true, 865839, 5, 38980188)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints178

#print axioms CongruentPoints178.on_curve
#print axioms CongruentPoints178.indep
#print axioms CongruentPoints178.count

bsd/CongruentPoints179.lean

lean_all/bsd/CongruentPoints179.lean

/-
  bsd/CongruentPoints179.lean — T39 goal G242: points for congruent curves in 34601–34800 with Tunnell A = 2B
  (n = 34601, 34609, 34611, 34615, 34621, 34639, 34671, 34685, 34689, 34697, 34698, 34706, 34710, 34751, 34765, 34782, 34795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints179
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (34601, false, 22743, 1, 3932544),
   (34609, true, 33988841329, 315, 6234138889792892),
   (34611, false, 447564432, 143, 11599253920548),
   (34615, true, 297689, 2, 143783787),
   (34621, false, 842724, 5, 181173726),
   (34639, true, 36848, 1, 2412228),
   (34671, true, 62943232, 41, 188592138944),
   (34685, true, 34372835, 19, 187675679100),
   (34689, true, 23571904, 25, 44915533208),
   (34697, false, 16900, 1, 3939390),
   (34698, true, 124002, 1, 41921640),
   (34706, true, 366892, 1, 221235876),
   (34710, true, 28594810, 13, 149656205600),
   (34751, false, 14973775, 28, 88075981545),
   (34765, false, 156523165, 71, 986158225800),
   (34782, true, 278850, 1, 146100240),
   (34795, true, 174636357150025, 37178, 2218580357664022292925)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints179

#print axioms CongruentPoints179.on_curve
#print axioms CongruentPoints179.indep
#print axioms CongruentPoints179.count

bsd/CongruentPoints18.lean

lean_all/bsd/CongruentPoints18.lean

/-
  bsd/CongruentPoints18.lean — T39 goal G70: points for congruent curves in 3001–3200 with Tunnell A = 2B
  (n = 3001, 3003, 3005, 3007, 3014, 3017, 3018, 3021, 3026, 3029, 3030, 3045, 3053, 3055, 3063, 3070, 3081, 3085, 3090, 3093, 3094, 3099, 3102, 3111, 3122, 3129, 3135, 3145, 3157, 3161, 3165, 3171, 3173, 3183, 3190, 3191, 3198, 3199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints18
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (3001, false, 1990921, 89, 33422921400),
   (3003, true, 7203, 1, 555660),
   (3005, true, 16002605, 41, 60742632600),
   (3007, true, 2697775, 23, 3578840880),
   (3014, true, 18769, 2, 1970745),
   (3017, true, 1300327, 9, 1456366240),
   (3018, true, 7350, 1, 574560),
   (3021, true, 172197, 7, 36505764),
   (3026, true, 5202, 1, 305184),
   (3029, true, 54289, 4, 5700345),
   (3030, false, 404496, 125, 30109525992),
   (3045, true, 108045, 1, 35500500),
   (3053, true, 169771267, 119, 2139128217120),
   (3055, true, 14885220025, 1533, 1590863988591800),
   (3063, true, 821306699085601, 85230, 23528737198788762787849),
   (3070, false, 204020, 27, 1006677100),
   (3081, true, 243399, 5, 113910732),
   (3085, false, 12996, 13, 59417142),
   (3090, true, 63654, 1, 16040808),
   (3093, true, 4107, 1, 173160),
   (3094, true, 184093, 1, 78975897),
   (3099, true, 1067089, 8, 1083095335),
   (3102, true, 48598, 1, 10691560),
   (3111, true, 80879378449, 4325, 15974244699855832),
   (3122, true, 3150, 1, 23520),
   (3129, true, 3751969, 33, 3041981020),
   (3135, true, 5415, 1, 324900),
   (3145, true, 34225, 3, 3559400),
   (3157, true, 54695025, 74, 383765819745),
   (3161, false, 30276, 25, 343718382),
   (3165, false, 45466215, 122, 83124436725),
   (3171, false, 15987, 7, 19541808),
   (3173, true, 17328475, 31, 71008497840),
   (3183, true, 23668284025, 2623, 1381196829253780),
   (3190, true, 593021, 7, 440523369),
   (3191, true, 6925734841, 343, 575519182951560),
   (3198, true, 63897600, 23, 510592642560),
   (3199, false, 2547216, 29, 1381920540)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 38 := rfl

end CongruentPoints18

#print axioms CongruentPoints18.on_curve
#print axioms CongruentPoints18.indep
#print axioms CongruentPoints18.count

bsd/CongruentPoints180.lean

lean_all/bsd/CongruentPoints180.lean

/-
  bsd/CongruentPoints180.lean — T39 goal G243: points for congruent curves in 34801–35000 with Tunnell A = 2B
  (n = 34806, 34827, 34833, 34845, 34851, 34874, 34881, 34891, 34903, 34910, 34921, 34935, 34945, 34949, 34951, 34958, 34959, 34989, 34998), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints180
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (34806, false, 6244213803, 1721, 8131236719797611),
   (34827, true, 183027, 1, 76871340),
   (34833, false, 1221008, 7, 1317845780),
   (34845, true, 12592845, 19, 2091507300),
   (34851, false, 28224, 1, 3434760),
   (34874, true, 314608, 3, 12112408),
   (34881, true, 19312447, 19, 64349073404),
   (34891, true, 640625, 4, 251519625),
   (34903, false, 4998143, 12, 1182075265),
   (34910, false, 28123290, 59, 626951481000),
   (34921, false, 2129623007, 276, 73562923486513),
   (34935, false, 32400, 1, 2351700),
   (34945, true, 8421745, 3, 24423060500),
   (34949, true, 229005176928889, 76270, 1595181340307229774213),
   (34951, false, 28224, 1, 3463320),
   (34958, true, 56133, 1, 10405395),
   (34959, true, 68241, 1, 15309720),
   (34989, true, 35643, 1, 1283148),
   (34998, false, 21218, 3, 45777320)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints180

#print axioms CongruentPoints180.on_curve
#print axioms CongruentPoints180.indep
#print axioms CongruentPoints180.count

bsd/CongruentPoints181.lean

lean_all/bsd/CongruentPoints181.lean

/-
  bsd/CongruentPoints181.lean — T39 goal G245: points for congruent curves in 35001–35200 with Tunnell A = 2B
  (n = 35013, 35061, 35070, 35085, 35089, 35122, 35123, 35129, 35139, 35147), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints181
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (35013, true, 13334211, 5, 48586231584),
   (35061, false, 64815725, 43, 10068418360),
   (35070, true, 35574, 1, 1125432),
   (35085, true, 245760, 1, 120585600),
   (35089, false, 1620529, 17, 12743239200),
   (35122, true, 31953897, 26, 120888397995),
   (35123, true, 32887900, 9, 187898439070),
   (35129, false, 68121, 257, 605581418520),
   (35139, true, 36517, 1, 1898884),
   (35147, true, 30117628130209, 21230, 140573860633521975927)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints181

#print axioms CongruentPoints181.on_curve
#print axioms CongruentPoints181.indep
#print axioms CongruentPoints181.count

bsd/CongruentPoints182.lean

lean_all/bsd/CongruentPoints182.lean

/-
  bsd/CongruentPoints182.lean — T39 goal G246: points for congruent curves in 35201–35400 with Tunnell A = 2B
  (n = 35209, 35239, 35245, 35249, 35255, 35263, 35269, 35282, 35286, 35294, 35295, 35302, 35310, 35315, 35345, 35346, 35353, 35371, 35377, 35386, 35394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints182
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (35209, false, 7630352, 27, 67695803972),
   (35239, true, 49818114319, 927, 8829379623476620),
   (35245, true, 4269680, 1, 8822226300),
   (35249, false, 1096209, 221, 1802511074820),
   (35255, true, 132055, 1, 46246200),
   (35263, true, 9625289741490721, 14805, 944323021282150597935644),
   (35269, true, 229957, 1, 108968496),
   (35282, false, 23, 6, 6091435),
   (35286, false, 14400, 1, 3865680),
   (35294, false, 2733122, 9, 1386003808),
   (35295, true, 24139274055, 577, 3276113972566500),
   (35302, true, 1190502, 1, 1298387040),
   (35310, true, 2747760, 1, 4554412200),
   (35315, true, 47765974235, 587, 10095024458778000),
   (35345, true, 361038748225, 2812, 137330283756671775),
   (35346, true, 2279817, 2, 3435684219),
   (35353, true, 34717005625, 511, 6235770639556200),
   (35371, true, 11902912, 9, 39858388696),
   (35377, true, 2512225, 7, 2882062560),
   (35386, false, 1690000, 17, 13111729800),
   (35394, true, 2167362, 1, 3190356864)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints182

#print axioms CongruentPoints182.on_curve
#print axioms CongruentPoints182.indep
#print axioms CongruentPoints182.count

bsd/CongruentPoints183.lean

lean_all/bsd/CongruentPoints183.lean

/-
  bsd/CongruentPoints183.lean — T39 goal G247: points for congruent curves in 35401–35600 with Tunnell A = 2B
  (n = 35405, 35409, 35411, 35445, 35457, 35462, 35479, 35483, 35486, 35502, 35510, 35518, 35526, 35535, 35537, 35562, 35581), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints183
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (35405, false, 13924, 37, 5719394274),
   (35409, true, 45177, 1, 5963364),
   (35411, true, 13257449881, 236, 1509490180124355),
   (35445, true, 460275, 1, 311339700),
   (35457, true, 4580717761, 315, 198538466409116),
   (35462, false, 634151, 30, 25410682493),
   (35479, true, 47753, 1, 6984552),
   (35483, true, 694453, 3, 513895220),
   (35486, true, 57238918, 13, 430665619032),
   (35502, true, 53802, 1, 9376920),
   (35510, true, 93999550790, 421, 28754974471123200),
   (35518, true, 936684, 5, 288602748),
   (35526, true, 3392733, 7, 5363910873),
   (35535, true, 2031360, 7, 1491145200),
   (35537, true, 8395140625, 353, 653493529206000),
   (35562, true, 273612, 1, 141906780),
   (35581, false, 236708, 3, 104931854)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints183

#print axioms CongruentPoints183.on_curve
#print axioms CongruentPoints183.indep
#print axioms CongruentPoints183.count

bsd/CongruentPoints184.lean

lean_all/bsd/CongruentPoints184.lean

/-
  bsd/CongruentPoints184.lean — T39 goal G248: points for congruent curves in 35601–35800 with Tunnell A = 2B
  (n = 35615, 35619, 35641, 35646, 35651, 35670, 35689, 35719, 35735, 35742, 35765, 35774, 35795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints184
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (35615, true, 1809727158121, 7101, 300829727056589344),
   (35619, false, 440067, 91, 195669630612),
   (35641, true, 129669849409, 1743, 25690606570571300),
   (35646, false, 35643, 1, 87309),
   (35651, true, 142373, 1, 52009188),
   (35670, true, 37845, 1, 2459925),
   (35689, true, 14311289, 20, 3821114163),
   (35719, true, 2411809, 8, 1193845455),
   (35735, false, 2223081, 449, 10741479185472),
   (35742, true, 236992, 1, 114052400),
   (35765, true, 11122915, 9, 35815786300),
   (35774, true, 312542, 1, 173579664),
   (35795, true, 4543434025, 242, 271704244497075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints184

#print axioms CongruentPoints184.on_curve
#print axioms CongruentPoints184.indep
#print axioms CongruentPoints184.count

bsd/CongruentPoints185.lean

lean_all/bsd/CongruentPoints185.lean

/-
  bsd/CongruentPoints185.lean — T39 goal G249: points for congruent curves in 35801–36000 with Tunnell A = 2B
  (n = 35805, 35814, 35815, 35826, 35841, 35855, 35926, 35931, 35953, 35970, 35985, 35990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints185
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (35805, true, 10359580, 13, 27064402750),
   (35814, true, 397150, 1, 249263560),
   (35815, true, 422168565025, 2867, 196607627422559400),
   (35826, false, 23696414, 395, 27210086648416),
   (35841, false, 47104239, 89, 1921446628920),
   (35855, true, 21093102095, 511, 2745137158951200),
   (35926, true, 58667158, 7, 449155761648),
   (35931, true, 38332, 1, 2614346),
   (35953, false, 1311025, 13, 6793207140),
   (35970, false, 41504034, 41, 283280890464),
   (35985, true, 712860, 1, 601107750),
   (35990, false, 114490900, 451, 78319028640300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints185

#print axioms CongruentPoints185.on_curve
#print axioms CongruentPoints185.indep
#print axioms CongruentPoints185.count

bsd/CongruentPoints186.lean

lean_all/bsd/CongruentPoints186.lean

/-
  bsd/CongruentPoints186.lean — T39 goal G250: points for congruent curves in 36001–36200 with Tunnell A = 2B
  (n = 36002, 36005, 36006, 36010, 36022, 36030, 36031, 36051, 36069, 36103, 36110, 36114, 36121, 36134, 36139, 36145, 36146, 36149, 36186, 36190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints186
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (36002, false, 4545887, 12, 5313937265),
   (36005, true, 2903593225, 278, 44693145013725),
   (36006, false, 7426658, 17, 19862883944),
   (36010, true, 37597210, 3, 230524607600),
   (36022, false, 1199350, 23, 20827375920),
   (36030, false, 3174, 1, 2021976),
   (36031, true, 83046769, 7, 756634164000),
   (36051, false, 13725, 11, 511042140),
   (36069, true, 1194649, 2, 1296194165),
   (36103, false, 898704, 5, 79160844),
   (36110, true, 616225, 4, 168229425),
   (36114, true, 39936, 1, 3407040),
   (36121, true, 776161, 3, 620928800),
   (36134, false, 25568098, 31, 118809486984),
   (36139, true, 1370561623083409, 66970, 50383636868756186985327),
   (36145, true, 272853078610225, 86352, 702189903633547357225),
   (36146, true, 50933, 1, 8098347),
   (36149, true, 5521019599225, 9086, 10914189627100851195),
   (36186, true, 318828, 1, 178862508),
   (36190, true, 48510, 1, 7114800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints186

#print axioms CongruentPoints186.on_curve
#print axioms CongruentPoints186.indep
#print axioms CongruentPoints186.count

bsd/CongruentPoints187.lean

lean_all/bsd/CongruentPoints187.lean

/-
  bsd/CongruentPoints187.lean — T39 goal G251: points for congruent curves in 36201–36400 with Tunnell A = 2B
  (n = 36210, 36214, 36237, 36239, 36246, 36255, 36278, 36285, 36294, 36295, 36337, 36361, 36366, 36381, 36390, 36395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints187
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (36210, true, 3690240, 1, 7088608800),
   (36214, false, 305762, 3, 62406728),
   (36237, true, 474778725, 103, 6070689990540),
   (36239, true, 83886775, 11, 767266282440),
   (36246, false, 17543316, 23, 32411180340),
   (36255, true, 234892314482809, 65723, 2683161789336502902352),
   (36278, false, 235298, 3, 109801160),
   (36285, true, 892611, 1, 842624784),
   (36294, true, 116058, 1, 37554768),
   (36295, true, 1075369, 3, 1062464572),
   (36337, true, 10168582417, 171, 1019780411641460),
   (36361, true, 580279921, 95, 11528470356156),
   (36366, true, 610566, 1, 476241480),
   (36381, true, 819025, 2, 729423665),
   (36390, false, 28123290, 121, 2821499506800),
   (36395, true, 37845, 1, 2018400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints187

#print axioms CongruentPoints187.on_curve
#print axioms CongruentPoints187.indep
#print axioms CongruentPoints187.count

bsd/CongruentPoints188.lean

lean_all/bsd/CongruentPoints188.lean

/-
  bsd/CongruentPoints188.lean — T39 goal G252: points for congruent curves in 36401–36600 with Tunnell A = 2B
  (n = 36401, 36403, 36411, 36431, 36462, 36478, 36490, 36498, 36519, 36537, 36543, 36545, 36565, 36570, 36582, 36586), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints188
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (36401, false, 2859481, 13, 9210538800),
   (36403, false, 1475, 7, 68506080),
   (36411, true, 1311025, 6, 28055935),
   (36431, true, 111537, 1, 35207136),
   (36462, true, 6213428650, 289, 426914410831480),
   (36478, false, 6968884, 1285, 159007968565836),
   (36490, false, 705600, 13, 5146100400),
   (36498, true, 917301, 5, 90233451),
   (36519, true, 38332, 1, 2280754),
   (36537, true, 125913, 1, 42756840),
   (36543, true, 203127785809, 2310, 25642352095973873),
   (36545, true, 423151551001, 858, 274703620618536949),
   (36565, false, 420959, 12, 3405301361),
   (36570, false, 1145814, 11, 4575054384),
   (36582, true, 3313674, 5, 5797759968),
   (36586, true, 1996236, 7, 1240712220)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints188

#print axioms CongruentPoints188.on_curve
#print axioms CongruentPoints188.indep
#print axioms CongruentPoints188.count

bsd/CongruentPoints189.lean

lean_all/bsd/CongruentPoints189.lean

/-
  bsd/CongruentPoints189.lean — T39 goal G253: points for congruent curves in 36601–36800 with Tunnell A = 2B
  (n = 36605, 36610, 36631, 36642, 36661, 36665, 36686, 36707, 36719, 36726, 36735, 36743, 36751, 36766, 36777, 36789), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints189
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (36605, true, 286455625, 62, 4223037736125),
   (36610, false, 5915, 3, 25336675),
   (36631, false, 7056, 1, 3019380),
   (36642, true, 144150, 1, 52931880),
   (36661, true, 14358832383025, 1668, 54408622538578349015),
   (36665, false, 3025, 1, 2009700),
   (36686, true, 89557, 1, 24449061),
   (36707, false, 18163475, 23, 29263520880),
   (36719, true, 239948737, 23, 3704674032696),
   (36726, true, 46818, 1, 6282792),
   (36735, false, 219615, 17, 4974116400),
   (36743, true, 16408567461001, 6130, 66231268157166878499),
   (36751, false, 9801, 1, 3506580),
   (36766, true, 67518, 1, 14714832),
   (36777, true, 42025, 1, 4168880),
   (36789, true, 3905643, 1, 7718262552)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints189

#print axioms CongruentPoints189.on_curve
#print axioms CongruentPoints189.indep
#print axioms CongruentPoints189.count

bsd/CongruentPoints19.lean

lean_all/bsd/CongruentPoints19.lean

/-
  bsd/CongruentPoints19.lean — T39 goal G71: points for congruent curves in 3201–3400 with Tunnell A = 2B
  (n = 3206, 3230, 3239, 3245, 3255, 3265, 3269, 3270, 3278, 3281, 3289, 3290, 3310, 3318, 3335, 3341, 3355, 3358, 3365, 3374, 3379, 3390, 3399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints19
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (3206, true, 185150, 1, 79656360),
   (3230, true, 549100, 1, 406883100),
   (3239, true, 5707321, 31, 11428498200),
   (3245, true, 70225, 2, 18288975),
   (3255, true, 37975, 3, 4708900),
   (3265, false, 156816, 17, 368463348),
   (3269, true, 525532, 9, 329084686),
   (3270, true, 23805, 1, 3638025),
   (3278, true, 488422, 7, 322358520),
   (3281, true, 18769, 1, 2531760),
   (3289, true, 4225, 1, 172380),
   (3290, true, 1082410, 3, 1125706400),
   (3310, true, 1095610, 13, 986049000),
   (3318, false, 3153750, 31, 834886800),
   (3335, true, 2362369, 26, 1084862247),
   (3341, false, 1156, 5, 2839578),
   (3355, true, 21025, 2, 2346825),
   (3358, true, 133225, 6, 20436715),
   (3365, true, 29900391015625, 17806, 163394962497598528125),
   (3374, true, 977202, 17, 63536304),
   (3379, true, 77500, 3, 19844650),
   (3390, true, 3572160, 7, 6744135600),
   (3399, true, 112089417, 41, 1185173527824)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 23 := rfl

end CongruentPoints19

#print axioms CongruentPoints19.on_curve
#print axioms CongruentPoints19.indep
#print axioms CongruentPoints19.count

bsd/CongruentPoints190.lean

lean_all/bsd/CongruentPoints190.lean

/-
  bsd/CongruentPoints190.lean — T39 goal G254: points for congruent curves in 36801–37000 with Tunnell A = 2B
  (n = 36805, 36806, 36814, 36815, 36830, 36845, 36862, 36865, 36870, 36874, 36879, 36883, 36889, 36890, 36894, 36911, 36917, 36939, 36941, 36974, 36991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints190
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (36805, true, 5723218905625, 6882, 13041275010314195125),
   (36806, false, 286286, 9, 1587786200),
   (36814, true, 6617522, 7, 16378596144),
   (36815, true, 4646467225, 351, 68761687780700),
   (36830, true, 6360408340225, 10632, 12127106002944529025),
   (36845, true, 127337515440630625, 764882, 44783805168221328682643625),
   (36862, false, 28322, 9, 502465600),
   (36865, true, 206236781689, 1573, 84000152733170088),
   (36870, true, 28253742930625, 26028, 70192177985886702625),
   (36874, true, 107234604, 23, 1091932288020),
   (36879, false, 179383332, 121, 6820948969002),
   (36883, true, 54208, 1, 9249240),
   (36889, true, 994009, 5, 369771348),
   (36890, true, 11212460, 17, 11627479500),
   (36894, true, 3517228, 9, 3478538492),
   (36911, true, 24952391825754121, 794044, 1421738143967157988073115),
   (36917, true, 8731507, 11, 22168836720),
   (36939, false, 34347, 1, 2519208),
   (36941, false, 3844, 5, 57258054),
   (36974, true, 59631962992, 559, 14285986808193576),
   (36991, true, 52647403759, 57, 12079926933884200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints190

#print axioms CongruentPoints190.on_curve
#print axioms CongruentPoints190.indep
#print axioms CongruentPoints190.count

bsd/CongruentPoints191.lean

lean_all/bsd/CongruentPoints191.lean

/-
  bsd/CongruentPoints191.lean — T39 goal G256: points for congruent curves in 37001–37200 with Tunnell A = 2B
  (n = 37009, 37033, 37037, 37057, 37065, 37070, 37077, 37101, 37122, 37135, 37141, 37149, 37165, 37185, 37198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints191
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (37009, false, 17, 1, 152592),
   (37033, false, 568516, 5, 550957602),
   (37037, false, 65598533, 453, 61554965512040),
   (37057, true, 28871976760225, 8016, 154608284056924844785),
   (37065, true, 3115225, 2, 5492141675),
   (37070, true, 43120, 1, 4573800),
   (37077, true, 26954979, 25, 71484604308),
   (37101, true, 9238149, 7, 27529684020),
   (37122, false, 79350, 11, 1265092920),
   (37135, true, 38353955005249, 30910, 90216508463533199943),
   (37141, true, 61328147725, 11, 15187621695344280),
   (37149, false, 33958043, 157, 5332353280856),
   (37165, true, 209010198124225, 57078, 2463028702880955365575),
   (37185, true, 42025, 1, 4013900),
   (37198, true, 59248, 1, 11224920)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints191

#print axioms CongruentPoints191.on_curve
#print axioms CongruentPoints191.indep
#print axioms CongruentPoints191.count

bsd/CongruentPoints192.lean

lean_all/bsd/CongruentPoints192.lean

/-
  bsd/CongruentPoints192.lean — T39 goal G257: points for congruent curves in 37201–37400 with Tunnell A = 2B
  (n = 37201, 37214, 37230, 37238, 37241, 37271, 37285, 37310, 37329, 37334, 37351, 37373, 37381), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints192
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (37201, true, 231502584913681, 65040, 2583399313595773454329),
   (37214, true, 30106126, 21, 138488179600),
   (37230, true, 8153370, 11, 19405020600),
   (37238, false, 1058, 3, 10901080),
   (37241, true, 38809, 1, 2151240),
   (37271, true, 11239622311897225, 149298, 1188332527039033982791645),
   (37285, true, 7408222458025, 9594, 17869614614903235725),
   (37310, true, 4057690, 1, 8173347000),
   (37329, true, 7161372, 1, 19164100986),
   (37334, true, 3227158, 7, 4775924208),
   (37351, true, 9188943616, 415, 628999104431664),
   (37373, true, 357532, 3, 72479330),
   (37381, false, 751709, 33, 35288208620)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints192

#print axioms CongruentPoints192.on_curve
#print axioms CongruentPoints192.indep
#print axioms CongruentPoints192.count

bsd/CongruentPoints193.lean

lean_all/bsd/CongruentPoints193.lean

/-
  bsd/CongruentPoints193.lean — T39 goal G258: points for congruent curves in 37401–37600 with Tunnell A = 2B
  (n = 37403, 37411, 37417, 37443, 37445, 37455, 37470, 37471, 37474, 37481, 37497, 37505, 37513, 37522, 37577, 37590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints193
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (37403, true, 896703025, 124, 20601779069655),
   (37411, true, 10920611, 1, 36088419120),
   (37417, false, 183872, 3, 120975400),
   (37443, false, 20292069, 55, 501966995796),
   (37445, false, 963605, 7, 1532724600),
   (37455, true, 45345520, 27, 243788851900),
   (37470, true, 15913570201, 442, 1782477265052899),
   (37471, true, 1478862727225, 3111, 1743509392264673020),
   (37474, false, 30976, 1, 3711840),
   (37481, false, 1936, 5, 41229012),
   (37497, true, 100572, 1, 29594790),
   (37505, true, 41485949761, 545, 8139563087129616),
   (37513, false, 139167, 4, 217806225),
   (37522, true, 4169833, 6, 8055716075),
   (37577, false, 94864, 5, 287863884),
   (37590, true, 672861, 1, 551073159)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints193

#print axioms CongruentPoints193.on_curve
#print axioms CongruentPoints193.indep
#print axioms CongruentPoints193.count

bsd/CongruentPoints194.lean

lean_all/bsd/CongruentPoints194.lean

/-
  bsd/CongruentPoints194.lean — T39 goal G259: points for congruent curves in 37601–37800 with Tunnell A = 2B
  (n = 37646, 37653, 37679, 37685, 37686, 37694, 37695, 37705, 37706, 37733, 37734, 37758, 37762, 37765, 37770, 37774, 37797), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints194
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (37646, true, 54208, 1, 9081072),
   (37653, true, 583737, 2, 430890075),
   (37679, true, 14701320001, 409, 1610382289787040),
   (37685, true, 6000172725625, 6794, 14066391664519978875),
   (37686, true, 7172902, 13, 8837015264),
   (37694, true, 62658, 1, 12528768),
   (37695, true, 13532505, 4, 49731955875),
   (37705, true, 346553755611067225, 2968788, 57866870042071064605677475),
   (37706, true, 47721656250, 1093, 3442038437556000),
   (37733, true, 8788875001, 70, 823765900663749),
   (37734, false, 37538, 1, 744184),
   (37758, true, 68208, 1, 14835240),
   (37762, false, 120159, 20, 5235755889),
   (37765, true, 1526074225, 148, 50098256669175),
   (37770, true, 37845, 1, 463275),
   (37774, true, 286081389, 31, 4799651036895),
   (37797, false, 588627, 79, 180979861140)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints194

#print axioms CongruentPoints194.on_curve
#print axioms CongruentPoints194.indep
#print axioms CongruentPoints194.count

bsd/CongruentPoints195.lean

lean_all/bsd/CongruentPoints195.lean

/-
  bsd/CongruentPoints195.lean — T39 goal G260: points for congruent curves in 37801–38000 with Tunnell A = 2B
  (n = 37815, 37819, 37830, 37862, 37865, 37869, 37887, 37895, 37910, 37914, 37945, 37966, 37983), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints195
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (37815, false, 75615, 2, 36023625),
   (37819, true, 58176891, 31, 346492891920),
   (37830, true, 7376850, 1, 20035524600),
   (37862, true, 69938, 1, 15550920),
   (37865, true, 1631185883854981129, 5922443, 1209512649251471221479467892),
   (37869, true, 5294163121, 278, 320997080302145),
   (37887, true, 2184817, 3, 3189832820),
   (37895, true, 1452422677225, 2679, 1719446454536665400),
   (37910, false, 4189140, 127, 1251449908500),
   (37914, true, 142578, 1, 51898392),
   (37945, true, 10402721355625, 14268, 22472406234209331125),
   (37966, true, 89042, 1, 24033744),
   (37983, false, 1704733439, 280, 100811207698559)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints195

#print axioms CongruentPoints195.on_curve
#print axioms CongruentPoints195.indep
#print axioms CongruentPoints195.count

bsd/CongruentPoints196.lean

lean_all/bsd/CongruentPoints196.lean

/-
  bsd/CongruentPoints196.lean — T39 goal G261: points for congruent curves in 38001–38200 with Tunnell A = 2B
  (n = 38014, 38022, 38049, 38066, 38077, 38081, 38086, 38090, 38110, 38111, 38114, 38135, 38157, 38165, 38181, 38190, 38199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints196
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (38014, true, 17410412, 17, 56357503644),
   (38022, true, 20646150, 23, 21168992880),
   (38049, true, 1329409, 4, 1362644225),
   (38066, true, 216832, 1, 99400224),
   (38077, true, 1322893, 3, 1469613860),
   (38081, true, 11643633, 7, 39217787232),
   (38086, true, 117400113769, 1336, 32795869881073845),
   (38090, true, 2146225, 6, 2418795575),
   (38110, true, 18727292110, 123, 2561571910723600),
   (38111, true, 2007889, 7, 1045405920),
   (38114, true, 166617, 2, 27437949),
   (38135, true, 1405808640, 71, 52214405390400),
   (38157, false, 498525, 7, 1272329640),
   (38165, false, 33124, 1, 3450174),
   (38181, true, 1861706539, 87, 79354275945560),
   (38190, true, 13089100, 3, 47338543700),
   (38199, true, 86751, 1, 22940820)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints196

#print axioms CongruentPoints196.on_curve
#print axioms CongruentPoints196.indep
#print axioms CongruentPoints196.count

bsd/CongruentPoints197.lean

lean_all/bsd/CongruentPoints197.lean

/-
  bsd/CongruentPoints197.lean — T39 goal G262: points for congruent curves in 38201–38400 with Tunnell A = 2B
  (n = 38211, 38222, 38230, 38239, 38242, 38247, 38270, 38285, 38287, 38309, 38335, 38374, 38383, 38391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints197
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (38211, false, 2337263, 8, 1099991431),
   (38222, true, 113347341, 35, 1098978035889),
   (38230, false, 124820, 7, 660353100),
   (38239, true, 991053361, 151, 14832832252560),
   (38242, false, 1016738, 17, 11096789760),
   (38247, true, 25663737, 14, 124340805765),
   (38270, false, 16820, 3, 44616500),
   (38285, false, 182583440, 71, 844952257500),
   (38287, true, 6591004225, 329, 416082043659360),
   (38309, true, 44109, 1, 4591860),
   (38335, true, 42025, 1, 3530100),
   (38374, false, 22004703, 44, 332860277169),
   (38383, true, 8793911495209, 12825, 18153715072067125948),
   (38391, true, 123465456, 55, 465742566396)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints197

#print axioms CongruentPoints197.on_curve
#print axioms CongruentPoints197.indep
#print axioms CongruentPoints197.count

bsd/CongruentPoints198.lean

lean_all/bsd/CongruentPoints198.lean

/-
  bsd/CongruentPoints198.lean — T39 goal G263: points for congruent curves in 38401–38600 with Tunnell A = 2B
  (n = 38409, 38410, 38415, 38419, 38431, 38454, 38467, 38471, 38479, 38527, 38531, 38533, 38542, 38566, 38570, 38591, 38595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints198
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (38409, true, 170097, 2, 30107169),
   (38410, false, 9610, 1, 3645600),
   (38415, true, 38809, 1, 1086652),
   (38419, true, 3411772, 3, 6269430986),
   (38431, true, 2255310129361, 6937, 1938524031231637200),
   (38454, true, 235248, 1, 112566168),
   (38467, true, 372514428, 53, 6880651913850),
   (38471, true, 135233641, 23, 1554722409240),
   (38479, false, 24367, 1, 4648728),
   (38527, false, 682276, 5, 561561882),
   (38531, true, 113162554808521, 40222, 1004694578186401755645),
   (38533, true, 3563279152225, 3368, 6675479871502670865),
   (38542, false, 19328750, 23, 28525879200),
   (38566, true, 67606198, 13, 553289124432),
   (38570, true, 129605, 1, 44544675),
   (38591, true, 215766721, 66, 1986920731655),
   (38595, false, 1734605, 9, 3425388400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints198

#print axioms CongruentPoints198.on_curve
#print axioms CongruentPoints198.indep
#print axioms CongruentPoints198.count

bsd/CongruentPoints199.lean

lean_all/bsd/CongruentPoints199.lean

/-
  bsd/CongruentPoints199.lean — T39 goal G264: points for congruent curves in 38601–38800 with Tunnell A = 2B
  (n = 38623, 38633, 38690, 38695, 38719, 38731, 38743, 38751, 38766, 38777, 38793, 38795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints199
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (38623, true, 35871223609, 185, 6789287651751852),
   (38633, true, 2432955625, 241, 46387545118200),
   (38690, true, 1755625, 6, 1416087125),
   (38695, true, 63900, 1, 12854550),
   (38719, false, 1776889, 37, 70617701160),
   (38731, true, 135531, 1, 47814360),
   (38743, false, 1664100, 13, 8169011430),
   (38751, true, 32334353805448249, 816455, 3497212585555625946297932),
   (38766, true, 393198, 1, 245355552),
   (38777, false, 861184, 5, 413087136),
   (38793, true, 1204513, 4, 1132928335),
   (38795, true, 28171944025, 542, 4324335213458325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints199

#print axioms CongruentPoints199.on_curve
#print axioms CongruentPoints199.indep
#print axioms CongruentPoints199.count

bsd/CongruentPoints20.lean

lean_all/bsd/CongruentPoints20.lean

/-
  bsd/CongruentPoints20.lean — T39 goal G72: points for congruent curves in 3401–3600 with Tunnell A = 2B
  (n = 3406, 3409, 3414, 3415, 3433, 3434, 3435, 3439, 3443, 3445, 3458, 3471, 3477, 3478, 3485, 3486, 3495, 3502, 3503, 3526, 3533, 3534, 3542, 3543, 3554, 3567, 3570, 3590, 3593, 3594, 3595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints20
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (3406, true, 4015674, 11, 8004576840),
   (3409, false, 63, 44, 52384479),
   (3414, false, 21218, 11, 60093496),
   (3415, true, 5269343205025, 15639, 11942884105310006900),
   (3433, true, 1542679036964209, 381965, 57309268004435561094552),
   (3434, true, 243049, 8, 51166005),
   (3435, true, 52441, 2, 11589461),
   (3439, true, 32761, 1, 5896980),
   (3443, true, 2449225, 12, 3753682235),
   (3445, false, 777924, 41, 5061407274),
   (3458, false, 448574, 15, 425779424),
   (3471, true, 7921, 1, 633680),
   (3477, true, 10807103613, 737, 1106188276641300),
   (3478, true, 9265392, 19, 27942878040),
   (3485, false, 81796, 5, 8580858),
   (3486, true, 124002, 1, 43648704),
   (3495, true, 13757214720, 661, 1603628351841600),
   (3502, true, 180625, 2, 76534425),
   (3503, true, 923977609, 315, 26023083992648),
   (3526, true, 485809, 10, 232931127),
   (3533, false, 3407716, 85, 46699068702),
   (3534, true, 5766, 1, 345960),
   (3542, true, 7169008, 1, 19195018920),
   (3543, false, 729, 5, 2391444),
   (3554, true, 2134178, 17, 2732970912),
   (3567, true, 151869987025, 4433, 52503146958151720),
   (3570, true, 6069, 1, 382347),
   (3590, true, 3610, 1, 22800),
   (3593, false, 2025, 1, 133560),
   (3594, true, 6498, 1, 436392),
   (3595, false, 1680907679, 1092, 161683936062319)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 31 := rfl

end CongruentPoints20

#print axioms CongruentPoints20.on_curve
#print axioms CongruentPoints20.indep
#print axioms CongruentPoints20.count

bsd/CongruentPoints200.lean

lean_all/bsd/CongruentPoints200.lean

/-
  bsd/CongruentPoints200.lean — T39 goal G265: points for congruent curves in 38801–39000 with Tunnell A = 2B
  (n = 38801, 38815, 38883, 38885, 38890, 38922, 38935, 38953, 38974, 38981, 38982, 38985, 38995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints200
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (38801, true, 1423249, 1, 1697304960),
   (38815, false, 67081, 13, 1698882528),
   (38883, true, 43936584627, 341, 9160678696419900),
   (38885, false, 729725, 37, 45469937400),
   (38890, false, 285610, 7, 1006902000),
   (38922, false, 15332148, 29, 113242313340),
   (38935, true, 931225, 3, 832582700),
   (38953, true, 1094617225, 161, 13985657585640),
   (38974, false, 13754, 27, 3332091880),
   (38981, true, 89661961, 16, 843734345445),
   (38982, false, 1140624, 125, 650510984376),
   (38985, true, 319225, 2, 157377925),
   (38995, false, 1628176, 113, 635351653068)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints200

#print axioms CongruentPoints200.on_curve
#print axioms CongruentPoints200.indep
#print axioms CongruentPoints200.count

bsd/CongruentPoints201.lean

lean_all/bsd/CongruentPoints201.lean

/-
  bsd/CongruentPoints201.lean — T39 goal G267: points for congruent curves in 39001–39200 with Tunnell A = 2B
  (n = 39005, 39026, 39045, 39054, 39063, 39065, 39067, 39070, 39109, 39117, 39121, 39130, 39169, 39174, 39185), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints201
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (39005, true, 206045, 1, 91837200),
   (39026, true, 57798, 1, 10249512),
   (39045, false, 314170455, 668, 308766662911125),
   (39054, true, 30096282, 19, 145871974296),
   (39063, false, 370881, 5, 550175472),
   (39065, false, 625, 1, 976500),
   (39067, true, 5577006959368321, 376530, 48720071062930416046631),
   (39070, false, 158420, 3, 124947100),
   (39109, false, 63, 4, 4966689),
   (39117, true, 1456611, 5, 1302882516),
   (39121, true, 230679, 1, 109188060),
   (39130, true, 142814, 1, 51905112),
   (39169, true, 14209308, 19, 5283494358),
   (39174, false, 31974, 1, 4047120),
   (39185, true, 15208834865, 299, 1825181756829900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints201

#print axioms CongruentPoints201.on_curve
#print axioms CongruentPoints201.indep
#print axioms CongruentPoints201.count

bsd/CongruentPoints202.lean

lean_all/bsd/CongruentPoints202.lean

/-
  bsd/CongruentPoints202.lean — T39 goal G268: points for congruent curves in 39201–39400 with Tunnell A = 2B
  (n = 39202, 39205, 39209, 39214, 39219, 39221, 39237, 39243, 39246, 39263, 39265, 39270, 39271, 39278, 39295, 39311, 39319, 39331, 39333, 39338, 39346, 39353, 39358, 39395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints202
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (39202, false, 2, 1, 55440),
   (39205, false, 285605, 3, 110728700),
   (39209, true, 9938884521654126025, 15813952, 5117503457142885893207505915),
   (39214, true, 45486, 1, 4915680),
   (39219, false, 374544, 5, 554543604),
   (39221, false, 33813, 1, 3654456),
   (39237, true, 8008749337168571161, 1813550, 22661604877636247581156140341),
   (39243, false, 10443, 1, 3865680),
   (39246, true, 1181468125, 23, 40603731886025),
   (39263, false, 63, 1, 311640),
   (39265, false, 5625, 1, 2914500),
   (39270, true, 41650, 1, 2832200),
   (39271, true, 37947135319, 75, 7391985995548628),
   (39278, true, 95922, 1, 27103440),
   (39295, true, 3834705625, 302, 84475012591125),
   (39311, false, 36100, 1, 2956590),
   (39319, true, 345157425001, 911, 201872065339941240),
   (39331, true, 2183505673561, 7062, 1417467050866125035),
   (39333, true, 25346232025, 572, 3476422687963805),
   (39338, true, 180625, 2, 37692825),
   (39346, true, 291789936, 85, 1123926201816),
   (39353, false, 44246687, 36, 168723272465),
   (39358, false, 8766100, 1441, 241971485569380),
   (39395, true, 1310802025, 122, 42444700581075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end CongruentPoints202

#print axioms CongruentPoints202.on_curve
#print axioms CongruentPoints202.indep
#print axioms CongruentPoints202.count

bsd/CongruentPoints203.lean

lean_all/bsd/CongruentPoints203.lean

/-
  bsd/CongruentPoints203.lean — T39 goal G269: points for congruent curves in 39401–39600 with Tunnell A = 2B
  (n = 39405, 39406, 39410, 39422, 39431, 39435, 39455, 39511, 39522, 39531, 39533, 39558, 39559, 39565, 39586), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints203
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (39405, false, 3658559, 20, 29325155489),
   (39406, false, 4275, 1, 2561295),
   (39410, true, 31364410, 27, 70467027400),
   (39422, false, 8307623, 54, 330466530115),
   (39431, true, 6264412, 9, 13488133274),
   (39435, true, 344619, 1, 200977128),
   (39455, true, 3201051186975889, 156995, 172548865109521707459588),
   (39511, true, 780699481, 23, 21805705161240),
   (39522, false, 578676, 5, 609220332),
   (39531, true, 646089617209, 2108, 499761704916710675),
   (39533, true, 419227795352809, 3380, 8583706347751024133877),
   (39558, true, 9151084, 15, 6433212052),
   (39559, true, 907137, 4, 618922689),
   (39565, true, 269334121660551025, 1876554, 119622161673089813135554975),
   (39586, false, 12630338, 41, 232193238816)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints203

#print axioms CongruentPoints203.on_curve
#print axioms CongruentPoints203.indep
#print axioms CongruentPoints203.count

bsd/CongruentPoints204.lean

lean_all/bsd/CongruentPoints204.lean

/-
  bsd/CongruentPoints204.lean — T39 goal G270: points for congruent curves in 39601–39800 with Tunnell A = 2B
  (n = 39606, 39630, 39639, 39643, 39653, 39678, 39687, 39694, 39695, 39745, 39746, 39754, 39759, 39765), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints204
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (39606, true, 3684094, 5, 6811069672),
   (39630, true, 4870845, 11, 1886823225),
   (39639, true, 2391553, 6, 2967917273),
   (39643, false, 4172096303, 1152, 3387495538066535),
   (39653, false, 4275, 1, 2577540),
   (39678, false, 31192518, 41, 329267768760),
   (39687, true, 3679510422025, 9453, 1881261002106564020),
   (39694, true, 142578, 1, 51708288),
   (39695, true, 3431077020, 173, 188544275985450),
   (39745, true, 6793580766158761, 236558, 529090312812263820677709),
   (39746, true, 703298, 1, 588863232),
   (39754, true, 425062, 3, 149621824),
   (39759, true, 72679452, 41, 243439824474),
   (39765, true, 86640, 1, 22657500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints204

#print axioms CongruentPoints204.on_curve
#print axioms CongruentPoints204.indep
#print axioms CongruentPoints204.count

bsd/CongruentPoints205.lean

lean_all/bsd/CongruentPoints205.lean

/-
  bsd/CongruentPoints205.lean — T39 goal G271: points for congruent curves in 39801–40000 with Tunnell A = 2B
  (n = 39817, 39830, 39831, 39835, 39889, 39895, 39910, 39934, 39963, 39974, 39990, 39991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints205
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (39817, true, 82194622515625, 4629, 745146575729671314500),
   (39830, true, 22663270, 3, 107877165200),
   (39831, true, 166353, 1, 65875788),
   (39835, true, 1651225, 6, 1051830325),
   (39889, true, 97523633, 49, 181637084112),
   (39895, true, 235225, 2, 83815275),
   (39910, true, 3701025678025, 3416, 7063457323739377275),
   (39934, true, 11823129, 10, 38264423133),
   (39963, false, 131061, 5, 358562988),
   (39974, false, 333775, 4, 315201705),
   (39990, true, 49600, 1, 6534800),
   (39991, true, 671883499225, 2678, 498036438707525355)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints205

#print axioms CongruentPoints205.on_curve
#print axioms CongruentPoints205.indep
#print axioms CongruentPoints205.count

bsd/CongruentPoints206.lean

lean_all/bsd/CongruentPoints206.lean

/-
  bsd/CongruentPoints206.lean — T39 goal G272: points for congruent curves in 40001–40200 with Tunnell A = 2B
  (n = 40001, 40006, 40015, 40029, 40038, 40081, 40085, 40110, 40137, 40165, 40166, 40177, 40190, 40195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints206
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (40001, true, 2007889, 6, 1982744335),
   (40006, true, 75186214, 41, 291530355360),
   (40015, true, 12969793225, 39, 1477048638081700),
   (40029, true, 1471369, 6, 360485405),
   (40038, false, 363, 1, 762795),
   (40081, false, 3600, 1, 2395140),
   (40085, true, 464367288025, 3286, 114627617315661525),
   (40110, true, 45623040, 17, 298047420000),
   (40137, false, 764048, 11, 4192262900),
   (40165, true, 2225141, 7, 1548698136),
   (40166, true, 3032533, 3, 5243249557),
   (40177, true, 11565927025, 383, 1070259415426320),
   (40190, false, 14616810, 41, 252174912600),
   (40195, true, 337273225, 58, 5674454154525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints206

#print axioms CongruentPoints206.on_curve
#print axioms CongruentPoints206.indep
#print axioms CongruentPoints206.count

bsd/CongruentPoints207.lean

lean_all/bsd/CongruentPoints207.lean

/-
  bsd/CongruentPoints207.lean — T39 goal G273: points for congruent curves in 40201–40400 with Tunnell A = 2B
  (n = 40215, 40245, 40299, 40326, 40330, 40334, 40337, 40341, 40345, 40370, 40386, 40397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints207
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (40215, true, 2200335, 7, 1452221100),
   (40245, false, 1805, 1, 1708100),
   (40299, false, 106875, 7, 644601600),
   (40326, true, 82368, 1, 20612592),
   (40330, false, 3701776, 29, 64867502232),
   (40334, false, 537103, 4, 262189641),
   (40337, true, 8430433, 4, 24406103535),
   (40341, true, 42891, 1, 3017160),
   (40345, true, 6609758193025, 12122, 7514397908463660825),
   (40370, false, 3148475, 9, 1566910675),
   (40386, false, 2481354, 31, 61011142920),
   (40397, true, 1507072, 1, 1849459920)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints207

#print axioms CongruentPoints207.on_curve
#print axioms CongruentPoints207.indep
#print axioms CongruentPoints207.count

bsd/CongruentPoints208.lean

lean_all/bsd/CongruentPoints208.lean

/-
  bsd/CongruentPoints208.lean — T39 goal G274: points for congruent curves in 40401–40600 with Tunnell A = 2B
  (n = 40405, 40406, 40417, 40430, 40439, 40467, 40470, 40477, 40495, 40502, 40505, 40506, 40514, 40547, 40549, 40565, 40577, 40586, 40593), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints208
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (40405, true, 969682473075625, 100978, 27334698252694049845875),
   (40406, false, 15842, 11, 615366648),
   (40417, true, 86218286206545025, 550392, 25059670222322041509540545),
   (40430, true, 2886130, 7, 3565629600),
   (40439, true, 83167, 1, 20958084),
   (40467, true, 189525, 1, 80605980),
   (40470, true, 92271600, 47, 219468000600),
   (40477, true, 66337108784567569, 1040270, 12831393823749991729996497),
   (40495, true, 24675697225, 414, 3719688486982525),
   (40502, false, 65456468, 47, 493464385260),
   (40505, false, 900, 1, 1214850),
   (40506, true, 62694, 1, 11981520),
   (40514, false, 1872326686, 215, 1742399044512),
   (40547, true, 454597, 1, 305284980),
   (40549, true, 154652, 1, 58690434),
   (40565, true, 45619, 1, 4457628),
   (40577, true, 17551985084049025, 294008, 2278451992793102580168255),
   (40586, true, 18101356, 11, 74125052820),
   (40593, true, 6559168, 1, 16798279960)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints208

#print axioms CongruentPoints208.on_curve
#print axioms CongruentPoints208.indep
#print axioms CongruentPoints208.count

bsd/CongruentPoints209.lean

lean_all/bsd/CongruentPoints209.lean

/-
  bsd/CongruentPoints209.lean — T39 goal G275: points for congruent curves in 40601–40800 with Tunnell A = 2B
  (n = 40606, 40629, 40630, 40645, 40651, 40710, 40711, 40745, 40754, 40774), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints209
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (40606, true, 152944, 1, 57666840),
   (40629, true, 56921229, 7, 429186066660),
   (40630, true, 6332330, 7, 15126722400),
   (40645, true, 90114883045, 1467, 6503848321078900),
   (40651, true, 2588573, 1, 4164252612),
   (40710, true, 1023414, 5, 108774288),
   (40711, true, 376815843945025, 56446, 6867620125732229505465),
   (40745, true, 650905, 3, 433871900),
   (40754, true, 10127369, 8, 31141659675),
   (40774, true, 11878346870133241, 405728, 1068102433741913418240525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints209

#print axioms CongruentPoints209.on_curve
#print axioms CongruentPoints209.indep
#print axioms CongruentPoints209.count

bsd/CongruentPoints21.lean

lean_all/bsd/CongruentPoints21.lean

/-
  bsd/CongruentPoints21.lean — T39 goal G73: points for congruent curves in 3601–3800 with Tunnell A = 2B
  (n = 3601, 3603, 3606, 3615, 3621, 3634, 3638, 3655, 3674, 3679, 3685, 3687, 3705, 3710, 3711, 3713, 3746, 3759, 3761, 3765, 3766, 3774, 3778, 3783, 3790, 3791, 3794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints21
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (3601, true, 1338649, 18, 759344885),
   (3603, true, 1442401, 20, 70677649),
   (3606, true, 4332, 1, 158004),
   (3615, true, 1452025, 7, 1736621900),
   (3621, true, 37792377, 38, 230096187909),
   (3634, true, 5202, 1, 268464),
   (3638, false, 1058, 3, 1064440),
   (3655, true, 180625, 7, 9970500),
   (3674, true, 23276, 1, 3506580),
   (3679, false, 2883204, 157, 153903026850),
   (3685, true, 485621360, 149, 10548597404100),
   (3687, false, 35721, 5, 16059708),
   (3705, true, 105625, 1, 34307000),
   (3710, true, 2905210, 9, 4925274200),
   (3711, true, 5717459636641, 39038, 2008244194937020745),
   (3713, true, 4225, 1, 131040),
   (3746, false, 853776, 137, 64960424760),
   (3759, false, 86247, 79, 6889624812),
   (3761, true, 152271675905281, 168777, 1335261751275572984240),
   (3765, true, 3840, 1, 46800),
   (3766, true, 532350, 11, 200807880),
   (3774, true, 8063746, 15, 22771091456),
   (3778, true, 7136642, 17, 18840734880),
   (3783, false, 324900, 61, 8021492010),
   (3790, false, 285610, 11, 191747400),
   (3791, true, 728433, 8, 586205577),
   (3794, true, 38642, 1, 7559376)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 27 := rfl

end CongruentPoints21

#print axioms CongruentPoints21.on_curve
#print axioms CongruentPoints21.indep
#print axioms CongruentPoints21.count

bsd/CongruentPoints210.lean

lean_all/bsd/CongruentPoints210.lean

/-
  bsd/CongruentPoints210.lean — T39 goal G276: points for congruent curves in 40801–41000 with Tunnell A = 2B
  (n = 40805, 40845, 40854, 40870, 40874, 40885, 40890, 40894, 40911, 40926, 40935, 40943, 40967, 40971), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints210
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (40805, false, 32400, 1, 4464900),
   (40845, true, 2719697001, 34, 141812764788051),
   (40854, false, 51842, 3, 82881512),
   (40870, true, 124527823225, 1292, 36762463897320525),
   (40874, false, 3575138, 27, 55933544744),
   (40885, false, 39204, 1, 2297394),
   (40890, true, 126150, 1, 42386400),
   (40894, true, 374978, 1, 228249888),
   (40911, true, 91976938729, 1194, 21569041489899475),
   (40926, true, 9794956, 9, 28846145420),
   (40935, true, 390127480206025, 38883, 7608081045187671544900),
   (40943, true, 80143, 1, 19503960),
   (40967, true, 638632731025, 2304, 479858869236340295),
   (40971, true, 6640732, 1, 17112586834)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints210

#print axioms CongruentPoints210.on_curve
#print axioms CongruentPoints210.indep
#print axioms CongruentPoints210.count

bsd/CongruentPoints211.lean

lean_all/bsd/CongruentPoints211.lean

/-
  bsd/CongruentPoints211.lean — T39 goal G278: points for congruent curves in 41001–41200 with Tunnell A = 2B
  (n = 41026, 41030, 41041, 41055, 41065, 41087, 41093, 41123, 41151, 41153, 41181, 41187, 41199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints211
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (41026, true, 62658, 1, 11854752),
   (41030, true, 56774080, 27, 363601660400),
   (41041, true, 284089, 2, 123578715),
   (41055, true, 418761, 1, 269682084),
   (41065, true, 3178431, 1, 5666082996),
   (41087, true, 10948561117321, 14190, 23728595897949836381),
   (41093, true, 8613725, 7, 24580125660),
   (41123, true, 35033876267, 139, 6555722636681400),
   (41151, true, 243049, 1, 118093220),
   (41153, true, 311647, 1, 172454520),
   (41181, true, 613312, 1, 479226664),
   (41187, true, 2239395524521, 3640, 3250143633321506069),
   (41199, false, 1806849924, 301, 138836945759490)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints211

#print axioms CongruentPoints211.on_curve
#print axioms CongruentPoints211.indep
#print axioms CongruentPoints211.count

bsd/CongruentPoints212.lean

lean_all/bsd/CongruentPoints212.lean

/-
  bsd/CongruentPoints212.lean — T39 goal G279: points for congruent curves in 41201–41400 with Tunnell A = 2B
  (n = 41205, 41210, 41230, 41255, 41290, 41309, 41314, 41354, 41359, 41361, 41374, 41385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints212
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (41205, true, 202005, 1, 88882200),
   (41210, false, 6400, 1, 3256800),
   (41230, false, 6938420, 983, 104942318892300),
   (41255, true, 3651542338008049, 1255, 220655374805419085462532),
   (41290, true, 57589681690, 29, 13820283062414400),
   (41309, true, 152058429, 37, 1740562150620),
   (41314, false, 42350, 3, 76020560),
   (41354, false, 7187063, 54, 322706752901),
   (41359, true, 3093409098481, 7803, 3159870740212216940),
   (41361, false, 1862537, 11, 6339513248),
   (41374, true, 3040578, 7, 3951400032),
   (41385, true, 180625, 1, 74723500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints212

#print axioms CongruentPoints212.on_curve
#print axioms CongruentPoints212.indep
#print axioms CongruentPoints212.count

bsd/CongruentPoints213.lean

lean_all/bsd/CongruentPoints213.lean

/-
  bsd/CongruentPoints213.lean — T39 goal G280: points for congruent curves in 41401–41600 with Tunnell A = 2B
  (n = 41403, 41439, 41446, 41447, 41469, 41470, 41471, 41474, 41477, 41485, 41495, 41511, 41582), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints213
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (41403, true, 33016780947, 599, 5357758382329500),
   (41439, true, 47937, 1, 5276376),
   (41446, true, 8102693, 13, 11594953683),
   (41447, true, 4085872, 1, 8258568780),
   (41469, true, 171469699921, 600, 70734095523944281),
   (41470, true, 87725, 1, 22896225),
   (41471, true, 2080848896, 143, 86680129586400),
   (41474, false, 576, 1, 995280),
   (41477, true, 46495717, 27, 240847814060),
   (41485, true, 17555974300225, 15642, 60018543809463255175),
   (41495, true, 931225, 3, 823202900),
   (41511, true, 3587171449, 53, 214732922291540),
   (41582, true, 41650, 1, 485520)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints213

#print axioms CongruentPoints213.on_curve
#print axioms CongruentPoints213.indep
#print axioms CongruentPoints213.count

bsd/CongruentPoints214.lean

lean_all/bsd/CongruentPoints214.lean

/-
  bsd/CongruentPoints214.lean — T39 goal G281: points for congruent curves in 41601–41800 with Tunnell A = 2B
  (n = 41615, 41622, 41646, 41658, 41665, 41678, 41685, 41689, 41695, 41710, 41718, 41723, 41761, 41766, 41789, 41790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints214
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (41615, false, 2019241, 17, 16847393052),
   (41622, false, 150, 1, 509760),
   (41646, true, 263538, 1, 133589808),
   (41658, true, 252333, 1, 125014545),
   (41665, false, 27225, 1, 5204100),
   (41678, true, 824436760225, 516, 748508397078993265),
   (41685, false, 2040755871, 1346, 3410411891191767),
   (41689, true, 944517289, 7, 29027781953640),
   (41695, true, 1452025, 2, 1738110075),
   (41710, true, 20229350, 17, 73068412200),
   (41718, true, 2720840353009, 6850, 3117119754397755223),
   (41723, false, 6875, 1, 3412200),
   (41761, false, 289, 1, 709920),
   (41766, true, 727218, 1, 619126632),
   (41789, false, 39708196, 1205, 382363173963342),
   (41790, true, 59290, 1, 10241000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints214

#print axioms CongruentPoints214.on_curve
#print axioms CongruentPoints214.indep
#print axioms CongruentPoints214.count

bsd/CongruentPoints215.lean

lean_all/bsd/CongruentPoints215.lean

/-
  bsd/CongruentPoints215.lean — T39 goal G282: points for congruent curves in 41801–42000 with Tunnell A = 2B
  (n = 41801, 41810, 41815, 41830, 41847, 41853, 41865, 41881, 41906, 41910, 41934, 41937, 41943, 41979, 41990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints215
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (41801, false, 2601, 1, 2127720),
   (41810, true, 115750985, 44, 890207753925),
   (41815, true, 554367025, 111, 4818912298100),
   (41830, false, 132661620, 607, 177509583860700),
   (41847, true, 1151329, 5, 515795392),
   (41853, false, 526683, 31, 29186861220),
   (41865, false, 1287735, 17, 13651749000),
   (41881, true, 260743, 1, 131414472),
   (41906, false, 553161022, 451, 200050027041312),
   (41910, false, 1259390, 7, 1820348200),
   (41934, true, 495198606, 79, 9355009093920),
   (41937, true, 37758186063361, 26845, 139081960395551350484),
   (41943, true, 42025, 1, 537920),
   (41979, false, 1310763, 217, 2263151085336),
   (41990, false, 12849434, 81, 986472579664)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints215

#print axioms CongruentPoints215.on_curve
#print axioms CongruentPoints215.indep
#print axioms CongruentPoints215.count

bsd/CongruentPoints216.lean

lean_all/bsd/CongruentPoints216.lean

/-
  bsd/CongruentPoints216.lean — T39 goal G283: points for congruent curves in 42001–42200 with Tunnell A = 2B
  (n = 42001, 42005, 42014, 42029, 42035, 42070, 42073, 42074, 42090, 42109, 42126, 42130, 42154, 42159, 42161, 42166, 42177, 42191, 42195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints216
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (42001, true, 1853390753550625, 53784, 79618744713056429882575),
   (42005, true, 394805, 1, 246661800),
   (42014, true, 3532482, 7, 5395229664),
   (42029, false, 2598544, 17, 19126645980),
   (42035, true, 22216716515, 407, 3144618230367600),
   (42070, false, 33620, 1, 4637100),
   (42073, false, 7225, 1, 3523080),
   (42074, true, 2693114666, 35, 139734202429536),
   (42090, true, 78579454, 35, 525648810392),
   (42109, false, 1052676, 5, 10421082),
   (42126, true, 104076, 1, 30702420),
   (42130, true, 733445, 1, 627095475),
   (42154, false, 37307522, 163, 6837087255432),
   (42159, false, 4037903, 16, 20112390089),
   (42161, true, 6028288, 9, 12196909088),
   (42166, true, 15327341, 1, 60006540015),
   (42177, true, 437520071209, 275, 289391273084296448),
   (42191, true, 10001344, 15, 9955721672),
   (42195, true, 1364305, 4, 1384769575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints216

#print axioms CongruentPoints216.on_curve
#print axioms CongruentPoints216.indep
#print axioms CongruentPoints216.count

bsd/CongruentPoints217.lean

lean_all/bsd/CongruentPoints217.lean

/-
  bsd/CongruentPoints217.lean — T39 goal G284: points for congruent curves in 42201–42400 with Tunnell A = 2B
  (n = 42211, 42217, 42218, 42230, 42294, 42295, 42305, 42315, 42330, 42333, 42334, 42335, 42347, 42365, 42367, 42377), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints217
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (42211, true, 45253, 1, 3469908),
   (42217, true, 185983, 1, 78112860),
   (42218, true, 11265100, 9, 36025467940),
   (42230, true, 263156245, 53, 3810622044075),
   (42294, true, 1258432, 3, 1345578416),
   (42295, true, 2903593225, 262, 2231161501725),
   (42305, true, 22225991658025, 15598, 92870369608728594675),
   (42315, true, 53235, 1, 7452900),
   (42330, true, 234226, 1, 111491576),
   (42333, true, 10679452, 13, 25911103330),
   (42334, false, 32609258, 849, 174250846438856),
   (42335, true, 5300239950625, 6747, 11367151236386069500),
   (42347, true, 137853, 1, 48708060),
   (42365, false, 3356224, 17, 21570871176),
   (42367, true, 138415225, 18, 1620427344965),
   (42377, true, 2088025, 7, 316940520)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints217

#print axioms CongruentPoints217.on_curve
#print axioms CongruentPoints217.indep
#print axioms CongruentPoints217.count

bsd/CongruentPoints218.lean

lean_all/bsd/CongruentPoints218.lean

/-
  bsd/CongruentPoints218.lean — T39 goal G285: points for congruent curves in 42401–42600 with Tunnell A = 2B
  (n = 42401, 42406, 42458, 42486, 42490, 42501, 42510, 42521, 42529, 42573, 42590, 42593, 42594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints218
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (42401, false, 19600, 1, 5263860),
   (42406, true, 34582093, 17, 190166929407),
   (42458, true, 65533, 1, 12778935),
   (42486, true, 46818, 1, 4255848),
   (42490, false, 13690, 1, 4706400),
   (42501, false, 15123, 1, 4884516),
   (42510, true, 29489850, 11, 157688458200),
   (42521, false, 367236, 5, 604531662),
   (42529, true, 22106039761, 697, 1168837625679360),
   (42573, true, 43125, 1, 1428300),
   (42590, false, 15210, 1, 4906200),
   (42593, false, 808168559, 600, 435298976029511),
   (42594, true, 565068, 1, 423558828)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints218

#print axioms CongruentPoints218.on_curve
#print axioms CongruentPoints218.indep
#print axioms CongruentPoints218.count

bsd/CongruentPoints219.lean

lean_all/bsd/CongruentPoints219.lean

/-
  bsd/CongruentPoints219.lean — T39 goal G286: points for congruent curves in 42601–42800 with Tunnell A = 2B
  (n = 42614, 42653, 42686, 42690, 42691, 42718, 42721, 42722, 42735, 42737, 42742, 42770, 42798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints219
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (42614, true, 3751969, 2, 7260060015),
   (42653, true, 427939763757025, 48614, 8603561835886665379095),
   (42686, true, 95492863482025, 6042, 933036306016069605365),
   (42690, false, 9047687294, 817, 2570177128387904),
   (42691, true, 42343145261799001, 866500, 5693392354389047543073501),
   (42718, true, 348658363729, 2740, 80763174960713817),
   (42721, true, 3157729, 1, 5610770880),
   (42722, false, 14400, 1, 4826640),
   (42735, true, 13787865, 17, 22760583300),
   (42737, true, 2565074512225, 6503, 2915260663340502240),
   (42742, true, 49708, 1, 5657940),
   (42770, true, 59150, 1, 9937200),
   (42798, true, 5532492, 11, 4579705620)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints219

#print axioms CongruentPoints219.on_curve
#print axioms CongruentPoints219.indep
#print axioms CongruentPoints219.count

bsd/CongruentPoints22.lean

lean_all/bsd/CongruentPoints22.lean

/-
  bsd/CongruentPoints22.lean — T39 goal G74: points for congruent curves in 3801–4000 with Tunnell A = 2B
  (n = 3805, 3815, 3821, 3841, 3842, 3846, 3855, 3865, 3881, 3882, 3885, 3886, 3894, 3895, 3899, 3910, 3927, 3930, 3934, 3939, 3949, 3957, 3965, 3981, 3983, 3985, 3990, 3991, 3999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints22
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (3805, true, 2895605, 11, 4864616400),
   (3815, true, 3433609, 30, 50696227),
   (3821, true, 515315469714721, 218450, 10941158979024513966519),
   (3841, true, 641447, 11, 354078744),
   (3842, true, 3690241, 30, 2476151711),
   (3846, false, 79202, 9, 84791512),
   (3855, false, 731025, 17, 718815600),
   (3865, false, 2944656, 29, 2361931572),
   (3881, true, 153649104361, 3160, 58280293402449141),
   (3882, true, 4332, 1, 126540),
   (3885, true, 28749, 1, 4829832),
   (3886, true, 260362, 7, 90605976),
   (3894, false, 28322, 3, 3473848),
   (3895, true, 15625, 2, 148125),
   (3899, true, 12682012, 57, 2133677854),
   (3910, true, 449650, 9, 214033400),
   (3927, true, 87785313, 34, 821393610345),
   (3930, true, 515205, 11, 142307325),
   (3934, true, 1105454, 13, 928581360),
   (3939, true, 132613, 1, 48271132),
   (3949, true, 30899, 1, 5386920),
   (3957, true, 24843, 1, 3865680),
   (3965, true, 184525, 3, 77768900),
   (3981, false, 192027, 7, 15037308),
   (3983, false, 370881, 25, 1499109528),
   (3985, false, 451584, 73, 14267408736),
   (3990, true, 7350, 1, 529200),
   (3991, true, 100393288801, 5015, 614601724959924),
   (3999, true, 8511856, 15, 24694274996)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 29 := rfl

end CongruentPoints22

#print axioms CongruentPoints22.on_curve
#print axioms CongruentPoints22.indep
#print axioms CongruentPoints22.count

bsd/CongruentPoints220.lean

lean_all/bsd/CongruentPoints220.lean

/-
  bsd/CongruentPoints220.lean — T39 goal G287: points for congruent curves in 42801–43000 with Tunnell A = 2B
  (n = 42833, 42837, 42842, 42845, 42855, 42861, 42882, 42889, 42897, 42911, 42913, 42918, 42933, 42938, 42961), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints220
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (42833, false, 2894143, 148, 1596099092385),
   (42837, true, 65901810348049, 39150, 46048606525135439407),
   (42842, true, 1178054622, 97, 37993383130200),
   (42845, true, 75645, 1, 17146200),
   (42855, false, 1521, 1, 1670292),
   (42861, true, 2840187, 1, 4785980724),
   (42882, false, 419006, 15, 6239614528),
   (42889, true, 2379223, 3, 3621267188),
   (42897, true, 2328835233, 83, 111476445053220),
   (42911, true, 323783, 1, 182613612),
   (42913, true, 61528414440025, 18702, 468048694572299425195),
   (42918, false, 1519127, 6, 347359915),
   (42933, true, 9698931, 5, 30019957704),
   (42938, false, 30840607, 44, 428698909905),
   (42961, false, 14161, 1, 4826640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints220

#print axioms CongruentPoints220.on_curve
#print axioms CongruentPoints220.indep
#print axioms CongruentPoints220.count

bsd/CongruentPoints221.lean

lean_all/bsd/CongruentPoints221.lean

/-
  bsd/CongruentPoints221.lean — T39 goal G290: points for congruent curves in 43001–43200 with Tunnell A = 2B
  (n = 43010, 43014, 43015, 43026, 43035, 43043, 43054, 43062, 43099, 43127, 43134, 43165, 43194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints221
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (43010, true, 9883885, 9, 29079346175),
   (43014, true, 3068332, 7, 3905986636),
   (43015, true, 1510441, 2, 1844248461),
   (43026, true, 2999094, 5, 4848249672),
   (43035, false, 88935, 2, 43953525),
   (43043, true, 629563, 3, 393763040),
   (43054, false, 5436299, 15, 18694550699),
   (43062, false, 15987, 1, 5055615),
   (43099, true, 1084811, 5, 131178684),
   (43127, true, 107771078251225, 22983, 1093522178905669935640),
   (43134, true, 3894384, 7, 6454941480),
   (43165, true, 181233281, 40, 2255713872321),
   (43194, true, 44652, 1, 2391444)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints221

#print axioms CongruentPoints221.on_curve
#print axioms CongruentPoints221.indep
#print axioms CongruentPoints221.count

bsd/CongruentPoints222.lean

lean_all/bsd/CongruentPoints222.lean

/-
  bsd/CongruentPoints222.lean — T39 goal G291: points for congruent curves in 43201–43400 with Tunnell A = 2B
  (n = 43203, 43214, 43215, 43217, 43230, 43279, 43289, 43298, 43301, 43310, 43327, 43351, 43355, 43393), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints222
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (43203, false, 1656147, 7, 1696893120),
   (43214, true, 786258, 1, 696130512),
   (43215, true, 105625, 1, 31323500),
   (43217, true, 1015378225, 113, 27159522981360),
   (43230, true, 167445, 1, 66195675),
   (43279, true, 76505897965225, 22533, 640982258354860774120),
   (43289, true, 25670377, 8, 129301688949),
   (43298, false, 810000, 17, 11238190200),
   (43301, true, 34907443, 9, 205198270228),
   (43310, true, 307501, 1, 168818049),
   (43327, true, 62183083708, 27, 15506305171615090),
   (43351, true, 409948, 1, 261006438),
   (43355, true, 44109, 1, 1705548),
   (43393, false, 22004703, 652, 86531117903055)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints222

#print axioms CongruentPoints222.on_curve
#print axioms CongruentPoints222.indep
#print axioms CongruentPoints222.count

bsd/CongruentPoints223.lean

lean_all/bsd/CongruentPoints223.lean

/-
  bsd/CongruentPoints223.lean — T39 goal G292: points for congruent curves in 43401–43600 with Tunnell A = 2B
  (n = 43401, 43405, 43435, 43441, 43446, 43486, 43491, 43494, 43501, 43507, 43519, 43530, 43549, 43554, 43555, 43582, 43595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints223
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (43401, true, 395641, 3, 39564100),
   (43405, true, 178605, 1, 73218600),
   (43435, true, 186515, 1, 78336300),
   (43441, true, 16995408939006481, 579697, 1134517051114437739345200),
   (43446, true, 1153776, 5, 418055976),
   (43486, true, 881314, 1, 826355040),
   (43491, true, 53067, 1, 7004844),
   (43494, false, 722402, 17, 10665918152),
   (43501, true, 9537425793465025, 442962, 415560877559471291636665),
   (43507, true, 128417963587225, 6816, 1455073283513801469635),
   (43519, true, 12338393886025, 1757, 43337334853007930160),
   (43530, false, 126150, 11, 1870221600),
   (43549, true, 1874161, 6, 1405874015),
   (43554, false, 18910122, 223, 9418210329528),
   (43555, false, 23951871, 28, 119111292033),
   (43582, true, 62508677, 19, 478298566515),
   (43595, true, 206045, 1, 91410900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints223

#print axioms CongruentPoints223.on_curve
#print axioms CongruentPoints223.indep
#print axioms CongruentPoints223.count

bsd/CongruentPoints224.lean

lean_all/bsd/CongruentPoints224.lean

/-
  bsd/CongruentPoints224.lean — T39 goal G293: points for congruent curves in 43601–43800 with Tunnell A = 2B
  (n = 43617, 43622, 43631, 43646, 43649, 43654, 43670, 43673, 43709, 43719, 43734, 43737, 43745, 43746, 43766, 43769, 43791, 43795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints224
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (43617, true, 125692, 1, 41792590),
   (43622, true, 3292178, 7, 4543205640),
   (43631, true, 996096721, 97, 28643735973840),
   (43646, true, 3033397, 3, 5238676619),
   (43649, true, 14777432896876225, 390488, 1603864628710759164914655),
   (43654, false, 5016047, 12, 8485680007),
   (43670, false, 11, 1, 144837),
   (43673, false, 392768, 3, 9444520),
   (43709, true, 3963583849, 280, 125395700264757),
   (43719, true, 2172144, 7, 529460100),
   (43734, false, 85061742, 173, 12046462590888),
   (43737, true, 66063, 1, 12725820),
   (43745, false, 13689, 1, 4861116),
   (43746, true, 406836282, 1, 8205962208984),
   (43766, false, 4070791, 10, 3242842323),
   (43769, true, 688367, 1, 569967876),
   (43791, true, 58110657, 2, 442977538311),
   (43795, true, 212521, 2, 55467981)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints224

#print axioms CongruentPoints224.on_curve
#print axioms CongruentPoints224.indep
#print axioms CongruentPoints224.count

bsd/CongruentPoints225.lean

lean_all/bsd/CongruentPoints225.lean

/-
  bsd/CongruentPoints225.lean — T39 goal G294: points for congruent curves in 43801–44000 with Tunnell A = 2B
  (n = 43815, 43818, 43841, 43870, 43882, 43885, 43890, 43934, 43935, 43945, 43955, 43957, 43958, 43961, 43966, 43969, 43989, 43990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints225
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (43815, true, 2226178809, 62, 104735416931973),
   (43818, true, 53868, 1, 7272180),
   (43841, true, 83167, 1, 20381256),
   (43870, true, 485809, 2, 315747273),
   (43882, true, 7393420225, 236, 599983546657185),
   (43885, true, 124531875, 53, 197102665500),
   (43890, true, 45486, 1, 2547216),
   (43934, false, 6727798, 13, 8146791576),
   (43935, false, 13689, 1, 4884516),
   (43945, true, 2289169, 3, 3411427672),
   (43955, true, 180625, 2, 17588625),
   (43957, false, 36200228, 39, 338199350930),
   (43958, true, 11948702, 13, 32349681720),
   (43961, true, 30196398765625, 14168, 158689529675573062125),
   (43966, true, 427378, 3, 105571088),
   (43969, false, 247009, 17, 6314206080),
   (43989, true, 5000083, 1, 11180185588),
   (43990, true, 26733885025, 132, 4369326937982225)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints225

#print axioms CongruentPoints225.on_curve
#print axioms CongruentPoints225.indep
#print axioms CongruentPoints225.count

bsd/CongruentPoints226.lean

lean_all/bsd/CongruentPoints226.lean

/-
  bsd/CongruentPoints226.lean — T39 goal G295: points for congruent curves in 44001–44200 with Tunnell A = 2B
  (n = 44015, 44022, 44031, 44105, 44110, 44115, 44135, 44166, 44183, 44187), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints226
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (44015, true, 199515625, 39, 2654771432500),
   (44022, false, 9061008, 19, 39299701320),
   (44031, false, 4356, 1, 2891790),
   (44105, true, 4519284991321, 6258, 8877981615999300181),
   (44110, false, 13690, 1, 4906200),
   (44115, true, 748225, 4, 214740575),
   (44135, true, 611585, 1, 477036300),
   (44166, true, 187489, 2, 27185905),
   (44183, true, 15405625, 7, 59867020200),
   (44187, false, 11892243, 19, 36662274000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints226

#print axioms CongruentPoints226.on_curve
#print axioms CongruentPoints226.indep
#print axioms CongruentPoints226.count

bsd/CongruentPoints227.lean

lean_all/bsd/CongruentPoints227.lean

/-
  bsd/CongruentPoints227.lean — T39 goal G296: points for congruent curves in 44201–44400 with Tunnell A = 2B
  (n = 44205, 44239, 44270, 44274, 44287, 44303, 44310, 44319, 44335, 44341, 44359, 44374, 44390, 44393), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints227
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (44205, true, 177241, 2, 5139989),
   (44239, true, 189467654325625, 55503, 1811786735679130796300),
   (44270, false, 1790731, 17, 16952208747),
   (44274, false, 56560223, 56, 953623353871),
   (44287, false, 758641, 5, 702384852),
   (44303, true, 26884225, 23, 68296902960),
   (44310, true, 10685040, 11, 30211950600),
   (44319, true, 205953, 2, 47575143),
   (44335, true, 383572225, 93, 186962718700),
   (44341, true, 824131, 3, 654595480),
   (44359, true, 6874567, 1, 18024323856),
   (44374, false, 17424, 1, 5386920),
   (44390, true, 19976926, 15, 77327497576),
   (44393, false, 346068567, 287, 67718228969040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints227

#print axioms CongruentPoints227.on_curve
#print axioms CongruentPoints227.indep
#print axioms CongruentPoints227.count

bsd/CongruentPoints228.lean

lean_all/bsd/CongruentPoints228.lean

/-
  bsd/CongruentPoints228.lean — T39 goal G297: points for congruent curves in 44401–44600 with Tunnell A = 2B
  (n = 44419, 44426, 44429, 44445, 44446, 44449, 44455, 44462, 44471, 44485, 44486, 44489, 44511, 44545, 44569, 44574, 44578, 44581, 44591, 44597), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints228
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (44419, true, 5397337229089, 984, 12538787493534647345),
   (44426, true, 4318537, 6, 8336270501),
   (44429, true, 52371, 1, 6345240),
   (44445, false, 39605, 1, 4013900),
   (44446, true, 1873473825001, 1716, 2558050562298965365),
   (44449, false, 2666689, 17, 20520147360),
   (44455, true, 234259095525625, 5963, 3585376817295096148500),
   (44462, false, 4245698, 323, 9558030382320),
   (44471, true, 168129422059729, 59235, 811754487752527659808),
   (44485, false, 15671151, 20, 33366172743),
   (44486, true, 45253, 1, 1764867),
   (44489, true, 9167990681161, 2832, 27738443008957033925),
   (44511, true, 35889647862770689, 274657, 6769315090808850816276040),
   (44545, false, 10286271, 16, 15788164833),
   (44569, false, 2930263, 23, 40046215104),
   (44574, true, 30575142, 11, 166413442104),
   (44578, true, 49600, 1, 4843440),
   (44581, true, 459822019658521, 40050, 9740216027923149743819),
   (44591, true, 3935387055961, 2385, 7790713922480027084),
   (44597, true, 463772, 1, 314368830)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints228

#print axioms CongruentPoints228.on_curve
#print axioms CongruentPoints228.indep
#print axioms CongruentPoints228.count

bsd/CongruentPoints229.lean

lean_all/bsd/CongruentPoints229.lean

/-
  bsd/CongruentPoints229.lean — T39 goal G298: points for congruent curves in 44601–44800 with Tunnell A = 2B
  (n = 44605, 44655, 44670, 44679, 44702, 44713, 44714, 44718, 44731, 44747, 44759, 44783, 44790, 44799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints229
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (44605, true, 228279614655625, 54302, 2819027762181380923875),
   (44655, true, 71797380720, 581, 18809359176804300),
   (44670, false, 24498487220, 853, 3343169041887500),
   (44679, true, 46599425161, 595, 9462140984019284),
   (44702, true, 252350, 1, 124761840),
   (44713, false, 1205604, 365, 6540664454694),
   (44714, false, 15643975, 22, 59146986765),
   (44718, false, 3552500, 11, 7692542900),
   (44731, true, 1155604721, 160, 5281378913481),
   (44747, true, 2355525, 7, 1321143720),
   (44759, true, 46332, 1, 2576574),
   (44783, false, 174724, 5, 462248226),
   (44790, false, 5184, 5, 80621136),
   (44799, true, 1582846225, 122, 57113241890705)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints229

#print axioms CongruentPoints229.on_curve
#print axioms CongruentPoints229.indep
#print axioms CongruentPoints229.count

bsd/CongruentPoints23.lean

lean_all/bsd/CongruentPoints23.lean

/-
  bsd/CongruentPoints23.lean — T39 goal G75: points for congruent curves in 4001–4200 with Tunnell A = 2B
  (n = 4002, 4010, 4015, 4017, 4030, 4033, 4038, 4045, 4053, 4061, 4069, 4070, 4071, 4102, 4103, 4111, 4119, 4121, 4123, 4134, 4142, 4151, 4154, 4173, 4179, 4182, 4190, 4199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints23
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (4002, true, 4243686, 5, 8739651816),
   (4010, true, 160801, 2, 64159599),
   (4015, true, 5329, 1, 255792),
   (4017, true, 413751, 5, 258180624),
   (4030, true, 24986, 1, 3897816),
   (4033, true, 231361, 5, 100161516),
   (4038, true, 18150, 1, 2383920),
   (4045, true, 363253317025, 9078, 86989264070258825),
   (4053, true, 5475603, 1, 12812911020),
   (4061, false, 93316975, 152, 94222768185),
   (4069, true, 12493, 1, 1320228),
   (4070, false, 11421971, 97, 123531172017),
   (4071, false, 57344543, 232, 1601462505041),
   (4102, false, 1132490708, 673, 49565368281780),
   (4103, true, 139129, 5, 35060508),
   (4111, true, 28133017441, 487, 4715888208420480),
   (4119, true, 41851748929, 2905, 4768388283404908),
   (4121, false, 2689600, 29, 3584648040),
   (4123, true, 451612, 9, 204301090),
   (4134, true, 4293, 1, 75843),
   (4142, false, 29897222, 221, 1093993619640),
   (4151, true, 133775980469412121, 438073, 48928230975662558453058840),
   (4154, true, 8978, 1, 754152),
   (4173, true, 469026731850625, 3466, 10157723599336682551975),
   (4179, true, 5821347, 23, 12993246504),
   (4182, false, 74498, 19, 411560920),
   (4190, true, 1755610, 9, 2282293000),
   (4199, true, 4225, 1, 30420)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 28 := rfl

end CongruentPoints23

#print axioms CongruentPoints23.on_curve
#print axioms CongruentPoints23.indep
#print axioms CongruentPoints23.count

bsd/CongruentPoints230.lean

lean_all/bsd/CongruentPoints230.lean

/-
  bsd/CongruentPoints230.lean — T39 goal G299: points for congruent curves in 44801–45000 with Tunnell A = 2B
  (n = 44801, 44814, 44870, 44871, 44902, 44943, 44945, 44947, 44970, 44986), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints230
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (44801, true, 201601, 1, 88255440),
   (44814, false, 2500707, 37, 96936532407),
   (44870, true, 28761670, 9, 153012084400),
   (44871, true, 4703541625225, 8909, 6663286062055908980),
   (44902, false, 1306389150, 763, 943643662622760),
   (44943, true, 3987999, 5, 7641409932),
   (44945, false, 43264, 1, 2532816),
   (44947, false, 29216943, 184, 8223821583705),
   (44970, true, 108045, 1, 32292225),
   (44986, true, 13673254, 17, 15658972560)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints230

#print axioms CongruentPoints230.on_curve
#print axioms CongruentPoints230.indep
#print axioms CongruentPoints230.count

bsd/CongruentPoints231.lean

lean_all/bsd/CongruentPoints231.lean

/-
  bsd/CongruentPoints231.lean — T39 goal G301: points for congruent curves in 45001–45200 with Tunnell A = 2B
  (n = 45005, 45015, 45029, 45030, 45037, 45038, 45041, 45065, 45066, 45069, 45079, 45087, 45095, 45105, 45115, 45118, 45127, 45149, 45182, 45195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints231
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (45005, true, 461605225, 82, 7489129255725),
   (45015, true, 101554020060, 1499, 2888355558014550),
   (45029, true, 19077790402969, 17810, 55241583216909751797),
   (45030, true, 187230, 1, 78636600),
   (45037, false, 171396, 5, 460700442),
   (45038, true, 59150, 1, 9325680),
   (45041, false, 23409, 1, 5887440),
   (45065, false, 30625, 1, 5785500),
   (45066, true, 94192, 1, 25384744),
   (45069, false, 559591727, 698, 519258161668337),
   (45079, true, 97327478589961, 46453, 31488858305919067380),
   (45087, true, 8187537, 7, 22558716720),
   (45095, true, 2723968698025, 1718, 4490390474091845325),
   (45105, true, 235225, 1, 111967100),
   (45115, true, 1661521, 4, 1929025881),
   (45118, true, 46818, 1, 2705040),
   (45127, true, 6000368689225, 11431, 2721127532298129240),
   (45149, false, 2311247, 12, 9238375063),
   (45182, true, 413362, 3, 47740400),
   (45195, false, 136207725, 59, 918829198800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints231

#print axioms CongruentPoints231.on_curve
#print axioms CongruentPoints231.indep
#print axioms CongruentPoints231.count

bsd/CongruentPoints232.lean

lean_all/bsd/CongruentPoints232.lean

/-
  bsd/CongruentPoints232.lean — T39 goal G302: points for congruent curves in 45201–45400 with Tunnell A = 2B
  (n = 45201, 45211, 45241, 45271, 45283, 45313, 45318, 45339, 45349, 45365, 45366, 45370, 45381, 45390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints232
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (45201, true, 19092207, 13, 76454181396),
   (45211, true, 381919589, 49, 7155937568520),
   (45241, true, 52441, 1, 6073080),
   (45271, true, 3892729, 7, 6311311320),
   (45283, false, 44100, 1, 2159430),
   (45313, false, 147112553, 963, 509680003598360),
   (45318, true, 1374646, 5, 912764944),
   (45339, false, 1096772, 1059, 53250297015322),
   (45349, false, 652864, 5, 748916616),
   (45365, true, 65933491, 37, 179785414536),
   (45366, false, 254016, 5, 557090352),
   (45370, true, 28501434, 1, 152159655648),
   (45381, false, 43923, 1, 2391444),
   (45390, true, 46546, 1, 2224144)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints232

#print axioms CongruentPoints232.on_curve
#print axioms CongruentPoints232.indep
#print axioms CongruentPoints232.count

bsd/CongruentPoints233.lean

lean_all/bsd/CongruentPoints233.lean

/-
  bsd/CongruentPoints233.lean — T39 goal G303: points for congruent curves in 45401–45600 with Tunnell A = 2B
  (n = 45415, 45426, 45430, 45445, 45474, 45479, 45510, 45526, 45539, 45545, 45565, 45579), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints233
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (45415, true, 2661319, 3, 4290046228),
   (45426, false, 6226176, 943, 100794903501600),
   (45430, true, 289100, 1, 153512100),
   (45445, true, 4035174196966441, 64240, 256049462808120395467989),
   (45474, true, 4418557, 3, 9248039801),
   (45479, true, 43731769, 31, 10056785880),
   (45510, true, 670810, 1, 548147600),
   (45526, true, 728433, 4, 4247433),
   (45539, true, 3540177, 8, 3781169049),
   (45545, true, 69781033921, 666, 17644059833405831),
   (45565, true, 491401, 2, 319902051),
   (45579, false, 4107, 1, 2909088)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints233

#print axioms CongruentPoints233.on_curve
#print axioms CongruentPoints233.indep
#print axioms CongruentPoints233.count

bsd/CongruentPoints234.lean

lean_all/bsd/CongruentPoints234.lean

/-
  bsd/CongruentPoints234.lean — T39 goal G304: points for congruent curves in 45601–45800 with Tunnell A = 2B
  (n = 45645, 45651, 45655, 45687, 45695, 45709, 45727, 45746, 45758, 45771, 45778, 45791, 45797), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints234
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (45645, true, 1006875, 1, 1009291500),
   (45651, false, 17424, 1, 5569740),
   (45655, true, 30089053651801, 18941, 138451680245877719124),
   (45687, false, 44100, 1, 2506770),
   (45695, true, 256880, 1, 128118900),
   (45709, true, 48588667, 17, 325932778236),
   (45727, true, 588761544119281, 58035, 13788519462169991186804),
   (45746, false, 42618896, 51, 725235036920),
   (45758, true, 22917497, 22, 28211214675),
   (45771, true, 53067, 1, 6186096),
   (45778, true, 142578, 1, 50986320),
   (45791, true, 332734081, 70, 4481774135271),
   (45797, false, 544644, 5, 743227254)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints234

#print axioms CongruentPoints234.on_curve
#print axioms CongruentPoints234.indep
#print axioms CongruentPoints234.count

bsd/CongruentPoints235.lean

lean_all/bsd/CongruentPoints235.lean

/-
  bsd/CongruentPoints235.lean — T39 goal G305: points for congruent curves in 45801–46000 with Tunnell A = 2B
  (n = 45845, 45849, 45866, 45870, 45879, 45885, 45901, 45903, 45910, 45917, 45929, 45942, 45949, 45966, 45978), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints235
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (45845, true, 379631127015625, 57814, 6767440604116179631875),
   (45849, true, 922983, 1, 885633552),
   (45866, true, 167884, 1, 66171300),
   (45870, true, 13553100, 1, 49894821900),
   (45879, true, 149981881330681, 54242, 800604143364167087365),
   (45885, true, 1220541, 1, 1347477264),
   (45901, true, 138012093, 41, 1344281976072),
   (45903, true, 185328, 1, 77297220),
   (45910, true, 7174090, 1, 19215042000),
   (45917, false, 357604, 5, 652300194),
   (45929, true, 375883026649, 1734, 214334705447285995),
   (45942, true, 5621850, 11, 1987886160),
   (45949, true, 165176326341399025, 990318, 64584165106505656186314335),
   (45966, false, 23661243, 61, 823984901811),
   (45978, true, 1664617, 6, 228027115)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints235

#print axioms CongruentPoints235.on_curve
#print axioms CongruentPoints235.indep
#print axioms CongruentPoints235.count

bsd/CongruentPoints236.lean

lean_all/bsd/CongruentPoints236.lean

/-
  bsd/CongruentPoints236.lean — T39 goal G306: points for congruent curves in 46001–46200 with Tunnell A = 2B
  (n = 46001, 46002, 46007, 46018, 46029, 46039, 46046, 46065, 46081, 46095, 46110, 46138, 46145, 46169, 46189, 46190, 46191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints236
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (46001, true, 16761564739921, 19040, 6910646431494906969),
   (46002, false, 17424, 5, 151789176),
   (46007, true, 514609225, 102, 4286822538115),
   (46018, true, 3980557, 1, 7941211215),
   (46029, true, 2275923, 1, 3432792168),
   (46039, true, 102487, 1, 29312976),
   (46046, true, 66654, 1, 12442080),
   (46065, true, 2512225, 3, 3927281300),
   (46081, true, 909476932225, 3926, 541717907597569305),
   (46095, false, 37548420, 127, 4549906875150),
   (46110, true, 488766, 1, 340181136),
   (46138, true, 53100, 1, 6056940),
   (46145, true, 38715655, 27, 119244217400),
   (46169, true, 2279817, 7, 426131376),
   (46189, false, 13340197, 17, 1731828852),
   (46190, false, 20997199, 56, 656739751401),
   (46191, true, 748225, 3, 538123420)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints236

#print axioms CongruentPoints236.on_curve
#print axioms CongruentPoints236.indep
#print axioms CongruentPoints236.count

bsd/CongruentPoints237.lean

lean_all/bsd/CongruentPoints237.lean

/-
  bsd/CongruentPoints237.lean — T39 goal G307: points for congruent curves in 46201–46400 with Tunnell A = 2B
  (n = 46213, 46221, 46230, 46246, 46254, 46274, 46319, 46326, 46330, 46365, 46379), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints237
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (46213, false, 4983493, 31, 98515101840),
   (46221, false, 291597, 17, 7211493288),
   (46230, true, 5162350, 9, 8073915400),
   (46246, false, 51842, 9, 852822152),
   (46254, true, 132613104, 7, 1526919792840),
   (46274, false, 28224, 1, 6160560),
   (46319, true, 821794827841, 3735, 460301991401611736),
   (46326, true, 25548789, 17, 109987536645),
   (46330, true, 19690209, 16, 69743373777),
   (46365, true, 107989365, 7, 1121954773500),
   (46379, false, 171, 1, 606480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints237

#print axioms CongruentPoints237.on_curve
#print axioms CongruentPoints237.indep
#print axioms CongruentPoints237.count

bsd/CongruentPoints238.lean

lean_all/bsd/CongruentPoints238.lean

/-
  bsd/CongruentPoints238.lean — T39 goal G308: points for congruent curves in 46401–46600 with Tunnell A = 2B
  (n = 46434, 46438, 46455, 46483, 46486, 46493, 46506, 46515, 46531, 46534, 46535, 46541, 46561, 46563, 46574, 46590, 46595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints238
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (46434, true, 142572, 1, 50898204),
   (46438, true, 3343750, 1, 6113766000),
   (46455, true, 218880, 1, 100069200),
   (46483, false, 120787, 17, 4668577080),
   (46486, true, 60236, 1, 9401700),
   (46493, true, 57475, 1, 8100840),
   (46506, true, 272322, 1, 140022216),
   (46515, true, 47099760, 11, 320925989700),
   (46531, true, 16046659, 17, 35073561480),
   (46534, true, 3472666, 7, 4880918400),
   (46535, true, 469225, 3, 144932300),
   (46541, true, 27704259, 7, 145326033600),
   (46561, false, 32400, 1, 6019020),
   (46563, true, 3442857, 8, 3199138965),
   (46574, true, 2208834, 5, 2789667552),
   (46590, true, 6693360, 7, 16278391800),
   (46595, true, 1751004025, 82, 72088323735675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints238

#print axioms CongruentPoints238.on_curve
#print axioms CongruentPoints238.indep
#print axioms CongruentPoints238.count

bsd/CongruentPoints239.lean

lean_all/bsd/CongruentPoints239.lean

/-
  bsd/CongruentPoints239.lean — T39 goal G309: points for congruent curves in 46601–46800 with Tunnell A = 2B
  (n = 46605, 46614, 46655, 46657, 46658, 46661, 46662, 46670, 46685, 46686, 46690, 46718, 46726, 46735, 46739, 46743, 46745, 46754, 46774, 46793), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints239
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (46605, false, 1194375, 22, 24617194875),
   (46614, true, 119481051414, 65, 41299801425251712),
   (46655, true, 74431, 1, 15821904),
   (46657, false, 1138489, 5, 270753384),
   (46658, true, 26548402, 13, 130618137840),
   (46661, true, 152897305477225, 20618, 1874623113821169459795),
   (46662, true, 1285326, 5, 611815176),
   (46670, true, 3350906, 5, 5750154696),
   (46685, true, 6122185233025, 2354, 15134623734660795225),
   (46686, true, 1134018, 1, 1206595152),
   (46690, true, 117740, 1, 37088100),
   (46718, false, 13218750, 17, 9993516000),
   (46726, false, 538996, 23, 18142777380),
   (46735, true, 3460380625, 268, 49456230198375),
   (46739, true, 195398973, 41, 2500857607248),
   (46743, true, 15790627860385225, 130037, 1981774988804973254122340),
   (46745, true, 437019025, 2, 9135881881425),
   (46754, false, 1354896, 25, 33976952808),
   (46774, true, 42073213, 29, 96810463113),
   (46793, true, 29994313, 4, 164218863675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints239

#print axioms CongruentPoints239.on_curve
#print axioms CongruentPoints239.indep
#print axioms CongruentPoints239.count

bsd/CongruentPoints24.lean

lean_all/bsd/CongruentPoints24.lean

/-
  bsd/CongruentPoints24.lean — T39 goal G76: points for congruent curves in 4201–4400 with Tunnell A = 2B
  (n = 4206, 4207, 4218, 4223, 4238, 4242, 4245, 4249, 4255, 4258, 4270, 4279, 4285, 4287, 4290, 4301, 4305, 4318, 4319, 4326, 4334, 4366, 4370, 4379, 4381, 4382, 4389, 4390, 4399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints24
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (4206, true, 2948406, 5, 5059464696),
   (4207, true, 180625, 1, 76744800),
   (4218, true, 4332, 1, 64980),
   (4223, true, 2387788225, 287, 115434572121840),
   (4238, true, 345397, 9, 22450805),
   (4242, true, 3366006, 5, 6172437096),
   (4245, true, 3604005, 29, 937041300),
   (4249, true, 243049, 7, 61822200),
   (4255, true, 1147677214438225, 505143, 12599408331088103353400),
   (4258, false, 78400, 17, 343857360),
   (4270, true, 93025, 4, 19256175),
   (4279, true, 3783025, 14, 7174885215),
   (4285, false, 2965284, 29, 3526375314),
   (4287, true, 76063985209, 2210, 20167766230904677),
   (4290, true, 59290, 1, 14399000),
   (4301, true, 9793377, 38, 23696707881),
   (4305, true, 42025, 2, 7858675),
   (4318, true, 249218, 7, 65742720),
   (4319, true, 5887, 1, 306936),
   (4326, true, 3119046, 23, 3742855200),
   (4334, true, 853798, 1, 788909352),
   (4366, false, 30103348, 817, 15988660196916),
   (4370, true, 23805, 1, 3610425),
   (4379, false, 2280100, 701, 3249284094210),
   (4381, false, 165997, 7, 55457688),
   (4382, true, 46818, 1, 10085760),
   (4389, true, 112651, 5, 8561476),
   (4390, true, 34810, 1, 6442800),
   (4399, true, 1197782881, 45, 41452921305404)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 29 := rfl

end CongruentPoints24

#print axioms CongruentPoints24.on_curve
#print axioms CongruentPoints24.indep
#print axioms CongruentPoints24.count

bsd/CongruentPoints240.lean

lean_all/bsd/CongruentPoints240.lean

/-
  bsd/CongruentPoints240.lean — T39 goal G310: points for congruent curves in 46801–47000 with Tunnell A = 2B
  (n = 46805, 46806, 46815, 46830, 46833, 46870, 46878, 46886, 46938, 46947, 46961, 46979), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints240
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (46805, true, 52371, 1, 5376756),
   (46806, true, 172782743749225, 53212, 1457172982465371623755),
   (46815, false, 439569, 5, 719150796),
   (46830, true, 112094670, 17, 1178117881200),
   (46833, false, 4643904, 625, 39423358179144),
   (46870, true, 83205, 1, 19830525),
   (46878, true, 35749662, 23, 153963285840),
   (46886, false, 48878434, 95, 2938543568136),
   (46938, true, 42456007725, 949, 812677211666865),
   (46947, false, 1083603, 7, 2112322680),
   (46961, false, 6722671, 20, 45478486983),
   (46979, false, 444026975, 216, 45228942457615)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints240

#print axioms CongruentPoints240.on_curve
#print axioms CongruentPoints240.indep
#print axioms CongruentPoints240.count

bsd/CongruentPoints241.lean

lean_all/bsd/CongruentPoints241.lean

/-
  bsd/CongruentPoints241.lean — T39 goal G311: points for congruent curves in 47001–47200 with Tunnell A = 2B
  (n = 47003, 47005, 47009, 47010, 47019, 47023, 47026, 47027, 47031, 47066, 47090, 47094, 47143, 47153, 47154, 47158, 47177), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints241
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (47003, false, 6875, 31, 3745288800),
   (47005, true, 7921116, 11, 15516575886),
   (47009, true, 2627641, 7, 2049559980),
   (47010, false, 453690, 19, 11426725800),
   (47019, false, 2061723, 7, 1476502056),
   (47023, true, 28462269532, 697, 2864273605190730),
   (47026, true, 6852402, 7, 16892996016),
   (47027, true, 180474624387, 409, 76596909263562480),
   (47031, true, 7598434561, 390, 223344264571559),
   (47066, true, 537352522, 99, 6388660898704),
   (47090, true, 65219650, 37, 79828851600),
   (47094, true, 80802, 1, 18664056),
   (47143, true, 1804975225, 193, 17736944711640),
   (47153, true, 587269937724409, 32370, 14181240086262786828923),
   (47154, true, 440646, 1, 290826360),
   (47158, true, 260642, 1, 130869720),
   (47177, true, 2614599, 5, 3773156868)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints241

#print axioms CongruentPoints241.on_curve
#print axioms CongruentPoints241.indep
#print axioms CongruentPoints241.count

bsd/CongruentPoints242.lean

lean_all/bsd/CongruentPoints242.lean

/-
  bsd/CongruentPoints242.lean — T39 goal G312: points for congruent curves in 47201–47400 with Tunnell A = 2B
  (n = 47229, 47233, 47235, 47242, 47249, 47273, 47294, 47299, 47310, 47321, 47329, 47355, 47362, 47377, 47382, 47390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints242
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (47229, false, 190798608, 379, 93670521860916),
   (47233, true, 163231627273, 591, 65611041266590820),
   (47235, false, 19459815, 46, 432471494475),
   (47242, false, 4839686150, 387, 359057343310640),
   (47249, true, 130479560245225, 52089, 277441595587665931420),
   (47273, true, 1329409, 5, 701927952),
   (47294, false, 419354, 3, 47218600),
   (47299, false, 15876, 1, 5613930),
   (47310, true, 904008885, 47, 26998362398475),
   (47321, true, 1119638521, 1, 37464224517720),
   (47329, true, 60912, 1, 9463356),
   (47355, true, 1166445, 1, 1258746300),
   (47362, false, 98192, 79, 92623725480),
   (47377, true, 30747673, 24, 78560304515),
   (47382, true, 58073620566025, 25066, 379982777905959437755),
   (47390, true, 42636055225, 918, 3082745454809075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints242

#print axioms CongruentPoints242.on_curve
#print axioms CongruentPoints242.indep
#print axioms CongruentPoints242.count

bsd/CongruentPoints243.lean

lean_all/bsd/CongruentPoints243.lean

/-
  bsd/CongruentPoints243.lean — T39 goal G313: points for congruent curves in 47401–47600 with Tunnell A = 2B
  (n = 47410, 47413, 47417, 47422, 47437, 47474, 47478, 47495, 47509, 47510, 47517, 47523, 47535, 47539, 47541, 47559, 47561, 47567, 47571, 47573, 47585, 47586, 47589), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints243
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (47410, true, 10020010, 9, 29295866600),
   (47413, false, 28900, 1, 6389790),
   (47417, true, 4516512025, 287, 152430357839880),
   (47422, true, 3106141, 5, 5059903689),
   (47437, false, 4356, 5, 78270522),
   (47474, true, 59248, 1, 8628312),
   (47478, false, 417698, 3, 58221800),
   (47495, true, 126099225, 17, 1407603615600),
   (47509, true, 867328, 1, 806533728),
   (47510, true, 823690, 1, 746314800),
   (47517, true, 2964525, 7, 3159488520),
   (47523, false, 5235123, 151, 2479226010120),
   (47535, true, 13852815, 17, 6635512800),
   (47539, true, 16903380169, 136, 2194683850390395),
   (47541, true, 284089, 2, 112492315),
   (47559, true, 61884, 1, 9849870),
   (47561, false, 1230848631, 161, 2450373652560),
   (47567, true, 7091185491017329, 78565, 596630829481999299359892),
   (47571, false, 170973, 23, 10405230264),
   (47573, true, 577170113653225, 103726, 6407944946190839609235),
   (47585, true, 87703225, 39, 463870738700),
   (47586, true, 4201164, 7, 7162984620),
   (47589, false, 8523303, 26, 90563471019)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 23 := rfl

end CongruentPoints243

#print axioms CongruentPoints243.on_curve
#print axioms CongruentPoints243.indep
#print axioms CongruentPoints243.count

bsd/CongruentPoints244.lean

lean_all/bsd/CongruentPoints244.lean

/-
  bsd/CongruentPoints244.lean — T39 goal G314: points for congruent curves in 47601–47800 with Tunnell A = 2B
  (n = 47614, 47645, 47669, 47670, 47671, 47686, 47697, 47710, 47730, 47742, 47787), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints244
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (47614, true, 93100, 1, 24410820),
   (47645, true, 1909108707025, 3634, 2490446593713747825),
   (47669, true, 36606786241, 658, 5784626225924295),
   (47670, true, 6492654, 1, 16543282392),
   (47671, true, 11556465001, 145, 1237650345839376),
   (47686, true, 89042, 1, 22438584),
   (47697, true, 139307721657, 737, 51088077035894340),
   (47710, true, 1346890, 3, 1481579000),
   (47730, true, 55470, 1, 6656400),
   (47742, true, 11127085225, 366, 960503418427915),
   (47787, true, 796875, 1, 710073000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints244

#print axioms CongruentPoints244.on_curve
#print axioms CongruentPoints244.indep
#print axioms CongruentPoints244.count

bsd/CongruentPoints245.lean

lean_all/bsd/CongruentPoints245.lean

/-
  bsd/CongruentPoints245.lean — T39 goal G315: points for congruent curves in 47801–48000 with Tunnell A = 2B
  (n = 47801, 47814, 47821, 47829, 47831, 47838, 47859, 47861, 47879, 47885, 47886, 47894, 47905, 47957, 47959, 47978, 47994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints245
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (47801, true, 304410545443225, 42712, 5088569059082888246205),
   (47814, false, 7863483, 13, 5216986269),
   (47821, false, 213444, 5, 543458454),
   (47829, true, 116523, 1, 36270432),
   (47831, false, 22743, 1, 6345696),
   (47838, true, 188538, 1, 79185960),
   (47859, true, 207088, 1, 91688212),
   (47861, true, 18220156229, 67, 2459223211119180),
   (47879, true, 3751969, 6, 6455275255),
   (47885, true, 75120095824225, 7562, 650647072654112790825),
   (47886, false, 57199367, 786, 223742482718957),
   (47894, true, 45108350, 13, 298042905720),
   (47905, true, 48841, 1, 2103036),
   (47957, true, 612157, 1, 477482460),
   (47959, true, 48841, 1, 2042040),
   (47978, false, 74263, 2, 48224085),
   (47994, true, 8009868, 11, 15613095492)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints245

#print axioms CongruentPoints245.on_curve
#print axioms CongruentPoints245.indep
#print axioms CongruentPoints245.count

bsd/CongruentPoints246.lean

lean_all/bsd/CongruentPoints246.lean

/-
  bsd/CongruentPoints246.lean — T39 goal G317: points for congruent curves in 48001–48200 with Tunnell A = 2B
  (n = 48018, 48026, 48053, 48057, 48059, 48093, 48110, 48121, 48127, 48145, 48146, 48174, 48189), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints246
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (48018, false, 8915766, 55, 432901529352),
   (48026, true, 128797, 1, 42889401),
   (48053, true, 162155902062025, 11086, 2063530655917526638845),
   (48057, true, 92843342025625, 37324, 619823163029130894275),
   (48059, true, 1167067, 1, 1259723256),
   (48093, true, 45351699, 5, 305307637668),
   (48110, true, 16803106, 3, 68855734304),
   (48121, true, 27512007645721, 18120, 118136460121633766269),
   (48127, true, 21495509505625, 4472, 99560214440932455075),
   (48145, false, 4900, 1, 3352650),
   (48146, false, 350, 3, 8106560),
   (48174, true, 139238400, 11, 1641563300160),
   (48189, false, 268203, 7, 1214943444)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints246

#print axioms CongruentPoints246.on_curve
#print axioms CongruentPoints246.indep
#print axioms CongruentPoints246.count

bsd/CongruentPoints247.lean

lean_all/bsd/CongruentPoints247.lean

/-
  bsd/CongruentPoints247.lean — T39 goal G318: points for congruent curves in 48201–48400 with Tunnell A = 2B
  (n = 48202, 48205, 48230, 48246, 48282, 48290, 48323, 48327, 48329, 48345, 48365, 48377, 48391, 48399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints247
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (48202, true, 6429698, 7, 15163831320),
   (48205, true, 53045, 1, 5098500),
   (48230, true, 56793100, 33, 162830131100),
   (48246, false, 371522, 11, 3551057272),
   (48282, true, 262829424, 25, 4232817049032),
   (48290, true, 48510, 1, 1016400),
   (48323, false, 13475, 1, 5386920),
   (48327, true, 129261096183025, 14453, 1465120220918293292320),
   (48329, true, 75344911, 3, 653993827480),
   (48345, true, 75547120, 39, 150622070500),
   (48365, true, 81685, 1, 18813900),
   (48377, true, 1559065225, 167, 30848402674440),
   (48391, false, 291320064, 139, 15163617314160),
   (48399, true, 311029236712441, 73871, 2897102549155667168420)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints247

#print axioms CongruentPoints247.on_curve
#print axioms CongruentPoints247.indep
#print axioms CongruentPoints247.count

bsd/CongruentPoints248.lean

lean_all/bsd/CongruentPoints248.lean

/-
  bsd/CongruentPoints248.lean — T39 goal G319: points for congruent curves in 48401–48600 with Tunnell A = 2B
  (n = 48405, 48410, 48435, 48455, 48462, 48490, 48495, 48505, 48507, 48514, 48517, 48518, 48534, 48547, 48570, 48581, 48597), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints248
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (48405, true, 7273531225, 288, 517257566229725),
   (48410, true, 90846, 1, 23170056),
   (48435, false, 67335, 2, 47139525),
   (48455, false, 35288055, 119, 4070720768400),
   (48462, false, 134345766, 445, 111222022230648),
   (48490, true, 1391290, 3, 1558244800),
   (48495, true, 11266552380, 433, 706202112297150),
   (48505, true, 26435225, 16, 119989486275),
   (48507, true, 7065853, 11, 10457462440),
   (48514, true, 3532736, 7, 4911801840),
   (48517, true, 87725, 1, 21647340),
   (48518, true, 554367025, 26, 13029707666295),
   (48534, false, 1550883, 13, 10030367079),
   (48547, true, 7070208689828089, 381600, 9296206893384278691187),
   (48570, true, 75645, 1, 15950025),
   (48581, true, 60976629, 25, 412922116992),
   (48597, true, 22862361456, 665, 1179313290044604)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints248

#print axioms CongruentPoints248.on_curve
#print axioms CongruentPoints248.indep
#print axioms CongruentPoints248.count

bsd/CongruentPoints249.lean

lean_all/bsd/CongruentPoints249.lean

/-
  bsd/CongruentPoints249.lean — T39 goal G320: points for congruent curves in 48601–48800 with Tunnell A = 2B
  (n = 48601, 48615, 48622, 48665, 48678, 48685, 48687, 48691, 48705, 48711, 48719, 48727, 48737, 48745, 48761, 48773, 48774, 48777, 48783, 48786, 48790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints249
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (48601, true, 78652, 1, 17342766),
   (48615, true, 55815, 1, 6478200),
   (48622, false, 22453767, 58, 767718803565),
   (48665, true, 5628139820202907225, 2971676, 13313048798261616009712503075),
   (48678, true, 74725, 1, 15497965),
   (48685, true, 53235, 1, 4968600),
   (48687, true, 164612775625, 1591, 44276385513672100),
   (48691, false, 2116, 1, 2237670),
   (48705, true, 3480975, 7, 4727937600),
   (48711, true, 60840039, 1, 474552304200),
   (48719, true, 3956848, 9, 575983828),
   (48727, true, 46854025, 31, 10962240120),
   (48737, true, 4801913025530569, 127585, 328179876446561778309372),
   (48745, true, 8841375168025, 4428, 26135288056630051075),
   (48761, true, 616000084783801, 105160, 7391312838811876154451),
   (48773, false, 18391951, 20, 27907124343),
   (48774, true, 6553452, 11, 7293992076),
   (48777, true, 63900, 1, 10434870),
   (48783, false, 11956343, 139, 3258834777800),
   (48786, false, 7185407, 16, 27382483457),
   (48790, false, 319672199, 438, 167254589062099)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints249

#print axioms CongruentPoints249.on_curve
#print axioms CongruentPoints249.indep
#print axioms CongruentPoints249.count

bsd/CongruentPoints25.lean

lean_all/bsd/CongruentPoints25.lean

/-
  bsd/CongruentPoints25.lean — T39 goal G77: points for congruent curves in 4401–4600 with Tunnell A = 2B
  (n = 4402, 4407, 4411, 4421, 4422, 4431, 4438, 4439, 4441, 4466, 4470, 4471, 4481, 4485, 4490, 4494, 4495, 4510, 4511, 4529, 4559, 4573, 4587, 4589, 4595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints25
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (4402, true, 5202, 1, 199920),
   (4407, true, 56380128025, 1802, 12948767567811595),
   (4411, true, 1768811, 7, 2334830520),
   (4421, true, 1054446695340025, 213962, 33603599938804399279035),
   (4422, false, 578, 1, 105400),
   (4431, true, 1246588, 1, 1391815502),
   (4438, false, 1842183, 22, 1499296365),
   (4439, false, 55223, 47, 2304273216),
   (4441, true, 234322796761, 3720, 109457722573419491),
   (4466, true, 11397232, 47, 19267020696),
   (4470, true, 555025, 6, 395732825),
   (4471, true, 28158273, 64, 113502497823),
   (4481, false, 3969, 1, 131040),
   (4485, true, 2785185, 4, 4646616975),
   (4490, false, 78400, 37, 1720966800),
   (4494, true, 804972, 13, 239337756),
   (4495, true, 17798653134025, 50578, 57315669868659371325),
   (4510, false, 299290, 11, 249639000),
   (4511, true, 10284596569, 414, 1040040322257365),
   (4529, true, 9583, 1, 826728),
   (4559, false, 372287, 168, 78510053537),
   (4573, false, 6084, 5, 8904714),
   (4587, true, 57963, 1, 13911120),
   (4589, false, 2592100, 37, 9213480990),
   (4595, false, 3286234639, 1012, 193099514069559)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 25 := rfl

end CongruentPoints25

#print axioms CongruentPoints25.on_curve
#print axioms CongruentPoints25.indep
#print axioms CongruentPoints25.count

bsd/CongruentPoints250.lean

lean_all/bsd/CongruentPoints250.lean

/-
  bsd/CongruentPoints250.lean — T39 goal G321: points for congruent curves in 48801–49000 with Tunnell A = 2B
  (n = 48805, 48815, 48831, 48837, 48846, 48865, 48887, 48893, 48895, 48899, 48913, 48919, 48923, 48927, 48930, 48934, 48974, 48977, 48982, 48989, 48990, 48994, 48995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints250
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (48805, false, 31205, 3, 77396300),
   (48815, true, 39716079260, 151, 7911866347906950),
   (48831, true, 56535359856, 115, 13441629056873004),
   (48837, true, 11864614695025, 11488, 34311869883137563145),
   (48846, true, 7909942138, 261, 638220297611512),
   (48865, true, 5951805865, 12, 459169287879275),
   (48887, true, 279775, 1, 145706820),
   (48893, false, 2007837, 47, 153014141280),
   (48895, false, 13259455, 17, 17787653400),
   (48899, true, 1391260353289, 2592, 1594607492089007515),
   (48913, true, 6757662025, 363, 166962637551680),
   (48919, true, 25772128369, 93, 4136822586999440),
   (48923, true, 58725, 1, 7871760),
   (48927, false, 2729807, 28, 63216156905),
   (48930, false, 623294, 23, 20429202304),
   (48934, true, 1068722, 1, 1103675496),
   (48974, false, 336844206, 863, 669396116429040),
   (48977, true, 2088025, 4, 2796651555),
   (48982, false, 1244918, 7, 2289548640),
   (48989, true, 583298671586929, 97030, 8624209834758106872033),
   (48990, true, 2318860, 3, 3466695700),
   (48994, false, 3080162, 33, 93483001088),
   (48995, true, 319225, 2, 142371525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 23 := rfl

end CongruentPoints250

#print axioms CongruentPoints250.on_curve
#print axioms CongruentPoints250.indep
#print axioms CongruentPoints250.count

bsd/CongruentPoints251.lean

lean_all/bsd/CongruentPoints251.lean

/-
  bsd/CongruentPoints251.lean — T39 goal G322: points for congruent curves in 49001–49200 with Tunnell A = 2B
  (n = 49007, 49021, 49031, 49039, 49042, 49055, 49062, 49081, 49110, 49119, 49134, 49135, 49153, 49166, 49178, 49191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints251
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (49007, false, 670761, 5, 839678112),
   (49021, true, 54148645621, 393, 12476535242165540),
   (49031, true, 6895608150601, 1927, 18101202443756946360),
   (49039, true, 1338649, 3, 1462216600),
   (49042, true, 337842, 1, 194287920),
   (49055, true, 21946941025, 362, 3108731540273175),
   (49062, false, 514637396, 135, 16587849879692),
   (49081, false, 34969, 1, 6440280),
   (49110, false, 318096, 293, 2377849029192),
   (49119, false, 567, 1, 1169532),
   (49134, true, 196532466, 49, 2203612416720),
   (49135, true, 56570550415, 911, 9325758043530000),
   (49153, true, 1723969, 5, 1587621828),
   (49166, true, 19699580973241, 2382, 87426266699942240525),
   (49178, true, 8020972, 7, 21667056300),
   (49191, true, 54777, 1, 5640264)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints251

#print axioms CongruentPoints251.on_curve
#print axioms CongruentPoints251.indep
#print axioms CongruentPoints251.count

bsd/CongruentPoints252.lean

lean_all/bsd/CongruentPoints252.lean

/-
  bsd/CongruentPoints252.lean — T39 goal G323: points for congruent curves in 49201–49400 with Tunnell A = 2B
  (n = 49215, 49218, 49235, 49241, 49249, 49259, 49267, 49270, 49278, 49282, 49309, 49317, 49322, 49335, 49345, 49351, 49357, 49387, 49390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints252
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (49215, true, 14182191105625, 9842, 50301292745634792875),
   (49218, true, 5176093, 1, 11775611575),
   (49235, true, 45099260, 23, 247256692950),
   (49241, true, 15301821554921826961, 134811, 59856965872198062647185251080),
   (49249, true, 16265089, 17, 31749711840),
   (49259, false, 25727551, 100, 2495121240543),
   (49267, true, 9137628765993025, 159396, 865240261668246225754655),
   (49270, true, 52650, 1, 4258800),
   (49278, false, 24891311, 120, 3538116242137),
   (49282, false, 48400, 1, 2042040),
   (49309, false, 48373, 1, 2103036),
   (49317, false, 70411875, 41, 367193313900),
   (49322, true, 93563834, 5, 904949402448),
   (49335, true, 117975, 1, 36808200),
   (49345, true, 177500, 1, 71834250),
   (49351, true, 147033, 1, 53108952),
   (49357, true, 5151905787961, 9620, 5408618329365030291),
   (49387, true, 535717, 3, 218878660),
   (49390, true, 436590, 1, 286624800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints252

#print axioms CongruentPoints252.on_curve
#print axioms CongruentPoints252.indep
#print axioms CongruentPoints252.count

bsd/CongruentPoints253.lean

lean_all/bsd/CongruentPoints253.lean

/-
  bsd/CongruentPoints253.lean — T39 goal G324: points for congruent curves in 49401–49600 with Tunnell A = 2B
  (n = 49405, 49439, 49445, 49449, 49465, 49470, 49485, 49503, 49515, 49533, 49538, 49566, 49569, 49594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints253
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (49405, true, 11906605, 13, 29290248300),
   (49439, true, 153487321, 55, 427782209244),
   (49445, true, 2192580625, 38, 102613139187375),
   (49449, false, 177277775, 156, 15847818546455),
   (49465, true, 35406067225, 843, 796289747047300),
   (49470, true, 14395770, 7, 53840179800),
   (49485, true, 52341360, 1, 378675589500),
   (49503, true, 1304868600391225, 42427, 47025688970880187478560),
   (49515, false, 44100, 1, 4728150),
   (49533, true, 57475, 1, 6988960),
   (49538, true, 60912, 1, 8747640),
   (49566, false, 1128002, 89, 416981731328),
   (49569, true, 145119, 1, 51957360),
   (49594, false, 1261819418, 217, 69804190834176)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints253

#print axioms CongruentPoints253.on_curve
#print axioms CongruentPoints253.indep
#print axioms CongruentPoints253.count

bsd/CongruentPoints254.lean

lean_all/bsd/CongruentPoints254.lean

/-
  bsd/CongruentPoints254.lean — T39 goal G325: points for congruent curves in 49601–49800 with Tunnell A = 2B
  (n = 49601, 49611, 49655, 49681, 49706, 49710, 49714, 49715, 49751, 49759, 49774, 49789, 49790, 49793, 49794, 49799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints254
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (49601, true, 21989627521, 136, 3257980736343615),
   (49611, true, 98283, 1, 26598312),
   (49655, true, 495730225, 38, 10921369577025),
   (49681, true, 1334367841, 119, 41417819263680),
   (49706, true, 734449, 2, 605920425),
   (49710, false, 16854, 1, 6071256),
   (49714, false, 19545687, 1702, 636683046041973),
   (49715, true, 138166525, 39, 1359257485600),
   (49751, true, 3733014274201, 5751, 6474078582816168280),
   (49759, true, 23077559569, 679, 380907057250320),
   (49774, true, 21118482385225, 19168, 48537298705057127355),
   (49789, true, 38733508140625, 17082, 223463413618450375375),
   (49790, true, 5084403025, 94, 361183602008775),
   (49793, true, 1549589280625, 3848, 1696633092592781175),
   (49794, true, 9945097, 14, 6028787899),
   (49799, true, 5301878741628001, 273249, 275200188817662471055940)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints254

#print axioms CongruentPoints254.on_curve
#print axioms CongruentPoints254.indep
#print axioms CongruentPoints254.count

bsd/CongruentPoints255.lean

lean_all/bsd/CongruentPoints255.lean

/-
  bsd/CongruentPoints255.lean — T39 goal G326: points for congruent curves in 49801–50000 with Tunnell A = 2B
  (n = 49802, 49829, 49858, 49873, 49894, 49910, 49913, 49915, 49929, 49966, 49970, 49974, 49993), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints255
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (49802, true, 3216803667025, 6342, 4514420288523850055),
   (49829, true, 4173804054121, 9010, 2101021802575393581),
   (49858, false, 10658, 1, 5028240),
   (49873, true, 2615811025, 118, 128985134744655),
   (49894, true, 3946813, 3, 7790056183),
   (49910, true, 364140, 1, 217662900),
   (49913, true, 91371187017, 422, 27488377693688835),
   (49915, true, 838125, 1, 765934500),
   (49929, false, 47753, 1, 3185936),
   (49966, true, 146412, 1, 52659516),
   (49970, true, 5256844, 9, 7690762772),
   (49974, true, 309174, 1, 169650720),
   (49993, true, 5253653647225, 10199, 1712567454902294040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints255

#print axioms CongruentPoints255.on_curve
#print axioms CongruentPoints255.indep
#print axioms CongruentPoints255.count

bsd/CongruentPoints256.lean

lean_all/bsd/CongruentPoints256.lean

/-
  bsd/CongruentPoints256.lean — T39 goal G328: points for congruent curves in 50001–50200 with Tunnell A = 2B
  (n = 50014, 50037, 50055, 50061, 50089, 50091, 50135, 50141, 50149, 50161, 50169, 50190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints256
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (50014, true, 13196386, 15, 25039496384),
   (50037, true, 229371025, 58, 2359800016145),
   (50055, true, 86066271, 23, 759725500644),
   (50061, true, 29345217, 8, 158016338271),
   (50089, true, 78185666689, 1145, 11865521232915012),
   (50091, true, 1274931, 5, 270181296),
   (50135, true, 410167385, 41, 8129710396200),
   (50141, true, 229957, 1, 107619876),
   (50149, true, 17397741229, 445, 1884199832366808),
   (50161, true, 727758529, 119, 4270884257520),
   (50169, false, 44100, 1, 5022990),
   (50190, true, 61440, 1, 8784000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints256

#print axioms CongruentPoints256.on_curve
#print axioms CongruentPoints256.indep
#print axioms CongruentPoints256.count

bsd/CongruentPoints257.lean

lean_all/bsd/CongruentPoints257.lean

/-
  bsd/CongruentPoints257.lean — T39 goal G329: points for congruent curves in 50201–50400 with Tunnell A = 2B
  (n = 50235, 50239, 50249, 50251, 50266, 50279, 50334, 50343, 50347, 50369, 50374, 50386, 50395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints257
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (50235, false, 41616, 13, 1731881052),
   (50239, true, 1143558613129, 3108, 1107313983379277605),
   (50249, true, 29569895273574049, 410990, 4870835790503396392843593),
   (50251, true, 97876999609, 990, 26461974393683227),
   (50266, true, 61525625, 2, 482593793325),
   (50279, true, 76729, 1, 16054920),
   (50334, false, 34347, 1, 6819003),
   (50343, false, 915849, 5, 826147476),
   (50347, true, 203228, 1, 88760910),
   (50369, true, 58081, 1, 6969720),
   (50374, true, 698536258, 117, 2948621335912),
   (50386, true, 53802, 1, 4375896),
   (50395, true, 129605, 1, 42987000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints257

#print axioms CongruentPoints257.on_curve
#print axioms CongruentPoints257.indep
#print axioms CongruentPoints257.count

bsd/CongruentPoints258.lean

lean_all/bsd/CongruentPoints258.lean

/-
  bsd/CongruentPoints258.lean — T39 goal G330: points for congruent curves in 50401–50600 with Tunnell A = 2B
  (n = 50406, 50422, 50447, 50466, 50479, 50486, 50502, 50523, 50530, 50534, 50537, 50542, 50546, 50583, 50585), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints258
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (50406, false, 1253094, 7, 2382578640),
   (50422, true, 152482229062, 1227, 51639563300727680),
   (50447, true, 3379445689, 30, 196439585673637),
   (50466, true, 2334462, 1, 3565978416),
   (50479, true, 7011125509609, 9177, 14762373861346281820),
   (50486, false, 7992002, 171, 4173348106088),
   (50502, true, 57798, 1, 6757920),
   (50523, true, 1264131, 5, 58082904),
   (50530, false, 18427671, 98, 2081724924117),
   (50534, true, 69938, 1, 12786312),
   (50537, true, 1570021530025, 4833, 1297047562178423120),
   (50542, true, 17260093, 11, 67055461305),
   (50546, true, 53138, 1, 3778992),
   (50583, false, 1192464, 5, 459652284),
   (50585, true, 456775, 3, 25081100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints258

#print axioms CongruentPoints258.on_curve
#print axioms CongruentPoints258.indep
#print axioms CongruentPoints258.count

bsd/CongruentPoints259.lean

lean_all/bsd/CongruentPoints259.lean

/-
  bsd/CongruentPoints259.lean — T39 goal G331: points for congruent curves in 50601–50800 with Tunnell A = 2B
  (n = 50605, 50609, 50622, 50626, 50629, 50654, 50685, 50687, 50689, 50691, 50694, 50711, 50718, 50765, 50799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints259
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (50605, true, 2243443225, 158, 87811982486475),
   (50609, true, 52441, 1, 3146460),
   (50622, true, 10807212, 11, 29270519460),
   (50626, true, 24992416185229716721, 18546052, 89625144953288732180535591735),
   (50629, false, 900, 1, 1518630),
   (50654, true, 165292, 1, 63968004),
   (50685, true, 68125, 1, 11881000),
   (50687, true, 748835179711609, 35145, 20420020682340307177148),
   (50689, false, 3600, 1, 3033660),
   (50691, true, 230187, 1, 107727516),
   (50694, true, 147798357, 53, 481210336341),
   (50711, true, 811801, 4, 23664765),
   (50718, true, 206082, 1, 90676080),
   (50765, false, 5542160, 19, 41122922100),
   (50799, true, 4068225, 2, 8195303655)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints259

#print axioms CongruentPoints259.on_curve
#print axioms CongruentPoints259.indep
#print axioms CongruentPoints259.count

bsd/CongruentPoints26.lean

lean_all/bsd/CongruentPoints26.lean

/-
  bsd/CongruentPoints26.lean — T39 goal G78: points for congruent curves in 4601–4800 with Tunnell A = 2B
  (n = 4607, 4614, 4615, 4633, 4634, 4641, 4646, 4647, 4649, 4669, 4674, 4681, 4685, 4686, 4695, 4705, 4711, 4718, 4726, 4731, 4747, 4763, 4774, 4790, 4791, 4793, 4794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints26
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (4607, true, 134657, 1, 49384320),
   (4614, true, 591361, 10, 284444641),
   (4615, true, 2146225, 9, 3096160300),
   (4633, true, 7225, 1, 471240),
   (4634, true, 219122, 1, 102549096),
   (4641, true, 48841, 1, 10745020),
   (4646, false, 336743, 18, 851383709),
   (4647, true, 4580644259728849, 585450, 290674716665207205778993),
   (4649, true, 55071241, 97, 248292114840),
   (4669, true, 21025, 2, 1400265),
   (4674, true, 6498, 1, 363888),
   (4681, true, 11881, 1, 1190280),
   (4685, false, 2669956, 29, 4734542778),
   (4686, true, 110902, 3, 34157816),
   (4695, true, 2449225, 21, 2047552100),
   (4705, true, 18361225, 38, 73093594275),
   (4711, false, 2266327, 23, 1560443808),
   (4718, true, 9946048, 31, 27918439920),
   (4726, false, 98, 3, 421064),
   (4731, false, 14881275, 271, 1339099652520),
   (4747, false, 36978143, 216, 1327883656015),
   (4763, false, 69696, 5, 25488408),
   (4774, true, 15523326, 55, 22433962824),
   (4790, true, 24010, 1, 3645600),
   (4791, true, 289647399721, 938, 155868535366149005),
   (4793, true, 1153173270144025, 256496, 37667419266139552468605),
   (4794, true, 5202, 1, 145656)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 27 := rfl

end CongruentPoints26

#print axioms CongruentPoints26.on_curve
#print axioms CongruentPoints26.indep
#print axioms CongruentPoints26.count

bsd/CongruentPoints260.lean

lean_all/bsd/CongruentPoints260.lean

/-
  bsd/CongruentPoints260.lean — T39 goal G332: points for congruent curves in 50801–51000 with Tunnell A = 2B
  (n = 50801, 50806, 50809, 50818, 50830, 50838, 50851, 50861, 50882, 50910, 50915, 50921, 50953, 50955), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints260
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (50801, true, 1885129, 2, 2573201085),
   (50806, true, 67927622, 11, 557549921376),
   (50809, true, 688231, 3, 426703220),
   (50818, true, 985663469693504449, 2457680, 929911971308999807661402207),
   (50830, false, 4456244, 19, 37576116396),
   (50838, false, 11163, 1, 5240205),
   (50851, true, 12872899, 1, 46186085400),
   (50861, true, 14291941, 9, 51736826420),
   (50882, true, 520182, 1, 373375080),
   (50910, true, 126960, 1, 41441400),
   (50915, true, 112608085, 23, 1160278095900),
   (50921, true, 5880299205905881, 28858, 450907899369142898600085),
   (50953, true, 197824225, 57, 1523236743260),
   (50955, false, 11265005, 107, 1957668142600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints260

#print axioms CongruentPoints260.on_curve
#print axioms CongruentPoints260.indep
#print axioms CongruentPoints260.count

bsd/CongruentPoints261.lean

lean_all/bsd/CongruentPoints261.lean

/-
  bsd/CongruentPoints261.lean — T39 goal G333: points for congruent curves in 51001–51200 with Tunnell A = 2B
  (n = 51017, 51023, 51045, 51051, 51054, 51127, 51163, 51179, 51186, 51198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints261
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (51017, false, 419033, 7, 1595314680),
   (51023, true, 8872338447, 269, 759916851815100),
   (51045, false, 17405, 1, 6330700),
   (51051, true, 77077, 1, 16032016),
   (51054, true, 727218, 1, 618620112),
   (51127, true, 13983149754025, 16309, 12173114632711225020),
   (51163, true, 73134007489, 510, 19447674699192263),
   (51179, true, 58621, 1, 6921060),
   (51186, true, 11491257, 14, 18995047821),
   (51198, true, 59248, 1, 7257880)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints261

#print axioms CongruentPoints261.on_curve
#print axioms CongruentPoints261.indep
#print axioms CongruentPoints261.count

bsd/CongruentPoints262.lean

lean_all/bsd/CongruentPoints262.lean

/-
  bsd/CongruentPoints262.lean — T39 goal G334: points for congruent curves in 51201–51400 with Tunnell A = 2B
  (n = 51209, 51238, 51249, 51259, 51267, 51279, 51285, 51302, 51319, 51326, 51330, 51339, 51343, 51359, 51395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints262
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (51209, true, 757862525809, 3843, 42509846477084120),
   (51238, true, 69938, 1, 12588840),
   (51249, true, 55473, 1, 5000688),
   (51259, true, 1511653, 1, 1857497928),
   (51267, false, 9474766463, 656, 1939361836095935),
   (51279, false, 38025, 1, 6708780),
   (51285, true, 40463865, 28, 28931663475),
   (51302, true, 11645554, 15, 5263790408),
   (51319, true, 7892723281, 276, 609145109727065),
   (51326, false, 8421875, 53, 417687356625),
   (51330, true, 525625, 2, 350802125),
   (51339, false, 20736, 1, 6762960),
   (51343, true, 1318053025, 7, 47851827904320),
   (51359, true, 707281, 3, 450220940),
   (51395, true, 46677401555, 757, 7823762376152100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints262

#print axioms CongruentPoints262.on_curve
#print axioms CongruentPoints262.indep
#print axioms CongruentPoints262.count

bsd/CongruentPoints263.lean

lean_all/bsd/CongruentPoints263.lean

/-
  bsd/CongruentPoints263.lean — T39 goal G335: points for congruent curves in 51401–51600 with Tunnell A = 2B
  (n = 51405, 51414, 51415, 51430, 51447, 51481, 51485, 51510, 51549, 51555, 51558, 51559, 51562, 51566, 51569, 51585, 51586, 51590, 51591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints263
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (51405, true, 396301725625, 124, 249481347626177875),
   (51414, true, 59532, 1, 7322436),
   (51415, false, 5929, 1, 3932544),
   (51430, true, 475727500, 87, 5964576249500),
   (51447, true, 16495017, 17, 29010698640),
   (51481, true, 1223801123471161, 4991, 42812050879516304307480),
   (51485, true, 75734435, 29, 540743865900),
   (51510, true, 204525, 1, 89513775),
   (51549, true, 174243, 1, 69477408),
   (51555, false, 6069, 1, 3988404),
   (51558, false, 51483, 1, 630765),
   (51559, true, 122247, 1, 38754696),
   (51562, true, 2112012, 1, 3068422140),
   (51566, true, 11618956, 15, 2116700396),
   (51569, true, 18503008769, 374, 2317753445990745),
   (51585, false, 4335, 2, 13582575),
   (51586, true, 89782500165072961, 984632, 22341839719036838036096415),
   (51590, true, 59290, 1, 7114800),
   (51591, true, 757405441, 49, 20563900910020)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints263

#print axioms CongruentPoints263.on_curve
#print axioms CongruentPoints263.indep
#print axioms CongruentPoints263.count

bsd/CongruentPoints264.lean

lean_all/bsd/CongruentPoints264.lean

/-
  bsd/CongruentPoints264.lean — T39 goal G336: points for congruent curves in 51601–51800 with Tunnell A = 2B
  (n = 51605, 51610, 51626, 51630, 51649, 51673, 51701, 51727, 51742, 51758, 51765, 51779, 51794, 51798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints264
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (51605, true, 3536405, 1, 6649618800),
   (51610, true, 71983615210, 387, 19201366656690400),
   (51626, true, 175628, 1, 70350468),
   (51630, false, 16820, 1, 6330700),
   (51649, true, 3553225, 3, 6640266880),
   (51673, true, 60674830254025, 3319, 472600027672905557880),
   (51701, true, 1325083620101245225, 385022, 1525308405833349788462214195),
   (51727, true, 16849338025, 258, 2140975466099405),
   (51742, false, 748316151, 310, 134472840434757),
   (51758, true, 54208, 1, 3751440),
   (51765, true, 53235, 1, 2866500),
   (51779, true, 316771, 1, 175888440),
   (51794, true, 83942, 1, 19138776),
   (51798, true, 668233, 2, 519329755)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints264

#print axioms CongruentPoints264.on_curve
#print axioms CongruentPoints264.indep
#print axioms CongruentPoints264.count

bsd/CongruentPoints265.lean

lean_all/bsd/CongruentPoints265.lean

/-
  bsd/CongruentPoints265.lean — T39 goal G337: points for congruent curves in 51801–52000 with Tunnell A = 2B
  (n = 51805, 51818, 51846, 51855, 51870, 51881, 51887, 51898, 51906, 51933, 51935, 51946, 51982), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints265
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (51805, true, 2257040499025, 3078, 3309711501646075825),
   (51818, false, 876096, 5, 893204208),
   (51846, true, 56454, 1, 5307840),
   (51855, true, 2811138456025, 5633, 3821564672876566700),
   (51870, true, 409374, 1, 259816032),
   (51881, true, 71054766721, 1050, 11236982788239769),
   (51887, true, 20762721, 20, 2613050769),
   (51898, false, 4802, 1, 3580920),
   (51906, false, 1778498, 9, 5080627504),
   (51933, true, 53067, 1, 2513700),
   (51935, true, 1221025, 1, 1348011600),
   (51946, true, 52022, 1, 641136),
   (51982, false, 5582143, 74, 672408786945)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints265

#print axioms CongruentPoints265.on_curve
#print axioms CongruentPoints265.indep
#print axioms CongruentPoints265.count

bsd/CongruentPoints266.lean

lean_all/bsd/CongruentPoints266.lean

/-
  bsd/CongruentPoints266.lean — T39 goal G338: points for congruent curves in 52001–52200 with Tunnell A = 2B
  (n = 52001, 52015, 52018, 52026, 52046, 52049, 52059, 52070, 52085, 52098, 52122, 52133, 52170, 52193, 52199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints266
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (52001, true, 11424839404225, 8228, 36737632208215999905),
   (52015, false, 1283689, 5, 235265184),
   (52018, false, 2455262, 21, 35738744320),
   (52026, false, 55223, 2, 47150299),
   (52046, false, 509012, 9, 2985708572),
   (52049, true, 2563201, 7, 409599840),
   (52059, true, 231361, 2, 48496825),
   (52070, true, 42740081, 4, 279364030071),
   (52085, false, 6875, 9, 349811000),
   (52098, true, 6295650, 7, 14439595680),
   (52122, true, 95922, 1, 24939720),
   (52133, true, 73455397, 21, 597926931580),
   (52170, true, 193029, 1, 81651267),
   (52193, false, 1895225, 27, 52315544080),
   (52199, false, 86247, 191, 559243462512)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints266

#print axioms CongruentPoints266.on_curve
#print axioms CongruentPoints266.indep
#print axioms CongruentPoints266.count

bsd/CongruentPoints267.lean

lean_all/bsd/CongruentPoints267.lean

/-
  bsd/CongruentPoints267.lean — T39 goal G339: points for congruent curves in 52201–52400 with Tunnell A = 2B
  (n = 52206, 52210, 52269, 52278, 52297, 52311, 52319, 52338, 52346, 52374, 52377, 52383), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints267
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (52206, true, 55594, 1, 4506040),
   (52210, false, 1643166, 11, 7819314048),
   (52269, true, 978177, 4, 501804801),
   (52278, false, 331350, 7, 1462158720),
   (52297, true, 2302153, 1, 3492120240),
   (52311, true, 70225, 1, 12415780),
   (52319, true, 113569, 1, 33969600),
   (52338, false, 278784, 25, 17270912736),
   (52346, false, 51842, 1, 1649928),
   (52374, false, 136325136, 55, 942490193112),
   (52377, true, 93799225, 6, 908261924635),
   (52383, true, 6628017, 7, 15732307800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints267

#print axioms CongruentPoints267.on_curve
#print axioms CongruentPoints267.indep
#print axioms CongruentPoints267.count

bsd/CongruentPoints268.lean

lean_all/bsd/CongruentPoints268.lean

/-
  bsd/CongruentPoints268.lean — T39 goal G340: points for congruent curves in 52401–52600 with Tunnell A = 2B
  (n = 52455, 52471, 52486, 52494, 52499, 52505, 52535, 52539, 52566, 52581), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints268
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (52455, true, 938319631561, 3129, 760692974708882384),
   (52471, true, 916696729, 105, 21530310895808),
   (52486, true, 53138, 1, 1912968),
   (52494, true, 35328462, 7, 209427122736),
   (52499, true, 11656188, 11, 33366587142),
   (52505, false, 44100, 1, 5983950),
   (52535, true, 712975, 3, 450600200),
   (52539, true, 133563, 1, 44877168),
   (52566, true, 3040578, 1, 5301140472),
   (52581, false, 21248708, 33, 245104207894)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints268

#print axioms CongruentPoints268.on_curve
#print axioms CongruentPoints268.indep
#print axioms CongruentPoints268.count

bsd/CongruentPoints269.lean

lean_all/bsd/CongruentPoints269.lean

/-
  bsd/CongruentPoints269.lean — T39 goal G341: points for congruent curves in 52601–52800 with Tunnell A = 2B
  (n = 52601, 52611, 52621, 52629, 52630, 52658, 52662, 52670, 52671, 52734, 52735, 52762, 52769, 52771, 52779, 52795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints269
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (52601, true, 34683632, 13, 197438523996),
   (52611, true, 1482627, 1, 1804156704),
   (52621, true, 1912575289, 130, 74050944277413),
   (52629, true, 69680796, 1, 581660444610),
   (52630, false, 862011, 17, 14099023587),
   (52658, true, 229842, 1, 107259600),
   (52662, true, 86234025, 2, 800786402955),
   (52670, true, 29106066025, 142, 4962333632546325),
   (52671, false, 39204, 1, 6964650),
   (52734, true, 531250, 3, 173978000),
   (52735, true, 3872911135, 127, 235137439984200),
   (52762, false, 16696250, 23, 91392249600),
   (52769, true, 272801279789809, 57783, 3439993807527968533600),
   (52771, true, 55540443639380401, 295988, 13043801289619141526115735),
   (52779, false, 3873024, 13, 15812712720),
   (52795, true, 1065696025, 142, 1607073686325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints269

#print axioms CongruentPoints269.on_curve
#print axioms CongruentPoints269.indep
#print axioms CongruentPoints269.count

bsd/CongruentPoints27.lean

lean_all/bsd/CongruentPoints27.lean

/-
  bsd/CongruentPoints27.lean — T39 goal G79: points for congruent curves in 4801–5000 with Tunnell A = 2B
  (n = 4810, 4821, 4823, 4830, 4834, 4838, 4841, 4843, 4845, 4855, 4862, 4867, 4870, 4879, 4889, 4895, 4898, 4899, 4902, 4921, 4926, 4935, 4981, 4991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints27
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (4810, true, 34225, 2, 5236425),
   (4821, true, 5547, 1, 204336),
   (4823, true, 1755625, 2, 2326062675),
   (4830, true, 15870, 1, 1904400),
   (4834, false, 784, 1, 133560),
   (4838, true, 6962, 1, 417720),
   (4841, false, 10515263, 48, 12060784351),
   (4843, true, 6525, 1, 353220),
   (4845, true, 664411, 5, 532495216),
   (4855, true, 972324184225, 10142, 822657102131361975),
   (4862, false, 11535732, 83, 106801162260),
   (4867, true, 616225, 6, 463770935),
   (4870, true, 1185845, 11, 1120623525),
   (4879, true, 7921, 1, 555360),
   (4889, false, 15129, 17, 173779320),
   (4895, true, 42025, 2, 7622925),
   (4898, true, 12400, 1, 1268520),
   (4899, false, 2783, 116, 3477603151),
   (4902, false, 164738, 9, 146634040),
   (4921, true, 855625, 13, 186047100),
   (4926, false, 2166, 5, 5730552),
   (4935, true, 33135, 1, 5964300),
   (4981, true, 85849, 2, 24466965),
   (4991, true, 12241430881, 497, 1347518265312960)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 24 := rfl

end CongruentPoints27

#print axioms CongruentPoints27.on_curve
#print axioms CongruentPoints27.indep
#print axioms CongruentPoints27.count

bsd/CongruentPoints270.lean

lean_all/bsd/CongruentPoints270.lean

/-
  bsd/CongruentPoints270.lean — T39 goal G342: points for congruent curves in 52801–53000 with Tunnell A = 2B
  (n = 52806, 52815, 52823, 52854, 52870, 52895, 52899, 52910, 52915, 52934, 52982, 52989, 52990, 52993), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints270
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (52806, false, 6246942, 29, 109893819672),
   (52815, false, 25702215, 79, 1665990087300),
   (52823, true, 34315722428, 283, 6308324607083070),
   (52854, true, 53868, 1, 2414412),
   (52870, false, 37026, 7, 498441768),
   (52895, true, 469225, 2, 286888275),
   (52899, true, 53067, 1, 971964),
   (52910, true, 4761690025, 142, 320226807364725),
   (52915, true, 9447701004511225, 383244, 522132790716759073885325),
   (52934, false, 13634438, 17, 25616536896),
   (52982, false, 32221139, 25, 43348506609),
   (52989, false, 12699051, 103, 2002787946900),
   (52990, true, 7903210, 3, 22177527400),
   (52993, true, 11864890257025, 13284, 25153929315314225855)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints270

#print axioms CongruentPoints270.on_curve
#print axioms CongruentPoints270.indep
#print axioms CongruentPoints270.count

bsd/CongruentPoints271.lean

lean_all/bsd/CongruentPoints271.lean

/-
  bsd/CongruentPoints271.lean — T39 goal G343: points for congruent curves in 53001–53200 with Tunnell A = 2B
  (n = 53021, 53061, 53071, 53074, 53079, 53095, 53105, 53110, 53151, 53159, 53162, 53179, 53191, 53193, 53195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints271
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (53021, true, 2053489, 4, 2679803145),
   (53061, true, 73947, 1, 14005656),
   (53071, true, 42498337, 12, 272533591729),
   (53074, true, 58482, 1, 5939856),
   (53079, true, 115508261865529, 15282, 1234252941581412507365),
   (53095, true, 1289344353049, 4901, 215261589774693132),
   (53105, true, 64220, 1, 9151350),
   (53110, false, 72656514, 37, 23225993784),
   (53151, false, 52983, 1, 971964),
   (53159, true, 203262049, 58, 1377583979415),
   (53162, true, 87362, 1, 20490360),
   (53179, true, 208097024, 59, 1371294357840),
   (53191, true, 1530169, 5, 936463428),
   (53193, true, 1266993, 1, 1424879820),
   (53195, true, 580087225, 58, 13290006298725)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints271

#print axioms CongruentPoints271.on_curve
#print axioms CongruentPoints271.indep
#print axioms CongruentPoints271.count

bsd/CongruentPoints272.lean

lean_all/bsd/CongruentPoints272.lean

/-
  bsd/CongruentPoints272.lean — T39 goal G344: points for congruent curves in 53201–53400 with Tunnell A = 2B
  (n = 53215, 53237, 53246, 53265, 53286, 53295, 53326, 53351, 53357, 53395, 53399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints272
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (53215, true, 30326481025, 143, 5277804002792400),
   (53237, false, 14266367, 228, 10452837373055),
   (53246, true, 4406462, 7, 7454150544),
   (53265, true, 3845521, 5, 7074511444),
   (53286, false, 28322, 1, 7596008),
   (53295, true, 63580, 1, 8742250),
   (53326, true, 14770808844961, 7990, 55240033104501295791),
   (53351, true, 91817071, 27, 796972176280),
   (53357, true, 12432181, 15, 11387877796),
   (53395, true, 8036226025, 278, 618175390806675),
   (53399, true, 3567431236512529, 258298, 11008539682661164954095)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints272

#print axioms CongruentPoints272.on_curve
#print axioms CongruentPoints272.indep
#print axioms CongruentPoints272.count

bsd/CongruentPoints273.lean

lean_all/bsd/CongruentPoints273.lean

/-
  bsd/CongruentPoints273.lean — T39 goal G345: points for congruent curves in 53401–53600 with Tunnell A = 2B
  (n = 53409, 53421, 53430, 53445, 53454, 53490, 53493, 53506, 53510, 53535, 53539, 53570, 53593, 53599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints273
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (53409, true, 877969, 4, 188763335),
   (53421, true, 141267, 1, 49153104),
   (53430, true, 31641870, 7, 177378715800),
   (53445, true, 54411339045, 673, 11366905130015400),
   (53454, true, 273612, 1, 140362956),
   (53490, false, 561690, 7, 1918704600),
   (53493, true, 154412947293, 1601, 27906102220120740),
   (53506, true, 179056, 1, 72305640),
   (53510, false, 7539393119, 1020, 4789431980171279),
   (53535, true, 413340, 1, 263504250),
   (53539, true, 2677357, 7, 874988136),
   (53570, false, 2035220, 23, 40323673500),
   (53593, true, 160744249873968289, 26605, 64447067016514693688913288),
   (53599, true, 173046433, 6, 2276234370487)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints273

#print axioms CongruentPoints273.on_curve
#print axioms CongruentPoints273.indep
#print axioms CongruentPoints273.count

bsd/CongruentPoints274.lean

lean_all/bsd/CongruentPoints274.lean

/-
  bsd/CongruentPoints274.lean — T39 goal G346: points for congruent curves in 53601–53800 with Tunnell A = 2B
  (n = 53601, 53605, 53618, 53630, 53634, 53635, 53641, 53654, 53669, 53671, 53679, 53686, 53690, 53709, 53710, 53737, 53751, 53761, 53781, 53790, 53799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints274
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (53601, false, 6346457, 11, 3367714688),
   (53605, true, 680805, 1, 559994400),
   (53618, true, 367353, 2, 180765165),
   (53630, false, 316231, 14, 5908394253),
   (53634, true, 34245309, 25, 40991634873),
   (53635, true, 155552709715, 821, 59670339138091500),
   (53641, true, 157609, 1, 58835400),
   (53654, true, 347778, 1, 202638648),
   (53669, true, 800156, 1, 714139230),
   (53671, true, 3129344, 5, 5001107328),
   (53679, true, 309043710889, 2325, 59121534052452088),
   (53686, true, 84770194, 11, 778190380920),
   (53690, false, 4747210, 11, 9662811600),
   (53709, true, 85683, 1, 19541808),
   (53710, true, 117900, 1, 36038100),
   (53737, false, 1245456, 5, 562036572),
   (53751, true, 309867015649, 949, 170371795989143800),
   (53761, true, 52039190641, 966, 3155247167601185),
   (53781, true, 96867264, 41, 342365236200),
   (53790, true, 29825290, 13, 155133301400),
   (53799, true, 790000, 3, 554824900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints274

#print axioms CongruentPoints274.on_curve
#print axioms CongruentPoints274.indep
#print axioms CongruentPoints274.count

bsd/CongruentPoints275.lean

lean_all/bsd/CongruentPoints275.lean

/-
  bsd/CongruentPoints275.lean — T39 goal G347: points for congruent curves in 53801–54000 with Tunnell A = 2B
  (n = 53805, 53815, 53833, 53846, 53859, 53862, 53878, 53890, 53905, 53909, 53935, 53941, 53945, 53970, 53985, 53995, 53999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints275
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (53805, true, 18667275, 7, 79844717700),
   (53815, true, 1311025, 3, 1394930600),
   (53833, true, 23520768193, 652, 833274097803615),
   (53846, true, 73081137350, 1013, 12930185284507920),
   (53859, true, 99940009, 18, 983752135795),
   (53862, true, 35645184, 5, 212662633248),
   (53878, false, 3584151, 10, 7615748757),
   (53890, true, 2512225, 6, 2529810575),
   (53905, true, 532784309858641, 98978, 1629221288127719381361),
   (53909, true, 54332, 1, 1577226),
   (53935, false, 13540100, 59, 689054054850),
   (53941, true, 130891, 1, 43146720),
   (53945, true, 1382978352001, 4830, 674396819669371751),
   (53970, true, 1387029, 5, 378658917),
   (53985, true, 55815, 1, 3348900),
   (53995, true, 1357205, 1, 1579880400),
   (53999, false, 1258884, 5, 546960414)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints275

#print axioms CongruentPoints275.on_curve
#print axioms CongruentPoints275.indep
#print axioms CongruentPoints275.count

bsd/CongruentPoints276.lean

lean_all/bsd/CongruentPoints276.lean

/-
  bsd/CongruentPoints276.lean — T39 goal G349: points for congruent curves in 54001–54200 with Tunnell A = 2B
  (n = 54005, 54006, 54014, 54015, 54030, 54033, 54049, 54055, 54085, 54094, 54095, 54111, 54113, 54131, 54142, 54165, 54166, 54179), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints276
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (54005, false, 25205, 1, 7582800),
   (54006, true, 68136138841, 690, 16470522997292611),
   (54014, true, 2988850, 3, 5098406320),
   (54015, true, 151905625, 39, 1574784723500),
   (54030, true, 107569461630, 1019, 30102009433549200),
   (54033, true, 54208, 1, 1013320),
   (54049, true, 741529376641, 1103, 636030930386591040),
   (54055, true, 72360671695, 1119, 6883080930727300),
   (54085, true, 3478225, 8, 636515175),
   (54094, false, 85142150, 149, 11053498246680),
   (54095, true, 6751188873025, 11032, 3883856865622502175),
   (54111, true, 5980392889, 5, 462481711453088),
   (54113, true, 17682882529, 315, 2240393250829292),
   (54131, false, 3459463, 232, 5419086194739),
   (54142, true, 2770658, 7, 1329915840),
   (54165, false, 870435, 67, 226847367000),
   (54166, false, 268851554, 75, 2350569334744),
   (54179, true, 172685881, 8, 2268807645165)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints276

#print axioms CongruentPoints276.on_curve
#print axioms CongruentPoints276.indep
#print axioms CongruentPoints276.count

bsd/CongruentPoints277.lean

lean_all/bsd/CongruentPoints277.lean

/-
  bsd/CongruentPoints277.lean — T39 goal G350: points for congruent curves in 54201–54400 with Tunnell A = 2B
  (n = 54202, 54210, 54215, 54222, 54230, 54237, 54285, 54291, 54294, 54301, 54359, 54366, 54383, 54385, 54395, 54397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints277
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (54202, true, 110994674230801, 31550, 1021929139734948054951),
   (54210, false, 404010, 7, 1668742200),
   (54215, true, 2399401, 6, 2161860301),
   (54222, false, 51842, 19, 4456789120),
   (54230, true, 1286730, 1, 1458294000),
   (54237, true, 1548171, 5, 929701656),
   (54285, false, 222404, 1357, 47142307290806),
   (54291, true, 68403, 1, 10882872),
   (54294, true, 436361972929, 2610, 152960586520201217),
   (54301, false, 980100, 13, 9033137190),
   (54359, false, 36100, 1, 7721790),
   (54366, true, 3343509, 7, 3694577445),
   (54383, true, 2269566265201225, 120396, 101390631165262368450235),
   (54385, true, 10539280921, 58, 1081810088651019),
   (54395, true, 19932220, 19, 15269504250),
   (54397, true, 830053, 1, 754612740)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints277

#print axioms CongruentPoints277.on_curve
#print axioms CongruentPoints277.indep
#print axioms CongruentPoints277.count

bsd/CongruentPoints278.lean

lean_all/bsd/CongruentPoints278.lean

/-
  bsd/CongruentPoints278.lean — T39 goal G351: points for congruent curves in 54401–54600 with Tunnell A = 2B
  (n = 54410, 54417, 54426, 54434, 54438, 54462, 54467, 54502, 54519, 54529, 54582), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints278
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (54410, false, 15210, 1, 6442800),
   (54417, true, 89733633, 32, 666272225025),
   (54426, true, 58482, 1, 5175144),
   (54434, false, 51842, 1, 3778992),
   (54438, false, 3362, 1, 3150440),
   (54462, true, 2449225, 4, 3582236485),
   (54467, true, 8686972, 3, 25562896730),
   (54502, false, 85210900, 127, 8076393310740),
   (54519, false, 260100, 13, 4697119890),
   (54529, true, 68479, 1, 10840080),
   (54582, false, 5011778, 11, 9629135720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints278

#print axioms CongruentPoints278.on_curve
#print axioms CongruentPoints278.indep
#print axioms CongruentPoints278.count

bsd/CongruentPoints279.lean

lean_all/bsd/CongruentPoints279.lean

/-
  bsd/CongruentPoints279.lean — T39 goal G352: points for congruent curves in 54601–54800 with Tunnell A = 2B
  (n = 54607, 54629, 54634, 54641, 54646, 54670, 54671, 54678, 54685, 54722, 54723, 54735, 54745, 54786, 54791, 54795, 54797), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints279
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (54607, true, 32144874426025, 10953, 178425087309525662180),
   (54629, true, 563814174184116025, 3095638, 157192290137227441891833765),
   (54634, true, 24317676, 17, 91202269620),
   (54641, false, 48400, 1, 5578980),
   (54646, true, 48080025, 22, 278410753635),
   (54670, true, 70574, 1, 11856432),
   (54671, true, 525603250225, 2641, 262251234068336520),
   (54678, false, 55167918, 163, 10782457400520),
   (54685, true, 4093924989025, 2046, 8270462839456234025),
   (54722, true, 43480849188001, 16830, 267876850137362680751),
   (54723, false, 49284, 5, 303515514),
   (54735, true, 33930625, 13, 190159338500),
   (54745, true, 446075716321, 2842, 39321786462479319),
   (54786, false, 268203, 19, 10241620389),
   (54791, true, 2509208636, 61, 125275700108130),
   (54795, true, 1974025, 6, 104623325),
   (54797, true, 7065853, 7, 17373267120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints279

#print axioms CongruentPoints279.on_curve
#print axioms CongruentPoints279.indep
#print axioms CongruentPoints279.count

bsd/CongruentPoints28.lean

lean_all/bsd/CongruentPoints28.lean

/-
  bsd/CongruentPoints28.lean — T39 goal G80: points for congruent curves in 5001–5200 with Tunnell A = 2B
  (n = 5002, 5005, 5015, 5037, 5055, 5065, 5066, 5069, 5073, 5078, 5105, 5109, 5110, 5111, 5115, 5134, 5135, 5138, 5141, 5159, 5161, 5181, 5185, 5190, 5195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints28
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (5002, true, 12821131402, 351, 1450064355824800),
   (5005, true, 43120, 1, 8893500),
   (5015, true, 82981444225, 1242, 23799948835542425),
   (5037, true, 15987, 1, 1918440),
   (5055, false, 23409, 5, 19000764),
   (5065, true, 1026169, 3, 1038483028),
   (5066, true, 1519817, 2, 1873476891),
   (5069, true, 19573, 1, 2644908),
   (5073, false, 938961, 65, 20749049712),
   (5078, false, 1922, 51, 579041560),
   (5105, false, 476100, 149, 78201222450),
   (5109, true, 2007889, 2, 2845031345),
   (5110, true, 16940, 1, 2102100),
   (5111, false, 2732409, 37, 10647601140),
   (5115, true, 95139, 1, 29302812),
   (5134, true, 8978, 1, 697872),
   (5135, true, 142129, 5, 22995492),
   (5138, true, 69938, 1, 18445680),
   (5141, true, 7532837, 7, 20663071416),
   (5159, false, 83167, 8, 92148273),
   (5161, true, 157609, 5, 35934852),
   (5181, true, 24649, 2, 2095165),
   (5185, true, 48841, 3, 3185936),
   (5190, false, 7056, 5, 10882872),
   (5195, true, 9245, 1, 735300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 25 := rfl

end CongruentPoints28

#print axioms CongruentPoints28.on_curve
#print axioms CongruentPoints28.indep
#print axioms CongruentPoints28.count

bsd/CongruentPoints280.lean

lean_all/bsd/CongruentPoints280.lean

/-
  bsd/CongruentPoints280.lean — T39 goal G353: points for congruent curves in 54801–55000 with Tunnell A = 2B
  (n = 54805, 54834, 54839, 54866, 54881, 54887, 54901, 54943, 54969, 54994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints280
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (54805, false, 54756, 1, 542178),
   (54834, false, 467856, 5, 881362728),
   (54839, true, 2263931862508849, 187779, 56021952874574538022600),
   (54866, true, 94192, 1, 23497656),
   (54881, true, 894616773921025, 121072, 11705853882809793736065),
   (54887, true, 15679263687025, 14469, 42241552858359411920),
   (54901, true, 13889953, 6, 51240036617),
   (54943, true, 331632, 1, 188339340),
   (54969, true, 14326177, 16, 10167737329),
   (54994, false, 75732039, 70, 2250530553459)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints280

#print axioms CongruentPoints280.on_curve
#print axioms CongruentPoints280.indep
#print axioms CongruentPoints280.count

bsd/CongruentPoints281.lean

lean_all/bsd/CongruentPoints281.lean

/-
  bsd/CongruentPoints281.lean — T39 goal G354: points for congruent curves in 55001–55200 with Tunnell A = 2B
  (n = 55029, 55042, 55046, 55074, 55087, 55110, 55139, 55151, 55154, 55165, 55167), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints281
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (55029, true, 215475, 1, 96705180),
   (55042, true, 3553225, 8, 876225285),
   (55046, true, 1510728599689, 4472, 1271660054575100325),
   (55074, true, 80802, 1, 16806816),
   (55087, false, 24025, 13, 1442999160),
   (55110, true, 4601685, 1, 9870614325),
   (55139, false, 100071727, 128, 8981596009113),
   (55151, true, 27256120559, 179, 4490362504116300),
   (55154, true, 1037898, 1, 1055888232),
   (55165, true, 7519491, 1, 20619160464),
   (55167, true, 5178961225, 214, 325348673404285)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints281

#print axioms CongruentPoints281.on_curve
#print axioms CongruentPoints281.indep
#print axioms CongruentPoints281.count

bsd/CongruentPoints282.lean

lean_all/bsd/CongruentPoints282.lean

/-
  bsd/CongruentPoints282.lean — T39 goal G355: points for congruent curves in 55201–55400 with Tunnell A = 2B
  (n = 55205, 55230, 55245, 55261, 55279, 55290, 55311, 55335, 55345, 55354, 55361, 55365, 55366, 55393), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints282
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (55205, true, 1474245, 1, 1788750600),
   (55230, true, 2075070, 1, 2988100800),
   (55245, true, 44055070005, 131, 9244709278286400),
   (55261, true, 37977624901, 685, 5407459285092024),
   (55279, true, 78652, 1, 15691074),
   (55290, true, 56454, 1, 2709792),
   (55311, false, 181922823, 79, 3956901068484),
   (55335, true, 57660, 1, 3892050),
   (55345, true, 889530625, 122, 10012162577625),
   (55354, true, 320346, 1, 178585680),
   (55361, true, 696348, 1, 579245478),
   (55365, false, 178215, 2, 55500075),
   (55366, false, 174375, 2, 57011325),
   (55393, true, 587820025, 102, 2806622511355)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints282

#print axioms CongruentPoints282.on_curve
#print axioms CongruentPoints282.indep
#print axioms CongruentPoints282.count

bsd/CongruentPoints283.lean

lean_all/bsd/CongruentPoints283.lean

/-
  bsd/CongruentPoints283.lean — T39 goal G356: points for congruent curves in 55401–55600 with Tunnell A = 2B
  (n = 55414, 55426, 55433, 55434, 55453, 55455, 55461, 55465, 55471, 55477, 55510, 55514, 55522, 55549, 55555, 55590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints283
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (55414, false, 14024583, 26, 130082264109),
   (55426, false, 219303, 2, 15238461),
   (55433, false, 52983, 1, 3751440),
   (55434, true, 176418, 1, 70346232),
   (55453, true, 36863388, 11, 220078066110),
   (55455, false, 77841, 5, 386188452),
   (55461, true, 332668, 1, 189188902),
   (55465, false, 50625, 1, 5098500),
   (55471, true, 232713, 2, 33846813),
   (55477, true, 3334358564649025, 179896, 162244586719227321544095),
   (55510, true, 59150, 1, 4968600),
   (55514, true, 16901907883249, 16790, 26248527305182553943),
   (55522, false, 278528, 7, 1428261120),
   (55549, false, 6877, 1, 4571112),
   (55555, true, 75645, 1, 14120400),
   (55590, true, 69360, 1, 10924200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints283

#print axioms CongruentPoints283.on_curve
#print axioms CongruentPoints283.indep
#print axioms CongruentPoints283.count

bsd/CongruentPoints284.lean

lean_all/bsd/CongruentPoints284.lean

/-
  bsd/CongruentPoints284.lean — T39 goal G357: points for congruent curves in 55601–55800 with Tunnell A = 2B
  (n = 55614, 55618, 55627, 55671, 55681, 55685, 55695, 55705, 55729, 55731, 55734, 55790, 55794, 55795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints284
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (55614, true, 94302, 1, 23386896),
   (55618, true, 678968968763089, 36340, 17588094287302516316313),
   (55627, true, 1940474074081, 3650, 2498199285020874729),
   (55671, true, 53666844, 31, 30992602410),
   (55681, true, 1553069281, 49, 60977722252320),
   (55685, true, 379260, 1, 231032550),
   (55695, true, 103390144, 7, 1050914450872),
   (55705, false, 1002001, 17, 16083599532),
   (55729, false, 3887, 1, 3466008),
   (55731, false, 242064, 37, 37537314660),
   (55734, false, 26934, 1, 8007840),
   (55790, false, 7056, 1, 4648728),
   (55794, false, 305762, 3, 220254992),
   (55795, true, 59405, 1, 4970400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints284

#print axioms CongruentPoints284.on_curve
#print axioms CongruentPoints284.indep
#print axioms CongruentPoints284.count

bsd/CongruentPoints285.lean

lean_all/bsd/CongruentPoints285.lean

/-
  bsd/CongruentPoints285.lean — T39 goal G358: points for congruent curves in 55801–56000 with Tunnell A = 2B
  (n = 55801, 55830, 55842, 55859, 55874, 55910, 55911, 55913, 55918, 55946, 55959, 55965, 55970, 55974, 55986, 55991, 55993), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints285
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (55801, false, 469409, 3, 122309560),
   (55830, false, 27208426686, 817, 4200392151221112),
   (55842, false, 65600, 3, 127621520),
   (55859, true, 803119155173449, 119892, 503786614059967208005),
   (55874, true, 62426, 1, 6956040),
   (55910, true, 59290, 1, 4804800),
   (55911, true, 2787694379501641, 90434, 145192901798986996244995),
   (55913, true, 1590121, 5, 955843044),
   (55918, true, 1289618, 1, 1463130240),
   (55946, true, 11943404, 7, 40173507660),
   (55959, false, 42527, 32, 11816861777),
   (55965, true, 152971, 1, 55681444),
   (55970, false, 334080, 11, 3909640800),
   (55974, false, 6745152, 11, 1589306832),
   (55986, true, 74629338, 19, 620617574808),
   (55991, true, 133225, 1, 44124120),
   (55993, true, 613312, 3, 273763000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints285

#print axioms CongruentPoints285.on_curve
#print axioms CongruentPoints285.indep
#print axioms CongruentPoints285.count

bsd/CongruentPoints286.lean

lean_all/bsd/CongruentPoints286.lean

/-
  bsd/CongruentPoints286.lean — T39 goal G359: points for congruent curves in 56001–56200 with Tunnell A = 2B
  (n = 56019, 56033, 56037, 56041, 56069, 56095, 56134, 56155, 56161, 56166, 56173, 56186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints286
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (56019, true, 14732997, 11, 50210053776),
   (56033, true, 93025, 1, 22648080),
   (56037, false, 1587, 1, 2231460),
   (56041, false, 48841, 1, 6073080),
   (56069, false, 1053, 1, 1819116),
   (56095, true, 23846208880, 211, 3662133068275500),
   (56134, false, 56007, 22, 6429712947),
   (56155, true, 320589025, 38, 5553497431575),
   (56161, false, 204687, 4, 395849097),
   (56166, true, 22859562, 19, 50473912896),
   (56173, true, 68081117209252225, 270642, 17731498612665615436781785),
   (56186, false, 7514, 1, 4826640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints286

#print axioms CongruentPoints286.on_curve
#print axioms CongruentPoints286.indep
#print axioms CongruentPoints286.count

bsd/CongruentPoints287.lean

lean_all/bsd/CongruentPoints287.lean

/-
  bsd/CongruentPoints287.lean — T39 goal G360: points for congruent curves in 56201–56400 with Tunnell A = 2B
  (n = 56206, 56231, 56233, 56238, 56255, 56289, 56310, 56327, 56334, 56342, 56343, 56377), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints287
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (56206, false, 194836372, 59, 249272674908),
   (56231, true, 2148412, 3, 3060412894),
   (56233, true, 2101764025, 154, 74473291726245),
   (56238, true, 535717, 3, 128479715),
   (56255, true, 875272225, 118, 11555243769225),
   (56289, true, 58812, 1, 4132674),
   (56310, false, 1617984, 29, 60202566864),
   (56327, true, 1651225, 1, 2120589240),
   (56334, true, 836482, 3, 608495104),
   (56342, false, 48400, 1, 6345240),
   (56343, false, 219303, 2, 24327765),
   (56377, true, 133570836571225, 7176, 1543351556708148873635)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints287

#print axioms CongruentPoints287.on_curve
#print axioms CongruentPoints287.indep
#print axioms CongruentPoints287.count

bsd/CongruentPoints288.lean

lean_all/bsd/CongruentPoints288.lean

/-
  bsd/CongruentPoints288.lean — T39 goal G361: points for congruent curves in 56401–56600 with Tunnell A = 2B
  (n = 56405, 56406, 56414, 56447, 56451, 56459, 56469, 56474, 56485, 56491, 56535, 56551, 56559, 56581), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints288
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (56405, true, 340605, 1, 196037100),
   (56406, true, 629442, 1, 497373624),
   (56414, false, 13148683, 17, 34954096779),
   (56447, true, 3224536225, 239, 2173299142560),
   (56451, false, 3, 1, 97776),
   (56459, true, 255025, 2, 59828865),
   (56469, true, 60959471349, 689, 13517485256434320),
   (56474, true, 69938, 1, 10910328),
   (56485, false, 313551, 8, 2016635607),
   (56491, true, 3907375081, 172, 220777780860555),
   (56535, false, 27735, 1, 8204400),
   (56551, true, 272473, 2, 79289643),
   (56559, true, 64754399100, 611, 15577367206663170),
   (56581, true, 54261179, 29, 192084573660)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints288

#print axioms CongruentPoints288.on_curve
#print axioms CongruentPoints288.indep
#print axioms CongruentPoints288.count

bsd/CongruentPoints289.lean

lean_all/bsd/CongruentPoints289.lean

/-
  bsd/CongruentPoints289.lean — T39 goal G362: points for congruent curves in 56601–56800 with Tunnell A = 2B
  (n = 56602, 56630, 56661, 56695, 56715, 56721, 56726, 56729, 56730, 56758, 56766, 56769, 56782, 56785, 56797), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints289
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (56602, false, 2403621346, 335, 288269458937208),
   (56630, true, 654481, 2, 496751079),
   (56661, true, 336633, 2, 144415557),
   (56695, true, 29554196380, 699, 1770725553950150),
   (56715, false, 15, 2, 878625),
   (56721, true, 28984431, 17, 128690873640),
   (56726, false, 293378, 3, 226310104),
   (56729, true, 68471903, 19, 540654146088),
   (56730, true, 167445, 1, 64466325),
   (56758, true, 5136445561, 270, 218124193775059),
   (56766, false, 3750, 1, 3468600),
   (56769, true, 733552, 1, 626385844),
   (56782, false, 1782, 1, 2395800),
   (56785, true, 124025, 1, 38831100),
   (56797, true, 42073213, 27, 48444299540)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints289

#print axioms CongruentPoints289.on_curve
#print axioms CongruentPoints289.indep
#print axioms CongruentPoints289.count

bsd/CongruentPoints29.lean

lean_all/bsd/CongruentPoints29.lean

/-
  bsd/CongruentPoints29.lean — T39 goal G81: points for congruent curves in 5201–5400 with Tunnell A = 2B
  (n = 5206, 5207, 5213, 5214, 5215, 5226, 5245, 5246, 5259, 5270, 5273, 5278, 5302, 5306, 5311, 5314, 5327, 5334, 5335, 5343, 5358, 5359, 5362, 5365, 5367, 5394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints29
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (5206, true, 16758, 1, 2062032),
   (5207, true, 2301289, 20, 1484704587),
   (5213, false, 1444, 5, 4952046),
   (5214, true, 74892, 1, 20445516),
   (5215, true, 22201, 2, 1132251),
   (5226, true, 53868, 1, 12443508),
   (5245, true, 1100401, 8, 1099300599),
   (5246, true, 112789, 3, 34400645),
   (5259, true, 3073009, 24, 906537655),
   (5270, true, 20421250, 47, 75820017000),
   (5273, true, 114169225, 119, 922806776760),
   (5278, true, 77077, 3, 16851835),
   (5302, false, 10082, 3, 4683160),
   (5306, true, 287282, 7, 65500296),
   (5311, true, 14145121, 17, 52885677600),
   (5314, false, 3136, 1, 240240),
   (5327, true, 18889716491218225, 366911, 2594328445039702293040560),
   (5334, false, 2480694, 97, 78949957680),
   (5335, true, 235225, 2, 113613675),
   (5343, true, 305279455441, 6825, 97679325555576136),
   (5358, true, 167884, 5, 41467348),
   (5359, false, 190463, 36, 3029916799),
   (5362, true, 8750, 1, 646800),
   (5365, false, 19044, 65, 3128062146),
   (5367, false, 476100, 13, 532695870),
   (5394, false, 1821606, 101, 74223733320)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 26 := rfl

end CongruentPoints29

#print axioms CongruentPoints29.on_curve
#print axioms CongruentPoints29.indep
#print axioms CongruentPoints29.count

bsd/CongruentPoints290.lean

lean_all/bsd/CongruentPoints290.lean

/-
  bsd/CongruentPoints290.lean — T39 goal G363: points for congruent curves in 56801–57000 with Tunnell A = 2B
  (n = 56805, 56814, 56839, 56865, 56869, 56899, 56901, 56902, 56929, 56973, 56978, 56990, 56994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints290
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (56805, true, 292681, 2, 99804221),
   (56814, true, 31645398, 19, 135568885032),
   (56839, true, 1628041801, 71, 64664522711880),
   (56865, true, 25038960, 1, 125291990700),
   (56869, true, 35044099525, 63, 6560143647098840),
   (56899, true, 2459068921, 152, 103055215886835),
   (56901, true, 22198914049, 474, 2703940701385625),
   (56902, false, 20713823, 24, 115602885775),
   (56929, true, 5012781601, 287, 125450207518560),
   (56973, false, 525, 1, 1305360),
   (56978, true, 48787442, 17, 320773825680),
   (56990, true, 193210, 1, 81148200),
   (56994, true, 62658, 1, 6516432)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints290

#print axioms CongruentPoints290.on_curve
#print axioms CongruentPoints290.indep
#print axioms CongruentPoints290.count

bsd/CongruentPoints291.lean

lean_all/bsd/CongruentPoints291.lean

/-
  bsd/CongruentPoints291.lean — T39 goal G364: points for congruent curves in 57001–57200 with Tunnell A = 2B
  (n = 57001, 57043, 57083, 57090, 57102, 57109, 57135, 57166, 57185, 57199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints291
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (57001, true, 121801, 1, 37566360),
   (57043, true, 9264296587, 3, 891699810779960),
   (57083, true, 154617455196, 775, 59284223840776494),
   (57090, false, 756150, 53, 139447564200),
   (57102, false, 565494, 145, 902820218904),
   (57109, true, 325266851, 25, 5830811535276),
   (57135, true, 65559, 1, 8231652),
   (57166, true, 16177978, 11, 58823128008),
   (57185, true, 2247135912025, 4041, 3063929699383300900),
   (57199, true, 1808446696225, 4521, 1855436956209254080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints291

#print axioms CongruentPoints291.on_curve
#print axioms CongruentPoints291.indep
#print axioms CongruentPoints291.count

bsd/CongruentPoints292.lean

lean_all/bsd/CongruentPoints292.lean

/-
  bsd/CongruentPoints292.lean — T39 goal G365: points for congruent curves in 57201–57400 with Tunnell A = 2B
  (n = 57211, 57226, 57237, 57239, 57246, 57270, 57305, 57310, 57327, 57343, 57365, 57387), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints292
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (57211, true, 444411, 1, 293797680),
   (57226, false, 179114, 17, 6998911920),
   (57237, true, 57963, 1, 2201760),
   (57239, true, 1221025, 2, 1325300535),
   (57246, false, 974400, 113, 721556403120),
   (57270, true, 101430, 1, 26661600),
   (57305, true, 900601, 1, 852938424),
   (57310, true, 271441, 2, 75732039),
   (57327, true, 3764473, 1, 7303077620),
   (57343, false, 27225, 1, 8327220),
   (57365, true, 11015235, 13, 17356554600),
   (57387, true, 108288, 1, 30219120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints292

#print axioms CongruentPoints292.on_curve
#print axioms CongruentPoints292.indep
#print axioms CongruentPoints292.count

bsd/CongruentPoints293.lean

lean_all/bsd/CongruentPoints293.lean

/-
  bsd/CongruentPoints293.lean — T39 goal G366: points for congruent curves in 57401–57600 with Tunnell A = 2B
  (n = 57405, 57453, 57471, 57486, 57491, 57494, 57506, 57507, 57517, 57545, 57551, 57558, 57561, 57570, 57585, 57589, 57590, 57599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints293
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (57405, true, 7901281605, 113, 699309424113300),
   (57453, true, 2752855043929, 2530, 4526523826778960533),
   (57471, true, 71366111751253225, 903617, 14363902703191708663330420),
   (57486, false, 18749874, 79, 1551392013600),
   (57491, true, 3844243, 1, 7536464832),
   (57494, true, 97222354, 3, 958612410440),
   (57506, false, 1058, 1, 1870176),
   (57507, true, 303579888, 71, 1570336039980),
   (57517, true, 29738097, 4, 162092048265),
   (57545, false, 34969, 25, 6725568696),
   (57551, true, 12006257, 8, 39595736439),
   (57558, true, 3472666, 5, 5889641536),
   (57561, false, 63, 1, 456876),
   (57570, true, 255025, 2, 55340425),
   (57585, true, 3045025, 7, 1997536400),
   (57589, false, 318759012, 943, 914293738662018),
   (57590, true, 3539803904, 233, 98756384100192),
   (57599, false, 27142991, 71, 1506102552480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints293

#print axioms CongruentPoints293.on_curve
#print axioms CongruentPoints293.indep
#print axioms CongruentPoints293.count

bsd/CongruentPoints294.lean

lean_all/bsd/CongruentPoints294.lean

/-
  bsd/CongruentPoints294.lean — T39 goal G367: points for congruent curves in 57601–57800 with Tunnell A = 2B
  (n = 57605, 57606, 57630, 57634, 57646, 57687, 57694, 57715, 57739, 57757, 57766, 57783, 57799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints294
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (57605, true, 23779182025, 58, 3666747002355075),
   (57606, false, 6, 7, 6914160),
   (57630, true, 19536570, 1, 86351639400),
   (57634, false, 10816, 1, 5887440),
   (57646, false, 877492, 19, 19476527532),
   (57687, true, 246225, 1, 118778940),
   (57694, true, 40820234, 19, 224301484680),
   (57715, true, 235225, 2, 21875925),
   (57739, false, 154973071, 230, 37974609989217),
   (57757, true, 613312, 3, 254907800),
   (57766, true, 1272693090769, 1046, 1434000639463436025),
   (57783, true, 813417, 1, 731764440),
   (57799, true, 3301766521, 239, 2238558742680)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints294

#print axioms CongruentPoints294.on_curve
#print axioms CongruentPoints294.indep
#print axioms CongruentPoints294.count

bsd/CongruentPoints295.lean

lean_all/bsd/CongruentPoints295.lean

/-
  bsd/CongruentPoints295.lean — T39 goal G368: points for congruent curves in 57801–58000 with Tunnell A = 2B
  (n = 57805, 57815, 57819, 57822, 57831, 57855, 57865, 57885, 57891, 57907, 57909, 57921, 57926, 57930, 57939, 57999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints295
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (57805, true, 2733721225, 118, 136597052050275),
   (57815, true, 3117998385, 82, 172747515914175),
   (57819, true, 62774801401, 1036, 2371849294319245),
   (57822, true, 9192525, 11, 18077969295),
   (57831, true, 81756899151, 895, 19262266769872476),
   (57855, true, 2564905, 2, 4091023475),
   (57865, true, 143775, 1, 49905900),
   (57885, true, 1822189513225, 5054, 1437649398192319325),
   (57891, true, 15177309, 1, 59127430320),
   (57907, true, 383637778225, 918, 235689252418576385),
   (57909, false, 85683, 7, 830216556),
   (57921, true, 2637921, 1, 4283393400),
   (57926, false, 628331, 5, 1034230197),
   (57930, true, 1507005, 1, 1848633975),
   (57939, true, 504525, 1, 355992840),
   (57999, true, 47363505048559561, 654306, 8777750596091233176610115)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints295

#print axioms CongruentPoints295.on_curve
#print axioms CongruentPoints295.indep
#print axioms CongruentPoints295.count

bsd/CongruentPoints296.lean

lean_all/bsd/CongruentPoints296.lean

/-
  bsd/CongruentPoints296.lean — T39 goal G370: points for congruent curves in 58001–58200 with Tunnell A = 2B
  (n = 58030, 58039, 58091, 58110, 58123, 58145), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints296
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (58030, false, 12544, 1, 6345696),
   (58039, true, 8041109419225, 3031, 22751868379695454320),
   (58091, true, 1365388003638649, 7740, 50452502609024491729357),
   (58110, true, 432666, 1, 282017736),
   (58123, true, 77077, 1, 14054040),
   (58145, false, 44100, 1, 7957950)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints296

#print axioms CongruentPoints296.on_curve
#print axioms CongruentPoints296.indep
#print axioms CongruentPoints296.count

bsd/CongruentPoints297.lean

lean_all/bsd/CongruentPoints297.lean

/-
  bsd/CongruentPoints297.lean — T39 goal G371: points for congruent curves in 58201–58400 with Tunnell A = 2B
  (n = 58206, 58242, 58245, 58254, 58255, 58286, 58290, 58295, 58297, 58301, 58326, 58331, 58355, 58361, 58377), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints297
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (58206, true, 15541002, 13, 47431138104),
   (58242, false, 5105168, 11, 10976763320),
   (58245, true, 2128357020, 187, 28494084581550),
   (58254, true, 58482, 1, 1247616),
   (58255, true, 748225, 2, 615027975),
   (58286, true, 46679536, 7, 318328409160),
   (58290, true, 610566, 1, 474909336),
   (58295, true, 6858348455, 181, 545509836881100),
   (58297, false, 831744, 5, 1091466096),
   (58301, true, 2161836448775809, 76272, 99271070322458370610625),
   (58326, false, 57600, 1, 2201760),
   (58331, true, 226310539, 41, 3068374829520),
   (58355, false, 17424, 1, 7351476),
   (58361, false, 45968, 1, 7709364),
   (58377, true, 18622263, 13, 68157482580)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints297

#print axioms CongruentPoints297.on_curve
#print axioms CongruentPoints297.indep
#print axioms CongruentPoints297.count

bsd/CongruentPoints298.lean

lean_all/bsd/CongruentPoints298.lean

/-
  bsd/CongruentPoints298.lean — T39 goal G372: points for congruent curves in 58401–58600 with Tunnell A = 2B
  (n = 58406, 58422, 58458, 58466, 58479, 58485, 58487, 58533, 58542, 58546, 58551, 58558, 58559, 58562, 58565, 58595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints298
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (58406, true, 143321433286249, 32214, 1554819176599138701035),
   (58422, true, 99372, 1, 25339860),
   (58458, true, 112908, 1, 32458140),
   (58466, true, 353648, 1, 207414552),
   (58479, true, 5182416121, 224, 307517417273485),
   (58485, false, 212415, 4, 420019425),
   (58487, false, 20449, 5, 209070576),
   (58533, true, 3950977500, 193, 207108475780050),
   (58542, true, 80850, 1, 15855840),
   (58546, true, 95922, 1, 23532864),
   (58551, false, 689127, 7, 2311935912),
   (58558, true, 3241058, 1, 5833904400),
   (58559, true, 1814845201, 119, 68771274839280),
   (58562, true, 87362, 1, 19161120),
   (58565, false, 484, 1, 1288386),
   (58595, true, 80645, 1, 15735300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints298

#print axioms CongruentPoints298.on_curve
#print axioms CongruentPoints298.indep
#print axioms CongruentPoints298.count

bsd/CongruentPoints299.lean

lean_all/bsd/CongruentPoints299.lean

/-
  bsd/CongruentPoints299.lean — T39 goal G373: points for congruent curves in 58601–58800 with Tunnell A = 2B
  (n = 58611, 58614, 58618, 58630, 58637, 58638, 58645, 58651, 58665, 58674, 58695, 58710, 58729, 58746, 58758, 58765, 58786, 58791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints299
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (58611, false, 27018003, 31, 256890809736),
   (58614, true, 268072311049, 2010, 65051140172657093),
   (58618, true, 83582, 1, 17225160),
   (58630, false, 19195380, 19, 39067616700),
   (58637, true, 112070396, 35, 910681550694),
   (58638, false, 1376646, 5, 591158808),
   (58645, false, 4356, 1, 3859878),
   (58651, true, 43277458531, 459, 8628332204052280),
   (58665, true, 50197225, 27, 186210662300),
   (58674, true, 63525, 1, 6136515),
   (58695, true, 1221025, 3, 1216428200),
   (58710, true, 22179840, 1, 104456649600),
   (58729, true, 727529, 1, 618522960),
   (58746, true, 63948, 1, 6388668),
   (58758, false, 54150, 1, 5307840),
   (58765, true, 25705715, 17, 97835291400),
   (58786, false, 234650, 251, 1794037975080),
   (58791, true, 1429021803889, 4814, 515296008980528545)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints299

#print axioms CongruentPoints299.on_curve
#print axioms CongruentPoints299.indep
#print axioms CongruentPoints299.count

bsd/CongruentPoints30.lean

lean_all/bsd/CongruentPoints30.lean

/-
  bsd/CongruentPoints30.lean — T39 goal G82: points for congruent curves in 5401–5600 with Tunnell A = 2B
  (n = 5406, 5423, 5429, 5430, 5446, 5449, 5453, 5465, 5466, 5467, 5473, 5474, 5494, 5506, 5510, 5545, 5546, 5551, 5559, 5565, 5569, 5583, 5587, 5590, 5593, 5597), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints30
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (5406, true, 137853, 1, 51143463),
   (5423, true, 3540481472, 83, 210653805712680),
   (5429, true, 124527823225, 4042, 30844436388924795),
   (5430, false, 366591246, 893, 82609846944408),
   (5446, false, 2346687, 44, 15746273823),
   (5449, true, 1488493561, 233, 56282038418760),
   (5453, false, 8155556, 525, 4292146112878),
   (5465, false, 15376, 13, 114508668),
   (5466, true, 58482, 1, 14080824),
   (5467, false, 5103, 4, 6237945),
   (5473, true, 601947877609, 9775, 231284941301315148),
   (5474, true, 15842, 1, 1871136),
   (5494, false, 45602, 3, 4081832),
   (5506, false, 94864, 113, 21654263400),
   (5510, true, 10469, 1, 910803),
   (5545, false, 17424, 13, 123676476),
   (5546, true, 62658, 1, 15622728),
   (5551, false, 90601, 325, 176483634768),
   (5559, true, 1221025, 11, 1126048040),
   (5565, true, 2696640, 17, 3554508600),
   (5569, true, 1124193841, 217, 36653234902320),
   (5583, true, 4414490942761, 25330, 5420705918193093491),
   (5587, true, 855625, 6, 769275325),
   (5590, true, 82810, 3, 18928000),
   (5593, true, 319225, 1, 180334440),
   (5597, false, 70756, 5, 32110722)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 26 := rfl

end CongruentPoints30

#print axioms CongruentPoints30.on_curve
#print axioms CongruentPoints30.indep
#print axioms CongruentPoints30.count

bsd/CongruentPoints300.lean

lean_all/bsd/CongruentPoints300.lean

/-
  bsd/CongruentPoints300.lean — T39 goal G374: points for congruent curves in 58801–59000 with Tunnell A = 2B
  (n = 58805, 58807, 58814, 58830, 58834, 58845, 58847, 58854, 58857, 58881, 58893, 58911, 58929, 58946, 58973, 58999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints300
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (58805, true, 21224119225, 358, 2890522684165275),
   (58807, true, 607600, 3, 232619660),
   (58814, false, 63504, 5, 370182456),
   (58830, true, 4070400, 1, 8211268800),
   (58834, true, 31410738, 17, 148020205872),
   (58845, false, 25205, 1, 8441900),
   (58847, false, 1164241, 5, 970439652),
   (58854, true, 5028396, 7, 9237035340),
   (58857, false, 81550847, 52, 1234181553535),
   (58881, true, 2989137, 7, 1351142136),
   (58893, true, 5751883, 9, 7707523220),
   (58911, false, 126617697, 77, 3662959409388),
   (58929, true, 2009631, 5, 1937638404),
   (58946, false, 1411344, 17, 20168474040),
   (58973, false, 24548, 1, 8401230),
   (58999, true, 7687049, 1, 21312121440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints300

#print axioms CongruentPoints300.on_curve
#print axioms CongruentPoints300.indep
#print axioms CongruentPoints300.count

bsd/CongruentPoints301.lean

lean_all/bsd/CongruentPoints301.lean

/-
  bsd/CongruentPoints301.lean — T39 goal G375: points for congruent curves in 59001–59200 with Tunnell A = 2B
  (n = 59010, 59015, 59037, 59039, 59070, 59074, 59109, 59126, 59185, 59187, 59189, 59195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints301
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (59010, true, 59290, 1, 1401400),
   (59015, true, 1151329, 3, 1096065208),
   (59037, false, 496947, 13, 7024681620),
   (59039, true, 1371636826561, 2926, 1493365293478064775),
   (59070, true, 340605, 1, 195769575),
   (59074, true, 515923660886209, 47422, 11323504595430581276415),
   (59109, true, 137275, 1, 45904760),
   (59126, false, 83513783, 42, 570966192091),
   (59185, false, 11027456, 15, 24789815072),
   (59187, true, 4302677881, 250, 144145209438971),
   (59189, false, 12100, 1, 6373290),
   (59195, true, 257645, 1, 127278900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints301

#print axioms CongruentPoints301.on_curve
#print axioms CongruentPoints301.indep
#print axioms CongruentPoints301.count

bsd/CongruentPoints302.lean

lean_all/bsd/CongruentPoints302.lean

/-
  bsd/CongruentPoints302.lean — T39 goal G376: points for congruent curves in 59201–59400 with Tunnell A = 2B
  (n = 59215, 59223, 59254, 59262, 59285, 59286, 59287, 59293, 59299, 59321, 59334, 59335, 59369, 59370, 59386, 59394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints302
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (59215, true, 50010679615, 903, 2913046445740600),
   (59223, false, 4695033, 11, 11730384540),
   (59254, false, 93298347, 41, 336930987093),
   (59262, true, 159442668, 19, 1995086778300),
   (59285, false, 33901151, 24, 23871267343),
   (59286, true, 295225, 2, 95543245),
   (59287, true, 512764367778601, 15010, 11607250411356951557901),
   (59293, true, 207632146045557025, 1461438, 74976092908556338566380105),
   (59299, true, 528809659249, 2340, 303520219674466807),
   (59321, false, 2999824, 37, 140560503300),
   (59334, true, 67518, 1, 8372232),
   (59335, true, 820536025, 117, 3334495129100),
   (59369, true, 1776538201, 73, 73682351174040),
   (59370, false, 3580060475, 1043, 3858447614515325),
   (59386, false, 38929823, 72, 1905416356591),
   (59394, true, 15472137, 2, 60851914821)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints302

#print axioms CongruentPoints302.on_curve
#print axioms CongruentPoints302.indep
#print axioms CongruentPoints302.count

bsd/CongruentPoints303.lean

lean_all/bsd/CongruentPoints303.lean

/-
  bsd/CongruentPoints303.lean — T39 goal G377: points for congruent curves in 59401–59600 with Tunnell A = 2B
  (n = 59415, 59430, 59449, 59451, 59455, 59469, 59478, 59495, 59498, 59501, 59558, 59561, 59577, 59595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints303
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (59415, true, 1357225, 2, 1556737075),
   (59430, true, 10091214, 13, 3108093912),
   (59449, true, 2157961, 6, 406288675),
   (59451, true, 320572, 1, 178356374),
   (59455, true, 7900255, 1, 22204927800),
   (59469, false, 1436053263, 314, 215428244988321),
   (59478, true, 476928, 1, 326795040),
   (59495, true, 1540081, 5, 495724896),
   (59498, false, 68231, 30, 13987348397),
   (59501, true, 89557, 1, 20030556),
   (59558, true, 228098146742, 499, 108708322521469680),
   (59561, true, 28099848263041, 16587, 121004071756118624600),
   (59577, false, 11025, 1, 6147540),
   (59595, true, 2721505, 6, 2762327575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints303

#print axioms CongruentPoints303.on_curve
#print axioms CongruentPoints303.indep
#print axioms CongruentPoints303.count

bsd/CongruentPoints304.lean

lean_all/bsd/CongruentPoints304.lean

/-
  bsd/CongruentPoints304.lean — T39 goal G378: points for congruent curves in 59601–59800 with Tunnell A = 2B
  (n = 59630, 59631, 59645, 59655, 59662, 59665, 59685, 59690, 59709, 59710, 59714, 59730, 59735, 59754, 59766, 59789, 59795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints304
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (59630, true, 152966169, 34, 1688892704547),
   (59631, true, 63063, 1, 5153148),
   (59645, true, 580444, 3, 168225778),
   (59655, true, 6936743055, 47, 577637037261900),
   (59662, true, 165187150, 49, 1057245180480),
   (59665, true, 13902761732860729, 270657, 1556157643675052046174908),
   (59685, true, 6327091459, 225, 442178355020948),
   (59690, false, 6871635, 23, 80788928625),
   (59709, true, 2041666619161, 514, 2917187060910496075),
   (59710, true, 544415244025, 1378, 392885936878547475),
   (59714, false, 24336, 1, 8506680),
   (59730, true, 99405, 1, 25052175),
   (59735, true, 358155625, 27, 6727807598500),
   (59754, true, 62658, 1, 4719528),
   (59766, false, 2669334, 7, 1968023520),
   (59789, true, 210279001, 4, 3049224239325),
   (59795, true, 27332355625, 382, 4282277712589875)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints304

#print axioms CongruentPoints304.on_curve
#print axioms CongruentPoints304.indep
#print axioms CongruentPoints304.count

bsd/CongruentPoints305.lean

lean_all/bsd/CongruentPoints305.lean

/-
  bsd/CongruentPoints305.lean — T39 goal G379: points for congruent curves in 59801–60000 with Tunnell A = 2B
  (n = 59837, 59845, 59847, 59849, 59865, 59885, 59902, 59942, 59977, 59997), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints305
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (59837, true, 80613, 1, 15337140),
   (59845, true, 363967807143528025, 850398, 218022994993941654238891925),
   (59847, true, 2537260308000625, 82953, 126110222461574632045900),
   (59849, true, 36926833, 16, 204168459657),
   (59865, true, 33658599, 19, 149705477532),
   (59885, true, 243049, 2, 20287443),
   (59902, true, 264706938, 41, 3982957060440),
   (59942, true, 772108, 1, 676401180),
   (59977, true, 8728230625, 294, 656016292246825),
   (59997, false, 204687, 2, 56683935)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints305

#print axioms CongruentPoints305.on_curve
#print axioms CongruentPoints305.indep
#print axioms CongruentPoints305.count

bsd/CongruentPoints306.lean

lean_all/bsd/CongruentPoints306.lean

/-
  bsd/CongruentPoints306.lean — T39 goal G381: points for congruent curves in 60001–60200 with Tunnell A = 2B
  (n = 60006, 60009, 60054, 60055, 60065, 60078, 60113, 60114, 60115, 60119, 60130, 60141, 60151, 60159, 60177, 60191, 60198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints306
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (60006, true, 337842, 1, 193245624),
   (60009, true, 439873441, 80, 4497674677489),
   (60054, false, 3600, 1, 3596760),
   (60055, true, 1229554225, 142, 7471895129025),
   (60065, true, 555025, 3, 93706100),
   (60078, false, 344669747, 101, 9407944256815),
   (60113, true, 819025, 1, 739218480),
   (60114, true, 4027122, 1, 8080603344),
   (60115, true, 78477717325225, 35612, 164880180242596754325),
   (60119, true, 292681, 1, 154964040),
   (60130, true, 108045, 1, 29506575),
   (60141, false, 950907, 7, 2719945332),
   (60151, true, 2270349533794225, 153683, 84381312300699087963120),
   (60159, true, 79233, 1, 14514192),
   (60177, true, 593915665048225, 94062, 6413569065085352843465),
   (60191, false, 190969, 5, 652269696),
   (60198, false, 3750, 1, 3679200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints306

#print axioms CongruentPoints306.on_curve
#print axioms CongruentPoints306.indep
#print axioms CongruentPoints306.count

bsd/CongruentPoints307.lean

lean_all/bsd/CongruentPoints307.lean

/-
  bsd/CongruentPoints307.lean — T39 goal G382: points for congruent curves in 60201–60400 with Tunnell A = 2B
  (n = 60214, 60229, 60294, 60346, 60347, 60367, 60385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints307
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (60214, true, 129514, 1, 41265840),
   (60229, false, 44100, 1, 8614410),
   (60294, true, 62400, 1, 4015440),
   (60346, true, 77077, 1, 13312299),
   (60347, false, 27916063, 764, 186109846424145),
   (60367, true, 1323297, 4, 1040543055),
   (60385, true, 181753005625, 519, 77174944241673500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints307

#print axioms CongruentPoints307.on_curve
#print axioms CongruentPoints307.indep
#print axioms CongruentPoints307.count

bsd/CongruentPoints308.lean

lean_all/bsd/CongruentPoints308.lean

/-
  bsd/CongruentPoints308.lean — T39 goal G383: points for congruent curves in 60401–60600 with Tunnell A = 2B
  (n = 60405, 60410, 60415, 60442, 60445, 60469, 60473, 60485, 60490, 60494, 60495, 60510, 60514, 60554, 60574, 60595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints308
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (60405, false, 394805, 3, 234831700),
   (60410, true, 21184940, 17, 55233059700),
   (60415, true, 69660, 1, 9152550),
   (60442, true, 643653657725, 3047, 252933152355610935),
   (60445, false, 737891, 15, 11665378648),
   (60469, false, 56644, 1, 5037270),
   (60473, true, 27065356353, 17, 4452670248755820),
   (60485, false, 3407716, 41, 187587128898),
   (60490, true, 546526, 3, 35519176),
   (60494, false, 48223, 4, 212285199),
   (60495, false, 106929, 17, 5716852056),
   (60510, false, 56454, 1, 5175144),
   (60514, false, 106485759, 260, 42198900147711),
   (60554, true, 451673, 2, 256214973),
   (60574, true, 954529, 2, 902029905),
   (60595, true, 113621445, 41, 536614039500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints308

#print axioms CongruentPoints308.on_curve
#print axioms CongruentPoints308.indep
#print axioms CongruentPoints308.count

bsd/CongruentPoints309.lean

lean_all/bsd/CongruentPoints309.lean

/-
  bsd/CongruentPoints309.lean — T39 goal G384: points for congruent curves in 60601–60800 with Tunnell A = 2B
  (n = 60630, 60634, 60635, 60639, 60645, 60655, 60695, 60697, 60699, 60721, 60722, 60729, 60781, 60791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints309
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (60630, true, 4345150, 3, 8985770200),
   (60634, true, 635166, 1, 503898360),
   (60635, true, 764725, 3, 468482300),
   (60639, true, 146247, 1, 50893956),
   (60645, true, 1156155, 1, 1241440200),
   (60655, true, 8853963264721, 11877, 6775123913775815156),
   (60695, true, 2961916, 3, 5010080914),
   (60697, true, 77372, 1, 13346670),
   (60699, false, 266256, 13, 5291412300),
   (60721, false, 21689, 3, 80419040),
   (60722, true, 9691990225, 96, 952564290866585),
   (60729, false, 48515031, 35, 392820039828),
   (60781, true, 63504973, 31, 198600912552),
   (60791, true, 3405135780601, 5031, 5605409027754514720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints309

#print axioms CongruentPoints309.on_curve
#print axioms CongruentPoints309.indep
#print axioms CongruentPoints309.count

bsd/CongruentPoints31.lean

lean_all/bsd/CongruentPoints31.lean

/-
  bsd/CongruentPoints31.lean — T39 goal G83: points for congruent curves in 5601–5800 with Tunnell A = 2B
  (n = 5602, 5605, 5610, 5614, 5621, 5622, 5629, 5654, 5655, 5657, 5666, 5685, 5693, 5694, 5709, 5718, 5719, 5726, 5735, 5738, 5747, 5790, 5794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints31
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (5602, false, 4802, 1, 199920),
   (5605, true, 159460455625, 5302, 9793187335600125),
   (5610, true, 69360, 1, 18207000),
   (5614, true, 13552, 1, 1435896),
   (5621, true, 432817, 2, 284360769),
   (5622, false, 164738, 11, 267885800),
   (5629, true, 26590492620409, 6336, 137111502963036053555),
   (5654, true, 1453078, 9, 1662321232),
   (5655, true, 142129, 3, 50029408),
   (5657, true, 50837193937160401, 30885, 11462315380656328407460024),
   (5666, false, 1058, 1, 181056),
   (5685, false, 8147535, 38, 2865290175),
   (5693, true, 23141728042225, 56882, 67389614641126167585),
   (5694, true, 10807212, 37, 24608021724),
   (5709, false, 180708, 17, 697149486),
   (5718, false, 14412219, 1625, 57321310417821),
   (5719, true, 51772, 3, 1268414),
   (5726, true, 80802, 1, 22910784),
   (5735, true, 198025, 3, 85075100),
   (5738, true, 93100, 1, 28352940),
   (5747, true, 674041, 10, 289163589),
   (5790, false, 16854, 5, 18664056),
   (5794, true, 8544355763329, 8854, 24940461176700865185)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 23 := rfl

end CongruentPoints31

#print axioms CongruentPoints31.on_curve
#print axioms CongruentPoints31.indep
#print axioms CongruentPoints31.count

bsd/CongruentPoints310.lean

lean_all/bsd/CongruentPoints310.lean

/-
  bsd/CongruentPoints310.lean — T39 goal G385: points for congruent curves in 60801–61000 with Tunnell A = 2B
  (n = 60819, 60826, 60847, 60855, 60874, 60879, 60911, 60926, 60959, 60963, 60965, 60970, 60977, 60990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints310
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (60819, true, 10189947, 11, 22499402976),
   (60826, true, 263767257, 38, 4039339876221),
   (60847, false, 1290496, 5, 914881008),
   (60855, true, 1155850761025, 3977, 688030328263426300),
   (60874, true, 19528409637, 503, 1677786775928109),
   (60879, true, 1277679, 1, 1442577240),
   (60911, true, 1751697, 1, 2316998544),
   (60926, true, 162854009, 50, 735480000723),
   (60959, false, 442223, 7, 1964454864),
   (60963, true, 391003725, 41, 7461360161640),
   (60965, false, 23716, 1, 8649102),
   (60970, true, 583570, 3, 151728200),
   (60977, true, 3114223, 1, 5494665960),
   (60990, false, 17620011, 329, 27710985426363)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints310

#print axioms CongruentPoints310.on_curve
#print axioms CongruentPoints310.indep
#print axioms CongruentPoints310.count

bsd/CongruentPoints311.lean

lean_all/bsd/CongruentPoints311.lean

/-
  bsd/CongruentPoints311.lean — T39 goal G386: points for congruent curves in 61001–61200 with Tunnell A = 2B
  (n = 61003, 61030, 61046, 61061, 61094, 61098, 61139, 61161, 61165, 61171, 61174, 61186, 61189, 61198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints311
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (61003, true, 83628707432101225, 534218, 23654425804947308427970515),
   (61030, true, 153102170, 49, 548960817600),
   (61046, true, 797004, 1, 709435740),
   (61061, true, 92229037901, 1075, 18035774537805024),
   (61094, false, 684258354, 1171, 2191330672563240),
   (61098, true, 497868325581, 2765, 121565778454852479),
   (61139, true, 8273903521, 306, 543365519653385),
   (61161, true, 69375, 1, 8624700),
   (61165, true, 83057431552225, 19482, 726781823058009624425),
   (61171, true, 90387, 1, 20005656),
   (61174, true, 3160098, 1, 5616547512),
   (61186, false, 55778, 1, 5939856),
   (61189, false, 44125267, 31, 258186912228),
   (61198, true, 25305373, 7, 126400338135)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints311

#print axioms CongruentPoints311.on_curve
#print axioms CongruentPoints311.indep
#print axioms CongruentPoints311.count

bsd/CongruentPoints312.lean

lean_all/bsd/CongruentPoints312.lean

/-
  bsd/CongruentPoints312.lean — T39 goal G387: points for congruent curves in 61201–61400 with Tunnell A = 2B
  (n = 61210, 61215, 61230, 61238, 61241, 61243, 61271, 61295, 61334, 61386), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints312
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (61210, false, 57600, 1, 4970400),
   (61215, true, 168540, 1, 64466550),
   (61230, false, 230400, 17, 8493105600),
   (61238, true, 1528153354225, 3306, 1698249190706022185),
   (61241, false, 27218687, 1176, 441865893160063),
   (61243, false, 1192464, 5, 1048672716),
   (61271, true, 34031763529, 193, 6263943933524040),
   (61295, true, 108149557321, 1239, 17532986778673444),
   (61334, true, 1589966, 1, 2003357160),
   (61386, true, 62400, 1, 2798640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints312

#print axioms CongruentPoints312.on_curve
#print axioms CongruentPoints312.indep
#print axioms CongruentPoints312.count

bsd/CongruentPoints313.lean

lean_all/bsd/CongruentPoints313.lean

/-
  bsd/CongruentPoints313.lean — T39 goal G388: points for congruent curves in 61401–61600 with Tunnell A = 2B
  (n = 61405, 61415, 61418, 61439, 61459, 61485, 61502, 61503, 61534, 61535, 61537, 61574, 61579, 61594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints313
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (61405, false, 67600, 61, 59406878700),
   (61415, true, 253960563025, 201, 127976047492822100),
   (61418, true, 206082, 1, 89302200),
   (61439, false, 120127, 37, 29151939852),
   (61459, true, 5972971225, 148, 449743829427555),
   (61485, false, 2954563299, 1523, 7750369645818876),
   (61502, false, 214302382, 547, 269369201626560),
   (61503, false, 1240734713, 177, 51927027781420),
   (61534, false, 1294139, 5, 946143891),
   (61535, true, 3940225, 8, 248234175),
   (61537, true, 555025, 3, 27085220),
   (61574, false, 21165714, 19, 31238877000),
   (61579, true, 6002332, 3, 14642688914),
   (61594, true, 62192, 1, 2145624)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints313

#print axioms CongruentPoints313.on_curve
#print axioms CongruentPoints313.indep
#print axioms CongruentPoints313.count

bsd/CongruentPoints314.lean

lean_all/bsd/CongruentPoints314.lean

/-
  bsd/CongruentPoints314.lean — T39 goal G389: points for congruent curves in 61601–61800 with Tunnell A = 2B
  (n = 61639, 61655, 61661, 61670, 61690, 61693, 61711, 61745, 61754, 61755, 61761, 61766, 61770, 61790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints314
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (61639, true, 376161098686129, 9705, 7294727771613643153492),
   (61655, false, 13483844, 15, 11971476946),
   (61661, true, 750005787166275025, 3174478, 363731295518327602727723535),
   (61670, false, 7220, 1, 5204100),
   (61690, true, 607600, 3, 192392200),
   (61693, true, 5519900, 1, 12967901070),
   (61711, true, 26962831831, 561, 3071046965884820),
   (61745, true, 347657640625, 2353, 37286477895315000),
   (61754, false, 1517824, 5, 347771424),
   (61755, true, 130491, 1, 41525136),
   (61761, false, 44100, 1, 9080190),
   (61766, true, 21432802, 3, 99191007656),
   (61770, true, 92016, 1, 20688264),
   (61790, true, 2687255311225, 6578, 442580795445521325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints314

#print axioms CongruentPoints314.on_curve
#print axioms CongruentPoints314.indep
#print axioms CongruentPoints314.count

bsd/CongruentPoints315.lean

lean_all/bsd/CongruentPoints315.lean

/-
  bsd/CongruentPoints315.lean — T39 goal G390: points for congruent curves in 61801–62000 with Tunnell A = 2B
  (n = 61815, 61829, 61845, 61855, 61899, 61919, 61926, 61935, 61937, 61945, 61953, 61977, 61978), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints315
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (61815, true, 255025, 1, 124947100),
   (61829, true, 80897450478601, 21138, 683874186050321719075),
   (61845, true, 1613230080, 1, 64795443451200),
   (61855, true, 255025, 2, 31216575),
   (61899, true, 578163, 1, 437091228),
   (61919, true, 252252, 1, 122816694),
   (61926, true, 96774, 1, 23134320),
   (61935, true, 62660415300390625, 770093, 12707871190681156265912500),
   (61937, true, 15917809, 15, 30689535752),
   (61945, true, 68424508945, 522, 17345414124241775),
   (61953, true, 101980151817, 1069, 23440036948299720),
   (61977, true, 374229025, 12, 7237401522895),
   (61978, true, 1357225, 2, 1554565515)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints315

#print axioms CongruentPoints315.on_curve
#print axioms CongruentPoints315.indep
#print axioms CongruentPoints315.count

bsd/CongruentPoints316.lean

lean_all/bsd/CongruentPoints316.lean

/-
  bsd/CongruentPoints316.lean — T39 goal G391: points for congruent curves in 62001–62200 with Tunnell A = 2B
  (n = 62062, 62090, 62094, 62095, 62101, 62123, 62130, 62139, 62146, 62185, 62186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints316
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (62062, false, 12919312, 43, 409838169720),
   (62090, false, 29435, 3, 95739875),
   (62094, true, 74892, 1, 11458476),
   (62095, true, 82263518095, 1107, 8964786598905500),
   (62101, true, 20983457, 4, 96012574449),
   (62123, true, 16226938225, 456, 1251027872694665),
   (62130, true, 417453541, 1, 8529277002461),
   (62139, false, 336875, 3, 259097300),
   (62146, true, 66654, 1, 6221040),
   (62185, true, 3480304424751025, 221169, 99764994746350103354900),
   (62186, true, 62658, 1, 1921512)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints316

#print axioms CongruentPoints316.on_curve
#print axioms CongruentPoints316.indep
#print axioms CongruentPoints316.count

bsd/CongruentPoints317.lean

lean_all/bsd/CongruentPoints317.lean

/-
  bsd/CongruentPoints317.lean — T39 goal G392: points for congruent curves in 62201–62400 with Tunnell A = 2B
  (n = 62205, 62218, 62231, 62238, 62265, 62266, 62270, 62335, 62337, 62342, 62369, 62389, 62395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints317
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (62205, true, 11400741, 13, 14895368136),
   (62218, true, 25374038680225, 712, 127815658204740796785),
   (62231, true, 5605894376329, 1146, 13271536518268194595),
   (62238, true, 68962, 1, 7799840),
   (62265, false, 15876, 1, 7586082),
   (62266, false, 222370031, 60, 421302178297),
   (62270, false, 93366650, 139, 11590246223400),
   (62335, true, 70785, 1, 8923200),
   (62337, true, 25781119225, 603, 1972436391854360),
   (62342, true, 15928381, 15, 30120568471),
   (62369, true, 20722112, 1, 94329831336),
   (62389, false, 1552516, 5, 186634602),
   (62395, true, 290405, 1, 152842200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints317

#print axioms CongruentPoints317.on_curve
#print axioms CongruentPoints317.indep
#print axioms CongruentPoints317.count

bsd/CongruentPoints318.lean

lean_all/bsd/CongruentPoints318.lean

/-
  bsd/CongruentPoints318.lean — T39 goal G394: points for congruent curves in 62401–62600 with Tunnell A = 2B
  (n = 62402, 62403, 62437, 62454, 62457, 62471, 62486, 62489, 62491, 62509, 62510, 62521, 62526, 62553, 62566, 62567, 62569, 62590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints318
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (62402, false, 5333378, 17, 39785366880),
   (62403, true, 10727643, 13, 6436585800),
   (62437, false, 13456, 5, 181060572),
   (62454, true, 112000938, 41, 412918446528),
   (62457, true, 690060361, 70, 16246972981891),
   (62471, true, 20296827900, 391, 2551497748587390),
   (62486, false, 4183975, 26, 85977137085),
   (62489, false, 45927, 1, 9081072),
   (62491, true, 567853, 3, 59056712),
   (62509, true, 3286102443121, 5310, 5027602914285980831),
   (62510, true, 351310, 1, 204903600),
   (62521, false, 4078903, 41, 212098692624),
   (62526, false, 74792571, 65, 2191156572717),
   (62553, true, 54434247, 1, 401613259320),
   (62566, false, 1122498, 7, 3022532136),
   (62567, true, 1938075392, 157, 51673109254800),
   (62569, true, 3292413879001, 3060, 5878743602933742749),
   (62590, false, 62410, 1, 1185000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints318

#print axioms CongruentPoints318.on_curve
#print axioms CongruentPoints318.indep
#print axioms CongruentPoints318.count

bsd/CongruentPoints319.lean

lean_all/bsd/CongruentPoints319.lean

/-
  bsd/CongruentPoints319.lean — T39 goal G395: points for congruent curves in 62601–62800 with Tunnell A = 2B
  (n = 62601, 62607, 62634, 62641, 62645, 62651, 62665, 62718, 62727, 62733, 62755, 62785, 62790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints319
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (62601, true, 118754097, 29, 1159990019496),
   (62607, true, 258210350655625, 42757, 3719270030991056570800),
   (62634, true, 63948, 1, 3261348),
   (62641, true, 2866249, 6, 2995230205),
   (62645, false, 1139, 423, 378293614316),
   (62651, true, 20847132, 1, 95184780606),
   (62665, true, 1452025, 3, 1612314100),
   (62718, false, 7404123, 169, 4874148003555),
   (62727, true, 4244527, 1, 8743725620),
   (62733, true, 3172059, 5, 4910701752),
   (62755, true, 292259, 1, 154312752),
   (62785, true, 187489, 1, 76495512),
   (62790, true, 309465, 2, 100576125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints319

#print axioms CongruentPoints319.on_curve
#print axioms CongruentPoints319.indep
#print axioms CongruentPoints319.count

bsd/CongruentPoints32.lean

lean_all/bsd/CongruentPoints32.lean

/-
  bsd/CongruentPoints32.lean — T39 goal G84: points for congruent curves in 5801–6000 with Tunnell A = 2B
  (n = 5809, 5822, 5829, 5830, 5845, 5849, 5863, 5865, 5869, 5871, 5894, 5910, 5911, 5917, 5918, 5933, 5934, 5962, 5973, 5974, 5986), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints32
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (5809, false, 3600, 1, 273540),
   (5822, true, 1877922, 7, 2543586240),
   (5829, false, 129264507, 149, 69659889012),
   (5830, true, 3089900, 19, 3976701300),
   (5845, false, 6716405, 47, 28578158400),
   (5849, true, 19545241, 47, 64836440760),
   (5863, true, 55095825625, 1311, 12714225530782400),
   (5865, true, 180625, 2, 76115375),
   (5869, false, 2340900, 53, 24968037870),
   (5871, true, 604713, 7, 413623692),
   (5894, false, 7098343, 86, 114590877219),
   (5910, true, 970225, 12, 458916425),
   (5911, true, 2460259201, 572, 75429061348545),
   (5917, true, 573949, 5, 420130668),
   (5918, false, 75779, 5, 34979769),
   (5933, true, 2088025, 8, 2966887005),
   (5934, true, 90988, 1, 27387388),
   (5962, true, 1086338, 7, 1090553640),
   (5973, true, 7962528289, 990, 481617981283913),
   (5974, true, 1429642, 7, 1673172864),
   (5986, false, 4418, 1, 268464)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 21 := rfl

end CongruentPoints32

#print axioms CongruentPoints32.on_curve
#print axioms CongruentPoints32.indep
#print axioms CongruentPoints32.count

bsd/CongruentPoints320.lean

lean_all/bsd/CongruentPoints320.lean

/-
  bsd/CongruentPoints320.lean — T39 goal G396: points for congruent curves in 62801–63000 with Tunnell A = 2B
  (n = 62805, 62835, 62839, 62894, 62907, 62909, 62926, 62929, 62930, 62935, 62966, 62997), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints320
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (62805, true, 63600, 1, 2528100),
   (62835, true, 24090939, 17, 77701308588),
   (62839, true, 72361, 1, 9651720),
   (62894, true, 33522502, 23, 23733931416),
   (62907, true, 33822997, 23, 35175916880),
   (62909, false, 20681684243, 819, 5289531801919156),
   (62926, true, 64082, 1, 3067344),
   (62929, true, 35607982158719880625, 12471888, 204295415119322058167207261975),
   (62930, true, 8026445, 1, 22739007375),
   (62935, false, 4901821415, 1753, 13536153536310000),
   (62966, true, 2745649, 6, 2567181815),
   (62997, true, 5269203291, 265, 207775862401536)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints320

#print axioms CongruentPoints320.on_curve
#print axioms CongruentPoints320.indep
#print axioms CongruentPoints320.count

bsd/CongruentPoints321.lean

lean_all/bsd/CongruentPoints321.lean

/-
  bsd/CongruentPoints321.lean — T39 goal G397: points for congruent curves in 63001–63200 with Tunnell A = 2B
  (n = 63005, 63029, 63030, 63035, 63042, 63043, 63058, 63070, 63087, 63089, 63109, 63113, 63145, 63157), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints321
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (63005, true, 1099805, 1, 1151488800),
   (63029, true, 189412309480410025, 165718, 82431682488909072318646515),
   (63030, true, 75645, 1, 11503575),
   (63035, false, 929915, 17, 17544244200),
   (63042, true, 830053, 3, 551985245),
   (63043, false, 52900, 1, 7887390),
   (63058, true, 193714258, 1, 2696139493440),
   (63070, true, 196630, 1, 82584600),
   (63087, true, 161624100625, 1314, 48003751831329775),
   (63089, true, 3285238489, 174, 153202417574635),
   (63109, false, 1687887, 28, 64243055127),
   (63113, true, 35017653741702025, 613088, 4820074396629975591953445),
   (63145, true, 42341686688401, 17343, 246246423318510644276),
   (63157, true, 21592433, 16, 66502790025)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints321

#print axioms CongruentPoints321.on_curve
#print axioms CongruentPoints321.indep
#print axioms CongruentPoints321.count

bsd/CongruentPoints322.lean

lean_all/bsd/CongruentPoints322.lean

/-
  bsd/CongruentPoints322.lean — T39 goal G404: points for congruent curves in 63201–63400 with Tunnell A = 2B
  (n = 63205, 63273, 63285, 63294, 63302, 63305, 63327, 63330, 63349, 63354, 63365, 63381, 63395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints322
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (63205, true, 83205, 1, 15609000),
   (63273, true, 3552327, 7, 3268140840),
   (63285, false, 191535, 2, 72435825),
   (63294, true, 147994, 1, 51463720),
   (63302, true, 113162462, 41, 409591154280),
   (63305, true, 42055225, 22, 186814789275),
   (63327, false, 10238217, 23, 102061972980),
   (63330, true, 202005, 1, 86213925),
   (63349, false, 1825967, 6, 1846278863),
   (63354, true, 63654, 1, 1557360),
   (63365, true, 81337315, 33, 388343608100),
   (63381, true, 143559549525, 779, 52405102726639740),
   (63395, true, 855625, 2, 755896125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints322

#print axioms CongruentPoints322.on_curve
#print axioms CongruentPoints322.indep
#print axioms CongruentPoints322.count

bsd/CongruentPoints323.lean

lean_all/bsd/CongruentPoints323.lean

/-
  bsd/CongruentPoints323.lean — T39 goal G405: points for congruent curves in 63401–63600 with Tunnell A = 2B
  (n = 63401, 63422, 63427, 63438, 63453, 63461, 63481, 63483, 63510, 63529, 63535, 63546, 63570, 63574, 63591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints323
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (63401, true, 5502951230569, 6460, 11319017560317554997),
   (63422, false, 62650922, 1593, 1273899553288840),
   (63427, true, 65642525, 31, 197401646520),
   (63438, true, 68280337, 32, 173789734265),
   (63453, true, 7941387, 11, 5717798640),
   (63461, true, 137834291881225, 35026, 1335343207019551652445),
   (63481, false, 222414775, 142, 18799453832445),
   (63483, true, 63525, 1, 582120),
   (63510, true, 64386, 1, 2685816),
   (63529, true, 255025, 2, 10864065),
   (63535, true, 1590121, 5, 93939456),
   (63546, true, 2289169, 6, 125904295),
   (63570, true, 67626, 1, 5998824),
   (63574, true, 106359302, 37, 630497942256),
   (63591, true, 72897, 1, 9622404)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints323

#print axioms CongruentPoints323.on_curve
#print axioms CongruentPoints323.indep
#print axioms CongruentPoints323.count

bsd/CongruentPoints324.lean

lean_all/bsd/CongruentPoints324.lean

/-
  bsd/CongruentPoints324.lean — T39 goal G406: points for congruent curves in 63601–63800 with Tunnell A = 2B
  (n = 63614, 63619, 63626, 63627, 63655, 63674, 63687, 63726, 63745, 63785, 63789), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints324
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (63614, true, 269314, 1, 135806880),
   (63619, true, 164879184999841, 8792, 2116194049319722606065),
   (63626, true, 1203409, 4, 703994265),
   (63627, true, 853948, 1, 786933910),
   (63655, true, 75212774695, 209, 20612963873619000),
   (63674, true, 67518, 1, 5835192),
   (63687, false, 8812703, 16, 40720169105),
   (63726, true, 1153776, 1, 1237424760),
   (63745, true, 103455, 1, 26208600),
   (63785, true, 157895434266025, 12488, 1980116801476468437525),
   (63789, true, 11209467, 1, 37529295516)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints324

#print axioms CongruentPoints324.on_curve
#print axioms CongruentPoints324.indep
#print axioms CongruentPoints324.count

bsd/CongruentPoints325.lean

lean_all/bsd/CongruentPoints325.lean

/-
  bsd/CongruentPoints325.lean — T39 goal G407: points for congruent curves in 63801–64000 with Tunnell A = 2B
  (n = 63826, 63858, 63865, 63895, 63910, 63911, 63915, 63921, 63974), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints325
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (63826, false, 6112350, 13, 21973011360),
   (63858, false, 2585976686, 385, 463024821114512),
   (63865, true, 714025, 3, 357958900),
   (63895, true, 49239280436920716025, 1511769, 345513989870186296008883974200),
   (63910, true, 26522650, 17, 98027714400),
   (63911, true, 5342167783969, 339, 12347410177521055000),
   (63915, false, 212415, 2, 65571975),
   (63921, true, 75504, 1, 11042460),
   (63974, true, 2115898, 1, 3076404912)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints325

#print axioms CongruentPoints325.on_curve
#print axioms CongruentPoints325.indep
#print axioms CongruentPoints325.count

bsd/CongruentPoints326.lean

lean_all/bsd/CongruentPoints326.lean

/-
  bsd/CongruentPoints326.lean — T39 goal G409: points for congruent curves in 64001–64200 with Tunnell A = 2B
  (n = 64001, 64010, 64014, 64045, 64046, 64059, 64070, 64077, 64079, 64103, 64110), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints326
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (64001, true, 66049, 1, 4194240),
   (64010, false, 1600, 1, 2559600),
   (64014, true, 69683469, 23, 508389476625),
   (64045, false, 718205, 7, 2588949000),
   (64046, true, 131885124350, 877, 44429130564640080),
   (64059, true, 79707, 1, 13390776),
   (64070, true, 26489677430, 131, 4307651646902400),
   (64077, false, 2236166400, 239, 137023005122640),
   (64079, false, 1932100, 13, 14811285390),
   (64103, true, 4864365025, 258, 162898506050345),
   (64110, false, 61206, 1, 4719528)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints326

#print axioms CongruentPoints326.on_curve
#print axioms CongruentPoints326.indep
#print axioms CongruentPoints326.count

bsd/CongruentPoints327.lean

lean_all/bsd/CongruentPoints327.lean

/-
  bsd/CongruentPoints327.lean — T39 goal G410: points for congruent curves in 64201–64400 with Tunnell A = 2B
  (n = 64202, 64213, 64226, 64265, 64277, 64294, 64297, 64299, 64311, 64351, 64355, 64374, 64391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints327
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (64202, false, 216482, 3, 249263560),
   (64213, true, 141120263154025, 14994, 1667629838262963744595),
   (64226, true, 60661457, 16, 454778943129),
   (64265, true, 4161344636995225, 231027, 151993424344787915853700),
   (64277, false, 4275, 23, 2223204060),
   (64294, true, 121579954, 15, 1331057336392),
   (64297, true, 59379629737, 177, 14461261887250360),
   (64299, true, 64060923, 23, 434484940968),
   (64311, true, 1394947801, 147, 4516494306220),
   (64351, true, 703423, 3, 334829348),
   (64355, true, 297025, 2, 80760825),
   (64374, false, 32400, 1, 10012680),
   (64391, true, 9633192634071241, 209990, 903483098792481741625539)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints327

#print axioms CongruentPoints327.on_curve
#print axioms CongruentPoints327.indep
#print axioms CongruentPoints327.count

bsd/CongruentPoints328.lean

lean_all/bsd/CongruentPoints328.lean

/-
  bsd/CongruentPoints328.lean — T39 goal G411: points for congruent curves in 64401–64600 with Tunnell A = 2B
  (n = 64415, 64429, 64437, 64454, 64478, 64491, 64498, 64505, 64519, 64534, 64554, 64586, 64590, 64599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints328
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (64415, true, 70785, 1, 7807800),
   (64429, false, 19728859, 23, 123446123220),
   (64437, false, 1272384, 5, 1114449336),
   (64454, true, 15696954, 1, 62189836800),
   (64478, false, 969127, 46, 134309462595),
   (64491, true, 2301289, 2, 3469052845),
   (64498, true, 190400, 1, 78168720),
   (64505, false, 1432809, 5, 885794364),
   (64519, true, 57088978489, 763, 10272245206176780),
   (64534, true, 22269929, 10, 100584808533),
   (64554, true, 247254, 1, 118681920),
   (64586, true, 65478508, 1, 529843915188),
   (64590, true, 86640, 1, 16997400),
   (64599, true, 182381097721, 270, 77861884739483269)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints328

#print axioms CongruentPoints328.on_curve
#print axioms CongruentPoints328.indep
#print axioms CongruentPoints328.count

bsd/CongruentPoints329.lean

lean_all/bsd/CongruentPoints329.lean

/-
  bsd/CongruentPoints329.lean — T39 goal G414: points for congruent curves in 64601–64800 with Tunnell A = 2B
  (n = 64605, 64610, 64666, 64695, 64722, 64758, 64770, 64779, 64785, 64790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints329
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (64605, true, 19058475, 17, 16695224100),
   (64610, true, 82810, 1, 14905800),
   (64666, false, 468999, 10, 4416891501),
   (64695, true, 44057295, 23, 184159493100),
   (64722, false, 10932843, 13, 1112383845),
   (64758, true, 18595350, 1, 80186988240),
   (64770, true, 16516350, 1, 67122446400),
   (64779, true, 68403, 1, 5745852),
   (64785, true, 380689, 1, 231458912),
   (64790, true, 9513900, 7, 27663249900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints329

#print axioms CongruentPoints329.on_curve
#print axioms CongruentPoints329.indep
#print axioms CongruentPoints329.count

bsd/CongruentPoints33.lean

lean_all/bsd/CongruentPoints33.lean

/-
  bsd/CongruentPoints33.lean — T39 goal G85: points for congruent curves in 6001–6200 with Tunnell A = 2B
  (n = 6001, 6006, 6010, 6014, 6015, 6045, 6051, 6054, 6055, 6058, 6065, 6083, 6086, 6090, 6095, 6106, 6110, 6118, 6135, 6141, 6143, 6149, 6198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints33
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (6001, true, 124609, 4, 28037025),
   (6006, true, 21294, 1, 2981160),
   (6010, false, 114490, 7, 91806000),
   (6014, true, 7936, 1, 461280),
   (6015, true, 1540192692025, 12599, 1499853028139449100),
   (6045, true, 62400, 1, 15514200),
   (6051, true, 7203, 1, 331632),
   (6054, false, 507, 1, 135837),
   (6055, true, 18416500480, 783, 2447954982746000),
   (6058, true, 4264650, 23, 5810706720),
   (6065, true, 1471369, 7, 1747986372),
   (6083, false, 2630383, 32, 9157530375),
   (6086, true, 64082, 1, 16148664),
   (6090, true, 7350, 1, 352800),
   (6095, true, 70225, 1, 18539400),
   (6106, true, 299538, 7, 7854552),
   (6110, true, 2640625, 14, 3824364375),
   (6118, false, 612902, 17, 1298387040),
   (6135, true, 132540, 1, 48200850),
   (6141, false, 26922500, 731, 17026168509350),
   (6143, true, 5284780288225, 7153, 12127490665926404160),
   (6149, true, 2752387, 21, 782156584),
   (6198, true, 6498, 1, 157320)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 23 := rfl

end CongruentPoints33

#print axioms CongruentPoints33.on_curve
#print axioms CongruentPoints33.indep
#print axioms CongruentPoints33.count

bsd/CongruentPoints330.lean

lean_all/bsd/CongruentPoints330.lean

/-
  bsd/CongruentPoints330.lean — T39 goal G415: points for congruent curves in 64801–65000 with Tunnell A = 2B
  (n = 64810, 64815, 64834, 64839, 64849, 64855, 64861, 64889, 64894, 64903, 64909, 64911, 64930, 64946, 64966, 64970, 64995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints330
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (64810, false, 14400, 1, 7582800),
   (64815, true, 705037645977025, 98723, 8313564750103788191900),
   (64834, false, 776223, 4, 606290769),
   (64839, false, 1764, 1, 2722230),
   (64849, true, 19678758961, 433, 2170619278290960),
   (64855, true, 385970200225, 1769, 203962711299861900),
   (64861, true, 1195148025653569, 117030, 27640198208339254122247),
   (64889, false, 387617, 3, 271958248),
   (64894, true, 74498, 1, 9986592),
   (64903, true, 128981449, 40, 868826956293),
   (64909, true, 34412677, 23, 13392897804),
   (64911, true, 78961, 1, 12633760),
   (64930, true, 14106150, 11, 44002132200),
   (64946, true, 91854, 1, 19686240),
   (64966, false, 206459, 5, 731990589),
   (64970, true, 2029289, 2, 2866982187),
   (64995, true, 40231905, 16, 232339251375)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints330

#print axioms CongruentPoints330.on_curve
#print axioms CongruentPoints330.indep
#print axioms CongruentPoints330.count

bsd/CongruentPoints331.lean

lean_all/bsd/CongruentPoints331.lean

/-
  bsd/CongruentPoints331.lean — T39 goal G418: points for congruent curves in 65001–65200 with Tunnell A = 2B
  (n = 65019, 65031, 65041, 65042, 65054, 65059, 65086, 65087, 65089, 65102, 65110, 65135, 65161, 65190, 65198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints331
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (65019, false, 7056, 1, 5429340),
   (65031, true, 106390716, 31, 888096501810),
   (65041, true, 21918817, 7, 101527960344),
   (65042, false, 28322, 3, 98398720),
   (65054, false, 18106979, 185, 9473841154569),
   (65059, true, 37085256475, 669, 4422805173766520),
   (65086, false, 25886, 1, 9607920),
   (65087, true, 11411953, 12, 21993960905),
   (65089, true, 307029754494459649, 2098529, 60962612697876346920968160),
   (65102, false, 509894, 5, 1103675496),
   (65110, false, 33309460, 31, 305699431500),
   (65135, false, 53361, 1, 8628312),
   (65161, false, 361, 1, 1238040),
   (65190, true, 2034010, 1, 2899388800),
   (65198, true, 91630317025, 1032, 18098006823502255)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints331

#print axioms CongruentPoints331.on_curve
#print axioms CongruentPoints331.indep
#print axioms CongruentPoints331.count

bsd/CongruentPoints332.lean

lean_all/bsd/CongruentPoints332.lean

/-
  bsd/CongruentPoints332.lean — T39 goal G421: points for congruent curves in 65201–65400 with Tunnell A = 2B
  (n = 65201, 65221, 65231, 65246, 65251, 65255, 65258, 65262, 65305, 65310, 65330, 65351, 65365), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints332
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (65201, false, 3249, 1, 3711840),
   (65221, false, 659344, 5, 1210908804),
   (65231, true, 2750321, 5, 3672857244),
   (65246, true, 21074458, 9, 93654891352),
   (65251, true, 42890824201, 182, 8871447008176605),
   (65255, true, 1095664, 3, 968199812),
   (65258, true, 3241058, 7, 951847560),
   (65262, true, 6527094, 5, 16146165672),
   (65305, true, 18855958489, 303, 2454865863859288),
   (65310, true, 247254, 1, 118579608),
   (65330, true, 1228204, 3, 1195042492),
   (65351, false, 1002001, 5, 1291722432),
   (65365, false, 125066365, 73, 3635731814100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints332

#print axioms CongruentPoints332.on_curve
#print axioms CongruentPoints332.indep
#print axioms CongruentPoints332.count

bsd/CongruentPoints333.lean

lean_all/bsd/CongruentPoints333.lean

/-
  bsd/CongruentPoints333.lean — T39 goal G424: points for congruent curves in 65401–65600 with Tunnell A = 2B
  (n = 65410, 65422, 65455, 65458, 65473, 65477, 65481, 65485, 65490, 65494, 65527, 65535, 65570, 65571, 65586), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints333
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (65410, true, 445210, 1, 293838600),
   (65422, true, 255150, 1, 124573680),
   (65455, true, 70225, 1, 6741600),
   (65458, true, 1045458, 1, 1066858800),
   (65473, false, 9025, 1, 6160560),
   (65477, true, 18113578560025, 16498, 13781478541510225845),
   (65481, false, 933156, 5, 1299286422),
   (65485, false, 15571115, 17, 42445412100),
   (65490, true, 5795865, 2, 13939055325),
   (65494, true, 34086650, 11, 193557633360),
   (65527, false, 804447, 8, 3691545585),
   (65535, true, 66049, 1, 2113568),
   (65570, true, 203350, 1, 86801400),
   (65571, true, 5191659, 5, 11224140048),
   (65586, false, 596594192, 281, 125649913891528)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints333

#print axioms CongruentPoints333.on_curve
#print axioms CongruentPoints333.indep
#print axioms CongruentPoints333.count

bsd/CongruentPoints334.lean

lean_all/bsd/CongruentPoints334.lean

/-
  bsd/CongruentPoints334.lean — T39 goal G427: points for congruent curves in 65601–65800 with Tunnell A = 2B
  (n = 65605, 65631, 65639, 65641, 65661, 65667, 65669, 65670, 65685, 65705, 65719, 65749, 65751, 65759, 65765, 65778), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints334
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (65605, true, 132845, 1, 42102900),
   (65631, true, 35645148, 23, 48201730038),
   (65639, true, 2155652041, 41, 99953571354120),
   (65641, true, 3147322201, 119, 168691409663400),
   (65661, false, 842978823, 422, 338617367180091),
   (65667, true, 650475, 1, 521941140),
   (65669, true, 5055352201, 264, 152641738855205),
   (65670, true, 34848880, 23, 16291851400),
   (65685, true, 8843164, 7, 24493700638),
   (65705, true, 339708294025, 299, 197967677953850700),
   (65719, true, 5647372201, 289, 99826822400760),
   (65749, true, 68413, 1, 4944828),
   (65751, false, 7041049764, 769, 3208734194535450),
   (65759, false, 29241, 1, 10071900),
   (65765, true, 91035, 1, 18992400),
   (65778, true, 481650, 1, 331138080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints334

#print axioms CongruentPoints334.on_curve
#print axioms CongruentPoints334.indep
#print axioms CongruentPoints334.count

bsd/CongruentPoints335.lean

lean_all/bsd/CongruentPoints335.lean

/-
  bsd/CongruentPoints335.lean — T39 goal G430: points for congruent curves in 65801–66000 with Tunnell A = 2B
  (n = 65801, 65846, 65858, 65879, 65895, 65897, 65901, 65962, 65969), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints335
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (65801, true, 8934126978001, 1490, 26700544349538819249),
   (65846, false, 94178, 3, 179552744),
   (65858, true, 61305417, 26, 329997310245),
   (65879, true, 231396993, 14, 3514466099943),
   (65895, false, 15081551, 16, 29349073943),
   (65897, true, 2301289, 5, 2437570212),
   (65901, false, 23395812, 37, 421451296002),
   (65962, true, 63054598, 27, 323878088080),
   (65969, true, 337477601, 23, 6166418015400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints335

#print axioms CongruentPoints335.on_curve
#print axioms CongruentPoints335.indep
#print axioms CongruentPoints335.count

bsd/CongruentPoints336.lean

lean_all/bsd/CongruentPoints336.lean

/-
  bsd/CongruentPoints336.lean — T39 goal G433: points for congruent curves in 66001–66200 with Tunnell A = 2B
  (n = 66011, 66027, 66038, 66045, 66057, 66133, 66154, 66155, 66165, 66178), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints336
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (66011, true, 3136444542001, 1228, 5551848169155057705),
   (66027, false, 57600, 1, 7746480),
   (66038, true, 401000650, 47, 7479844301280),
   (66045, false, 7056, 1, 5516028),
   (66057, true, 2087471137, 172, 33528262578895),
   (66133, true, 789976747575625, 57246, 21351593834533419134525),
   (66154, true, 13064833, 12, 32317590977),
   (66155, true, 125438413995, 67, 44426757199877100),
   (66165, false, 1716275, 37, 118644396200),
   (66178, false, 20396943, 88, 2312689219575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints336

#print axioms CongruentPoints336.on_curve
#print axioms CongruentPoints336.indep
#print axioms CongruentPoints336.count

bsd/CongruentPoints337.lean

lean_all/bsd/CongruentPoints337.lean

/-
  bsd/CongruentPoints337.lean — T39 goal G437: points for congruent curves in 66201–66400 with Tunnell A = 2B
  (n = 66206, 66215, 66230, 66234, 66243, 66245, 66255, 66259, 66291, 66306, 66311, 66334, 66351, 66361, 66365, 66374, 66381), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints337
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (66206, false, 52094, 1, 9325680),
   (66215, true, 4891815945025, 7777, 6213176617149860100),
   (66230, true, 312650, 1, 170851200),
   (66234, true, 48898122, 19, 298263498624),
   (66243, true, 937443, 1, 905378760),
   (66245, false, 1295405, 9, 5926541500),
   (66255, true, 234050145, 23, 3540286701000),
   (66259, true, 664453729, 62, 15819327758295),
   (66291, true, 183027, 1, 72985536),
   (66306, true, 4276737, 8, 1099121409),
   (66311, true, 7194094916761, 9793, 9021406259557907160),
   (66334, true, 81634, 1, 13594560),
   (66351, true, 1692601, 1, 2200381300),
   (66361, false, 17689, 1, 8506680),
   (66365, true, 760562709459076225, 424126, 663206901483283840819883175),
   (66374, false, 15868314, 25, 152683038816),
   (66381, true, 1330672, 3, 1371590164)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints337

#print axioms CongruentPoints337.on_curve
#print axioms CongruentPoints337.indep
#print axioms CongruentPoints337.count

bsd/CongruentPoints338.lean

lean_all/bsd/CongruentPoints338.lean

/-
  bsd/CongruentPoints338.lean — T39 goal G440: points for congruent curves in 66401–66600 with Tunnell A = 2B
  (n = 66409, 66430, 66462, 66489, 66495, 66526, 66549, 66566, 66599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints338
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (66409, false, 3132927, 8, 5083579137),
   (66430, true, 68770, 1, 4664400),
   (66462, true, 2039334, 5, 1688568552),
   (66489, true, 138493479, 17, 1614072684960),
   (66495, true, 35729980, 19, 158194486450),
   (66526, true, 76044129121, 848, 16300551736522095),
   (66549, false, 61347, 1, 6388668),
   (66566, true, 500931295225, 188, 354537727778867955),
   (66599, true, 2007889, 5, 1590248088)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints338

#print axioms CongruentPoints338.on_curve
#print axioms CongruentPoints338.indep
#print axioms CongruentPoints338.count

bsd/CongruentPoints339.lean

lean_all/bsd/CongruentPoints339.lean

/-
  bsd/CongruentPoints339.lean — T39 goal G443: points for congruent curves in 66601–66800 with Tunnell A = 2B
  (n = 66613, 66633, 66659, 66669, 66703, 66711, 66722, 66729, 66742, 66757, 66766, 66769, 66774, 66794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints339
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (66613, true, 43889363819473225, 164346, 9186999820042160423413315),
   (66633, true, 95817, 1, 21313440),
   (66659, true, 213660360429405409, 447570, 98568042932033826579165673),
   (66669, true, 293907, 1, 155182896),
   (66703, true, 7363123556736025, 181427, 603076796898276352348320),
   (66711, true, 5874966411889, 9118, 4696697970483507935),
   (66722, false, 1922, 1, 2923920),
   (66729, true, 720447, 1, 608880636),
   (66742, false, 12942644, 15, 27397651996),
   (66757, true, 1613227225, 138, 39887844188885),
   (66766, false, 28322, 3, 101012912),
   (66769, true, 10864518289, 287, 976630972817760),
   (66774, false, 10374708, 97, 2023389924444),
   (66794, true, 8133853, 9, 17321723783)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints339

#print axioms CongruentPoints339.on_curve
#print axioms CongruentPoints339.indep
#print axioms CongruentPoints339.count

bsd/CongruentPoints34.lean

lean_all/bsd/CongruentPoints34.lean

/-
  bsd/CongruentPoints34.lean — T39 goal G87: points for analytic-rank-1 congruent curves n ≤ 1200 that had no Lean point
  (n = 102, 110, 111, 13, 14, 141, 15, 165, 174, 190, 205, 206, 21, 214, 215, 22, 221, 222, 229, 230, 231, 238, 239, 246, 247, 253, 254, 255, 285, 286, 287, 295, 30, 301, 303, 310, 318, 319, 327, 335, 341, 349, 357, 365, 366, 374, 381, 39, 390, 391, 406, 407, 415, 422, 429, 430, 438, 445, 447, 455, 46, 462, 469, 470, 471, 479, 485, 494, 5, 509, 510, 511, 517, 518, 519, 527, 533, 534, 535, 55, 551,  -- (+296 chars; full line in the Zenodo source)
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints34
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (102, true, 5202, 7, 104040),
   (110, true, 1210, 3, 24200),
   (111, true, 1369, 2, 47915),
   (13, true, 4225, 6, 272935),
   (14, true, 18, 1, 48),
   (141, true, 147, 1, 504),
   (15, true, 25, 1, 100),
   (165, true, 891, 1, 26136),
   (174, true, 5046, 5, 181656),
   (190, true, 3610, 1, 216600),
   (205, true, 245, 1, 2100),
   (206, false, 125310727, 1394, 4255906408173),
   (21, true, 147, 1, 1764),
   (214, false, 227138, 51, 242184376),
   (215, true, 21025, 9, 1708100),
   (22, true, 2178, 1, 101640),
   (221, true, 3757, 3, 195364),
   (222, true, 2776332, 59, 4443199020),
   (229, true, 200239395456409, 87030, 2833400684460654861173),
   (230, true, 129605, 19, 35826525),
   (231, true, 847, 1, 23716),
   (238, true, 6962, 1, 580560),
   (239, true, 28561, 1, 4826640),
   (246, true, 272322, 7, 141970536),
   (247, true, 916696729, 275, 27749064151692),
   (253, false, 376475, 97, 1442220780),
   (254, true, 347778, 31, 146090112),
   (255, true, 289, 1, 2312),
   (285, true, 21660, 7, 2436750),
   (286, true, 1573, 1, 61347),
   (287, true, 38034750625, 31, 7417727240445600),
   (295, true, 343451095, 843, 5041677457700),
   (30, true, 45, 1, 225),
   (301, true, 828352, 27, 726982424),
   (303, true, 6919766997025, 66163, 17865225963972508420),
   (310, true, 490, 1, 8400),
   (318, true, 421350, 29, 211349160),
   (319, true, 142129, 3, 53571700),
   (327, true, 754502441641, 47950, 55016876167477939),
   (335, true, 73702225, 117, 631507620700),
   (341, true, 5592059, 107, 9467599020),
   (349, true, 6765705603409, 113730, 13108410776581925327),
   (357, true, 7497, 2, 637245),
   (365, true, 29549498043025, 94874, 159633541095433518225),
   (366, true, 44652, 11, 1205604),
   (374, true, 629442, 41, 24338424),
   (381, false, 35643, 49, 172573596),
   (39, true, 169, 2, 845),
   (390, true, 1690, 1, 67600),
   (391, true, 635209, 7, 506031240),
   (406, true, 1507072, 3, 1850119264),
   (407, true, 172494855625, 20586, 945196249163075),
   (415, true, 5637757225, 2769, 349443606254300),
   (422, false, 1182722, 57, 754265960),
   (429, true, 507, 1, 6084),
   (430, true, 748845, 41, 169322175),
   (438, true, 31974, 5, 5371632),
   (445, true, 7921, 4, 308919),
   (447, true, 143796432025, 3751, 54476145642700180),
   (455, true, 4225, 3, 67600),
   (46, true, 242, 1, 3696),
   (462, true, 588, 1, 8820),
   (469, false, 8485407, 148, 16868071983),
   (470, true, 11045, 1, 1159725),
   (471, true, 22198914049, 1962, 3296432654005465),
   (479, true, 2667619201, 1841, 109327058012640),
   (485, true, 9661932973225, 81314, 28330382468305478925),
   (494, true, 567853, 27, 330851807),
   (5, true, 25, 2, 75),
   (509, false, 28900, 13, 13773570),
   (510, true, 960, 1, 25200),
   (511, true, 363779329, 833, 1550712717840),
   (517, true, 24299, 5, 3207468),
   (518, true, 613312, 29, 338088240),
   (519, true, 57115881825025, 327567, 95889397635263418940),
   (527, true, 625, 1, 8400),
   (533, true, 10312608255625, 137522, 6990313848049415325),
   (534, false, 4418, 19, 12809944),
   (535, true, 1357225, 27, 1514476700),
   (55, true, 625, 2, 14625),
   (551, false, 1718721, 73, 3121097700),
   (559, true, 16982641, 174, 5796866465),
   (565, false, 311364, 41, 500680566),
   (574, true, 578, 1, 1632),
   (581, true, 2148412, 57, 1503644086),
   (582, true, 112908, 13, 18629820),
   (583, true, 218766675625, 19178, 20284535928619725),
   (590, true, 12566410, 111, 36336766600),
   (591, true, 1168310076, 181, 39927998137230),
   (598, false, 12156167, 186, 58366238995),
   (6, true, 18, 1, 72),
   (606, true, 1530150, 43, 1288998360),
   (615, true, 4225, 1, 271700),
   (622, true, 34322, 7, 2923920),
   (629, true, 395641, 10, 245693061),
   (645, true, 83205, 11, 8320500),
   (646, true, 722, 1, 8664),
   (654, false, 43923, 13, 21256191),
   (655, true, 1254930625, 178, 44449838106375),
   (663, true, 4225, 2, 213785),
   (669, true, 149187, 13, 37595124),
   (670, true, 202005, 11, 83158725),
   (671, true, 3721, 1, 223260),
   (678, false, 1033922, 201, 27832748840),
   (687, false, 1232100, 181, 24945093270),
   (694, false, 72962, 27, 135229528),
   (695, true, 289621567225, 13862, 138304896602804475),
   (7, true, 25, 1, 120),
   (70, true, 245, 1, 3675),
   (703, true, 79878209126521, 179305, 684733981521587267556),
   (709, false, 44100, 17, 42020790),
   (710, true, 28090, 1, 4706400),
   (719, true, 623051521, 329, 15430187298240),
   (734, true, 1696482, 47, 650063904),
   (741, true, 1083, 1, 25992),
   (749, false, 659743, 44, 1048843089),
   (751, true, 323761, 17, 136696560),
   (759, true, 828, 1, 9522),
   (78, true, 2028, 1, 91260),
   (782, true, 58482, 7, 10684080),
   (790, true, 789610, 31, 192878400),
   (791, true, 12769, 4, 191535),
   (798, true, 6498, 1, 519840),
   (799, true, 1377, 1, 41616),
   (805, true, 129605, 1, 46657800),
   (85, true, 7225, 6, 556325),
   (879, true, 2146225, 11, 3140356420),
   (903, true, 51772, 1, 11778130)]

set_option maxRecDepth 1000000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 1000000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 128 := rfl

end CongruentPoints34

#print axioms CongruentPoints34.on_curve
#print axioms CongruentPoints34.indep
#print axioms CongruentPoints34.count

bsd/CongruentPoints340.lean

lean_all/bsd/CongruentPoints340.lean

/-
  bsd/CongruentPoints340.lean — T39 goal G446: points for congruent curves in 66801–67000 with Tunnell A = 2B
  (n = 66802, 66805, 66810, 66815, 66830, 66845, 66859, 66865, 66878, 66890, 66918, 66965, 66982, 66990, 66993, 66995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints340
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (66802, false, 385832223, 76, 69298167855),
   (66805, true, 1671583225, 158, 4643717686725),
   (66810, false, 31147215, 128, 6106538921175),
   (66815, true, 27996129, 20, 44111761617),
   (66830, true, 132845, 1, 41846175),
   (66845, true, 53087326071025, 27482, 119610010644573489825),
   (66859, true, 19755931, 5, 87495612204),
   (66865, true, 616225, 3, 104106700),
   (66878, true, 157922, 1, 56851920),
   (66890, true, 106090, 1, 26821200),
   (66918, true, 15255720274, 425, 1149675580931768),
   (66965, true, 72275, 1, 7310100),
   (66982, true, 121985350, 7, 1346803572960),
   (66990, true, 129514, 1, 39890312),
   (66993, false, 4100273, 17, 38315036600),
   (66995, true, 3904375225, 178, 204760396645275)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints340

#print axioms CongruentPoints340.on_curve
#print axioms CongruentPoints340.indep
#print axioms CongruentPoints340.count

bsd/CongruentPoints341.lean

lean_all/bsd/CongruentPoints341.lean

/-
  bsd/CongruentPoints341.lean — T39 goal G449: points for congruent curves in 67001–67200 with Tunnell A = 2B
  (n = 67009, 67015, 67022, 67053, 67065, 67073, 67106, 67111, 67137, 67151, 67165, 67182, 67199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints341
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (67009, false, 57600, 1, 8217840),
   (67015, true, 181251993169, 1639, 8967963791516028),
   (67022, true, 17530624, 15, 37430073568),
   (67053, true, 81651117, 17, 716727753720),
   (67065, true, 16600560, 7, 66298486500),
   (67073, false, 65025, 1, 4194240),
   (67106, true, 948562, 3, 712383056),
   (67111, false, 53361, 1, 9401700),
   (67137, true, 448063, 1, 296536240),
   (67151, true, 5865262225, 171, 423271401561980),
   (67165, true, 112651, 1, 30354324),
   (67182, false, 4107, 1, 4297365),
   (67199, true, 45626508224, 815, 2020471188466632)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints341

#print axioms CongruentPoints341.on_curve
#print axioms CongruentPoints341.indep
#print axioms CongruentPoints341.count

bsd/CongruentPoints342.lean

lean_all/bsd/CongruentPoints342.lean

/-
  bsd/CongruentPoints342.lean — T39 goal G452: points for congruent curves in 67201–67400 with Tunnell A = 2B
  (n = 67202, 67209, 67210, 67235, 67279, 67303, 67306, 67319, 67331, 67355, 67373, 67385, 67390, 67398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints342
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (67202, false, 18204578, 17, 28869793680),
   (67209, true, 764841, 1, 666305640),
   (67210, true, 1922206, 3, 2529623096),
   (67235, true, 428485, 1, 277006500),
   (67279, true, 26181079395025, 19722, 4126214155555746865),
   (67303, true, 59976126208, 19, 14688166332815760),
   (67306, true, 28333417, 18, 96289002901),
   (67319, true, 743932, 3, 372337966),
   (67331, true, 49119703017025, 18156, 307109179996109181665),
   (67355, true, 14357072041, 282, 1596073065252211),
   (67373, false, 102884, 25, 13506366414),
   (67385, true, 7101716218565761, 78001, 597475455130018531031316),
   (67390, true, 1215401227386025, 14328, 42369307811478366296725),
   (67398, true, 39784896, 5, 250719148944)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints342

#print axioms CongruentPoints342.on_curve
#print axioms CongruentPoints342.indep
#print axioms CongruentPoints342.count

bsd/CongruentPoints343.lean

lean_all/bsd/CongruentPoints343.lean

/-
  bsd/CongruentPoints343.lean — T39 goal G455: points for congruent curves in 67401–67600 with Tunnell A = 2B
  (n = 67403, 67405, 67438, 67445, 67470, 67479, 67490, 67503, 67513, 67529, 67541, 67542, 67557, 67574, 67587, 67595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints343
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (67403, true, 242114707191237841, 758810, 117592392638672924104277361),
   (67405, true, 46347570489025, 18762, 271045877219514458425),
   (67438, false, 522242, 3, 223490960),
   (67445, true, 39940929, 20, 186138042783),
   (67470, true, 3890770, 7, 4046400800),
   (67479, false, 957156, 19, 23813964090),
   (67490, true, 62609266, 27, 306378097136),
   (67503, false, 900, 1, 2024910),
   (67513, true, 696888109855080025, 2213952, 511987005105741370787323555),
   (67529, true, 35887679289, 454, 6266420292897765),
   (67541, false, 220900, 17, 9173506530),
   (67542, false, 20667, 1, 9244125),
   (67557, true, 36320895100, 597, 5182459586758090),
   (67574, true, 67626, 1, 689520),
   (67587, true, 1406625025, 34, 52674027729895),
   (67595, false, 581405, 3, 136536400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints343

#print axioms CongruentPoints343.on_curve
#print axioms CongruentPoints343.indep
#print axioms CongruentPoints343.count

bsd/CongruentPoints344.lean

lean_all/bsd/CongruentPoints344.lean

/-
  bsd/CongruentPoints344.lean — T39 goal G458: points for congruent curves in 67601–67800 with Tunnell A = 2B
  (n = 67606, 67609, 67646, 67649, 67659, 67667, 67683, 67691, 67705, 67710, 67711, 67719, 67721, 67730, 67731, 67735, 67746, 67762, 67774, 67782), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints344
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (67606, true, 629442, 1, 496493976),
   (67609, true, 772495092889, 2640, 538017815240718787),
   (67646, true, 69100389, 29, 326038668765),
   (67649, true, 25586543025, 494, 3126885200891265),
   (67659, true, 26770411, 15, 113934869216),
   (67667, true, 1300117, 1, 1480418940),
   (67683, true, 59493357, 23, 366479079120),
   (67691, false, 3541903, 8, 4694845449),
   (67705, true, 29847745225, 538, 3889527202878525),
   (67710, true, 149850, 1, 51748200),
   (67711, false, 226576, 5, 798510468),
   (67719, true, 25548637948184569, 614226, 7952703836428096999685),
   (67721, false, 15424, 25, 5256562824),
   (67730, false, 11008530, 31, 212846712000),
   (67731, false, 2326275, 121, 1512472754520),
   (67735, false, 147591, 25, 16263741048),
   (67746, false, 141204, 5, 634209156),
   (67762, true, 69938, 1, 4577760),
   (67774, true, 80752, 1, 12476184),
   (67782, false, 5887791, 100, 1644652641177)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints344

#print axioms CongruentPoints344.on_curve
#print axioms CongruentPoints344.indep
#print axioms CongruentPoints344.count

bsd/CongruentPoints345.lean

lean_all/bsd/CongruentPoints345.lean

/-
  bsd/CongruentPoints345.lean — T39 goal G461: points for congruent curves in 67801–68000 with Tunnell A = 2B
  (n = 67802, 67805, 67809, 67827, 67830, 67845, 67859, 67871, 67874, 67879, 67893, 67894, 67899, 67909, 67921, 67942, 67974, 67983, 67990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints345
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (67802, true, 11397232, 3, 38421623240),
   (67805, true, 1687805, 1, 2190951000),
   (67809, true, 4125127543681, 6150, 6562167711620223079),
   (67827, true, 84525, 1, 14663880),
   (67830, true, 93100, 1, 19457900),
   (67845, false, 605, 1, 1668700),
   (67859, false, 258696581, 97, 9388725617700),
   (67871, true, 1402824008905586089, 1767345, 1642435010559394978730417812),
   (67874, false, 5164898, 17, 43006096896),
   (67879, false, 63504, 1, 6041700),
   (67893, true, 32899008, 13, 176852729880),
   (67894, true, 124002, 1, 36539256),
   (67899, false, 28224, 1, 10374840),
   (67909, true, 80627099, 17, 702196509840),
   (67921, true, 30190993, 17, 126040677672),
   (67942, true, 445256609, 20, 9377888940273),
   (67974, false, 3174, 1, 3825360),
   (67983, true, 147033, 1, 49991220),
   (67990, true, 5882890, 9, 5017407200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints345

#print axioms CongruentPoints345.on_curve
#print axioms CongruentPoints345.indep
#print axioms CongruentPoints345.count

bsd/CongruentPoints346.lean

lean_all/bsd/CongruentPoints346.lean

/-
  bsd/CongruentPoints346.lean — T39 goal G465: points for congruent curves in 68001–68200 with Tunnell A = 2B
  (n = 68005, 68011, 68029, 68034, 68057, 68066, 68070, 68106, 68126, 68151), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints346
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (68005, true, 398687427889, 230, 251727771266236287),
   (68011, false, 130390703, 48, 992347015591),
   (68029, true, 1435815258975409, 121110, 39121001600843603680577),
   (68034, true, 107916, 1, 27518580),
   (68057, false, 11425364775, 1393, 14063020742460360),
   (68066, true, 36543430588816321, 715662, 2094942133901435768299135),
   (68070, true, 310005, 1, 168392475),
   (68106, true, 515094, 1, 366437520),
   (68126, false, 1430416, 5, 1105656552),
   (68151, true, 99665321282026201, 1206482, 3035205863563317378859925)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints346

#print axioms CongruentPoints346.on_curve
#print axioms CongruentPoints346.indep
#print axioms CongruentPoints346.count

bsd/CongruentPoints347.lean

lean_all/bsd/CongruentPoints347.lean

/-
  bsd/CongruentPoints347.lean — T39 goal G468: points for congruent curves in 68201–68400 with Tunnell A = 2B
  (n = 68230, 68237, 68255, 68262, 68289, 68295, 68309, 68322, 68329, 68334, 68335, 68353, 68379, 68394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints347
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (68230, false, 292820, 7, 1802186100),
   (68237, true, 610956833086681, 81220, 10210583401366603004829),
   (68255, true, 455455, 1, 303903600),
   (68262, false, 54150, 1, 9671760),
   (68289, true, 69628, 1, 3585842),
   (68295, true, 616225, 3, 34508600),
   (68309, true, 813483, 1, 731115792),
   (68322, true, 150479977, 46, 512275253525),
   (68329, true, 679100094083401, 61663, 16350704030580860283720),
   (68334, false, 611618, 3, 50415904),
   (68335, true, 45724588540, 739, 5649472190593950),
   (68353, true, 1717000111578433081, 2105655, 2214535805967030727162949396),
   (68379, true, 2946243, 1, 5055752988),
   (68394, true, 187958454, 47, 1532955165840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints347

#print axioms CongruentPoints347.on_curve
#print axioms CongruentPoints347.indep
#print axioms CongruentPoints347.count

bsd/CongruentPoints348.lean

lean_all/bsd/CongruentPoints348.lean

/-
  bsd/CongruentPoints348.lean — T39 goal G471: points for congruent curves in 68401–68600 with Tunnell A = 2B
  (n = 68401, 68402, 68419, 68430, 68441, 68470, 68474, 68482, 68489, 68529, 68541, 68561, 68569, 68586), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints348
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (68401, false, 686857, 11, 6835657512),
   (68402, true, 4292352, 7, 5555515680),
   (68419, true, 75808252, 33, 121710148586),
   (68430, false, 4412412020, 839, 3186241807086100),
   (68441, false, 29241, 1, 10581480),
   (68470, false, 7220, 1, 5785500),
   (68474, true, 77452, 1, 10073316),
   (68482, true, 249218, 1, 119624640),
   (68489, true, 4477450340545009, 147459, 282545166525146741976200),
   (68529, true, 108624015849, 34, 35800464914784045),
   (68541, true, 2226544, 3, 3192307460),
   (68561, false, 67600, 1, 2974140),
   (68569, true, 11001600, 11, 23963639280),
   (68586, true, 112000938, 17, 1166601770208)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints348

#print axioms CongruentPoints348.on_curve
#print axioms CongruentPoints348.indep
#print axioms CongruentPoints348.count

bsd/CongruentPoints349.lean

lean_all/bsd/CongruentPoints349.lean

/-
  bsd/CongruentPoints349.lean — T39 goal G474: points for congruent curves in 68601–68800 with Tunnell A = 2B
  (n = 68605, 68615, 68645, 68671, 68685, 68730, 68735, 68746, 68754, 68789), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints349
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (68605, true, 432076155625, 1082, 279064385238790125),
   (68615, true, 3734625821212225, 88881, 225812186285624199966700),
   (68645, true, 4322823304808761, 250068, 33524173309147923958291),
   (68671, true, 1239011645881, 4242, 100696334089400155),
   (68685, false, 241935, 2, 64036575),
   (68730, false, 54150, 1, 9849600),
   (68735, true, 8172034190329, 603, 23361096930689817208),
   (68746, true, 112554, 1, 29898960),
   (68754, false, 4469150, 13, 22674236480),
   (68789, true, 11254768, 1, 37756932948)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints349

#print axioms CongruentPoints349.on_curve
#print axioms CongruentPoints349.indep
#print axioms CongruentPoints349.count

bsd/CongruentPoints35.lean

lean_all/bsd/CongruentPoints35.lean

/-
  bsd/CongruentPoints35.lean — T39 goal G89: points for congruent curves in 6201–6400 with Tunnell A = 2B
  (n = 6205, 6206, 6213, 6215, 6222, 6230, 6242, 6245, 6251, 6270, 6274, 6279, 6285, 6286, 6290, 6302, 6305, 6335, 6342, 6346, 6351, 6355, 6365, 6386, 6391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints35
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (6205, true, 13304410199115025, 505362, 1523668970714818571183825),
   (6206, true, 664042, 3, 539202104),
   (6213, true, 8968323, 11, 26763052680),
   (6215, true, 319225, 6, 128647675),
   (6222, true, 212194, 5, 66483872),
   (6230, false, 4821620, 103, 144743903100),
   (6242, true, 1566304813441, 15720, 340368273578973761),
   (6245, true, 654631370635225, 35278, 16748063906296490464725),
   (6251, true, 3895612, 9, 7623665686),
   (6270, true, 9900, 1, 762300),
   (6274, true, 1344571045202449, 178568, 48754470389814964519815),
   (6279, true, 34983, 1, 6436872),
   (6285, true, 69360, 1, 18191700),
   (6286, false, 414736, 25, 2515977912),
   (6290, true, 855625, 2, 791110875),
   (6302, true, 6498, 1, 127680),
   (6305, true, 9409, 1, 677448),
   (6335, true, 52693153590025, 87837, 142919389820216531600),
   (6342, true, 6703494, 25, 13996895472),
   (6346, true, 6498, 1, 112632),
   (6351, true, 260300978809, 6095, 56103121439090252),
   (6355, true, 8405, 1, 504300),
   (6365, true, 72618475, 81, 506266291700),
   (6386, false, 19375, 16, 227540775),
   (6391, false, 136739097, 683, 34825655911068)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 25 := rfl

end CongruentPoints35

#print axioms CongruentPoints35.on_curve
#print axioms CongruentPoints35.indep
#print axioms CongruentPoints35.count

bsd/CongruentPoints350.lean

lean_all/bsd/CongruentPoints350.lean

/-
  bsd/CongruentPoints350.lean — T39 goal G477: points for congruent curves in 68801–69000 with Tunnell A = 2B
  (n = 68817, 68839, 68897, 68926, 68969, 68973), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints350
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (68817, true, 2157961, 5, 1913613416),
   (68839, true, 31377152, 19, 107303976624),
   (68897, true, 148508954280625, 28777, 1670903832610400902800),
   (68926, true, 141858288, 31, 1494097351032),
   (68969, true, 5724283221774049, 235077, 323138654707068532469800),
   (68973, true, 1918225, 2, 2629119185)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints350

#print axioms CongruentPoints350.on_curve
#print axioms CongruentPoints350.indep
#print axioms CongruentPoints350.count

bsd/CongruentPoints351.lean

lean_all/bsd/CongruentPoints351.lean

/-
  bsd/CongruentPoints351.lean — T39 goal G480: points for congruent curves in 69001–69200 with Tunnell A = 2B
  (n = 69006, 69015, 69069, 69078, 69085, 69126, 69145, 69146, 69167, 69179, 69186, 69190, 69194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints351
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (69006, true, 3116400, 1, 5500134360),
   (69015, true, 70225, 1, 3439700),
   (69069, true, 9326317, 1, 28480876424),
   (69078, true, 12064725, 13, 10576050165),
   (69085, true, 2839225, 2, 4761380325),
   (69126, false, 12482, 1, 7596008),
   (69145, true, 753533518819225, 44232, 20348851414194796350275),
   (69146, false, 28322, 1, 10615752),
   (69167, true, 70225, 1, 3218160),
   (69179, false, 5436299, 9, 3167746120),
   (69186, true, 5621850, 1, 13328644680),
   (69190, false, 2238016, 13, 17169499248),
   (69194, true, 82548442, 27, 593688394864)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints351

#print axioms CongruentPoints351.on_curve
#print axioms CongruentPoints351.indep
#print axioms CongruentPoints351.count

bsd/CongruentPoints352.lean

lean_all/bsd/CongruentPoints352.lean

/-
  bsd/CongruentPoints352.lean — T39 goal G483: points for congruent curves in 69201–69400 with Tunnell A = 2B
  (n = 69222, 69223, 69230, 69258, 69269, 69285, 69303, 69315, 69326, 69338, 69342, 69366, 69391, 69394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints352
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (69222, false, 1603643, 941, 77620643017885),
   (69223, true, 712327, 1, 598354680),
   (69230, true, 409446, 1, 258223944),
   (69258, true, 1524258, 1, 1879918200),
   (69269, true, 470074303352809, 14350, 10187080341770659307373),
   (69285, true, 208444, 1, 89755478),
   (69303, true, 117975, 1, 32792760),
   (69315, true, 69360, 1, 657900),
   (69326, true, 69938, 1, 2441472),
   (69338, false, 1850, 31, 2866028880),
   (69342, false, 1194375, 8, 4671105075),
   (69366, true, 24301222, 3, 119756422016),
   (69391, false, 804447, 4, 686316687),
   (69394, true, 291737, 2, 48497379)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints352

#print axioms CongruentPoints352.on_curve
#print axioms CongruentPoints352.indep
#print axioms CongruentPoints352.count

bsd/CongruentPoints353.lean

lean_all/bsd/CongruentPoints353.lean

/-
  bsd/CongruentPoints353.lean — T39 goal G486: points for congruent curves in 69401–69600 with Tunnell A = 2B
  (n = 69407, 69409, 69414, 69422, 69465, 69479, 69485, 69495, 69509, 69513, 69551, 69569, 69577, 69581, 69589, 69595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints353
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (69407, true, 1974025, 3, 2630980520),
   (69409, true, 2408944561, 23, 118219673122320),
   (69414, true, 95922, 1, 20503656),
   (69422, true, 216428750, 31, 3028950128400),
   (69465, true, 132540, 1, 41094450),
   (69479, true, 21406409218159849, 239475, 3077222561795565439661132),
   (69485, true, 16233332541721, 2886, 65363508271996559819),
   (69495, true, 26802737763483889, 8435, 4388021315023550972848912),
   (69509, false, 15059, 1, 8327220),
   (69513, false, 24162423, 64, 1394526449115),
   (69551, false, 196249, 25, 19256736876),
   (69569, true, 23483781209, 508, 2319859069391325),
   (69577, true, 144312169, 40, 1103179846197),
   (69581, true, 2040489400849, 5214, 1092923804911883345),
   (69589, false, 24336, 1, 10170420),
   (69595, true, 282408025, 22, 4711987812075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints353

#print axioms CongruentPoints353.on_curve
#print axioms CongruentPoints353.indep
#print axioms CongruentPoints353.count

bsd/CongruentPoints354.lean

lean_all/bsd/CongruentPoints354.lean

/-
  bsd/CongruentPoints354.lean — T39 goal G489: points for congruent curves in 69601–69800 with Tunnell A = 2B
  (n = 69605, 69610, 69630, 69654, 69657, 69665, 69667, 69674, 69683, 69717, 69729, 69734, 69738, 69745, 69769, 69771, 69782, 69785, 69790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints354
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (69605, true, 3879421225, 58, 241189221028275),
   (69610, false, 32400, 1, 11089800),
   (69630, true, 247500, 1, 118156500),
   (69654, true, 62201022, 29, 164957110344),
   (69657, true, 80143, 1, 11220020),
   (69665, true, 15477290001771049, 457745, 640135785848205574236468),
   (69667, false, 52900, 1, 10426590),
   (69674, true, 3661218, 7, 2530467192),
   (69683, true, 199187793, 52, 911665304025),
   (69717, false, 5369348, 9, 4053141190),
   (69729, false, 69696, 1, 566280),
   (69734, true, 195790462, 39, 2302779912776),
   (69738, true, 1786284, 5, 519685452),
   (69745, true, 3553225, 7, 1833464100),
   (69769, true, 1159543, 1, 1246357728),
   (69771, true, 9601563, 11, 14171906988),
   (69782, true, 32902213, 3, 188694191555),
   (69785, true, 26223039665, 208, 4218196451762025),
   (69790, true, 13762106517120025, 41248, 1614400214201481910873725)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints354

#print axioms CongruentPoints354.on_curve
#print axioms CongruentPoints354.indep
#print axioms CongruentPoints354.count

bsd/CongruentPoints355.lean

lean_all/bsd/CongruentPoints355.lean

/-
  bsd/CongruentPoints355.lean — T39 goal G492: points for congruent curves in 69801–70000 with Tunnell A = 2B
  (n = 69802, 69845, 69846, 69851, 69870, 69886, 69889, 69890, 69895, 69933, 69958, 69969, 69974, 69989, 69990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints355
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (69802, true, 1280566225, 106, 36224793033735),
   (69845, true, 13265948640025, 13676, 8412805982664627075),
   (69846, false, 5046, 1, 4948560),
   (69851, false, 2304324, 101, 1081645321350),
   (69870, false, 14400, 1, 8204400),
   (69886, false, 97808404, 731, 369327404850300),
   (69889, true, 37061568, 17, 189173970888),
   (69890, true, 33171481, 18, 139609822429),
   (69895, true, 3988009, 3, 7864353748),
   (69933, false, 20667, 7, 492616620),
   (69958, false, 2062982, 23, 53071938480),
   (69969, true, 6615681, 7, 14552874720),
   (69974, true, 104076, 1, 24854340),
   (69989, true, 259050411, 7, 4169062135680),
   (69990, false, 1296, 1, 2519208)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints355

#print axioms CongruentPoints355.on_curve
#print axioms CongruentPoints355.indep
#print axioms CongruentPoints355.count

bsd/CongruentPoints356.lean

lean_all/bsd/CongruentPoints356.lean

/-
  bsd/CongruentPoints356.lean — T39 goal G496: points for congruent curves in 70001–70200 with Tunnell A = 2B
  (n = 70005, 70013, 70045, 70057, 70081, 70151, 70161, 70189, 70195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints356
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (70005, false, 21645975, 82, 2187689397075),
   (70013, false, 8957, 17, 1914951480),
   (70045, true, 239628697203025, 10602, 3707436318879506762575),
   (70057, true, 235897690249, 1835, 30619483573068),
   (70081, true, 132278417401, 265, 48076483813015476),
   (70151, false, 1127844, 5, 1426284054),
   (70161, true, 19153953, 4, 83683620657),
   (70189, true, 638428, 3, 73856818),
   (70195, true, 71548225225, 682, 17029294605721725)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints356

#print axioms CongruentPoints356.on_curve
#print axioms CongruentPoints356.indep
#print axioms CongruentPoints356.count

bsd/CongruentPoints357.lean

lean_all/bsd/CongruentPoints357.lean

/-
  bsd/CongruentPoints357.lean — T39 goal G499: points for congruent curves in 70201–70400 with Tunnell A = 2B
  (n = 70205, 70215, 70231, 70233, 70273, 70295, 70310, 70330, 70345, 70363, 70367, 70370, 70374), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints357
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (70205, true, 890994405625, 1298, 833588113824061125),
   (70215, true, 3627775, 7, 2191176100),
   (70231, false, 103203072, 191, 26006941698192),
   (70233, false, 2440976, 35, 134364394268),
   (70273, false, 48223, 1, 11224920),
   (70295, true, 118744609, 27, 1167262840952),
   (70310, true, 8507510000, 29, 784681135953000),
   (70330, false, 2704, 1, 3654456),
   (70345, true, 89971255, 17, 831334396200),
   (70363, true, 203870273, 52, 1045698197985),
   (70367, true, 67304909628, 353, 17312228382885150),
   (70370, false, 17113519, 28, 216972311079),
   (70374, true, 22308558, 13, 89144997768)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints357

#print axioms CongruentPoints357.on_curve
#print axioms CongruentPoints357.indep
#print axioms CongruentPoints357.count

bsd/CongruentPoints358.lean

lean_all/bsd/CongruentPoints358.lean

/-
  bsd/CongruentPoints358.lean — T39 goal G502: points for congruent curves in 70401–70600 with Tunnell A = 2B
  (n = 70445, 70455, 70491, 70494, 70505, 70510, 70530, 70546, 70561, 70577, 70590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints358
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (70445, true, 457820341856850625, 1237798, 301040889285144473958509625),
   (70455, true, 859551, 1, 794225124),
   (70491, false, 35643, 1, 11481624),
   (70494, true, 2432336725, 33, 119899986073595),
   (70505, true, 215100, 1, 94249650),
   (70510, true, 9513900, 1, 29344448100),
   (70530, true, 6940830, 7, 15857992800),
   (70546, true, 114025072, 1, 1217588253336),
   (70561, true, 121435481, 40, 492906617379),
   (70577, true, 371876773489, 175, 226772947902899112),
   (70590, true, 20442864, 5, 92084880888)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints358

#print axioms CongruentPoints358.on_curve
#print axioms CongruentPoints358.indep
#print axioms CongruentPoints358.count

bsd/CongruentPoints359.lean

lean_all/bsd/CongruentPoints359.lean

/-
  bsd/CongruentPoints359.lean — T39 goal G505: points for congruent curves in 70601–70800 with Tunnell A = 2B
  (n = 70615, 70626, 70629, 70637, 70645, 70673, 70679, 70698, 70710, 70735, 70738, 70754, 70766, 70774, 70782), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints359
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (70615, true, 524490263089, 2390, 242791838701098687),
   (70626, false, 186687902, 129, 15854510781152),
   (70629, true, 291350761, 54, 3517545638035),
   (70637, false, 18529903, 184, 10294172184135),
   (70645, true, 496783600, 29, 10993162358100),
   (70673, true, 258985851187575625, 1708518, 79681292926747759305894275),
   (70679, true, 169368370416, 1525, 16803953659799964),
   (70698, true, 1441602, 1, 1728801720),
   (70710, true, 6916707473895025, 290136, 292991226373798392041225),
   (70735, true, 491520960, 83, 1426150341000),
   (70738, true, 99634473, 2, 994518097995),
   (70754, false, 69696, 1, 3218160),
   (70766, true, 1791435018025, 3592, 2062929169587649365),
   (70774, true, 176418, 1, 67875192),
   (70782, false, 86903, 14, 4089665285)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints359

#print axioms CongruentPoints359.on_curve
#print axioms CongruentPoints359.indep
#print axioms CongruentPoints359.count

bsd/CongruentPoints36.lean

lean_all/bsd/CongruentPoints36.lean

/-
  bsd/CongruentPoints36.lean — T39 goal G90: points for congruent curves in 6401–6600 with Tunnell A = 2B
  (n = 6402, 6405, 6409, 6411, 6415, 6441, 6454, 6461, 6485, 6486, 6494, 6495, 6501, 6510, 6511, 6519, 6529, 6531, 6541, 6545, 6555, 6565, 6567, 6574, 6589, 6594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints36
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (6402, true, 235225, 4, 102699235),
   (6405, true, 19845, 1, 2646000),
   (6409, true, 243049, 6, 37672595),
   (6411, false, 507, 7, 7073352),
   (6415, true, 11931532182025, 38649, 24556346551655370100),
   (6441, true, 319225, 7, 27070280),
   (6454, true, 826686, 5, 737186184),
   (6461, true, 3211117, 9, 5677254856),
   (6485, false, 5476, 17, 138687618),
   (6486, true, 6768, 1, 159048),
   (6494, true, 429777, 8, 71729511),
   (6495, true, 276823875900625, 132867, 4192136975045682338500),
   (6501, false, 6564228, 181, 545409591606),
   (6510, true, 176890, 3, 70197400),
   (6511, true, 6941457, 32, 5089348089),
   (6519, true, 771432384, 185, 20510586334152),
   (6529, true, 168420411780721, 128743, 1674805875712374153840),
   (6531, true, 5475603, 11, 12678772932),
   (6541, false, 6975, 28, 428284065),
   (6545, true, 7225, 1, 260100),
   (6555, false, 1734605, 567, 2775485505500),
   (6565, false, 324, 1, 118026),
   (6567, true, 61017, 1, 14984640),
   (6574, true, 1137302, 13, 259304856),
   (6589, true, 3946811, 7, 7814685780),
   (6594, true, 99372, 1, 31256316)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 26 := rfl

end CongruentPoints36

#print axioms CongruentPoints36.on_curve
#print axioms CongruentPoints36.indep
#print axioms CongruentPoints36.count

bsd/CongruentPoints360.lean

lean_all/bsd/CongruentPoints360.lean

/-
  bsd/CongruentPoints360.lean — T39 goal G508: points for congruent curves in 70801–71000 with Tunnell A = 2B
  (n = 70822, 70882, 70935, 70941, 70959, 70966, 70967, 70998), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints360
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (70822, false, 28322, 1, 10924200),
   (70882, true, 797132, 1, 708878100),
   (70935, true, 62818905769, 708, 12979762021490453),
   (70941, true, 284089, 2, 7240805),
   (70959, true, 297025, 2, 47702215),
   (70966, false, 272441351, 270, 85272957513107),
   (70967, true, 1507456006225, 3426, 1542607576082729585),
   (70998, false, 43923, 1, 11690415)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints360

#print axioms CongruentPoints360.on_curve
#print axioms CongruentPoints360.indep
#print axioms CongruentPoints360.count

bsd/CongruentPoints361.lean

lean_all/bsd/CongruentPoints361.lean

/-
  bsd/CongruentPoints361.lean — T39 goal G511: points for congruent curves in 71001–71200 with Tunnell A = 2B
  (n = 71026, 71043, 71049, 71070, 71079, 71093, 71111, 71113, 71131, 71142), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints361
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (71026, true, 40025650, 9, 250596130960),
   (71043, true, 154275, 1, 53788680),
   (71049, false, 507408, 17, 14621833116),
   (71070, true, 13346670, 13, 21262626000),
   (71079, true, 16513357596, 335, 1858036300215606),
   (71093, true, 28732957, 1, 154017175620),
   (71111, true, 213689, 1, 93150960),
   (71113, false, 10607527, 23, 117549667200),
   (71131, true, 101237124619, 135, 32208766516813528),
   (71142, true, 96192, 1, 20080080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints361

#print axioms CongruentPoints361.on_curve
#print axioms CongruentPoints361.indep
#print axioms CongruentPoints361.count

bsd/CongruentPoints362.lean

lean_all/bsd/CongruentPoints362.lean

/-
  bsd/CongruentPoints362.lean — T39 goal G514: points for congruent curves in 71201–71400 with Tunnell A = 2B
  (n = 71205, 71214, 71239, 71247, 71285, 71299, 71305, 71310, 71335, 71337, 71346, 71362, 71385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints362
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (71205, true, 99405, 1, 21869100),
   (71214, true, 99372, 1, 21847644),
   (71239, true, 7214973481, 311, 181771901876760),
   (71247, true, 190692310512, 239, 83253182669108100),
   (71285, true, 19950150025, 264, 2729081072109275),
   (71299, true, 103933, 1, 24379152),
   (71305, true, 1203409, 3, 1116763552),
   (71310, false, 587814, 29, 45977519016),
   (71335, true, 180795989440, 1053, 69127386878072600),
   (71337, true, 251429824, 35, 3738255099832),
   (71346, false, 11154, 7, 369214560),
   (71362, false, 28036431, 20, 28397956503),
   (71385, false, 67335, 1, 6150600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints362

#print axioms CongruentPoints362.on_curve
#print axioms CongruentPoints362.indep
#print axioms CongruentPoints362.count

bsd/CongruentPoints363.lean

lean_all/bsd/CongruentPoints363.lean

/-
  bsd/CongruentPoints363.lean — T39 goal G517: points for congruent curves in 71401–71600 with Tunnell A = 2B
  (n = 71435, 71438, 71446, 71465, 71466, 71470, 71479, 71490, 71495, 71517, 71526, 71545, 71554, 71565, 71571), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints363
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (71435, true, 479115, 1, 327927600),
   (71438, true, 309488, 1, 167523720),
   (71446, false, 494018, 3, 289297736),
   (71465, false, 4225, 1, 4637100),
   (71466, true, 10012722, 11, 15971765544),
   (71470, true, 663439678211344225, 1231958, 533111963119612677853272975),
   (71479, true, 198292980601, 791, 86024909559881160),
   (71490, true, 126960, 1, 37384200),
   (71495, false, 1597696, 5, 1012839408),
   (71517, true, 73328764, 15, 612625158838),
   (71526, true, 16907695518, 367, 1806713056266552),
   (71545, true, 3045025, 4, 4923805425),
   (71554, true, 1565942, 1, 1957535496),
   (71565, false, 71389760, 43, 941363563400),
   (71571, false, 69696, 1, 4296600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints363

#print axioms CongruentPoints363.on_curve
#print axioms CongruentPoints363.indep
#print axioms CongruentPoints363.count

bsd/CongruentPoints364.lean

lean_all/bsd/CongruentPoints364.lean

/-
  bsd/CongruentPoints364.lean — T39 goal G520: points for congruent curves in 71601–71800 with Tunnell A = 2B
  (n = 71610, 71621, 71630, 71645, 71654, 71655, 71659, 71689, 71695, 71743, 71759, 71791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints364
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (71610, true, 80850, 1, 10672200),
   (71621, true, 27430843, 3, 143627893948),
   (71630, true, 6543125, 1, 16736005125),
   (71645, true, 129605, 1, 38881500),
   (71654, true, 261382, 1, 128513616),
   (71655, true, 36734365680, 689, 2657934781193700),
   (71659, true, 97459474225, 182, 30416360914857345),
   (71689, true, 80937, 1, 10688376),
   (71695, true, 25126516480, 511, 2656523662088400),
   (71743, true, 199674028801, 1435, 60024469063014924),
   (71759, true, 485809, 1, 334894560),
   (71791, false, 462367, 7, 2371238808)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints364

#print axioms CongruentPoints364.on_curve
#print axioms CongruentPoints364.indep
#print axioms CongruentPoints364.count

bsd/CongruentPoints365.lean

lean_all/bsd/CongruentPoints365.lean

/-
  bsd/CongruentPoints365.lean — T39 goal G523: points for congruent curves in 71801–72000 with Tunnell A = 2B
  (n = 71806, 71810, 71831, 71862, 71890, 71911, 71929, 71953, 71997), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints365
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (71806, true, 1182722, 1, 1283873184),
   (71810, true, 33745690, 1, 196031781000),
   (71831, true, 48417039071, 497, 9912491766639540),
   (71862, true, 42252378, 13, 263058334560),
   (71890, true, 1221025, 4, 452712975),
   (71911, false, 15463, 1, 8732976),
   (71929, false, 451094927, 168, 42039892706057),
   (71953, true, 8195068, 9, 16492574350),
   (71997, false, 9507332, 13, 23413217030)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints365

#print axioms CongruentPoints365.on_curve
#print axioms CongruentPoints365.indep
#print axioms CongruentPoints365.count

bsd/CongruentPoints366.lean

lean_all/bsd/CongruentPoints366.lean

/-
  bsd/CongruentPoints366.lean — T39 goal G527: points for congruent curves in 72001–72200 with Tunnell A = 2B
  (n = 72001, 72013, 72029, 72039, 72041, 72049, 72085, 72087, 72093, 72119, 72142, 72151, 72165, 72174, 72185, 72186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints366
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (72001, false, 8388161, 17, 55152021960),
   (72013, true, 88412, 1, 15251070),
   (72029, false, 833872151, 188, 69458980998645),
   (72039, true, 114873, 1, 30326472),
   (72041, false, 1800964, 5, 19892466),
   (72049, true, 457442559025, 378, 309310630216798015),
   (72085, true, 327665, 2, 89092575),
   (72087, false, 549081, 5, 1271920572),
   (72093, false, 35643, 1, 11830860),
   (72119, true, 44844415225, 692, 6057893195681805),
   (72142, true, 94192, 1, 18586680),
   (72151, true, 52303472, 11, 372958057836),
   (72165, true, 42675566565, 203, 8794515273750900),
   (72174, true, 1464042, 1, 1769301864),
   (72185, false, 55225, 13, 2866797900),
   (72186, true, 80613, 1, 10188243)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints366

#print axioms CongruentPoints366.on_curve
#print axioms CongruentPoints366.indep
#print axioms CongruentPoints366.count

bsd/CongruentPoints367.lean

lean_all/bsd/CongruentPoints367.lean

/-
  bsd/CongruentPoints367.lean — T39 goal G530: points for congruent curves in 72201–72400 with Tunnell A = 2B
  (n = 72215, 72230, 72239, 72242, 72254, 72286, 72289, 72294, 72295, 72327, 72330, 72335, 72345, 72354, 72355, 72365, 72367, 72381, 72390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints367
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (72215, true, 19567813225, 511, 731137142125200),
   (72230, false, 1154719, 4, 50634129),
   (72239, true, 57705855094969, 2086, 438352389008354235045),
   (72242, false, 4198400, 33, 160968256640),
   (72254, true, 2286667181929, 1740, 3441976985444244533),
   (72286, true, 260642, 1, 127845984),
   (72289, true, 80063, 1, 9737832),
   (72294, true, 295788, 1, 155989548),
   (72295, true, 193733899855, 1441, 53902108385527500),
   (72327, false, 44100, 1, 12038670),
   (72330, true, 99405, 1, 21498975),
   (72335, true, 395641, 2, 169729989),
   (72345, true, 105625, 1, 25012000),
   (72354, false, 3198348275, 579, 1359796481006255),
   (72355, true, 2387788225, 108, 109148300919775),
   (72365, true, 82659783412761025, 357418, 23616105132206147514999225),
   (72367, true, 2619904225, 41, 133955161179840),
   (72381, true, 165669, 1, 60655140),
   (72390, true, 22179840, 17, 34694121600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints367

#print axioms CongruentPoints367.on_curve
#print axioms CongruentPoints367.indep
#print axioms CongruentPoints367.count

bsd/CongruentPoints368.lean

lean_all/bsd/CongruentPoints368.lean

/-
  bsd/CongruentPoints368.lean — T39 goal G533: points for congruent curves in 72401–72600 with Tunnell A = 2B
  (n = 72410, 72417, 72418, 72449, 72481, 72494, 72534, 72542, 72562, 72570, 72571, 72590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints368
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (72410, false, 24336, 1, 10638888),
   (72417, true, 64870862520025, 23383, 413870664866712709420),
   (72418, false, 21218, 1, 10085760),
   (72449, false, 1628176, 25, 57740713668),
   (72481, false, 43681, 1, 12088560),
   (72494, false, 59258150, 53, 1499733062520),
   (72534, false, 363, 1, 1381941),
   (72542, true, 4973858, 7, 7759218480),
   (72562, true, 3960238, 1, 7879687920),
   (72570, true, 174951756, 43, 1484915525604),
   (72571, true, 1397608662025, 3762, 1120562005999105315),
   (72590, false, 18007199, 24, 160130336401)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints368

#print axioms CongruentPoints368.on_curve
#print axioms CongruentPoints368.indep
#print axioms CongruentPoints368.count

bsd/CongruentPoints369.lean

lean_all/bsd/CongruentPoints369.lean

/-
  bsd/CongruentPoints369.lean — T39 goal G536: points for congruent curves in 72601–72800 with Tunnell A = 2B
  (n = 72610, 72611, 72649, 72651, 72663, 72674, 72709, 72745, 72779, 72789, 72790, 72794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints369
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (72610, true, 4973785, 8, 3954159075),
   (72611, true, 78038172, 19, 649329743586),
   (72649, true, 70516271401, 607, 17323990341415800),
   (72651, false, 5905227, 43, 326119498812),
   (72663, true, 1473813982381225, 16709, 56574778414089515378140),
   (72674, true, 1858378, 3, 2371290328),
   (72709, false, 24037, 1, 10638888),
   (72745, true, 8858100229785361, 70310, 833014768823057732910609),
   (72779, true, 147985626721, 874, 52758575760938025),
   (72789, false, 20827971, 385, 49239074903292),
   (72790, false, 2575684190, 1641, 9947127630208600),
   (72794, true, 20285596459365169, 527774, 86830413406868288560905)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints369

#print axioms CongruentPoints369.on_curve
#print axioms CongruentPoints369.indep
#print axioms CongruentPoints369.count

bsd/CongruentPoints37.lean

lean_all/bsd/CongruentPoints37.lean

/-
  bsd/CongruentPoints37.lean — T39 goal G91: points for congruent curves in 6601–6800 with Tunnell A = 2B
  (n = 6622, 6630, 6641, 6645, 6649, 6654, 6657, 6658, 6663, 6670, 6671, 6674, 6681, 6683, 6690, 6695, 6706, 6710, 6726, 6734, 6735, 6745, 6751, 6757, 6765, 6769, 6771, 6774, 6783), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints37
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (6622, false, 1217223, 46, 15400862925),
   (6630, true, 8670, 1, 520200),
   (6641, true, 5498667409, 693, 332148284350660),
   (6645, true, 8831205, 19, 25257246300),
   (6649, true, 2325625, 18, 1336118075),
   (6654, true, 7379286, 25, 16559117784),
   (6657, true, 6397552, 31, 119686420),
   (6658, false, 1251362, 17, 1635091920),
   (6663, true, 5802422973807769, 359170, 437115168665861016700853),
   (6670, true, 1166445, 11, 909549375),
   (6671, false, 99225, 13, 353752560),
   (6674, true, 6216338, 7, 15477475728),
   (6681, true, 23630697, 52, 74050727499),
   (6683, true, 18791489, 20, 80631059487),
   (6690, true, 14620326, 43, 29800401624),
   (6695, true, 1723969, 1, 2263554228),
   (6706, true, 7406, 1, 270480),
   (6710, true, 361669, 1, 217466403),
   (6726, false, 2, 1, 9512),
   (6734, true, 11466, 1, 993720),
   (6735, true, 129560403025, 533, 46629533674117900),
   (6745, true, 102524, 1, 32756418),
   (6751, true, 84196498498225, 111379, 79631186601327676380),
   (6757, true, 140857423145569, 102130, 1447426529129076963753),
   (6765, true, 27905625, 46, 126540847125),
   (6769, true, 23049601, 23, 109317617760),
   (6771, true, 11163, 1, 937692),
   (6774, true, 3121882603225, 8244, 5455698181438200605),
   (6783, false, 947497719, 830, 140847891454179)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 29 := rfl

end CongruentPoints37

#print axioms CongruentPoints37.on_curve
#print axioms CongruentPoints37.indep
#print axioms CongruentPoints37.count

bsd/CongruentPoints370.lean

lean_all/bsd/CongruentPoints370.lean

/-
  bsd/CongruentPoints370.lean — T39 goal G539: points for congruent curves in 72801–73000 with Tunnell A = 2B
  (n = 72802, 72835, 72854, 72857, 72862, 72870, 72885, 72890, 72898, 72910, 72926, 72930, 72969), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints370
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (72802, true, 11470409, 10, 30020296923),
   (72835, false, 33635, 1, 11848200),
   (72854, false, 12482, 3, 73241848),
   (72857, true, 1407725879949300025, 4393312, 77059536195781648393143405),
   (72862, true, 85840225, 26, 651357674865),
   (72870, true, 78750, 1, 8379000),
   (72885, true, 139240590000625, 36754, 1161815754382431918625),
   (72890, true, 1656490, 3, 1957670000),
   (72898, true, 733552, 1, 625160040),
   (72910, true, 259210, 1, 126642600),
   (72926, true, 18647378064121, 15990, 1071540853894477331),
   (72930, true, 1221025, 2, 1310159825),
   (72969, true, 609375, 1, 472270500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints370

#print axioms CongruentPoints370.on_curve
#print axioms CongruentPoints370.indep
#print axioms CongruentPoints370.count

bsd/CongruentPoints371.lean

lean_all/bsd/CongruentPoints371.lean

/-
  bsd/CongruentPoints371.lean — T39 goal G542: points for congruent curves in 73001–73200 with Tunnell A = 2B
  (n = 73015, 73047, 73055, 73079, 73086, 73110, 73122, 73138, 73146, 73151, 73158, 73195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints371
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (73015, true, 7769541025, 138, 673789305121975),
   (73047, false, 219024, 5, 848480724),
   (73055, false, 70756, 1, 4836678),
   (73079, true, 3006219241, 161, 127988486109000),
   (73086, false, 15123, 1, 8793279),
   (73110, false, 65610, 1, 8262000),
   (73122, true, 99372, 1, 21212100),
   (73138, true, 3553225, 2, 6675088485),
   (73146, true, 920748, 1, 880717068),
   (73151, true, 714025, 1, 600176460),
   (73158, false, 51842, 1, 11753000),
   (73195, true, 75645, 1, 5252100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints371

#print axioms CongruentPoints371.on_curve
#print axioms CongruentPoints371.indep
#print axioms CongruentPoints371.count

bsd/CongruentPoints372.lean

lean_all/bsd/CongruentPoints372.lean

/-
  bsd/CongruentPoints372.lean — T39 goal G545: points for congruent curves in 73201–73400 with Tunnell A = 2B
  (n = 73209, 73241, 73246, 73254, 73261, 73279, 73315, 73322, 73370, 73371, 73374, 73390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints372
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (73209, true, 457263, 1, 305218188),
   (73241, true, 1958887, 1, 2739746016),
   (73246, false, 290228, 3, 318866444),
   (73254, true, 10279978, 11, 16694684272),
   (73261, true, 112789, 1, 28800540),
   (73279, true, 161733469921, 751, 62883365097110880),
   (73315, false, 996611, 15, 16437817088),
   (73322, true, 1714710122, 1, 71004531607680),
   (73370, true, 1928205, 1, 2675562975),
   (73371, false, 694083, 7, 2938854204),
   (73374, true, 1834854, 5, 58250808),
   (73390, false, 1608010, 11, 11074577400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints372

#print axioms CongruentPoints372.on_curve
#print axioms CongruentPoints372.indep
#print axioms CongruentPoints372.count

bsd/CongruentPoints373.lean

lean_all/bsd/CongruentPoints373.lean

/-
  bsd/CongruentPoints373.lean — T39 goal G548: points for congruent curves in 73401–73600 with Tunnell A = 2B
  (n = 73437, 73446, 73470, 73474, 73482, 73489, 73502, 73510, 73519, 73535, 73546, 73553, 73554, 73595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints373
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (73437, true, 2965725, 1, 5105792160),
   (73446, false, 1518054, 7, 4020338160),
   (73470, false, 8670, 1, 6793200),
   (73474, false, 51842, 1, 11854752),
   (73482, true, 4053757, 7, 3749725225),
   (73489, true, 161296523934238225, 321288, 64707804428948083991248505),
   (73502, true, 77077, 1, 6441435),
   (73510, true, 246490, 1, 116808000),
   (73519, true, 377832731761, 1338, 217699975763863775),
   (73535, true, 110016, 1, 27141864),
   (73546, true, 16968204, 7, 68301666180),
   (73553, true, 3040971025, 161, 130642518673680),
   (73554, false, 8303, 4, 107234119),
   (73595, true, 83205, 1, 11197200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints373

#print axioms CongruentPoints373.on_curve
#print axioms CongruentPoints373.indep
#print axioms CongruentPoints373.count

bsd/CongruentPoints374.lean

lean_all/bsd/CongruentPoints374.lean

/-
  bsd/CongruentPoints374.lean — T39 goal G551: points for congruent curves in 73601–73800 with Tunnell A = 2B
  (n = 73606, 73630, 73690, 73705, 73723, 73730, 73734, 73749, 73766, 73770), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints374
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (73606, false, 12849434, 15, 37453669136),
   (73630, true, 2930474, 5, 3903391368),
   (73690, false, 44890, 1, 12381600),
   (73705, false, 12100, 1, 7997550),
   (73723, true, 3553225, 6, 4453367165),
   (73730, false, 767376, 13, 10894564968),
   (73734, false, 32400, 1, 11922120),
   (73749, true, 141267, 1, 45286164),
   (73766, true, 207351837, 53, 110925904089),
   (73770, false, 17035350, 31, 284029531200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints374

#print axioms CongruentPoints374.on_curve
#print axioms CongruentPoints374.indep
#print axioms CongruentPoints374.count

bsd/CongruentPoints375.lean

lean_all/bsd/CongruentPoints375.lean

/-
  bsd/CongruentPoints375.lean — T39 goal G554: points for congruent curves in 73801–74000 with Tunnell A = 2B
  (n = 73805, 73807, 73811, 73815, 73829, 73834, 73855, 73861, 73905, 73970, 73981), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints375
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (73805, true, 15971892355225, 3982, 63659853823518196725),
   (73807, false, 846400, 13, 11449062360),
   (73811, false, 465124, 5, 1217842626),
   (73815, true, 157187100, 31, 1758632390550),
   (73829, true, 1549773, 1, 1927120068),
   (73834, true, 96748, 1, 19446348),
   (73855, true, 11488624225, 302, 997549338170775),
   (73861, true, 775377272286409, 71190, 18908122240135686830077),
   (73905, true, 196599, 1, 80777268),
   (73970, true, 323761, 2, 74788791),
   (73981, true, 219323772, 43, 2538933514566)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints375

#print axioms CongruentPoints375.on_curve
#print axioms CongruentPoints375.indep
#print axioms CongruentPoints375.count

bsd/CongruentPoints376.lean

lean_all/bsd/CongruentPoints376.lean

/-
  bsd/CongruentPoints376.lean — T39 goal G558: points for congruent curves in 74001–74200 with Tunnell A = 2B
  (n = 74030, 74046, 74059, 74067, 74074, 74081, 74094, 74095, 74102, 74110, 74130, 74165, 74166, 74181, 74185, 74195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints376
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (74030, true, 128413120, 17, 1434832568400),
   (74046, true, 77658, 1, 6523272),
   (74059, true, 11330635942201, 10710, 25239131815064982949),
   (74067, true, 151725, 1, 51579360),
   (74074, true, 105413, 1, 24350403),
   (74081, true, 310249, 2, 51191085),
   (74094, true, 124656, 1, 35393400),
   (74095, true, 30921029020, 443, 4798528950472950),
   (74102, true, 80802, 1, 9157560),
   (74110, false, 800890, 11, 7992995400),
   (74130, true, 2616789, 1, 4231347813),
   (74165, true, 836655625, 32, 24100357870875),
   (74166, true, 74892, 1, 2846844),
   (74181, true, 6455601525, 137, 506479622842440),
   (74185, true, 930077004025, 2124, 836887366251635725),
   (74195, true, 319225, 2, 66435525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints376

#print axioms CongruentPoints376.on_curve
#print axioms CongruentPoints376.indep
#print axioms CongruentPoints376.count

bsd/CongruentPoints377.lean

lean_all/bsd/CongruentPoints377.lean

/-
  bsd/CongruentPoints377.lean — T39 goal G561: points for congruent curves in 74201–74400 with Tunnell A = 2B
  (n = 74218, 74222, 74245, 74255, 74269, 74271, 74283, 74310, 74315, 74345, 74354, 74379, 74391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints377
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (74218, true, 15533750, 7, 59521528800),
   (74222, false, 2619718, 13, 19854649320),
   (74245, true, 35563355, 13, 198443520900),
   (74255, true, 69189697018029025, 10858, 18199612438690770022422825),
   (74269, true, 122525, 1, 34110960),
   (74271, true, 392673, 1, 241621632),
   (74283, false, 1350723, 13, 14505436440),
   (74310, true, 435503683125625, 60264, 7133037958351473986125),
   (74315, true, 2652260609, 136, 116817321130623),
   (74345, true, 4648357560025, 5332, 8925895280886456675),
   (74354, true, 314608, 1, 171464328),
   (74379, true, 240267, 1, 111986496),
   (74391, true, 1778561929, 110, 64691877309533)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints377

#print axioms CongruentPoints377.on_curve
#print axioms CongruentPoints377.indep
#print axioms CongruentPoints377.count

bsd/CongruentPoints378.lean

lean_all/bsd/CongruentPoints378.lean

/-
  bsd/CongruentPoints378.lean — T39 goal G564: points for congruent curves in 74401–74600 with Tunnell A = 2B
  (n = 74410, 74445, 74451, 74465, 74477, 74490, 74491, 74497, 74535, 74555, 74591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints378
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (74410, false, 18515, 3, 91089775),
   (74445, true, 183555918054961, 5742, 2486644811162835313409),
   (74451, true, 9795747, 11, 12041580564),
   (74465, true, 1974025, 1, 2771531100),
   (74477, true, 792141025, 102, 4631660281495),
   (74490, true, 82810, 1, 10410400),
   (74491, false, 3825936, 61, 542114407380),
   (74497, true, 25068528, 7, 124176497220),
   (74535, true, 103335, 1, 23007600),
   (74555, true, 112995, 1, 28541700),
   (74591, false, 1572516, 5, 1256867898)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints378

#print axioms CongruentPoints378.on_curve
#print axioms CongruentPoints378.indep
#print axioms CongruentPoints378.count

bsd/CongruentPoints379.lean

lean_all/bsd/CongruentPoints379.lean

/-
  bsd/CongruentPoints379.lean — T39 goal G567: points for congruent curves in 74601–74800 with Tunnell A = 2B
  (n = 74613, 74661, 74679, 74685, 74703, 74734, 74766), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints379
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (74613, true, 2227731, 5, 1817828496),
   (74661, true, 45319227, 19, 245267656524),
   (74679, true, 8488513, 9, 17350520572),
   (74685, true, 91533936, 31, 543505628484),
   (74703, false, 44100, 1, 12662370),
   (74734, true, 4830534, 7, 6923765400),
   (74766, false, 1225275, 13, 13920538995)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints379

#print axioms CongruentPoints379.on_curve
#print axioms CongruentPoints379.indep
#print axioms CongruentPoints379.count

bsd/CongruentPoints38.lean

lean_all/bsd/CongruentPoints38.lean

/-
  bsd/CongruentPoints38.lean — T39 goal G92: points for congruent curves in 6801–7000 with Tunnell A = 2B
  (n = 6805, 6806, 6838, 6839, 6846, 6865, 6869, 6882, 6886, 6887, 6895, 6902, 6906, 6914, 6918, 6923, 6935, 6942, 6949, 6951, 6953, 6963, 6973, 6981, 6989, 6995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints38
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (6805, true, 11868025, 38, 22927112325),
   (6806, true, 564898, 9, 92643272),
   (6838, true, 187850, 1, 81363360),
   (6839, true, 6681703, 9, 17212066928),
   (6846, true, 7350, 1, 229320),
   (6865, true, 135295230625, 1677, 49255672411121500),
   (6869, false, 592900, 73, 28182076230),
   (6882, true, 35557, 1, 6578045),
   (6886, true, 786258, 7, 629723688),
   (6887, true, 7225, 1, 185640),
   (6895, false, 1334025, 17, 1709654100),
   (6902, false, 1240354, 35, 9314500056),
   (6906, true, 19602, 1, 2568456),
   (6914, true, 2101399167831844609, 12669138, 2586807909657033231406302305),
   (6918, false, 2234498, 33, 10754805880),
   (6923, true, 7452, 1, 238050),
   (6935, true, 133225, 2, 47561325),
   (6942, true, 7550400, 31, 9716026320),
   (6949, true, 616597146169, 2910, 481964965441542053),
   (6951, false, 890531337, 1253, 324581113729188),
   (6953, false, 1040400, 13, 557116860),
   (6963, true, 1469193, 8, 1696917915),
   (6973, true, 2559091, 5, 4084309236),
   (6981, true, 4972351435129, 20378, 9008362678360702085),
   (6989, true, 1452025, 12, 1261228915),
   (6995, true, 29939045, 41, 150652736100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 26 := rfl

end CongruentPoints38

#print axioms CongruentPoints38.on_curve
#print axioms CongruentPoints38.indep
#print axioms CongruentPoints38.count

bsd/CongruentPoints380.lean

lean_all/bsd/CongruentPoints380.lean

/-
  bsd/CongruentPoints380.lean — T39 goal G570: points for congruent curves in 74801–75000 with Tunnell A = 2B
  (n = 74802, 74806, 74810, 74814, 74822, 74855, 74881, 74890, 74919, 74930, 74953, 74965, 74969, 74971, 74985, 74989, 74994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints380
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (74802, false, 25886, 5, 300845888),
   (74806, true, 50574393, 26, 5321953203),
   (74810, true, 171610, 1, 63980400),
   (74814, false, 61347, 1, 10606167),
   (74822, true, 54712438, 27, 31614560560),
   (74855, true, 3201862225, 202, 54352937621775),
   (74881, false, 2876099967, 196, 2957149881153),
   (74890, false, 90000, 13, 3796827000),
   (74919, true, 292230924375, 1867, 70902165364208100),
   (74930, true, 80645, 1, 8467725),
   (74953, true, 18222395403064609, 86005, 2458708805812828388838648),
   (74965, true, 7751381, 1, 21579844704),
   (74969, false, 21904, 5, 277366356),
   (74971, true, 102280354969, 990, 22754186437415797),
   (74985, true, 30006900625, 191, 5176300896149500),
   (74989, true, 151930625, 16, 1857689531775),
   (74994, true, 126150, 1, 36028440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints380

#print axioms CongruentPoints380.on_curve
#print axioms CongruentPoints380.indep
#print axioms CongruentPoints380.count

bsd/CongruentPoints381.lean

lean_all/bsd/CongruentPoints381.lean

/-
  bsd/CongruentPoints381.lean — T39 goal G573: points for congruent curves in 75001–75200 with Tunnell A = 2B
  (n = 75003, 75009, 75010, 75026, 75030, 75047, 75065, 75095, 75130, 75174, 75198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints381
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (75003, true, 84525, 1, 11331180),
   (75009, true, 1467754057081, 165, 1778195528840172104),
   (75010, true, 21640385, 16, 46418625825),
   (75026, true, 947968, 3, 647817632),
   (75030, true, 75645, 1, 2647575),
   (75047, true, 208474375, 17, 2993753059200),
   (75065, true, 168642559200025, 22568, 2133013954938281257725),
   (75095, true, 4314730759249, 1695, 8951316978147629932),
   (75130, false, 660275, 3, 118431775),
   (75174, false, 98, 1, 744184),
   (75198, true, 124002, 1, 34720560)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints381

#print axioms CongruentPoints381.on_curve
#print axioms CongruentPoints381.indep
#print axioms CongruentPoints381.count

bsd/CongruentPoints382.lean

lean_all/bsd/CongruentPoints382.lean

/-
  bsd/CongruentPoints382.lean — T39 goal G576: points for congruent curves in 75201–75400 with Tunnell A = 2B
  (n = 75210, 75229, 75233, 75255, 75279, 75287, 75310, 75335, 75354), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints382
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (75210, true, 1441525, 1, 1728388475),
   (75229, true, 795971, 1, 706964280),
   (75233, true, 347967, 1, 200406360),
   (75255, false, 74529, 1, 2846844),
   (75279, true, 1259388, 1, 1410789042),
   (75287, true, 17989515625, 49, 2412721969671000),
   (75310, false, 131963860, 43, 510595287300),
   (75335, true, 116396266415, 863, 34792671911669100),
   (75354, true, 78345474, 13, 684236670840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints382

#print axioms CongruentPoints382.on_curve
#print axioms CongruentPoints382.indep
#print axioms CongruentPoints382.count

bsd/CongruentPoints383.lean

lean_all/bsd/CongruentPoints383.lean

/-
  bsd/CongruentPoints383.lean — T39 goal G579: points for congruent curves in 75401–75600 with Tunnell A = 2B
  (n = 75405, 75415, 75418, 75426, 75445, 75454, 75459, 75477, 75486, 75505, 75523, 75545, 75551, 75570, 75578, 75579), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints383
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (75405, true, 45946780, 17, 274187409650),
   (75415, true, 867031011025, 2271, 721539391524172100),
   (75418, false, 19969047, 86, 2490990648405),
   (75426, false, 41128314422, 1597, 38110209891718328),
   (75445, true, 4768124, 5, 9562472682),
   (75454, true, 1481089, 4, 1044167745),
   (75459, false, 61347, 1, 10882872),
   (75477, true, 16734237533096161, 76270, 2164010487496864745332841),
   (75486, false, 4678223, 8, 2607907049),
   (75505, true, 211420638025, 902, 93018105482252925),
   (75523, true, 4911737525158344169, 1247130, 10882495591173804961837145197),
   (75545, true, 39358945, 17, 205453692900),
   (75551, true, 10885063, 1, 35911699572),
   (75570, true, 214245, 1, 92792925),
   (75578, true, 1105150, 1, 1159081320),
   (75579, true, 10404709, 5, 33003736948)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints383

#print axioms CongruentPoints383.on_curve
#print axioms CongruentPoints383.indep
#print axioms CongruentPoints383.count

bsd/CongruentPoints384.lean

lean_all/bsd/CongruentPoints384.lean

/-
  bsd/CongruentPoints384.lean — T39 goal G582: points for congruent curves in 75601–75800 with Tunnell A = 2B
  (n = 75603, 75605, 75610, 75621, 75631, 75639, 75665, 75686, 75719, 75774, 75777, 75790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints384
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (75603, true, 673728, 1, 549509400),
   (75605, true, 75645, 1, 676500),
   (75610, true, 82810, 1, 9718800),
   (75621, true, 228481756365769, 1906, 3453639310347079501565),
   (75631, true, 764842949809, 3094, 215651652672528255),
   (75639, true, 3764793, 7, 1282549248),
   (75665, false, 75625, 1, 676500),
   (75686, true, 69858178, 29, 240591565032),
   (75719, true, 84917419839, 313, 24650840583497940),
   (75774, false, 1861494, 5, 479282904),
   (75777, false, 1010025, 61, 283374230040),
   (75790, true, 204490, 1, 85885800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints384

#print axioms CongruentPoints384.on_curve
#print axioms CongruentPoints384.indep
#print axioms CongruentPoints384.count

bsd/CongruentPoints385.lean

lean_all/bsd/CongruentPoints385.lean

/-
  bsd/CongruentPoints385.lean — T39 goal G589: points for congruent curves in 75801–76000 with Tunnell A = 2B
  (n = 75822, 75823, 75826, 75831, 75835, 75838, 75855, 75866, 75894, 75899, 75918, 75922, 75923, 75946, 75961, 75966, 75981, 75985, 75990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints385
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (75822, false, 73947, 1, 4556925),
   (75823, true, 3256414225, 28, 185796312796935),
   (75826, true, 3759282, 7, 1109500944),
   (75831, false, 161, 5, 24054688),
   (75835, true, 79431725, 13, 698655535800),
   (75838, false, 86802999311, 1440, 38634134414664887),
   (75855, false, 837225, 37, 95015539800),
   (75866, false, 138679807, 44, 569736310017),
   (75894, true, 77077, 1, 3734731),
   (75899, false, 1633284, 5, 1234309014),
   (75918, false, 56454, 5, 450754344),
   (75922, true, 80964268, 9, 726413135140),
   (75923, true, 56404188, 13, 412504609230),
   (75946, true, 343408, 1, 196257672),
   (75961, true, 232965502225, 1561, 68280438273119820),
   (75966, true, 97751874, 31, 642723792480),
   (75981, true, 171957, 1, 63968004),
   (75985, true, 211185, 1, 90550200),
   (75990, true, 4056525, 7, 3241901025)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints385

#print axioms CongruentPoints385.on_curve
#print axioms CongruentPoints385.indep
#print axioms CongruentPoints385.count

bsd/CongruentPoints386.lean

lean_all/bsd/CongruentPoints386.lean

/-
  bsd/CongruentPoints386.lean — T39 goal G591: points for congruent curves in 76001–76200 with Tunnell A = 2B
  (n = 76038, 76042, 76043, 76115, 76143, 76153), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints386
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (76038, false, 10652014650, 793, 4811053734729360),
   (76042, true, 114856954522, 347, 38801774487599760),
   (76043, true, 857212, 3, 477895690),
   (76115, true, 91315774225, 232, 27566472372013575),
   (76143, true, 89472289008, 409, 26490297080867940),
   (76153, false, 4626783, 8, 3295117455)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints386

#print axioms CongruentPoints386.on_curve
#print axioms CongruentPoints386.indep
#print axioms CongruentPoints386.count

bsd/CongruentPoints387.lean

lean_all/bsd/CongruentPoints387.lean

/-
  bsd/CongruentPoints387.lean — T39 goal G593: points for congruent curves in 76201–76400 with Tunnell A = 2B
  (n = 76205, 76214, 76217, 76241, 76245, 76246, 76270, 76279, 76299, 76341, 76358, 76362, 76373, 76377, 76381, 76382, 76385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints387
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (76205, true, 34783631995225, 21362, 4566840293873306475),
   (76214, true, 27398933, 11, 135049340757),
   (76217, false, 18755551, 140, 6469021632207),
   (76241, true, 295736809, 57, 2778340097260),
   (76245, true, 1221025, 4, 57388175),
   (76246, true, 28231254, 1, 150000832800),
   (76270, true, 1141426225, 102, 27719986566025),
   (76279, true, 212521, 1, 91443960),
   (76299, true, 769129, 2, 619148845),
   (76341, false, 759027, 7, 3191190948),
   (76358, false, 6135650, 9, 1931442760),
   (76362, true, 617838, 1, 481913640),
   (76373, true, 507375625, 74, 6470726093475),
   (76377, false, 139167, 2, 101458665),
   (76381, true, 7809754784515489, 312330, 206787375813072994566263),
   (76382, false, 27530100, 19, 8151592020),
   (76385, true, 4527213675625, 3471, 9431549692894785500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints387

#print axioms CongruentPoints387.on_curve
#print axioms CongruentPoints387.indep
#print axioms CongruentPoints387.count

bsd/CongruentPoints388.lean

lean_all/bsd/CongruentPoints388.lean

/-
  bsd/CongruentPoints388.lean — T39 goal G595: points for congruent curves in 76401–76600 with Tunnell A = 2B
  (n = 76406, 76415, 76457, 76465, 76479, 76494, 76499, 76501, 76503, 76537, 76551, 76555, 76570), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints388
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (76406, false, 446292, 17, 14748441708),
   (76415, true, 243049, 1, 113746932),
   (76457, false, 781456, 5, 1542034572),
   (76465, false, 38025, 1, 12936300),
   (76479, true, 474721, 1, 322810280),
   (76494, true, 34218316, 17, 152784780940),
   (76499, true, 1606447246849, 3576, 1615048413572907775),
   (76501, true, 1060424193361, 1244, 1085165343759005145),
   (76503, true, 22882048, 3, 109407133360),
   (76537, false, 714025, 73, 344645965560),
   (76551, true, 8593857, 2, 25177136391),
   (76555, true, 911645, 1, 867365100),
   (76570, true, 66087970, 27, 287626339000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints388

#print axioms CongruentPoints388.on_curve
#print axioms CongruentPoints388.indep
#print axioms CongruentPoints388.count

bsd/CongruentPoints389.lean

lean_all/bsd/CongruentPoints389.lean

/-
  bsd/CongruentPoints389.lean — T39 goal G596: points for congruent curves in 76601–76800 with Tunnell A = 2B
  (n = 76601, 76615, 76622, 76629, 76638, 76642, 76647, 76670, 76713, 76727, 76738, 76741, 76755, 76758), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints389
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (76601, true, 85849, 1, 11356680),
   (76615, true, 477799, 1, 325995432),
   (76622, true, 8779336972, 43, 822500220926580),
   (76629, true, 974283, 1, 958694472),
   (76638, true, 33484751598, 611, 3183491077508880),
   (76642, true, 918472844141872321, 2045740, 824817085531492279212718881),
   (76647, true, 5607763225, 177, 379489608541160),
   (76670, true, 7168645, 3, 19104438925),
   (76713, true, 117975, 1, 30785040),
   (76727, true, 49968382023, 551, 9881737321878240),
   (76738, false, 24786, 5, 302007312),
   (76741, false, 18259, 1, 10071900),
   (76755, true, 151725, 1, 50979600),
   (76758, false, 374978, 3, 355285160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints389

#print axioms CongruentPoints389.on_curve
#print axioms CongruentPoints389.indep
#print axioms CongruentPoints389.count

bsd/CongruentPoints39.lean

lean_all/bsd/CongruentPoints39.lean

/-
  bsd/CongruentPoints39.lean — T39 goal G93: points for congruent curves in 7001–7200 with Tunnell A = 2B
  (n = 7001, 7005, 7014, 7015, 7022, 7031, 7046, 7070, 7077, 7085, 7093, 7095, 7134, 7157, 7170, 7189), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints39
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (7001, true, 518268968281, 1009, 373071209065760520),
   (7005, false, 1805, 43, 550279900),
   (7014, true, 7098, 1, 91728),
   (7015, true, 93025, 3, 20837600),
   (7022, true, 5190642, 17, 10884560400),
   (7031, true, 544231, 7, 310801800),
   (7046, true, 46781917, 69, 223022764601),
   (7070, false, 28224, 5, 29312976),
   (7077, true, 63525, 1, 15911280),
   (7085, true, 12200385339025, 36442, 27127933528433681775),
   (7093, true, 1721881962025, 13566, 1473464813470134605),
   (7095, false, 216275895, 182, 1352396729475),
   (7134, true, 13858, 1, 1398592),
   (7157, false, 8473412, 829, 14317546280070),
   (7170, true, 999045, 1, 998542125),
   (7189, true, 1683964, 15, 607761062)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints39

#print axioms CongruentPoints39.on_curve
#print axioms CongruentPoints39.indep
#print axioms CongruentPoints39.count

bsd/CongruentPoints390.lean

lean_all/bsd/CongruentPoints390.lean

/-
  bsd/CongruentPoints390.lean — T39 goal G597: points for congruent curves in 76801–77000 with Tunnell A = 2B
  (n = 76830, 76834, 76843, 76845, 76846, 76861, 76870, 76937, 76954, 76958, 76962, 76970, 76994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints390
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (76830, true, 41869386, 19, 202953880584),
   (76834, false, 784, 1, 2151240),
   (76843, true, 248768, 1, 118009320),
   (76845, true, 99405, 1, 19881000),
   (76846, false, 1182447, 4, 366469383),
   (76861, true, 1382589, 1, 1623183120),
   (76870, false, 74420, 1, 5252100),
   (76937, true, 3650640742225, 6831, 1265260902801550460),
   (76954, true, 1172446081, 92, 33380809068735),
   (76958, false, 260743, 2, 83552595),
   (76962, true, 4741926, 5, 9437787576),
   (76970, true, 4077045, 1, 8230777275),
   (76994, false, 7056, 1, 6440280)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints390

#print axioms CongruentPoints390.on_curve
#print axioms CongruentPoints390.indep
#print axioms CongruentPoints390.count

bsd/CongruentPoints391.lean

lean_all/bsd/CongruentPoints391.lean

/-
  bsd/CongruentPoints391.lean — T39 goal G598: points for congruent curves in 77001–77200 with Tunnell A = 2B
  (n = 77010, 77046, 77066, 77073, 77110, 77122, 77129, 77149, 77181, 77190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints391
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (77010, true, 32853826, 11, 180579333376),
   (77046, true, 99372, 1, 19783764),
   (77066, true, 317417, 2, 42635691),
   (77073, true, 1523459461225, 2438, 1793354542578163565),
   (77110, false, 586190, 3, 284422600),
   (77122, false, 67600, 1, 9651720),
   (77129, true, 347633, 1, 199857372),
   (77149, true, 208399139, 17, 2991190118280),
   (77181, true, 40147736161, 466, 7309851315585065),
   (77190, true, 9721600, 9, 23210840800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints391

#print axioms CongruentPoints391.on_curve
#print axioms CongruentPoints391.indep
#print axioms CongruentPoints391.count

bsd/CongruentPoints392.lean

lean_all/bsd/CongruentPoints392.lean

/-
  bsd/CongruentPoints392.lean — T39 goal G599: points for congruent curves in 77201–77400 with Tunnell A = 2B
  (n = 77207, 77226, 77231, 77251, 77309, 77330, 77343, 77361, 77366, 77367, 77393), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints392
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (77207, true, 169922855089, 1265, 48089184944365812),
   (77226, false, 1350723, 31, 86237892279),
   (77231, true, 100793, 1, 20561772),
   (77251, true, 196267295440381201, 1572924, 19771501379017568399878265),
   (77309, false, 662596, 5, 1477895958),
   (77330, true, 31864844, 19, 86729178228),
   (77343, false, 1592703, 11, 11638351620),
   (77361, true, 961633235641, 1160, 937464041011078061),
   (77366, true, 2860522, 1, 4836253296),
   (77367, true, 23475449089, 215, 3554855180181188),
   (77393, false, 3629025, 41, 247739550240)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints392

#print axioms CongruentPoints392.on_curve
#print axioms CongruentPoints392.indep
#print axioms CongruentPoints392.count

bsd/CongruentPoints393.lean

lean_all/bsd/CongruentPoints393.lean

/-
  bsd/CongruentPoints393.lean — T39 goal G600: points for congruent curves in 77401–77600 with Tunnell A = 2B
  (n = 77401, 77406, 77415, 77421, 77423, 77430, 77449, 77461, 77466, 77486, 77495, 77590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints393
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (77401, false, 24649, 5, 303774276),
   (77406, true, 212268, 1, 91062972),
   (77415, true, 70556640625, 409, 18423225172812500),
   (77421, true, 30426453, 1, 167832314748),
   (77423, true, 1890702151662025, 124754, 63352598884197977477955),
   (77430, true, 340605, 1, 193577175),
   (77449, true, 4443366494507701489, 7558531, 856048507240971346930089000),
   (77461, true, 23067900, 7, 109282881210),
   (77466, true, 1175628, 1, 1271920572),
   (77486, true, 328457, 2, 62305221),
   (77495, false, 39204, 1, 13235706),
   (77590, true, 79210, 1, 4485600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints393

#print axioms CongruentPoints393.on_curve
#print axioms CongruentPoints393.indep
#print axioms CongruentPoints393.count

bsd/CongruentPoints394.lean

lean_all/bsd/CongruentPoints394.lean

/-
  bsd/CongruentPoints394.lean — T39 goal G601: points for congruent curves in 77601–77800 with Tunnell A = 2B
  (n = 77602, 77610, 77637, 77638, 77649, 77686, 77691, 77695, 77727, 77735, 77749, 77758, 77770, 77794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints394
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (77602, true, 80802, 1, 6399840),
   (77610, true, 610090, 1, 472659200),
   (77637, true, 20498755900, 339, 2642303616122170),
   (77638, true, 4675462, 7, 5877086160),
   (77649, true, 819025, 2, 685851535),
   (77686, true, 54057150, 11, 391392362760),
   (77691, true, 37667868, 17, 185624562942),
   (77695, true, 370025, 2, 122166675),
   (77727, true, 7975433494561, 7350, 19148827117294332809),
   (77735, false, 44100, 1, 13443150),
   (77749, true, 94192, 1, 16318764),
   (77758, true, 36140674, 15, 190112144032),
   (77770, true, 714070, 1, 599818800),
   (77794, false, 15842, 1, 9586368)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints394

#print axioms CongruentPoints394.on_curve
#print axioms CongruentPoints394.indep
#print axioms CongruentPoints394.count

bsd/CongruentPoints395.lean

lean_all/bsd/CongruentPoints395.lean

/-
  bsd/CongruentPoints395.lean — T39 goal G602: points for congruent curves in 77801–78000 with Tunnell A = 2B
  (n = 77807, 77891, 77894, 77898, 77901, 77945, 77961, 77982), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints395
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (77807, true, 42056846265625, 14223, 252922773978009390500),
   (77891, true, 221462737, 24, 3227386725991),
   (77894, false, 21250, 1, 10924200),
   (77898, true, 80802, 1, 6102360),
   (77901, true, 27998061, 17, 88071263280),
   (77945, true, 2042159, 1, 2916203052),
   (77961, true, 155844039, 7, 1944933606720),
   (77982, true, 2021218, 1, 2871416960)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints395

#print axioms CongruentPoints395.on_curve
#print axioms CongruentPoints395.indep
#print axioms CongruentPoints395.count

bsd/CongruentPoints396.lean

lean_all/bsd/CongruentPoints396.lean

/-
  bsd/CongruentPoints396.lean — T39 goal G604: points for congruent curves in 78001–78200 with Tunnell A = 2B
  (n = 78062, 78082, 78085, 78090, 78119, 78135, 78145, 78151, 78181, 78189, 78190, 78195, 78199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints396
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (78062, true, 132471214, 15, 1511231609312),
   (78082, false, 19600, 1, 10581480),
   (78085, true, 19443243085, 177, 2689602129223100),
   (78090, true, 86640, 1, 11046600),
   (78119, true, 232992182951, 1711, 21499871067455880),
   (78135, false, 21997815, 17, 23914585800),
   (78145, false, 2500, 1, 3905250),
   (78151, true, 43309561, 17, 243195063720),
   (78181, true, 1766445671929, 4290, 1361923482451691717),
   (78189, true, 10138507, 7, 29888318636),
   (78190, true, 38690890, 9, 237418867000),
   (78195, true, 28844400, 19, 31844720700),
   (78199, true, 1296510170197225, 56434, 45814169939065969194195)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints396

#print axioms CongruentPoints396.on_curve
#print axioms CongruentPoints396.indep
#print axioms CongruentPoints396.count

bsd/CongruentPoints397.lean

lean_all/bsd/CongruentPoints397.lean

/-
  bsd/CongruentPoints397.lean — T39 goal G605: points for congruent curves in 78201–78400 with Tunnell A = 2B
  (n = 78229, 78245, 78279, 78329, 78385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints397
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (78229, true, 172229021373474025, 415002, 71256840498005627914746515),
   (78245, true, 205953500041, 1092, 83324233834053211),
   (78279, true, 10428719775, 173, 1037770647791760),
   (78329, false, 976144, 5, 1677212004),
   (78385, true, 16114017481, 114, 2041437941914429)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints397

#print axioms CongruentPoints397.on_curve
#print axioms CongruentPoints397.indep
#print axioms CongruentPoints397.count

bsd/CongruentPoints398.lean

lean_all/bsd/CongruentPoints398.lean

/-
  bsd/CongruentPoints398.lean — T39 goal G606: points for congruent curves in 78401–78600 with Tunnell A = 2B
  (n = 78407, 78410, 78421, 78422, 78438, 78442, 78445, 78463, 78470, 78483, 78501, 78518, 78521, 78526, 78554, 78574, 78591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints398
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (78407, true, 49093983, 13, 331220738640),
   (78410, true, 14224370653441, 11144, 39105982870967960961),
   (78421, false, 31561775, 24, 181542533095),
   (78422, false, 1251362, 11, 10522166760),
   (78438, true, 421362, 1, 268735320),
   (78442, true, 227500, 1, 101856300),
   (78445, false, 10000, 1, 7780500),
   (78463, false, 4974543, 8, 1530217815),
   (78470, true, 108045, 1, 24413025),
   (78483, false, 1764867, 7, 4539136680),
   (78501, false, 66308, 23, 10693337446),
   (78518, false, 37538, 3, 136720520),
   (78521, false, 789702473, 151, 45153226233024),
   (78526, true, 87362, 1, 11316096),
   (78554, true, 78750, 1, 1558200),
   (78574, true, 152626, 1, 51118320),
   (78591, true, 80937, 1, 5503716)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints398

#print axioms CongruentPoints398.on_curve
#print axioms CongruentPoints398.indep
#print axioms CongruentPoints398.count

bsd/CongruentPoints399.lean

lean_all/bsd/CongruentPoints399.lean

/-
  bsd/CongruentPoints399.lean — T39 goal G607: points for congruent curves in 78601–78800 with Tunnell A = 2B
  (n = 78630, 78631, 78657, 78670, 78671, 78683, 78689, 78706, 78715, 78735, 78767, 78791, 78793), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints399
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (78630, true, 14062910959251025, 296296, 1452939947135216757796825),
   (78631, false, 27793967, 24, 188529152743),
   (78657, true, 2170332, 1, 3195242730),
   (78670, false, 343220, 3, 362804500),
   (78671, true, 11401434313201, 4113, 38234921461440080120),
   (78683, false, 15014854525, 863, 6940931722955340),
   (78689, false, 2446096, 545, 36554746551708),
   (78706, true, 9725324, 11, 6147794100),
   (78715, false, 78400, 1, 1969800),
   (78735, true, 36086533815, 193, 6832485723185100),
   (78767, true, 177848601841, 145, 74999238484502736),
   (78791, true, 3234083161, 127, 169124909693880),
   (78793, true, 883025, 2, 775119345)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints399

#print axioms CongruentPoints399.on_curve
#print axioms CongruentPoints399.indep
#print axioms CongruentPoints399.count

bsd/CongruentPoints40.lean

lean_all/bsd/CongruentPoints40.lean

/-
  bsd/CongruentPoints40.lean — T39 goal G94: points for congruent curves in 7201–7400 with Tunnell A = 2B
  (n = 7205, 7210, 7215, 7222, 7223, 7230, 7239, 7285, 7289, 7293, 7295, 7298, 7310, 7311, 7321, 7327, 7334, 7359, 7361, 7366, 7394, 7395, 7397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints40
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (7205, true, 9591192211225, 6758, 29686100111073177525),
   (7210, true, 5198410, 1, 11852374800),
   (7215, true, 7225, 1, 32300),
   (7222, false, 75988, 823, 1348433897580),
   (7223, true, 37975, 1, 7265160),
   (7230, true, 58081, 2, 12138929),
   (7239, false, 11904393, 53, 56879450244),
   (7285, false, 2846079, 280, 963526585281),
   (7289, false, 132496, 5, 45537492),
   (7293, false, 150212, 21, 1245153610),
   (7295, true, 562875625, 202, 11334105934125),
   (7298, false, 98, 1, 72240),
   (7310, false, 5768966, 773, 10491195395352),
   (7311, false, 1764, 1, 297990),
   (7321, false, 121, 1, 80520),
   (7327, true, 93025, 1, 28284480),
   (7334, false, 157922, 33, 3173256568),
   (7359, true, 9537, 1, 592416),
   (7361, false, 1089, 1, 240240),
   (7366, true, 467741, 7, 203467335),
   (7394, false, 7056, 1, 185640),
   (7395, true, 525625, 8, 165782125),
   (7397, true, 400355478943225, 53878, 7999137067547308034235)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 23 := rfl

end CongruentPoints40

#print axioms CongruentPoints40.on_curve
#print axioms CongruentPoints40.indep
#print axioms CongruentPoints40.count

bsd/CongruentPoints400.lean

lean_all/bsd/CongruentPoints400.lean

/-
  bsd/CongruentPoints400.lean — T39 goal G609: points for congruent curves in 78801–79000 with Tunnell A = 2B
  (n = 78806, 78819, 78826, 78846, 78851, 78859, 78870, 78873, 78881, 78931, 78937, 78949, 78990, 78995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints400
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (78806, false, 37908, 1, 13451724),
   (78819, true, 94987, 1, 16337764),
   (78826, true, 110902, 1, 25979184),
   (78846, false, 11175222, 37, 358898027832),
   (78851, false, 52615915519, 1760, 54710789561039871),
   (78859, true, 1234475, 1, 1368785880),
   (78870, true, 411906, 1, 259469496),
   (78873, true, 7096546081, 90, 595392657166729),
   (78881, true, 7270400, 7, 16603844160),
   (78931, true, 367108353, 4, 7033780796673),
   (78937, false, 14808697, 991, 298322727911160),
   (78949, true, 579819671508025, 7038, 13961418335118282772315),
   (78990, true, 277440, 1, 140086800),
   (78995, true, 93499, 1, 15294468)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints400

#print axioms CongruentPoints400.on_curve
#print axioms CongruentPoints400.indep
#print axioms CongruentPoints400.count

bsd/CongruentPoints401.lean

lean_all/bsd/CongruentPoints401.lean

/-
  bsd/CongruentPoints401.lean — T39 goal G611: points for congruent curves in 79001–79200 with Tunnell A = 2B
  (n = 79009, 79030, 79035, 79055, 79118, 79169, 79177), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints401
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (79009, true, 183250369, 47, 756095598000),
   (79030, true, 875985555481, 1260, 811417377670442621),
   (79035, true, 86640, 1, 10448100),
   (79055, true, 37587750883225, 10143, 224986760789591944900),
   (79118, false, 1899011, 5, 762351513),
   (79169, false, 2128137232, 521, 986484662665788),
   (79177, true, 66015625, 17, 503125155000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints401

#print axioms CongruentPoints401.on_curve
#print axioms CongruentPoints401.indep
#print axioms CongruentPoints401.count

bsd/CongruentPoints402.lean

lean_all/bsd/CongruentPoints402.lean

/-
  bsd/CongruentPoints402.lean — T39 goal G613: points for congruent curves in 79201–79400 with Tunnell A = 2B
  (n = 79205, 79211, 79215, 79230, 79285, 79315, 79322, 79339, 79365, 79386), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints402
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (79205, true, 107036955, 17, 1081771368600),
   (79211, true, 4250851, 3, 8640101800),
   (79215, true, 44272860, 1, 294581637450),
   (79230, true, 93750, 1, 15345000),
   (79285, true, 147293215165, 207, 56514327479456300),
   (79315, true, 87725, 1, 11101200),
   (79322, true, 2915778229225, 4628, 4046365149815038965),
   (79339, true, 5465313, 8, 4725972783),
   (79365, true, 51602265, 4, 370571154525),
   (79386, false, 22095366, 25, 208822141152)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints402

#print axioms CongruentPoints402.on_curve
#print axioms CongruentPoints402.indep
#print axioms CongruentPoints402.count

bsd/CongruentPoints403.lean

lean_all/bsd/CongruentPoints403.lean

/-
  bsd/CongruentPoints403.lean — T39 goal G615: points for congruent curves in 79401–79600 with Tunnell A = 2B
  (n = 79410, 79417, 79422, 79441, 79481, 79534), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints403
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (79410, false, 79350, 1, 869400),
   (79417, true, 106709333860441, 32895, 653487092800157323864),
   (79422, true, 22639393, 16, 47378361905),
   (79441, false, 61009, 1, 12567360),
   (79481, true, 11463770761, 359, 551035041156600),
   (79534, true, 2090608, 3, 2840090968)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints403

#print axioms CongruentPoints403.on_curve
#print axioms CongruentPoints403.indep
#print axioms CongruentPoints403.count

bsd/CongruentPoints404.lean

lean_all/bsd/CongruentPoints404.lean

/-
  bsd/CongruentPoints404.lean — T39 goal G616: points for congruent curves in 79601–79800 with Tunnell A = 2B
  (n = 79629, 79657, 79661, 79662, 79679, 79710, 79715, 79727, 79745, 79778, 79779), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints404
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (79629, false, 24822531, 233, 21537682731000),
   (79657, true, 2025558488502025, 119784, 75263866704465134611355),
   (79661, true, 37519813, 7, 228574575732),
   (79662, false, 27263478, 41, 684568530360),
   (79679, true, 3433609, 2, 6335008605),
   (79710, true, 2747760, 1, 4552871400),
   (79715, true, 301725, 1, 159847200),
   (79727, true, 198526927068, 271, 88417892846007030),
   (79745, false, 22500, 1, 11475750),
   (79778, true, 108578, 1, 24269280),
   (79779, true, 743932, 3, 167902714)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints404

#print axioms CongruentPoints404.on_curve
#print axioms CongruentPoints404.indep
#print axioms CongruentPoints404.count

bsd/CongruentPoints405.lean

lean_all/bsd/CongruentPoints405.lean

/-
  bsd/CongruentPoints405.lean — T39 goal G617: points for congruent curves in 79801–80000 with Tunnell A = 2B
  (n = 79815, 79834, 79838, 79841, 79846, 79865, 79898, 79926, 79954, 79970, 79998), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints405
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (79815, true, 603439225, 42, 14414361119675),
   (79834, false, 4873442, 17, 49784298648),
   (79838, true, 87362, 1, 10483440),
   (79841, true, 15939517255743601, 247831, 1914788524364696219999760),
   (79846, true, 10286666, 11, 11327434560),
   (79865, true, 75781986931225, 21716, 572461010845749219075),
   (79898, true, 26419302, 1, 135793825440),
   (79926, false, 19394606, 59, 1222291572040),
   (79954, true, 211740494, 31, 2871083495280),
   (79970, false, 42906875, 27, 258524349875),
   (79998, true, 80802, 1, 3232080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints405

#print axioms CongruentPoints405.on_curve
#print axioms CongruentPoints405.indep
#print axioms CongruentPoints405.count

bsd/CongruentPoints406.lean

lean_all/bsd/CongruentPoints406.lean

/-
  bsd/CongruentPoints406.lean — T39 goal G619: points for congruent curves in 80001–80200 with Tunnell A = 2B
  (n = 80015, 80030, 80065, 80085, 80094, 80121, 80166, 80178, 80179, 80189), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints406
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (80015, true, 491985, 2, 262080975),
   (80030, true, 2416906, 3, 3586688504),
   (80065, false, 623365775, 93, 7529478872300),
   (80085, true, 22824225, 2, 109031322825),
   (80094, false, 28322, 1, 12608288),
   (80121, false, 377417, 9, 3980214352),
   (80166, false, 215433012, 137, 21856952698308),
   (80178, true, 2025366, 5, 413174664),
   (80179, true, 1435933, 3, 1487626588),
   (80189, true, 429777, 2, 187526031)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints406

#print axioms CongruentPoints406.on_curve
#print axioms CongruentPoints406.indep
#print axioms CongruentPoints406.count

bsd/CongruentPoints407.lean

lean_all/bsd/CongruentPoints407.lean

/-
  bsd/CongruentPoints407.lean — T39 goal G621: points for congruent curves in 80201–80400 with Tunnell A = 2B
  (n = 80201, 80234, 80274, 80290, 80294, 80295, 80319, 80321, 80322, 80366, 80373), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints407
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (80201, true, 172599689889, 455, 71374191343251588),
   (80234, true, 629442, 1, 495309144),
   (80274, false, 17408, 1, 10339264),
   (80290, true, 823690, 3, 358807400),
   (80294, false, 191558, 7, 1719942624),
   (80295, true, 1621959, 1, 2063131848),
   (80319, true, 124119407710321, 14103, 1371299358398920355960),
   (80321, false, 2734479, 7, 4680838800),
   (80322, true, 151930067025, 932, 52606063712089305),
   (80366, true, 448448, 1, 295447152),
   (80373, true, 10485793, 4, 33698544335)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints407

#print axioms CongruentPoints407.on_curve
#print axioms CongruentPoints407.indep
#print axioms CongruentPoints407.count

bsd/CongruentPoints408.lean

lean_all/bsd/CongruentPoints408.lean

/-
  bsd/CongruentPoints408.lean — T39 goal G622: points for congruent curves in 80401–80600 with Tunnell A = 2B
  (n = 80405, 80410, 80427, 80430, 80446, 80454, 80481, 80502, 80521, 80535, 80539, 80543, 80569), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints408
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (80405, true, 4040602515625, 6478, 4468427490071098125),
   (80410, false, 86496850, 59, 2475826181400),
   (80427, false, 111492323, 51, 1868976882080),
   (80430, true, 1834854, 1, 2483045208),
   (80446, false, 36518, 1, 13697784),
   (80454, true, 6784954, 7, 14384102480),
   (80481, true, 3112897, 4, 5000268511),
   (80502, true, 453750, 1, 300801600),
   (80521, true, 3242277481, 31, 184565935836360),
   (80535, true, 2036385, 4, 2250205425),
   (80539, true, 70064215570969, 10452, 581825576791831755005),
   (80543, true, 2387788225, 168, 35704465588385),
   (80569, true, 688231, 1, 567028440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints408

#print axioms CongruentPoints408.on_curve
#print axioms CongruentPoints408.indep
#print axioms CongruentPoints408.count

bsd/CongruentPoints409.lean

lean_all/bsd/CongruentPoints409.lean

/-
  bsd/CongruentPoints409.lean — T39 goal G623: points for congruent curves in 80601–80800 with Tunnell A = 2B
  (n = 80619, 80646, 80674, 80699, 80710, 80727, 80735, 80738, 80787, 80790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints409
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (80619, true, 84408093, 19, 727935394032),
   (80646, false, 223494, 31, 36638471520),
   (80674, true, 381467009, 46, 6662866265055),
   (80699, false, 25385828, 21, 125666683246),
   (80710, true, 117740, 1, 29414700),
   (80727, false, 47856911, 40, 829938106313),
   (80735, true, 143672453660, 1267, 23503123059585450),
   (80738, true, 195938, 1, 79026240),
   (80787, false, 15987, 1, 10012680),
   (80790, true, 936787174405852225, 863506, 904818765040074624222447425)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints409

#print axioms CongruentPoints409.on_curve
#print axioms CongruentPoints409.indep
#print axioms CongruentPoints409.count

bsd/CongruentPoints41.lean

lean_all/bsd/CongruentPoints41.lean

/-
  bsd/CongruentPoints41.lean — T39 goal G95: points for congruent curves in 7401–7600 with Tunnell A = 2B
  (n = 7410, 7415, 7417, 7426, 7429, 7430, 7446, 7449, 7455, 7462, 7469, 7473, 7494, 7495, 7498, 7503, 7511, 7527, 7535, 7561, 7565, 7579, 7585, 7589, 7590, 7591, 7599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints41
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (7410, true, 610090, 9, 85412600),
   (7415, true, 453903025, 129, 9306216171100),
   (7417, true, 2311874635225, 17304, 976599710046158435),
   (7426, false, 204711743, 168, 643318766369),
   (7429, false, 201571, 7, 136089780),
   (7430, false, 204020, 23, 1772943900),
   (7446, false, 385442, 11, 505584008),
   (7449, true, 474721, 2, 326437865),
   (7455, true, 143775, 1, 54442800),
   (7462, true, 679042, 3, 556814440),
   (7469, true, 8019, 1, 261360),
   (7473, true, 20727, 1, 2783340),
   (7494, true, 63948, 1, 16059708),
   (7495, true, 114169225, 122, 259529941725),
   (7498, false, 190463, 12, 463819265),
   (7503, true, 1075369, 10, 798872653),
   (7511, true, 1151329, 8, 1122545775),
   (7527, false, 900, 1, 224190),
   (7535, true, 401480640625, 3894, 243869498792849375),
   (7561, true, 154526305201321, 124031, 1264588889176363839480),
   (7565, true, 673285, 9, 228916900),
   (7579, true, 80613, 1, 22786608),
   (7585, false, 5184, 1, 398664),
   (7589, false, 828100, 97, 64974090090),
   (7590, true, 640090, 1, 512072000),
   (7591, true, 83168215321, 2863, 15914828394518040),
   (7599, true, 22201, 1, 3108140)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 27 := rfl

end CongruentPoints41

#print axioms CongruentPoints41.on_curve
#print axioms CongruentPoints41.indep
#print axioms CongruentPoints41.count

bsd/CongruentPoints410.lean

lean_all/bsd/CongruentPoints410.lean

/-
  bsd/CongruentPoints410.lean — T39 goal G625: points for congruent curves in 80801–81000 with Tunnell A = 2B
  (n = 80830, 80845, 80886, 80905, 80934, 80954, 80990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints410
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (80830, false, 33809891, 29, 342910410327),
   (80845, true, 520220, 1, 370656750),
   (80886, true, 7917312, 1, 22276346976),
   (80905, true, 106724695, 3, 1102522028300),
   (80934, true, 64702362, 23, 390214407024),
   (80954, true, 11870756209, 314, 957340879691625),
   (80990, true, 82810, 1, 4968600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints410

#print axioms CongruentPoints410.on_curve
#print axioms CongruentPoints410.indep
#print axioms CongruentPoints410.count

bsd/CongruentPoints411.lean

lean_all/bsd/CongruentPoints411.lean

/-
  bsd/CongruentPoints411.lean — T39 goal G626: points for congruent curves in 81001–81200 with Tunnell A = 2B
  (n = 81005, 81006, 81011, 81017, 81023, 81030, 81035, 81053, 81055, 81073, 81113, 81121, 81141, 81151, 81165, 81169, 81174, 81185), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints411
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (81005, false, 894916, 13, 12922892598),
   (81006, false, 20713823, 32, 365566169969),
   (81011, false, 1159400907, 673, 1248745752867228),
   (81017, true, 9730836025, 337, 312416777847720),
   (81023, true, 4391050225, 217, 144038660284560),
   (81030, true, 64790256, 19, 465334303896),
   (81035, false, 1669264, 5, 1483116516),
   (81053, false, 24661903, 232, 21664637013495),
   (81055, true, 27644294080, 541, 2359649962059000),
   (81073, true, 17790993, 4, 74841559815),
   (81113, false, 1073296, 5, 1782434892),
   (81121, true, 22323597463485564481, 96719, 105474208225281230117107403520),
   (81141, true, 128316, 1, 35607690),
   (81151, true, 3502540490530225, 201641, 69546533760269504862120),
   (81165, false, 63504, 1, 12737844),
   (81169, true, 39194892529, 678, 2376115761837025),
   (81174, true, 4491628, 1, 9517759732),
   (81185, true, 101400065, 14, 1008423646425)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints411

#print axioms CongruentPoints411.on_curve
#print axioms CongruentPoints411.indep
#print axioms CongruentPoints411.count

bsd/CongruentPoints412.lean

lean_all/bsd/CongruentPoints412.lean

/-
  bsd/CongruentPoints412.lean — T39 goal G627: points for congruent curves in 81201–81400 with Tunnell A = 2B
  (n = 81205, 81206, 81237, 81247, 81265, 81282, 81294, 81311, 81322, 81361, 81367, 81374), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints412
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (81205, false, 48400, 1, 14345100),
   (81206, true, 1806801053929, 4704, 253965981251139445),
   (81237, true, 15983280625, 362, 1507249029867425),
   (81247, true, 77887914620569, 27675, 413408309462048483128),
   (81265, true, 123950480223025, 38796, 223477163403448901975),
   (81282, true, 180918, 1, 68748840),
   (81294, true, 64791318, 11, 515479726008),
   (81311, true, 11785489, 7, 38077462800),
   (81322, true, 30823069225, 402, 4894928740965835),
   (81361, true, 1086652, 1, 1129574754),
   (81367, true, 12962782322915006569, 593275, 46670911445248865686717043628),
   (81374, true, 3162362, 1, 5621776104)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints412

#print axioms CongruentPoints412.on_curve
#print axioms CongruentPoints412.indep
#print axioms CongruentPoints412.count

bsd/CongruentPoints413.lean

lean_all/bsd/CongruentPoints413.lean

/-
  bsd/CongruentPoints413.lean — T39 goal G628: points for congruent curves in 81401–81600 with Tunnell A = 2B
  (n = 81401, 81403, 81426, 81434, 81437, 81445, 81469, 81481, 81489, 81490, 81510, 81534, 81535, 81543, 81590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints413
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (81401, true, 4999762681, 241, 114998297725080),
   (81403, true, 6640732, 9, 2034320750),
   (81426, true, 40428009, 4, 256919997195),
   (81434, true, 244328524, 17, 3801343710780),
   (81437, true, 99868316, 35, 46400116386),
   (81445, false, 194724971, 57, 2500258172608),
   (81469, false, 987908, 21, 35696446246),
   (81481, true, 173417, 1, 63748776),
   (81489, true, 68916303, 29, 60315261732),
   (81490, true, 25798329, 14, 102902212083),
   (81510, true, 481650, 1, 329448600),
   (81534, true, 193548, 1, 77225652),
   (81535, false, 42849, 1, 14359176),
   (81543, true, 2041116, 5, 145462086),
   (81590, false, 20913156959, 1020, 11897343847104911)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints413

#print axioms CongruentPoints413.on_curve
#print axioms CongruentPoints413.indep
#print axioms CongruentPoints413.count

bsd/CongruentPoints414.lean

lean_all/bsd/CongruentPoints414.lean

/-
  bsd/CongruentPoints414.lean — T39 goal G629: points for congruent curves in 81601–81800 with Tunnell A = 2B
  (n = 81601, 81606, 81655, 81669, 81679, 81686, 81687, 81690, 81713, 81726, 81739, 81751, 81779), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints414
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (81601, true, 595408801, 85, 2030146704924),
   (81606, true, 2464014, 5, 2168912088),
   (81655, false, 3980025, 37, 222871065900),
   (81669, false, 1550883, 7, 4594125276),
   (81679, true, 216119401, 30, 2987730552851),
   (81686, true, 30449918, 19, 41886047112),
   (81687, true, 297690382047, 1163, 150821593180280640),
   (81690, false, 23362115, 29, 312274414025),
   (81713, true, 83025, 1, 4236120),
   (81726, true, 1345776, 1, 1558320840),
   (81739, true, 61728162262437841, 205134, 15312628983732770524392305),
   (81751, true, 9703081710529, 7490, 26635549585191427833),
   (81779, true, 8102693, 7, 20046518388)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints414

#print axioms CongruentPoints414.on_curve
#print axioms CongruentPoints414.indep
#print axioms CongruentPoints414.count

bsd/CongruentPoints415.lean

lean_all/bsd/CongruentPoints415.lean

/-
  bsd/CongruentPoints415.lean — T39 goal G630: points for congruent curves in 81801–82000 with Tunnell A = 2B
  (n = 81814, 81842, 81851, 81926, 81934, 81941, 81959, 81978), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints415
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (81814, true, 821142, 1, 740390784),
   (81842, true, 29233600, 7, 156566258640),
   (81851, true, 116699, 1, 28415640),
   (81926, true, 24495874, 5, 120813650568),
   (81934, true, 92016, 1, 12703320),
   (81941, true, 100213843, 33, 456574268708),
   (81959, true, 133209, 1, 38326800),
   (81978, false, 61347, 1, 13468455)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints415

#print axioms CongruentPoints415.on_curve
#print axioms CongruentPoints415.indep
#print axioms CongruentPoints415.count

bsd/CongruentPoints416.lean

lean_all/bsd/CongruentPoints416.lean

/-
  bsd/CongruentPoints416.lean — T39 goal G632: points for congruent curves in 82001–82200 with Tunnell A = 2B
  (n = 82005, 82023, 82041, 82042, 82045, 82061, 82095, 82099, 82110, 82121, 82181), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints416
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (82005, true, 12476475, 7, 41721332400),
   (82023, true, 19373673, 7, 83419114680),
   (82041, true, 174087, 1, 64064016),
   (82042, true, 208658, 1, 87636360),
   (82045, false, 6400, 1, 6543600),
   (82061, true, 1086652, 3, 830910934),
   (82095, true, 4119198720, 197, 167573141517600),
   (82099, true, 555025, 2, 333348015),
   (82110, true, 84525, 1, 5832225),
   (82121, true, 42023770009, 102, 8612966138873525),
   (82181, true, 28023721, 10, 141828051981)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints416

#print axioms CongruentPoints416.on_curve
#print axioms CongruentPoints416.indep
#print axioms CongruentPoints416.count

bsd/CongruentPoints417.lean

lean_all/bsd/CongruentPoints417.lean

/-
  bsd/CongruentPoints417.lean — T39 goal G633: points for congruent curves in 82201–82400 with Tunnell A = 2B
  (n = 82205, 82230, 82246, 82254, 82259, 82263, 82274, 82290, 82297, 82302, 82309, 82334, 82335, 82346, 82381, 82390, 82394, 82399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints417
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (82205, false, 60516, 1, 13686702),
   (82230, true, 346275267889012225, 20178, 203766229283160485700178975),
   (82246, false, 19942, 7, 569101728),
   (82254, false, 79350, 1, 6102360),
   (82259, true, 3659569, 4, 6532330665),
   (82263, true, 2601769, 5, 2570547772),
   (82274, false, 5542862, 27, 140603018192),
   (82290, false, 2275290, 7, 5021379000),
   (82297, true, 1088153, 1, 1131851160),
   (82302, true, 390225, 2, 130881465),
   (82309, true, 172197, 1, 62764296),
   (82334, false, 2039184, 5, 400179864),
   (82335, true, 59760240, 17, 423774801900),
   (82346, true, 7064334178, 201, 523790262655352),
   (82381, true, 904148669974225, 44574, 26737711761544934645105),
   (82390, true, 7687134, 5, 20533756152),
   (82394, false, 1557504, 5, 1682331456),
   (82399, true, 91191302896, 127, 27534931753847460)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints417

#print axioms CongruentPoints417.on_curve
#print axioms CongruentPoints417.indep
#print axioms CongruentPoints417.count

bsd/CongruentPoints418.lean

lean_all/bsd/CongruentPoints418.lean

/-
  bsd/CongruentPoints418.lean — T39 goal G634: points for congruent curves in 82401–82600 with Tunnell A = 2B
  (n = 82402, 82410, 82415, 82438, 82445, 82446, 82470, 82535, 82551, 82555, 82574, 82585), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints418
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (82402, false, 79202, 1, 6399840),
   (82410, true, 1656441, 4, 1290367539),
   (82415, true, 222865, 1, 97753200),
   (82438, true, 28538494, 15, 115863799528),
   (82445, true, 472845025, 58, 8327573598825),
   (82446, true, 131118, 1, 36917712),
   (82470, true, 83205, 1, 3183075),
   (82535, true, 33490830025, 582, 3374768166926275),
   (82551, false, 22743, 2, 49679091),
   (82555, true, 3783025, 2, 7329897825),
   (82574, true, 4300162, 3, 8782996384),
   (82585, true, 840775, 3, 360369100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints418

#print axioms CongruentPoints418.on_curve
#print axioms CongruentPoints418.indep
#print axioms CongruentPoints418.count

bsd/CongruentPoints419.lean

lean_all/bsd/CongruentPoints419.lean

/-
  bsd/CongruentPoints419.lean — T39 goal G635: points for congruent curves in 82601–82800 with Tunnell A = 2B
  (n = 82615, 82621, 82639, 82645, 82677, 82678, 82685, 82695, 82739, 82767, 82771, 82786, 82794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints419
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (82615, true, 3660855025, 159, 181914418917100),
   (82621, false, 204687, 4, 590861943),
   (82639, true, 3434077201, 79, 198957844359120),
   (82645, false, 262205, 9, 3425221700),
   (82677, false, 6627, 1, 6708780),
   (82678, true, 141772, 1, 43363740),
   (82685, false, 19425915, 17, 61333899900),
   (82695, true, 22434856320593809, 194005, 3327857764467764397132248),
   (82739, true, 91400533, 17, 843389493828),
   (82767, true, 82908, 1, 1391670),
   (82771, true, 2667619201, 162, 79973541696295),
   (82786, true, 1996236, 1, 2818019820),
   (82794, true, 231852, 1, 104278356)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints419

#print axioms CongruentPoints419.on_curve
#print axioms CongruentPoints419.indep
#print axioms CongruentPoints419.count

bsd/CongruentPoints42.lean

lean_all/bsd/CongruentPoints42.lean

/-
  bsd/CongruentPoints42.lean — T39 goal G96: points for congruent curves in 7601–7800 with Tunnell A = 2B
  (n = 7602, 7609, 7611, 7633, 7655, 7658, 7670, 7685, 7689, 7701, 7707, 7721, 7734, 7735, 7747, 7766, 7769, 7779, 7782, 7795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints42
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (7602, false, 30211454, 115, 527057550656),
   (7609, true, 8270983, 31, 11116201152),
   (7611, true, 271803, 1, 141648192),
   (7633, false, 3025, 1, 385440),
   (7655, true, 14326225, 38, 34494162225),
   (7658, false, 2540258, 107, 139681687320),
   (7670, true, 1201850, 11, 837158400),
   (7685, true, 733149, 7, 538620132),
   (7689, false, 480249, 25, 3313626624),
   (7701, true, 1162851, 7, 1186108020),
   (7707, false, 507, 1, 173160),
   (7721, true, 69839449, 41, 573481073880),
   (7734, false, 2036162, 43, 20197588888),
   (7735, true, 48841, 2, 8351811),
   (7747, true, 74725, 1, 20316660),
   (7766, true, 447458, 7, 157463592),
   (7769, true, 208849, 5, 35086632),
   (7779, true, 340707, 1, 198819216),
   (7782, true, 3053522267929225, 377188, 157251638254114562168485),
   (7795, true, 453005, 1, 304852800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints42

#print axioms CongruentPoints42.on_curve
#print axioms CongruentPoints42.indep
#print axioms CongruentPoints42.count

bsd/CongruentPoints420.lean

lean_all/bsd/CongruentPoints420.lean

/-
  bsd/CongruentPoints420.lean — T39 goal G636: points for congruent curves in 82801–83000 with Tunnell A = 2B
  (n = 82815, 82821, 82823, 82830, 82831, 82838, 82894, 82895, 82902, 82915, 82942, 82945, 82965), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints420
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (82815, true, 342015, 1, 194065200),
   (82821, true, 2111209, 2, 3029584915),
   (82823, true, 2245338698850025, 12282, 106393738406764391977555),
   (82830, true, 295245, 1, 153983025),
   (82831, true, 9693765292800241, 19967, 954412745509177406171280),
   (82838, false, 1372500, 7, 4475246700),
   (82894, true, 110829278, 29, 907026811152),
   (82895, true, 67743761, 28, 157366825209),
   (82902, true, 673548, 1, 548577540),
   (82915, false, 17792915, 39, 526647325400),
   (82942, true, 7868577025, 308, 6742488427905),
   (82945, false, 576, 1, 1990632),
   (82965, true, 4439040, 1, 9350992800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints420

#print axioms CongruentPoints420.on_curve
#print axioms CongruentPoints420.indep
#print axioms CongruentPoints420.count

bsd/CongruentPoints421.lean

lean_all/bsd/CongruentPoints421.lean

/-
  bsd/CongruentPoints421.lean — T39 goal G639: points for congruent curves in 83001–83200 with Tunnell A = 2B
  (n = 83085, 83089, 83091, 83111, 83129, 83135, 83139, 83143, 83157, 83159, 83174, 83190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints421
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (83085, false, 14007725, 13, 3635558900),
   (83089, true, 2136814734268939729, 3669919, 2660955832944438888297290640),
   (83091, false, 3988227, 7, 1635664248),
   (83111, true, 89383, 1, 9833712),
   (83129, true, 71241553, 4, 601207465767),
   (83135, true, 318259581025, 597, 178764741802150100),
   (83139, false, 16058259, 25, 198032771664),
   (83143, true, 93025, 1, 12725820),
   (83157, false, 741865563, 803, 1460329771003740),
   (83159, true, 5534937, 7, 8812721184),
   (83174, false, 12629163924, 1649, 25376869875382740),
   (83190, true, 104076, 1, 20175876)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints421

#print axioms CongruentPoints421.on_curve
#print axioms CongruentPoints421.indep
#print axioms CongruentPoints421.count

bsd/CongruentPoints422.lean

lean_all/bsd/CongruentPoints422.lean

/-
  bsd/CongruentPoints422.lean — T39 goal G640: points for congruent curves in 83201–83400 with Tunnell A = 2B
  (n = 83213, 83215, 83245, 83265, 83266, 83293, 83321, 83334, 83335, 83345, 83390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints422
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (83213, true, 43457656225, 178, 9042712492825335),
   (83215, true, 2289169, 1, 3461223528),
   (83245, false, 40000, 1, 14601000),
   (83265, true, 93025, 1, 12651400),
   (83266, false, 34, 1, 485520),
   (83293, false, 8538372, 11, 15646317030),
   (83321, true, 693426889, 71, 14529113724840),
   (83334, false, 18818, 1, 11136376),
   (83335, true, 447642621721, 1426, 277210405379489931),
   (83345, true, 197500, 1, 79572750),
   (83390, true, 2326581, 1, 3546484971)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints422

#print axioms CongruentPoints422.on_curve
#print axioms CongruentPoints422.indep
#print axioms CongruentPoints422.count

bsd/CongruentPoints423.lean

lean_all/bsd/CongruentPoints423.lean

/-
  bsd/CongruentPoints423.lean — T39 goal G641: points for congruent curves in 83401–83600 with Tunnell A = 2B
  (n = 83405, 83410, 83415, 83419, 83426, 83433, 83446, 83505, 83510, 83559, 83569, 83585, 83589), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints423
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (83405, false, 18605, 1, 11089800),
   (83410, true, 1187500, 3, 1002677500),
   (83415, true, 34617225, 11, 194825742300),
   (83419, false, 72214079, 180, 22959681333281),
   (83426, false, 647150, 3, 306273520),
   (83433, true, 131383, 1, 36787240),
   (83446, false, 12150611, 25, 176793505713),
   (83505, true, 85849, 1, 5837732),
   (83510, true, 212940, 1, 90390300),
   (83559, false, 6681983, 13, 32158214704),
   (83569, false, 14400, 1, 9878280),
   (83585, false, 4624, 1, 5675076),
   (83589, true, 22898337, 16, 39000541041)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints423

#print axioms CongruentPoints423.on_curve
#print axioms CongruentPoints423.indep
#print axioms CongruentPoints423.count

bsd/CongruentPoints424.lean

lean_all/bsd/CongruentPoints424.lean

/-
  bsd/CongruentPoints424.lean — T39 goal G642: points for congruent curves in 83601–83800 with Tunnell A = 2B
  (n = 83614, 83629, 83670, 83681, 83694, 83715, 83753, 83762, 83766, 83793), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints424
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (83614, true, 12501457, 12, 11893342951),
   (83629, false, 3603691, 127, 2560569500580),
   (83670, true, 24223854735621025, 81508, 3769211499453616870716175),
   (83681, false, 82369, 1, 4236120),
   (83694, true, 560106, 1, 414478440),
   (83715, true, 126960, 1, 34010100),
   (83753, true, 672105625, 67, 14443148199300),
   (83762, true, 114688, 1, 26530560),
   (83766, false, 5059103, 52, 509334234031),
   (83793, false, 69632, 1, 12299840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints424

#print axioms CongruentPoints424.on_curve
#print axioms CongruentPoints424.indep
#print axioms CongruentPoints424.count

bsd/CongruentPoints425.lean

lean_all/bsd/CongruentPoints425.lean

/-
  bsd/CongruentPoints425.lean — T39 goal G644: points for congruent curves in 83801–84000 with Tunnell A = 2B
  (n = 83830, 83845, 83846, 83855, 83886, 83895, 83902, 83930, 83971), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints425
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (83830, true, 6994358749225, 2058, 18474027418894332725),
   (83845, false, 10404, 1, 8486094),
   (83846, true, 62046153, 22, 369702044517),
   (83855, true, 1406625025, 22, 52733507134425),
   (83886, true, 833776, 3, 323088200),
   (83895, true, 7201404, 5, 18487497042),
   (83902, true, 503874082017583225, 366388, 357581058199858120482058035),
   (83930, false, 2420, 3, 37159100),
   (83971, false, 1241911571, 151, 51352894221720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints425

#print axioms CongruentPoints425.on_curve
#print axioms CongruentPoints425.indep
#print axioms CongruentPoints425.count

bsd/CongruentPoints426.lean

lean_all/bsd/CongruentPoints426.lean

/-
  bsd/CongruentPoints426.lean — T39 goal G645: points for congruent curves in 84001–84200 with Tunnell A = 2B
  (n = 84009, 84070, 84082, 84101, 84109, 84134, 84135, 84151, 84167, 84170, 84174, 84183), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints426
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (84009, false, 41, 1, 537920),
   (84070, true, 436870, 1, 283357200),
   (84082, false, 2039184, 5, 728619864),
   (84101, false, 40293, 1, 14818056),
   (84109, true, 2440854025, 96, 114347902982885),
   (84134, false, 4887983, 24, 106595383769),
   (84135, true, 333775, 1, 186605900),
   (84151, false, 1942633188, 527, 1026527097214806),
   (84167, true, 147033, 1, 46228440),
   (84170, true, 14914924, 3, 57526861868),
   (84174, false, 507, 1, 1895283),
   (84183, false, 3507108, 7, 4066685370)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints426

#print axioms CongruentPoints426.on_curve
#print axioms CongruentPoints426.indep
#print axioms CongruentPoints426.count

bsd/CongruentPoints427.lean

lean_all/bsd/CongruentPoints427.lean

/-
  bsd/CongruentPoints427.lean — T39 goal G647: points for congruent curves in 84201–84400 with Tunnell A = 2B
  (n = 84245, 84254, 84255, 84279, 84315, 84323, 84326, 84334, 84346, 84349, 84351, 84354, 84390, 84391, 84395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints427
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (84245, true, 126842110201, 230, 45146799199055301),
   (84254, true, 1230458016073225, 5268, 43161786855783164402405),
   (84255, true, 207390097092025, 8106, 2985569803407001573925),
   (84279, true, 2088763203534121, 17600, 95455265270378698218581),
   (84315, true, 11015235, 1, 36557621100),
   (84323, true, 20968973, 7, 94138354080),
   (84326, false, 4327682, 9, 10993324328),
   (84334, false, 198425684, 51, 1317121835140),
   (84346, true, 99294219850, 363, 31091965933052080),
   (84349, true, 116411779560807025, 727122, 36688678969353222831954335),
   (84351, false, 16474671, 14, 5622066225),
   (84354, false, 14323314162, 1781, 31976588071993248),
   (84390, false, 63504, 1, 14005656),
   (84391, true, 106133259961, 673, 32256039119301480),
   (84395, true, 66234938095225, 2698, 539028863567984545275)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints427

#print axioms CongruentPoints427.on_curve
#print axioms CongruentPoints427.indep
#print axioms CongruentPoints427.count

bsd/CongruentPoints428.lean

lean_all/bsd/CongruentPoints428.lean

/-
  bsd/CongruentPoints428.lean — T39 goal G649: points for congruent curves in 84401–84600 with Tunnell A = 2B
  (n = 84413, 84434, 84449, 84455, 84461, 84507, 84534, 84535, 84545, 84565, 84570, 84581, 84585), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints428
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (84413, true, 21831292, 3, 101942676710),
   (84434, true, 983053, 3, 618340337),
   (84449, true, 2061042110689, 3969, 2259988443745248320),
   (84455, false, 1391285889, 419, 550606290656184),
   (84461, true, 20038452403489, 15010, 28110432162740258487),
   (84507, true, 140028099, 5, 1656812467368),
   (84534, true, 102966, 1, 18864000),
   (84535, true, 10920385, 9, 28112191100),
   (84545, false, 18496, 1, 11219592),
   (84565, true, 1900665, 2, 2578513275),
   (84570, false, 54150, 1, 15116400),
   (84581, false, 83167, 4, 389535153),
   (84585, true, 10634460, 11, 9418127850)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints428

#print axioms CongruentPoints428.on_curve
#print axioms CongruentPoints428.indep
#print axioms CongruentPoints428.count

bsd/CongruentPoints429.lean

lean_all/bsd/CongruentPoints429.lean

/-
  bsd/CongruentPoints429.lean — T39 goal G650: points for congruent curves in 84601–84800 with Tunnell A = 2B
  (n = 84606, 84615, 84621, 84630, 84651, 84667, 84686, 84687, 84693, 84694, 84706, 84714, 84761, 84791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints429
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (84606, true, 6740278, 1, 17497761688),
   (84615, false, 11695335, 47, 637966087200),
   (84621, true, 45765887972401, 15190, 280017972169781686399),
   (84630, true, 124930, 1, 32481800),
   (84651, false, 302847, 26, 31490847207),
   (84667, true, 119480531, 35, 648364245696),
   (84686, true, 101614, 1, 17901360),
   (84687, true, 6180752973595225, 194081, 416199040940023237409140),
   (84693, true, 1746507, 1, 2305389240),
   (84694, true, 765850, 3, 64944080),
   (84706, true, 27040272850, 173, 4426897168883280),
   (84714, false, 70602, 1, 12439728),
   (84761, true, 3530434671686521, 203320, 25652612545956602063181),
   (84791, true, 769119289, 73, 17260867223160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints429

#print axioms CongruentPoints429.on_curve
#print axioms CongruentPoints429.indep
#print axioms CongruentPoints429.count

bsd/CongruentPoints43.lean

lean_all/bsd/CongruentPoints43.lean

/-
  bsd/CongruentPoints43.lean — T39 goal G97: points for congruent curves in 7801–8000 with Tunnell A = 2B
  (n = 7805, 7819, 7837, 7847, 7854, 7863, 7870, 7871, 7874, 7878, 7881, 7885, 7886, 7910, 7917, 7926, 7949, 7966, 7982, 7991, 7995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints43
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (7805, true, 12183605, 11, 42398945400),
   (7819, false, 1695204, 29, 8272276530),
   (7837, true, 12364822813225, 10148, 43386512848116550485),
   (7847, true, 458752, 3, 307014400),
   (7854, true, 12138, 1, 1019592),
   (7863, false, 29241, 5, 33240348),
   (7870, false, 69620, 3, 3439700),
   (7871, false, 268133023, 688, 60849120622191),
   (7874, true, 7753922, 1, 21591455424),
   (7878, true, 795678, 7, 620628840),
   (7881, true, 3845521, 22, 957389615),
   (7885, true, 130891, 3, 39790864),
   (7886, true, 7769682, 1, 21657316464),
   (7910, true, 48734, 1, 10615752),
   (7917, true, 2881788, 19, 626788890),
   (7926, false, 1255827, 13, 522200817),
   (7949, true, 86502456769, 3290, 2625043297484103),
   (7966, false, 1254400, 13, 547404480),
   (7982, true, 1225237, 3, 1353886885),
   (7991, true, 2443359765625, 7566, 3751746155449373125),
   (7995, true, 42025, 2, 5589325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints43

#print axioms CongruentPoints43.on_curve
#print axioms CongruentPoints43.indep
#print axioms CongruentPoints43.count

bsd/CongruentPoints430.lean

lean_all/bsd/CongruentPoints430.lean

/-
  bsd/CongruentPoints430.lean — T39 goal G651: points for congruent curves in 84801–85000 with Tunnell A = 2B
  (n = 84841, 84853, 84854, 84882, 84909, 84931, 84937, 84949, 84958, 84990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints430
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (84841, true, 2848267157761, 198, 4806963087506230105),
   (84853, false, 35898437, 23, 161456600880),
   (84854, true, 77514129, 26, 459012833895),
   (84882, true, 6527094, 5, 15769634328),
   (84909, true, 6847900, 3, 17807993090),
   (84931, false, 660275, 3, 312932620),
   (84937, false, 1207801, 5, 1919368332),
   (84949, true, 32855275, 3, 188273867860),
   (84958, true, 67456652, 13, 541339632300),
   (84990, false, 31974, 1, 14080824)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints430

#print axioms CongruentPoints430.on_curve
#print axioms CongruentPoints430.indep
#print axioms CongruentPoints430.count

bsd/CongruentPoints431.lean

lean_all/bsd/CongruentPoints431.lean

/-
  bsd/CongruentPoints431.lean — T39 goal G652: points for congruent curves in 85001–85200 with Tunnell A = 2B
  (n = 85006, 85065, 85070, 85079, 85085, 85090, 85106, 85110, 85115, 85129, 85191, 85195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints431
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (85006, false, 18039398, 29, 293812623624),
   (85065, true, 171735, 1, 61824600),
   (85070, true, 40002000025, 616, 4725118962020925),
   (85079, true, 25340803621225, 3914, 127395878496809303955),
   (85085, true, 715715, 1, 601200600),
   (85090, true, 365257334, 7, 6980236233048),
   (85106, false, 130822031359, 1240, 1124756980157439),
   (85110, true, 262180808972043025, 1051682, 125294521843409074882379225),
   (85115, true, 1102725, 1, 1154524800),
   (85129, true, 14661342025, 366, 1115776139581565),
   (85191, true, 5496182556, 35, 407392868804454),
   (85195, false, 1936, 1, 3747612)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints431

#print axioms CongruentPoints431.on_curve
#print axioms CongruentPoints431.indep
#print axioms CongruentPoints431.count

bsd/CongruentPoints432.lean

lean_all/bsd/CongruentPoints432.lean

/-
  bsd/CongruentPoints432.lean — T39 goal G653: points for congruent curves in 85201–85400 with Tunnell A = 2B
  (n = 85210, 85215, 85226, 85251, 85254, 85295, 85314, 85318, 85321, 85386), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints432
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (85210, true, 3260410, 1, 5885182800),
   (85215, true, 86151, 1, 3717324),
   (85226, true, 17183574, 7, 69095650800),
   (85251, true, 98283, 1, 15332148),
   (85254, false, 83667, 1, 4735953),
   (85295, true, 674498502689881, 77423, 11425377201451675269396),
   (85314, true, 3187225, 2, 5657379805),
   (85318, true, 62751389, 5, 496802746713),
   (85321, true, 177555625, 4, 2365858773525),
   (85386, true, 1282288, 3, 1162394072)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints432

#print axioms CongruentPoints432.on_curve
#print axioms CongruentPoints432.indep
#print axioms CongruentPoints432.count

bsd/CongruentPoints433.lean

lean_all/bsd/CongruentPoints433.lean

/-
  bsd/CongruentPoints433.lean — T39 goal G654: points for congruent curves in 85401–85600 with Tunnell A = 2B
  (n = 85405, 85415, 85443, 85463, 85467, 85470, 85539, 85553, 85559, 85561, 85585), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints433
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (85405, true, 1701150025, 118, 50172710603325),
   (85415, true, 2411809, 3, 3550182848),
   (85443, true, 128079057, 32, 1058573406105),
   (85463, true, 126554505025, 551, 44064750410451420),
   (85467, false, 20667, 1, 11922120),
   (85470, true, 89100, 1, 7514100),
   (85539, false, 1076403, 7, 4202737344),
   (85553, true, 1225561814400625, 65826, 40894685036566816858975),
   (85559, true, 5149400254441, 7018, 6715805750196092205),
   (85561, false, 76313, 1, 10688376),
   (85585, true, 214466510065, 622, 98129721378077025)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints433

#print axioms CongruentPoints433.on_curve
#print axioms CongruentPoints433.indep
#print axioms CongruentPoints433.count

bsd/CongruentPoints434.lean

lean_all/bsd/CongruentPoints434.lean

/-
  bsd/CongruentPoints434.lean — T39 goal G657: points for congruent curves in 85601–85800 with Tunnell A = 2B
  (n = 85610, 85629, 85646, 85655, 85690, 85702, 85705, 85766, 85767, 85785, 85791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints434
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (85610, true, 4219614, 5, 7470084888),
   (85629, true, 152421, 1, 49228740),
   (85646, false, 4968403, 109, 2268105810399),
   (85655, true, 1671583225, 87, 62993001172400),
   (85690, false, 1361610, 13, 16823448000),
   (85702, false, 3080162, 9, 10918268360),
   (85705, true, 469225, 2, 219463725),
   (85766, true, 2478186, 5, 1956114816),
   (85767, true, 537993, 2, 303966045),
   (85785, true, 86640, 1, 3573900),
   (85791, false, 6084, 1, 6674850)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints434

#print axioms CongruentPoints434.on_curve
#print axioms CongruentPoints434.indep
#print axioms CongruentPoints434.count

bsd/CongruentPoints435.lean

lean_all/bsd/CongruentPoints435.lean

/-
  bsd/CongruentPoints435.lean — T39 goal G658: points for congruent curves in 85801–86000 with Tunnell A = 2B
  (n = 85839, 85873, 85899, 85930, 85962, 85971, 85974, 85990, 85994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints435
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (85839, true, 3145584, 5, 4079036052),
   (85873, true, 712975, 1, 597638160),
   (85899, true, 112651, 1, 24461360),
   (85930, true, 187850, 1, 72399600),
   (85962, true, 576738, 1, 433101240),
   (85971, true, 501843, 1, 350254512),
   (85974, true, 26780901, 1, 138591162675),
   (85990, true, 894010, 1, 841386000),
   (85994, true, 98838, 1, 15317952)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints435

#print axioms CongruentPoints435.on_curve
#print axioms CongruentPoints435.indep
#print axioms CongruentPoints435.count

bsd/CongruentPoints436.lean

lean_all/bsd/CongruentPoints436.lean

/-
  bsd/CongruentPoints436.lean — T39 goal G660: points for congruent curves in 86001–86200 with Tunnell A = 2B
  (n = 86001, 86019, 86037, 86071, 86073, 86086, 86095, 86110, 86173, 86195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints436
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (86001, false, 839856047, 204, 100824724552103),
   (86019, true, 124656, 1, 31854060),
   (86037, false, 414239, 20, 22148242991),
   (86071, true, 253348119449569, 9842, 4030335858834054429225),
   (86073, true, 58907199, 25, 184216663332),
   (86086, true, 1137150, 1, 1209145560),
   (86095, true, 197949845386225, 11557, 2780345198157793241100),
   (86110, true, 747915910, 19, 20436367942200),
   (86173, false, 492804, 5, 1472236506),
   (86195, false, 141896984479, 2728, 235647518865674769)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints436

#print axioms CongruentPoints436.on_curve
#print axioms CongruentPoints436.indep
#print axioms CongruentPoints436.count

bsd/CongruentPoints437.lean

lean_all/bsd/CongruentPoints437.lean

/-
  bsd/CongruentPoints437.lean — T39 goal G661: points for congruent curves in 86201–86400 with Tunnell A = 2B
  (n = 86205, 86270, 86281, 86295, 86305, 86315, 86335, 86339, 86366, 86370, 86385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints437
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (86205, true, 29182133841, 250, 4899418485059889),
   (86270, false, 456020, 3, 424355300),
   (86281, true, 256144906849, 1086, 118967828795822825),
   (86295, false, 3330750081, 769, 2938883141385828),
   (86305, true, 3553225, 2, 6666142275),
   (86315, true, 25018697929, 90, 3955737021601283),
   (86335, true, 970225, 3, 572304700),
   (86339, false, 533292623, 96, 13637423117591),
   (86366, true, 9721600, 1, 30310247520),
   (86370, true, 360150, 1, 209827800),
   (86385, false, 1115465, 11, 10976516200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints437

#print axioms CongruentPoints437.on_curve
#print axioms CongruentPoints437.indep
#print axioms CongruentPoints437.count

bsd/CongruentPoints438.lean

lean_all/bsd/CongruentPoints438.lean

/-
  bsd/CongruentPoints438.lean — T39 goal G662: points for congruent curves in 86401–86600 with Tunnell A = 2B
  (n = 86410, 86435, 86469, 86478, 86479, 86487, 86489, 86541, 86554, 86559, 86574, 86578), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints438
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (86410, false, 79210, 1, 9718800),
   (86435, true, 43204448315, 589, 6465172311019800),
   (86469, false, 4100, 1, 5530490),
   (86478, true, 211722, 1, 88923240),
   (86479, true, 16226993, 1, 65365848912),
   (86487, true, 6544183, 3, 16622224820),
   (86489, true, 603046249, 54, 13451744686445),
   (86541, true, 62705136, 23, 339313167180),
   (86554, false, 67600, 1, 14054040),
   (86559, true, 25597308, 7, 127716262542),
   (86574, false, 3008423, 6, 1412282179),
   (86578, true, 95922, 1, 12789600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints438

#print axioms CongruentPoints438.on_curve
#print axioms CongruentPoints438.indep
#print axioms CongruentPoints438.count

bsd/CongruentPoints439.lean

lean_all/bsd/CongruentPoints439.lean

/-
  bsd/CongruentPoints439.lean — T39 goal G663: points for congruent curves in 86601–86800 with Tunnell A = 2B
  (n = 86614, 86619, 86655, 86658, 86663, 86666, 86671, 86674, 86682, 86686, 86705, 86710, 86749, 86759, 86790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints439
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (86614, true, 236282992, 51, 1095289809416),
   (86619, false, 85683, 1, 3717324),
   (86655, true, 7088032380, 259, 341468314322850),
   (86658, true, 2917486, 5, 3337603984),
   (86663, true, 8094025, 7, 19603802520),
   (86666, true, 28773147127479049, 155956, 4867573107072647386922085),
   (86671, true, 105625, 1, 19620900),
   (86674, true, 45807209, 4, 309885768885),
   (86682, true, 421350, 1, 267654240),
   (86686, true, 106713225, 22, 1013593299195),
   (86705, true, 141100781602225, 33968, 1181960932825676373225),
   (86710, true, 817521890, 17, 23363879701800),
   (86749, false, 10933, 1, 8998236),
   (86759, true, 4035933841, 201, 127100603817980),
   (86790, true, 87846, 1, 4024944)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints439

#print axioms CongruentPoints439.on_curve
#print axioms CongruentPoints439.indep
#print axioms CongruentPoints439.count

bsd/CongruentPoints44.lean

lean_all/bsd/CongruentPoints44.lean

/-
  bsd/CongruentPoints44.lean — T39 goal G98: points for congruent curves in 8001–8200 with Tunnell A = 2B
  (n = 8005, 8013, 8015, 8029, 8054, 8070, 8086, 8090, 8094, 8103, 8106, 8119, 8122, 8126, 8133, 8138, 8149, 8151, 8162, 8165, 8169, 8170, 8194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints44
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (8005, true, 2563201, 4, 4098558399),
   (8013, false, 154587, 7, 141906780),
   (8015, true, 249273732444025, 34077, 3932890317941198782400),
   (8029, true, 174748, 3, 66511522),
   (8054, false, 5438402, 27, 5160459752),
   (8070, false, 3415104, 485, 3507989428944),
   (8086, true, 55345706, 23, 410511126480),
   (8090, false, 577600, 13, 941799600),
   (8094, true, 92271600, 89, 637439894280),
   (8103, false, 21980775, 401, 6107933192760),
   (8106, true, 37249, 2, 3538655),
   (8119, true, 32959081, 1, 189218078280),
   (8122, true, 34322, 1, 6177960),
   (8126, true, 62082657, 4, 489164003601),
   (8133, true, 1611867, 1, 2046389400),
   (8138, true, 54375244225, 1482, 11974903624734335),
   (8149, true, 2362369, 10, 3408096153),
   (8151, true, 11797500, 7, 40498222050),
   (8162, false, 6727, 2, 2620275),
   (8165, true, 238844, 1, 116658822),
   (8169, true, 151321, 3, 51449140),
   (8170, true, 9245, 1, 416025),
   (8194, false, 256, 1, 131040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 23 := rfl

end CongruentPoints44

#print axioms CongruentPoints44.on_curve
#print axioms CongruentPoints44.indep
#print axioms CongruentPoints44.count

bsd/CongruentPoints440.lean

lean_all/bsd/CongruentPoints440.lean

/-
  bsd/CongruentPoints440.lean — T39 goal G664: points for congruent curves in 86801–87000 with Tunnell A = 2B
  (n = 86801, 86835, 86845, 86853, 86865, 86870, 86879, 86899, 86905, 86919, 86946, 86955, 86970, 86979), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints440
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (86801, true, 567567, 1, 422558136),
   (86835, false, 557949, 11, 7837259724),
   (86845, true, 128709025, 38, 328771122825),
   (86853, true, 454597, 1, 300860560),
   (86865, false, 52215, 2, 78495075),
   (86870, true, 1540081, 2, 1861957929),
   (86879, false, 239121, 5, 1055639508),
   (86899, true, 7473419400021481, 114912, 638408219016722221767925),
   (86905, true, 65364975, 11, 521583449400),
   (86919, false, 7285749252, 643, 3003721914929742),
   (86946, true, 619458, 1, 482722128),
   (86955, false, 1093455, 4, 899541225),
   (86970, true, 11636586, 11, 16942869216),
   (86979, true, 42561724, 13, 260584155190)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints440

#print axioms CongruentPoints440.on_curve
#print axioms CongruentPoints440.indep
#print axioms CongruentPoints440.count

bsd/CongruentPoints441.lean

lean_all/bsd/CongruentPoints441.lean

/-
  bsd/CongruentPoints441.lean — T39 goal G665: points for congruent curves in 87001–87200 with Tunnell A = 2B
  (n = 87002, 87014, 87042, 87054, 87061, 87087, 87106, 87110, 87113, 87141), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints441
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (87002, true, 141996161, 40, 333947273409),
   (87014, true, 54470764, 25, 22714308588),
   (87042, true, 478242, 1, 325204560),
   (87054, false, 2603738975, 252, 248843609161615),
   (87061, true, 764725, 1, 664393080),
   (87087, true, 121419375, 31, 969334581600),
   (87106, true, 31820850, 19, 27497614320),
   (87110, false, 453871, 8, 3743434233),
   (87113, true, 324427072225, 1767, 100726880744754460),
   (87141, true, 31895784525, 419, 4998380906629440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints441

#print axioms CongruentPoints441.on_curve
#print axioms CongruentPoints441.indep
#print axioms CongruentPoints441.count

bsd/CongruentPoints442.lean

lean_all/bsd/CongruentPoints442.lean

/-
  bsd/CongruentPoints442.lean — T39 goal G666: points for congruent curves in 87201–87400 with Tunnell A = 2B
  (n = 87209, 87230, 87243, 87245, 87261, 87265, 87274, 87286, 87287, 87289, 87295, 87349, 87365, 87371), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints442
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (87209, true, 12185105174089, 6386, 40682702025892146435),
   (87230, true, 115328125, 9, 1236192945625),
   (87243, true, 104142025, 34, 264986795645),
   (87245, true, 3826251953457025, 207718, 42404582213043211572825),
   (87261, true, 11164275, 11, 12119936940),
   (87265, true, 1785013912830625, 68133, 73448095388778858623500),
   (87274, true, 87362, 1, 1158696),
   (87286, true, 257695323769, 1552, 75642072143548365),
   (87287, true, 1977367503721, 305, 2780528988964253856),
   (87289, true, 143007946539649, 14579, 1695720797123023087800),
   (87295, true, 294911929, 23, 5002048333308),
   (87349, true, 261131540989225, 26562, 4100571902260084061645),
   (87365, true, 1124340012404490025, 1433378, 1176901910153436018923352525),
   (87371, true, 272420471677225, 25616, 4395646900161779448405)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints442

#print axioms CongruentPoints442.on_curve
#print axioms CongruentPoints442.indep
#print axioms CongruentPoints442.count

bsd/CongruentPoints443.lean

lean_all/bsd/CongruentPoints443.lean

/-
  bsd/CongruentPoints443.lean — T39 goal G668: points for congruent curves in 87401–87600 with Tunnell A = 2B
  (n = 87406, 87409, 87411, 87419, 87429, 87431, 87438, 87447, 87454, 87470, 87477, 87527, 87531, 87535, 87583, 87591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints443
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (87406, false, 87318, 1, 1158696),
   (87409, false, 75504905647, 5279, 669018805787601912),
   (87411, false, 24336, 1, 13096980),
   (87419, true, 347643, 1, 198388272),
   (87429, true, 76845073, 12, 664531956487),
   (87431, true, 2405412025, 33, 117880977399040),
   (87438, false, 77736087, 32, 391717130805),
   (87447, true, 13647088, 11, 31839518620),
   (87454, true, 4434242, 7, 2400172704),
   (87470, false, 640820, 3, 366037100),
   (87477, true, 183027, 1, 68779620),
   (87527, true, 297025, 1, 154690620),
   (87531, true, 5222683, 7, 6810378632),
   (87535, true, 214119013360, 1523, 31457885591737500),
   (87583, true, 26812425025, 463, 3134348355304320),
   (87591, false, 24861009, 175, 13374461494836)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints443

#print axioms CongruentPoints443.on_curve
#print axioms CongruentPoints443.indep
#print axioms CongruentPoints443.count

bsd/CongruentPoints444.lean

lean_all/bsd/CongruentPoints444.lean

/-
  bsd/CongruentPoints444.lean — T39 goal G669: points for congruent curves in 87601–87800 with Tunnell A = 2B
  (n = 87601, 87614, 87630, 87666, 87670, 87702, 87703, 87730, 87731, 87783, 87785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints444
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (87601, false, 2076481, 41, 212176644240),
   (87614, false, 18106775, 54, 1084396504555),
   (87630, true, 96774, 1, 12774168),
   (87666, true, 191634, 1, 74597040),
   (87670, false, 539, 1, 2035341),
   (87702, true, 144150, 1, 43434720),
   (87703, true, 907137, 2, 796768665),
   (87730, false, 19220, 23, 6433991100),
   (87731, true, 659583100, 69, 13110259662170),
   (87783, true, 3239049160896025, 180197, 87554323143323468277580),
   (87785, true, 1590121, 1, 2002084656)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints444

#print axioms CongruentPoints444.on_curve
#print axioms CongruentPoints444.indep
#print axioms CongruentPoints444.count

bsd/CongruentPoints445.lean

lean_all/bsd/CongruentPoints445.lean

/-
  bsd/CongruentPoints445.lean — T39 goal G670: points for congruent curves in 87801–88000 with Tunnell A = 2B
  (n = 87801, 87806, 87815, 87819, 87841, 87843, 87870, 87949, 87953, 87990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints445
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (87801, true, 89383, 1, 5005448),
   (87806, false, 1177698996, 697, 1463326783087020),
   (87815, true, 21790665, 4, 101508181125),
   (87819, true, 7686554929, 228, 542172495944105),
   (87841, true, 354393, 2, 27524523),
   (87843, true, 11342961, 10, 24169180959),
   (87870, true, 459045, 1, 305264925),
   (87949, true, 80767934809, 822, 15545450311924715),
   (87953, true, 7650225, 1, 21158389560),
   (87990, true, 3793125, 1, 7385482125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints445

#print axioms CongruentPoints445.on_curve
#print axioms CongruentPoints445.indep
#print axioms CongruentPoints445.count

bsd/CongruentPoints446.lean

lean_all/bsd/CongruentPoints446.lean

/-
  bsd/CongruentPoints446.lean — T39 goal G677: points for congruent curves in 88001–88200 with Tunnell A = 2B
  (n = 88010, 88015, 88021, 88026, 88035, 88077, 88090, 88095, 88109, 88195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints446
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (88010, false, 78400, 1, 11197200),
   (88015, true, 13250130160, 219, 1445739971911300),
   (88021, false, 786404, 15, 17548864606),
   (88026, true, 342924, 1, 194086620),
   (88035, true, 5948192973471841, 218622, 324257026491581421227561),
   (88077, true, 2756193, 4, 3932438895),
   (88090, true, 67476940, 19, 488870430300),
   (88095, true, 67704945, 23, 404125167600),
   (88109, true, 13143452, 11, 27868233246),
   (88195, true, 76825225, 22, 559862490525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints446

#print axioms CongruentPoints446.on_curve
#print axioms CongruentPoints446.indep
#print axioms CongruentPoints446.count

bsd/CongruentPoints447.lean

lean_all/bsd/CongruentPoints447.lean

/-
  bsd/CongruentPoints447.lean — T39 goal G679: points for congruent curves in 88201–88400 with Tunnell A = 2B
  (n = 88205, 88206, 88213, 88226, 88242, 88255, 88270, 88285, 88314, 88319, 88374, 88382, 88395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints447
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (88205, true, 524969020, 77, 1049349712650),
   (88206, true, 1452025, 4, 411503885),
   (88213, true, 35740218970400569, 296390, 6595984441818998349735003),
   (88226, false, 66532975, 76, 4121058784185),
   (88242, true, 889350, 1, 834566040),
   (88255, true, 1835495, 1, 2483860500),
   (88270, true, 65348530, 1, 528266824800),
   (88285, true, 1656439939378225, 62118, 65974991828879335938175),
   (88314, true, 644805606, 73, 11192710152960),
   (88319, true, 1159543, 3, 909081712),
   (88374, true, 39444262, 21, 38182045616),
   (88382, true, 283318, 1, 143277960),
   (88395, false, 3049805, 63, 612672553900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints447

#print axioms CongruentPoints447.on_curve
#print axioms CongruentPoints447.indep
#print axioms CongruentPoints447.count

bsd/CongruentPoints448.lean

lean_all/bsd/CongruentPoints448.lean

/-
  bsd/CongruentPoints448.lean — T39 goal G680: points for congruent curves in 88401–88600 with Tunnell A = 2B
  (n = 88419, 88422, 88426, 88430, 88463, 88465, 88466, 88485, 88495, 88502, 88510, 88519, 88537, 88541, 88553, 88590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints448
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (88419, false, 67090323, 103, 7663662023976),
   (88422, false, 61347, 1, 15772185),
   (88426, false, 103580438, 159, 22727224958464),
   (88430, false, 32724650, 29, 382033961400),
   (88463, true, 1418826411025, 1297, 1680706439112051120),
   (88465, false, 624260, 3, 390449150),
   (88466, true, 163584, 1, 55652640),
   (88485, true, 392238025, 46, 6826091414275),
   (88495, true, 8932495, 3, 26590463900),
   (88502, true, 25844913, 16, 63219528855),
   (88510, true, 133930381225, 1206, 13522818407560075),
   (88519, true, 227700967, 1, 3435953515176),
   (88537, true, 259445918655625, 29859, 3980865553006892340700),
   (88541, false, 87616, 1, 3778440),
   (88553, true, 147015625, 31, 1453568571000),
   (88590, false, 5046, 1, 6282792)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints448

#print axioms CongruentPoints448.on_curve
#print axioms CongruentPoints448.indep
#print axioms CongruentPoints448.count

bsd/CongruentPoints449.lean

lean_all/bsd/CongruentPoints449.lean

/-
  bsd/CongruentPoints449.lean — T39 goal G681: points for congruent curves in 88601–88800 with Tunnell A = 2B
  (n = 88615, 88618, 88619, 88630, 88631, 88639, 88655, 88679, 88689, 88698, 88705, 88710, 88711, 88733, 88755, 88765, 88770, 88791, 88795, 88798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints449
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (88615, true, 11747308225, 129, 1263160477038700),
   (88618, true, 2601900, 1, 4194535380),
   (88619, true, 1491820402801, 2502, 1691441808581122145),
   (88630, false, 4250420, 7, 1837592100),
   (88631, true, 309089908388209, 40908, 4767567526608274572535),
   (88639, true, 16059225625, 357, 1446429208677200),
   (88655, true, 1753013161, 14, 73393302195891),
   (88679, true, 110211384361, 679, 33977398613272920),
   (88689, true, 180625, 1, 66874600),
   (88698, false, 254968447247, 2044, 135788259548262455),
   (88705, false, 41616, 1, 15980748),
   (88710, false, 17424, 1, 11481624),
   (88711, true, 3114223, 1, 5493489372),
   (88733, true, 813956848745041, 36740, 22969337226063935779161),
   (88755, true, 628849, 2, 411605857),
   (88765, false, 21136484, 27, 281181384386),
   (88770, true, 1809025, 4, 1506917825),
   (88791, true, 98265354864, 689, 27825703859422260),
   (88795, true, 453005, 1, 298983300),
   (88798, true, 135949738, 37, 709657632360)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints449

#print axioms CongruentPoints449.on_curve
#print axioms CongruentPoints449.indep
#print axioms CongruentPoints449.count

bsd/CongruentPoints45.lean

lean_all/bsd/CongruentPoints45.lean

/-
  bsd/CongruentPoints45.lean — T39 goal G99: points for congruent curves in 8201–8400 with Tunnell A = 2B
  (n = 8229, 8234, 8241, 8255, 8258, 8294, 8295, 8301, 8310, 8313, 8319, 8335, 8342, 8354, 8357, 8358, 8366, 8385, 8393, 8398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints45
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (8229, true, 5069582401, 762, 120627186646265),
   (8234, true, 576738, 7, 312976488),
   (8241, true, 1413721, 13, 288594080),
   (8255, true, 124388806738729, 107519, 889835451775948593708),
   (8258, true, 9427006609, 1020, 376695741065273),
   (8294, true, 142129, 4, 19187415),
   (8295, true, 213616, 5, 23690836),
   (8301, false, 363, 1, 158004),
   (8310, false, 561690, 13, 964684800),
   (8313, true, 4065057, 19, 5528477520),
   (8319, false, 173080367, 252, 6566588040473),
   (8335, true, 719580625, 267, 10887447191500),
   (8342, true, 322023025, 186, 2563621820695),
   (8354, false, 2304, 1, 385440),
   (8357, false, 255635972, 423, 23555970573850),
   (8358, false, 12877350, 103, 314819194320),
   (8366, true, 198025, 2, 86853765),
   (8385, true, 42025, 1, 8441900),
   (8393, false, 2140369, 25, 7006441596),
   (8398, true, 1855958, 11, 2115792120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints45

#print axioms CongruentPoints45.on_curve
#print axioms CongruentPoints45.indep
#print axioms CongruentPoints45.count

bsd/CongruentPoints450.lean

lean_all/bsd/CongruentPoints450.lean

/-
  bsd/CongruentPoints450.lean — T39 goal G682: points for congruent curves in 88801–89000 with Tunnell A = 2B
  (n = 88842, 88881, 88885, 88889, 88931, 88939, 88942, 88978, 88979, 88995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints450
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (88842, true, 3136806, 5, 3923098704),
   (88881, true, 1338649, 2, 1493195275),
   (88885, true, 122525, 1, 29519100),
   (88889, true, 4802999645720329, 13817, 332863458457942658852760),
   (88931, true, 3983020497, 164, 201000160061799),
   (88939, true, 504811, 1, 353058000),
   (88942, true, 9812992, 1, 30738617280),
   (88978, false, 18795424850, 1049, 13173666422701680),
   (88979, false, 853776, 5, 1897994868),
   (88995, true, 123420, 1, 30041550)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints450

#print axioms CongruentPoints450.on_curve
#print axioms CongruentPoints450.indep
#print axioms CongruentPoints450.count

bsd/CongruentPoints451.lean

lean_all/bsd/CongruentPoints451.lean

/-
  bsd/CongruentPoints451.lean — T39 goal G688: points for congruent curves in 89001–89200 with Tunnell A = 2B
  (n = 89029, 89039, 89059, 89094, 89105, 89110, 89117, 89121, 89155, 89159, 89162, 89166, 89185, 89191, 89194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints451
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (89029, true, 5725860063764569, 100058, 427990753417060747605525),
   (89039, true, 29234085831, 89, 4996982801286300),
   (89059, true, 242984243, 43, 2785192471068),
   (89094, false, 3500148, 353, 20770217818524),
   (89105, true, 192058680025, 878, 78601501386434325),
   (89110, true, 126350, 1, 31840200),
   (89117, true, 195083, 1, 76648740),
   (89121, true, 43401927, 1, 285931895076),
   (89155, true, 240669375595, 1599, 37872761244917500),
   (89159, false, 7785503, 96, 2292616943441),
   (89162, false, 132971498, 73, 5260114099680),
   (89166, true, 99372, 1, 13827996),
   (89185, true, 524362358232858721, 2146725, 235795567727448727298256356),
   (89191, true, 478970573929, 1463, 304017515897759280),
   (89194, false, 60543, 4, 350829759)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints451

#print axioms CongruentPoints451.on_curve
#print axioms CongruentPoints451.indep
#print axioms CongruentPoints451.count

bsd/CongruentPoints452.lean

lean_all/bsd/CongruentPoints452.lean

/-
  bsd/CongruentPoints452.lean — T39 goal G689: points for congruent curves in 89201–89400 with Tunnell A = 2B
  (n = 89238, 89239, 89265, 89267, 89279, 89281, 89282, 89286, 89291, 89295, 89349, 89369, 89386), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints452
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (89238, true, 11360748, 11, 11904440940),
   (89239, true, 100489, 1, 14645400),
   (89265, true, 4390215, 7, 790238700),
   (89267, true, 7031198991540025, 45292, 589381835747899108203795),
   (89279, true, 99937, 1, 14196456),
   (89281, false, 15646527, 1364, 657047491595937),
   (89282, true, 120281288608133041, 630630, 39856448219578791781398839),
   (89286, true, 786258, 1, 692674488),
   (89291, true, 467741, 1, 314012580),
   (89295, true, 33000946176025, 1953, 189568623694745498300),
   (89349, true, 474721, 2, 215281495),
   (89369, false, 6137, 1, 6984552),
   (89386, true, 629442, 1, 494321784)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints452

#print axioms CongruentPoints452.on_curve
#print axioms CongruentPoints452.indep
#print axioms CongruentPoints452.count

bsd/CongruentPoints453.lean

lean_all/bsd/CongruentPoints453.lean

/-
  bsd/CongruentPoints453.lean — T39 goal G690: points for congruent curves in 89401–89600 with Tunnell A = 2B
  (n = 89414, 89429, 89434, 89445, 89466, 89471, 89490, 89511, 89522, 89545, 89551, 89565), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints453
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (89414, true, 556368301801, 372, 414893030627958155),
   (89429, true, 22710791401, 462, 1854449839126765),
   (89434, true, 19036153, 6, 81859024493),
   (89445, false, 51005, 1, 16594300),
   (89466, false, 3459600, 17, 47659103640),
   (89471, true, 13664592799225, 12338, 4085014820908551045),
   (89490, false, 7290, 7, 374398200),
   (89511, false, 18225, 1, 11830860),
   (89522, false, 295936, 5, 1206808512),
   (89545, true, 2858506225, 178, 18649478717025),
   (89551, false, 19126863, 32, 392223355671),
   (89565, true, 69879915, 17, 542603445300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints453

#print axioms CongruentPoints453.on_curve
#print axioms CongruentPoints453.indep
#print axioms CongruentPoints453.count

bsd/CongruentPoints454.lean

lean_all/bsd/CongruentPoints454.lean

/-
  bsd/CongruentPoints454.lean — T39 goal G691: points for congruent curves in 89601–89800 with Tunnell A = 2B
  (n = 89609, 89635, 89654, 89655, 89674, 89693, 89726, 89727, 89746, 89754, 89759), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints454
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (89609, true, 420473, 2, 142540347),
   (89635, false, 12740, 27, 7375472650),
   (89654, true, 65689150, 21, 425167224040),
   (89655, true, 390225, 2, 96101775),
   (89674, false, 781456, 5, 1857497928),
   (89693, true, 178329473, 44, 542210441535),
   (89726, true, 26250133, 17, 20913855963),
   (89727, false, 4324452, 7, 1649802330),
   (89746, true, 376832, 1, 224668416),
   (89754, true, 146202, 1, 44128224),
   (89759, true, 68397417841, 599, 15780853328693040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints454

#print axioms CongruentPoints454.on_curve
#print axioms CongruentPoints454.indep
#print axioms CongruentPoints454.count

bsd/CongruentPoints455.lean

lean_all/bsd/CongruentPoints455.lean

/-
  bsd/CongruentPoints455.lean — T39 goal G692: points for congruent curves in 89801–90000 with Tunnell A = 2B
  (n = 89809, 89835, 89870, 89895, 89902, 89911, 89934, 89941, 89954), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints455
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (89809, true, 36039605281, 503, 5310602414140800),
   (89835, true, 674160, 1, 548597700),
   (89870, true, 6621120, 1, 17035590000),
   (89895, true, 97500, 1, 11787750),
   (89902, true, 149374060942, 1239, 22086529769458720),
   (89911, true, 4481689, 7, 1740428040),
   (89934, true, 103693902, 23, 938222425296),
   (89941, true, 15283557, 7, 57211846824),
   (89954, false, 63504, 1, 16054920)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints455

#print axioms CongruentPoints455.on_curve
#print axioms CongruentPoints455.indep
#print axioms CongruentPoints455.count

bsd/CongruentPoints456.lean

lean_all/bsd/CongruentPoints456.lean

/-
  bsd/CongruentPoints456.lean — T39 goal G693: points for congruent curves in 90001–90200 with Tunnell A = 2B
  (n = 90015, 90029, 90074, 90121, 90161, 90174), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints456
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (90015, false, 524535, 8, 4155032475),
   (90029, true, 4980357, 7, 5158647516),
   (90074, true, 159297572641, 1328, 4746357953726415),
   (90121, true, 3548582636340361, 173400, 136490205275299585696859),
   (90161, false, 1483524, 5, 2066937474),
   (90174, false, 28322, 1, 14407568)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints456

#print axioms CongruentPoints456.on_curve
#print axioms CongruentPoints456.indep
#print axioms CongruentPoints456.count

bsd/CongruentPoints457.lean

lean_all/bsd/CongruentPoints457.lean

/-
  bsd/CongruentPoints457.lean — T39 goal G694: points for congruent curves in 90201–90400 with Tunnell A = 2B
  (n = 90206, 90214, 90230, 90255, 90259, 90285, 90321, 90335, 90345, 90365, 90370, 90389, 90390, 90391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints457
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (90206, true, 181443836471881, 5060, 2443870243614172321221),
   (90214, true, 90988, 1, 3572268),
   (90230, true, 1524721079096329, 117694, 34099982202609966951867),
   (90255, true, 65825980, 13, 519531547150),
   (90259, false, 274576, 5, 1173606468),
   (90285, true, 6555900, 7, 12388012650),
   (90321, false, 735488, 7, 3742753456),
   (90335, true, 198025, 1, 78417900),
   (90345, true, 1655280, 1, 2126470500),
   (90365, false, 376475, 3, 442327600),
   (90370, false, 19394606, 27, 277272405872),
   (90389, false, 1091096253, 1321, 5210055603998076),
   (90390, true, 507840, 1, 356122800),
   (90391, true, 20394469375, 223, 2840894282723700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints457

#print axioms CongruentPoints457.on_curve
#print axioms CongruentPoints457.indep
#print axioms CongruentPoints457.count

bsd/CongruentPoints458.lean

lean_all/bsd/CongruentPoints458.lean

/-
  bsd/CongruentPoints458.lean — T39 goal G700: points for congruent curves in 90401–90600 with Tunnell A = 2B
  (n = 90449, 90465, 90473, 90487, 90501, 90514, 90551, 90565, 90591, 90595, 90597), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints458
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (90449, true, 27552001, 7, 142737106800),
   (90465, true, 268468225, 53, 1418997036700),
   (90473, false, 81225, 1, 11356680),
   (90487, true, 43249441225, 529, 7291574009606040),
   (90501, true, 282747, 1, 142438176),
   (90514, true, 35735058, 7, 211968224112),
   (90551, true, 1597399, 1, 2015678280),
   (90565, true, 50046219, 23, 102361199928),
   (90591, true, 152536653428329, 10065, 1880502345434508381892),
   (90595, true, 262205, 1, 125995800),
   (90597, true, 1221025, 2, 1288439945)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints458

#print axioms CongruentPoints458.on_curve
#print axioms CongruentPoints458.indep
#print axioms CongruentPoints458.count

bsd/CongruentPoints459.lean

lean_all/bsd/CongruentPoints459.lean

/-
  bsd/CongruentPoints459.lean — T39 goal G701: points for congruent curves in 90601–90800 with Tunnell A = 2B
  (n = 90649, 90654, 90691, 90695, 90706, 90743, 90799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints459
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (90649, true, 318586801, 25, 5595816357924),
   (90654, false, 60301556, 233, 38214701430220),
   (90691, true, 95339025, 8, 929179756665),
   (90695, true, 2714931025, 89, 136419198663300),
   (90706, true, 7632262, 9, 5708931976),
   (90743, true, 4117147225, 7, 264176597631960),
   (90799, true, 20849351399881, 7191, 92754970745218075180)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints459

#print axioms CongruentPoints459.on_curve
#print axioms CongruentPoints459.indep
#print axioms CongruentPoints459.count

bsd/CongruentPoints46.lean

lean_all/bsd/CongruentPoints46.lean

/-
  bsd/CongruentPoints46.lean — T39 goal G100: points for congruent curves in 8401–8600 with Tunnell A = 2B
  (n = 8430, 8437, 8439, 8445, 8446, 8455, 8463, 8494, 8498, 8502, 8510, 8515, 8521, 8534, 8535, 8547, 8554, 8555, 8571, 8574, 8578, 8593), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints46
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (8430, true, 3553245, 1, 6697866825),
   (8437, true, 5475613, 1, 12812934420),
   (8439, false, 225, 1, 126540),
   (8445, false, 367205, 9, 349725500),
   (8446, true, 452025, 2, 303059085),
   (8455, true, 291214225, 122, 4481600316975),
   (8463, true, 4914975, 23, 4496745240),
   (8494, true, 954962, 7, 839913264),
   (8498, true, 13552, 1, 1228920),
   (8502, false, 6627, 1, 433575),
   (8510, true, 855625, 8, 610402875),
   (8515, true, 34385, 2, 874575),
   (8521, false, 5929, 1, 471240),
   (8534, true, 1075369, 4, 1106131605),
   (8535, true, 1452025, 13, 200969900),
   (8547, true, 34225, 2, 294335),
   (8554, true, 270494, 5, 86145528),
   (8555, true, 34225, 2, 108225),
   (8571, true, 60777003, 71, 333230598792),
   (8574, false, 365403, 13, 847595709),
   (8578, true, 11606562, 23, 36394401120),
   (8593, true, 61104128849569, 8755, 477617909248631367372)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints46

#print axioms CongruentPoints46.on_curve
#print axioms CongruentPoints46.indep
#print axioms CongruentPoints46.count

bsd/CongruentPoints460.lean

lean_all/bsd/CongruentPoints460.lean

/-
  bsd/CongruentPoints460.lean — T39 goal G702: points for congruent curves in 90801–91000 with Tunnell A = 2B
  (n = 90809, 90829, 90861, 90865, 90870, 90902, 90915, 90935, 90943, 90973), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints460
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (90809, true, 6869641, 7, 13717789800),
   (90829, true, 378452584225, 1182, 219339902073328055),
   (90861, true, 13915900, 11, 31824562490),
   (90865, true, 167209855831225, 42798, 207969362376128677925),
   (90870, false, 248430, 11, 5478946200),
   (90902, true, 68888150, 7, 570567526320),
   (90915, true, 50094165, 23, 99186446700),
   (90935, true, 1399134025, 123, 9527084172100),
   (90943, true, 9941818894225, 2807, 31265672511089092560),
   (90973, true, 129313855140625, 37674, 80336639068873843375)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints460

#print axioms CongruentPoints460.on_curve
#print axioms CongruentPoints460.indep
#print axioms CongruentPoints460.count

bsd/CongruentPoints461.lean

lean_all/bsd/CongruentPoints461.lean

/-
  bsd/CongruentPoints461.lean — T39 goal G703: points for congruent curves in 91001–91200 with Tunnell A = 2B
  (n = 91001, 91007, 91031, 91059, 91065, 91078, 91083, 91086, 91154, 91177, 91182), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints461
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (91001, true, 2948089, 5, 3219313188),
   (91007, true, 225750625, 49, 852287475600),
   (91031, true, 27737509824, 523, 2035530976940040),
   (91059, false, 22232975, 24, 223993432585),
   (91065, false, 40978340, 29, 414175152950),
   (91078, true, 5069364825625, 4994, 10203855478911082275),
   (91083, true, 712724475, 41, 18583292871360),
   (91086, true, 4197100, 1, 8596500220),
   (91154, true, 126002, 1, 30879024),
   (91177, true, 175273, 1, 62669040),
   (91182, true, 212268, 1, 88314660)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints461

#print axioms CongruentPoints461.on_curve
#print axioms CongruentPoints461.indep
#print axioms CongruentPoints461.count

bsd/CongruentPoints462.lean

lean_all/bsd/CongruentPoints462.lean

/-
  bsd/CongruentPoints462.lean — T39 goal G704: points for congruent curves in 91201–91400 with Tunnell A = 2B
  (n = 91205, 91210, 91214, 91239, 91245, 91247, 91254, 91267, 91298, 91337, 91358, 91361, 91390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints462
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (91205, true, 289298703005, 523, 155024002585077600),
   (91210, true, 152460, 1, 47701500),
   (91214, true, 70508422, 17, 549119590536),
   (91239, true, 13522201225, 378, 417609885041245),
   (91245, true, 24260384841, 346, 3374023289817411),
   (91247, true, 17780938395025, 9414, 66774971478869537455),
   (91254, true, 400428, 1, 246720852),
   (91267, false, 2238016, 5, 664542648),
   (91298, true, 69692400, 17, 538497945720),
   (91337, true, 19159643471929, 7990, 79886921619516205467),
   (91358, true, 2306400625, 134, 77861132090775),
   (91361, false, 2307332767, 364, 570797908792593),
   (91390, false, 3389481459, 355, 640841640076911)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints462

#print axioms CongruentPoints462.on_curve
#print axioms CongruentPoints462.indep
#print axioms CongruentPoints462.count

bsd/CongruentPoints463.lean

lean_all/bsd/CongruentPoints463.lean

/-
  bsd/CongruentPoints463.lean — T39 goal G705: points for congruent curves in 91401–91600 with Tunnell A = 2B
  (n = 91403, 91417, 91430, 91455, 91470, 91486, 91490, 91531, 91542, 91546, 91574, 91587, 91590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints463
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (91403, false, 153295471, 80, 6989667008583),
   (91417, false, 1608614777, 191, 117169453881480),
   (91430, true, 2301289, 4, 2694933813),
   (91455, true, 79657305, 2, 710941447125),
   (91470, false, 2166, 1, 4255848),
   (91486, true, 28086202, 17, 50218129176),
   (91490, false, 138826814, 39, 112760701984),
   (91531, true, 2440251, 5, 1324242876),
   (91542, true, 36754113, 8, 219973366305),
   (91546, true, 1789333, 3, 2124681013),
   (91574, true, 801378, 1, 712692168),
   (91587, true, 4966733732689, 3220, 10864749839154669863),
   (91590, false, 1840391, 6, 3711451373)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints463

#print axioms CongruentPoints463.on_curve
#print axioms CongruentPoints463.indep
#print axioms CongruentPoints463.count

bsd/CongruentPoints464.lean

lean_all/bsd/CongruentPoints464.lean

/-
  bsd/CongruentPoints464.lean — T39 goal G706: points for congruent curves in 91601–91800 with Tunnell A = 2B
  (n = 91605, 91606, 91610, 91639, 91663, 91670, 91686, 91705, 91743, 91749, 91765), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints464
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (91605, false, 111198395, 71, 4726217988800),
   (91606, true, 4491628, 7, 344015412),
   (91610, true, 39164410, 1, 245095983600),
   (91639, true, 30520439401, 479, 3864863591809080),
   (91663, true, 58398105649, 795, 1776969778332268),
   (91670, false, 69620, 1, 15735300),
   (91686, false, 51869142, 61, 2428504779168),
   (91705, true, 6731382025, 58, 551695949544675),
   (91743, true, 26727900, 11, 125698901670),
   (91749, false, 2286144, 5, 281735496),
   (91765, true, 2285754505489225, 89838, 103385364567392972404675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints464

#print axioms CongruentPoints464.on_curve
#print axioms CongruentPoints464.indep
#print axioms CongruentPoints464.count

bsd/CongruentPoints465.lean

lean_all/bsd/CongruentPoints465.lean

/-
  bsd/CongruentPoints465.lean — T39 goal G707: points for congruent curves in 91801–92000 with Tunnell A = 2B
  (n = 91805, 91806, 91830, 91846, 91851, 91869, 91877, 91905, 91910, 91930, 91931, 91977), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints465
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (91805, true, 301735983025, 536, 165110659204302825),
   (91806, false, 41504034, 25, 255245726736),
   (91830, true, 11658645, 11, 12052725525),
   (91846, false, 38475, 1, 16358715),
   (91851, true, 461009766529, 2120, 139337048235279167),
   (91869, false, 381741572, 67, 3048654448378),
   (91877, true, 38049244, 15, 197041738222),
   (91905, true, 310249, 1, 165052468),
   (91910, true, 714025, 2, 517228725),
   (91930, true, 14570905, 12, 23240593475),
   (91931, true, 52492601, 2, 380308894245),
   (91977, true, 404600889, 50, 6696360149787)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints465

#print axioms CongruentPoints465.on_curve
#print axioms CongruentPoints465.indep
#print axioms CongruentPoints465.count

bsd/CongruentPoints466.lean

lean_all/bsd/CongruentPoints466.lean

/-
  bsd/CongruentPoints466.lean — T39 goal G708: points for congruent curves in 92001–92200 with Tunnell A = 2B
  (n = 92001, 92026, 92045, 92059, 92157, 92190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints466
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (92001, false, 1192464, 17, 29005196220),
   (92026, true, 22517801, 10, 97522805451),
   (92045, false, 57600, 1, 17230800),
   (92059, false, 48400, 1, 17227980),
   (92157, true, 184093, 1, 68377400),
   (92190, true, 176890, 1, 63494200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints466

#print axioms CongruentPoints466.on_curve
#print axioms CongruentPoints466.indep
#print axioms CongruentPoints466.count

bsd/CongruentPoints467.lean

lean_all/bsd/CongruentPoints467.lean

/-
  bsd/CongruentPoints467.lean — T39 goal G709: points for congruent curves in 92201–92400 with Tunnell A = 2B
  (n = 92229, 92254, 92345, 92355), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints467
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (92229, true, 133563, 1, 35306208),
   (92254, true, 647044273, 36, 16175481690473),
   (92345, true, 778855, 1, 682512600),
   (92355, true, 457352599296, 1817, 230532507911181456)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 4 := rfl

end CongruentPoints467

#print axioms CongruentPoints467.on_curve
#print axioms CongruentPoints467.indep
#print axioms CongruentPoints467.count

bsd/CongruentPoints468.lean

lean_all/bsd/CongruentPoints468.lean

/-
  bsd/CongruentPoints468.lean — T39 goal G710: points for congruent curves in 92401–92600 with Tunnell A = 2B
  (n = 92410, 92411, 92415, 92418, 92449, 92514, 92519, 92534, 92535, 92537, 92549, 92559, 92591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints468
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (92410, false, 48532090, 23, 40840976400),
   (92411, true, 95139, 1, 6976860),
   (92415, true, 11591752225, 273, 1003826565395200),
   (92418, true, 6880177, 8, 9218876905),
   (92449, true, 129982801, 7, 1481033679840),
   (92514, false, 578, 1, 2224144),
   (92519, false, 86247, 1, 9833712),
   (92534, true, 561834, 1, 415374960),
   (92535, true, 20238784, 11, 75846571352),
   (92537, true, 93025, 1, 2902380),
   (92549, false, 24562611, 17, 52464613740),
   (92559, true, 98590336149342361, 104286, 30954862728937776105546805),
   (92591, true, 13020863881, 375, 9289699956404)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints468

#print axioms CongruentPoints468.on_curve
#print axioms CongruentPoints468.indep
#print axioms CongruentPoints468.count

bsd/CongruentPoints469.lean

lean_all/bsd/CongruentPoints469.lean

/-
  bsd/CongruentPoints469.lean — T39 goal G711: points for congruent curves in 92601–92800 with Tunnell A = 2B
  (n = 92630, 92631, 92666, 92685, 92690, 92721, 92742, 92749, 92753, 92758, 92773, 92774, 92783, 92785, 92786), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints469
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (92630, true, 801191680, 93, 211396952800),
   (92631, true, 1159543, 3, 867839588),
   (92666, false, 170617783, 58, 3407779322661),
   (92685, true, 49530864, 19, 257028036012),
   (92690, true, 894010, 3, 303963400),
   (92721, true, 994009, 2, 919458325),
   (92742, true, 283134192, 1, 4764183221160),
   (92749, true, 2023494130060225, 71238, 88526582820769748194745),
   (92753, true, 4332930625, 89, 281085150376800),
   (92758, false, 1814139, 5, 1945526109),
   (92773, true, 76166633, 14, 645512214675),
   (92774, false, 30976, 1, 15391200),
   (92783, true, 1969040400625, 4191, 1550704014663961400),
   (92785, true, 35722225, 12, 198008293175),
   (92786, false, 850, 1, 2705040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints469

#print axioms CongruentPoints469.on_curve
#print axioms CongruentPoints469.indep
#print axioms CongruentPoints469.count

bsd/CongruentPoints47.lean

lean_all/bsd/CongruentPoints47.lean

/-
  bsd/CongruentPoints47.lean — T39 goal G101: points for congruent curves in 8601–8800 with Tunnell A = 2B
  (n = 8601, 8607, 8609, 8621, 8638, 8639, 8645, 8646, 8653, 8663, 8669, 8671, 8690, 8695, 8701, 8705, 8710, 8729, 8742, 8751, 8762, 8774, 8786, 8790, 8798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints47
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (8601, true, 15228, 1, 1550718),
   (8607, true, 1299657, 1, 1481608980),
   (8609, true, 88976327521, 287, 26539816866488640),
   (8621, false, 7195797, 41, 33743621268),
   (8638, false, 94864, 5, 59751384),
   (8639, true, 33925277860681, 39886, 180657931294741615875),
   (8645, true, 92278459, 67, 804243333348),
   (8646, false, 4802, 1, 498232),
   (8653, true, 24743089093, 9, 3892072111528060),
   (8663, true, 93799225, 103, 181609788360),
   (8669, true, 1852410827089, 7990, 2406043552905162063),
   (8671, true, 15548, 1, 1609218),
   (8690, true, 21403690, 9, 98968731400),
   (8695, true, 1151329, 7, 1147676508),
   (8701, true, 13552, 1, 1209516),
   (8705, false, 108900, 29, 2415631350),
   (8710, true, 31874845990, 231, 5690179537546400),
   (8729, true, 12943, 1, 1087212),
   (8742, false, 71040468, 223, 3614897465460),
   (8751, false, 324, 1, 157410),
   (8762, false, 234650, 7, 174164640),
   (8774, false, 7233138, 59, 79805232936),
   (8786, true, 22898, 1, 3199728),
   (8790, false, 1192464, 53, 26931229416),
   (8798, true, 3286053, 17, 3773484195)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 25 := rfl

end CongruentPoints47

#print axioms CongruentPoints47.on_curve
#print axioms CongruentPoints47.indep
#print axioms CongruentPoints47.count

bsd/CongruentPoints470.lean

lean_all/bsd/CongruentPoints470.lean

/-
  bsd/CongruentPoints470.lean — T39 goal G712: points for congruent curves in 92801–93000 with Tunnell A = 2B
  (n = 92837, 92851, 92858, 92865, 92874, 92905, 92939, 92971, 92981, 92989), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints470
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (92837, true, 83919187, 7, 767631690540),
   (92851, false, 30899, 1, 15391200),
   (92858, true, 185475787561, 950, 71259908590608309),
   (92865, true, 8413569, 5, 23457030372),
   (92874, true, 452929, 2, 174377665),
   (92905, true, 114262094305, 16, 38623645339155375),
   (92939, true, 665973, 1, 538163472),
   (92971, true, 33358087771, 357, 5695272547534900),
   (92981, true, 128797, 1, 31985316),
   (92989, true, 181737361, 18, 2416100072815)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints470

#print axioms CongruentPoints470.on_curve
#print axioms CongruentPoints470.indep
#print axioms CongruentPoints470.count

bsd/CongruentPoints471.lean

lean_all/bsd/CongruentPoints471.lean

/-
  bsd/CongruentPoints471.lean — T39 goal G713: points for congruent curves in 93001–93200 with Tunnell A = 2B
  (n = 93010, 93023, 93035, 93041, 93062, 93126, 93130, 93135, 93154, 93171, 93193), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints471
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (93010, false, 36748890, 47, 1225425763800),
   (93023, true, 90345025, 17, 819829974480),
   (93035, true, 3592951893090169, 175744, 129290434913494005496653),
   (93041, false, 38025, 1, 16558620),
   (93062, true, 426512942, 29, 8658856515720),
   (93126, false, 1922, 1, 4081832),
   (93130, true, 2589014, 1, 4163134512),
   (93135, true, 11801535, 11, 12037565700),
   (93154, false, 1286766, 35, 129437397648),
   (93171, false, 492804, 5, 1598135994),
   (93193, false, 389376, 5, 1433363568)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints471

#print axioms CongruentPoints471.on_curve
#print axioms CongruentPoints471.indep
#print axioms CongruentPoints471.count

bsd/CongruentPoints472.lean

lean_all/bsd/CongruentPoints472.lean

/-
  bsd/CongruentPoints472.lean — T39 goal G714: points for congruent curves in 93201–93400 with Tunnell A = 2B
  (n = 93203, 93205, 93219, 93269, 93313, 93314, 93318, 93335, 93379), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints472
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (93203, true, 3191328572041, 5790, 1160197304105029661),
   (93205, false, 73205, 1, 15609000),
   (93219, true, 80791537, 4, 726063803081),
   (93269, true, 142608301, 39, 173982127220),
   (93313, true, 206330812897, 988, 84095823604139985),
   (93314, false, 2221106, 5, 1063141728),
   (93318, false, 4489350, 7, 1840124880),
   (93335, true, 19584072637041025, 386274, 1926922050791203501891225),
   (93379, true, 426409, 2, 134318835)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints472

#print axioms CongruentPoints472.on_curve
#print axioms CongruentPoints472.indep
#print axioms CongruentPoints472.count

bsd/CongruentPoints473.lean

lean_all/bsd/CongruentPoints473.lean

/-
  bsd/CongruentPoints473.lean — T39 goal G715: points for congruent curves in 93401–93600 with Tunnell A = 2B
  (n = 93415, 93439, 93478, 93522, 93535, 93538, 93539, 93545, 93551, 93566, 93574, 93595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints473
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (93415, true, 4426972893321001, 141154, 267253029917911987070451),
   (93439, false, 66564, 1, 16918350),
   (93478, true, 96250, 1, 7114800),
   (93522, true, 142572, 1, 40633020),
   (93535, true, 138020602679089, 25075, 1466928184137517393812),
   (93538, true, 937898971739820330529, 9841300, 28721943871212319388008872821583),
   (93539, true, 2792113895968849, 24820, 147505151649843668283993),
   (93545, true, 6372378945, 92, 504747224669025),
   (93551, true, 4118687329, 73, 262381524044640),
   (93566, false, 8105878, 461, 56613487582344),
   (93574, true, 179495986150, 503, 75382609709840160),
   (93595, true, 108045, 1, 17742900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints473

#print axioms CongruentPoints473.on_curve
#print axioms CongruentPoints473.indep
#print axioms CongruentPoints473.count

bsd/CongruentPoints474.lean

lean_all/bsd/CongruentPoints474.lean

/-
  bsd/CongruentPoints474.lean — T39 goal G718: points for congruent curves in 93601–93800 with Tunnell A = 2B
  (n = 93610, 93621, 93630, 93661, 93666, 93670, 93702, 93765), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints474
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (93610, true, 139150, 1, 38405400),
   (93621, false, 38148, 1, 16698726),
   (93630, false, 42897583220, 1979, 75427687065510100),
   (93661, true, 352594877209, 1830, 95635835731307573),
   (93666, true, 9413433, 4, 28513288557),
   (93670, false, 37026, 1, 16556232),
   (93702, false, 247280354, 55, 2178685790056),
   (93765, true, 117596115, 23, 1156241186100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints474

#print axioms CongruentPoints474.on_curve
#print axioms CongruentPoints474.indep
#print axioms CongruentPoints474.count

bsd/CongruentPoints475.lean

lean_all/bsd/CongruentPoints475.lean

/-
  bsd/CongruentPoints475.lean — T39 goal G719: points for congruent curves in 93801–94000 with Tunnell A = 2B
  (n = 93806, 93815, 93829, 93854, 93867, 93882, 93885, 93907, 93918, 93930, 93961, 93985, 93990, 93995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints475
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (93806, true, 95922, 1, 6205584),
   (93815, true, 303770041, 14, 5284699533861),
   (93829, true, 404960413225, 2024, 81112886770138155),
   (93854, true, 138625905625, 298, 51520519434678525),
   (93867, true, 43835889, 20, 149787232713),
   (93882, true, 2343750, 1, 3585240000),
   (93885, true, 4601685, 7, 236421900),
   (93907, true, 1049914641364230625, 2313364, 944548477929367490864048175),
   (93918, true, 176418, 1, 62726400),
   (93930, false, 1245456, 5, 2221685928),
   (93961, true, 1050340069321, 3281, 290072455140950040),
   (93985, true, 165523834522902025, 7839, 67342743871698638931336100),
   (93990, false, 4637610, 37, 276917209200),
   (93995, true, 945169248396025, 56278, 27578886697102429398075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints475

#print axioms CongruentPoints475.on_curve
#print axioms CongruentPoints475.indep
#print axioms CongruentPoints475.count

bsd/CongruentPoints476.lean

lean_all/bsd/CongruentPoints476.lean

/-
  bsd/CongruentPoints476.lean — T39 goal G721: points for congruent curves in 94001–94200 with Tunnell A = 2B
  (n = 94019, 94047, 94053, 94054, 94061, 94067, 94070, 94078, 94081, 94083, 94089, 94106, 94166, 94170, 94177, 94181), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints476
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (94019, true, 6759981, 7, 12862371360),
   (94047, false, 234623, 4, 719955775),
   (94053, true, 162747, 1, 53581320),
   (94054, true, 94302, 1, 2098824),
   (94061, false, 693668, 3, 404150894),
   (94067, true, 24593125, 7, 119799687300),
   (94070, true, 18129264470, 209, 2377487435353200),
   (94078, true, 49710062576, 725, 1132761861370824),
   (94081, false, 54756, 1, 17902170),
   (94083, false, 742682688, 133, 40587471916200),
   (94089, true, 182521600, 43, 745918827920),
   (94106, false, 712121287, 94, 11456480143437),
   (94166, false, 292775, 18, 16507683395),
   (94170, true, 222066, 1, 94770936),
   (94177, true, 186477186592225, 36576, 1877352186649717776815),
   (94181, false, 775973, 3, 300461876)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints476

#print axioms CongruentPoints476.on_curve
#print axioms CongruentPoints476.indep
#print axioms CongruentPoints476.count

bsd/CongruentPoints477.lean

lean_all/bsd/CongruentPoints477.lean

/-
  bsd/CongruentPoints477.lean — T39 goal G722: points for congruent curves in 94201–94400 with Tunnell A = 2B
  (n = 94205, 94206, 94245, 94270, 94274, 94285, 94313, 94326, 94335, 94341, 94361, 94385, 94394, 94395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints477
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (94205, false, 262205, 3, 412864100),
   (94206, false, 94178, 1, 704816),
   (94245, true, 13112212605, 167, 1470985661580300),
   (94270, true, 148720, 1, 44358600),
   (94274, false, 45602, 1, 17619888),
   (94285, true, 3262261, 3, 5689383184),
   (94313, true, 8566655803225, 8946, 11858745200795915435),
   (94326, false, 3585174, 7, 5523301440),
   (94335, false, 67335, 2, 96344325),
   (94341, true, 34754304, 5, 204413955408),
   (94361, true, 284089, 1, 142822680),
   (94385, true, 165740060, 37, 1336279233750),
   (94394, true, 3516122, 1, 6590818416),
   (94395, true, 1854405, 1, 2521990800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints477

#print axioms CongruentPoints477.on_curve
#print axioms CongruentPoints477.indep
#print axioms CongruentPoints477.count

bsd/CongruentPoints478.lean

lean_all/bsd/CongruentPoints478.lean

/-
  bsd/CongruentPoints478.lean — T39 goal G723: points for congruent curves in 94401–94600 with Tunnell A = 2B
  (n = 94402, 94426, 94430, 94431, 94453, 94469, 94486, 94546, 94549, 94589, 94594, 94598), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints478
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (94402, false, 476847, 8, 4159046745),
   (94426, true, 4639058, 7, 723693048),
   (94430, true, 256880, 1, 121079400),
   (94431, false, 54756, 1, 18002790),
   (94453, true, 226630622653, 1293, 77387525066549600),
   (94469, true, 5834057161, 188, 365416533852795),
   (94486, false, 418914, 5, 1504633416),
   (94546, false, 4851776, 9, 13051418480),
   (94549, false, 2985072975, 304, 448676849410665),
   (94589, true, 95139, 1, 3150840),
   (94594, false, 11916962, 41, 547382650368),
   (94598, true, 137071337, 38, 133038723285)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints478

#print axioms CongruentPoints478.on_curve
#print axioms CongruentPoints478.indep
#print axioms CongruentPoints478.count

bsd/CongruentPoints479.lean

lean_all/bsd/CongruentPoints479.lean

/-
  bsd/CongruentPoints479.lean — T39 goal G724: points for congruent curves in 94601–94800 with Tunnell A = 2B
  (n = 94605, 94655, 94681, 94686, 94709, 94710, 94731, 94737, 94754, 94765, 94783, 94785, 94795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints479
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (94605, false, 267393119, 164, 41377624046479),
   (94655, true, 2961841, 4, 4380562839),
   (94681, true, 6957888889709521, 69947, 579097370534422131135480),
   (94686, true, 2695842, 1, 4423577184),
   (94709, true, 201955151487582025, 733562, 87820110563743725252109635),
   (94710, true, 277365, 1, 137295675),
   (94731, true, 32871657, 2, 188453209581),
   (94737, true, 303130628329, 1785, 15304583136698108),
   (94754, true, 842402, 1, 768270624),
   (94765, false, 32656019, 885, 424146694074004),
   (94783, true, 162305383247569, 1395, 2067755126759292328372),
   (94785, true, 133225, 1, 34171300),
   (94795, true, 8725205, 1, 25771389000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints479

#print axioms CongruentPoints479.on_curve
#print axioms CongruentPoints479.indep
#print axioms CongruentPoints479.count

bsd/CongruentPoints48.lean

lean_all/bsd/CongruentPoints48.lean

/-
  bsd/CongruentPoints48.lean — T39 goal G102: points for congruent curves in 8801–9000 with Tunnell A = 2B
  (n = 8801, 8806, 8809, 8814, 8815, 8822, 8835, 8845, 8846, 8854, 8855, 8859, 8866, 8878, 8890, 8897, 8906, 8911, 8931, 8942, 8949, 8962, 8965, 8970, 8979, 8983, 8990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints48
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (8801, true, 458329, 2, 309372075),
   (8806, true, 2280754, 15, 1706003992),
   (8809, true, 15053063, 41, 10497027408),
   (8814, false, 62384426, 179, 2175473408680),
   (8815, true, 3145889, 16, 3887603313),
   (8822, false, 1514051, 25, 6523694793),
   (8835, true, 20815260, 43, 58855147650),
   (8845, true, 18605, 1, 2232600),
   (8846, false, 10098244183, 1118, 452527697772171),
   (8854, true, 9196, 1, 238260),
   (8855, true, 3115420, 13, 4822945050),
   (8859, true, 13467, 1, 1177056),
   (8866, true, 21142, 1, 2790744),
   (8878, true, 436178, 7, 20958960),
   (8890, true, 7903210, 13, 21812859600),
   (8897, true, 2553439, 15, 2533011488),
   (8906, true, 168437353, 54, 2159898125077),
   (8911, true, 26426743, 31, 128521452612),
   (8931, false, 7056, 1, 459900),
   (8942, true, 30258, 1, 5028240),
   (8949, true, 29662828441, 646, 5068148009103755),
   (8962, true, 145188257249281, 40280, 1740637100960395463679),
   (8965, false, 8421875, 93, 223688465000),
   (8970, true, 2682030, 17, 1126452600),
   (8979, true, 835777, 8, 554807519),
   (8983, true, 3333099289, 605, 31547264653788),
   (8990, true, 250821, 5, 55765869)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 27 := rfl

end CongruentPoints48

#print axioms CongruentPoints48.on_curve
#print axioms CongruentPoints48.indep
#print axioms CongruentPoints48.count

bsd/CongruentPoints480.lean

lean_all/bsd/CongruentPoints480.lean

/-
  bsd/CongruentPoints480.lean — T39 goal G725: points for congruent curves in 94801–95000 with Tunnell A = 2B
  (n = 94829, 94830, 94877, 94889, 94902, 94911, 94942, 94963, 94981, 94990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints480
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (94829, true, 223573, 1, 95732868),
   (94830, true, 27754939230, 323, 4320178905391200),
   (94877, true, 387963928784925025, 1696118, 171732769846342051259396055),
   (94889, true, 114971084116849, 34029, 362821840273978545880),
   (94902, true, 39875946332640625, 506338, 6308748700171660635700375),
   (94911, true, 160646453511, 1199, 33986652646140900),
   (94942, false, 102166250, 33, 160432836200),
   (94963, true, 8383419, 5, 23279823072),
   (94981, true, 193819, 1, 74380440),
   (94990, true, 126099225, 8, 1414370940675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints480

#print axioms CongruentPoints480.on_curve
#print axioms CongruentPoints480.indep
#print axioms CongruentPoints480.count

bsd/CongruentPoints481.lean

lean_all/bsd/CongruentPoints481.lean

/-
  bsd/CongruentPoints481.lean — T39 goal G726: points for congruent curves in 95001–95200 with Tunnell A = 2B
  (n = 95034, 95035, 95046, 95062, 95090, 95095, 95186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints481
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (95034, true, 260709, 1, 123958035),
   (95035, true, 230980761835, 101, 111009434144066100),
   (95046, true, 565068, 1, 418715388),
   (95062, true, 221830638121, 1230, 79546738993385419),
   (95090, true, 109971585, 34, 33907905375),
   (95095, true, 455455, 1, 300600300),
   (95186, false, 20193614, 15, 32059993616)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints481

#print axioms CongruentPoints481.on_curve
#print axioms CongruentPoints481.indep
#print axioms CongruentPoints481.count

bsd/CongruentPoints482.lean

lean_all/bsd/CongruentPoints482.lean

/-
  bsd/CongruentPoints482.lean — T39 goal G727: points for congruent curves in 95201–95400 with Tunnell A = 2B
  (n = 95205, 95214, 95230, 95243, 95263, 95266, 95270, 95285, 95345, 95357, 95381, 95394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints482
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (95205, true, 2502819, 5, 1224523872),
   (95214, false, 2733122, 19, 56644820848),
   (95230, true, 133750, 1, 34347000),
   (95243, true, 1315739761249, 2970, 1161507459195409193),
   (95263, true, 448063, 1, 293065080),
   (95266, false, 93150, 1, 6094080),
   (95270, false, 19220, 1, 12936300),
   (95285, true, 1538604564025, 1554, 1887028892394269275),
   (95345, true, 40352485510050390625, 9425932, 250621464681386477569777940625),
   (95357, false, 1208821275, 191, 113411386041540),
   (95381, true, 5255132, 7, 5508092946),
   (95394, true, 9865297702, 69, 978823927717064)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints482

#print axioms CongruentPoints482.on_curve
#print axioms CongruentPoints482.indep
#print axioms CongruentPoints482.count

bsd/CongruentPoints483.lean

lean_all/bsd/CongruentPoints483.lean

/-
  bsd/CongruentPoints483.lean — T39 goal G728: points for congruent curves in 95401–95600 with Tunnell A = 2B
  (n = 95414, 95426, 95431, 95439, 95511, 95557, 95559, 95565, 95574, 95581, 95591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints483
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (95414, false, 94864, 1, 3150840),
   (95426, true, 978960803602119361, 695856, 967528240938407527430230495),
   (95431, true, 60173795009329, 12804, 450725606425248518825),
   (95439, true, 28509117608449, 16397, 66333268541882615140),
   (95511, false, 64417311, 26, 35081753175),
   (95557, true, 2536604, 5, 1358351442),
   (95559, true, 25538117761863001, 324715, 3750094508057902307698876),
   (95565, false, 4845525, 13, 33913555200),
   (95574, true, 89552838, 11, 840363831792),
   (95581, true, 4446246426339978481, 6636690, 3015843854486919903910822879),
   (95591, true, 100793, 1, 10147368)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints483

#print axioms CongruentPoints483.on_curve
#print axioms CongruentPoints483.indep
#print axioms CongruentPoints483.count

bsd/CongruentPoints484.lean

lean_all/bsd/CongruentPoints484.lean

/-
  bsd/CongruentPoints484.lean — T39 goal G729: points for congruent curves in 95601–95800 with Tunnell A = 2B
  (n = 95693, 95730, 95765, 95790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints484
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (95693, true, 2437357, 1, 3802276920),
   (95730, true, 126150, 1, 29179800),
   (95765, true, 18444339, 11, 61628684712),
   (95790, true, 106090, 1, 14852600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 4 := rfl

end CongruentPoints484

#print axioms CongruentPoints484.on_curve
#print axioms CongruentPoints484.indep
#print axioms CongruentPoints484.count

bsd/CongruentPoints485.lean

lean_all/bsd/CongruentPoints485.lean

/-
  bsd/CongruentPoints485.lean — T39 goal G730: points for congruent curves in 95801–96000 with Tunnell A = 2B
  (n = 95810, 95845, 95849, 95858, 95865, 95903, 95914, 95921, 95933, 95961), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints485
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (95810, true, 1656490, 3, 1820348200),
   (95845, true, 332542522225, 876, 187016514801462775),
   (95849, true, 408888841, 65, 1143129204264),
   (95858, true, 103058, 1, 12149040),
   (95865, true, 103335, 1, 12400200),
   (95903, true, 276159709081, 1610, 63207863686164021),
   (95914, true, 7204617, 2, 19310775099),
   (95921, true, 142129, 1, 39539760),
   (95933, false, 3483, 1, 5657940),
   (95961, true, 146247, 1, 42204744)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints485

#print axioms CongruentPoints485.on_curve
#print axioms CongruentPoints485.indep
#print axioms CongruentPoints485.count

bsd/CongruentPoints486.lean

lean_all/bsd/CongruentPoints486.lean

/-
  bsd/CongruentPoints486.lean — T39 goal G732: points for congruent curves in 96001–96200 with Tunnell A = 2B
  (n = 96011, 96015, 96037, 96069, 96082, 96105, 96126, 96135, 96141, 96159, 96169, 96173, 96198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints486
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (96011, true, 4848187, 7, 2579307576),
   (96015, true, 105625, 1, 14306500),
   (96037, true, 1959074443293054025, 1037768, 2738232491185951478495831355),
   (96069, true, 53199100, 23, 114728245030),
   (96082, true, 2258368, 1, 3390772560),
   (96105, true, 2863929, 2, 4802808933),
   (96126, false, 109308367178, 1089, 10698901998757336),
   (96135, true, 3553225, 6, 1517227075),
   (96141, true, 13310017, 4, 48233413151),
   (96159, true, 4263049, 6, 5136974045),
   (96169, true, 173972125225, 321, 72445906475750080),
   (96173, true, 200277, 1, 78618540),
   (96198, false, 29244993650, 1819, 54202122098736040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints486

#print axioms CongruentPoints486.on_curve
#print axioms CongruentPoints486.indep
#print axioms CongruentPoints486.count

bsd/CongruentPoints487.lean

lean_all/bsd/CongruentPoints487.lean

/-
  bsd/CongruentPoints487.lean — T39 goal G733: points for congruent curves in 96201–96400 with Tunnell A = 2B
  (n = 96209, 96213, 96222, 96227, 96239, 96251, 96254, 96265, 96271, 96294, 96311, 96338, 96385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints487
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (96209, true, 186543, 1, 69026832),
   (96213, true, 1936440025, 122, 57359935269845),
   (96222, true, 361978, 1, 209947240),
   (96227, true, 13486843262171161, 168020, 1534164238047908434054659),
   (96239, true, 267985334929, 1445, 91783675625887908),
   (96251, true, 576549, 1, 431634840),
   (96254, false, 444771, 7, 3131434935),
   (96265, false, 20449, 1, 13451724),
   (96271, true, 214124689, 47, 365527657440),
   (96294, true, 70246473, 8, 586487803077),
   (96311, true, 311960097, 56, 1379047000911),
   (96338, true, 6488141, 5, 15345660561),
   (96385, false, 342065, 7, 2754975600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints487

#print axioms CongruentPoints487.on_curve
#print axioms CongruentPoints487.indep
#print axioms CongruentPoints487.count

bsd/CongruentPoints488.lean

lean_all/bsd/CongruentPoints488.lean

/-
  bsd/CongruentPoints488.lean — T39 goal G734: points for congruent curves in 96401–96600 with Tunnell A = 2B
  (n = 96406, 96414, 96418, 96439, 96441, 96447, 96459, 96501, 96503, 96585, 96594, 96599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints488
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (96406, false, 23610483, 17, 71874548031),
   (96414, false, 6627, 1, 7830153),
   (96418, false, 121250, 23, 17760428400),
   (96439, true, 1392489, 1, 1639244040),
   (96441, true, 975207, 1, 958321224),
   (96447, false, 47775, 1, 18312840),
   (96459, false, 68651, 69, 120327353740),
   (96501, true, 6925426432, 59, 575649698822704),
   (96503, true, 2482759, 5, 923586348),
   (96585, false, 42135, 1, 17839800),
   (96594, false, 1088, 1, 3185936),
   (96599, true, 217481389801, 1090, 86149908256294701)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints488

#print axioms CongruentPoints488.on_curve
#print axioms CongruentPoints488.indep
#print axioms CongruentPoints488.count

bsd/CongruentPoints489.lean

lean_all/bsd/CongruentPoints489.lean

/-
  bsd/CongruentPoints489.lean — T39 goal G735: points for congruent curves in 96601–96800 with Tunnell A = 2B
  (n = 96602, 96607, 96621, 96627, 96629, 96635, 96657, 96670, 96685, 96689, 96690, 96707, 96719, 96730, 96751, 96761), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints489
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (96602, true, 1057100, 1, 1082313540),
   (96607, true, 275462274025, 1614, 58787985928937005),
   (96621, true, 492307, 1, 338707216),
   (96627, true, 3727138204, 195, 38199500456642),
   (96629, true, 655702316689225, 13202, 16784823284265049977405),
   (96635, false, 26411, 3, 141276212),
   (96657, true, 33989337393, 274, 6121862832641985),
   (96670, true, 206045, 1, 82595625),
   (96685, true, 1836667326169, 2358, 2380110194007282347),
   (96689, false, 2511, 1, 4843440),
   (96690, false, 93750, 1, 7245000),
   (96707, false, 1249924, 85, 781154377926),
   (96719, true, 97969, 1, 4882800),
   (96730, true, 4970970, 7, 3340724400),
   (96751, true, 11538800528161, 6167, 37149563190344281440),
   (96761, true, 174087, 1, 60382176)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints489

#print axioms CongruentPoints489.on_curve
#print axioms CongruentPoints489.indep
#print axioms CongruentPoints489.count

bsd/CongruentPoints49.lean

lean_all/bsd/CongruentPoints49.lean

/-
  bsd/CongruentPoints49.lean — T39 goal G103: points for congruent curves in 9001–9200 with Tunnell A = 2B
  (n = 9006, 9015, 9021, 9022, 9030, 9049, 9055, 9061, 9066, 9070, 9086, 9089, 9102, 9111, 9118, 9121, 9131, 9165, 9170, 9173, 9174, 9191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints49
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (9006, true, 725020525, 101, 19364690040065),
   (9015, true, 361201, 4, 199021751),
   (9021, true, 35491900, 43, 186638202890),
   (9022, false, 406250, 9, 387179000),
   (9030, true, 129430, 3, 36240400),
   (9049, true, 1287323092111225, 201312, 44274425509464844860595),
   (9055, true, 34869025, 62, 12234067575),
   (9061, false, 8100, 1, 365490),
   (9066, true, 13122, 1, 1086696),
   (9070, false, 2420, 3, 4013900),
   (9086, true, 4174604, 5, 8516851308),
   (9089, true, 555025, 2, 412605585),
   (9102, true, 1119546, 5, 1159849656),
   (9111, true, 8306575344769, 29714, 5968426468195046375),
   (9118, true, 18818, 1, 2258160),
   (9121, false, 4626783, 92, 165758689551),
   (9131, true, 23092092, 49, 34852903674),
   (9165, true, 22054656, 49, 6934810896),
   (9170, true, 12005, 1, 848925),
   (9173, true, 372843852997225, 26042, 7198301271065321761965),
   (9174, true, 9900, 1, 370260),
   (9191, true, 93592553041, 1845, 26985517520594464)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints49

#print axioms CongruentPoints49.on_curve
#print axioms CongruentPoints49.indep
#print axioms CongruentPoints49.count

bsd/CongruentPoints490.lean

lean_all/bsd/CongruentPoints490.lean

/-
  bsd/CongruentPoints490.lean — T39 goal G741: points for congruent curves in 96801–97000 with Tunnell A = 2B
  (n = 96829, 96855, 96859, 96866, 96869, 96882, 96889, 96890, 96910, 96923, 96985, 96995, 96998, 96999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints490
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (96829, true, 1249098314482225, 18198, 44131813828400181791105),
   (96855, true, 101695, 1, 9885700),
   (96859, true, 11725508901103321, 51788, 1269377926511194852628835),
   (96866, true, 160333173, 23, 1923706187403),
   (96869, true, 29196413469, 235, 4904321424890328),
   (96882, true, 396707449, 30, 7708208473043),
   (96889, false, 84100, 1, 13952190),
   (96890, true, 176890, 1, 62244000),
   (96910, true, 85377710, 1, 788890040400),
   (96923, false, 191350207, 196, 51437422632735),
   (96985, true, 107100, 1, 14869050),
   (96995, false, 6283205, 9, 11823074900),
   (96998, false, 198, 1, 1364880),
   (96999, true, 155407, 1, 47865356)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints490

#print axioms CongruentPoints490.on_curve
#print axioms CongruentPoints490.indep
#print axioms CongruentPoints490.count

bsd/CongruentPoints491.lean

lean_all/bsd/CongruentPoints491.lean

/-
  bsd/CongruentPoints491.lean — T39 goal G742: points for congruent curves in 97001–97200 with Tunnell A = 2B
  (n = 97014, 97026, 97034, 97041, 97057, 97130, 97151, 97154, 97185, 97194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints491
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (97014, true, 42395118, 17, 207057756312),
   (97026, true, 127308, 1, 29408148),
   (97034, true, 3215984, 1, 5764651320),
   (97041, true, 169142190361, 110, 69561263269466891),
   (97057, true, 132676919, 35, 678244409928),
   (97130, false, 2035220, 63, 549963815500),
   (97151, true, 2449353331681, 1487, 3818567034802810080),
   (97154, false, 65826188126, 855, 6841411476506432),
   (97185, true, 279775, 1, 138768400),
   (97194, true, 2719201, 2, 4437895985)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints491

#print axioms CongruentPoints491.on_curve
#print axioms CongruentPoints491.indep
#print axioms CongruentPoints491.count

bsd/CongruentPoints492.lean

lean_all/bsd/CongruentPoints492.lean

/-
  bsd/CongruentPoints492.lean — T39 goal G743: points for congruent curves in 97201–97400 with Tunnell A = 2B
  (n = 97205, 97214, 97230, 97241, 97251, 97253, 97279, 97305, 97331, 97347, 97359, 97370, 97383), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints492
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (97205, false, 836405, 3, 234561500),
   (97214, false, 468, 1, 2103036),
   (97230, true, 46351470, 7, 313898270400),
   (97241, false, 441, 1, 2042040),
   (97251, true, 3882417, 2, 7611359679),
   (97253, true, 664198303482025, 75254, 9567751404834524656755),
   (97279, true, 3666209132494441, 185555, 90272039948036844137136),
   (97305, true, 7211100, 1, 19362558150),
   (97331, true, 17802319068, 427, 188346376833042),
   (97347, false, 2414916, 5, 468666198),
   (97359, false, 468452, 63, 264477927482),
   (97370, false, 343850, 3, 472659200),
   (97383, false, 39, 5, 15203916)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints492

#print axioms CongruentPoints492.on_curve
#print axioms CongruentPoints492.indep
#print axioms CongruentPoints492.count

bsd/CongruentPoints493.lean

lean_all/bsd/CongruentPoints493.lean

/-
  bsd/CongruentPoints493.lean — T39 goal G748: points for congruent curves in 97401–97600 with Tunnell A = 2B
  (n = 97417, 97422, 97433, 97435, 97439, 97455, 97458, 97482, 97485, 97495, 97545, 97546, 97553, 97554, 97555, 97585), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints493
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (97417, true, 71882153377, 738, 13002394945478345),
   (97422, true, 99372, 1, 6175260),
   (97433, true, 30152586025, 89, 5234130457034520),
   (97435, true, 47073065, 2, 322956350925),
   (97439, true, 2590413504171025, 117046, 112988284478277224819985),
   (97455, true, 2742352560025, 2479, 4431727927986877700),
   (97458, false, 453640650, 349, 252642823178040),
   (97482, true, 979462, 3, 430963280),
   (97485, true, 153939, 1, 46743912),
   (97495, true, 52296226581769, 22402, 133533069694770467997),
   (97545, true, 100905, 1, 8202600),
   (97546, true, 485809, 2, 201729225),
   (97553, false, 11025, 1, 10177440),
   (97554, true, 453409053, 23, 9591882811497),
   (97555, false, 19384805, 47, 944956376100),
   (97585, false, 3364, 1, 5656566)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints493

#print axioms CongruentPoints493.on_curve
#print axioms CongruentPoints493.indep
#print axioms CongruentPoints493.count

bsd/CongruentPoints494.lean

lean_all/bsd/CongruentPoints494.lean

/-
  bsd/CongruentPoints494.lean — T39 goal G750: points for congruent curves in 97601–97800 with Tunnell A = 2B
  (n = 97638, 97661, 97665, 97674, 97734, 97745), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints494
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (97638, true, 1033350, 1, 1045740240),
   (97661, true, 255985204421, 1583, 37986063483903540),
   (97665, false, 75615, 1, 16997400),
   (97674, true, 32867593, 2, 188417468987),
   (97734, true, 99372, 1, 5664204),
   (97745, true, 13415430625, 83, 1551883664710500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints494

#print axioms CongruentPoints494.on_curve
#print axioms CongruentPoints494.indep
#print axioms CongruentPoints494.count

bsd/CongruentPoints495.lean

lean_all/bsd/CongruentPoints495.lean

/-
  bsd/CongruentPoints495.lean — T39 goal G751: points for congruent curves in 97801–98000 with Tunnell A = 2B
  (n = 97805, 97826, 97845, 97858, 97869, 97881, 97903, 97905, 97923, 97934, 97953, 97966), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints495
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (97805, true, 3256245, 1, 5873265300),
   (97826, true, 151618, 1, 45104592),
   (97845, false, 178695, 4, 657456525),
   (97858, true, 691879594849, 2650, 66765607625734257),
   (97869, true, 193819, 1, 73651220),
   (97881, true, 16716400, 13, 9849920660),
   (97903, true, 485537, 2, 200003895),
   (97905, true, 31427505, 17, 76683112200),
   (97923, false, 52983, 2, 89331165),
   (97934, true, 20834734, 1, 95099261040),
   (97953, true, 23337328, 1, 112738660300),
   (97966, true, 39333349, 19, 107970043005)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints495

#print axioms CongruentPoints495.on_curve
#print axioms CongruentPoints495.indep
#print axioms CongruentPoints495.count

bsd/CongruentPoints496.lean

lean_all/bsd/CongruentPoints496.lean

/-
  bsd/CongruentPoints496.lean — T39 goal G752: points for congruent curves in 98001–98200 with Tunnell A = 2B
  (n = 98014, 98023, 98042, 98085, 98106, 98115, 98135, 98141, 98161, 98169, 98186, 98195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints496
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (98014, false, 10642023, 226, 16331125150179),
   (98023, true, 96609995537605225, 496179, 29076527011199864390724140),
   (98042, true, 9946048, 9, 18885058640),
   (98085, true, 148010265, 8, 1799064771075),
   (98106, true, 214533, 1, 88368093),
   (98115, false, 105701001765, 1229, 33770907081250200),
   (98135, true, 103847207397025, 12566, 1046411596837700030775),
   (98141, false, 3674891, 7, 5946034380),
   (98161, true, 4021948, 3, 7868941262),
   (98169, true, 74706609, 20, 549317695977),
   (98186, true, 814419928597, 2861, 118945676849801109),
   (98195, true, 588245, 1, 444836700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints496

#print axioms CongruentPoints496.on_curve
#print axioms CongruentPoints496.indep
#print axioms CongruentPoints496.count

bsd/CongruentPoints497.lean

lean_all/bsd/CongruentPoints497.lean

/-
  bsd/CongruentPoints497.lean — T39 goal G753: points for congruent curves in 98201–98400 with Tunnell A = 2B
  (n = 98209, 98210, 98214, 98215, 98230, 98258, 98259, 98274, 98301, 98303, 98335, 98345, 98395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints497
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (98209, true, 60827610121, 734, 7400855518823325),
   (98210, false, 3486014, 9, 13350637216),
   (98214, true, 106588997776887025, 859878, 25473311448851826053585065),
   (98215, true, 309465, 1, 163254000),
   (98230, true, 99405, 1, 4804575),
   (98258, true, 802857650, 89, 5583238489920),
   (98259, true, 489778175817, 2102, 158662290031201341),
   (98274, true, 3583074, 1, 6779852640),
   (98301, false, 51483, 1, 19000764),
   (98303, true, 606390625, 58, 12516499188375),
   (98335, true, 31681904, 7, 176252455308),
   (98345, true, 1338649, 3, 1161947332),
   (98395, true, 2213232025, 122, 78066397022325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints497

#print axioms CongruentPoints497.on_curve
#print axioms CongruentPoints497.indep
#print axioms CongruentPoints497.count

bsd/CongruentPoints498.lean

lean_all/bsd/CongruentPoints498.lean

/-
  bsd/CongruentPoints498.lean — T39 goal G754: points for congruent curves in 98401–98600 with Tunnell A = 2B
  (n = 98410, 98427, 98429, 98430, 98434, 98439, 98454, 98455, 98477, 98531, 98566, 98567, 98571, 98594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints498
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (98410, true, 894010, 3, 115055200),
   (98427, true, 28954762725, 241, 4829986625466240),
   (98429, true, 238806118942609, 36890, 3055153794064020232977),
   (98430, false, 19306730, 73, 2303208099800),
   (98434, true, 213616, 1, 87623640),
   (98439, true, 10018833, 4, 31317835527),
   (98454, true, 118629, 1, 22793715),
   (98455, true, 2798142745225, 1173, 4675146702362676100),
   (98477, true, 23138737, 12, 87951654505),
   (98531, true, 7130677, 7, 14012706156),
   (98566, true, 10990109, 1, 36432211335),
   (98567, true, 255367, 1, 119046480),
   (98571, true, 789525, 1, 696045240),
   (98594, false, 97344, 1, 4882800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints498

#print axioms CongruentPoints498.on_curve
#print axioms CongruentPoints498.indep
#print axioms CongruentPoints498.count

bsd/CongruentPoints499.lean

lean_all/bsd/CongruentPoints499.lean

/-
  bsd/CongruentPoints499.lean — T39 goal G755: points for congruent curves in 98601–98800 with Tunnell A = 2B
  (n = 98605, 98617, 98618, 98630, 98670, 98673, 98679, 98698, 98714, 98753, 98769, 98798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints499
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (98605, true, 27311755384225, 2838, 142672650953292966025),
   (98617, true, 37731696934855225, 115839, 7324740575546798536739360),
   (98618, true, 28938650, 17, 26983878480),
   (98630, true, 32268599566, 571, 480757124009064),
   (98670, true, 250470, 1, 115216200),
   (98673, true, 12000439147225, 8671, 32675574602885768540),
   (98679, true, 695452, 1, 574095626),
   (98698, true, 12283953889, 350, 240668748879537),
   (98714, false, 94178, 1, 9077544),
   (98753, false, 2464900, 313, 15189329778510),
   (98769, false, 16400, 1, 12473020),
   (98798, false, 42350, 1, 18369120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints499

#print axioms CongruentPoints499.on_curve
#print axioms CongruentPoints499.indep
#print axioms CongruentPoints499.count

bsd/CongruentPoints5.lean

lean_all/bsd/CongruentPoints5.lean

/-
  bsd/CongruentPoints5.lean — T39 cycle 196: rational points on y² = x³ − n²x for the 27 squarefree n in 801–1000 of
  analytic rank 1 where the naive search failed and the 2-descent quartics (a2_cfill5) found a point.

  Lean 4 core, rfl. Rows (n, x > 0?, a, b, c) with x = ±a/b², y = c/b³, b > 1 except where x is integral; on_curve
  checks c² + n²ab⁴ = a³ (x > 0) or c² + a³ = n²ab⁴ (x < 0) as in CongruentPoints. NUMERIC_BSD_CONGRUENT_FILL5.jsonl.
    halvable    for n = 806, 957, 966 the found point P has x, x − n, x + n all squares (a = u², a ∓ nb² = v², w²),
                so P = 2Q (Halving, cycle 175); Q = (x + r₁r₂ + r₁r₃ + r₂r₃, (r₁+r₂)(r₁+r₃)(r₂+r₃)) is listed in
                halfPts and checked on the curve. The computed #Ш_an = 1/4 with P becomes 1 with Q (ĥ(Q) = ĥ(P)/4).
    sel3        for n = 901, 943, 959 #Ш_an = 4 and s₂ = 3 = r + 2: Ш[2] = (Z/2)² as BSD + Cassels–Tate predict.
  The other 21: #Ш_an = 1. 31 rank-1 n in 801–1000 still have no point (quartic search bound 1500).
-/
import bsd.MonskyCheck

namespace CongruentPoints5
open MonskyCheck

def onC (n : Nat) (pos : Bool) (a b c : Nat) : Bool :=
  if pos then Nat.beq (c * c + n * n * a * (b * b * b * b)) (a * a * a)
  else Nat.beq (c * c + a * a * a) (n * n * a * (b * b * b * b))

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
  (806, true, 1651225, 42, 1078997795),
  (942, false, 3570843, 73, 6667248285),
  (966, true, 284089, 10, 142396813),
  (830, true, 2790045, 29, 4512122775),
  (943, true, 1413721, 20, 1619978019),
  (813, true, 220323, 11, 92535660),
  (869, true, 8383419, 49, 23509680480),
  (949, true, 900601, 30, 271080901),
  (973, true, 38332, 3, 7306390),
  (814, true, 60236, 5, 13914516),
  (870, true, 21025, 2, 3006575),
  (894, false, 8283750, 97, 4205719800),
  (951, true, 100489, 5, 30950612),
  (839, true, 1719636199801, 12079, 2249322489774960600),
  (871, true, 339333241, 85, 6249782638164),
  (895, true, 714025, 22, 479634675),
  (957, true, 734449, 20, 537168457),
  (821, true, 552056430025, 6118, 409544713903279485),
  (901, true, 48841, 4, 10312965),
  (934, false, 74498, 9, 3595976),
  (854, true, 185150, 13, 49903560),
  (902, false, 10082, 153, 2120131000),
  (935, true, 83521, 3, 24014744),
  (959, true, 9409, 1, 907920),
  (861, true, 105861, 1, 34442100),
  (885, true, 5991360, 59, 12578016600),
  (910, true, 4225, 2, 139425)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem count : pts.length = 27 := rfl

def halv : List (Nat × Nat × Nat × Nat × Nat × Nat) := [(806, 1651225, 42, 1285, 479, 1753), (966, 284089, 10, 533, 433, 617), (957, 734449, 20, 857, 593, 1057)]
theorem halvable : halv.all (fun (n, a, b, u, v, w) =>
    Nat.beq (u * u) a && Nat.beq (v * v + n * (b * b)) a && Nat.beq (w * w) (a + n * (b * b))) = true := rfl

def halfPts : List (Nat × Bool × Nat × Nat × Nat) := [(806, true, 3038, 1, 161448), (966, true, 11109, 1, 1166445), (957, true, 27753, 2, 4579245)]
theorem half_on_curve : halfPts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl

set_option maxRecDepth 100000 in
theorem sel3 : [901, 943, 959].all (fun n => Nat.beq (s2 n) 3) = true := rfl

end CongruentPoints5

#print axioms CongruentPoints5.on_curve
#print axioms CongruentPoints5.count
#print axioms CongruentPoints5.halvable
#print axioms CongruentPoints5.half_on_curve
#print axioms CongruentPoints5.sel3

bsd/CongruentPoints50.lean

lean_all/bsd/CongruentPoints50.lean

/-
  bsd/CongruentPoints50.lean — T39 goal G104: points for congruent curves in 9201–9400 with Tunnell A = 2B
  (n = 9214, 9215, 9222, 9226, 9230, 9255, 9271, 9281, 9303, 9339, 9345, 9347, 9354, 9366, 9367, 9374, 9377, 9379, 9390, 9395, 9399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints50
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (9214, true, 55509233, 76, 117542475063),
   (9215, true, 34432884721, 73, 6389394023923944),
   (9222, false, 7056, 5, 19357128),
   (9226, false, 1973727, 16, 1822448817),
   (9230, false, 72946250, 131, 1200838119000),
   (9255, true, 1777787555569, 13221, 982960020273955472),
   (9271, true, 14848273, 36, 33616062073),
   (9281, true, 363928660225, 2528, 216609985835064705),
   (9303, true, 1373743, 9, 1346268140),
   (9339, true, 2642937, 16, 1831555341),
   (9345, true, 198025, 2, 86536925),
   (9347, true, 14524237, 23, 52046510880),
   (9354, true, 11532, 1, 724284),
   (9366, true, 14620326, 19, 54387612720),
   (9367, true, 243049, 5, 32082468),
   (9374, true, 2043532, 13, 1845309396),
   (9377, true, 371496345025, 2576, 223230113353289055),
   (9379, true, 26683587, 1, 137837151144),
   (9390, false, 5868726, 25, 40659768),
   (9395, true, 139445, 1, 51953700),
   (9399, false, 213444, 13, 727199550)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints50

#print axioms CongruentPoints50.on_curve
#print axioms CongruentPoints50.indep
#print axioms CongruentPoints50.count

bsd/CongruentPoints500.lean

lean_all/bsd/CongruentPoints500.lean

/-
  bsd/CongruentPoints500.lean — T39 goal G756: points for congruent curves in 98801–99000 with Tunnell A = 2B
  (n = 98805, 98810, 98814, 98826, 98895, 98938, 98957, 98987, 98990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints500
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (98805, true, 6172032808895640625, 2548288, 15250458798749121937129964375),
   (98810, true, 19850929, 4, 88163647383),
   (98814, true, 628674018, 71, 9616745503008),
   (98826, false, 28224, 1, 15911280),
   (98895, true, 577980, 1, 432929250),
   (98938, false, 60876207, 44, 1417000648665),
   (98957, true, 411529301854225, 58474, 4752014854119903589935),
   (98987, false, 16354975, 44, 772184544495),
   (98990, false, 1232010, 11, 13224346200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints500

#print axioms CongruentPoints500.on_curve
#print axioms CongruentPoints500.indep
#print axioms CongruentPoints500.count

bsd/CongruentPoints501.lean

lean_all/bsd/CongruentPoints501.lean

/-
  bsd/CongruentPoints501.lean — T39 goal G760: points for congruent curves in 99001–99200 with Tunnell A = 2B
  (n = 99015, 99035, 99065, 99071, 99110, 99130, 99138, 99151, 99166, 99170, 99190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints501
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (99015, true, 452025, 1, 296528400),
   (99035, true, 131151258632641, 34454, 665777837421636232761),
   (99065, true, 2275794216931225, 47307, 108051019485769565319700),
   (99071, true, 4951796161, 97, 342223227078720),
   (99110, false, 585322036, 127, 35988446953212),
   (99130, true, 162063934, 15, 2043511718248),
   (99138, false, 42608942, 21, 63924720560),
   (99151, true, 291350761, 6, 4972692908755),
   (99166, true, 8875357, 7, 22126265001),
   (99170, true, 99405, 1, 2153775),
   (99190, true, 212940, 1, 86950500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints501

#print axioms CongruentPoints501.on_curve
#print axioms CongruentPoints501.indep
#print axioms CongruentPoints501.count

bsd/CongruentPoints502.lean

lean_all/bsd/CongruentPoints502.lean

/-
  bsd/CongruentPoints502.lean — T39 goal G761: points for congruent curves in 99201–99400 with Tunnell A = 2B
  (n = 99202, 99231, 99235, 99242, 99246, 99255, 99294, 99309, 99310, 99353, 99365), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints502
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (99202, true, 132098, 1, 31703520),
   (99231, true, 1590121, 4, 110696885),
   (99235, true, 107494289, 8, 1112547991737),
   (99242, true, 190333, 1, 70855785),
   (99246, false, 1573775, 4, 265447945),
   (99255, false, 97344, 1, 6047496),
   (99294, false, 5600643699, 839, 5213953683287055),
   (99309, false, 345744, 5, 1445617404),
   (99310, false, 68890, 1, 18774600),
   (99353, true, 16593182281729, 4995, 66833385006303730808),
   (99365, true, 119476476, 5, 1305658842474)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints502

#print axioms CongruentPoints502.on_curve
#print axioms CongruentPoints502.indep
#print axioms CongruentPoints502.count

bsd/CongruentPoints503.lean

lean_all/bsd/CongruentPoints503.lean

/-
  bsd/CongruentPoints503.lean — T39 goal G763: points for congruent curves in 99401–99600 with Tunnell A = 2B
  (n = 99426, 99435, 99442, 99533, 99534, 99535), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints503
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (99426, true, 33655993, 2, 195237523187),
   (99435, false, 33286701, 31, 516782299068),
   (99442, true, 126350, 1, 27706560),
   (99533, true, 167912171, 25, 2020990890156),
   (99534, false, 1997574, 5, 2097099576),
   (99535, true, 873774977299225, 222, 25828513089440204881675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints503

#print axioms CongruentPoints503.on_curve
#print axioms CongruentPoints503.indep
#print axioms CongruentPoints503.count

bsd/CongruentPoints504.lean

lean_all/bsd/CongruentPoints504.lean

/-
  bsd/CongruentPoints504.lean — T39 goal G765: points for congruent curves in 99601–99800 with Tunnell A = 2B
  (n = 99610, 99619, 99626, 99638, 99642, 99645, 99665, 99669, 99671, 99673, 99677, 99695, 99699, 99717, 99726, 99734, 99735, 99743, 99781, 99799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints504
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (99610, true, 28349006, 13, 121447141704),
   (99619, false, 2022084, 5, 2067356214),
   (99626, false, 206386922, 47, 1097572863072),
   (99638, true, 2975294, 5, 2806638072),
   (99642, true, 126150, 1, 27478080),
   (99645, true, 900601, 2, 766411451),
   (99665, true, 28867975, 9, 148916271700),
   (99669, false, 28227, 1, 16059708),
   (99671, true, 146683638049, 550, 54979226610355593),
   (99673, true, 3553225, 3, 6480863740),
   (99677, true, 19744988, 13, 45769818990),
   (99695, true, 15357596941129, 3127, 60063165266659681908),
   (99699, false, 1076569007, 112, 20882415099097),
   (99717, false, 2316324, 5, 1402603326),
   (99726, false, 1498662, 19, 44034272568),
   (99734, false, 1505927, 42, 215887684013),
   (99735, true, 124183645609, 264, 43693333869019627),
   (99743, false, 60543, 1, 19503960),
   (99781, true, 51586777, 18, 288731190869),
   (99799, true, 3845521, 2, 7500324945)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints504

#print axioms CongruentPoints504.on_curve
#print axioms CongruentPoints504.indep
#print axioms CongruentPoints504.count

bsd/CongruentPoints505.lean

lean_all/bsd/CongruentPoints505.lean

/-
  bsd/CongruentPoints505.lean — T39 goal G766: points for congruent curves in 99801–100000 with Tunnell A = 2B
  (n = 99807, 99829, 99834, 99885, 99889, 99905, 99910, 99957, 99977), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints505
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (99807, false, 1832015625, 151, 57783190459500),
   (99829, true, 187048649024329, 40530, 1230541863848653459517),
   (99834, true, 30559578, 17, 55679622768),
   (99885, true, 126960, 1, 27924300),
   (99889, false, 1729213223, 993, 4095184721379596),
   (99905, false, 30276, 1, 16566018),
   (99910, true, 12164094, 1, 42423354072),
   (99957, true, 42881553, 14, 249785046225),
   (99977, false, 4352, 1, 6589200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints505

#print axioms CongruentPoints505.on_curve
#print axioms CongruentPoints505.indep
#print axioms CongruentPoints505.count

bsd/CongruentPoints506.lean

lean_all/bsd/CongruentPoints506.lean

/-
  bsd/CongruentPoints506.lean — T39 goal G767: points for congruent curves in 100001–100200 with Tunnell A = 2B
  (n = 100014, 100030, 100037, 100045, 100054, 100135, 100137, 100149, 100166, 100182, 100191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints506
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (100014, true, 7212402, 1, 19367703504),
   (100030, true, 129605, 1, 29668275),
   (100037, true, 745093153, 12, 20334555177265),
   (100045, false, 41342895, 98, 6172279402575),
   (100054, false, 4275, 1, 6535905),
   (100135, false, 8281, 1, 9081072),
   (100137, true, 121755543, 31, 823063353840),
   (100149, true, 189525, 1, 70048440),
   (100166, true, 1429642, 3, 1326707776),
   (100182, true, 961068, 1, 937041300),
   (100191, true, 36770097, 19, 40152945924)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints506

#print axioms CongruentPoints506.on_curve
#print axioms CongruentPoints506.indep
#print axioms CongruentPoints506.count

bsd/CongruentPoints507.lean

lean_all/bsd/CongruentPoints507.lean

/-
  bsd/CongruentPoints507.lean — T39 goal G767: points for congruent curves in 100201–100400 with Tunnell A = 2B
  (n = 100201, 100219, 100221, 100245, 100257, 100258, 100270, 100311, 100331, 100347, 100381, 100385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints507
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (100201, true, 17520631149601441, 28453, 2319102613073169654436680),
   (100219, true, 170275, 1, 56803740),
   (100221, false, 39204, 1, 18262530),
   (100245, false, 85805, 1, 15182900),
   (100257, true, 139932, 1, 36516870),
   (100258, true, 13391332779889, 11270, 15164090070851826537),
   (100270, false, 6343839, 8, 2438314641),
   (100311, true, 47747118785041, 5412, 329303975686026427385),
   (100331, true, 71111117, 23, 399094531836),
   (100347, false, 98397, 1, 6175260),
   (100381, true, 230917, 1, 99931524),
   (100385, true, 1394761, 2, 1577474691)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints507

#print axioms CongruentPoints507.on_curve
#print axioms CongruentPoints507.indep
#print axioms CongruentPoints507.count

bsd/CongruentPoints508.lean

lean_all/bsd/CongruentPoints508.lean

/-
  bsd/CongruentPoints508.lean — T39 goal G767: points for congruent curves in 100401–100600 with Tunnell A = 2B
  (n = 100457, 100461, 100465, 100470, 100487, 100490, 100518, 100529, 100538, 100542, 100590, 100594, 100595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints508
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (100457, true, 537993, 1, 387666840),
   (100461, false, 98283, 1, 6522516),
   (100465, true, 1221025, 3, 906740900),
   (100470, false, 1860531, 5, 2301632703),
   (100487, true, 2260527025, 104, 94238720135145),
   (100490, true, 106402932090, 517, 33583999851292800),
   (100518, false, 293378, 73, 290137099960),
   (100529, true, 1352572, 3, 1169298494),
   (100538, false, 195191717850, 1553, 63558528439726320),
   (100542, true, 249600, 1, 114135840),
   (100590, true, 718725, 1, 603321075),
   (100594, true, 69309266, 25, 242859668064),
   (100595, true, 84602224, 25, 520693452132)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints508

#print axioms CongruentPoints508.on_curve
#print axioms CongruentPoints508.indep
#print axioms CongruentPoints508.count

bsd/CongruentPoints509.lean

lean_all/bsd/CongruentPoints509.lean

/-
  bsd/CongruentPoints509.lean — T39 goal G767: points for congruent curves in 100601–100800 with Tunnell A = 2B
  (n = 100614, 100630, 100631, 100711, 100723, 100751, 100771, 100786), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints509
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (100614, true, 82302252, 17, 698499212724),
   (100630, true, 602045, 1, 460564425),
   (100631, true, 1458583, 1, 1757359632),
   (100711, true, 1890268, 3, 2280608342),
   (100723, true, 3885996091849, 3810, 7097534759270725757),
   (100751, true, 1059247, 3, 563519404),
   (100771, true, 1219779, 1, 1342562760),
   (100786, true, 1321524225, 76, 43128846239745)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints509

#print axioms CongruentPoints509.on_curve
#print axioms CongruentPoints509.indep
#print axioms CongruentPoints509.count

bsd/CongruentPoints51.lean

lean_all/bsd/CongruentPoints51.lean

/-
  bsd/CongruentPoints51.lean — T39 goal G105: points for congruent curves in 9401–9600 with Tunnell A = 2B
  (n = 9401, 9407, 9415, 9430, 9434, 9435, 9442, 9451, 9455, 9462, 9465, 9471, 9483, 9485, 9490, 9503, 9509, 9510, 9511, 9521, 9526, 9534, 9546, 9554, 9579, 9581, 9595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints51
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (9401, true, 10201, 1, 399960),
   (9407, true, 47128225, 49, 283959905760),
   (9415, true, 2609339469025, 13741, 3085459719324009600),
   (9430, true, 284089, 4, 128298963),
   (9434, true, 23973129, 50, 21035981883),
   (9435, true, 116365, 1, 39564100),
   (9442, false, 6400, 1, 555360),
   (9451, true, 77077, 1, 21237216),
   (9455, true, 272415025, 22, 4495575535425),
   (9462, true, 98838, 1, 30930480),
   (9465, false, 49195815, 158, 1620971815275),
   (9471, true, 467313, 2, 318405087),
   (9483, true, 4134588, 17, 6294910230),
   (9485, true, 16231635, 17, 64455560400),
   (9490, true, 346385, 2, 202635225),
   (9503, true, 429777, 4, 263528985),
   (9509, true, 3368094846169, 13870, 5190081616407307947),
   (9510, true, 1320488265625, 11392, 539569196234408125),
   (9511, true, 59428681, 73, 239213661960),
   (9521, true, 152381710321, 3920, 16632645796264119),
   (9526, true, 8249516, 5, 23684360436),
   (9534, true, 927522, 7, 771698304),
   (9546, true, 68413, 1, 17718967),
   (9554, true, 1974025, 14, 877651515),
   (9579, false, 96123, 7, 142438176),
   (9581, false, 98397, 11, 362340732),
   (9595, true, 1723969, 10, 1880584953)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 27 := rfl

end CongruentPoints51

#print axioms CongruentPoints51.on_curve
#print axioms CongruentPoints51.indep
#print axioms CongruentPoints51.count

bsd/CongruentPoints510.lean

lean_all/bsd/CongruentPoints510.lean

/-
  bsd/CongruentPoints510.lean — T39 goal G767: points for congruent curves in 100801–101000 with Tunnell A = 2B
  (n = 100807, 100826, 100830, 100833, 100873, 100878, 100911, 100955, 100965, 100966, 100997), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints510
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (100807, true, 1736500655109885025, 1100371, 2282637301159560640124323920),
   (100826, true, 263538, 1, 124996872),
   (100830, false, 36102270, 47, 1320600632400),
   (100833, false, 166868697, 79, 7838133809220),
   (100873, true, 115217914843146025, 1034448, 13677255176287121930940245),
   (100878, false, 75183350, 31, 530663221880),
   (100911, true, 917535720880960801, 1847554, 814605656849284310336808055),
   (100955, true, 61411653376, 705, 8774300228324624),
   (100965, true, 2930425536894025, 59268, 157467837157725987820475),
   (100966, true, 1213682, 1, 1332445224),
   (100997, true, 4010055625, 152, 206517463143675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints510

#print axioms CongruentPoints510.on_curve
#print axioms CongruentPoints510.indep
#print axioms CongruentPoints510.count

bsd/CongruentPoints511.lean

lean_all/bsd/CongruentPoints511.lean

/-
  bsd/CongruentPoints511.lean — T39 goal G767: points for congruent curves in 101001–101200 with Tunnell A = 2B
  (n = 101001, 101003, 101010, 101031, 101041, 101085, 101090, 101094, 101099, 101101, 101122, 101145, 101146, 101158, 101166, 101194, 101199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints511
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (101001, true, 798800617089721, 7895, 22575849407152142112856),
   (101003, true, 775150747, 43, 20945665907460),
   (101010, false, 86490, 1, 15345000),
   (101031, false, 27991775, 32, 526940085455),
   (101041, true, 5770073521, 191, 337206842963760),
   (101085, true, 972321551433232225, 552344, 958288575881645182388423825),
   (101090, true, 286110, 1, 143167200),
   (101094, true, 289338, 1, 145826352),
   (101099, true, 112651, 1, 16678200),
   (101101, false, 94864, 17, 8999154780),
   (101122, true, 108578, 1, 13029360),
   (101145, false, 131769, 17, 10610710704),
   (101146, true, 12365150, 1, 43479501240),
   (101158, false, 23326132, 23, 232604134140),
   (101166, true, 69503850, 1, 579445818120),
   (101194, true, 314678, 1, 167145888),
   (101199, true, 98323887, 31, 143553411576)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints511

#print axioms CongruentPoints511.on_curve
#print axioms CongruentPoints511.indep
#print axioms CongruentPoints511.count

bsd/CongruentPoints512.lean

lean_all/bsd/CongruentPoints512.lean

/-
  bsd/CongruentPoints512.lean — T39 goal G767: points for congruent curves in 101201–101400 with Tunnell A = 2B
  (n = 101201, 101215, 101235, 101238, 101242, 101246, 101255, 101257, 101261, 101278, 101282, 101303, 101310, 101335, 101346, 101361, 101371), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints512
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (101201, false, 270400, 17, 15207836280),
   (101215, true, 13218679, 9, 37699672508),
   (101235, true, 13396765, 7, 45549001000),
   (101238, true, 10944138, 7, 32272429680),
   (101242, true, 103058, 1, 6183480),
   (101246, true, 2500336, 3, 3681744760),
   (101255, true, 186410455, 9, 2542638606200),
   (101257, false, 1792921, 85, 979585121892),
   (101261, true, 500805363299761, 62750, 6781411091927193170241),
   (101278, true, 157922, 1, 48152160),
   (101282, false, 3600, 1, 6073080),
   (101303, true, 1560753, 1, 1945738740),
   (101310, true, 2196150, 1, 3251100600),
   (101335, true, 322516089025, 1784, 584681876298975),
   (101346, false, 30926, 5, 445529168),
   (101361, true, 90920817, 28, 421236145161),
   (101371, true, 10907217, 4, 35621758809)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints512

#print axioms CongruentPoints512.on_curve
#print axioms CongruentPoints512.indep
#print axioms CongruentPoints512.count

bsd/CongruentPoints513.lean

lean_all/bsd/CongruentPoints513.lean

/-
  bsd/CongruentPoints513.lean — T39 goal G767: points for congruent curves in 101401–101600 with Tunnell A = 2B
  (n = 101409, 101422, 101437, 101465, 101470, 101473, 101535), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints513
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (101409, true, 178074204, 13, 2365270614630),
   (101422, false, 3431875, 7, 6658798425),
   (101437, true, 26194525, 1, 134064111720),
   (101465, true, 2948985, 1, 5061178200),
   (101470, true, 18192914, 13, 25914543312),
   (101473, true, 1100223, 1, 1149121800),
   (101535, true, 281535, 1, 139329000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints513

#print axioms CongruentPoints513.on_curve
#print axioms CongruentPoints513.indep
#print axioms CongruentPoints513.count

bsd/CongruentPoints514.lean

lean_all/bsd/CongruentPoints514.lean

/-
  bsd/CongruentPoints514.lean — T39 goal G767: points for congruent curves in 101601–101800 with Tunnell A = 2B
  (n = 101606, 101645, 101661, 101667, 101670, 101762, 101795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints514
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (101606, false, 388244, 7, 3092739180),
   (101645, true, 6200523307225, 4896, 14197828552549738525),
   (101661, true, 222789, 1, 93571380),
   (101667, true, 2521974039749960041, 4980500, 32968370127487811286190411),
   (101670, false, 69696, 1, 19541808),
   (101762, false, 14400, 1, 12088560),
   (101795, true, 25615184651028025, 264202, 3938756316435085160156325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints514

#print axioms CongruentPoints514.on_curve
#print axioms CongruentPoints514.indep
#print axioms CongruentPoints514.count

bsd/CongruentPoints515.lean

lean_all/bsd/CongruentPoints515.lean

/-
  bsd/CongruentPoints515.lean — T39 goal G767: points for congruent curves in 101801–102000 with Tunnell A = 2B
  (n = 101814, 101821, 101870, 101873, 101926, 101935, 101959, 101990, 101993), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints515
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (101814, true, 124002, 1, 24925896),
   (101821, true, 4994588, 7, 516939858),
   (101870, true, 139445, 1, 35558475),
   (101873, true, 25837143150625, 2681, 131278092380133230400),
   (101926, true, 3690241, 4, 6359153535),
   (101935, true, 395641, 1, 240456636),
   (101959, true, 3735407, 1, 7216806324),
   (101990, true, 309260, 1, 162361500),
   (101993, true, 4349648107561, 1115, 9067687996549517316)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints515

#print axioms CongruentPoints515.on_curve
#print axioms CongruentPoints515.indep
#print axioms CongruentPoints515.count

bsd/CongruentPoints516.lean

lean_all/bsd/CongruentPoints516.lean

/-
  bsd/CongruentPoints516.lean — T39 goal G772: points for congruent curves in 102001–102200 with Tunnell A = 2B
  (n = 102030, 102074, 102102, 102109, 102134, 102143), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints516
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (102030, true, 3652674, 5, 4996858032),
   (102074, false, 1228927, 8, 7112698047),
   (102102, true, 200277, 1, 77106645),
   (102109, true, 1021468, 3, 450710722),
   (102134, true, 558009109, 51, 11591842083605),
   (102143, true, 152778247247, 73, 59715837628794360)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints516

#print axioms CongruentPoints516.on_curve
#print axioms CongruentPoints516.indep
#print axioms CongruentPoints516.count

bsd/CongruentPoints517.lean

lean_all/bsd/CongruentPoints517.lean

/-
  bsd/CongruentPoints517.lean — T39 goal G772: points for congruent curves in 102201–102400 with Tunnell A = 2B
  (n = 102201, 102205, 102278, 102290, 102291, 102338, 102374), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints517
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (102201, true, 10018833, 8, 24021361287),
   (102205, false, 718205, 3, 487052900),
   (102278, false, 7061282, 9, 11513083960),
   (102290, true, 9870985, 6, 28773921275),
   (102291, true, 405741, 1, 250099920),
   (102338, false, 37538, 1, 18445680),
   (102374, false, 28322, 1, 16556232)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints517

#print axioms CongruentPoints517.on_curve
#print axioms CongruentPoints517.indep
#print axioms CongruentPoints517.count

bsd/CongruentPoints518.lean

lean_all/bsd/CongruentPoints518.lean

/-
  bsd/CongruentPoints518.lean — T39 goal G772: points for congruent curves in 102401–102600 with Tunnell A = 2B
  (n = 102422, 102449, 102466, 102486, 102490, 102585, 102589, 102590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints518
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (102422, true, 242028, 1, 107881740),
   (102449, true, 44344744864225, 19684, 131638682958311985105),
   (102466, true, 9020557, 9, 10612192591),
   (102486, true, 46067457, 4, 312475560831),
   (102490, true, 1918225, 2, 2595358425),
   (102585, true, 954529, 3, 236723192),
   (102589, true, 4487742766040689, 161910, 240674497617953096249887),
   (102590, false, 65610, 1, 20201400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints518

#print axioms CongruentPoints518.on_curve
#print axioms CongruentPoints518.indep
#print axioms CongruentPoints518.count

bsd/CongruentPoints519.lean

lean_all/bsd/CongruentPoints519.lean

/-
  bsd/CongruentPoints519.lean — T39 goal G772: points for congruent curves in 102601–102800 with Tunnell A = 2B
  (n = 102613, 102621, 102630, 102638, 102641, 102661, 102666, 102711, 102719, 102734, 102737, 102743, 102765, 102785, 102786, 102790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints519
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (102613, true, 1282288, 1, 1447382580),
   (102621, false, 96123, 1, 11141676),
   (102630, true, 108045, 1, 11102175),
   (102638, true, 30558457, 6, 167686817005),
   (102641, true, 15495319, 5, 60153748872),
   (102661, true, 3850154276761, 1276, 7547576791118657085),
   (102666, true, 732108, 1, 620225892),
   (102711, true, 52485321, 5, 379783782756),
   (102719, true, 3031081, 1, 5274080940),
   (102734, false, 4757198, 7, 3590465136),
   (102737, false, 747631775, 89, 8787410909640),
   (102743, true, 281116360575625, 13041, 4704230779988188290400),
   (102765, true, 215475, 1, 87913800),
   (102785, true, 11126241361, 265, 893123371515984),
   (102786, true, 513264, 1, 360266040),
   (102790, false, 1539, 1, 4032009)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints519

#print axioms CongruentPoints519.on_curve
#print axioms CongruentPoints519.indep
#print axioms CongruentPoints519.count

bsd/CongruentPoints52.lean

lean_all/bsd/CongruentPoints52.lean

/-
  bsd/CongruentPoints52.lean — T39 goal G106: points for congruent curves in 9601–9800 with Tunnell A = 2B
  (n = 9601, 9605, 9614, 9615, 9618, 9634, 9641, 9645, 9646, 9654, 9669, 9685, 9687, 9690, 9695, 9709, 9730, 9731, 9735, 9779, 9782, 9790, 9797, 9798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints52
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (9601, true, 1938067701025, 5712, 2662595157597916465),
   (9605, false, 196, 1, 134442),
   (9614, false, 1778498, 43, 23587568304),
   (9615, true, 264160021225, 1079, 135647045729143300),
   (9618, true, 2202522, 11, 2775177720),
   (9634, false, 3362, 1, 523488),
   (9641, true, 48841, 1, 10581480),
   (9645, true, 18605205, 31, 69583466700),
   (9646, true, 229957, 3, 102113011),
   (9654, false, 219024, 5, 47446776),
   (9669, true, 2833017, 2, 4767967611),
   (9685, false, 1764, 1, 399966),
   (9687, false, 8100, 1, 478170),
   (9690, true, 86640, 1, 25342200),
   (9695, true, 27667105562209, 48613, 81577442784534486348),
   (9709, false, 1790731, 47, 28600015620),
   (9730, true, 19845, 1, 2436525),
   (9731, true, 1465237, 7, 1677085236),
   (9735, true, 17340, 1, 1889550),
   (9779, false, 48223, 4, 32686479),
   (9782, true, 1410433, 12, 85184065),
   (9790, true, 231489, 4, 82006113),
   (9797, true, 17397215974009, 23530, 68946593808247574277),
   (9798, true, 118098, 1, 40444920)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end CongruentPoints52

#print axioms CongruentPoints52.on_curve
#print axioms CongruentPoints52.indep
#print axioms CongruentPoints52.count

bsd/CongruentPoints520.lean

lean_all/bsd/CongruentPoints520.lean

/-
  bsd/CongruentPoints520.lean — T39 goal G772: points for congruent curves in 102801–103000 with Tunnell A = 2B
  (n = 102806, 102810, 102830, 102883, 102889, 102905, 102934, 102935, 102985, 102986, 102999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints520
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (102806, true, 847469377561, 812, 777664637003179395),
   (102810, true, 3330150, 1, 6074193600),
   (102830, false, 63504, 1, 20381256),
   (102883, true, 39263612, 19, 79802002650),
   (102889, true, 6661561, 7, 11238190200),
   (102905, true, 332880025, 38, 5434704105675),
   (102934, true, 99022508, 1, 985372977108),
   (102935, true, 6293440220929, 6162, 12374466645373574617),
   (102985, true, 404915207475025, 4401, 8147809421663186564900),
   (102986, false, 2944656, 25, 110336840328),
   (102999, false, 13180167, 16, 82909583757)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints520

#print axioms CongruentPoints520.on_curve
#print axioms CongruentPoints520.indep
#print axioms CongruentPoints520.count

bsd/CongruentPoints521.lean

lean_all/bsd/CongruentPoints521.lean

/-
  bsd/CongruentPoints521.lean — T39 goal G772: points for congruent curves in 103001–103200 with Tunnell A = 2B
  (n = 103033, 103065, 103070, 103071, 103089, 103105, 103111, 103118, 103147, 103153, 103159, 103170, 103191, 103193), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints521
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (103033, true, 105625, 1, 7558200),
   (103065, false, 55815, 2, 96500475),
   (103070, true, 254320, 1, 117249000),
   (103071, true, 122247, 1, 22982436),
   (103089, true, 106251712, 31, 395860634344),
   (103105, false, 1375929, 5, 2556755256),
   (103111, true, 272473, 1, 131650728),
   (103118, true, 8694630025, 106, 803500117772805),
   (103147, true, 26257275, 7, 132031027920),
   (103153, true, 26711541959041, 3315, 137929453703268757964),
   (103159, true, 159607, 1, 48655824),
   (103170, false, 7220, 7, 429553900),
   (103191, true, 107484, 1, 9859590),
   (103193, false, 2082249, 5, 2197787124)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints521

#print axioms CongruentPoints521.on_curve
#print axioms CongruentPoints521.indep
#print axioms CongruentPoints521.count

bsd/CongruentPoints522.lean

lean_all/bsd/CongruentPoints522.lean

/-
  bsd/CongruentPoints522.lean — T39 goal G772: points for congruent curves in 103201–103400 with Tunnell A = 2B
  (n = 103205, 103206, 103270, 103285, 103299, 103306, 103309, 103361, 103362, 103379, 103389, 103394, 103395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints522
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (103205, true, 108045, 1, 10510500),
   (103206, false, 527041524, 89, 14346526299300),
   (103270, false, 9108230, 17, 85774810800),
   (103285, true, 3553225, 4, 5929352325),
   (103299, true, 249501, 1, 113442840),
   (103306, true, 3627134, 5, 4850326152),
   (103309, true, 3771297, 4, 6582850959),
   (103361, true, 1304726641, 87, 37715870740760),
   (103362, false, 1983750, 7, 6563514600),
   (103379, true, 2367571, 1, 3639486480),
   (103389, true, 174243, 1, 58545648),
   (103394, false, 98192, 1, 10147368),
   (103395, true, 3129361, 2, 5487280559)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints522

#print axioms CongruentPoints522.on_curve
#print axioms CongruentPoints522.indep
#print axioms CongruentPoints522.count

bsd/CongruentPoints523.lean

lean_all/bsd/CongruentPoints523.lean

/-
  bsd/CongruentPoints523.lean — T39 goal G772: points for congruent curves in 103401–103600 with Tunnell A = 2B
  (n = 103411, 103415, 103495, 103530, 103555, 103558, 103566, 103571), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints523
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (103411, true, 114754556, 5, 1228979576454),
   (103415, true, 281385, 1, 138816600),
   (103495, true, 168508075120, 933, 58455941860616300),
   (103530, true, 7291470, 1, 19686969000),
   (103555, true, 111005, 1, 13320600),
   (103558, false, 27508, 1, 16558620),
   (103566, true, 166044178, 33, 1570303245232),
   (103571, true, 2640929736060529, 112468, 117841304212300710728055)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints523

#print axioms CongruentPoints523.on_curve
#print axioms CongruentPoints523.indep
#print axioms CongruentPoints523.count

bsd/CongruentPoints524.lean

lean_all/bsd/CongruentPoints524.lean

/-
  bsd/CongruentPoints524.lean — T39 goal G772: points for congruent curves in 103601–103800 with Tunnell A = 2B
  (n = 103610, 103615, 103621, 103641, 103670, 103683, 103727, 103774, 103785, 103793), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints524
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (103610, true, 6352090, 1, 16007266800),
   (103615, true, 23682655636673401, 444522, 1831705933714092623072699),
   (103621, true, 2334655484, 139, 58029553932630),
   (103641, true, 4270941969, 155, 226773637671672),
   (103670, true, 2193361, 4, 2125366809),
   (103683, true, 1751697, 4, 744471225),
   (103727, true, 3223516, 5, 3437879814),
   (103774, true, 803225, 2, 616293405),
   (103785, true, 243049, 1, 108349568),
   (103793, false, 4938975, 7, 2696753520)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints524

#print axioms CongruentPoints524.on_curve
#print axioms CongruentPoints524.indep
#print axioms CongruentPoints524.count

bsd/CongruentPoints525.lean

lean_all/bsd/CongruentPoints525.lean

/-
  bsd/CongruentPoints525.lean — T39 goal G772: points for congruent curves in 103801–104000 with Tunnell A = 2B
  (n = 103810, 103845, 103846, 103847, 103849, 103859, 103865, 103870, 103877, 103879, 103881, 103883, 103891, 103915, 103961, 103965, 103966, 103969, 103974, 103989, 103990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints525
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (103810, true, 8408890, 9, 198989000),
   (103845, false, 5101124, 17, 66795980426),
   (103846, true, 517123506769, 1694, 303915726716176455),
   (103847, true, 5126697, 7, 1414294440),
   (103849, true, 232826125166881, 47337, 115068630226027084460),
   (103859, false, 23716, 1, 15571710),
   (103865, true, 1078794025, 3, 35432976448900),
   (103870, true, 25672050625, 276, 3913060900126625),
   (103877, true, 36038125, 1, 216342317100),
   (103879, true, 578233, 1, 432544272),
   (103881, true, 11011696, 5, 35510299244),
   (103883, true, 26427379225, 504, 234611057237635),
   (103891, false, 103684, 1, 2110710),
   (103915, true, 618282315, 31, 15171909543000),
   (103961, false, 3174743, 6, 3531358259),
   (103965, false, 124241999, 68, 5176406067049),
   (103966, true, 11800141, 1, 40533484335),
   (103969, true, 690601249240463089, 479159, 573563426918888166983411040),
   (103974, true, 4509973, 1, 9575147413),
   (103989, true, 228939, 1, 97589520),
   (103990, true, 436810, 1, 280394400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints525

#print axioms CongruentPoints525.on_curve
#print axioms CongruentPoints525.indep
#print axioms CongruentPoints525.count

bsd/CongruentPoints526.lean

lean_all/bsd/CongruentPoints526.lean

/-
  bsd/CongruentPoints526.lean — T39 goal G779: points for congruent curves in 104001–104200 with Tunnell A = 2B
  (n = 104005, 104006, 104011, 104041, 104045, 104071, 104074, 104111, 104115, 104126, 104159, 104195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints526
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (104005, true, 293379306025, 38, 158907413391077325),
   (104006, true, 208658, 1, 82628568),
   (104011, false, 8836, 1, 9741690),
   (104041, true, 687241, 1, 563156280),
   (104045, false, 90000, 1, 15661500),
   (104071, true, 13685552227120225, 299222, 1172607853980651018220905),
   (104074, true, 126050393, 26, 1174251622467),
   (104111, true, 320572, 1, 171666306),
   (104115, true, 39417939, 19, 74578740588),
   (104126, false, 99275, 1, 9897195),
   (104159, true, 242552563484, 157, 119449537482565290),
   (104195, true, 4772131, 1, 10422334104)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints526

#print axioms CongruentPoints526.on_curve
#print axioms CongruentPoints526.indep
#print axioms CongruentPoints526.count

bsd/CongruentPoints527.lean

lean_all/bsd/CongruentPoints527.lean

/-
  bsd/CongruentPoints527.lean — T39 goal G779: points for congruent curves in 104201–104400 with Tunnell A = 2B
  (n = 104230, 104234, 104235, 104255, 104262, 104295, 104351, 104390, 104397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints527
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (104230, false, 2606420, 23, 88917007500),
   (104234, true, 137035638, 31, 1094701581072),
   (104235, false, 27735, 2, 69282675),
   (104255, true, 71135824369, 826, 228074439449697),
   (104262, true, 446988, 1, 290600100),
   (104295, true, 126270169, 33, 620009835328),
   (104351, true, 121801, 1, 21924180),
   (104390, true, 178750, 1, 61347000),
   (104397, false, 2221796, 5, 2041225858)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints527

#print axioms CongruentPoints527.on_curve
#print axioms CongruentPoints527.indep
#print axioms CongruentPoints527.count

bsd/CongruentPoints528.lean

lean_all/bsd/CongruentPoints528.lean

/-
  bsd/CongruentPoints528.lean — T39 goal G779: points for congruent curves in 104401–104600 with Tunnell A = 2B
  (n = 104403, 104405, 104410, 104429, 104462, 104482, 104509, 104511, 104531, 104538, 104539, 104554, 104561, 104585, 104590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints528
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (104403, true, 5123395314273569281, 3085800, 11376351594379774657134044929),
   (104405, true, 4961299, 1, 11048337132),
   (104410, true, 388090, 1, 232854000),
   (104429, true, 107161802501, 437, 34467221722542960),
   (104462, false, 70262, 1, 20490360),
   (104482, false, 21250, 1, 14912400),
   (104509, true, 326888461123249, 37290, 5293996681109043919807),
   (104511, true, 2718177, 1, 4478116104),
   (104531, true, 1246588, 3, 913161158),
   (104538, true, 720762, 1, 605440080),
   (104539, true, 26030315539, 285, 3969982640608712),
   (104554, true, 580842, 1, 435446304),
   (104561, false, 53361, 1, 20771520),
   (104585, false, 74529, 1, 20030556),
   (104590, false, 13248010, 19, 128689857000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints528

#print axioms CongruentPoints528.on_curve
#print axioms CongruentPoints528.indep
#print axioms CongruentPoints528.count

bsd/CongruentPoints529.lean

lean_all/bsd/CongruentPoints529.lean

/-
  bsd/CongruentPoints529.lean — T39 goal G779: points for congruent curves in 104601–104800 with Tunnell A = 2B
  (n = 104601, 104610, 104622, 104646, 104691, 104695, 104709, 104710, 104746, 104753, 104781, 104790, 104799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints529
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (104601, true, 607257, 2, 342965259),
   (104610, false, 2944656, 17, 51631938072),
   (104622, false, 40562927, 28, 454050882055),
   (104646, false, 72962, 1, 20262808),
   (104691, true, 118803, 1, 19357128),
   (104695, true, 8829421225, 118, 818270487143475),
   (104709, false, 308783, 4, 915010201),
   (104710, true, 759829225, 82, 7875385139925),
   (104746, true, 1451597292, 113, 21492627884364),
   (104753, false, 23399937, 823, 343220690239680),
   (104781, false, 6413, 3, 75517156),
   (104790, false, 2734935, 16, 44133108075),
   (104799, true, 6322873, 2, 15864088357)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints529

#print axioms CongruentPoints529.on_curve
#print axioms CongruentPoints529.indep
#print axioms CongruentPoints529.count

bsd/CongruentPoints53.lean

lean_all/bsd/CongruentPoints53.lean

/-
  bsd/CongruentPoints53.lean — T39 goal G107: points for congruent curves in 9801–10000 with Tunnell A = 2B
  (n = 9807, 9809, 9831, 9841, 9847, 9867, 9870, 9878, 9885, 9894, 9911, 9919, 9942, 9951, 9966, 9982, 9991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints53
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (9807, true, 10214848, 31, 12591618200),
   (9809, false, 48841, 5, 53108952),
   (9831, true, 36637926298150321, 289435, 7011106718211954391380256),
   (9841, true, 573049, 6, 340964155),
   (9847, true, 448320024197761, 204270, 3797687005389674857241),
   (9867, true, 85683, 1, 24913980),
   (9870, true, 14406, 1, 1259496),
   (9878, false, 193600, 13, 729571920),
   (9885, true, 346560, 1, 203934600),
   (9894, false, 1058, 1, 319976),
   (9911, true, 2362369, 14, 2066258265),
   (9919, true, 11881, 1, 712860),
   (9942, false, 688323, 13, 1271637225),
   (9951, true, 8872975, 11, 26185923820),
   (9966, false, 43923, 7, 101929311),
   (9982, true, 18818, 1, 2188320),
   (9991, true, 176520697, 113, 1620913796664)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints53

#print axioms CongruentPoints53.on_curve
#print axioms CongruentPoints53.indep
#print axioms CongruentPoints53.count

bsd/CongruentPoints530.lean

lean_all/bsd/CongruentPoints530.lean

/-
  bsd/CongruentPoints530.lean — T39 goal G779: points for congruent curves in 104801–105000 with Tunnell A = 2B
  (n = 104801, 104807, 104834, 104853, 104866, 104873, 104902, 104926, 104945, 104951, 104974, 104979, 104986, 104995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints530
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (104801, true, 18462842579281, 13209, 10971179449018485040),
   (104807, true, 224325653783, 841, 100278884816990880),
   (104834, false, 1150, 1, 3554880),
   (104853, false, 1886547, 7, 6563898900),
   (104866, true, 133179585822796692001, 26952458, 1260682516000475411543996715375),
   (104873, true, 2775709225, 49, 145635277079160),
   (104902, false, 429124582, 79, 10242580450320),
   (104926, false, 13319783, 78, 2329304893469),
   (104945, true, 11669884, 9, 27313363502),
   (104951, false, 5582143, 11, 26949411216),
   (104974, true, 208658, 1, 82372752),
   (104979, true, 13941711100, 253, 1442344639016870),
   (104986, false, 28322, 1, 17013192),
   (104995, true, 18221405, 11, 55757499300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints530

#print axioms CongruentPoints530.on_curve
#print axioms CongruentPoints530.indep
#print axioms CongruentPoints530.count

bsd/CongruentPoints531.lean

lean_all/bsd/CongruentPoints531.lean

/-
  bsd/CongruentPoints531.lean — T39 goal G779: points for congruent curves in 105001–105200 with Tunnell A = 2B
  (n = 105006, 105038, 105041, 105079, 105090, 105094, 105110, 105171), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints531
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (105006, false, 61347, 1, 21108087),
   (105038, true, 190223818, 33, 2096266474360),
   (105041, false, 19343, 1, 14359176),
   (105079, true, 3171961, 3, 5392333700),
   (105090, true, 230640, 1, 98598600),
   (105094, false, 1468898, 9, 10162367704),
   (105110, true, 132940, 1, 29676900),
   (105171, false, 144976128, 43, 1560504573936)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints531

#print axioms CongruentPoints531.on_curve
#print axioms CongruentPoints531.indep
#print axioms CongruentPoints531.count

bsd/CongruentPoints532.lean

lean_all/bsd/CongruentPoints532.lean

/-
  bsd/CongruentPoints532.lean — T39 goal G779: points for congruent curves in 105201–105400 with Tunnell A = 2B
  (n = 105202, 105213, 105217, 105222, 105233, 105259, 105266, 105294, 105315, 105346, 105355, 105357, 105367, 105369), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints532
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (105202, true, 5827698, 7, 6562117680),
   (105213, false, 10289828, 13, 46516437170),
   (105217, false, 83167, 1, 18586680),
   (105222, true, 5510878, 7, 4568154200),
   (105233, true, 1164214863, 17, 39710145580560),
   (105259, true, 117117, 1, 17573556),
   (105266, true, 188498, 1, 67888752),
   (105294, true, 947968, 3, 24054688),
   (105315, true, 1221025, 2, 1266390775),
   (105346, true, 189890027511985441, 518752, 81819856019356218596556495),
   (105355, false, 51984, 1, 20893236),
   (105357, true, 302806917, 41, 4273999471980),
   (105367, true, 6216534025, 191, 385210703503080),
   (105369, true, 1359897, 1, 1581071184)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints532

#print axioms CongruentPoints532.on_curve
#print axioms CongruentPoints532.indep
#print axioms CongruentPoints532.count

bsd/CongruentPoints533.lean

lean_all/bsd/CongruentPoints533.lean

/-
  bsd/CongruentPoints533.lean — T39 goal G779: points for congruent curves in 105401–105600 with Tunnell A = 2B
  (n = 105414, 105427, 105438, 105481, 105493, 105521, 105549, 105567), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints533
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (105414, true, 169362, 1, 54552024),
   (105427, true, 2896439783449, 2490, 4802262788164197707),
   (105438, false, 3174, 25, 3712621176),
   (105481, true, 5823063481, 151, 404680200844920),
   (105493, true, 24542668921, 460, 1598070297156531),
   (105521, false, 74529, 5, 719893356),
   (105549, true, 430323273, 62, 2974537904067),
   (105567, false, 567, 1, 2513700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints533

#print axioms CongruentPoints533.on_curve
#print axioms CongruentPoints533.indep
#print axioms CongruentPoints533.count

bsd/CongruentPoints534.lean

lean_all/bsd/CongruentPoints534.lean

/-
  bsd/CongruentPoints534.lean — T39 goal G779: points for congruent curves in 105601–105800 with Tunnell A = 2B
  (n = 105618, 105623, 105638, 105655, 105658, 105661, 105679, 105717, 105735, 105763, 105769, 105783, 105798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints534
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (105618, true, 272832, 1, 131397840),
   (105623, true, 115885225, 17, 1203448372440),
   (105638, true, 2000033, 4, 1512182385),
   (105655, true, 21184525102225, 10673, 80241171606503058900),
   (105658, false, 51842, 1, 20962200),
   (105661, true, 80661684004225, 14274, 698159180535491561255),
   (105679, true, 142129, 1, 35830080),
   (105717, true, 2522539968, 73, 123494289923160),
   (105735, true, 474721, 1, 318866444),
   (105763, true, 8613725, 1, 25278643440),
   (105769, true, 196738337143253293609, 43092720, 159073936420033650100231581227),
   (105783, true, 361466220430225, 24486, 6765675860108369931985),
   (105798, true, 78820391650, 163, 22114724488536680)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints534

#print axioms CongruentPoints534.on_curve
#print axioms CongruentPoints534.indep
#print axioms CongruentPoints534.count

bsd/CongruentPoints535.lean

lean_all/bsd/CongruentPoints535.lean

/-
  bsd/CongruentPoints535.lean — T39 goal G779: points for congruent curves in 105801–106000 with Tunnell A = 2B
  (n = 105845, 105846, 105865, 105870, 105901, 105905, 105909, 105910, 105961, 105982, 105994, 105995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints535
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (105845, true, 79426399798201, 14964, 675610140526052994899),
   (105846, false, 143543, 2, 150907301),
   (105865, false, 2734479, 28, 137173408119),
   (105870, true, 13028430, 7, 43137349200),
   (105901, false, 1758276, 5, 2624627382),
   (105905, true, 714025, 2, 485693325),
   (105909, false, 3204747, 11, 22212207108),
   (105910, false, 11875554, 19, 125239391544),
   (105961, true, 59102119, 23, 144047177400),
   (105982, false, 10982, 1, 11046600),
   (105994, false, 176967, 2, 162076173),
   (105995, true, 2053345, 4, 1658809425)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints535

#print axioms CongruentPoints535.on_curve
#print axioms CongruentPoints535.indep
#print axioms CongruentPoints535.count

bsd/CongruentPoints536.lean

lean_all/bsd/CongruentPoints536.lean

/-
  bsd/CongruentPoints536.lean — T39 goal G780: points for congruent curves in 106001–106200 with Tunnell A = 2B
  (n = 106027, 106030, 106035, 106045, 106079, 106091, 106114, 106190, 106194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints536
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (106027, true, 4647560725, 97, 309452943971760),
   (106030, true, 37342260374, 205, 7164514665963432),
   (106035, true, 5130882257051329, 27690, 367479862755900659730233),
   (106045, false, 4427405, 7, 5723350200),
   (106079, true, 176183598855889, 18972, 2282982026184184696345),
   (106091, true, 5351917, 7, 2943631356),
   (106114, false, 94864, 1, 14645400),
   (106190, true, 823690, 1, 741321000),
   (106194, true, 7946994, 1, 22400904240)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints536

#print axioms CongruentPoints536.on_curve
#print axioms CongruentPoints536.indep
#print axioms CongruentPoints536.count

bsd/CongruentPoints537.lean

lean_all/bsd/CongruentPoints537.lean

/-
  bsd/CongruentPoints537.lean — T39 goal G780: points for congruent curves in 106201–106400 with Tunnell A = 2B
  (n = 106205, 106210, 106262, 106282, 106289, 106343, 106358), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints537
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (106205, true, 2270046025, 58, 106808406731325),
   (106210, true, 1201850, 1, 1312420200),
   (106262, true, 35988540912025, 17682, 82994707156831938845),
   (106282, true, 280918, 1, 137823840),
   (106289, true, 4686252550651681, 208598, 51712621811377909967625),
   (106343, true, 3131544326689, 5005, 2913283183152682488),
   (106358, true, 466092, 1, 309809940)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints537

#print axioms CongruentPoints537.on_curve
#print axioms CongruentPoints537.indep
#print axioms CongruentPoints537.count

bsd/CongruentPoints538.lean

lean_all/bsd/CongruentPoints538.lean

/-
  bsd/CongruentPoints538.lean — T39 goal G780: points for congruent curves in 106401–106600 with Tunnell A = 2B
  (n = 106426, 106446, 106455, 106463, 106465, 106467, 106491, 106511, 106518, 106559, 106571, 106582, 106590, 106594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints538
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (106426, false, 499400703, 148, 50885501309439),
   (106446, true, 36085194, 17, 113307509160),
   (106455, false, 849375, 43, 181404756000),
   (106463, true, 26620753761, 410, 3215436195611241),
   (106465, true, 131209456, 33, 703670010596),
   (106467, true, 2463343125, 137, 71493278933700),
   (106491, false, 2616789, 5, 792686916),
   (106511, true, 58544733011209, 10695, 438145679458854788948),
   (106518, true, 46539951078, 323, 9749690259613200),
   (106559, true, 61589837929, 740, 4890873846993717),
   (106571, true, 11407600, 9, 25188551180),
   (106582, true, 40318448, 19, 76504255080),
   (106590, true, 51846685, 19, 250204069225),
   (106594, false, 85172174, 165, 26770863999824)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints538

#print axioms CongruentPoints538.on_curve
#print axioms CongruentPoints538.indep
#print axioms CongruentPoints538.count

bsd/CongruentPoints539.lean

lean_all/bsd/CongruentPoints539.lean

/-
  bsd/CongruentPoints539.lean — T39 goal G780: points for congruent curves in 106601–106800 with Tunnell A = 2B
  (n = 106655, 106658, 106711, 106761, 106777), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints539
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (106655, true, 34895809520, 157, 6500158656977700),
   (106658, true, 4973858, 1, 11090220960),
   (106711, true, 31508225, 16, 88128293505),
   (106761, true, 199963353, 7, 2826681958008),
   (106777, false, 946832, 3, 159938380)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints539

#print axioms CongruentPoints539.on_curve
#print axioms CongruentPoints539.indep
#print axioms CongruentPoints539.count

bsd/CongruentPoints54.lean

lean_all/bsd/CongruentPoints54.lean

/-
  bsd/CongruentPoints54.lean — T39 goal G108: points for congruent curves in 10001–10200 with Tunnell A = 2B
  (n = 10001, 10005, 10010, 10011, 10030, 10031, 10033, 10038, 10047, 10059, 10069, 10070, 10074, 10101, 10127, 10135, 10145, 10146, 10149, 10166, 10195, 10199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints54
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (10001, true, 1370137, 3, 1600320016),
   (10005, true, 23805, 1, 3332700),
   (10010, true, 59290, 1, 14229600),
   (10011, true, 368064, 1, 223215480),
   (10030, true, 42627500, 23, 276149470500),
   (10031, true, 3073009, 17, 1787218560),
   (10033, false, 1166744047, 1103, 415027155750480),
   (10038, true, 1199541, 5, 1284708411),
   (10047, true, 874892717449, 1635, 817951337148181168),
   (10059, true, 1217307, 11, 22312836),
   (10069, true, 431321252087775625, 256878, 283270122666506622522664675),
   (10070, true, 13680, 1, 1083000),
   (10074, true, 95922, 1, 29543976),
   (10101, true, 24843, 1, 3577392),
   (10127, true, 2411684288, 241, 114858762234840),
   (10135, true, 10503143740, 1009, 201082635315150),
   (10145, false, 900, 1, 303150),
   (10146, true, 526338, 7, 125385408),
   (10149, false, 11492, 7, 53296802),
   (10166, true, 11466, 1, 567840),
   (10195, true, 18605, 1, 2122800),
   (10199, true, 24649, 1, 3523080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints54

#print axioms CongruentPoints54.on_curve
#print axioms CongruentPoints54.indep
#print axioms CongruentPoints54.count

bsd/CongruentPoints540.lean

lean_all/bsd/CongruentPoints540.lean

/-
  bsd/CongruentPoints540.lean — T39 goal G780: points for congruent curves in 106801–107000 with Tunnell A = 2B
  (n = 106826, 106831, 106834, 106845, 106854, 106882, 106889, 106910, 106921, 106935, 106945, 106951, 106971, 106981, 106995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints540
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (106826, true, 37431198, 13, 200610602808),
   (106831, false, 35344, 1, 18953220),
   (106834, false, 773150, 3, 502606720),
   (106845, true, 8953611, 5, 25571513016),
   (106854, false, 555458, 9, 6437321864),
   (106882, false, 10082, 1, 10684080),
   (106889, true, 289161, 1, 144479040),
   (106910, false, 1108890, 11, 13572081000),
   (106921, false, 104329, 1, 7558200),
   (106935, true, 185988961501729, 12136, 2527365336935049640783),
   (106945, true, 6108805345, 166, 418225300025175),
   (106951, true, 1221025, 1, 1344046860),
   (106971, true, 504703680625, 1914, 225953256690466975),
   (106981, true, 56378987, 11, 412017636996),
   (106995, true, 108045, 1, 4939200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints540

#print axioms CongruentPoints540.on_curve
#print axioms CongruentPoints540.indep
#print axioms CongruentPoints540.count

bsd/CongruentPoints541.lean

lean_all/bsd/CongruentPoints541.lean

/-
  bsd/CongruentPoints541.lean — T39 goal G780: points for congruent curves in 107001–107200 with Tunnell A = 2B
  (n = 107029, 107030, 107045, 107051, 107066, 107070, 107111, 107139, 107151, 107191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints541
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (107029, false, 20215117, 17, 105261070668),
   (107030, true, 74385850, 3, 641503570400),
   (107045, true, 6765244, 3, 17417120678),
   (107051, true, 22614757052269369, 82866, 3399056117218975361709275),
   (107066, true, 5778113, 4, 13264813023),
   (107070, true, 460401, 2, 114639849),
   (107111, true, 7917618361, 257, 316340620628760),
   (107139, true, 111747, 1, 10616544),
   (107151, true, 3433609, 5, 3980214352),
   (107191, false, 1225, 1, 3751440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints541

#print axioms CongruentPoints541.on_curve
#print axioms CongruentPoints541.indep
#print axioms CongruentPoints541.count

bsd/CongruentPoints542.lean

lean_all/bsd/CongruentPoints542.lean

/-
  bsd/CongruentPoints542.lean — T39 goal G780: points for congruent curves in 107201–107400 with Tunnell A = 2B
  (n = 107205, 107211, 107229, 107233, 107239, 107270, 107291, 107295, 107322, 107329, 107355, 107365, 107382), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints542
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (107205, true, 24777755625, 328, 3451953591268875),
   (107211, true, 183027, 1, 63462204),
   (107229, false, 507, 1, 2414412),
   (107233, true, 3356901874225, 1609, 6129397118485970160),
   (107239, true, 52706609531798401, 681430, 3965384972959321049978649),
   (107270, true, 123930, 1, 21848400),
   (107291, false, 96100, 1, 14789790),
   (107295, true, 473031, 1, 316857996),
   (107322, true, 33596250, 1, 194730505200),
   (107329, false, 68121, 1, 21647340),
   (107355, false, 2705295, 8, 10387938825),
   (107365, true, 1441525, 3, 1284336100),
   (107382, false, 2500707, 7, 7320895065)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints542

#print axioms CongruentPoints542.on_curve
#print axioms CongruentPoints542.indep
#print axioms CongruentPoints542.count

bsd/CongruentPoints543.lean

lean_all/bsd/CongruentPoints543.lean

/-
  bsd/CongruentPoints543.lean — T39 goal G780: points for congruent curves in 107401–107600 with Tunnell A = 2B
  (n = 107405, 107431, 107439, 107445, 107447, 107463, 107465, 107471, 107485, 107502, 107535, 107589, 107590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints543
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (107405, true, 9355725625, 142, 880353112630875),
   (107431, true, 29535670616929, 16354, 37172270907699621225),
   (107439, true, 170097, 1, 54387144),
   (107445, true, 11400741, 7, 34144182864),
   (107447, false, 77284, 5, 746447514),
   (107463, true, 3197648510809, 3605, 5143821713547929252),
   (107465, true, 83439546975625, 7316, 760367494334874454875),
   (107471, false, 11025, 1, 11224920),
   (107485, true, 562039065, 32, 13066471529475),
   (107502, true, 7429282, 3, 20077326080),
   (107535, false, 48574041, 23, 206347021452),
   (107589, false, 3054243, 7, 7509587436),
   (107590, true, 127890, 1, 24725400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints543

#print axioms CongruentPoints543.on_curve
#print axioms CongruentPoints543.indep
#print axioms CongruentPoints543.count

bsd/CongruentPoints544.lean

lean_all/bsd/CongruentPoints544.lean

/-
  bsd/CongruentPoints544.lean — T39 goal G780: points for congruent curves in 107601–107800 with Tunnell A = 2B
  (n = 107635, 107646, 107655, 107666, 107670, 107679, 107681, 107695, 107707, 107715, 107726, 107729, 107746), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints544
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (107635, true, 116699, 1, 15404268),
   (107646, true, 159903744, 31, 1541885304960),
   (107655, true, 8184112535227225, 238731, 489980651645187418879900),
   (107666, true, 974242, 3, 99676576),
   (107670, false, 27573026, 21, 202984572232),
   (107679, true, 324329148, 41, 4846612623138),
   (107681, true, 42637707121, 521, 6409936715237040),
   (107695, true, 3898559, 5, 5567142252),
   (107707, true, 28124559547, 227, 4623846006654420),
   (107715, false, 12396900, 19, 129767350050),
   (107726, false, 62719956, 41, 1345372127580),
   (107729, true, 440657, 1, 283640784),
   (107746, true, 457338095388237361, 1755428, 212696000895902818415513175)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints544

#print axioms CongruentPoints544.on_curve
#print axioms CongruentPoints544.indep
#print axioms CongruentPoints544.count

bsd/CongruentPoints545.lean

lean_all/bsd/CongruentPoints545.lean

/-
  bsd/CongruentPoints545.lean — T39 goal G780: points for congruent curves in 107801–108000 with Tunnell A = 2B
  (n = 107814, 107835, 107845, 107855, 107882, 107926, 107929, 107931, 107934, 107954, 107958, 107965, 107966, 107970), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints545
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (107814, true, 117978, 1, 16454592),
   (107835, true, 1965915, 1, 2752281000),
   (107845, true, 297430798356787225, 1444278, 106115101067198532274851275),
   (107855, false, 4356, 1, 7112622),
   (107882, true, 180918, 1, 61774320),
   (107926, true, 306124, 1, 158498340),
   (107929, true, 44623137121, 282, 9250266328803305),
   (107931, true, 201243, 1, 76195728),
   (107934, false, 28227, 1, 17502777),
   (107954, false, 26918647, 22, 232342913733),
   (107958, false, 960304403, 1047, 3667231743943825),
   (107965, false, 53590160, 589, 274192556597700),
   (107966, false, 879194, 3, 387974600),
   (107970, true, 9555345, 8, 20400661575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints545

#print axioms CongruentPoints545.on_curve
#print axioms CongruentPoints545.indep
#print axioms CongruentPoints545.count

bsd/CongruentPoints546.lean

lean_all/bsd/CongruentPoints546.lean

/-
  bsd/CongruentPoints546.lean — T39 goal G781: points for congruent curves in 108001–108200 with Tunnell A = 2B
  (n = 108006, 108030, 108043, 108049, 108070, 108077, 108114, 108115, 108121, 108129, 108134, 108141, 108165, 108177, 108194, 108199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints546
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (108006, true, 20683149, 11, 72908100225),
   (108030, false, 3600, 1, 6478200),
   (108043, true, 184093, 1, 63952980),
   (108049, true, 17481335089, 17, 2311325994062400),
   (108070, true, 2805005, 1, 4694376225),
   (108077, true, 52999132, 21, 168741114130),
   (108114, true, 113664, 1, 11828160),
   (108115, true, 264915, 1, 124479600),
   (108121, true, 62823077062201, 23562, 146943601452581418395),
   (108129, true, 212097, 1, 84032136),
   (108134, true, 432666, 1, 275564640),
   (108141, true, 43118592, 19, 120218003136),
   (108165, true, 507840, 1, 353597400),
   (108177, true, 47008369750225, 16604, 249132407089418824985),
   (108194, true, 108288, 1, 1484448),
   (108199, true, 66824835025, 777, 3641900600127140)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints546

#print axioms CongruentPoints546.on_curve
#print axioms CongruentPoints546.indep
#print axioms CongruentPoints546.count

bsd/CongruentPoints547.lean

lean_all/bsd/CongruentPoints547.lean

/-
  bsd/CongruentPoints547.lean — T39 goal G781: points for congruent curves in 108201–108400 with Tunnell A = 2B
  (n = 108205, 108206, 108214, 108245, 108257, 108262, 108309, 108335, 108353, 108385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints547
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (108205, true, 137275, 1, 31298700),
   (108206, false, 922082, 3, 300845888),
   (108214, true, 47992909, 13, 307394582145),
   (108245, true, 2498754255226681, 42024, 124540522428100796685971),
   (108257, true, 1090213748008225, 7616, 35996500177192835593935),
   (108262, true, 129437, 1, 25524345),
   (108309, true, 65996284, 7, 534404909690),
   (108335, false, 108241, 1, 1484448),
   (108353, true, 314847, 1, 165873240),
   (108385, true, 44329465, 11, 281935397400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints547

#print axioms CongruentPoints547.on_curve
#print axioms CongruentPoints547.indep
#print axioms CongruentPoints547.count

bsd/CongruentPoints548.lean

lean_all/bsd/CongruentPoints548.lean

/-
  bsd/CongruentPoints548.lean — T39 goal G781: points for congruent curves in 108401–108600 with Tunnell A = 2B
  (n = 108438, 108454, 108471, 108485, 108511, 108515, 108521, 108542, 108562, 108570, 108583, 108589, 108597), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints548
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (108438, true, 261237, 1, 121475205),
   (108454, true, 1004491953, 68, 27584656342377),
   (108471, false, 419648801, 63, 1969529988140),
   (108485, true, 93222211177225, 8954, 896149686029892759075),
   (108511, true, 3276257, 4, 5029039569),
   (108515, false, 17424, 1, 14138124),
   (108521, true, 55093996136089, 15246, 363557459725995516085),
   (108542, false, 2547216, 5, 1492959048),
   (108562, true, 421888, 1, 264800640),
   (108570, true, 889350, 1, 832431600),
   (108583, true, 33235225, 17, 63111668760),
   (108589, true, 43876435397041, 20010, 39027311737689867839),
   (108597, true, 25440000, 13, 88857658800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints548

#print axioms CongruentPoints548.on_curve
#print axioms CongruentPoints548.indep
#print axioms CongruentPoints548.count

bsd/CongruentPoints549.lean

lean_all/bsd/CongruentPoints549.lean

/-
  bsd/CongruentPoints549.lean — T39 goal G781: points for congruent curves in 108601–108800 with Tunnell A = 2B
  (n = 108615, 108619, 108647, 108654, 108655, 108669, 108699, 108717, 108721, 108766, 108790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints549
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (108615, false, 3212391, 11, 22840838748),
   (108619, true, 177788, 1, 59347002),
   (108647, false, 3490259311, 215, 213343106373012),
   (108654, true, 20868757, 9, 86440812731),
   (108655, true, 151900, 1, 41371050),
   (108669, true, 135531, 1, 29816820),
   (108699, false, 1862341392, 131, 4595594224788),
   (108717, true, 141267, 1, 33904080),
   (108721, true, 5499783, 7, 3204540228),
   (108766, true, 417698, 1, 260643552),
   (108790, false, 97910054, 93, 9259860516544)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints549

#print axioms CongruentPoints549.on_curve
#print axioms CongruentPoints549.indep
#print axioms CongruentPoints549.count

bsd/CongruentPoints55.lean

lean_all/bsd/CongruentPoints55.lean

/-
  bsd/CongruentPoints55.lean — T39 goal G109: points for congruent curves in 10201–10400 with Tunnell A = 2B
  (n = 10229, 10230, 10231, 10261, 10263, 10270, 10295, 10302, 10329, 10335, 10337, 10346, 10355, 10366, 10370, 10371, 10373, 10374, 10385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints55
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (10229, false, 4900, 1, 628530),
   (10230, true, 3382720, 17, 3023306000),
   (10231, true, 37167545116, 1119, 6726392869815190),
   (10261, true, 15627100, 33, 43185446830),
   (10263, true, 3191793, 17, 2106583380),
   (10270, true, 5340400, 21, 6539319800),
   (10295, true, 42025, 2, 1718925),
   (10302, true, 262701, 5, 26532801),
   (10329, false, 1115136, 29, 9097244640),
   (10335, true, 39621950940, 109, 7886815809637050),
   (10337, false, 2772225, 17, 1853531280),
   (10346, false, 1251362, 11, 39733512),
   (10355, true, 59405, 1, 14257200),
   (10366, true, 10658, 1, 255792),
   (10370, true, 93025, 2, 25395825),
   (10371, true, 1883561360041, 9048, 2307535294211648405),
   (10373, true, 15548, 1, 1444170),
   (10374, true, 28158, 1, 4392648),
   (10385, true, 139159, 1, 51767148)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints55

#print axioms CongruentPoints55.on_curve
#print axioms CongruentPoints55.indep
#print axioms CongruentPoints55.count

bsd/CongruentPoints550.lean

lean_all/bsd/CongruentPoints550.lean

/-
  bsd/CongruentPoints550.lean — T39 goal G781: points for congruent curves in 108801–109000 with Tunnell A = 2B
  (n = 108834, 108849, 108854, 108870, 108885, 108894, 108915, 108937, 108965, 108966), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints550
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (108834, true, 3661218, 1, 7002391968),
   (108849, true, 3267379921, 102, 175189788817615),
   (108854, true, 289231146, 7, 4918058902560),
   (108870, true, 110016, 1, 5253264),
   (108885, true, 223260, 1, 92094750),
   (108894, false, 2669334, 5, 873508536),
   (108915, true, 20990207715, 197, 2978762931015300),
   (108937, false, 1895225, 7, 6869776320),
   (108965, true, 64180385, 16, 463061477775),
   (108966, true, 245872, 1, 109290104)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints550

#print axioms CongruentPoints550.on_curve
#print axioms CongruentPoints550.indep
#print axioms CongruentPoints550.count

bsd/CongruentPoints551.lean

lean_all/bsd/CongruentPoints551.lean

/-
  bsd/CongruentPoints551.lean — T39 goal G781: points for congruent curves in 109001–109200 with Tunnell A = 2B
  (n = 109039, 109041, 109047, 109051, 109065, 109069, 109070, 109081, 109095, 109105, 109109, 109114, 109130, 109135, 109181, 109189), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints551
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (109039, true, 3845521, 5, 5319008556),
   (109041, false, 37582608, 229, 35054588000124),
   (109047, true, 1031152, 3, 321249340),
   (109051, true, 86185295371, 555, 23300897852292956),
   (109065, true, 11458140, 1, 38783902950),
   (109069, true, 3797515527280225, 138138, 195741821337045312299095),
   (109070, true, 18301946, 11, 54246967944),
   (109081, true, 35866647721129, 12121, 192165762540724958040),
   (109095, true, 113349705, 26, 916432364925),
   (109105, true, 15693665523958321, 332954, 1252726229993111705696319),
   (109109, true, 252252, 1, 114228114),
   (109114, true, 43169972074, 597, 3894170322891680),
   (109130, true, 7197246, 5, 17867519544),
   (109135, true, 414649708489, 1781, 146979526577086488),
   (109181, true, 400869, 1, 244211940),
   (109189, false, 108900, 1, 2619870)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints551

#print axioms CongruentPoints551.on_curve
#print axioms CongruentPoints551.indep
#print axioms CongruentPoints551.count

bsd/CongruentPoints552.lean

lean_all/bsd/CongruentPoints552.lean

/-
  bsd/CongruentPoints552.lean — T39 goal G781: points for congruent curves in 109201–109400 with Tunnell A = 2B
  (n = 109227, 109230, 109254, 109293, 109298, 109306, 109335, 109389), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints552
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (109227, true, 20150208, 11, 68277881880),
   (109230, false, 1608255, 4, 867470175),
   (109254, true, 122598, 1, 19475568),
   (109293, false, 26806875, 521, 153599821521300),
   (109298, false, 131383, 2, 151143195),
   (109306, true, 452025, 2, 77132685),
   (109335, true, 132825625, 3, 1530773319500),
   (109389, true, 201243, 1, 75776148)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints552

#print axioms CongruentPoints552.on_curve
#print axioms CongruentPoints552.indep
#print axioms CongruentPoints552.count

bsd/CongruentPoints553.lean

lean_all/bsd/CongruentPoints553.lean

/-
  bsd/CongruentPoints553.lean — T39 goal G781: points for congruent curves in 109401–109600 with Tunnell A = 2B
  (n = 109406, 109409, 109415, 109442, 109445, 109459, 109473, 109499, 109513, 109527, 109549, 109571, 109585, 109590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints553
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (109406, false, 2651891, 5, 1090607727),
   (109409, true, 776042950489, 2202, 498960827239465045),
   (109415, true, 1234375, 3, 826932500),
   (109442, false, 57600, 1, 22333920),
   (109445, true, 31873275, 17, 22208083800),
   (109459, false, 5491, 1, 8100840),
   (109473, true, 100339824, 5, 1004727742668),
   (109499, false, 22132620143, 624, 5421449380762169),
   (109513, true, 360937, 1, 206621640),
   (109527, false, 2265252, 7, 7322686470),
   (109549, false, 68651, 1, 22368060),
   (109571, true, 216293, 1, 86729412),
   (109585, true, 255025, 1, 116291400),
   (109590, true, 789610, 1, 694856800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints553

#print axioms CongruentPoints553.on_curve
#print axioms CongruentPoints553.indep
#print axioms CongruentPoints553.count

bsd/CongruentPoints554.lean

lean_all/bsd/CongruentPoints554.lean

/-
  bsd/CongruentPoints554.lean — T39 goal G781: points for congruent curves in 109601–109800 with Tunnell A = 2B
  (n = 109649, 109655, 109666, 109678, 109722, 109731, 109735, 109765, 109798), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints554
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (109649, true, 8200591, 3, 23313108700),
   (109655, true, 221430619497025, 21358, 3209835679523623210425),
   (109666, true, 1361802551006881, 73304, 45305317232097165463695),
   (109678, true, 60852314841909733129, 672650, 474695933097554851956627831867),
   (109722, true, 142578, 1, 34378920),
   (109731, true, 50805453, 13, 337144986108),
   (109735, true, 10821369472225, 7434, 29482588069042569175),
   (109765, false, 93636, 1, 17526762),
   (109798, false, 2047743, 28, 123147415425)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints554

#print axioms CongruentPoints554.on_curve
#print axioms CongruentPoints554.indep
#print axioms CongruentPoints554.count

bsd/CongruentPoints555.lean

lean_all/bsd/CongruentPoints555.lean

/-
  bsd/CongruentPoints555.lean — T39 goal G781: points for congruent curves in 109801–110000 with Tunnell A = 2B
  (n = 109830, 109855, 109886, 109889, 109921, 109934, 109939, 109945, 109970, 109973), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints555
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (109830, true, 34464654, 5, 201687155208),
   (109855, true, 1994433873037225, 54131, 87901867701151270433400),
   (109886, true, 107448768, 31, 205697732688),
   (109889, false, 2311175711, 401, 842194724127120),
   (109921, false, 56129, 1, 22390920),
   (109934, false, 3866918, 27, 157411297736),
   (109939, true, 259041020275, 643, 129796130458098060),
   (109945, true, 277255, 1, 134019600),
   (109970, true, 541205, 1, 389840325),
   (109973, true, 1208605225, 104, 7447547734485)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints555

#print axioms CongruentPoints555.on_curve
#print axioms CongruentPoints555.indep
#print axioms CongruentPoints555.count

bsd/CongruentPoints556.lean

lean_all/bsd/CongruentPoints556.lean

/-
  bsd/CongruentPoints556.lean — T39 goal G782: points for congruent curves in 110001–110200 with Tunnell A = 2B
  (n = 110010, 110031, 110047, 110055, 110057, 110078, 110093, 110126, 110130, 110166), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints556
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (110010, false, 19548150, 29, 399819340800),
   (110031, false, 1147041, 5, 2677727052),
   (110047, false, 3109375, 31, 186401907000),
   (110055, true, 9281305, 6, 25569995275),
   (110057, false, 2598544, 5, 1457865396),
   (110078, false, 93150, 1, 17901360),
   (110093, true, 1306103836801, 2420, 1298130791381924799),
   (110126, true, 5190642, 1, 11823167664),
   (110130, false, 14059375679, 1364, 24237766143537569),
   (110166, true, 90441162, 1, 860099862384)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints556

#print axioms CongruentPoints556.on_curve
#print axioms CongruentPoints556.indep
#print axioms CongruentPoints556.count

bsd/CongruentPoints557.lean

lean_all/bsd/CongruentPoints557.lean

/-
  bsd/CongruentPoints557.lean — T39 goal G782: points for congruent curves in 110201–110400 with Tunnell A = 2B
  (n = 110209, 110262, 110271, 110289, 110290, 110310, 110319, 110334, 110346, 110377, 110390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints557
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (110209, true, 1357225, 3, 1079265320),
   (110262, true, 5734846, 5, 12042990856),
   (110271, true, 892257, 1, 836358984),
   (110289, true, 300125857, 36, 4571907609871),
   (110290, true, 994077841, 62, 28348991649561),
   (110310, true, 70332962713140625, 695826, 12136308627843358953225625),
   (110319, false, 1400388, 19, 47099147634),
   (110334, true, 2646525, 1, 4301661735),
   (110346, true, 722454, 1, 606861360),
   (110377, false, 13176369551, 360, 639241183529207),
   (110390, true, 1308910, 1, 1492157400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints557

#print axioms CongruentPoints557.on_curve
#print axioms CongruentPoints557.indep
#print axioms CongruentPoints557.count

bsd/CongruentPoints558.lean

lean_all/bsd/CongruentPoints558.lean

/-
  bsd/CongruentPoints558.lean — T39 goal G782: points for congruent curves in 110401–110600 with Tunnell A = 2B
  (n = 110405, 110409, 110415, 110455, 110462, 110465, 110505, 110506, 110510, 110523, 110535, 110546, 110589, 110599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints558
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (110405, true, 27468764, 11, 125793204738),
   (110409, true, 3751969, 5, 4922583328),
   (110415, true, 583691416009, 517, 445368097324949552),
   (110455, true, 67696234225, 478, 16343809948511775),
   (110462, false, 2523851, 5, 1780674357),
   (110465, false, 105625, 1, 10510500),
   (110505, true, 194775, 1, 70786800),
   (110506, true, 1667138, 1, 2147836152),
   (110510, true, 426229760, 41, 7919908972800),
   (110523, true, 8593648, 1, 25190130700),
   (110535, false, 88209, 1, 19783764),
   (110546, false, 29954959, 40, 954065230839),
   (110589, true, 111747, 1, 5363856),
   (110599, false, 2196324, 5, 2489251674)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints558

#print axioms CongruentPoints558.on_curve
#print axioms CongruentPoints558.indep
#print axioms CongruentPoints558.count

bsd/CongruentPoints559.lean

lean_all/bsd/CongruentPoints559.lean

/-
  bsd/CongruentPoints559.lean — T39 goal G782: points for congruent curves in 110601–110800 with Tunnell A = 2B
  (n = 110629, 110630, 110635, 110649, 110670, 110685, 110689, 110701, 110741, 110751, 110770), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints559
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (110629, true, 7541839519375225, 252798, 228040063233174745213445),
   (110630, true, 889850, 1, 832899600),
   (110635, true, 1413721, 2, 1596435819),
   (110649, true, 1359897, 2, 1499497461),
   (110670, true, 504525, 1, 349635825),
   (110685, true, 3475509, 5, 3920374152),
   (110689, false, 4342689599, 780, 4428617659135649),
   (110701, false, 2133776059, 697, 2482272259651260),
   (110741, true, 505161, 2, 172596675),
   (110751, true, 255873, 1, 116678088),
   (110770, false, 4864475, 37, 334287416925)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints559

#print axioms CongruentPoints559.on_curve
#print axioms CongruentPoints559.indep
#print axioms CongruentPoints559.count

bsd/CongruentPoints56.lean

lean_all/bsd/CongruentPoints56.lean

/-
  bsd/CongruentPoints56.lean — T39 goal G110: points for congruent curves in 10401–10600 with Tunnell A = 2B
  (n = 10407, 10415, 10421, 10434, 10439, 10445, 10455, 10471, 10489, 10491, 10502, 10505, 10517, 10518, 10534, 10545, 10549, 10553, 10562, 10565, 10581, 10590, 10591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints56
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (10407, true, 2784189250921, 3570, 4640392937516659219),
   (10415, true, 6934280110905625, 140079, 577182800010568777646500),
   (10421, true, 375769, 6, 13151915),
   (10434, true, 16428, 1, 1626372),
   (10439, true, 5598780625, 667, 233973665012400),
   (10445, false, 3600, 1, 588300),
   (10455, true, 8472282025, 806, 466160939249075),
   (10471, true, 7252491372025, 22069, 13886984220092662140),
   (10489, true, 537289, 7, 114787800),
   (10491, true, 940693, 9, 391328288),
   (10502, false, 3643611139, 1585, 1577302741161609),
   (10505, true, 2006455, 13, 1324260300),
   (10517, true, 65533, 1, 16558620),
   (10518, true, 11532, 1, 507780),
   (10534, true, 124174654, 105, 489733045208),
   (10545, true, 34225, 1, 6023600),
   (10549, true, 54208, 1, 12379752),
   (10553, true, 23723700625, 167, 3653761790097900),
   (10562, false, 3362, 1, 580560),
   (10565, true, 339883330605625, 71162, 6187945383235180102875),
   (10581, true, 546987, 1, 404468064),
   (10590, true, 530160, 7, 79101000),
   (10591, true, 1203409, 7, 1191078720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 23 := rfl

end CongruentPoints56

#print axioms CongruentPoints56.on_curve
#print axioms CongruentPoints56.indep
#print axioms CongruentPoints56.count

bsd/CongruentPoints560.lean

lean_all/bsd/CongruentPoints560.lean

/-
  bsd/CongruentPoints560.lean — T39 goal G782: points for congruent curves in 110801–111000 with Tunnell A = 2B
  (n = 110805, 110810, 110814, 110815, 110851, 110883, 110890, 110905, 110949, 110953), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints560
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (110805, true, 310005, 1, 161202600),
   (110810, false, 5140890, 7, 3961568400),
   (110814, true, 881061, 1, 820439325),
   (110815, true, 1600065, 2, 1944767175),
   (110851, true, 8209147555921, 5298, 21765598947802235825),
   (110883, true, 498525, 1, 343172880),
   (110890, false, 43264, 1, 21237216),
   (110905, false, 107584, 1, 8835336),
   (110949, true, 736653, 1, 625045932),
   (110953, true, 170454205321, 390, 70028136760611619)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints560

#print axioms CongruentPoints560.on_curve
#print axioms CongruentPoints560.indep
#print axioms CongruentPoints560.count

bsd/CongruentPoints561.lean

lean_all/bsd/CongruentPoints561.lean

/-
  bsd/CongruentPoints561.lean — T39 goal G782: points for congruent curves in 111001–111200 with Tunnell A = 2B
  (n = 111027, 111054, 111098, 111106, 111110, 111111, 111129, 111135, 111137, 111139, 111155, 111162), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints561
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (111027, true, 4932771, 5, 9056567556),
   (111054, true, 596748, 1, 452931732),
   (111098, true, 3097570856430625, 166968, 2576824353340416132175),
   (111106, true, 206286565937, 704, 90293053576966569),
   (111110, true, 1304726641, 74, 41689868159511),
   (111111, true, 213777564, 43, 864195802470),
   (111129, true, 70241161, 25, 87795467216),
   (111135, true, 388864, 1, 232377488),
   (111137, true, 7924283900, 113, 694003745754930),
   (111139, false, 1764, 1, 4667250),
   (111155, false, 996611, 9, 8933051512),
   (111162, true, 4051884, 5, 5935460652)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints561

#print axioms CongruentPoints561.on_curve
#print axioms CongruentPoints561.indep
#print axioms CongruentPoints561.count

bsd/CongruentPoints562.lean

lean_all/bsd/CongruentPoints562.lean

/-
  bsd/CongruentPoints562.lean — T39 goal G782: points for congruent curves in 111201–111400 with Tunnell A = 2B
  (n = 111201, 111221, 111233, 111274, 111287, 111361, 111373, 111386, 111390, 111395, 111397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints562
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (111201, false, 2509143, 38, 254322956979),
   (111221, true, 22525371, 7, 103731301080),
   (111233, true, 583107173335557025, 447848, 444943098516541275831202545),
   (111274, true, 1105150, 3, 491314040),
   (111287, true, 132007975, 21, 1407987743140),
   (111361, true, 363637172748529, 56615, 1324633347441687573792),
   (111373, true, 6519823658430625, 207126, 358190383710743426531575),
   (111386, true, 151558, 1, 40011312),
   (111390, true, 586654, 1, 441163808),
   (111395, true, 19467225625, 418, 53986131292875),
   (111397, true, 11056869416265765625, 127966, 36766159325416988118612562875)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints562

#print axioms CongruentPoints562.on_curve
#print axioms CongruentPoints562.indep
#print axioms CongruentPoints562.count

bsd/CongruentPoints563.lean

lean_all/bsd/CongruentPoints563.lean

/-
  bsd/CongruentPoints563.lean — T39 goal G782: points for congruent curves in 111401–111600 with Tunnell A = 2B
  (n = 111423, 111430, 111435, 111453, 111495, 111505, 111521, 111530, 111531, 111538, 111570, 111577, 111595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints563
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (111423, false, 108900, 1, 7780410),
   (111430, false, 20339, 1, 15624609),
   (111435, true, 273885, 1, 130934700),
   (111453, true, 1105347, 1, 1156189320),
   (111495, false, 27225, 1, 17839800),
   (111505, false, 97344, 1, 16967496),
   (111521, false, 74529, 1, 22648080),
   (111530, true, 26187244, 15, 38311937972),
   (111531, true, 2246553, 2, 3300186357),
   (111538, false, 274000599, 50, 856638772149),
   (111570, true, 346188270, 7, 6440422575600),
   (111577, true, 151201091173764025, 1151808, 11987495955451092780662995),
   (111595, false, 94864, 1, 18102084)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints563

#print axioms CongruentPoints563.on_curve
#print axioms CongruentPoints563.indep
#print axioms CongruentPoints563.count

bsd/CongruentPoints564.lean

lean_all/bsd/CongruentPoints564.lean

/-
  bsd/CongruentPoints564.lean — T39 goal G782: points for congruent curves in 111601–111800 with Tunnell A = 2B
  (n = 111605, 111670, 111673, 111685, 111695, 111718, 111754, 111755, 111765), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints564
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (111605, true, 153621, 1, 41375256),
   (111670, false, 2627681859, 317, 559236998607639),
   (111673, true, 21576025, 1, 100219293720),
   (111685, true, 241115, 1, 104928600),
   (111695, true, 803225, 2, 598233525),
   (111718, true, 1116018, 1, 1173058920),
   (111754, false, 27734375, 18, 122587668125),
   (111755, false, 581405, 3, 625803200),
   (111765, true, 277440, 1, 133752600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints564

#print axioms CongruentPoints564.on_curve
#print axioms CongruentPoints564.indep
#print axioms CongruentPoints564.count

bsd/CongruentPoints565.lean

lean_all/bsd/CongruentPoints565.lean

/-
  bsd/CongruentPoints565.lean — T39 goal G782: points for congruent curves in 111801–112000 with Tunnell A = 2B
  (n = 111859, 111874, 111886, 111895, 111917, 111941, 111954), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints565
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (111859, false, 2795584, 5, 118021464),
   (111874, true, 109041709, 3, 1138598111105),
   (111886, false, 111843, 1, 1037289),
   (111895, false, 5274521, 9, 16927657208),
   (111917, true, 1789333, 1, 2388831900),
   (111941, true, 30629116, 15, 96458574086),
   (111954, true, 478927509, 11, 10476853693605)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints565

#print axioms CongruentPoints565.on_curve
#print axioms CongruentPoints565.indep
#print axioms CongruentPoints565.count

bsd/CongruentPoints566.lean

lean_all/bsd/CongruentPoints566.lean

/-
  bsd/CongruentPoints566.lean — T39 goal G784: points for congruent curves in 112001–112200 with Tunnell A = 2B
  (n = 112001, 112009, 112021, 112027, 112034, 112042, 112066, 112079, 112091, 112110, 112119, 112166, 112182, 112189), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints566
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (112001, true, 17958412081, 391, 725549930412720),
   (112009, true, 129030713941271426089, 20963040, 1354844363373371846890660582187),
   (112021, true, 152971, 1, 40742520),
   (112027, true, 7105725, 7, 12027595140),
   (112034, false, 28922318, 21, 215423587504),
   (112042, false, 434007, 2, 73633035),
   (112066, false, 68774274, 25, 109980634224),
   (112079, false, 23046023, 18, 134722238651),
   (112091, false, 5887, 4, 137605377),
   (112110, true, 1244421, 1, 1382551731),
   (112119, true, 552727, 1, 402385256),
   (112166, true, 25584962209, 382, 3145378503972945),
   (112182, false, 93750, 1, 18864000),
   (112189, false, 29313053, 113, 7754374131504)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints566

#print axioms CongruentPoints566.on_curve
#print axioms CongruentPoints566.indep
#print axioms CongruentPoints566.count

bsd/CongruentPoints567.lean

lean_all/bsd/CongruentPoints567.lean

/-
  bsd/CongruentPoints567.lean — T39 goal G784: points for congruent curves in 112201–112400 with Tunnell A = 2B
  (n = 112201, 112255, 112286, 112290, 112299, 112306, 112326, 112353, 112359, 112399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints567
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (112201, true, 133225, 1, 26218680),
   (112255, true, 9117385225, 237, 628828876730600),
   (112286, true, 9516893152339225, 16994, 928410982017858469412445),
   (112290, true, 549100, 1, 398291300),
   (112299, true, 122539857, 32, 468652379481),
   (112306, true, 13083649, 2, 47297391135),
   (112326, true, 169362, 1, 52163496),
   (112353, true, 34392815209, 515, 3184697283238448),
   (112359, true, 545025, 1, 393726060),
   (112399, true, 6317229361, 31, 502026304469040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints567

#print axioms CongruentPoints567.on_curve
#print axioms CongruentPoints567.indep
#print axioms CongruentPoints567.count

bsd/CongruentPoints568.lean

lean_all/bsd/CongruentPoints568.lean

/-
  bsd/CongruentPoints568.lean — T39 goal G784: points for congruent curves in 112401–112600 with Tunnell A = 2B
  (n = 112405, 112417, 112422, 112470, 112481, 112486, 112489, 112497, 112535, 112549, 112569, 112574, 112591, 112593), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints568
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (112405, true, 14263605, 1, 53867952600),
   (112417, true, 9711117025, 287, 288388480022880),
   (112422, false, 55778, 1, 23052680),
   (112470, true, 1021246, 3, 136833256),
   (112481, true, 2550650884752961, 53937, 127753487184407549829040),
   (112486, true, 251878, 1, 113104992),
   (112489, false, 98192, 1, 17197812),
   (112497, false, 86247, 1, 21212100),
   (112535, true, 4329614338038025, 6837, 284887568895301109322100),
   (112549, false, 4901, 1, 7871760),
   (112569, true, 104827067025, 487, 32820669887775660),
   (112574, true, 142373, 1, 32888163),
   (112591, true, 12287948343889, 5973, 40707893238843645260),
   (112593, true, 76919653048225, 9106, 669627354067765384265)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints568

#print axioms CongruentPoints568.on_curve
#print axioms CongruentPoints568.indep
#print axioms CongruentPoints568.count

bsd/CongruentPoints569.lean

lean_all/bsd/CongruentPoints569.lean

/-
  bsd/CongruentPoints569.lean — T39 goal G784: points for congruent curves in 112601–112800 with Tunnell A = 2B
  (n = 112609, 112654, 112665, 112690, 112751, 112790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints569
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (112609, false, 5887, 1, 8628312),
   (112654, false, 27035775, 16, 52198132545),
   (112665, true, 543900, 1, 392423850),
   (112690, true, 147500, 1, 36550500),
   (112751, true, 392676113, 49, 5636539261128),
   (112790, true, 146410, 1, 35719200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints569

#print axioms CongruentPoints569.on_curve
#print axioms CongruentPoints569.indep
#print axioms CongruentPoints569.count

bsd/CongruentPoints57.lean

lean_all/bsd/CongruentPoints57.lean

/-
  bsd/CongruentPoints57.lean — T39 goal G111: points for congruent curves in 10601–10800 with Tunnell A = 2B
  (n = 10601, 10605, 10614, 10615, 10619, 10621, 10623, 10626, 10630, 10635, 10645, 10649, 10653, 10671, 10679, 10686, 10695, 10699, 10727, 10730, 10735, 10741, 10759, 10777, 10785, 10790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints57
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (10601, false, 9801, 1, 399960),
   (10605, true, 255025, 4, 96144425),
   (10614, true, 215818, 1, 100139552),
   (10615, true, 15304906369, 1147, 774700646626872),
   (10619, true, 395641, 6, 64117115),
   (10621, false, 4486147, 1291, 37493383111332),
   (10623, false, 8100, 1, 618570),
   (10626, true, 35574, 1, 6403320),
   (10630, false, 69620, 7, 136201500),
   (10635, false, 582135, 38, 11708581725),
   (10645, false, 508805, 7, 81919200),
   (10649, true, 4930487, 7, 10886515296),
   (10653, true, 19271277, 29, 74901029940),
   (10671, true, 560019020007841, 48685, 13239170609658571169236),
   (10679, true, 302166791809, 4170, 131032986503435623),
   (10686, true, 1208064, 7, 1196601120),
   (10695, true, 97216, 3, 4251464),
   (10699, true, 10933, 1, 235248),
   (10727, true, 5465313, 16, 11046824145),
   (10730, true, 16650, 1, 1642800),
   (10735, true, 350596152469369, 154845, 4457251624537755571528),
   (10741, true, 1259388, 1, 1413264762),
   (10759, true, 23548, 1, 3214302),
   (10777, true, 6134805625, 606, 367146563887675),
   (10785, true, 57660, 1, 13601250),
   (10790, true, 714025, 8, 153405525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 26 := rfl

end CongruentPoints57

#print axioms CongruentPoints57.on_curve
#print axioms CongruentPoints57.indep
#print axioms CongruentPoints57.count

bsd/CongruentPoints570.lean

lean_all/bsd/CongruentPoints570.lean

/-
  bsd/CongruentPoints570.lean — T39 goal G784: points for congruent curves in 112801–113000 with Tunnell A = 2B
  (n = 112834, 112839, 112846, 112889, 112895, 112910, 112913, 112926, 112931, 112938, 112955, 112963, 112970, 112983), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints570
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (112834, false, 12482, 1, 12528768),
   (112839, false, 1432809, 5, 2908724364),
   (112846, true, 118354, 1, 12276720),
   (112889, true, 112903, 1, 597408),
   (112895, true, 14151719521, 305, 1128424920202944),
   (112910, false, 112896, 1, 597408),
   (112913, true, 100987566252049, 14145, 989129811748550198032),
   (112926, true, 168432, 1, 51287544),
   (112931, true, 1221025, 2, 1253504265),
   (112938, true, 122955882, 17, 1314488206080),
   (112955, true, 411845, 1, 254167200),
   (112963, false, 23987, 7, 857267160),
   (112970, true, 1017280, 3, 33734800),
   (112983, false, 38025, 1, 20746440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints570

#print axioms CongruentPoints570.on_curve
#print axioms CongruentPoints570.indep
#print axioms CongruentPoints570.count

bsd/CongruentPoints571.lean

lean_all/bsd/CongruentPoints571.lean

/-
  bsd/CongruentPoints571.lean — T39 goal G784: points for congruent curves in 113001–113200 with Tunnell A = 2B
  (n = 113029, 113033, 113035, 113082, 113102, 113105, 113106, 113113, 113162, 113165, 113199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints571
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (113029, true, 461563, 1, 304030992),
   (113033, false, 26896, 5, 463414308),
   (113035, true, 7207785, 2, 19312859475),
   (113082, true, 2894418, 1, 4920510600),
   (113102, true, 25328737, 12, 97626419695),
   (113105, true, 15367321225, 358, 632353450205475),
   (113106, false, 14253134, 15, 79595263664),
   (113113, true, 1880433, 4, 700060425),
   (113162, true, 72807417, 22, 409315008915),
   (113165, false, 3364, 5, 164089134),
   (113199, false, 2055004143, 623, 1989525274985016)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints571

#print axioms CongruentPoints571.on_curve
#print axioms CongruentPoints571.indep
#print axioms CongruentPoints571.count

bsd/CongruentPoints572.lean

lean_all/bsd/CongruentPoints572.lean

/-
  bsd/CongruentPoints572.lean — T39 goal G784: points for congruent curves in 113201–113400 with Tunnell A = 2B
  (n = 113245, 113261, 113262, 113270, 113295, 113331, 113334, 113335, 113365, 113367, 113370, 113389), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints572
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (113245, true, 113600, 1, 3024600),
   (113261, false, 164836, 5, 1147649538),
   (113262, true, 299538, 1, 151765920),
   (113270, true, 358116601, 30, 6496605009901),
   (113295, true, 723345, 1, 607609800),
   (113331, false, 97344, 1, 18106920),
   (113334, false, 1587, 1, 4514463),
   (113335, true, 1423249, 3, 1184143168),
   (113365, false, 224516, 9, 4349684998),
   (113367, true, 1375605873, 34, 50788007611425),
   (113370, false, 247623870, 179, 57028115125800),
   (113389, false, 2196324, 5, 2655976674)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints572

#print axioms CongruentPoints572.on_curve
#print axioms CongruentPoints572.indep
#print axioms CongruentPoints572.count

bsd/CongruentPoints573.lean

lean_all/bsd/CongruentPoints573.lean

/-
  bsd/CongruentPoints573.lean — T39 goal G784: points for congruent curves in 113401–113600 with Tunnell A = 2B
  (n = 113430, 113451, 113495, 113505, 113515, 113521, 113529, 113570, 113594, 113597), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints573
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (113430, false, 4004934, 11, 26271621936),
   (113451, false, 85293, 1, 21847644),
   (113495, true, 206827110805225, 40238, 1365101160020014456275),
   (113505, true, 231945, 1, 97416900),
   (113515, false, 1957770191, 252, 306970896146473),
   (113521, true, 3463321, 1, 6441777060),
   (113529, false, 2223081, 5, 2630857572),
   (113570, true, 2302929, 4, 2146961433),
   (113594, true, 1122833, 2, 1088025177),
   (113597, false, 6875, 1, 9401700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints573

#print axioms CongruentPoints573.on_curve
#print axioms CongruentPoints573.indep
#print axioms CongruentPoints573.count

bsd/CongruentPoints574.lean

lean_all/bsd/CongruentPoints574.lean

/-
  bsd/CongruentPoints574.lean — T39 goal G784: points for congruent curves in 113601–113800 with Tunnell A = 2B
  (n = 113609, 113610, 113646, 113685, 113687, 113693, 113705, 113711, 113718, 113734, 113761), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints574
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (113609, true, 13344409, 7, 44302853400),
   (113610, true, 151725, 1, 39171825),
   (113646, true, 172302, 1, 53758224),
   (113685, true, 463485, 1, 305900100),
   (113687, true, 20674126225, 129, 2960156870981540),
   (113693, true, 331875, 1, 179619600),
   (113705, false, 108900, 1, 10792650),
   (113711, true, 49724094121, 295, 10866134448787956),
   (113718, false, 1016738, 3, 118101320),
   (113734, true, 83109697, 24, 466238467871),
   (113761, true, 272096406669025, 46368, 1966653797495681061935)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints574

#print axioms CongruentPoints574.on_curve
#print axioms CongruentPoints574.indep
#print axioms CongruentPoints574.count

bsd/CongruentPoints575.lean

lean_all/bsd/CongruentPoints575.lean

/-
  bsd/CongruentPoints575.lean — T39 goal G784: points for congruent curves in 113801–114000 with Tunnell A = 2B
  (n = 113801, 113849, 113854, 113855, 113918, 113919, 113945, 113953, 113955, 113971, 113979), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints575
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (113801, true, 1046735656201, 1201, 1057666455621648600),
   (113849, true, 1221025, 3, 733817240),
   (113854, true, 14524237, 3, 55214924401),
   (113855, false, 74529, 1, 23497656),
   (113918, true, 126400, 1, 19471920),
   (113919, true, 900601, 2, 737197435),
   (113945, true, 230082415745, 332, 110198869225269825),
   (113953, true, 1221025, 1, 1343344080),
   (113955, true, 515205, 1, 360643500),
   (113971, true, 635209, 2, 352540995),
   (113979, false, 112896, 1, 5266800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints575

#print axioms CongruentPoints575.on_curve
#print axioms CongruentPoints575.indep
#print axioms CongruentPoints575.count

bsd/CongruentPoints576.lean

lean_all/bsd/CongruentPoints576.lean

/-
  bsd/CongruentPoints576.lean — T39 goal G786: points for congruent curves in 114001–114200 with Tunnell A = 2B
  (n = 114015, 114017, 114019, 114034, 114046, 114051, 114070, 114081, 114086, 114114, 114198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints576
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (114015, false, 25702215, 16, 70124929875),
   (114017, true, 122942082031974529, 187695, 43084288676886824403415792),
   (114019, true, 19065177, 4, 82863614301),
   (114034, false, 80389012, 251, 64409949231012),
   (114046, true, 54652672, 7, 401915583264),
   (114051, false, 109443, 1, 10616544),
   (114070, true, 5693130, 7, 2580885600),
   (114081, true, 115521153, 31, 391382949672),
   (114086, true, 1507072, 3, 1354292576),
   (114114, true, 117117, 1, 9018009),
   (114198, false, 79350, 1, 23134320)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints576

#print axioms CongruentPoints576.on_curve
#print axioms CongruentPoints576.indep
#print axioms CongruentPoints576.count

bsd/CongruentPoints577.lean

lean_all/bsd/CongruentPoints577.lean

/-
  bsd/CongruentPoints577.lean — T39 goal G786: points for congruent curves in 114201–114400 with Tunnell A = 2B
  (n = 114215, 114218, 114226, 114231, 114235, 114245, 114266, 114270, 114289, 114294, 114301, 114330, 114335, 114342, 114353, 114394, 114398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints577
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (114215, true, 307431436225, 1599, 53284842446491700),
   (114218, false, 22209671, 30, 473006918483),
   (114226, true, 118098, 1, 10307088),
   (114231, true, 628849, 2, 342619615),
   (114235, true, 3907440, 1, 7720631100),
   (114245, false, 676, 1, 2970318),
   (114266, true, 6793298, 7, 10026907848),
   (114270, false, 8126355, 503, 82416862145025),
   (114289, false, 11005067407, 598, 4129132242020703),
   (114294, false, 257762, 3, 505584008),
   (114301, true, 14471699, 7, 50762733120),
   (114330, true, 21726030, 13, 46304782200),
   (114335, true, 426465, 1, 268304400),
   (114342, false, 10658, 1, 11753000),
   (114353, true, 334372952632509025, 1228298, 165625937451433196045039895),
   (114394, false, 206622423, 74, 8500479987531),
   (114398, true, 34443865024, 225, 6301448202745232)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints577

#print axioms CongruentPoints577.on_curve
#print axioms CongruentPoints577.indep
#print axioms CongruentPoints577.count

bsd/CongruentPoints578.lean

lean_all/bsd/CongruentPoints578.lean

/-
  bsd/CongruentPoints578.lean — T39 goal G786: points for congruent curves in 114401–114600 with Tunnell A = 2B
  (n = 114405, 114483, 114485, 114494, 114497, 114510, 114514, 114519, 114530, 114545, 114554), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints578
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (114405, true, 293617678225, 1544, 58929900630551225),
   (114483, false, 9463773, 59, 1225616750820),
   (114485, false, 23362115, 17, 113241347100),
   (114494, true, 180918, 1, 59582328),
   (114497, true, 2054202824993412025, 4167926, 735915210196626757242111195),
   (114510, true, 28898160, 11, 136327069800),
   (114514, true, 5664978, 7, 1853696592),
   (114519, true, 74093793, 23, 367208838108),
   (114530, true, 8991970, 7, 21067878000),
   (114545, false, 16929751, 590, 164061019507443),
   (114554, true, 406802, 1, 248962824)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints578

#print axioms CongruentPoints578.on_curve
#print axioms CongruentPoints578.indep
#print axioms CongruentPoints578.count

bsd/CongruentPoints579.lean

lean_all/bsd/CongruentPoints579.lean

/-
  bsd/CongruentPoints579.lean — T39 goal G786: points for congruent curves in 114601–114800 with Tunnell A = 2B
  (n = 114610, 114619, 114621, 114639, 114654, 114681, 114695, 114699, 114718, 114730, 114737, 114774), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints579
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (114610, true, 89968850, 23, 630501700800),
   (114619, true, 361669, 1, 206292240),
   (114621, true, 288261754062529, 26174, 4709099755427017324985),
   (114639, true, 114688, 1, 1135232),
   (114654, true, 232854, 1, 97798680),
   (114681, false, 52983, 2, 104882589),
   (114695, true, 15704350489, 129, 1953433258415288),
   (114699, true, 1590121, 2, 1919866195),
   (114718, true, 108149557321, 860, 22054732107484869),
   (114730, true, 46893429, 7, 318804517317),
   (114737, false, 155407, 8, 2894152905),
   (114774, true, 67324821, 23, 238693771125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints579

#print axioms CongruentPoints579.on_curve
#print axioms CongruentPoints579.indep
#print axioms CongruentPoints579.count

bsd/CongruentPoints58.lean

lean_all/bsd/CongruentPoints58.lean

/-
  bsd/CongruentPoints58.lean — T39 goal G112: points for congruent curves in 10801–11000 with Tunnell A = 2B
  (n = 10805, 10810, 10815, 10839, 10846, 10855, 10879, 10887, 10894, 10934, 10941, 10945, 10959, 10961, 10965, 10974, 10990, 10991, 10999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints58
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (10805, true, 39605, 1, 7582800),
   (10810, false, 68890, 7, 137846400),
   (10815, true, 2890815, 1, 4915044000),
   (10839, false, 1258884, 13, 1493006130),
   (10846, true, 24738706, 45, 56627913104),
   (10855, true, 83741258550625, 65667, 635424416952790816000),
   (10879, true, 1281008, 1, 1449813372),
   (10887, false, 640452, 11, 921253950),
   (10894, false, 90506, 51, 8524407320),
   (10934, false, 260743, 74, 30573469101),
   (10941, true, 11109, 1, 202860),
   (10945, false, 14137695, 43, 54445462500),
   (10959, true, 8105276400, 223, 728061080177340),
   (10961, false, 150544, 73, 22663458300),
   (10965, false, 1295011091, 423, 53038178462852),
   (10974, true, 11532, 1, 380556),
   (10990, true, 616225, 2, 482504175),
   (10991, true, 34846808929, 1491, 4637933571255020),
   (10999, true, 80937, 1, 22812504)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints58

#print axioms CongruentPoints58.on_curve
#print axioms CongruentPoints58.indep
#print axioms CongruentPoints58.count

bsd/CongruentPoints580.lean

lean_all/bsd/CongruentPoints580.lean

/-
  bsd/CongruentPoints580.lean — T39 goal G786: points for congruent curves in 114801–115000 with Tunnell A = 2B
  (n = 114806, 114810, 114835, 114862, 114869, 114870, 114915, 114929, 114931, 114945, 114951, 114982, 114985, 114987), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints580
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (114806, true, 14787508775209, 2044, 56834748058466575275),
   (114810, true, 9584410, 9, 7179594400),
   (114835, true, 116365, 1, 6415800),
   (114862, true, 73074285504, 515, 17955155635909008),
   (114869, false, 16900, 1, 14770470),
   (114870, false, 2999430, 19, 71629866000),
   (114915, false, 95039781, 29, 170927136072),
   (114929, false, 73662464, 85, 7098636854784),
   (114931, true, 23835452, 11, 94508995434),
   (114945, true, 18582775, 7, 76338039700),
   (114951, true, 15998307743829889, 206142, 1926904874571600537383065),
   (114982, true, 174150, 1, 54582480),
   (114985, true, 3129361, 4, 4478115591),
   (114987, true, 11493172105801369, 308560, 375038697667794466190653)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints580

#print axioms CongruentPoints580.on_curve
#print axioms CongruentPoints580.indep
#print axioms CongruentPoints580.count

bsd/CongruentPoints581.lean

lean_all/bsd/CongruentPoints581.lean

/-
  bsd/CongruentPoints581.lean — T39 goal G786: points for congruent curves in 115001–115200 with Tunnell A = 2B
  (n = 115005, 115010, 115031, 115035, 115039, 115042, 115063, 115090, 115102, 115109, 115115, 115134, 115141, 115158, 115185, 115194, 115195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints581
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (115005, true, 123420, 1, 15736050),
   (115010, true, 1082410, 3, 329329000),
   (115031, false, 12544, 1, 12806640),
   (115035, false, 398535, 2, 145196325),
   (115039, true, 59967990076, 655, 8341451653515426),
   (115042, false, 819650, 7, 5049245760),
   (115063, false, 2259009, 5, 2676674664),
   (115090, true, 124855705993225, 10074, 1389005404885326758075),
   (115102, false, 96148, 1, 19620900),
   (115109, false, 31700051, 17, 56798014980),
   (115115, false, 87765860, 29, 382804544850),
   (115134, true, 157106329968, 811, 54560472281701848),
   (115141, true, 35530671699121, 11316, 192694222765144069865),
   (115158, false, 17608176411, 1825, 50841563558656563),
   (115185, true, 18051135, 11, 48738064500),
   (115194, true, 237606, 1, 101298960),
   (115195, true, 1166445, 1, 1253626500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints581

#print axioms CongruentPoints581.on_curve
#print axioms CongruentPoints581.indep
#print axioms CongruentPoints581.count

bsd/CongruentPoints582.lean

lean_all/bsd/CongruentPoints582.lean

/-
  bsd/CongruentPoints582.lean — T39 goal G786: points for congruent curves in 115201–115400 with Tunnell A = 2B
  (n = 115210, 115221, 115255, 115267, 115270, 115373, 115390, 115391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints582
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (115210, false, 50410, 1, 23259600),
   (115221, true, 118803, 1, 9979452),
   (115255, false, 2414916, 221, 8747728528098),
   (115267, true, 314194903867, 1507, 97395753900137160),
   (115270, false, 100820, 1, 17742900),
   (115373, false, 813604, 5, 2496011694),
   (115390, true, 1656490, 3, 1660967000),
   (115391, true, 8955648, 7, 20783834448)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints582

#print axioms CongruentPoints582.on_curve
#print axioms CongruentPoints582.indep
#print axioms CongruentPoints582.count

bsd/CongruentPoints583.lean

lean_all/bsd/CongruentPoints583.lean

/-
  bsd/CongruentPoints583.lean — T39 goal G786: points for congruent curves in 115401–115600 with Tunnell A = 2B
  (n = 115402, 115403, 115430, 115507, 115514, 115527, 115543, 115563, 115566, 115590, 115598), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints583
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (115402, true, 48308719725, 283, 10421754727291215),
   (115403, true, 65817604968025, 19998, 380693143645401860245),
   (115430, true, 190344070, 33, 1971964565200),
   (115507, false, 44100, 1, 22418970),
   (115514, true, 509786, 1, 354516240),
   (115527, true, 664689631225, 2332, 176936638194912115),
   (115543, true, 3953778483877992025, 52611, 7861736781107160384171843820),
   (115563, false, 363, 1, 2201760),
   (115566, true, 476272, 1, 318864104),
   (115590, false, 7290, 1, 9849600),
   (115598, false, 59150, 1, 24155040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints583

#print axioms CongruentPoints583.on_curve
#print axioms CongruentPoints583.indep
#print axioms CongruentPoints583.count

bsd/CongruentPoints584.lean

lean_all/bsd/CongruentPoints584.lean

/-
  bsd/CongruentPoints584.lean — T39 goal G786: points for congruent curves in 115601–115800 with Tunnell A = 2B
  (n = 115607, 115609, 115617, 115634, 115681, 115685, 115699, 115702, 115714, 115721, 115759, 115773, 115779, 115782), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints584
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (115607, true, 198025, 1, 71545320),
   (115609, true, 4112528641, 18, 263721409709095),
   (115617, true, 158538770697, 1096, 30445274436812955),
   (115634, true, 204404209, 26, 2700231856425),
   (115681, false, 84100, 1, 23034990),
   (115685, true, 5418303675625, 6066, 7803186898407929875),
   (115699, true, 474721, 2, 72851415),
   (115702, true, 124002, 1, 15706920),
   (115714, false, 3574350, 29, 183860018160),
   (115721, true, 199534636249, 391, 88779691982861880),
   (115759, true, 271441, 1, 127915920),
   (115773, true, 5750059, 5, 11914122248),
   (115779, true, 5542130513929, 3276, 12714987050009320805),
   (115782, true, 670482, 1, 540762840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints584

#print axioms CongruentPoints584.on_curve
#print axioms CongruentPoints584.indep
#print axioms CongruentPoints584.count

bsd/CongruentPoints585.lean

lean_all/bsd/CongruentPoints585.lean

/-
  bsd/CongruentPoints585.lean — T39 goal G786: points for congruent curves in 115801–116000 with Tunnell A = 2B
  (n = 115801, 115810, 115842, 115843, 115855, 115863, 115878, 115906, 115913, 115945, 115961, 115962, 115994, 115995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints585
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (115801, true, 34690671, 5, 203611111656),
   (115810, true, 18124265, 8, 70412769525),
   (115842, false, 51600, 7, 1289344680),
   (115843, true, 100899253, 23, 805176038940),
   (115855, true, 5070505, 4, 10627317525),
   (115863, false, 111012, 1, 11053350),
   (115878, true, 142578, 1, 31367160),
   (115906, false, 45968, 1, 22812504),
   (115913, true, 12283181439169, 7870, 34930522538647058553),
   (115945, true, 1870344958825225, 11592, 80884909121573301976475),
   (115961, true, 3613801, 3, 6577117820),
   (115962, true, 26236672, 9, 125481356000),
   (115994, true, 5001553150, 183, 222812676702440),
   (115995, true, 6952275, 7, 10556439300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints585

#print axioms CongruentPoints585.on_curve
#print axioms CongruentPoints585.indep
#print axioms CongruentPoints585.count

bsd/CongruentPoints586.lean

lean_all/bsd/CongruentPoints586.lean

/-
  bsd/CongruentPoints586.lean — T39 goal G797: points for congruent curves in 116001–116200 with Tunnell A = 2B
  (n = 116030, 116034, 116049, 116053, 116070, 116085, 116090, 116137, 116153, 116157, 116186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints586
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (116030, true, 237601708830, 1399, 34061398780687200),
   (116034, false, 8950928, 9, 8576359064),
   (116049, true, 146652, 1, 34336566),
   (116053, true, 334998705853, 1251, 162924394496615920),
   (116070, true, 421350, 1, 262922400),
   (116085, true, 171677725, 1, 2249421413300),
   (116090, false, 2840890, 7, 8306485200),
   (116137, false, 5687, 1, 8747640),
   (116153, true, 452025, 1, 293704320),
   (116157, false, 3459600, 17, 62106566220),
   (116186, true, 1184908, 1, 1283597988)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints586

#print axioms CongruentPoints586.on_curve
#print axioms CongruentPoints586.indep
#print axioms CongruentPoints586.count

bsd/CongruentPoints587.lean

lean_all/bsd/CongruentPoints587.lean

/-
  bsd/CongruentPoints587.lean — T39 goal G797: points for congruent curves in 116201–116400 with Tunnell A = 2B
  (n = 116205, 116209, 116246, 116258, 116261, 116270, 116290, 116303, 116335, 116337, 116358, 116382, 116385, 116394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints587
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (116205, true, 310781641, 38, 4611538219139),
   (116209, true, 874325761, 23, 25788955812480),
   (116246, false, 34274423, 18, 91415202949),
   (116258, true, 43146203804929, 5280, 282608417281325625217),
   (116261, false, 4901, 3, 73251100),
   (116270, true, 1596070, 1, 2011048200),
   (116290, true, 359243010, 17, 6779125399200),
   (116303, true, 7321369225, 217, 415755992062860),
   (116335, true, 1050625, 3, 89195500),
   (116337, true, 616225, 2, 317109385),
   (116358, false, 51842, 1, 23718520),
   (116382, true, 8308461, 5, 22432171041),
   (116385, true, 1026882025, 79, 23260556062900),
   (116394, true, 212268, 1, 81783828)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints587

#print axioms CongruentPoints587.on_curve
#print axioms CongruentPoints587.indep
#print axioms CongruentPoints587.count

bsd/CongruentPoints588.lean

lean_all/bsd/CongruentPoints588.lean

/-
  bsd/CongruentPoints588.lean — T39 goal G797: points for congruent curves in 116401–116600 with Tunnell A = 2B
  (n = 116405, 116410, 116439, 116446, 116466, 116499, 116535, 116549, 116590, 116591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints588
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (116405, true, 2839225, 2, 4719322725),
   (116410, false, 5372890, 47, 595929879600),
   (116439, true, 1100401, 3, 352128320),
   (116446, false, 159975, 2, 174966435),
   (116466, false, 130921367, 34, 359306514197),
   (116499, true, 8537907, 1, 24945183144),
   (116535, true, 113754941040, 383, 37931106697298100),
   (116549, true, 285596649156025, 47762, 1762525415184764491035),
   (116590, true, 8408890, 3, 24193577800),
   (116591, false, 77841, 1, 24217200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints588

#print axioms CongruentPoints588.on_curve
#print axioms CongruentPoints588.indep
#print axioms CongruentPoints588.count

bsd/CongruentPoints589.lean

lean_all/bsd/CongruentPoints589.lean

/-
  bsd/CongruentPoints589.lean — T39 goal G797: points for congruent curves in 116601–116800 with Tunnell A = 2B
  (n = 116615, 116645, 116655, 116683, 116695, 116705, 116729, 116746, 116781, 116790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints589
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (116615, true, 2957728225, 159, 12939093203300),
   (116645, false, 33124, 1, 20355426),
   (116655, true, 3651822559, 149, 155582473898852),
   (116683, true, 36744796, 15, 155838181906),
   (116695, true, 165002502025, 838, 58174301844872925),
   (116705, true, 210135144025, 1001, 80033574356735700),
   (116729, false, 1737488, 13, 25902120804),
   (116746, true, 367598, 1, 211335432),
   (116781, false, 20667, 7, 822629268),
   (116790, true, 12585840, 1, 44648267400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints589

#print axioms CongruentPoints589.on_curve
#print axioms CongruentPoints589.indep
#print axioms CongruentPoints589.count

bsd/CongruentPoints59.lean

lean_all/bsd/CongruentPoints59.lean

/-
  bsd/CongruentPoints59.lean — T39 goal G113: points for congruent curves in 11001–11200 with Tunnell A = 2B
  (n = 11005, 11010, 11022, 11029, 11055, 11063, 11065, 11082, 11085, 11102, 11110, 11111, 11127, 11135, 11141, 11165, 11186, 11190, 11193, 11195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints59
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (11005, true, 105625, 2, 31204875),
   (11010, false, 126150, 7, 186301800),
   (11022, true, 3644850, 17, 3382172640),
   (11029, true, 1809025, 2, 2432415015),
   (11055, true, 15895, 1, 1439900),
   (11063, true, 2157961, 5, 3143900916),
   (11065, false, 11025, 1, 98700),
   (11082, true, 176418, 1, 73953000),
   (11085, false, 14026335, 62, 150690921975),
   (11102, true, 1241363647225, 7326, 1213340302888252435),
   (11110, true, 42541301, 25, 273748945701),
   (11111, true, 332880025, 172, 958562068035),
   (11127, false, 1822500, 13, 625437450),
   (11135, true, 1540081, 9, 1549194904),
   (11141, false, 2102500, 17, 3535823550),
   (11165, true, 38115, 1, 7114800),
   (11186, true, 13778, 1, 944208),
   (11190, false, 2024298975, 1906, 1826728817316975),
   (11193, true, 284089, 5, 26136188),
   (11195, true, 22445, 1, 2914500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints59

#print axioms CongruentPoints59.on_curve
#print axioms CongruentPoints59.indep
#print axioms CongruentPoints59.count

bsd/CongruentPoints590.lean

lean_all/bsd/CongruentPoints590.lean

/-
  bsd/CongruentPoints590.lean — T39 goal G797: points for congruent curves in 116801–117000 with Tunnell A = 2B
  (n = 116830, 116831, 116839, 116853, 116857, 116870, 116890, 116915, 116942, 116949, 116961, 116966, 116985, 116994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints590
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (116830, true, 1336593018708025, 47956, 47867613940005538226925),
   (116831, true, 18935609, 5, 81412298352),
   (116839, false, 2214144, 5, 2834888496),
   (116853, false, 61347, 1, 24633180),
   (116857, true, 7419331584025, 3009, 20002566072308781320),
   (116870, true, 6270525, 1, 15699304425),
   (116890, false, 1690, 1, 4804800),
   (116915, true, 1934960, 1, 2686666500),
   (116942, true, 236992, 1, 100348080),
   (116949, false, 7240023, 74, 1723067019891),
   (116961, true, 61818159, 5, 485498314548),
   (116966, true, 126002, 1, 16632264),
   (116985, true, 502681, 2, 130194379),
   (116994, true, 139638, 1, 28486152)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints590

#print axioms CongruentPoints590.on_curve
#print axioms CongruentPoints590.indep
#print axioms CongruentPoints590.count

bsd/CongruentPoints591.lean

lean_all/bsd/CongruentPoints591.lean

/-
  bsd/CongruentPoints591.lean — T39 goal G797: points for congruent curves in 117001–117200 with Tunnell A = 2B
  (n = 117005, 117015, 117021, 117047, 117059, 117065, 117079, 117102, 117130, 117151, 117165), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints591
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (117005, false, 1805, 1, 4970400),
   (117015, true, 3391252913836225, 114023, 176500574743873908774700),
   (117021, true, 104093413559441881, 462642, 32597470976678303630787755),
   (117047, true, 3114223, 3, 5171757920),
   (117059, false, 283024, 5, 1549586724),
   (117065, true, 2316012204025, 3404, 2856830092894780275),
   (117079, true, 380478015241, 161, 234682407909682200),
   (117102, false, 781926, 5, 2494686168),
   (117130, true, 474721, 2, 52694031),
   (117151, true, 175284337, 23, 2170791858144),
   (117165, true, 62683275, 7, 494194940100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints591

#print axioms CongruentPoints591.on_curve
#print axioms CongruentPoints591.indep
#print axioms CongruentPoints591.count

bsd/CongruentPoints592.lean

lean_all/bsd/CongruentPoints592.lean

/-
  bsd/CongruentPoints592.lean — T39 goal G797: points for congruent curves in 117201–117400 with Tunnell A = 2B
  (n = 117201, 117231, 117253, 117254, 117255, 117271, 117294, 117327, 117363, 117390, 117391, 117397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints592
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (117201, true, 153645965950801, 32770, 1092385850801473320049),
   (117231, true, 15882903, 1, 63296980812),
   (117253, true, 965471980482025, 12354, 29994035163491113380755),
   (117254, true, 88493374, 15, 794610269432),
   (117255, false, 5625, 1, 8784000),
   (117271, false, 10130463, 268, 26808625615569),
   (117294, false, 3106388, 11, 24407817796),
   (117327, false, 32079, 5, 525318156),
   (117363, true, 3470205372, 163, 89708200373610),
   (117390, true, 212940, 1, 81981900),
   (117391, true, 8497809, 1, 24769600680),
   (117397, true, 3477342961, 90, 197239390962209)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints592

#print axioms CongruentPoints592.on_curve
#print axioms CongruentPoints592.indep
#print axioms CongruentPoints592.count

bsd/CongruentPoints593.lean

lean_all/bsd/CongruentPoints593.lean

/-
  bsd/CongruentPoints593.lean — T39 goal G797: points for congruent curves in 117401–117600 with Tunnell A = 2B
  (n = 117409, 117518, 117521, 117530, 117534, 117546), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints593
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (117409, true, 8001123601, 217, 517350625126320),
   (117518, false, 199829443, 449, 334897082283225),
   (117521, true, 856908529, 49, 23685339316080),
   (117530, true, 1609650, 1, 2036743800),
   (117534, false, 13310811, 11, 18269923005),
   (117546, true, 412918, 1, 254357488)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints593

#print axioms CongruentPoints593.on_curve
#print axioms CongruentPoints593.indep
#print axioms CongruentPoints593.count

bsd/CongruentPoints594.lean

lean_all/bsd/CongruentPoints594.lean

/-
  bsd/CongruentPoints594.lean — T39 goal G797: points for congruent curves in 117601–117800 with Tunnell A = 2B
  (n = 117605, 117626, 117645, 117651, 117654, 117678, 117697, 117705, 117730, 117735, 117739, 117746, 117762, 117771, 117799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints594
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (117605, false, 1518005, 27, 105614082100),
   (117626, false, 23044087, 14, 3357080133),
   (117645, true, 3056476, 5, 1454152526),
   (117651, true, 259917452041, 928, 122028944463481445),
   (117654, true, 3200387223961225, 158032, 71756052136929162452645),
   (117678, true, 5664978, 1, 13480426080),
   (117697, true, 4807172527748151289, 4925070, 8479858054650041089293345413),
   (117705, true, 123120, 1, 12671100),
   (117730, false, 126494480, 33, 234959568200),
   (117735, false, 88935, 1, 23007600),
   (117739, false, 2808976, 25, 123241715268),
   (117746, false, 817216, 5, 2556455952),
   (117762, true, 1839418199064825625, 3701922, 1197032436327012196810701475),
   (117771, true, 216230500275, 767, 95247289765528740),
   (117799, true, 194815515004, 395, 85603967706713742)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints594

#print axioms CongruentPoints594.on_curve
#print axioms CongruentPoints594.indep
#print axioms CongruentPoints594.count

bsd/CongruentPoints595.lean

lean_all/bsd/CongruentPoints595.lean

/-
  bsd/CongruentPoints595.lean — T39 goal G797: points for congruent curves in 117801–118000 with Tunnell A = 2B
  (n = 117817, 117822, 117838, 117869, 117910, 117929, 117995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints595
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (117817, true, 3802183, 1, 7410387600),
   (117822, true, 12901509, 5, 45116576973),
   (117838, true, 2653293125, 31, 136546928934675),
   (117869, false, 1028078811, 887, 2973263184194220),
   (117910, true, 10020010, 9, 9593183600),
   (117929, true, 148766809, 23, 1647260956200),
   (117995, true, 9842045, 1, 30874277700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints595

#print axioms CongruentPoints595.on_curve
#print axioms CongruentPoints595.indep
#print axioms CongruentPoints595.count

bsd/CongruentPoints596.lean

lean_all/bsd/CongruentPoints596.lean

/-
  bsd/CongruentPoints596.lean — T39 goal G806: points for congruent curves in 118001–118200 with Tunnell A = 2B
  (n = 118001, 118034, 118038, 118054, 118063, 118066, 118079, 118105, 118110, 118118, 118123, 118174), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints596
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (118001, true, 44486377, 8, 292408956021),
   (118034, false, 637594375, 2774, 22934652802687725),
   (118038, false, 47178719, 20, 12746133071),
   (118054, false, 9841094, 17, 102479560560),
   (118063, true, 99419983495849, 21255, 836574580298016231868),
   (118066, true, 37128650, 17, 89197868760),
   (118079, true, 2146225, 3, 2731715180),
   (118105, false, 7252911, 8, 5731690713),
   (118110, true, 230640, 1, 95139000),
   (118118, false, 1058750, 3, 98421400),
   (118123, true, 6008723853006324025, 5906928, 10717910211503162656021320595),
   (118174, false, 31768547600, 1329, 36768927570838840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints596

#print axioms CongruentPoints596.on_curve
#print axioms CongruentPoints596.indep
#print axioms CongruentPoints596.count

bsd/CongruentPoints597.lean

lean_all/bsd/CongruentPoints597.lean

/-
  bsd/CongruentPoints597.lean — T39 goal G806: points for congruent curves in 118201–118400 with Tunnell A = 2B
  (n = 118255, 118263, 118266, 118295, 118319, 118326, 118349, 118371, 118398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints597
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (118255, true, 115682006380249, 26931, 834939158014714521032),
   (118263, true, 78684316, 25, 239318347114),
   (118266, false, 51842, 1, 24202808),
   (118295, true, 11322024025, 142, 1177680667212075),
   (118319, true, 3156754225, 66, 174982340552255),
   (118326, true, 131118, 1, 20454408),
   (118349, true, 115934373, 7, 1246735515012),
   (118371, false, 128329872, 41, 1722685819932),
   (118398, false, 98, 1, 1172080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints597

#print axioms CongruentPoints597.on_curve
#print axioms CongruentPoints597.indep
#print axioms CongruentPoints597.count

bsd/CongruentPoints598.lean

lean_all/bsd/CongruentPoints598.lean

/-
  bsd/CongruentPoints598.lean — T39 goal G806: points for congruent curves in 118401–118600 with Tunnell A = 2B
  (n = 118427, 118437, 118470, 118473, 118489, 118495, 118545, 118594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints598
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (118427, false, 106875, 1, 16678200),
   (118437, false, 108900, 1, 15365790),
   (118470, true, 439230, 1, 280308600),
   (118473, true, 255025, 1, 114047180),
   (118489, true, 7195959241, 137, 580542859856520),
   (118495, true, 540888049, 19, 12540031974132),
   (118545, true, 471345, 1, 313198200),
   (118594, false, 86247, 2, 136992093)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints598

#print axioms CongruentPoints598.on_curve
#print axioms CongruentPoints598.indep
#print axioms CongruentPoints598.count

bsd/CongruentPoints599.lean

lean_all/bsd/CongruentPoints599.lean

/-
  bsd/CongruentPoints599.lean — T39 goal G806: points for congruent curves in 118601–118800 with Tunnell A = 2B
  (n = 118614, 118617, 118626, 118641, 118645, 118657, 118734, 118742, 118785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints599
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (118614, false, 13509594, 11, 17809958880),
   (118617, true, 7346217, 7, 12177122040),
   (118626, false, 2154512, 11, 20830100408),
   (118641, true, 1432842396, 109, 9734841099990),
   (118645, true, 3045025, 2, 5248637175),
   (118657, false, 4903983, 16, 66385487385),
   (118734, false, 11903937254, 637, 5093553971135960),
   (118742, true, 146250, 1, 32650800),
   (118785, true, 177555625, 31, 1812162423500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints599

#print axioms CongruentPoints599.on_curve
#print axioms CongruentPoints599.indep
#print axioms CongruentPoints599.count

bsd/CongruentPoints6.lean

lean_all/bsd/CongruentPoints6.lean

/-
  bsd/CongruentPoints6.lean — T39 cycle 233 (goal G5, part 1): points for two more rank-1 n in 801–1000.

  Lean 4 core, rfl. a2_cfill6 (2-descent quartics, bound 5000) found points for n = 807, 815 (ĥ = 33.7, 36.2:
  beyond any naive search), #Ш_an = 1 for both (NUMERIC_BSD_CONGRUENT_FILL6.jsonl). Rows (n, x > 0?, a, b, c) with
  x = ±a/b², y = c/b³, checked on y² = x³ − n²x as in CongruentPoints5. 29 rank-1 n in 801–1000 remain without a point.
-/
import bsd.CongruentPoints5

namespace CongruentPoints6
open CongruentPoints5

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
  (807, true, 122761831260084025, 11180341, 24512895246628929278529820),
  (815, true, 38250380530932025, 1497249, 7472357701524664067188900)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl

end CongruentPoints6

#print axioms CongruentPoints6.on_curve

bsd/CongruentPoints60.lean

lean_all/bsd/CongruentPoints60.lean

/-
  bsd/CongruentPoints60.lean — T39 goal G114: points for congruent curves in 11201–11400 with Tunnell A = 2B
  (n = 11201, 11207, 11211, 11215, 11226, 11234, 11237, 11238, 11239, 11245, 11265, 11278, 11297, 11303, 11310, 11326, 11330, 11334, 11369, 11377, 11390, 11391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints60
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (11201, false, 8303, 71, 5145066696),
   (11207, true, 322741225, 151, 3541698714840),
   (11211, true, 377437, 3, 223442704),
   (11215, true, 39722677660, 361, 7911586921705350),
   (11226, false, 7078039775, 1888, 3313469794707505),
   (11234, false, 10082, 1, 497568),
   (11237, true, 38502025, 52, 146727841755),
   (11238, true, 263538, 1, 135166680),
   (11239, true, 162400134121, 2681, 56774086267014600),
   (11245, false, 443556, 13, 1230712722),
   (11265, true, 33840060, 11, 196695348750),
   (11278, false, 146168519, 1650, 371211977639629),
   (11297, true, 238975, 3, 105722540),
   (11303, true, 9517225, 7, 29310881160),
   (11310, true, 44109, 1, 8954127),
   (11326, false, 98, 9, 9081856),
   (11330, true, 53045, 1, 11935125),
   (11334, false, 7001282, 97, 281564230472),
   (11369, true, 46824199321, 553, 10104272488227240),
   (11377, true, 1221025, 7, 1200401280),
   (11390, true, 381565, 3, 227031175),
   (11391, true, 1200457918140625, 278931, 28055231558128922036500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints60

#print axioms CongruentPoints60.on_curve
#print axioms CongruentPoints60.indep
#print axioms CongruentPoints60.count

bsd/CongruentPoints600.lean

lean_all/bsd/CongruentPoints600.lean

/-
  bsd/CongruentPoints600.lean — T39 goal G806: points for congruent curves in 118801–119000 with Tunnell A = 2B
  (n = 118826, 118830, 118847, 118851, 118929, 118963, 118965, 118985), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints600
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (118826, true, 172197, 1, 51716499),
   (118830, false, 142970, 9, 3639030200),
   (118847, true, 248897, 1, 109103280),
   (118851, false, 167404725, 53, 3737258208360),
   (118929, true, 86652348, 23, 554672532798),
   (118963, true, 4649194225, 138, 276820809451615),
   (118965, true, 1750485, 1, 2310640200),
   (118985, true, 489985, 2, 81531225)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints600

#print axioms CongruentPoints600.on_curve
#print axioms CongruentPoints600.indep
#print axioms CongruentPoints600.count

bsd/CongruentPoints601.lean

lean_all/bsd/CongruentPoints601.lean

/-
  bsd/CongruentPoints601.lean — T39 goal G806: points for congruent curves in 119001–119200 with Tunnell A = 2B
  (n = 119041, 119045, 119051, 119069, 119094, 119177, 119190, 119195, 119197), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints601
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (119041, true, 4095349547809, 2700, 8099541191839148623),
   (119045, true, 658637749225, 1332, 506297520510116725),
   (119051, false, 79524, 1, 24983790),
   (119069, true, 595806359631025, 38522, 13888894256527789882815),
   (119094, true, 127308, 1, 16051932),
   (119177, false, 1317904, 5, 3067567356),
   (119190, true, 48987090, 13, 312537634200),
   (119195, false, 3844, 1, 7386246),
   (119197, true, 312826557481, 540, 173883354771454379)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints601

#print axioms CongruentPoints601.on_curve
#print axioms CongruentPoints601.indep
#print axioms CongruentPoints601.count

bsd/CongruentPoints602.lean

lean_all/bsd/CongruentPoints602.lean

/-
  bsd/CongruentPoints602.lean — T39 goal G806: points for congruent curves in 119201–119400 with Tunnell A = 2B
  (n = 119210, 119213, 119255, 119301, 119335, 119341, 119355, 119399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints602
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (119210, true, 54057150, 13, 368813915400),
   (119213, true, 201780043013, 1157, 55468418757207000),
   (119255, true, 180625, 1, 57655500),
   (119301, true, 139932, 1, 27356706),
   (119335, true, 6401431311025, 1349, 16186970705113214400),
   (119341, false, 47291, 7, 1271630100),
   (119355, true, 14521525, 7, 50651079200),
   (119399, true, 2775389857716961, 815, 146213002387464094053084)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints602

#print axioms CongruentPoints602.on_curve
#print axioms CongruentPoints602.indep
#print axioms CongruentPoints602.count

bsd/CongruentPoints603.lean

lean_all/bsd/CongruentPoints603.lean

/-
  bsd/CongruentPoints603.lean — T39 goal G806: points for congruent curves in 119401–119600 with Tunnell A = 2B
  (n = 119474, 119490, 119527, 119570, 119585, 119595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints603
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (119474, true, 868562, 1, 801776304),
   (119490, false, 10115, 1, 11974375),
   (119527, true, 322983225, 47, 3343110011760),
   (119570, false, 402190458714, 4273, 1360837831978817016),
   (119585, true, 539115720025, 681, 393742997119087100),
   (119595, true, 54772725, 1, 405364289400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints603

#print axioms CongruentPoints603.on_curve
#print axioms CongruentPoints603.indep
#print axioms CongruentPoints603.count

bsd/CongruentPoints604.lean

lean_all/bsd/CongruentPoints604.lean

/-
  bsd/CongruentPoints604.lean — T39 goal G806: points for congruent curves in 119601–119800 with Tunnell A = 2B
  (n = 119679, 119683, 119686, 119730, 119735, 119741, 119761, 119767, 119770, 119777, 119782, 119791, 119793, 119795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints604
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (119679, true, 162729, 1, 44479260),
   (119683, true, 122525, 1, 9183720),
   (119686, false, 2047743, 8, 10562331009),
   (119730, true, 2827470, 1, 4750149600),
   (119735, true, 1234359, 1, 1364926752),
   (119741, false, 2896804, 5, 1284664494),
   (119761, true, 152561, 1, 36914760),
   (119767, true, 591062889886225, 43297, 13292714554071136903140),
   (119770, true, 3969520, 3, 7611554600),
   (119777, true, 706762225, 23, 18713613665760),
   (119782, true, 8023473, 8, 6707775255),
   (119791, true, 26183740170025, 8022, 128043979308651857165),
   (119793, true, 49528296057, 451, 9596374644383280),
   (119795, true, 7770620, 7, 14193743850)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints604

#print axioms CongruentPoints604.on_curve
#print axioms CongruentPoints604.indep
#print axioms CongruentPoints604.count

bsd/CongruentPoints605.lean

lean_all/bsd/CongruentPoints605.lean

/-
  bsd/CongruentPoints605.lean — T39 goal G806: points for congruent curves in 119801–120000 with Tunnell A = 2B
  (n = 119819, 119833, 119841, 119847, 119881, 119886, 119910, 119922, 119930, 119946, 119966, 119969, 119973), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints605
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (119819, true, 823013654401, 1798, 658774369456295385),
   (119833, true, 3008439, 5, 477338988),
   (119841, true, 863041, 1, 793997720),
   (119847, true, 52612833, 17, 287266068180),
   (119881, true, 753653427657001, 33720, 20348640970319848625749),
   (119886, true, 2362369, 2, 3555365345),
   (119910, false, 88935, 2, 140557725),
   (119922, true, 4530966, 5, 7231421736),
   (119930, true, 202005, 1, 73058475),
   (119946, true, 232854, 1, 96309360),
   (119966, true, 223573, 1, 89205627),
   (119969, false, 1071017, 3, 141596128),
   (119973, true, 141148, 1, 27936370)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints605

#print axioms CongruentPoints605.on_curve
#print axioms CongruentPoints605.indep
#print axioms CongruentPoints605.count

bsd/CongruentPoints606.lean

lean_all/bsd/CongruentPoints606.lean

/-
  bsd/CongruentPoints606.lean — T39 goal G815: points for congruent curves in 120001–120200 with Tunnell A = 2B
  (n = 120003, 120027, 120034, 120085, 120097, 120098, 120106, 120183, 120190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints606
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (120003, true, 1085773, 3, 116241580),
   (120027, false, 3600, 1, 7198380),
   (120034, false, 116162, 1, 10307088),
   (120085, false, 779389975, 142, 64001873392275),
   (120097, true, 25957649368225, 14273, 44186075211436604160),
   (120098, true, 4201164, 5, 6023068788),
   (120106, false, 155090943, 88, 11420894044161),
   (120183, true, 16545193, 11, 32097674420),
   (120190, true, 3093125, 1, 5435857875)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints606

#print axioms CongruentPoints606.on_curve
#print axioms CongruentPoints606.indep
#print axioms CongruentPoints606.count

bsd/CongruentPoints607.lean

lean_all/bsd/CongruentPoints607.lean

/-
  bsd/CongruentPoints607.lean — T39 goal G815: points for congruent curves in 120201–120400 with Tunnell A = 2B
  (n = 120230, 120235, 120237, 120241, 120265, 120270, 120286, 120290, 120309, 120315, 120326, 120341, 120346, 120359, 120379), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints607
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (120230, false, 103499, 1, 19682949),
   (120235, true, 67655313331225, 12648, 533521566056784499075),
   (120237, false, 49827214775, 734, 9240046341210685),
   (120241, true, 47264043763225, 1389, 324930951502608945520),
   (120265, false, 281735, 7, 3124344000),
   (120270, true, 126150, 1, 13519800),
   (120286, true, 488373152569, 1652, 252690386489246355),
   (120290, true, 894010, 1, 837618600),
   (120309, false, 50621444, 1305, 1457761216799546),
   (120315, false, 54756, 1, 25069122),
   (120326, false, 2337122, 9, 14465241512),
   (120341, false, 33813, 1, 21237216),
   (120346, true, 282796, 1, 136089780),
   (120359, true, 179605911334369, 30972, 1843803017428449418705),
   (120379, true, 98075709, 23, 738686614380)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints607

#print axioms CongruentPoints607.on_curve
#print axioms CongruentPoints607.indep
#print axioms CongruentPoints607.count

bsd/CongruentPoints608.lean

lean_all/bsd/CongruentPoints608.lean

/-
  bsd/CongruentPoints608.lean — T39 goal G815: points for congruent curves in 120401–120600 with Tunnell A = 2B
  (n = 120414, 120445, 120479, 120514, 120530, 120534, 120553, 120554, 120570, 120585, 120594, 120595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints608
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (120414, true, 212268, 1, 80538948),
   (120445, true, 488189, 1, 330555888),
   (120479, true, 115944290919, 235, 39414661529606928),
   (120514, true, 16651821104810504209, 11608484, 15016911643291382885912663175),
   (120530, false, 2238016, 5, 3018422352),
   (120534, true, 434166, 1, 274831920),
   (120553, false, 2944656, 5, 1101642828),
   (120554, false, 1914703, 4, 322823319),
   (120570, false, 25230, 23, 10131028200),
   (120585, true, 3493401025, 169, 34591353740900),
   (120594, true, 237606, 1, 99794520),
   (120595, true, 525625, 2, 151369125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints608

#print axioms CongruentPoints608.on_curve
#print axioms CongruentPoints608.indep
#print axioms CongruentPoints608.count

bsd/CongruentPoints609.lean

lean_all/bsd/CongruentPoints609.lean

/-
  bsd/CongruentPoints609.lean — T39 goal G815: points for congruent curves in 120601–120800 with Tunnell A = 2B
  (n = 120606, 120615, 120649, 120658, 120669, 120694, 120718, 120734, 120742, 120745, 120751, 120765, 120790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints609
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (120606, false, 11163, 1, 12687939),
   (120615, false, 8663727204, 581, 3702917846697894),
   (120649, true, 217328, 1, 84268932),
   (120658, false, 19404838283, 451, 2093044494694965),
   (120669, false, 11748612, 41, 694107971082),
   (120694, true, 153328, 1, 37028712),
   (120718, false, 9129172, 11, 34452383940),
   (120734, false, 113284532, 31, 266832494292),
   (120742, false, 30863164475, 1043, 22429241346002205),
   (120745, true, 75248284, 11, 640325272698),
   (120751, true, 25573249, 7, 125814923520),
   (120765, true, 50117475, 19, 175010222700),
   (120790, true, 7445740, 7, 12326882700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints609

#print axioms CongruentPoints609.on_curve
#print axioms CongruentPoints609.indep
#print axioms CongruentPoints609.count

bsd/CongruentPoints61.lean

lean_all/bsd/CongruentPoints61.lean

/-
  bsd/CongruentPoints61.lean — T39 goal G115: points for congruent curves in 11401–11600 with Tunnell A = 2B
  (n = 11401, 11406, 11431, 11445, 11446, 11453, 11455, 11458, 11477, 11487, 11513, 11523, 11526, 11534, 11535, 11539, 11571, 11577, 11590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints61
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (11401, false, 76176, 5, 75805332),
   (11406, false, 6, 5, 698472),
   (11431, true, 29681408, 49, 61568515632),
   (11445, true, 2007889, 6, 2784633137),
   (11446, false, 94178, 3, 12809944),
   (11453, true, 4179905025274225, 494158, 200837344085251772597985),
   (11455, true, 18567351730225, 7598, 79955680265579964225),
   (11458, true, 1781843210449, 9230, 1989839519658339207),
   (11477, false, 136367, 48, 9764718425),
   (11487, true, 8377852, 27, 733062050),
   (11513, true, 3940225, 18, 2519379865),
   (11523, true, 18723, 1, 2019240),
   (11526, false, 1922, 1, 498232),
   (11534, false, 898704, 37, 14944698600),
   (11535, true, 8870415, 17, 24482345400),
   (11539, true, 109008153845809, 64220, 1023936022005467448873),
   (11571, true, 409948, 3, 253867922),
   (11577, true, 485809, 5, 271958248),
   (11590, false, 127397890, 673, 59233412001000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints61

#print axioms CongruentPoints61.on_curve
#print axioms CongruentPoints61.indep
#print axioms CongruentPoints61.count

bsd/CongruentPoints610.lean

lean_all/bsd/CongruentPoints610.lean

/-
  bsd/CongruentPoints610.lean — T39 goal G815: points for congruent curves in 120801–121000 with Tunnell A = 2B
  (n = 120805, 120830, 120855, 120885, 120905, 120911, 120918, 120930, 120938, 120946, 120962, 120963, 120967), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints610
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (120805, false, 54756, 1, 25197822),
   (120830, true, 1935809, 4, 137629023),
   (120855, true, 231945, 1, 95344200),
   (120885, false, 281535, 2, 208592775),
   (120905, true, 205570358175625, 35618, 1962340019939216755875),
   (120911, true, 268730449, 47, 485660329440),
   (120918, false, 3882900, 23, 125812299060),
   (120930, true, 247254, 1, 107237592),
   (120938, true, 45481960225, 446, 8231844903040785),
   (120946, false, 22743, 2, 72877749),
   (120962, true, 1722573342, 97, 53665607420880),
   (120963, true, 1310763, 1, 1494269820),
   (120967, false, 68709878116, 755, 1520245439169402)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints610

#print axioms CongruentPoints610.on_curve
#print axioms CongruentPoints610.indep
#print axioms CongruentPoints610.count

bsd/CongruentPoints611.lean

lean_all/bsd/CongruentPoints611.lean

/-
  bsd/CongruentPoints611.lean — T39 goal G815: points for congruent curves in 121001–121200 with Tunnell A = 2B
  (n = 121049, 121055, 121074, 121101, 121110, 121127, 121135, 121191, 121195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints611
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (121049, true, 7059068, 1, 18752414142),
   (121055, true, 368064, 1, 210875112),
   (121074, false, 45968, 1, 24014744),
   (121101, true, 201243, 1, 72102492),
   (121110, true, 832590, 1, 751627800),
   (121127, false, 87025, 1, 24854340),
   (121135, true, 516264971746225, 29087, 11496836712700424662200),
   (121191, true, 156016, 1, 38808980),
   (121195, true, 28064625625, 478, 764493768007125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints611

#print axioms CongruentPoints611.on_curve
#print axioms CongruentPoints611.indep
#print axioms CongruentPoints611.count

bsd/CongruentPoints612.lean

lean_all/bsd/CongruentPoints612.lean

/-
  bsd/CongruentPoints612.lean — T39 goal G815: points for congruent curves in 121201–121400 with Tunnell A = 2B
  (n = 121231, 121278, 121290, 121295, 121301, 121317, 121323, 121330, 121334, 121335, 121346, 121381, 121390, 121399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints612
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (121231, true, 1179247, 3, 485849764),
   (121278, true, 413772, 1, 254469780),
   (121290, true, 2840890, 3, 4420702000),
   (121295, true, 7517714004025, 7631, 7057916565941192700),
   (121301, true, 298619629985610025, 1110362, 141244837422515311997963085),
   (121317, true, 125692, 1, 11654650),
   (121323, true, 110756317791992059009, 17641120, 1095788207346961620440178849473),
   (121330, true, 1627120, 1, 2069753400),
   (121334, true, 19415294, 5, 84498648072),
   (121335, true, 7162215, 7, 10687973400),
   (121346, true, 224310529, 26, 3126798388065),
   (121381, true, 1160969329, 54, 37674497870945),
   (121390, false, 36624159, 224, 36859965739311),
   (121399, true, 4821577, 1, 10583905584)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints612

#print axioms CongruentPoints612.on_curve
#print axioms CongruentPoints612.indep
#print axioms CongruentPoints612.count

bsd/CongruentPoints613.lean

lean_all/bsd/CongruentPoints613.lean

/-
  bsd/CongruentPoints613.lean — T39 goal G815: points for congruent curves in 121401–121600 with Tunnell A = 2B
  (n = 121414, 121415, 121465, 121485, 121539, 121542, 121555, 121582, 121589), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints613
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (121414, true, 234610489, 32, 3047453547885),
   (121415, true, 86481597767986369, 217338, 25376309996435984152554247),
   (121465, true, 12407900575225, 10044, 6870820605483497075),
   (121485, false, 2477475, 29, 160766505900),
   (121539, true, 532257, 2, 158080329),
   (121542, true, 229842, 1, 93523320),
   (121555, true, 1116796, 3, 237267206),
   (121582, true, 393488106382, 249, 246784401566017280),
   (121589, false, 4975, 4, 137217465)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints613

#print axioms CongruentPoints613.on_curve
#print axioms CongruentPoints613.indep
#print axioms CongruentPoints613.count

bsd/CongruentPoints614.lean

lean_all/bsd/CongruentPoints614.lean

/-
  bsd/CongruentPoints614.lean — T39 goal G815: points for congruent curves in 121601–121800 with Tunnell A = 2B
  (n = 121638, 121659, 121666, 121673, 121691, 121695, 121713, 121730, 121737, 121791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints614
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (121638, true, 3425004, 5, 2916372492),
   (121659, false, 2677314624, 367, 836469926911080),
   (121666, false, 15646527, 16, 106528286943),
   (121673, true, 133225, 1, 19806360),
   (121691, true, 239419633, 24, 3542265558217),
   (121695, true, 4432320, 1, 9327879000),
   (121713, false, 43888310199, 2905, 214984353600464076),
   (121730, true, 211688470, 23, 2934002194200),
   (121737, false, 6201872, 13, 48852114940),
   (121791, true, 2256271363921, 3038, 2938587642970528625)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints614

#print axioms CongruentPoints614.on_curve
#print axioms CongruentPoints614.indep
#print axioms CongruentPoints614.count

bsd/CongruentPoints615.lean

lean_all/bsd/CongruentPoints615.lean

/-
  bsd/CongruentPoints615.lean — T39 goal G815: points for congruent curves in 121801–122000 with Tunnell A = 2B
  (n = 121830, 121857, 121858, 121907, 121965, 121974), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints615
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (121830, true, 1678650, 1, 2169169200),
   (121857, true, 86853173445025, 16853, 742385199196056953420),
   (121858, false, 1498662, 31, 143348685480),
   (121907, true, 305525, 1, 154851180),
   (121965, true, 132540, 1, 18886950),
   (121974, true, 526768643976481, 30030, 11823579714335690479121)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints615

#print axioms CongruentPoints615.on_curve
#print axioms CongruentPoints615.indep
#print axioms CongruentPoints615.count

bsd/CongruentPoints616.lean

lean_all/bsd/CongruentPoints616.lean

/-
  bsd/CongruentPoints616.lean — T39 goal G820: points for congruent curves in 122001–122200 with Tunnell A = 2B
  (n = 122081, 122111, 122169, 122174), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints616
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (122081, true, 3004615048868161, 39760, 164355978574464805314591),
   (122111, true, 294225409, 15, 5024796114952),
   (122169, true, 14737231609, 344, 347233894958195),
   (122174, true, 470125552, 61, 2597208612024)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 4 := rfl

end CongruentPoints616

#print axioms CongruentPoints616.on_curve
#print axioms CongruentPoints616.indep
#print axioms CongruentPoints616.count

bsd/CongruentPoints617.lean

lean_all/bsd/CongruentPoints617.lean

/-
  bsd/CongruentPoints617.lean — T39 goal G820: points for congruent curves in 122201–122400 with Tunnell A = 2B
  (n = 122230, 122237, 122241, 122271, 122278, 122285, 122322, 122329, 122342, 122351, 122370), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints617
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (122230, false, 2999106, 5, 1014202728),
   (122237, true, 969167475, 89, 1320170834760),
   (122241, false, 44100, 1, 23941890),
   (122271, true, 470234581719075625, 1395889, 278006336988232126018071700),
   (122278, true, 58890650, 17, 361519878720),
   (122285, true, 12575995450225, 10126, 3436734645201292575),
   (122322, true, 75636954, 5, 657273010392),
   (122329, true, 11810141185030428409, 8001840, 30376198268962145761395212173),
   (122342, false, 1423616, 195, 5550616322848),
   (122351, true, 260919409, 21, 4123529117380),
   (122370, true, 3052830, 1, 5329724400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints617

#print axioms CongruentPoints617.on_curve
#print axioms CongruentPoints617.indep
#print axioms CongruentPoints617.count

bsd/CongruentPoints618.lean

lean_all/bsd/CongruentPoints618.lean

/-
  bsd/CongruentPoints618.lean — T39 goal G820: points for congruent curves in 122401–122600 with Tunnell A = 2B
  (n = 122406, 122414, 122415, 122430, 122455, 122507, 122513, 122518, 122546, 122558, 122590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints618
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (122406, true, 108574122, 29, 359597492064),
   (122414, true, 142578, 1, 27601392),
   (122415, true, 1400305389025, 819, 1654193117371770100),
   (122430, false, 462216975, 182, 86619207641175),
   (122455, true, 15813069199225, 4182, 62302326962894006725),
   (122507, false, 218986831, 550, 548387694005697),
   (122513, true, 18326895577228225, 262364, 2202764259867827672255265),
   (122518, true, 6874582, 7, 8782247760),
   (122546, true, 7061518, 7, 9874472112),
   (122558, true, 591318677532025, 66758, 5509193014912632988845),
   (122590, false, 9601555275, 1129, 15282425518739925)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints618

#print axioms CongruentPoints618.on_curve
#print axioms CongruentPoints618.indep
#print axioms CongruentPoints618.count

bsd/CongruentPoints619.lean

lean_all/bsd/CongruentPoints619.lean

/-
  bsd/CongruentPoints619.lean — T39 goal G820: points for congruent curves in 122601–122800 with Tunnell A = 2B
  (n = 122605, 122615, 122619, 122655, 122689, 122734, 122757, 122766, 122774, 122779, 122785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints619
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (122605, false, 57253311, 76, 5340865932513),
   (122615, true, 232108623895287841, 282795, 111724649971765130491381736),
   (122619, false, 73947, 1, 26598312),
   (122655, false, 50625, 1, 25137000),
   (122689, true, 2322565249, 97, 97126703277360),
   (122734, false, 436, 11, 310094100),
   (122757, false, 32838203, 811, 462676701229300),
   (122766, true, 230917, 1, 93983219),
   (122774, false, 50868, 7, 1356779556),
   (122779, true, 234171, 1, 96493320),
   (122785, true, 491985, 2, 20216625)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints619

#print axioms CongruentPoints619.on_curve
#print axioms CongruentPoints619.indep
#print axioms CongruentPoints619.count

bsd/CongruentPoints62.lean

lean_all/bsd/CongruentPoints62.lean

/-
  bsd/CongruentPoints62.lean — T39 goal G116: points for congruent curves in 11601–11800 with Tunnell A = 2B
  (n = 11607, 11615, 11629, 11635, 11641, 11659, 11663, 11679, 11685, 11713, 11715, 11726, 11733, 11735, 11753, 11765, 11778, 11789), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints62
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (11607, true, 4410472057618225, 608817, 64493941633023277929860),
   (11615, true, 3684611401, 430, 181739619472899),
   (11629, true, 7953410341, 777, 333277898898860),
   (11635, true, 47385, 2, 1939275),
   (11641, true, 582750551161, 1039, 444757250537224680),
   (11659, true, 22161089, 20, 101988395937),
   (11663, true, 22790431225, 143, 3440369054469060),
   (11679, true, 186334672225, 2134, 77088041079564905),
   (11685, true, 163181025, 118, 159614354025),
   (11713, true, 70225, 2, 13862415),
   (11715, true, 499059, 5, 285461748),
   (11726, true, 15803122, 9, 62708803984),
   (11733, true, 53067, 1, 11922120),
   (11735, true, 54407810107225, 67587, 68665354479910357300),
   (11753, true, 15625, 1, 1287000),
   (11765, true, 2129465, 8, 2906719725),
   (11778, false, 268203, 7, 264646395),
   (11789, true, 803866807977025, 31682, 22789200365666869633785)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints62

#print axioms CongruentPoints62.on_curve
#print axioms CongruentPoints62.indep
#print axioms CongruentPoints62.count

bsd/CongruentPoints620.lean

lean_all/bsd/CongruentPoints620.lean

/-
  bsd/CongruentPoints620.lean — T39 goal G820: points for congruent curves in 122801–123000 with Tunnell A = 2B
  (n = 122835, 122845, 122870, 122910, 122969, 122978), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints620
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (122835, true, 137275, 1, 22706900),
   (122845, false, 19593311, 24, 300961609487),
   (122870, true, 191097280, 39, 551579129200),
   (122910, true, 674160, 1, 544257000),
   (122969, false, 5582143, 16, 73197891039),
   (122978, false, 94178, 1, 24269280)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints620

#print axioms CongruentPoints620.on_curve
#print axioms CongruentPoints620.indep
#print axioms CongruentPoints620.count

bsd/CongruentPoints621.lean

lean_all/bsd/CongruentPoints621.lean

/-
  bsd/CongruentPoints621.lean — T39 goal G820: points for congruent curves in 123001–123200 with Tunnell A = 2B
  (n = 123026, 123046, 123063, 123071, 123087, 123110, 123135, 123162), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints621
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (123026, true, 337842, 1, 182885136),
   (123046, true, 49156877, 19, 147618101631),
   (123063, true, 183388, 1, 58225690),
   (123071, true, 59483795449, 366, 13939355437042555),
   (123087, true, 141517314171025, 28149, 1219861519997035303180),
   (123110, true, 478262775510, 77, 330749627703955200),
   (123135, true, 245392225, 43, 1434070909700),
   (123162, true, 10064496, 5, 30398304456)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints621

#print axioms CongruentPoints621.on_curve
#print axioms CongruentPoints621.indep
#print axioms CongruentPoints621.count

bsd/CongruentPoints622.lean

lean_all/bsd/CongruentPoints622.lean

/-
  bsd/CongruentPoints622.lean — T39 goal G820: points for congruent curves in 123201–123400 with Tunnell A = 2B
  (n = 123205, 123222, 123234, 123270, 123279, 123281, 123310, 123315, 123321, 123326, 123343, 123398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints622
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (123205, true, 1102572025, 38, 36131156921925),
   (123222, false, 1862982, 13, 28309644000),
   (123234, true, 133215954, 13, 1518661875600),
   (123270, true, 43415694, 11, 268656314472),
   (123279, true, 2007889, 4, 532090585),
   (123281, true, 116737472, 23, 1046117596776),
   (123310, true, 727529, 2, 456160683),
   (123315, false, 212415, 2, 205176825),
   (123321, false, 8448, 1, 11308176),
   (123326, true, 5398974, 1, 12541616640),
   (123343, false, 256036, 5, 1554901062),
   (123398, true, 399942398, 49, 5372616525480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints622

#print axioms CongruentPoints622.on_curve
#print axioms CongruentPoints622.indep
#print axioms CongruentPoints622.count

bsd/CongruentPoints623.lean

lean_all/bsd/CongruentPoints623.lean

/-
  bsd/CongruentPoints623.lean — T39 goal G820: points for congruent curves in 123401–123600 with Tunnell A = 2B
  (n = 123437, 123441, 123455, 123458, 123465, 123469, 123481, 123510, 123519, 123521, 123559, 123565, 123566, 123574, 123591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints623
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (123437, true, 8593857, 8, 9917443935),
   (123441, true, 696348, 1, 571881798),
   (123455, true, 5871390625, 218, 17245543175625),
   (123458, true, 1101225668449, 2820, 523426746591538543),
   (123465, true, 1287735, 1, 1454569200),
   (123469, true, 256672441, 42, 2175802797925),
   (123481, true, 235225, 1, 97100880),
   (123510, true, 192246, 1, 64594656),
   (123519, false, 45177, 47, 57994681932),
   (123521, false, 115600, 1, 14797140),
   (123559, true, 81869699164, 27, 23425265884181590),
   (123565, true, 637065, 2, 320816925),
   (123566, false, 555458, 3, 718043824),
   (123574, false, 305762, 3, 591282712),
   (123591, false, 47775, 1, 24913980)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints623

#print axioms CongruentPoints623.on_curve
#print axioms CongruentPoints623.indep
#print axioms CongruentPoints623.count

bsd/CongruentPoints624.lean

lean_all/bsd/CongruentPoints624.lean

/-
  bsd/CongruentPoints624.lean — T39 goal G820: points for congruent curves in 123601–123800 with Tunnell A = 2B
  (n = 123618, 123622, 123630, 123635, 123682, 123695, 123709, 123710, 123715, 123747), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints624
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (123618, false, 5743650, 7, 4610651760),
   (123622, false, 346937346, 55, 2599545810792),
   (123630, true, 561834, 1, 410803848),
   (123635, true, 1418524, 3, 1047876382),
   (123682, true, 107727022, 27, 611889484960),
   (123695, true, 5183695, 3, 11526714100),
   (123709, false, 795292223, 84, 10146396130849),
   (123710, true, 2289169, 4, 1739903097),
   (123715, true, 10139725, 9, 4928238800),
   (123747, false, 1053, 1, 4015440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints624

#print axioms CongruentPoints624.on_curve
#print axioms CongruentPoints624.indep
#print axioms CongruentPoints624.count

bsd/CongruentPoints625.lean

lean_all/bsd/CongruentPoints625.lean

/-
  bsd/CongruentPoints625.lean — T39 goal G820: points for congruent curves in 123801–124000 with Tunnell A = 2B
  (n = 123805, 123806, 123814, 123830, 123838, 123846, 123855, 123861, 123870, 123879, 123915, 123933, 123946, 123977), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints625
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (123805, true, 44882563308025, 902, 300687507099915440325),
   (123806, true, 124002, 1, 2454144),
   (123814, true, 61876062, 1, 486724412376),
   (123830, true, 16689645, 11, 30032088975),
   (123838, false, 16038, 1, 15550920),
   (123846, false, 1971216, 5, 3352137048),
   (123855, true, 9166305, 7, 20797952400),
   (123861, false, 116964, 1, 13938210),
   (123870, false, 8670, 1, 11505600),
   (123879, true, 16203159, 11, 24768438660),
   (123915, false, 48579843125, 2703, 199258979763437000),
   (123933, false, 6023667, 7, 1890504720),
   (123946, false, 121104, 1, 9183720),
   (123977, true, 158886025, 17, 1951172017080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints625

#print axioms CongruentPoints625.on_curve
#print axioms CongruentPoints625.indep
#print axioms CongruentPoints625.count

bsd/CongruentPoints626.lean

lean_all/bsd/CongruentPoints626.lean

/-
  bsd/CongruentPoints626.lean — T39 goal G821: points for congruent curves in 124001–124200 with Tunnell A = 2B
  (n = 124001, 124009, 124062, 124066, 124073, 124085, 124089, 124090, 124135, 124165, 124186, 124194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints626
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (124001, true, 380108007841, 929, 224867707162395360),
   (124009, true, 2695374889, 123, 100472124010060),
   (124062, false, 470327, 2, 108553445),
   (124066, true, 308898, 1, 157225152),
   (124073, true, 1443955524625470025, 325072, 1735053303719448185522392005),
   (124085, true, 51495275, 1, 369530093400),
   (124089, true, 385257159, 13, 7550604176220),
   (124090, true, 727098120069049, 32406, 19288571410568234647693),
   (124135, true, 994586216517721, 89489, 972585904492967242056),
   (124165, false, 17426812615, 382, 654642484544475),
   (124186, true, 62124062, 1, 489653540376),
   (124194, true, 360150, 1, 202877640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints626

#print axioms CongruentPoints626.on_curve
#print axioms CongruentPoints626.indep
#print axioms CongruentPoints626.count

bsd/CongruentPoints627.lean

lean_all/bsd/CongruentPoints627.lean

/-
  bsd/CongruentPoints627.lean — T39 goal G821: points for congruent curves in 124201–124400 with Tunnell A = 2B
  (n = 124230, 124241, 124243, 124246, 124278, 124293, 124319, 124321), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints627
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (124230, true, 4131405, 1, 8393637825),
   (124241, true, 62493223, 3, 493946434592),
   (124243, false, 129008943, 232, 75941116250265),
   (124246, true, 6012937, 6, 9854072389),
   (124278, true, 4271421, 5, 6058020969),
   (124293, false, 507, 1, 2798640),
   (124319, true, 6462598896, 97, 510949366938660),
   (124321, false, 1943705727, 164, 119951887023423)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints627

#print axioms CongruentPoints627.on_curve
#print axioms CongruentPoints627.indep
#print axioms CongruentPoints627.count

bsd/CongruentPoints628.lean

lean_all/bsd/CongruentPoints628.lean

/-
  bsd/CongruentPoints628.lean — T39 goal G821: points for congruent curves in 124401–124600 with Tunnell A = 2B
  (n = 124410, 124430, 124439, 124501, 124530, 124571, 124574), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints628
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (124410, true, 637065, 2, 317470725),
   (124430, true, 129605, 1, 13053075),
   (124439, false, 94864, 1, 24804780),
   (124501, true, 5841596497, 114, 429006943974961),
   (124530, false, 14466900, 17, 125339652900),
   (124571, false, 65403, 1, 27113736),
   (124574, true, 26134885348441, 12996, 79255780238018413475)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints628

#print axioms CongruentPoints628.on_curve
#print axioms CongruentPoints628.indep
#print axioms CongruentPoints628.count

bsd/CongruentPoints629.lean

lean_all/bsd/CongruentPoints629.lean

/-
  bsd/CongruentPoints629.lean — T39 goal G821: points for congruent curves in 124601–124800 with Tunnell A = 2B
  (n = 124602, 124655, 124670, 124683, 124709, 124735, 124738, 124745), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints629
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (124602, true, 52566468750, 229, 11958638385681000),
   (124655, true, 49151184861442225, 13771, 10896849108989445210216900),
   (124670, false, 3111696, 5, 312972408),
   (124683, true, 2656887025, 138, 61444015657505),
   (124709, true, 425893, 1, 265757232),
   (124735, true, 805481161, 74, 12115867035459),
   (124738, true, 869312, 1, 802132080),
   (124745, true, 4420798424137225, 79672, 289181327940973656375525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints629

#print axioms CongruentPoints629.on_curve
#print axioms CongruentPoints629.indep
#print axioms CongruentPoints629.count

bsd/CongruentPoints63.lean

lean_all/bsd/CongruentPoints63.lean

/-
  bsd/CongruentPoints63.lean — T39 goal G117: points for congruent curves in 11801–12000 with Tunnell A = 2B
  (n = 11811, 11814, 11815, 11819, 11822, 11845, 11886, 11894, 11895, 11903, 11910, 11914, 11917, 11926, 11935, 11958, 11966, 11974, 11978, 11990, 11991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints63
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (11811, true, 1499997, 11, 557998884),
   (11814, false, 10658, 1, 526184),
   (11815, true, 62594535721, 393, 15653808014903056),
   (11819, true, 6384919275, 157, 509660032058940),
   (11822, true, 28750, 1, 4443600),
   (11845, false, 39605, 7, 115237200),
   (11886, false, 3880898, 19, 3605685776),
   (11894, false, 95779, 5, 87119769),
   (11895, true, 1075369, 6, 1022928947),
   (11903, true, 70980625, 23, 595654105200),
   (11910, false, 778410, 11, 1070020800),
   (11914, false, 567, 2, 1134693),
   (11917, true, 8353817, 26, 6390670005),
   (11926, true, 932908, 7, 702384852),
   (11935, false, 58609375, 1823, 303653877780000),
   (11958, true, 1524258, 1, 1881803880),
   (11966, true, 13122, 1, 616896),
   (11974, false, 1563331427, 1769, 1480274103303303),
   (11978, true, 319225, 2, 178319085),
   (11990, false, 145728110, 147, 2586067490600),
   (11991, false, 52983, 218, 131170647069)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints63

#print axioms CongruentPoints63.on_curve
#print axioms CongruentPoints63.indep
#print axioms CongruentPoints63.count

bsd/CongruentPoints630.lean

lean_all/bsd/CongruentPoints630.lean

/-
  bsd/CongruentPoints630.lean — T39 goal G821: points for congruent curves in 124801–125000 with Tunnell A = 2B
  (n = 124815, 124845, 124854, 124879, 124883, 124894, 124899, 124910, 124915, 124935, 124962, 124982), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints630
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (124815, true, 6531985, 6, 12116832175),
   (124845, true, 178605, 1, 53978400),
   (124854, true, 193548, 1, 65064132),
   (124879, true, 215500198005625, 41229, 545424996946177111400),
   (124883, true, 264275, 1, 119731920),
   (124894, true, 268037, 1, 122783661),
   (124899, true, 580413, 1, 431827272),
   (124910, false, 90, 1, 1185000),
   (124915, true, 241115, 1, 101268300),
   (124935, true, 12177015, 7, 36732148200),
   (124962, false, 191218688, 201, 69762737430080),
   (124982, true, 248768, 1, 107281200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints630

#print axioms CongruentPoints630.on_curve
#print axioms CongruentPoints630.indep
#print axioms CongruentPoints630.count

bsd/CongruentPoints631.lean

lean_all/bsd/CongruentPoints631.lean

/-
  bsd/CongruentPoints631.lean — T39 goal G821: points for congruent curves in 125001–125200 with Tunnell A = 2B
  (n = 125006, 125035, 125105, 125106, 125115, 125151), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints631
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (125006, true, 153328, 1, 34766088),
   (125035, true, 799765, 1, 706431600),
   (125105, true, 525625, 2, 116590875),
   (125106, true, 126150, 1, 5752440),
   (125115, true, 54925485, 13, 375690317400),
   (125151, true, 4377139380962209, 75697, 285678404934691518230840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints631

#print axioms CongruentPoints631.on_curve
#print axioms CongruentPoints631.indep
#print axioms CongruentPoints631.count

bsd/CongruentPoints632.lean

lean_all/bsd/CongruentPoints632.lean

/-
  bsd/CongruentPoints632.lean — T39 goal G821: points for congruent curves in 125201–125400 with Tunnell A = 2B
  (n = 125209, 125231, 125233, 125251, 125255, 125274, 125286, 125295, 125353, 125354, 125390, 125395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints632
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (125209, true, 48288601, 17, 222194830920),
   (125231, true, 8230299841, 167, 676098571837920),
   (125233, true, 79740239768987074225, 4460424, 711711854348589358234672668265),
   (125251, false, 1757007, 4, 1277603607),
   (125255, true, 14778049225, 306, 1092976222046275),
   (125274, true, 66439308, 23, 38643027228),
   (125286, true, 1300117, 3, 737966411),
   (125295, false, 2601, 1, 6388668),
   (125353, true, 26427379225, 439, 1741722160400040),
   (125354, true, 393164433, 56, 129547832007),
   (125390, false, 620010, 11, 11936711400),
   (125395, true, 97496940025, 722, 22587394379264325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints632

#print axioms CongruentPoints632.on_curve
#print axioms CongruentPoints632.indep
#print axioms CongruentPoints632.count

bsd/CongruentPoints633.lean

lean_all/bsd/CongruentPoints633.lean

/-
  bsd/CongruentPoints633.lean — T39 goal G821: points for congruent curves in 125401–125600 with Tunnell A = 2B
  (n = 125405, 125419, 125421, 125429, 125430, 125454, 125466, 125510, 125535), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints633
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (125405, false, 96605, 1, 24853200),
   (125419, true, 3426908, 1, 6339611118),
   (125421, true, 35156625001, 316, 6159448429903925),
   (125429, true, 7642958049024169, 180190, 565422440449563203485197),
   (125430, true, 7927715349, 79, 702416081442357),
   (125454, false, 59140686, 47, 2082101107680),
   (125466, true, 476850, 1, 317683080),
   (125510, true, 152460, 1, 33795300),
   (125535, true, 20001030625, 293, 2382901416516500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints633

#print axioms CongruentPoints633.on_curve
#print axioms CongruentPoints633.indep
#print axioms CongruentPoints633.count

bsd/CongruentPoints634.lean

lean_all/bsd/CongruentPoints634.lean

/-
  bsd/CongruentPoints634.lean — T39 goal G821: points for congruent curves in 125601–125800 with Tunnell A = 2B
  (n = 125617, 125630, 125643, 125665, 125671, 125690, 125697, 125741, 125749, 125751, 125769, 125773, 125795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints634
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (125617, true, 8758089523162225, 214704, 614903898804731058635785),
   (125630, false, 314330, 3, 608923000),
   (125643, false, 544887, 22, 44886882915),
   (125665, false, 10496, 1, 12829392),
   (125671, false, 2683044, 5, 2677528854),
   (125690, true, 176890, 1, 52348800),
   (125697, true, 1887600, 1, 2587616460),
   (125741, true, 463772, 1, 304002546),
   (125749, true, 320437, 1, 166839504),
   (125751, false, 5471087, 24, 168938370503),
   (125769, true, 2379223, 3, 3227956732),
   (125773, true, 6270525, 7, 2897009520),
   (125795, true, 169561722195, 1063, 38067006804283800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints634

#print axioms CongruentPoints634.on_curve
#print axioms CongruentPoints634.indep
#print axioms CongruentPoints634.count

bsd/CongruentPoints635.lean

lean_all/bsd/CongruentPoints635.lean

/-
  bsd/CongruentPoints635.lean — T39 goal G821: points for congruent curves in 125801–126000 with Tunnell A = 2B
  (n = 125859, 125885, 125895, 125922, 125965, 125983, 125990, 125994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints635
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (125859, false, 111747, 1, 19357128),
   (125885, true, 17373612481, 368, 441377405916321),
   (125895, true, 150948105, 4, 1854397469925),
   (125922, true, 144150, 1, 26638920),
   (125965, false, 10005525, 13, 59436277200),
   (125983, true, 42088904572, 303, 8302336073613010),
   (125990, true, 12801390336, 251, 1136353233155616),
   (125994, false, 1679046, 5, 3453286608)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints635

#print axioms CongruentPoints635.on_curve
#print axioms CongruentPoints635.indep
#print axioms CongruentPoints635.count

bsd/CongruentPoints636.lean

lean_all/bsd/CongruentPoints636.lean

/-
  bsd/CongruentPoints636.lean — T39 goal G831: points for congruent curves in 126001–126200 with Tunnell A = 2B
  (n = 126015, 126021, 126026, 126038, 126047, 126061, 126087, 126105, 126110, 126145, 126169), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints636
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (126015, true, 787803775, 51, 20107330604900),
   (126021, true, 44989497, 2, 301744556379),
   (126026, false, 1111952042, 287, 344160455521968),
   (126038, false, 905858, 3, 649821880),
   (126047, true, 12621399025, 311, 366969008886480),
   (126061, true, 21755293362049, 4050, 101012919271555426343),
   (126087, true, 107534805625, 678, 29702751325561925),
   (126105, true, 1537305, 1, 1899651600),
   (126110, false, 86490, 11, 4487566200),
   (126145, false, 122500, 1, 10536750),
   (126169, true, 84830307653569, 11651, 765226037032468928280)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints636

#print axioms CongruentPoints636.on_curve
#print axioms CongruentPoints636.indep
#print axioms CongruentPoints636.count

bsd/CongruentPoints637.lean

lean_all/bsd/CongruentPoints637.lean

/-
  bsd/CongruentPoints637.lean — T39 goal G831: points for congruent curves in 126201–126400 with Tunnell A = 2B
  (n = 126222, 126238, 126242, 126294, 126334, 126373, 126381), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints637
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (126222, true, 158922, 1, 38494440),
   (126238, false, 9465183, 22, 185705676975),
   (126242, false, 2421863, 6, 5984722205),
   (126294, false, 11094, 1, 13250880),
   (126334, false, 1135706, 3, 57926440),
   (126373, false, 8508253, 17, 103598970540),
   (126381, true, 2613765625, 92, 121925746997875)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints637

#print axioms CongruentPoints637.on_curve
#print axioms CongruentPoints637.indep
#print axioms CongruentPoints637.count

bsd/CongruentPoints638.lean

lean_all/bsd/CongruentPoints638.lean

/-
  bsd/CongruentPoints638.lean — T39 goal G831: points for congruent curves in 126401–126600 with Tunnell A = 2B
  (n = 126474, 126497, 126498, 126501, 126511, 126569, 126579), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints638
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (126474, true, 27202365184, 175, 4440811067753248),
   (126497, true, 39753025, 17, 98455450080),
   (126498, true, 3171174, 5, 418594968),
   (126501, false, 12444629, 11, 31438836100),
   (126511, false, 6769133712, 317, 885355316654292),
   (126569, true, 11402181961, 287, 493064449573800),
   (126579, false, 1774083, 7, 7916073696)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints638

#print axioms CongruentPoints638.on_curve
#print axioms CongruentPoints638.indep
#print axioms CongruentPoints638.count

bsd/CongruentPoints639.lean

lean_all/bsd/CongruentPoints639.lean

/-
  bsd/CongruentPoints639.lean — T39 goal G831: points for congruent curves in 126601–126800 with Tunnell A = 2B
  (n = 126605, 126614, 126615, 126623, 126637, 126638, 126645, 126685, 126701, 126735, 126737, 126755, 126785, 126799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints639
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (126605, true, 534645, 1, 379810500),
   (126614, true, 1555850, 1, 1934232720),
   (126615, true, 126960, 1, 3332700),
   (126623, true, 8337823616114898361, 1856060, 24042736158682346550806580141),
   (126637, false, 650182525, 199, 126795371737560),
   (126638, true, 11791088, 1, 40486083960),
   (126645, false, 59405, 1, 27260900),
   (126685, true, 9712911612351025, 11312, 957245977674002970213975),
   (126701, true, 13500693600241, 10010, 16875615142534431711),
   (126735, true, 191535, 1, 62850600),
   (126737, true, 2407287545804047201, 476510, 3734744707195594931018134551),
   (126755, true, 1311025, 2, 1384322175),
   (126785, true, 1613227225, 39, 64330674703300),
   (126799, true, 13425097035291841, 90585, 1550843310051474078722264)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints639

#print axioms CongruentPoints639.on_curve
#print axioms CongruentPoints639.indep
#print axioms CongruentPoints639.count

bsd/CongruentPoints64.lean

lean_all/bsd/CongruentPoints64.lean

/-
  bsd/CongruentPoints64.lean — T39 goal G118: points for congruent curves in 12001–12200 with Tunnell A = 2B
  (n = 12030, 12035, 12039, 12045, 12070, 12095, 12110, 12117, 12121, 12135, 12155, 12161, 12166, 12173, 12185, 12189, 12190, 12199), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints64
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (12030, true, 7236045, 11, 19066978575),
   (12035, true, 2036525, 13, 147090900),
   (12039, false, 11025, 1, 507780),
   (12045, false, 16216695, 62, 174643501725),
   (12070, false, 257346, 7, 270136392),
   (12095, true, 124025, 2, 40217925),
   (12110, true, 748225, 6, 526002175),
   (12117, false, 9969987, 31, 18995696460),
   (12121, true, 139129, 1, 51697800),
   (12135, true, 2492505625, 453, 5338099821500),
   (12155, true, 48841, 2, 1025661),
   (12161, true, 32500196788924528225, 6904072, 185250716586762072500793635055),
   (12166, true, 19602, 1, 2151864),
   (12173, true, 1107373, 1, 1165238040),
   (12185, true, 50760851362225, 5031, 361647385661337262300),
   (12189, true, 9473811, 7, 29101964760),
   (12190, true, 204114461620381225, 1778808, 90555482468538867570476075),
   (12199, true, 1229881, 10, 173413221)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints64

#print axioms CongruentPoints64.on_curve
#print axioms CongruentPoints64.indep
#print axioms CongruentPoints64.count

bsd/CongruentPoints640.lean

lean_all/bsd/CongruentPoints640.lean

/-
  bsd/CongruentPoints640.lean — T39 goal G831: points for congruent curves in 126801–127000 with Tunnell A = 2B
  (n = 126809, 126817, 126826, 126874, 126905, 126906, 126913, 126966), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints640
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (126809, true, 919941232064089, 27898, 27741266511212308921515),
   (126817, true, 1836721536049, 3530, 1268699674896025407),
   (126826, false, 28322, 11, 2582586552),
   (126874, true, 151838, 1, 32503128),
   (126905, false, 34969, 1, 22812504),
   (126906, true, 34412677, 3, 201761525251),
   (126913, true, 935505414677089, 43375, 27665702901464540607312),
   (126966, true, 44817738, 17, 172279211328)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints640

#print axioms CongruentPoints640.on_curve
#print axioms CongruentPoints640.indep
#print axioms CongruentPoints640.count

bsd/CongruentPoints641.lean

lean_all/bsd/CongruentPoints641.lean

/-
  bsd/CongruentPoints641.lean — T39 goal G831: points for congruent curves in 127001–127200 with Tunnell A = 2B
  (n = 127010, 127015, 127018, 127029, 127049, 127065, 127087, 127091, 127094, 127095, 127097, 127099, 127127, 127131, 127145, 127158, 127169, 127185, 127190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints641
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (127010, true, 62044385, 14, 447650237775),
   (127015, true, 56523776, 13, 393122758176),
   (127018, true, 74611841, 20, 471972216639),
   (127029, false, 21, 1, 582120),
   (127049, false, 33124, 1, 22323210),
   (127065, false, 1359015, 62, 569403016875),
   (127087, true, 17332512409, 340, 1210799323114173),
   (127091, false, 636291, 7, 4941512400),
   (127094, false, 4457882, 43, 496075852272),
   (127095, true, 106159989739609, 17974, 1008682444649783193173),
   (127097, true, 79522178057, 62, 22424574101410845),
   (127099, true, 2011072, 3, 2345664104),
   (127127, false, 785780996, 95, 23434540871742),
   (127131, true, 460452796, 55, 5433693171094),
   (127145, true, 2271952225, 38, 107938430882025),
   (127158, false, 150, 1, 1557360),
   (127169, false, 3459463, 22, 114299382981),
   (127185, false, 6753615, 53, 928278242100),
   (127190, true, 2412286, 3, 3297942584)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints641

#print axioms CongruentPoints641.on_curve
#print axioms CongruentPoints641.indep
#print axioms CongruentPoints641.count

bsd/CongruentPoints642.lean

lean_all/bsd/CongruentPoints642.lean

/-
  bsd/CongruentPoints642.lean — T39 goal G831: points for congruent curves in 127201–127400 with Tunnell A = 2B
  (n = 127218, 127237, 127238, 127239, 127259, 127265, 127281, 127335, 127361, 127374, 127379, 127381, 127398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints642
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (127218, true, 612157, 1, 468497575),
   (127237, true, 34803009373, 423, 4910848359624460),
   (127238, true, 633938, 1, 494471640),
   (127239, true, 24641953, 1, 122322654692),
   (127259, true, 145475, 1, 26883780),
   (127265, true, 2018552590173025, 125253, 13346783704040373404900),
   (127281, true, 1151329, 3, 123845660),
   (127335, true, 1626105625, 37, 65194831616500),
   (127361, true, 123067533329, 781, 33484647645840300),
   (127374, false, 1127, 2, 17104157),
   (127379, true, 27275164, 3, 142320380930),
   (127381, true, 146812, 1, 27967686),
   (127398, true, 127500, 1, 1820700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints642

#print axioms CongruentPoints642.on_curve
#print axioms CongruentPoints642.indep
#print axioms CongruentPoints642.count

bsd/CongruentPoints643.lean

lean_all/bsd/CongruentPoints643.lean

/-
  bsd/CongruentPoints643.lean — T39 goal G831: points for congruent curves in 127401–127600 with Tunnell A = 2B
  (n = 127446, 127455, 127490, 127551, 127571, 127586), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints643
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (127446, false, 87081366603, 1781, 116492829479844741),
   (127455, true, 100277642895, 871, 8414924457166200),
   (127490, true, 229900, 1, 91730100),
   (127551, false, 127449, 1, 1820700),
   (127571, true, 525625, 2, 91395675),
   (127586, false, 578, 1, 3067344)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints643

#print axioms CongruentPoints643.on_curve
#print axioms CongruentPoints643.indep
#print axioms CongruentPoints643.count

bsd/CongruentPoints644.lean

lean_all/bsd/CongruentPoints644.lean

/-
  bsd/CongruentPoints644.lean — T39 goal G831: points for congruent curves in 127601–127800 with Tunnell A = 2B
  (n = 127657, 127659, 127686, 127730, 127735, 127749, 127761, 127762, 127770, 127790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints644
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (127657, true, 305865435802081, 48805, 578785833137400382104),
   (127659, false, 5355525, 11, 33529573980),
   (127686, false, 246302862, 71, 9332870346072),
   (127730, true, 81135245570, 157, 23093359011268800),
   (127735, true, 173783183809225, 2254, 2290912996842702411075),
   (127749, false, 5804643, 7, 5645117556),
   (127761, true, 266511, 1, 120745800),
   (127762, true, 22619538, 7, 103376198640),
   (127770, false, 126150, 1, 7203600),
   (127790, true, 328201956159025, 5996, 5945237280255309261225)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints644

#print axioms CongruentPoints644.on_curve
#print axioms CongruentPoints644.indep
#print axioms CongruentPoints644.count

bsd/CongruentPoints645.lean

lean_all/bsd/CongruentPoints645.lean

/-
  bsd/CongruentPoints645.lean — T39 goal G831: points for congruent curves in 127801–128000 with Tunnell A = 2B
  (n = 127803, 127806, 127831, 127855, 127857, 127865, 127891, 127901, 127906, 127918, 127941, 127970, 127983, 127990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints645
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (127803, true, 165997, 1, 43159220),
   (127806, false, 6494303654, 321, 923254726120840),
   (127831, false, 23716, 5, 492135798),
   (127855, true, 12426647271025, 9313, 19770083948033788200),
   (127857, true, 691932, 1, 565654410),
   (127865, false, 5399931015, 242, 381234917197125),
   (127891, true, 126046000534441, 11932, 1400278083065598985365),
   (127901, true, 262255036, 45, 667108441034),
   (127906, true, 148862, 1, 29383536),
   (127918, true, 2795968, 1, 4670284080),
   (127941, false, 2304324, 17, 56018867850),
   (127970, true, 7400150, 1, 20127778200),
   (127983, true, 307573395649, 1550, 4222249278009607),
   (127990, true, 259210, 1, 114760800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints645

#print axioms CongruentPoints645.on_curve
#print axioms CongruentPoints645.indep
#print axioms CongruentPoints645.count

bsd/CongruentPoints646.lean

lean_all/bsd/CongruentPoints646.lean

/-
  bsd/CongruentPoints646.lean — T39 goal G835: points for congruent curves in 128001–128200 with Tunnell A = 2B
  (n = 128002, 128005, 128030, 128055, 128057, 128129), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints646
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (128002, true, 9077630912, 113, 850750872076560),
   (128005, false, 1600, 1, 5119800),
   (128030, true, 3706605, 1, 7131899775),
   (128055, true, 75513662159085049, 180649, 20719165169980578440639368),
   (128057, true, 8399539201, 145, 729190047800676),
   (128129, true, 68840209, 23, 99844770480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints646

#print axioms CongruentPoints646.on_curve
#print axioms CongruentPoints646.indep
#print axioms CongruentPoints646.count

bsd/CongruentPoints647.lean

lean_all/bsd/CongruentPoints647.lean

/-
  bsd/CongruentPoints647.lean — T39 goal G835: points for congruent curves in 128201–128400 with Tunnell A = 2B
  (n = 128238, 128249, 128263, 128310, 128318, 128334, 128338, 128345, 128369, 128370, 128390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints647
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (128238, false, 5910003, 37, 426547899855),
   (128249, true, 29230398961, 400, 3559081797931959),
   (128263, true, 6375625, 7, 2706335400),
   (128310, true, 158860, 1, 37332100),
   (128318, false, 25198883, 41, 1075380167895),
   (128334, true, 129213, 1, 5408487),
   (128338, true, 263538, 1, 118163760),
   (128345, true, 226473920, 23, 3251457760200),
   (128369, true, 42504113, 17, 135237251688),
   (128370, true, 3783025, 2, 7289889175),
   (128390, true, 6308862945025, 3266, 15468395194707216225)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints647

#print axioms CongruentPoints647.on_curve
#print axioms CongruentPoints647.indep
#print axioms CongruentPoints647.count

bsd/CongruentPoints648.lean

lean_all/bsd/CongruentPoints648.lean

/-
  bsd/CongruentPoints648.lean — T39 goal G835: points for congruent curves in 128401–128600 with Tunnell A = 2B
  (n = 128405, 128441, 128451, 128469, 128479, 128481, 128494, 128506, 128535, 128557, 128590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints648
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (128405, false, 14400, 1, 15311400),
   (128441, true, 4456192, 3, 9084868624),
   (128451, false, 191368725, 43, 1945925241840),
   (128469, true, 1654525, 1, 2121762860),
   (128479, true, 10019096508220969, 21942, 1002846730329333790206605),
   (128481, true, 32297918652791089, 93815, 5800901127263888659465312),
   (128494, true, 561044442841, 1660, 325977893879975139),
   (128506, false, 4802, 1, 8898792),
   (128535, true, 86949225, 26, 30005570925),
   (128557, true, 59525931243025, 20276, 211294744851998018055),
   (128590, true, 150321710, 17, 1785821914800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints648

#print axioms CongruentPoints648.on_curve
#print axioms CongruentPoints648.indep
#print axioms CongruentPoints648.count

bsd/CongruentPoints649.lean

lean_all/bsd/CongruentPoints649.lean

/-
  bsd/CongruentPoints649.lean — T39 goal G835: points for congruent curves in 128601–128800 with Tunnell A = 2B
  (n = 128607, 128611, 128639, 128643, 128681, 128685, 128715, 128731, 128737, 128739, 128766, 128770, 128785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints649
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (128607, true, 286407, 1, 136954620),
   (128611, false, 204687, 22, 28162179297),
   (128639, true, 591361, 1, 443866800),
   (128643, true, 790300273, 44, 21085094404745),
   (128681, true, 8292105721, 71, 752773425976440),
   (128685, true, 15999835, 11, 14719848200),
   (128715, false, 39902415, 38, 1146699626625),
   (128731, true, 154652, 1, 33704706),
   (128737, true, 448328324275225, 56758, 3605984236253577685515),
   (128739, true, 481137836881, 1614, 239305357394921935),
   (128766, true, 176418, 1, 50651568),
   (128770, true, 660150, 1, 526066200),
   (128785, false, 848856335, 82, 4988231414175)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints649

#print axioms CongruentPoints649.on_curve
#print axioms CongruentPoints649.indep
#print axioms CongruentPoints649.count

bsd/CongruentPoints65.lean

lean_all/bsd/CongruentPoints65.lean

/-
  bsd/CongruentPoints65.lean — T39 goal G119: points for congruent curves in 12201–12400 with Tunnell A = 2B
  (n = 12205, 12209, 12215, 12241, 12245, 12246, 12257, 12259, 12261, 12269, 12270, 12271, 12306, 12309, 12319, 12331, 12349, 12361, 12369, 12374, 12378, 12382, 12383, 12389, 12390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints65
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (12205, true, 30085225, 22, 161805223725),
   (12209, true, 177241, 1, 74441220),
   (12215, true, 550115681157025, 136197, 11757422453064847663600),
   (12241, true, 10522660138225, 28992, 7153303448677871305),
   (12245, true, 303676, 3, 155937626),
   (12246, false, 11163, 1, 531981),
   (12257, false, 9707647, 52, 98734833345),
   (12259, true, 284089, 2, 149146725),
   (12261, true, 13467, 1, 646416),
   (12269, true, 1087567408225, 2522, 1131262501625970345),
   (12270, true, 167281, 2, 65406871),
   (12271, true, 8392609, 23, 15410881200),
   (12306, true, 2999094, 5, 5166399672),
   (12309, false, 1829883, 19, 5477587236),
   (12319, true, 12769, 1, 379680),
   (12331, true, 344619, 1, 202176480),
   (12349, false, 298116, 5, 43809402),
   (12361, false, 158604743, 119, 932707784184),
   (12369, true, 13552, 1, 644644),
   (12374, false, 892607, 12, 1457001953),
   (12378, true, 95922, 1, 29459880),
   (12382, true, 1726082, 7, 2123025120),
   (12383, true, 2463176828, 103, 122074463699790),
   (12389, true, 3227070924025, 4318, 5782255822409930565),
   (12390, true, 13125, 1, 496125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 25 := rfl

end CongruentPoints65

#print axioms CongruentPoints65.on_curve
#print axioms CongruentPoints65.indep
#print axioms CongruentPoints65.count

bsd/CongruentPoints650.lean

lean_all/bsd/CongruentPoints650.lean

/-
  bsd/CongruentPoints650.lean — T39 goal G835: points for congruent curves in 128801–129000 with Tunnell A = 2B
  (n = 128830, 128841, 128854, 128874, 128885, 128899, 128915, 128926, 128931, 128935, 128945, 128954, 128985), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints650
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (128830, false, 2928366351, 152, 28846226222793),
   (128841, false, 38913600, 37, 1073181459240),
   (128854, true, 54020758, 7, 394324919472),
   (128874, true, 2506188, 1, 3962283228),
   (128885, false, 81796, 1, 28486458),
   (128899, true, 401354883, 47, 5666783435592),
   (128915, true, 532475, 1, 376992300),
   (128926, false, 14537054, 23, 254060911440),
   (128931, false, 61347, 1, 28087488),
   (128935, true, 35352049, 12, 178872229943),
   (128945, true, 485809, 1, 326463648),
   (128954, true, 220158, 1, 83725272),
   (128985, false, 735, 2, 13987575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints650

#print axioms CongruentPoints650.on_curve
#print axioms CongruentPoints650.indep
#print axioms CongruentPoints650.count

bsd/CongruentPoints651.lean

lean_all/bsd/CongruentPoints651.lean

/-
  bsd/CongruentPoints651.lean — T39 goal G835: points for congruent curves in 129001–129200 with Tunnell A = 2B
  (n = 129005, 129010, 129030, 129065, 129090, 129129, 129161, 129191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints651
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (129005, true, 167445, 1, 43682100),
   (129010, true, 159790, 1, 37688400),
   (129030, true, 872850, 1, 806513400),
   (129065, false, 3974774375, 1437, 16800799871784500),
   (129090, false, 123210, 1, 13519800),
   (129129, false, 8578479, 32, 386467520985),
   (129161, true, 370369601610121, 53480, 511499408101340186331),
   (129191, true, 20039419324681, 1897, 89683137638966812200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints651

#print axioms CongruentPoints651.on_curve
#print axioms CongruentPoints651.indep
#print axioms CongruentPoints651.count

bsd/CongruentPoints652.lean

lean_all/bsd/CongruentPoints652.lean

/-
  bsd/CongruentPoints652.lean — T39 goal G835: points for congruent curves in 129201–129400 with Tunnell A = 2B
  (n = 129259, 129270, 129290, 129301, 129305, 129362, 129363, 129370, 129381), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints652
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (129259, true, 257725, 1, 113192820),
   (129270, true, 144150, 1, 24217200),
   (129290, false, 777035, 3, 763502075),
   (129301, true, 1166716, 3, 90420490),
   (129305, true, 1736429320135225, 31862, 72150796786457980954725),
   (129362, true, 482162, 1, 322528080),
   (129363, false, 175779600, 469, 377252140915980),
   (129370, true, 12119130, 7, 35957958000),
   (129381, false, 1515423, 178, 5046350546601)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints652

#print axioms CongruentPoints652.on_curve
#print axioms CongruentPoints652.indep
#print axioms CongruentPoints652.count

bsd/CongruentPoints653.lean

lean_all/bsd/CongruentPoints653.lean

/-
  bsd/CongruentPoints653.lean — T39 goal G835: points for congruent curves in 129401–129600 with Tunnell A = 2B
  (n = 129415, 129426, 129479, 129489, 129490, 129495, 129506, 129541, 129543, 129549, 129585, 129595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints653
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (129415, true, 100674847849, 870, 7375933194271507),
   (129426, true, 542124, 1, 387618660),
   (129479, true, 288877225729, 1455, 49006238629754692),
   (129489, false, 37553, 1, 24014744),
   (129490, true, 145805740, 1, 1760604310500),
   (129495, true, 547686601317025, 35351, 12245049853771573985300),
   (129506, true, 1211913, 2, 1206134853),
   (129541, false, 3157316, 5, 1280589498),
   (129543, true, 6210279248355625, 202851, 251107176347909572969700),
   (129549, false, 12338199, 26, 304546144365),
   (129585, true, 168540, 1, 44241750),
   (129595, true, 129605, 1, 579600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints653

#print axioms CongruentPoints653.on_curve
#print axioms CongruentPoints653.indep
#print axioms CongruentPoints653.count

bsd/CongruentPoints654.lean

lean_all/bsd/CongruentPoints654.lean

/-
  bsd/CongruentPoints654.lean — T39 goal G835: points for congruent curves in 129601–129800 with Tunnell A = 2B
  (n = 129606, 129610, 129626, 129630, 129642, 129694, 129710, 129721, 129727, 129759, 129766, 129774, 129781, 129794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints654
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (129606, true, 136806, 1, 16199280),
   (129610, false, 129600, 1, 579600),
   (129626, false, 193491527, 54, 4516765598323),
   (129630, true, 3553225, 4, 5438347525),
   (129642, true, 629442, 1, 488675880),
   (129694, false, 20305718, 13, 37183297464),
   (129710, true, 44060940, 13, 253704227700),
   (129721, false, 1540081, 5, 3541823928),
   (129727, true, 140777, 1, 20513220),
   (129759, true, 376768, 1, 217117432),
   (129766, true, 52295698, 9, 370462724632),
   (129774, false, 915359903, 336, 442397741072239),
   (129781, true, 7647327601, 86, 663462415480095),
   (129794, true, 669068766, 17, 17279156409360)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints654

#print axioms CongruentPoints654.on_curve
#print axioms CongruentPoints654.indep
#print axioms CongruentPoints654.count

bsd/CongruentPoints655.lean

lean_all/bsd/CongruentPoints655.lean

/-
  bsd/CongruentPoints655.lean — T39 goal G835: points for congruent curves in 129801–130000 with Tunnell A = 2B
  (n = 129846, 129859, 129882, 129883, 129890, 129914, 129935, 129943, 129955, 129962, 129983), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints655
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (129846, false, 1104098, 3, 402355304),
   (129859, false, 1569375, 4, 1705799025),
   (129882, true, 183750, 1, 55717200),
   (129883, true, 39719390347, 347, 7276530541813260),
   (129890, true, 46909510, 19, 9196193400),
   (129914, true, 4105349329, 106, 245852776727175),
   (129935, true, 637065, 2, 294047325),
   (129943, true, 117359000929, 855, 23609830558340908),
   (129955, true, 2973244, 3, 4713465322),
   (129962, true, 2129792888125, 2109, 2991506632708402025),
   (129983, false, 6975, 1, 10840080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints655

#print axioms CongruentPoints655.on_curve
#print axioms CongruentPoints655.indep
#print axioms CongruentPoints655.count

bsd/CongruentPoints656.lean

lean_all/bsd/CongruentPoints656.lean

/-
  bsd/CongruentPoints656.lean — T39 goal G836: points for congruent curves in 130001–130200 with Tunnell A = 2B
  (n = 130011, 130045, 130065, 130074, 130123, 130139, 130145, 130146, 130151, 130174), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints656
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (130011, true, 222789, 1, 85395240),
   (130045, false, 107824975, 38, 1596451087425),
   (130065, true, 142129, 1, 21603608),
   (130074, true, 409374, 1, 248353560),
   (130123, true, 970652537089, 510, 955721868192502937),
   (130139, true, 7579617721, 30, 659810308202981),
   (130145, true, 3390150625, 38, 197088002531625),
   (130146, true, 475212, 1, 315065556),
   (130151, false, 99225, 1, 26530560),
   (130174, false, 9702, 1, 12786312)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints656

#print axioms CongruentPoints656.on_curve
#print axioms CongruentPoints656.indep
#print axioms CongruentPoints656.count

bsd/CongruentPoints657.lean

lean_all/bsd/CongruentPoints657.lean

/-
  bsd/CongruentPoints657.lean — T39 goal G836: points for congruent curves in 130201–130400 with Tunnell A = 2B
  (n = 130215, 130219, 130226, 130245, 130262, 130305, 130310, 130385, 130390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints657
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (130215, true, 137362890625, 159, 50895499290287500),
   (130219, true, 257399307, 31, 3608729654376),
   (130226, true, 74337196, 15, 589039297244),
   (130245, false, 5479011, 7, 7660453212),
   (130262, false, 33462, 1, 23028720),
   (130305, true, 133225, 1, 10125100),
   (130310, true, 1816686144025, 3686, 548801232792682275),
   (130385, false, 5776, 1, 9899532),
   (130390, true, 187850, 1, 58609200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints657

#print axioms CongruentPoints657.on_curve
#print axioms CongruentPoints657.indep
#print axioms CongruentPoints657.count

bsd/CongruentPoints658.lean

lean_all/bsd/CongruentPoints658.lean

/-
  bsd/CongruentPoints658.lean — T39 goal G836: points for congruent curves in 130401–130600 with Tunnell A = 2B
  (n = 130402, 130409, 130414, 130435, 130462, 130465, 130474, 130494, 130515, 130526, 130594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints658
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (130402, true, 7966427722598515921, 7473020, 9115419545005269949144111719),
   (130409, true, 732967283767957225, 768128, 624051809523219872612493195),
   (130414, false, 1861875, 17, 51364935825),
   (130435, true, 12312475, 9, 22184785700),
   (130462, true, 110408121, 10, 1151988713331),
   (130465, true, 17572200385, 171, 2273816874265300),
   (130474, true, 887486464225, 316, 835979839233326895),
   (130494, false, 4677012032, 251, 462393236510128),
   (130515, false, 539, 9, 245436884),
   (130526, true, 12204181, 9, 21296295845),
   (130594, true, 10923138, 7, 29257594752)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints658

#print axioms CongruentPoints658.on_curve
#print axioms CongruentPoints658.indep
#print axioms CongruentPoints658.count

bsd/CongruentPoints659.lean

lean_all/bsd/CongruentPoints659.lean

/-
  bsd/CongruentPoints659.lean — T39 goal G836: points for congruent curves in 130601–130800 with Tunnell A = 2B
  (n = 130606, 130645, 130659, 130690, 130710, 130711, 130730, 130754, 130755, 130767, 130799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints659
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (130606, true, 150822, 1, 29292984),
   (130645, false, 12996, 1, 14819658),
   (130659, true, 2286848041, 132, 10340333634475),
   (130690, false, 617694035, 87, 19202505601825),
   (130710, false, 123210, 1, 15318000),
   (130711, false, 74263, 1, 29312976),
   (130730, false, 106904330, 31, 682305764400),
   (130754, true, 945452, 1, 910470276),
   (130755, true, 214245, 1, 78556500),
   (130767, false, 7110831, 10, 29264333553),
   (130799, true, 252353257479, 1111, 97430504155854900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints659

#print axioms CongruentPoints659.on_curve
#print axioms CongruentPoints659.indep
#print axioms CongruentPoints659.count

bsd/CongruentPoints66.lean

lean_all/bsd/CongruentPoints66.lean

/-
  bsd/CongruentPoints66.lean — T39 goal G120: points for congruent curves in 12401–12600 with Tunnell A = 2B
  (n = 12414, 12415, 12423, 12426, 12430, 12435, 12445, 12461, 12469, 12505, 12513, 12534, 12543, 12545, 12551, 12558, 12565, 12570, 12590, 12595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints66
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (12414, false, 331350, 29, 6006650760),
   (12415, true, 526473025, 196, 5115613104225),
   (12423, true, 10173277190902225, 276149, 1021645120722227565405560),
   (12426, true, 16758, 1, 1455552),
   (12430, false, 3971, 5, 19580583),
   (12435, true, 687241, 6, 432274589),
   (12445, true, 93025, 2, 23968425),
   (12461, true, 40208281, 52, 139124425155),
   (12469, false, 3047653, 23, 10212334776),
   (12505, false, 4900, 1, 805350),
   (12513, true, 235225, 4, 59888285),
   (12534, true, 478242, 1, 330614856),
   (12543, true, 647498636929, 2945, 513618524252488592),
   (12545, true, 5154502145, 448, 322912632353025),
   (12551, false, 17276287, 116, 698289056577),
   (12558, true, 15600, 1, 1155960),
   (12565, true, 4510835, 17, 5683652100),
   (12570, true, 5266830, 13, 11060343000),
   (12590, false, 1030410, 11, 1138972200),
   (12595, true, 1311025, 8, 1183855575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints66

#print axioms CongruentPoints66.on_curve
#print axioms CongruentPoints66.indep
#print axioms CongruentPoints66.count

bsd/CongruentPoints660.lean

lean_all/bsd/CongruentPoints660.lean

/-
  bsd/CongruentPoints660.lean — T39 goal G836: points for congruent curves in 130801–131000 with Tunnell A = 2B
  (n = 130845, 130910, 130913, 130921, 130938, 130942), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints660
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (130845, true, 70237596, 23, 99983217906),
   (130910, true, 176890, 1, 50034600),
   (130913, false, 150553143, 83, 10910547669840),
   (130921, true, 1258432, 3, 495736136),
   (130938, true, 21639798, 11, 68567910480),
   (130942, true, 147392, 1, 25977840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints660

#print axioms CongruentPoints660.on_curve
#print axioms CongruentPoints660.indep
#print axioms CongruentPoints660.count

bsd/CongruentPoints661.lean

lean_all/bsd/CongruentPoints661.lean

/-
  bsd/CongruentPoints661.lean — T39 goal G836: points for congruent curves in 131001–131200 with Tunnell A = 2B
  (n = 131019, 131021, 131054, 131055, 131070, 131074, 131087, 131189, 131190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints661
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (131019, true, 2828469, 1, 4751827920),
   (131021, true, 61972933, 9, 480662068348),
   (131054, true, 7619854, 1, 21030797040),
   (131055, true, 86307643187640625, 450613, 24120284567377397776977500),
   (131070, true, 2245666, 1, 3359516336),
   (131074, false, 1024, 1, 4194240),
   (131087, false, 314721, 5, 1829997708),
   (131189, false, 93636, 1, 28116810),
   (131190, false, 28224, 1, 21523824)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints661

#print axioms CongruentPoints661.on_curve
#print axioms CongruentPoints661.indep
#print axioms CongruentPoints661.count

bsd/CongruentPoints662.lean

lean_all/bsd/CongruentPoints662.lean

/-
  bsd/CongruentPoints662.lean — T39 goal G836: points for congruent curves in 131201–131400 with Tunnell A = 2B
  (n = 131215, 131230, 131234, 131246, 131306, 131334, 131345, 131370, 131395, 131399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints662
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (131215, true, 5391729, 4, 11531553033),
   (131230, false, 539, 1, 3046659),
   (131234, false, 9216, 1, 12567360),
   (131246, true, 7493342335609, 5236, 17992661429924603955),
   (131306, true, 537993, 2, 85462917),
   (131334, true, 146202, 1, 24561936),
   (131345, true, 1221025, 2, 1217947575),
   (131370, true, 3420150, 1, 6320437200),
   (131395, false, 508805, 3, 761453000),
   (131399, false, 76176, 1, 29549940)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints662

#print axioms CongruentPoints662.on_curve
#print axioms CongruentPoints662.indep
#print axioms CongruentPoints662.count

bsd/CongruentPoints663.lean

lean_all/bsd/CongruentPoints663.lean

/-
  bsd/CongruentPoints663.lean — T39 goal G836: points for congruent curves in 131401–131600 with Tunnell A = 2B
  (n = 131405, 131415, 131439, 131446, 131461, 131469, 131493, 131502, 131537, 131547, 131573), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints663
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (131405, true, 2088025, 2, 2920034325),
   (131415, false, 123201, 1, 16051932),
   (131439, true, 323761, 1, 168355720),
   (131446, false, 18657378, 13, 52080916824),
   (131461, true, 183143907, 37, 459417341976),
   (131469, true, 623650729, 46, 13939127840755),
   (131493, false, 8957, 1, 12415780),
   (131502, true, 8324218, 3, 23772818440),
   (131537, false, 145302500, 81, 10254395553850),
   (131547, false, 83984043, 109, 14302251412020),
   (131573, true, 131309985573, 301, 47385951476598540)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints663

#print axioms CongruentPoints663.on_curve
#print axioms CongruentPoints663.indep
#print axioms CongruentPoints663.count

bsd/CongruentPoints664.lean

lean_all/bsd/CongruentPoints664.lean

/-
  bsd/CongruentPoints664.lean — T39 goal G836: points for congruent curves in 131601–131800 with Tunnell A = 2B
  (n = 131631, 131669, 131698, 131719, 131767, 131773, 131781, 131786), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints664
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (131631, true, 44104128, 17, 148206409128),
   (131669, true, 1698461666485609, 16850, 69980719003797159769773),
   (131698, true, 139150, 1, 16758720),
   (131719, true, 79953433, 24, 225548634493),
   (131767, true, 133225, 1, 7174440),
   (131773, true, 13995126601, 210, 1506161053123651),
   (131781, true, 487227, 1, 327416544),
   (131786, true, 308898, 1, 155272728)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints664

#print axioms CongruentPoints664.on_curve
#print axioms CongruentPoints664.indep
#print axioms CongruentPoints664.count

bsd/CongruentPoints665.lean

lean_all/bsd/CongruentPoints665.lean

/-
  bsd/CongruentPoints665.lean — T39 goal G836: points for congruent curves in 131801–132000 with Tunnell A = 2B
  (n = 131818, 131833, 131835, 131838, 131839, 131878, 131885, 131943, 131945), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints665
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (131818, true, 10077148225, 274, 190752987308865),
   (131833, true, 2975745078461388025, 1776432, 5082849659429427385014616205),
   (131835, true, 132540, 1, 4970250),
   (131838, true, 1087212, 1, 1125264420),
   (131839, true, 9026710081, 161, 793782318106560),
   (131878, true, 38313328438, 27, 7499347128380800),
   (131885, true, 3082868491252225, 22678, 171130476906760417260825),
   (131943, true, 75119548, 17, 560955224690),
   (131945, true, 6997638543025, 1538, 18492466869059368575)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints665

#print axioms CongruentPoints665.on_curve
#print axioms CongruentPoints665.indep
#print axioms CongruentPoints665.count

bsd/CongruentPoints666.lean

lean_all/bsd/CongruentPoints666.lean

/-
  bsd/CongruentPoints666.lean — T39 goal G837: points for congruent curves in 132001–132200 with Tunnell A = 2B
  (n = 132009, 132015, 132017, 132046, 132107, 132117, 132146, 132186), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints666
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (132009, false, 2752281, 5, 3021218172),
   (132015, true, 25130175625, 311, 3431207612019500),
   (132017, true, 5036833115521, 3255, 10859497526941938944),
   (132046, true, 7395858, 7, 9742810272),
   (132107, true, 1026882025, 16, 32888583631605),
   (132117, true, 328683, 1, 172543680),
   (132146, true, 828352, 1, 744259824),
   (132186, true, 4869228, 1, 10740637908)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints666

#print axioms CongruentPoints666.on_curve
#print axioms CongruentPoints666.indep
#print axioms CongruentPoints666.count

bsd/CongruentPoints667.lean

lean_all/bsd/CongruentPoints667.lean

/-
  bsd/CongruentPoints667.lean — T39 goal G837: points for congruent curves in 132201–132400 with Tunnell A = 2B
  (n = 132215, 132254, 132310, 132314, 132321, 132322, 132334, 132379, 132385), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints667
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (132215, true, 22555879, 11, 75517082892),
   (132254, true, 6544962, 7, 2345216544),
   (132310, true, 133633100, 13, 1523016440700),
   (132314, true, 3211117, 3, 5343886639),
   (132321, false, 1920996, 5, 3732640758),
   (132322, false, 25600, 1, 20771520),
   (132334, true, 1961161225, 44, 86105752627995),
   (132379, true, 132613, 1, 2867592),
   (132385, true, 2878975, 3, 4446955700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints667

#print axioms CongruentPoints667.on_curve
#print axioms CongruentPoints667.indep
#print axioms CongruentPoints667.count

bsd/CongruentPoints668.lean

lean_all/bsd/CongruentPoints668.lean

/-
  bsd/CongruentPoints668.lean — T39 goal G837: points for congruent curves in 132401–132600 with Tunnell A = 2B
  (n = 132405, 132415, 132465, 132477, 132483, 132485, 132486, 132549, 132553, 132559), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints668
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (132405, true, 1590121, 2, 1890653869),
   (132415, false, 10523975, 9, 6715116100),
   (132465, true, 1759383025, 37, 73404262567900),
   (132477, true, 220323, 1, 82633320),
   (132483, true, 56999175025, 502, 11029565623483745),
   (132485, true, 1019453697343225, 37202, 32019208167644771967675),
   (132486, true, 13734382, 3, 50707338344),
   (132549, true, 491632357225, 1924, 21594940515604405),
   (132553, false, 93025, 1, 28800540),
   (132559, false, 3337929, 65, 1023214689756)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints668

#print axioms CongruentPoints668.on_curve
#print axioms CongruentPoints668.indep
#print axioms CongruentPoints668.count

bsd/CongruentPoints669.lean

lean_all/bsd/CongruentPoints669.lean

/-
  bsd/CongruentPoints669.lean — T39 goal G837: points for congruent curves in 132601–132800 with Tunnell A = 2B
  (n = 132605, 132634, 132639, 132641, 132730, 132734, 132735, 132745, 132751), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints669
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (132605, true, 520656049225, 802, 370611957745985475),
   (132634, true, 146412, 1, 23725716),
   (132639, true, 255972028, 3, 4095284155118),
   (132641, true, 1103103, 1, 1150168728),
   (132730, false, 132496, 1, 2867592),
   (132734, true, 314678, 1, 160050072),
   (132735, true, 237930625, 37, 2369177886500),
   (132745, true, 4563286354225, 1382, 9732966973423379775),
   (132751, true, 23126875339681, 9863, 92264022934594799520)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints669

#print axioms CongruentPoints669.on_curve
#print axioms CongruentPoints669.indep
#print axioms CongruentPoints669.count

bsd/CongruentPoints67.lean

lean_all/bsd/CongruentPoints67.lean

/-
  bsd/CongruentPoints67.lean — T39 goal G121: points for congruent curves in 12601–12800 with Tunnell A = 2B
  (n = 12603, 12606, 12614, 12621, 12629, 12630, 12638, 12669, 12670, 12673, 12682, 12694, 12706, 12710, 12719, 12747, 12751, 12761, 12765, 12773, 12785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints67
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (12603, true, 365403, 1, 220749480),
   (12606, true, 802582, 7, 459076904),
   (12614, true, 12325786, 7, 43219049280),
   (12621, false, 10443, 1, 724284),
   (12629, true, 1161120467809, 864, 1251127602237161105),
   (12630, true, 2613645, 11, 3427833375),
   (12638, true, 1338649, 10, 510643107),
   (12669, true, 1533052, 11, 22003066),
   (12670, true, 42950490025, 166, 8900980216286325),
   (12673, true, 13248, 1, 444360),
   (12682, true, 2339897, 2, 3578434125),
   (12694, false, 114242, 3, 323128),
   (12706, false, 3650402, 17, 760407648),
   (12710, true, 133209, 2, 44938173),
   (12719, true, 668656, 7, 198089340),
   (12747, true, 638428, 1, 510013070),
   (12751, true, 137569441, 103, 293442690240),
   (12761, true, 43687, 1, 8732976),
   (12765, true, 15032064, 31, 33684036912),
   (12773, true, 126847352598409, 49200, 1385547873641871080923),
   (12785, true, 22242844385, 1238, 1569774577202775)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints67

#print axioms CongruentPoints67.on_curve
#print axioms CongruentPoints67.indep
#print axioms CongruentPoints67.count

bsd/CongruentPoints670.lean

lean_all/bsd/CongruentPoints670.lean

/-
  bsd/CongruentPoints670.lean — T39 goal G837: points for congruent curves in 132801–133000 with Tunnell A = 2B
  (n = 132810, 132815, 132821, 132855, 132865, 132905, 132951, 132985, 132990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints670
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (132810, true, 346560, 1, 188442000),
   (132815, true, 60269836123225, 9331, 459203523354227548800),
   (132821, false, 36100, 1, 24285990),
   (132855, false, 10404, 1, 13509594),
   (132865, true, 2259634402501393369, 4023033, 1043359325669301924592810628),
   (132905, true, 27804695, 13, 86420692500),
   (132951, true, 570999, 1, 419613480),
   (132985, true, 13602054229344025, 318072, 233372328274101570121475),
   (132990, true, 4667949, 1, 10081213857)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints670

#print axioms CongruentPoints670.on_curve
#print axioms CongruentPoints670.indep
#print axioms CongruentPoints670.count

bsd/CongruentPoints671.lean

lean_all/bsd/CongruentPoints671.lean

/-
  bsd/CongruentPoints671.lean — T39 goal G837: points for congruent curves in 133001–133200 with Tunnell A = 2B
  (n = 133023, 133055, 133081, 133114, 133115, 133139, 133161, 133185, 133198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints671
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (133023, false, 45177, 1, 26593380),
   (133055, true, 5088205047025, 654, 11476771647873097825),
   (133081, true, 1509421102225, 3266, 630362285621998545),
   (133114, false, 1922, 1, 5835192),
   (133115, false, 5217871, 8, 15383359767),
   (133139, true, 2456292721, 50, 120613457139231),
   (133161, true, 1266993, 2, 1293989697),
   (133185, false, 65559, 1, 29683836),
   (133198, false, 318096, 5, 1869503208)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints671

#print axioms CongruentPoints671.on_curve
#print axioms CongruentPoints671.indep
#print axioms CongruentPoints671.count

bsd/CongruentPoints672.lean

lean_all/bsd/CongruentPoints672.lean

/-
  bsd/CongruentPoints672.lean — T39 goal G837: points for congruent curves in 133201–133400 with Tunnell A = 2B
  (n = 133219, 133226, 133255, 133278, 133297, 133301, 133315, 133331, 133334, 133369, 133399), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints672
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (133219, true, 2963846575873396591849, 1361350, 161355426755797121723535945759507),
   (133226, false, 25578, 1, 20910624),
   (133255, true, 13274957089, 278, 965115579448713),
   (133278, false, 60710838986, 825, 16607366806361912),
   (133297, false, 26520017, 33, 734959911320),
   (133301, true, 15527833587, 127, 1916296924478244),
   (133315, true, 16237900315, 237, 1836010548499400),
   (133331, true, 21513383937, 316, 2478605563341951),
   (133334, true, 1470604909225, 1944, 1675427079261709205),
   (133369, true, 4540943640601, 5835, 63989772126500276),
   (133399, true, 29750000, 11, 136306705500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints672

#print axioms CongruentPoints672.on_curve
#print axioms CongruentPoints672.indep
#print axioms CongruentPoints672.count

bsd/CongruentPoints673.lean

lean_all/bsd/CongruentPoints673.lean

/-
  bsd/CongruentPoints673.lean — T39 goal G837: points for congruent curves in 133401–133600 with Tunnell A = 2B
  (n = 133406, 133438, 133442, 133455, 133458, 133486, 133505, 133529, 133530, 133566, 133586, 133590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints673
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (133406, false, 853776, 5, 2978992632),
   (133438, true, 1084024346475625, 7828, 35689971338648476915275),
   (133442, true, 59275171652975041, 602070, 8341211825663996356524161),
   (133455, false, 1695204, 13, 29282106294),
   (133458, true, 38057773, 9, 225111727295),
   (133486, true, 22374233879881, 12136, 50522864778447143355),
   (133505, true, 85669243953996741025, 2939272, 792862791885386924031613731825),
   (133529, true, 290393536, 45, 1804593175784),
   (133530, false, 25230, 1, 20827800),
   (133566, true, 18100114, 5, 75683803888),
   (133586, false, 578, 3, 28904624),
   (133590, true, 266085, 1, 118703475)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints673

#print axioms CongruentPoints673.on_curve
#print axioms CongruentPoints673.indep
#print axioms CongruentPoints673.count

bsd/CongruentPoints674.lean

lean_all/bsd/CongruentPoints674.lean

/-
  bsd/CongruentPoints674.lean — T39 goal G837: points for congruent curves in 133601–133800 with Tunnell A = 2B
  (n = 133654, 133694, 133714, 133729, 133791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints674
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (133654, true, 10807505025529, 8632, 13801714124471762445),
   (133694, true, 233398, 1, 92425608),
   (133714, true, 2251214, 1, 3371768400),
   (133729, true, 737719921, 74, 2424396699615),
   (133791, true, 4921711191049, 4942, 8165096942857927325)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints674

#print axioms CongruentPoints674.on_curve
#print axioms CongruentPoints674.indep
#print axioms CongruentPoints674.count

bsd/CongruentPoints675.lean

lean_all/bsd/CongruentPoints675.lean

/-
  bsd/CongruentPoints675.lean — T39 goal G837: points for congruent curves in 133801–134000 with Tunnell A = 2B
  (n = 133815, 133835, 133841, 133858, 133883, 133889, 133921, 133926, 133954, 133959, 133986), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints675
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (133815, false, 3355935, 199, 9707728783500),
   (133835, true, 707281, 2, 388736271),
   (133841, false, 419033, 3, 731049776),
   (133858, false, 4536567, 26, 192490018245),
   (133883, false, 9332687, 144, 8481083047255),
   (133889, true, 2664823, 3, 3879982288),
   (133921, true, 7005794625390625, 128352, 556553371545642251639375),
   (133926, false, 288466100, 51, 3316468124060),
   (133954, false, 132496, 1, 7174440),
   (133959, false, 476847, 2, 168776433),
   (133986, true, 2472850, 3, 3394936720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints675

#print axioms CongruentPoints675.on_curve
#print axioms CongruentPoints675.indep
#print axioms CongruentPoints675.count

bsd/CongruentPoints676.lean

lean_all/bsd/CongruentPoints676.lean

/-
  bsd/CongruentPoints676.lean — T39 goal G839: points for congruent curves in 134001–134200 with Tunnell A = 2B
  (n = 134026, 134030, 134043, 134054, 134079, 134090, 134106, 134123, 134130, 134134, 134139, 134151, 134159, 134166, 134178), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints676
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (134026, true, 140524, 1, 15833460),
   (134030, false, 1245242831, 552, 1440473324335703),
   (134043, true, 65815113, 22, 89837629245),
   (134054, false, 675314, 3, 821593880),
   (134079, true, 527048775, 59, 5620822926840),
   (134090, true, 15634894, 7, 56097999672),
   (134106, false, 7098, 1, 11282544),
   (134123, false, 99275, 1, 28415640),
   (134130, false, 20816670, 13, 40936618800),
   (134134, true, 3947454, 5, 4137853608),
   (134139, true, 1187836225, 38, 40390810876295),
   (134151, true, 12235107804, 205, 1201121789040342),
   (134159, false, 1004663, 39, 204528562876),
   (134166, false, 736898, 3, 821144744),
   (134178, true, 6301977, 4, 14874035715)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints676

#print axioms CongruentPoints676.on_curve
#print axioms CongruentPoints676.indep
#print axioms CongruentPoints676.count

bsd/CongruentPoints677.lean

lean_all/bsd/CongruentPoints677.lean

/-
  bsd/CongruentPoints677.lean — T39 goal G839: points for congruent curves in 134201–134400 with Tunnell A = 2B
  (n = 134241, 134246, 134249, 134274, 134277, 134297, 134335, 134386), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints677
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (134241, true, 4499018545921, 437, 9542663827387980380),
   (134246, true, 207088, 1, 71755992),
   (134249, true, 3433609, 4, 4963770075),
   (134274, true, 347778, 1, 189191232),
   (134277, false, 43923, 1, 26593380),
   (134297, true, 17682025, 7, 69012022680),
   (134335, true, 1311025, 3, 580537900),
   (134386, false, 2494863, 8, 13000823031)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints677

#print axioms CongruentPoints677.on_curve
#print axioms CongruentPoints677.indep
#print axioms CongruentPoints677.count

bsd/CongruentPoints678.lean

lean_all/bsd/CongruentPoints678.lean

/-
  bsd/CongruentPoints678.lean — T39 goal G839: points for congruent curves in 134401–134600 with Tunnell A = 2B
  (n = 134453, 134458, 134461, 134470, 134526, 134545, 134562, 134565, 134589), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints678
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (134453, false, 125732, 9, 3861441710),
   (134458, true, 244310186, 35, 2820316787184),
   (134461, true, 1364637481, 14, 50401671479475),
   (134470, true, 1946330, 1, 2708854800),
   (134526, true, 2639532, 1, 4282778556),
   (134545, true, 819025, 2, 558733425),
   (134562, true, 5385762, 1, 12494967840),
   (134565, false, 257415, 2, 239838075),
   (134589, false, 8699019, 11, 40605251400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints678

#print axioms CongruentPoints678.on_curve
#print axioms CongruentPoints678.indep
#print axioms CongruentPoints678.count

bsd/CongruentPoints679.lean

lean_all/bsd/CongruentPoints679.lean

/-
  bsd/CongruentPoints679.lean — T39 goal G839: points for congruent curves in 134601–134800 with Tunnell A = 2B
  (n = 134615, 134643, 134695, 134734, 134745, 134779), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints679
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (134615, true, 42301382929, 127, 8688784512071508),
   (134643, true, 4414107, 1, 9269624700),
   (134695, true, 3335104, 3, 5674059208),
   (134734, false, 8303, 24, 7071592121),
   (134745, true, 135759, 1, 6102252),
   (134779, true, 3234083161, 154, 27987463311765)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints679

#print axioms CongruentPoints679.on_curve
#print axioms CongruentPoints679.indep
#print axioms CongruentPoints679.count

bsd/CongruentPoints68.lean

lean_all/bsd/CongruentPoints68.lean

/-
  bsd/CongruentPoints68.lean — T39 goal G122: points for congruent curves in 12801–13000 with Tunnell A = 2B
  (n = 12805, 12809, 12813, 12831, 12833, 12846, 12855, 12859, 12862, 12889, 12898, 12901, 12903, 12927, 12929, 12930, 12935, 12937, 12962, 12966, 12986, 12990, 12994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints68
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (12805, false, 311364, 17, 2057637834),
   (12809, true, 470933401, 167, 6659232226920),
   (12813, true, 15987, 1, 1208880),
   (12831, true, 344604, 5, 73917558),
   (12833, true, 77383426336225, 39649, 657185380465160195040),
   (12846, false, 150, 1, 157320),
   (12855, true, 1778776258642681, 95609, 74856972061009462898096),
   (12859, true, 13552, 1, 498036),
   (12862, true, 379429, 5, 124073283),
   (12889, true, 43797571343788249, 309120, 9162273740078742581481443),
   (12898, false, 98, 1, 127680),
   (12901, true, 1715833, 6, 2163665413),
   (12903, true, 29345217, 31, 144077858100),
   (12927, true, 52712896, 55, 256642638056),
   (12929, true, 3751969, 17, 659664720),
   (12930, true, 178605, 1, 75283425),
   (12935, true, 133225, 3, 23644700),
   (12937, false, 314721, 5, 41810208),
   (12962, true, 1197969129144453121, 7297200, 1071696113513494975633617919),
   (12966, false, 10443, 1, 785349),
   (12986, true, 223686, 1, 105614880),
   (12990, false, 5868726, 149, 698495578632),
   (12994, false, 12544, 1, 379680)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 23 := rfl

end CongruentPoints68

#print axioms CongruentPoints68.on_curve
#print axioms CongruentPoints68.indep
#print axioms CongruentPoints68.count

bsd/CongruentPoints680.lean

lean_all/bsd/CongruentPoints680.lean

/-
  bsd/CongruentPoints680.lean — T39 goal G839: points for congruent curves in 134801–135000 with Tunnell A = 2B
  (n = 134805, 134815, 134834, 134846, 134890, 134942, 134957, 134970, 134974, 134979, 134983, 134994), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints680
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (134805, true, 6739605, 1, 17493019200),
   (134815, true, 20460727681, 385, 628777903297704),
   (134834, false, 9197239022, 1647, 35065335782935088),
   (134846, true, 26943444414, 65, 4421631641532288),
   (134890, false, 6544810, 7, 2361956400),
   (134942, true, 751761882, 73, 6009083310120),
   (134957, false, 36974475, 17, 75480832980),
   (134970, false, 3750, 1, 8262000),
   (134974, true, 20988457, 4, 95644398549),
   (134979, false, 885573, 7, 6168026124),
   (134983, true, 95158059529, 250, 29238482446453917),
   (134994, true, 136806, 1, 8208360)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints680

#print axioms CongruentPoints680.on_curve
#print axioms CongruentPoints680.indep
#print axioms CongruentPoints680.count

bsd/CongruentPoints681.lean

lean_all/bsd/CongruentPoints681.lean

/-
  bsd/CongruentPoints681.lean — T39 goal G839: points for congruent curves in 135001–135200 with Tunnell A = 2B
  (n = 135001, 135051, 135078, 135079, 135102, 135145), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints681
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (135001, true, 573049, 1, 421588440),
   (135051, true, 249501, 1, 104790420),
   (135078, true, 183750, 1, 53398800),
   (135079, true, 62452830097, 628, 8145328715008569),
   (135102, false, 1935753738, 191, 199421935203240),
   (135145, true, 616225, 2, 232214775)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints681

#print axioms CongruentPoints681.on_curve
#print axioms CongruentPoints681.indep
#print axioms CongruentPoints681.count

bsd/CongruentPoints682.lean

lean_all/bsd/CongruentPoints682.lean

/-
  bsd/CongruentPoints682.lean — T39 goal G839: points for congruent curves in 135201–135400 with Tunnell A = 2B
  (n = 135206, 135226, 135235, 135265, 135285, 135309, 135311, 135326, 135327, 135343, 135394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints682
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (135206, false, 2585664, 5, 3500773584),
   (135226, false, 26, 1, 689520),
   (135235, true, 437019025, 52, 5002680536775),
   (135265, true, 744185, 2, 440773125),
   (135285, false, 18792725, 13, 56448676900),
   (135309, true, 252333, 1, 106989192),
   (135311, false, 108900, 1, 26502630),
   (135326, true, 1816418, 1, 2441265792),
   (135327, false, 7838775, 806, 246137981959485),
   (135343, true, 61567577943001, 20925, 131000575369757288624),
   (135394, true, 34457773, 13, 151235165697)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints682

#print axioms CongruentPoints682.on_curve
#print axioms CongruentPoints682.indep
#print axioms CongruentPoints682.count

bsd/CongruentPoints683.lean

lean_all/bsd/CongruentPoints683.lean

/-
  bsd/CongruentPoints683.lean — T39 goal G839: points for congruent curves in 135401–135600 with Tunnell A = 2B
  (n = 135415, 135439, 135442, 135494, 135505), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints683
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (135415, true, 2641746369025, 2834, 3912987287122856025),
   (135439, true, 55199149329769, 19995, 79633649933462661272),
   (135442, true, 4520572201, 90, 294855202752949),
   (135494, true, 124044757, 3, 1381486458709),
   (135505, false, 51984, 1, 28531236)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints683

#print axioms CongruentPoints683.on_curve
#print axioms CongruentPoints683.indep
#print axioms CongruentPoints683.count

bsd/CongruentPoints684.lean

lean_all/bsd/CongruentPoints684.lean

/-
  bsd/CongruentPoints684.lean — T39 goal G839: points for congruent curves in 135601–135800 with Tunnell A = 2B
  (n = 135609, 135651, 135654, 135655, 135663, 135705, 135713, 135751, 135785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints684
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (135609, false, 1127756352, 709, 2288912465092968),
   (135651, false, 641677959, 854, 2506040970022395),
   (135654, true, 3370029, 1, 6181563375),
   (135655, true, 2227451776225, 1533, 3290168502179509600),
   (135663, false, 7195602519, 985, 11148527876439996),
   (135705, true, 2247225, 2, 3269002725),
   (135713, true, 9228484225, 79, 882792597543360),
   (135751, true, 8497363644, 41, 783014211087570),
   (135785, false, 1219985, 3, 78720200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints684

#print axioms CongruentPoints684.on_curve
#print axioms CongruentPoints684.indep
#print axioms CongruentPoints684.count

bsd/CongruentPoints685.lean

lean_all/bsd/CongruentPoints685.lean

/-
  bsd/CongruentPoints685.lean — T39 goal G839: points for congruent curves in 135801–136000 with Tunnell A = 2B
  (n = 135807, 135826, 135845, 135861, 135870, 135874, 135889, 135894, 135915, 135942), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints685
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (135807, true, 85617621852, 767, 9006165627299190),
   (135826, false, 2784546, 5, 3242917392),
   (135845, true, 26897989225, 168, 4366387220819275),
   (135861, false, 2783, 6, 258020279),
   (135870, true, 825846, 1, 740269656),
   (135874, false, 50176, 1, 28284480),
   (135889, true, 78018090856225, 22236, 350258861720558678095),
   (135894, false, 135168, 1, 5157504),
   (135915, false, 41616, 1, 26394948),
   (135942, false, 32258, 1, 23718520)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints685

#print axioms CongruentPoints685.on_curve
#print axioms CongruentPoints685.indep
#print axioms CongruentPoints685.count

bsd/CongruentPoints686.lean

lean_all/bsd/CongruentPoints686.lean

/-
  bsd/CongruentPoints686.lean — T39 goal G840: points for congruent curves in 136001–136200 with Tunnell A = 2B
  (n = 136030, 136034, 136038, 136115, 136145, 136149, 136183), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints686
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (136030, true, 23881562830, 27, 3690543866539600),
   (136034, false, 99458, 17, 12398346864),
   (136038, true, 882525, 1, 819159705),
   (136115, true, 2730969218437126969, 1701012, 4465925758229404304173398803),
   (136145, true, 61060881025, 189, 15040516574851300),
   (136149, true, 59602220028, 659, 1833969203786538),
   (136183, true, 11665080025, 263, 743153185759320)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints686

#print axioms CongruentPoints686.on_curve
#print axioms CongruentPoints686.indep
#print axioms CongruentPoints686.count

bsd/CongruentPoints687.lean

lean_all/bsd/CongruentPoints687.lean

/-
  bsd/CongruentPoints687.lean — T39 goal G840: points for congruent curves in 136201–136400 with Tunnell A = 2B
  (n = 136213, 136218, 136234, 136255, 136266, 136271, 136290, 136293, 136329, 136370), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints687
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (136213, true, 147987, 1, 22252860),
   (136218, true, 212268, 1, 75004020),
   (136234, true, 23043008, 13, 4545233328),
   (136255, false, 99225, 1, 29414700),
   (136266, true, 39676117, 17, 30431581739),
   (136271, true, 615573622225, 1141, 462477462570246780),
   (136290, false, 54150, 1, 29104200),
   (136293, true, 11305982578969, 3530, 37584301270619696203),
   (136329, true, 213627543, 1, 3122380168488),
   (136370, true, 143052130, 3, 1710903474800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints687

#print axioms CongruentPoints687.on_curve
#print axioms CongruentPoints687.indep
#print axioms CongruentPoints687.count

bsd/CongruentPoints688.lean

lean_all/bsd/CongruentPoints688.lean

/-
  bsd/CongruentPoints688.lean — T39 goal G840: points for congruent curves in 136401–136600 with Tunnell A = 2B
  (n = 136401, 136402, 136441, 136445, 136451, 136459, 136461, 136502, 136510, 136535, 136542, 136554, 136561), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints688
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (136401, false, 14592, 73, 87805290672),
   (136402, true, 50863698, 7, 359608261200),
   (136441, true, 296844450625, 1428, 56372949370102175),
   (136445, true, 885481, 2, 656141421),
   (136451, true, 49944477275, 403, 10002804620433240),
   (136459, true, 2016630046561, 3690, 1113189865878255191),
   (136461, false, 6023667, 79, 2090173543848),
   (136502, false, 216482, 3, 562655800),
   (136510, true, 1244485, 3, 221178925),
   (136535, false, 139002500, 33, 622304569250),
   (136542, false, 51842, 1, 28761040),
   (136554, true, 247500, 1, 102692700),
   (136561, true, 69692304049, 495, 16138995996792968)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints688

#print axioms CongruentPoints688.on_curve
#print axioms CongruentPoints688.indep
#print axioms CongruentPoints688.count

bsd/CongruentPoints689.lean

lean_all/bsd/CongruentPoints689.lean

/-
  bsd/CongruentPoints689.lean — T39 goal G840: points for congruent curves in 136601–136800 with Tunnell A = 2B
  (n = 136606, 136615, 136619, 136653, 136669, 136695, 136726, 136735, 136765, 136771, 136781, 136785, 136793), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints689
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (136606, true, 334562, 1, 176648736),
   (136615, true, 180225, 1, 49902300),
   (136619, true, 12682012, 9, 22060359874),
   (136653, true, 15184122815761, 5390, 57109477579678637009),
   (136669, true, 1867333, 1, 2544874332),
   (136695, false, 2025, 1, 6150600),
   (136726, true, 68226274, 7, 560819972280),
   (136735, true, 159235551986449, 26826, 1579806304632739923857),
   (136765, false, 66564, 5, 881967066),
   (136771, true, 63732257, 16, 425130590031),
   (136781, false, 49419, 1, 28352940),
   (136785, false, 1815, 8, 372955275),
   (136793, false, 118336, 5, 1175715288)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints689

#print axioms CongruentPoints689.on_curve
#print axioms CongruentPoints689.indep
#print axioms CongruentPoints689.count

bsd/CongruentPoints69.lean

lean_all/bsd/CongruentPoints69.lean

/-
  bsd/CongruentPoints69.lean — T39 goal G123: points for congruent curves in 13001–13200 with Tunnell A = 2B
  (n = 13015, 13019, 13039, 13045, 13055, 13065, 13101, 13110, 13114, 13134, 13135, 13154, 13169, 13179, 13195), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints69
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (13015, true, 469225, 6, 17361325),
   (13019, true, 334839294409, 3306, 175390168019800195),
   (13039, true, 243049, 4, 61474635),
   (13045, false, 581405, 9, 672758900),
   (13055, true, 22954293180, 479, 3447993374375550),
   (13065, true, 319225, 3, 167680700),
   (13101, true, 189668089081, 2666, 71962347458326715),
   (13110, true, 415150, 1, 267356600),
   (13114, true, 13778, 1, 496008),
   (13134, false, 799867167, 1684, 1053149324787153),
   (13135, true, 18176, 1, 1693776),
   (13154, false, 1296, 1, 471240),
   (13169, true, 13998133409, 995, 602909082838452),
   (13179, true, 559728, 1, 418644252),
   (13195, true, 243049, 2, 116963757)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints69

#print axioms CongruentPoints69.on_curve
#print axioms CongruentPoints69.indep
#print axioms CongruentPoints69.count

bsd/CongruentPoints690.lean

lean_all/bsd/CongruentPoints690.lean

/-
  bsd/CongruentPoints690.lean — T39 goal G840: points for congruent curves in 136801–137000 with Tunnell A = 2B
  (n = 136822, 136830, 136839, 136843, 136846, 136869, 136910, 136974, 136983), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints690
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (136822, false, 544887, 2, 37800315),
   (136830, false, 74420, 1, 31323500),
   (136839, true, 351612234961, 1218, 170235362559442895),
   (136843, true, 4565313, 4, 8559507615),
   (136846, false, 391988, 3, 731002924),
   (136869, true, 145218009, 10, 1742180453973),
   (136910, false, 136890, 1, 865800),
   (136974, true, 253538874, 43, 187618766760),
   (136983, true, 855393, 2, 607514985)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints690

#print axioms CongruentPoints690.on_curve
#print axioms CongruentPoints690.indep
#print axioms CongruentPoints690.count

bsd/CongruentPoints691.lean

lean_all/bsd/CongruentPoints691.lean

/-
  bsd/CongruentPoints691.lean — T39 goal G840: points for congruent curves in 137001–137200 with Tunnell A = 2B
  (n = 137046, 137057, 137067, 137069, 137071, 137085, 137111, 137126, 137149, 137170, 137189, 137190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints691
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (137046, true, 2370277, 3, 3116214829),
   (137057, true, 9499426225, 237, 542438342908460),
   (137067, true, 141267, 1, 12850740),
   (137069, false, 21284228, 13, 42178228806),
   (137071, true, 15742873417441, 7085, 56181645738775688364),
   (137085, false, 1299600, 13, 26369208900),
   (137111, true, 2235964, 1, 3337176270),
   (137126, true, 18580573, 3, 79915044473),
   (137149, false, 56347, 1, 29681268),
   (137170, true, 37749184, 3, 231808301648),
   (137189, true, 701056788285529, 49970, 16195312870784107965333),
   (137190, false, 16165419, 13, 66823276779)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints691

#print axioms CongruentPoints691.on_curve
#print axioms CongruentPoints691.indep
#print axioms CongruentPoints691.count

bsd/CongruentPoints692.lean

lean_all/bsd/CongruentPoints692.lean

/-
  bsd/CongruentPoints692.lean — T39 goal G840: points for congruent curves in 137201–137400 with Tunnell A = 2B
  (n = 137206, 137217, 137237, 137265, 137270, 137306, 137310, 137345, 137361, 137389), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints692
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (137206, true, 102694878, 19, 911645492472),
   (137217, true, 671775, 1, 538990920),
   (137237, true, 140272819677, 973, 19802814829053360),
   (137265, false, 36015, 1, 25137000),
   (137270, true, 152206211430, 157, 59366470233470400),
   (137306, true, 331994, 1, 174164640),
   (137310, true, 1684336, 1, 2178688616),
   (137345, false, 4225, 1, 8923200),
   (137361, true, 1246588, 3, 178885378),
   (137389, true, 27896661229441, 1488, 147333844248684230465)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints692

#print axioms CongruentPoints692.on_curve
#print axioms CongruentPoints692.indep
#print axioms CongruentPoints692.count

bsd/CongruentPoints693.lean

lean_all/bsd/CongruentPoints693.lean

/-
  bsd/CongruentPoints693.lean — T39 goal G840: points for congruent curves in 137401–137600 with Tunnell A = 2B
  (n = 137402, 137410, 137429, 137451, 137470, 137514, 137535, 137555, 137571), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints693
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (137402, false, 29767, 2, 94685325),
   (137410, true, 3192140, 1, 5697969900),
   (137429, true, 137853, 1, 4011252),
   (137451, false, 10443, 1, 14005656),
   (137470, true, 985767280, 7, 30949344735000),
   (137514, true, 4615104, 5, 6614597808),
   (137535, true, 20811933735, 43, 3002176547422200),
   (137555, true, 167445, 1, 39070500),
   (137571, true, 52323292, 19, 119144135726)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints693

#print axioms CongruentPoints693.on_curve
#print axioms CongruentPoints693.indep
#print axioms CongruentPoints693.count

bsd/CongruentPoints694.lean

lean_all/bsd/CongruentPoints694.lean

/-
  bsd/CongruentPoints694.lean — T39 goal G840: points for congruent curves in 137601–137800 with Tunnell A = 2B
  (n = 137609, 137613, 137643, 137671, 137678, 137694, 137706, 137715, 137741, 137753), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints694
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (137609, true, 139159, 1, 7726440),
   (137613, true, 151725, 1, 24890040),
   (137643, true, 879307, 1, 814373560),
   (137671, true, 22555879, 1, 107122708440),
   (137678, true, 1933150, 3, 2063057680),
   (137694, false, 54150, 1, 29459880),
   (137706, true, 221250, 1, 81455400),
   (137715, false, 547215, 2, 46799775),
   (137741, true, 15401961917738881, 144250, 1878067654973254967621721),
   (137753, false, 1713481, 5, 3910365228)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints694

#print axioms CongruentPoints694.on_curve
#print axioms CongruentPoints694.indep
#print axioms CongruentPoints694.count

bsd/CongruentPoints695.lean

lean_all/bsd/CongruentPoints695.lean

/-
  bsd/CongruentPoints695.lean — T39 goal G840: points for congruent curves in 137801–138000 with Tunnell A = 2B
  (n = 137801, 137821, 137830, 137863, 137885, 137899, 137922, 137973, 137977, 137978, 137982, 137989, 137995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints695
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (137801, true, 269001, 1, 119821680),
   (137821, false, 5311627, 7, 9611641068),
   (137830, true, 191646, 1, 58293144),
   (137863, true, 8843164, 5, 24217808538),
   (137885, false, 2618725, 19, 80439122400),
   (137899, true, 2008693, 1, 2840171208),
   (137922, false, 11892243, 13, 69131770785),
   (137973, true, 3388275, 1, 6231715380),
   (137977, true, 8474327, 7, 14873490960),
   (137978, true, 150822, 1, 23652720),
   (137982, true, 239498688, 29, 3242295136080),
   (137989, true, 2260907401, 128, 988732717275),
   (137995, false, 108900, 1, 27969150)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints695

#print axioms CongruentPoints695.on_curve
#print axioms CongruentPoints695.indep
#print axioms CongruentPoints695.count

bsd/CongruentPoints696.lean

lean_all/bsd/CongruentPoints696.lean

/-
  bsd/CongruentPoints696.lean — T39 goal G841: points for congruent curves in 138001–138200 with Tunnell A = 2B
  (n = 138030, 138047, 138054, 138065, 138110, 138151, 138166, 138187, 138190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints696
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (138030, true, 6985350, 7, 4616213400),
   (138047, true, 3284779969, 5, 188260490454828),
   (138054, false, 829310100, 313, 388756970998740),
   (138065, false, 137641, 1, 4011252),
   (138110, true, 1220242178761225, 91506, 13602416460899225311675),
   (138151, true, 37908479401, 275, 7094972336911524),
   (138166, false, 53576438, 41, 1654177771056),
   (138187, true, 3464251, 5, 479088876),
   (138190, true, 11299690, 9, 5197857400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints696

#print axioms CongruentPoints696.on_curve
#print axioms CongruentPoints696.indep
#print axioms CongruentPoints696.count

bsd/CongruentPoints697.lean

lean_all/bsd/CongruentPoints697.lean

/-
  bsd/CongruentPoints697.lean — T39 goal G841: points for congruent curves in 138201–138400 with Tunnell A = 2B
  (n = 138201, 138210, 138230, 138274, 138345, 138346, 138379, 138381, 138383, 138385, 138390, 138395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints697
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (138201, false, 60543, 1, 30568356),
   (138210, true, 18769666, 9, 65270136736),
   (138230, false, 33764180, 209, 35084572853100),
   (138274, false, 198868703, 84, 13470007504591),
   (138345, true, 57912462105, 509, 10946706676670700),
   (138346, false, 976144, 5, 3278225496),
   (138379, false, 3407716, 5, 1100561202),
   (138381, true, 309744, 1, 154226700),
   (138383, true, 328674036601, 1520, 43682717507730099),
   (138385, false, 3185, 1, 7807800),
   (138390, false, 16634100, 11, 7853724900),
   (138395, true, 1974025, 2, 2662215075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints697

#print axioms CongruentPoints697.on_curve
#print axioms CongruentPoints697.indep
#print axioms CongruentPoints697.count

bsd/CongruentPoints698.lean

lean_all/bsd/CongruentPoints698.lean

/-
  bsd/CongruentPoints698.lean — T39 goal G841: points for congruent curves in 138401–138600 with Tunnell A = 2B
  (n = 138409, 138414, 138418, 138421, 138455, 138470, 138477, 138481, 138491, 138507, 138530, 138539, 138565, 138567, 138570, 138574), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints698
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (138409, true, 3237541666489, 4020, 4211573758810548013),
   (138414, false, 76653204, 35, 1324144536156),
   (138418, true, 48945618, 1, 342427778160),
   (138421, false, 1420864, 5, 3761204616),
   (138455, true, 7315305289107231025, 162602, 19785572830782872704350655425),
   (138470, false, 824464, 13, 21235307016),
   (138477, true, 487227, 1, 326067300),
   (138481, true, 167281, 1, 38380560),
   (138491, true, 32632853, 7, 182340516072),
   (138507, true, 119318430625, 112, 41211199166690575),
   (138530, true, 274150870, 17, 4490591250600),
   (138539, false, 96100, 1, 30934590),
   (138565, false, 8003840, 9, 22260487600),
   (138567, true, 166617, 1, 37766520),
   (138570, false, 16434150, 11, 13475804400),
   (138574, true, 13234176, 7, 41324403840)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints698

#print axioms CongruentPoints698.on_curve
#print axioms CongruentPoints698.indep
#print axioms CongruentPoints698.count

bsd/CongruentPoints699.lean

lean_all/bsd/CongruentPoints699.lean

/-
  bsd/CongruentPoints699.lean — T39 goal G841: points for congruent curves in 138601–138800 with Tunnell A = 2B
  (n = 138606, 138615, 138653, 138669, 138774, 138782, 138785), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints699
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (138606, true, 3157729, 4, 3994527185),
   (138615, false, 14400, 1, 16543800),
   (138653, true, 257725, 1, 110290440),
   (138669, false, 8619, 1, 12848940),
   (138774, true, 10593082, 3, 34236841024),
   (138782, false, 17405150, 23, 297554448240),
   (138785, false, 968256, 5, 3278474472)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints699

#print axioms CongruentPoints699.on_curve
#print axioms CongruentPoints699.indep
#print axioms CongruentPoints699.count

bsd/CongruentPoints7.lean

lean_all/bsd/CongruentPoints7.lean

/-
  bsd/CongruentPoints7.lean — T39 goal G16: points for rank-1 congruent curves in 801–1000 that had none
  (n = 822, 831, 919, 965, 989), found by the C quartic search bsd_quartic.c (box 2·10⁵, Kamiak a2_quart 31933487;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints7
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (822, false, 28803360098, 16579, 38032245511047080),
   (831, true, 1842170802024233041, 13289406, 2492368355248591328245776655),
   (919, true, 267169339269516121, 9195529, 132125195232229649849513400),
   (965, true, 1320647915945519238025, 268747634, 47926413386274889056370795061475),
   (989, false, 904287002427, 54401, 2647150411809093372)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints7

#print axioms CongruentPoints7.on_curve
#print axioms CongruentPoints7.indep
#print axioms CongruentPoints7.count

bsd/CongruentPoints70.lean

lean_all/bsd/CongruentPoints70.lean

/-
  bsd/CongruentPoints70.lean — T39 goal G124: points for congruent curves in 13201–13400 with Tunnell A = 2B
  (n = 13202, 13205, 13210, 13215, 13242, 13251, 13258, 13271, 13286, 13299, 13317, 13323, 13335, 13345, 13346, 13359, 13362, 13363, 13366, 13369, 13395, 13398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints70
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (13202, true, 826898, 7, 468361200),
   (13205, true, 30630966975625, 42862, 103501379549239732125),
   (13210, true, 1745041, 6, 2217947111),
   (13215, true, 2088025, 9, 2590567100),
   (13242, true, 126150, 1, 44557920),
   (13251, true, 35301, 1, 6147540),
   (13258, false, 8485407, 64, 156245205585),
   (13271, true, 332929, 5, 15980592),
   (13286, false, 53439650, 399, 15457283970920),
   (13299, false, 11892243, 31, 16142438664),
   (13317, true, 931225, 4, 874792765),
   (13323, true, 1034266626121, 5300, 980563885217830331),
   (13335, true, 42135, 1, 8204400),
   (13345, true, 24649, 1, 3253668),
   (13346, true, 29138978, 31, 141237916512),
   (13359, true, 271633, 2, 138804463),
   (13362, true, 2625633, 4, 4240397295),
   (13363, true, 14812, 1, 777630),
   (13366, true, 2178658, 1, 3215699208),
   (13369, true, 212521, 3, 80757980),
   (13395, false, 11265005, 29, 219596300),
   (13398, true, 13552, 1, 237160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints70

#print axioms CongruentPoints70.on_curve
#print axioms CongruentPoints70.indep
#print axioms CongruentPoints70.count

bsd/CongruentPoints700.lean

lean_all/bsd/CongruentPoints700.lean

/-
  bsd/CongruentPoints700.lean — T39 goal G841: points for congruent curves in 138801–139000 with Tunnell A = 2B
  (n = 138827, 138841, 138846, 138855, 138882, 138886, 138890, 138935), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints700
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (138827, false, 780868127, 174, 115407491624425),
   (138841, true, 71136123621300721, 715691, 448455221835305110353720),
   (138846, true, 15203637, 7, 53015082219),
   (138855, true, 5659874144401, 187, 13465112968220321224),
   (138882, false, 319040078, 61, 7261495866800),
   (138886, true, 153164, 1, 25272060),
   (138890, true, 140524, 1, 8009868),
   (138935, true, 601065, 2, 177525075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints700

#print axioms CongruentPoints700.on_curve
#print axioms CongruentPoints700.indep
#print axioms CongruentPoints700.count

bsd/CongruentPoints701.lean

lean_all/bsd/CongruentPoints701.lean

/-
  bsd/CongruentPoints701.lean — T39 goal G841: points for congruent curves in 139001–139200 with Tunnell A = 2B
  (n = 139001, 139055, 139146, 139154, 139191), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints701
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (139001, false, 127449, 1, 19806360),
   (139055, true, 673208763049, 357, 552171644767851632),
   (139146, true, 147026922, 17, 1714791886416),
   (139154, true, 2879809, 2, 4794881985),
   (139191, true, 150187089, 2, 1840542775695)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints701

#print axioms CongruentPoints701.on_curve
#print axioms CongruentPoints701.indep
#print axioms CongruentPoints701.count

bsd/CongruentPoints702.lean

lean_all/bsd/CongruentPoints702.lean

/-
  bsd/CongruentPoints702.lean — T39 goal G841: points for congruent curves in 139201–139400 with Tunnell A = 2B
  (n = 139217, 139229, 139281, 139305, 139314, 139359, 139370, 139398), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints702
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (139217, true, 15950639480537878561, 637510, 63703664630870621425486396809),
   (139229, true, 1843015310929, 710, 2500220283490805967),
   (139281, false, 84994832, 49, 2981806903972),
   (139305, true, 2063604075625, 3473, 1720949120881289000),
   (139314, true, 1064757, 1, 1089246411),
   (139359, true, 3616569, 5, 1845253872),
   (139370, true, 819025, 2, 543013575),
   (139398, false, 6678150, 7, 3707303760)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints702

#print axioms CongruentPoints702.on_curve
#print axioms CongruentPoints702.indep
#print axioms CongruentPoints702.count

bsd/CongruentPoints703.lean

lean_all/bsd/CongruentPoints703.lean

/-
  bsd/CongruentPoints703.lean — T39 goal G841: points for congruent curves in 139401–139600 with Tunnell A = 2B
  (n = 139426, 139449, 139462, 139465, 139485, 139535, 139539, 139549, 139551, 139555, 139557, 139570), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints703
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (139426, true, 176418, 1, 45400608),
   (139449, true, 457263, 1, 294477372),
   (139462, false, 101563047, 38, 1752506173635),
   (139465, true, 159588265225, 507, 62123757198015700),
   (139485, true, 1535464225, 74, 52194502484425),
   (139535, true, 362232860, 47, 3621423017850),
   (139539, true, 11209633, 4, 36778805873),
   (139549, true, 7774517, 7, 10315221036),
   (139551, true, 199615983216, 653, 85130359380979380),
   (139555, true, 2157961, 2, 3062146659),
   (139557, true, 3611619, 5, 1773815472),
   (139570, false, 306, 1, 2441472)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints703

#print axioms CongruentPoints703.on_curve
#print axioms CongruentPoints703.indep
#print axioms CongruentPoints703.count

bsd/CongruentPoints704.lean

lean_all/bsd/CongruentPoints704.lean

/-
  bsd/CongruentPoints704.lean — T39 goal G841: points for congruent curves in 139601–139800 with Tunnell A = 2B
  (n = 139605, 139615, 139651, 139665, 139667, 139674, 139678, 139687, 139790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints704
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (139605, true, 2318805, 1, 3524583600),
   (139615, false, 3136441, 5, 2712265248),
   (139651, true, 67843712659, 21, 17671126271886100),
   (139665, true, 545980599025, 683, 400545132195644900),
   (139667, true, 3448464133140625, 82296, 194739026414638438802375),
   (139674, true, 298374, 1, 144022320),
   (139678, false, 1757007, 16, 47340168855),
   (139687, true, 477553609, 20, 10364301177477),
   (139790, true, 1376410, 3, 654963400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints704

#print axioms CongruentPoints704.on_curve
#print axioms CongruentPoints704.indep
#print axioms CongruentPoints704.count

bsd/CongruentPoints705.lean

lean_all/bsd/CongruentPoints705.lean

/-
  bsd/CongruentPoints705.lean — T39 goal G841: points for congruent curves in 139801–140000 with Tunnell A = 2B
  (n = 139839, 139845, 139854, 139873, 139893, 139909, 139921, 139933, 139934, 139938, 139945, 139961, 139971, 139978, 139985), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints705
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (139839, false, 51013347108, 1519, 71959617341935254),
   (139845, false, 605, 1, 3439700),
   (139854, true, 1753554, 1, 2314691280),
   (139873, true, 172329287130625, 10854, 2251873733430233582425),
   (139893, true, 714025, 2, 374775245),
   (139909, true, 139932, 1, 949026),
   (139921, false, 529, 1, 3218160),
   (139933, false, 873956, 5, 3166731678),
   (139934, false, 138384, 1, 7726440),
   (139938, false, 1590297762, 257, 363091089493440),
   (139945, false, 38025, 1, 26262600),
   (139961, false, 4761, 1, 9651720),
   (139971, false, 1296, 1, 5038740),
   (139978, true, 18773878, 7, 75721854480),
   (139985, true, 1063836398415025, 42848, 33670850754167388314775)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints705

#print axioms CongruentPoints705.on_curve
#print axioms CongruentPoints705.indep
#print axioms CongruentPoints705.count

bsd/CongruentPoints706.lean

lean_all/bsd/CongruentPoints706.lean

/-
  bsd/CongruentPoints706.lean — T39 goal G842: points for congruent curves in 140001–140200 with Tunnell A = 2B
  (n = 140005, 140014, 140029, 140070, 140090, 140119, 140133, 140151, 140153, 140182, 140194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints706
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (140005, false, 78400, 1, 32478600),
   (140014, true, 136568135220169, 16148, 1537879182102375061755),
   (140029, true, 1295208121, 76, 36407538574125),
   (140070, true, 213150, 1, 74176200),
   (140090, true, 767290, 1, 660811200),
   (140119, true, 2048767, 1, 2925639276),
   (140133, false, 85683, 1, 32458140),
   (140151, true, 1184913, 2, 1136331567),
   (140153, true, 55770508862418025, 603436, 5311282397982331431265995),
   (140182, false, 3503394, 5, 168468504),
   (140194, false, 619276167, 82, 17686283718957)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints706

#print axioms CongruentPoints706.on_curve
#print axioms CongruentPoints706.indep
#print axioms CongruentPoints706.count

bsd/CongruentPoints707.lean

lean_all/bsd/CongruentPoints707.lean

/-
  bsd/CongruentPoints707.lean — T39 goal G842: points for congruent curves in 140201–140400 with Tunnell A = 2B
  (n = 140230, 140233, 140254, 140262, 140286, 140315, 140327, 140374, 140378), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints707
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (140230, true, 53147170, 19, 117986717400),
   (140233, false, 13225, 1, 16054920),
   (140254, true, 7954233105625, 678, 22432785551871897475),
   (140262, false, 126150, 1, 21777840),
   (140286, true, 927522, 1, 883000944),
   (140315, true, 269059, 1, 119082348),
   (140327, true, 155341050760921, 32965, 369098100162530234844),
   (140374, true, 297674, 1, 143217360),
   (140378, true, 153328, 1, 24149160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints707

#print axioms CongruentPoints707.on_curve
#print axioms CongruentPoints707.indep
#print axioms CongruentPoints707.count

bsd/CongruentPoints708.lean

lean_all/bsd/CongruentPoints708.lean

/-
  bsd/CongruentPoints708.lean — T39 goal G842: points for congruent curves in 140401–140600 with Tunnell A = 2B
  (n = 140406, 140415, 140442, 140455, 140485), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints708
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (140406, false, 133206, 1, 16199280),
   (140415, true, 234876, 1, 91249326),
   (140442, false, 28467383, 26, 483236422235),
   (140455, true, 307398970643209, 45603, 1679370522307643981348),
   (140485, true, 563680902061225, 57354, 7663128583673379286925)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints708

#print axioms CongruentPoints708.on_curve
#print axioms CongruentPoints708.indep
#print axioms CongruentPoints708.count

bsd/CongruentPoints709.lean

lean_all/bsd/CongruentPoints709.lean

/-
  bsd/CongruentPoints709.lean — T39 goal G842: points for congruent curves in 140601–140800 with Tunnell A = 2B
  (n = 140621, 140635, 140646, 140651, 140655, 140671, 140686, 140691, 140709, 140730, 140745, 140753, 140766), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints709
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (140621, false, 2704, 1, 7310940),
   (140635, true, 145475, 1, 14193300),
   (140646, false, 22754358, 13, 32776478064),
   (140651, true, 141148, 1, 4446162),
   (140655, true, 304769003520, 737, 162878206844606400),
   (140671, true, 8254129, 7, 13045718400),
   (140686, false, 19600, 1, 19503960),
   (140691, true, 2370963, 1, 3644359488),
   (140709, false, 25000100, 23, 350556449390),
   (140730, true, 477405, 1, 315203175),
   (140745, false, 21210255, 146, 13816587066975),
   (140753, true, 5769363538285503025, 4064872, 12681916312043829867333407145),
   (140766, true, 60223488, 1, 467355837312)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints709

#print axioms CongruentPoints709.on_curve
#print axioms CongruentPoints709.indep
#print axioms CongruentPoints709.count

bsd/CongruentPoints71.lean

lean_all/bsd/CongruentPoints71.lean

/-
  bsd/CongruentPoints71.lean — T39 goal G125: points for congruent curves in 13401–13600 with Tunnell A = 2B
  (n = 13407, 13413, 13414, 13442, 13461, 13470, 13485, 13494, 13501, 13502, 13513, 13515, 13531, 13533, 13539, 13541, 13546, 13549, 13559, 13561, 13566, 13574, 13585, 13593), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints71
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (13407, false, 962361, 325, 1389207881088),
   (13413, true, 674475, 7, 124431840),
   (13414, true, 21964, 1, 2577540),
   (13442, false, 5655078, 47, 69319656120),
   (13461, false, 39323427, 1103, 102695822302788),
   (13470, false, 19220, 3, 16594300),
   (13485, false, 6003725, 397, 5207636079100),
   (13494, true, 2334462, 11, 2549232504),
   (13501, false, 15730367, 156, 1301626108063),
   (13502, false, 132307668, 379, 22256460097380),
   (13513, true, 110775625, 79, 755963850600),
   (13515, true, 811801, 2, 729809099),
   (13531, true, 44393225809, 1794, 1815823446256945),
   (13533, true, 159464778353841780625, 3037574, 2013710465726382521999408654575),
   (13539, true, 3818620148641, 14916, 4586252178922474895),
   (13541, true, 14220459, 7, 53566980720),
   (13546, true, 18954, 1, 1825200),
   (13549, true, 82101721, 64, 548232316515),
   (13559, false, 670761, 61, 41317387020),
   (13561, false, 1705775, 12, 1241573095),
   (13566, true, 16758, 1, 1273608),
   (13574, true, 8375158, 21, 16951319792),
   (13585, true, 284089, 1, 151246212),
   (13593, false, 1071225, 29, 11779761420)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end CongruentPoints71

#print axioms CongruentPoints71.on_curve
#print axioms CongruentPoints71.indep
#print axioms CongruentPoints71.count

bsd/CongruentPoints710.lean

lean_all/bsd/CongruentPoints710.lean

/-
  bsd/CongruentPoints710.lean — T39 goal G842: points for congruent curves in 140801–141000 with Tunnell A = 2B
  (n = 140822, 140829, 140847, 140855, 140865, 140866, 140910, 140933, 140987, 140990, 140993, 140997, 140998), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints710
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (140822, true, 188397, 1, 54321135),
   (140829, true, 123116232525, 307, 42947150768095860),
   (140847, true, 404905473, 29, 7791175232820),
   (140855, true, 148720, 1, 18404100),
   (140865, true, 947711985025, 453, 922173084663723100),
   (140866, true, 14720497, 8, 44647267401),
   (140910, true, 708750, 1, 584766000),
   (140933, true, 14861327620632025, 303646, 879178559917726052351445),
   (140987, false, 13285811, 15, 104996494988),
   (140990, true, 4616331559225, 2378, 9769442203637150925),
   (140993, true, 511432371025, 1773, 182499365656651580),
   (140997, true, 271803, 1, 121146480),
   (140998, true, 1322893, 3, 429940225)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints710

#print axioms CongruentPoints710.on_curve
#print axioms CongruentPoints710.indep
#print axioms CongruentPoints710.count

bsd/CongruentPoints711.lean

lean_all/bsd/CongruentPoints711.lean

/-
  bsd/CongruentPoints711.lean — T39 goal G842: points for congruent curves in 141001–141200 with Tunnell A = 2B
  (n = 141035, 141037, 141078, 141089, 141094, 141105, 141121, 141122, 141137, 141141, 141191, 141197), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints711
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (141035, true, 343040, 1, 183151200),
   (141037, false, 2420847, 34, 253645222545),
   (141078, true, 211722, 1, 72641520),
   (141089, true, 40679815193329, 7885, 253354859933894636892),
   (141094, true, 35050878, 7, 203437677288),
   (141105, true, 3949905, 1, 7845175800),
   (141121, false, 25921, 1, 22333920),
   (141122, true, 79731742609, 610, 16941364741522023),
   (141137, true, 681750116019025, 53456, 14351860640048501122905),
   (141141, true, 141267, 1, 2242044),
   (141191, true, 437353241600, 1489, 201986770577005920),
   (141197, false, 55223, 4, 530732475)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints711

#print axioms CongruentPoints711.on_curve
#print axioms CongruentPoints711.indep
#print axioms CongruentPoints711.count

bsd/CongruentPoints712.lean

lean_all/bsd/CongruentPoints712.lean

/-
  bsd/CongruentPoints712.lean — T39 goal G842: points for congruent curves in 141201–141400 with Tunnell A = 2B
  (n = 141245, 141249, 141262, 141266, 141286, 141290, 141310, 141330, 141341, 141351, 141395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints712
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (141245, true, 97317805, 7, 957607201200),
   (141249, true, 434882183961241, 44135, 7023166595549949581164),
   (141262, false, 33462, 1, 25105080),
   (141266, true, 175628, 1, 43731372),
   (141286, true, 5937458, 1, 14463647688),
   (141290, true, 161290, 1, 31242000),
   (141310, true, 232608836590, 891, 98276809215566800),
   (141330, true, 282534, 1, 130038552),
   (141341, true, 1286947, 3, 221354884),
   (141351, false, 17165746212, 829, 12527102709002538),
   (141395, true, 178605, 1, 46116000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints712

#print axioms CongruentPoints712.on_curve
#print axioms CongruentPoints712.indep
#print axioms CongruentPoints712.count

bsd/CongruentPoints713.lean

lean_all/bsd/CongruentPoints713.lean

/-
  bsd/CongruentPoints713.lean — T39 goal G842: points for congruent curves in 141401–141600 with Tunnell A = 2B
  (n = 141410, 141465, 141491, 141510, 141513, 141526, 141558, 141585, 141595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints713
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (141410, false, 188796491, 885, 1521818964228277),
   (141465, true, 168540, 1, 37611450),
   (141491, false, 665783363, 71, 6602023999536),
   (141510, true, 11173771110, 103, 1170425881684800),
   (141513, true, 158025, 1, 27956880),
   (141526, true, 348524, 1, 188026740),
   (141558, false, 9216, 5, 339738048),
   (141585, false, 21636015, 17, 161544828600),
   (141595, true, 1166410800025, 982, 1251068225763912075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints713

#print axioms CongruentPoints713.on_curve
#print axioms CongruentPoints713.indep
#print axioms CongruentPoints713.count

bsd/CongruentPoints714.lean

lean_all/bsd/CongruentPoints714.lean

/-
  bsd/CongruentPoints714.lean — T39 goal G842: points for congruent curves in 141601–141800 with Tunnell A = 2B
  (n = 141630, 141661, 141666, 141681, 141698, 141701, 141702, 141710, 141717, 141726, 141729, 141789), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints714
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (141630, false, 124820, 1, 23644700),
   (141661, false, 24336, 1, 21770580),
   (141666, true, 212268, 1, 72830268),
   (141681, true, 13179875025, 56, 1512237556504935),
   (141698, true, 1450658851489, 2310, 1491116105532429487),
   (141701, true, 920173992049, 274, 882624350479495455),
   (141702, false, 132098, 1, 18637640),
   (141710, true, 398672274025, 572, 250015528547577525),
   (141717, false, 4770363, 19, 111252204180),
   (141726, false, 853769748, 187, 142646574688956),
   (141729, false, 5000975, 16, 80363887415),
   (141789, false, 71011875, 149, 26519787033300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints714

#print axioms CongruentPoints714.on_curve
#print axioms CongruentPoints714.indep
#print axioms CongruentPoints714.count

bsd/CongruentPoints715.lean

lean_all/bsd/CongruentPoints715.lean

/-
  bsd/CongruentPoints715.lean — T39 goal G842: points for congruent curves in 141801–142000 with Tunnell A = 2B
  (n = 141814, 141817, 141843, 141882, 141895, 141906, 141934, 141949, 141954, 141985, 141989, 141990), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints715
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (141814, true, 483148, 1, 321038172),
   (141817, true, 1902110785360605625, 2425476, 2357521700816356995543274925),
   (141843, false, 32400, 1, 24856740),
   (141882, true, 2319225, 2, 3424567635),
   (141895, true, 68251495, 3, 563757348700),
   (141906, false, 561912384, 167, 92863660372560),
   (141934, true, 202981997, 29, 2339025651009),
   (141949, false, 479132100, 77, 15145433303190),
   (141954, false, 21248850, 13, 51334446240),
   (141985, true, 73565975397721, 10010, 619068219528631152981),
   (141989, true, 37373067, 7, 224480726184),
   (141990, true, 350020140625, 1098, 180625191414045625)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints715

#print axioms CongruentPoints715.on_curve
#print axioms CongruentPoints715.indep
#print axioms CongruentPoints715.count

bsd/CongruentPoints716.lean

lean_all/bsd/CongruentPoints716.lean

/-
  bsd/CongruentPoints716.lean — T39 goal G843: points for congruent curves in 142001–142200 with Tunnell A = 2B
  (n = 142009, 142018, 142030, 142069, 142071, 142085, 142086, 142087, 142105, 142121, 142134, 142135, 142147, 142158, 142166, 142194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints716
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (142009, true, 325333369, 47, 1555312473000),
   (142018, false, 6315458, 41, 599737926480),
   (142030, true, 46121644987845025, 562664, 2203981016717880801500175),
   (142069, true, 147325553, 14, 1755973266207),
   (142071, true, 142129, 1, 1530620),
   (142085, false, 139876, 1, 9333918),
   (142086, false, 20403978, 13, 57186876096),
   (142087, true, 11716963230025, 518, 40107011400975005955),
   (142105, true, 19139980345, 74, 2645775547064475),
   (142121, true, 2022400, 3, 2227787360),
   (142134, false, 451584, 5, 2368489536),
   (142135, false, 1328319, 16, 41908547871),
   (142147, false, 1433427683, 5983, 192647590076622120),
   (142158, false, 142100, 1, 1530620),
   (142166, false, 152631252, 457, 366812510507052),
   (142194, true, 146250, 1, 13080600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints716

#print axioms CongruentPoints716.on_curve
#print axioms CongruentPoints716.indep
#print axioms CongruentPoints716.count

bsd/CongruentPoints717.lean

lean_all/bsd/CongruentPoints717.lean

/-
  bsd/CongruentPoints717.lean — T39 goal G843: points for congruent curves in 142201–142400 with Tunnell A = 2B
  (n = 142222, 142230, 142265, 142270, 142278, 142287, 142311, 142313, 142330, 142339, 142361, 142370, 142393), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints717
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (142222, true, 142578, 1, 3802080),
   (142230, true, 5001414, 5, 7865838288),
   (142265, true, 1755625, 3, 1591563500),
   (142270, false, 1161620, 3, 580544900),
   (142278, true, 3666522, 1, 7015428720),
   (142287, true, 390225, 1, 226983240),
   (142311, false, 93639, 1, 32792760),
   (142313, true, 13156536186783025, 292862, 563207470322803322174655),
   (142330, true, 9422246, 7, 19447515744),
   (142339, true, 1349797, 1, 1559460756),
   (142361, true, 122757824229769, 22589, 1096416587117390091300),
   (142370, false, 72220414, 25, 441735787584),
   (142393, false, 169788047, 36, 942109629175)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints717

#print axioms CongruentPoints717.on_curve
#print axioms CongruentPoints717.indep
#print axioms CongruentPoints717.count

bsd/CongruentPoints718.lean

lean_all/bsd/CongruentPoints718.lean

/-
  bsd/CongruentPoints718.lean — T39 goal G843: points for congruent curves in 142401–142600 with Tunnell A = 2B
  (n = 142409, 142413, 142415, 142449, 142462, 142471, 142485, 142489, 142499, 142511, 142519, 142530, 142566, 142593), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints718
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (142409, false, 59177, 1, 31510248),
   (142413, true, 2938182025, 134, 78434584643555),
   (142415, false, 44100, 1, 28437150),
   (142449, true, 21889663, 11, 63129788092),
   (142462, true, 3397238, 1, 6256144440),
   (142471, false, 112896, 1, 29200080),
   (142485, true, 2928738465, 44, 157792337687025),
   (142489, false, 1217374784, 315, 491471912266264),
   (142499, false, 42602623, 1124, 1175066909436609),
   (142511, true, 113136775191, 725, 28518763537070136),
   (142519, false, 43681, 1, 28352940),
   (142530, false, 60736807755, 1133, 42534261666681525),
   (142566, true, 142578, 1, 698472),
   (142593, true, 558805586089, 1960, 82550737417971563)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints718

#print axioms CongruentPoints718.on_curve
#print axioms CongruentPoints718.indep
#print axioms CongruentPoints718.count

bsd/CongruentPoints719.lean

lean_all/bsd/CongruentPoints719.lean

/-
  bsd/CongruentPoints719.lean — T39 goal G843: points for congruent curves in 142601–142800 with Tunnell A = 2B
  (n = 142615, 142618, 142645, 142646, 142690, 142697, 142702, 142710, 142715, 142790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints719
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (142615, true, 226261553412049, 30515, 2755557949928642341968),
   (142618, true, 1868125, 3, 1855197575),
   (142645, false, 218405, 7, 3264914400),
   (142646, true, 1666350, 1, 2143148280),
   (142690, true, 176890, 1, 43969800),
   (142697, true, 10703004270855625, 191464, 966022303972505663022075),
   (142702, false, 611618, 3, 883207360),
   (142710, true, 132871104, 23, 1260370419408),
   (142715, true, 157165, 1, 26096700),
   (142790, false, 1389779, 5, 3876309519)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints719

#print axioms CongruentPoints719.on_curve
#print axioms CongruentPoints719.indep
#print axioms CongruentPoints719.count

bsd/CongruentPoints72.lean

lean_all/bsd/CongruentPoints72.lean

/-
  bsd/CongruentPoints72.lean — T39 goal G126: points for congruent curves in 13601–13800 with Tunnell A = 2B
  (n = 13601, 13610, 13629, 13630, 13631, 13634, 13639, 13677, 13685, 13695, 13706, 13709, 13715, 13746, 13785, 13795, 13799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints72
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (13601, true, 125692, 3, 10118206),
   (13610, true, 16810, 1, 1279200),
   (13629, true, 344619, 5, 30326472),
   (13630, false, 2862864, 17, 4577878584),
   (13631, true, 11412435241, 742, 918497001522675),
   (13634, false, 5184, 1, 907920),
   (13639, true, 351649, 4, 163516785),
   (13677, true, 5540737, 16, 10108135745),
   (13685, true, 25515, 1, 3439800),
   (13695, true, 24249280, 13, 118866939400),
   (13706, true, 2371842, 7, 3503330424),
   (13709, true, 14420193596449, 31510, 18081316193793327543),
   (13715, true, 62465, 2, 7465575),
   (13746, true, 37446, 1, 6740280),
   (13785, false, 257415, 17, 2017033200),
   (13795, true, 19845, 1, 2009700),
   (13799, true, 95667961, 31, 926695367640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints72

#print axioms CongruentPoints72.on_curve
#print axioms CongruentPoints72.indep
#print axioms CongruentPoints72.count

bsd/CongruentPoints720.lean

lean_all/bsd/CongruentPoints720.lean

/-
  bsd/CongruentPoints720.lean — T39 goal G843: points for congruent curves in 142801–143000 with Tunnell A = 2B
  (n = 142834, 142859, 142865, 142870, 142890, 142919, 142926, 142935, 142941, 142959, 142985, 142989, 142998), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints720
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (142834, false, 9070135442, 689, 6399651028520112),
   (142859, true, 621672013, 7, 15499384091388),
   (142865, true, 2675014293420750649, 3949279, 2420752886210624885447561868),
   (142870, true, 19460574, 11, 39423392568),
   (142890, true, 3725964, 1, 7186846788),
   (142919, true, 208426969, 1, 3009059444040),
   (142926, true, 146412, 1, 12152196),
   (142935, true, 1651225, 3, 1330257700),
   (142941, true, 2362369, 4, 909512065),
   (142959, true, 1893059723097134761, 3362898, 1354979578488886312121759795),
   (142985, true, 1886147697635355625, 3334204, 1394412311355862184374900875),
   (142989, false, 3363899, 5, 2218299776),
   (142998, false, 96123, 1, 32824125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints720

#print axioms CongruentPoints720.on_curve
#print axioms CongruentPoints720.indep
#print axioms CongruentPoints720.count

bsd/CongruentPoints721.lean

lean_all/bsd/CongruentPoints721.lean

/-
  bsd/CongruentPoints721.lean — T39 goal G843: points for congruent curves in 143001–143200 with Tunnell A = 2B
  (n = 143021, 143041, 143045, 143065, 143066, 143070, 143089, 143122, 143153, 143179, 143193), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints721
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (143021, true, 2948089, 4, 3191379315),
   (143041, true, 65369737, 13, 491057464344),
   (143045, true, 2325625, 4, 629314125),
   (143065, false, 260, 1, 2306850),
   (143066, true, 22746284, 7, 103203433740),
   (143070, true, 2033100, 1, 2891745900),
   (143089, true, 2289713, 4, 55046697),
   (143122, true, 153328, 1, 21538440),
   (143153, false, 136900, 1, 15483390),
   (143179, true, 27701083, 7, 141042368928),
   (143193, true, 115843137, 28, 307563528735)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints721

#print axioms CongruentPoints721.on_curve
#print axioms CongruentPoints721.indep
#print axioms CongruentPoints721.count

bsd/CongruentPoints722.lean

lean_all/bsd/CongruentPoints722.lean

/-
  bsd/CongruentPoints722.lean — T39 goal G843: points for congruent curves in 143201–143400 with Tunnell A = 2B
  (n = 143201, 143202, 143206, 143219, 143234, 143255, 143265, 143273, 143281, 143305, 143319, 143323, 143365, 143367, 143383, 143395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints722
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (143201, false, 42849, 1, 28284480),
   (143202, true, 235248, 1, 90525240),
   (143206, false, 52983, 2, 131287611),
   (143219, true, 300702755619, 5, 164894477891940972),
   (143234, true, 225450316, 1, 3385136494740),
   (143255, true, 379680759920, 899, 222810008889768300),
   (143265, true, 5946696802225, 717, 14500413363314478700),
   (143273, false, 64771447, 58, 3843744721245),
   (143281, true, 586341477531121, 57360, 8442514581904354692169),
   (143305, false, 16900, 1, 18499650),
   (143319, false, 39279273, 19, 211049153964),
   (143323, true, 68137644986653225, 657228, 7429631784704484029011115),
   (143365, true, 77560465, 8, 678266266425),
   (143367, false, 139167, 1, 12850740),
   (143383, true, 26799327025, 83, 4384202821347720),
   (143395, true, 1452025, 2, 1607391675)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints722

#print axioms CongruentPoints722.on_curve
#print axioms CongruentPoints722.indep
#print axioms CongruentPoints722.count

bsd/CongruentPoints723.lean

lean_all/bsd/CongruentPoints723.lean

/-
  bsd/CongruentPoints723.lean — T39 goal G843: points for congruent curves in 143401–143600 with Tunnell A = 2B
  (n = 143417, 143418, 143426, 143463, 143474, 143526, 143553, 143583, 143590, 143594), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints723
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (143417, true, 6866857779961, 6630, 7133847316974583291),
   (143418, true, 2773650, 1, 4613134680),
   (143426, false, 108578, 1, 30879024),
   (143463, false, 3048516, 5, 3299002398),
   (143474, true, 47687378, 17, 162659449008),
   (143526, true, 9510486, 5, 27161948016),
   (143553, true, 15904488769, 290, 1305742156071353),
   (143583, true, 18505120623, 59, 2516398467131340),
   (143590, true, 299290, 1, 143659200),
   (143594, true, 1818796914, 91, 58693342006200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints723

#print axioms CongruentPoints723.on_curve
#print axioms CongruentPoints723.indep
#print axioms CongruentPoints723.count

bsd/CongruentPoints724.lean

lean_all/bsd/CongruentPoints724.lean

/-
  bsd/CongruentPoints724.lean — T39 goal G843: points for congruent curves in 143601–143800 with Tunnell A = 2B
  (n = 143623, 143630, 143661, 143663, 143671, 143691, 143695, 143715, 143723, 143737, 143773, 143781, 143785, 143786, 143787), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints724
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (143623, true, 11904998497, 256, 795338526834705),
   (143630, true, 304495600, 43, 2599326689400),
   (143661, false, 16373469, 23, 300292017480),
   (143663, true, 1587624025, 6, 63258543621845),
   (143671, true, 5838433201225, 806, 14105515848804001155),
   (143691, true, 165483, 1, 33390792),
   (143695, true, 16518675625, 22, 2123043967357875),
   (143715, true, 59530185, 8, 453794494725),
   (143723, true, 511483862761, 370, 365532786856970259),
   (143737, true, 283018153, 41, 2479239020280),
   (143773, false, 137275, 1, 15833460),
   (143781, false, 4356, 1, 9485190),
   (143785, false, 37249, 5, 693725376),
   (143786, true, 209083833, 38, 356274618483),
   (143787, true, 20790525, 1, 94795516620)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints724

#print axioms CongruentPoints724.on_curve
#print axioms CongruentPoints724.indep
#print axioms CongruentPoints724.count

bsd/CongruentPoints725.lean

lean_all/bsd/CongruentPoints725.lean

/-
  bsd/CongruentPoints725.lean — T39 goal G843: points for congruent curves in 143801–144000 with Tunnell A = 2B
  (n = 143871, 143891, 143895, 143903, 143927, 143934, 143951, 143970, 143995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints725
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (143871, true, 15702337, 8, 50401758239),
   (143891, false, 676783, 8, 7555484889),
   (143895, true, 39920775887521, 14665, 159339930836270781556),
   (143903, false, 1459264, 5, 3972299016),
   (143927, false, 9209263, 16, 108264681945),
   (143934, true, 236992, 1, 91656656),
   (143951, true, 894025089841, 1153, 825733500863303760),
   (143970, true, 144150, 1, 2734200),
   (143995, true, 1166445, 1, 1250148900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints725

#print axioms CongruentPoints725.on_curve
#print axioms CongruentPoints725.indep
#print axioms CongruentPoints725.count

bsd/CongruentPoints726.lean

lean_all/bsd/CongruentPoints726.lean

/-
  bsd/CongruentPoints726.lean — T39 goal G844: points for congruent curves in 144001–144200 with Tunnell A = 2B
  (n = 144003, 144006, 144007, 144015, 144030, 144079, 144102, 144105, 144118, 144129, 144142, 144155, 144159, 144194), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints726
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (144003, true, 847872, 1, 769377600),
   (144006, false, 10443, 1, 14677371),
   (144007, true, 2207413658900641, 69630, 98386733989276599504311),
   (144015, false, 219615, 2, 249571575),
   (144030, true, 11016150, 1, 36560122200),
   (144079, true, 199001270181961, 37145, 128356103220446081916),
   (144102, false, 382689506, 65, 9263267304472),
   (144105, true, 471900, 1, 308686950),
   (144118, true, 1465100, 1, 1764775740),
   (144129, true, 1133335761, 71, 29282187258360),
   (144142, true, 208658, 1, 68915280),
   (144155, true, 216237025, 38, 860957383575),
   (144159, true, 194574601, 33, 1603448430220),
   (144194, false, 82944, 1, 33969600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints726

#print axioms CongruentPoints726.on_curve
#print axioms CongruentPoints726.indep
#print axioms CongruentPoints726.count

bsd/CongruentPoints727.lean

lean_all/bsd/CongruentPoints727.lean

/-
  bsd/CongruentPoints727.lean — T39 goal G844: points for congruent curves in 144201–144400 with Tunnell A = 2B
  (n = 144205, 144245, 144246, 144251, 144274, 144291, 144313, 144335, 144337, 144358, 144391, 144395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints727
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (144205, true, 345845, 1, 184862700),
   (144245, true, 7423683864124878025, 2840282, 19976859572666894106085980675),
   (144246, false, 2485242, 37, 311284268352),
   (144251, true, 98155700090206201, 352576, 30234470175374566804488435),
   (144274, false, 55133438, 21, 235791974816),
   (144291, true, 166341, 1, 33754140),
   (144313, true, 104142025, 18, 949630265155),
   (144335, true, 167268730225, 507, 66706358084843300),
   (144337, false, 47, 12, 142491545),
   (144358, true, 1315442, 1, 1499603880),
   (144391, true, 284220543919, 129, 151519203653102740),
   (144395, false, 67514510239, 688, 2765867294209041)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints727

#print axioms CongruentPoints727.on_curve
#print axioms CongruentPoints727.indep
#print axioms CongruentPoints727.count

bsd/CongruentPoints728.lean

lean_all/bsd/CongruentPoints728.lean

/-
  bsd/CongruentPoints728.lean — T39 goal G844: points for congruent curves in 144401–144600 with Tunnell A = 2B
  (n = 144449, 144490, 144530, 144547, 144551, 144565, 144571, 144578, 144587, 144590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints728
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (144449, true, 75181888221001, 15345, 581355073025556035876),
   (144490, false, 4747210, 7, 11444565600),
   (144530, true, 2213444695225, 2964, 2697371989871259475),
   (144547, true, 12682819554900625, 40386, 1428067291981127514859025),
   (144551, true, 597529, 2, 116518155),
   (144565, true, 1650209036245225, 32802, 66737587078754648326675),
   (144571, false, 204687, 2, 244691937),
   (144578, true, 185150, 1, 49768320),
   (144587, false, 3905759, 60, 1028660922289),
   (144590, true, 579121, 2, 22585719)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints728

#print axioms CongruentPoints728.on_curve
#print axioms CongruentPoints728.indep
#print axioms CongruentPoints728.count

bsd/CongruentPoints729.lean

lean_all/bsd/CongruentPoints729.lean

/-
  bsd/CongruentPoints729.lean — T39 goal G844: points for congruent curves in 144601–144800 with Tunnell A = 2B
  (n = 144606, 144607, 144622, 144649, 144653, 144658, 144677, 144686, 144690, 144705, 144770, 144771), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints729
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (144606, false, 61347, 1, 32433687),
   (144607, true, 1116225, 1, 1169370840),
   (144622, true, 1539072, 1, 1900914240),
   (144649, false, 64365218071, 1039, 36094058477436960),
   (144653, true, 52865505625, 332, 11589093915264675),
   (144658, false, 5690999, 150, 7764590661499),
   (144677, false, 9477, 1, 14054040),
   (144686, true, 421362, 1, 256885776),
   (144690, true, 1376410, 3, 523035800),
   (144705, false, 28274895, 14, 11822810175),
   (144770, true, 1090445, 1, 1128610575),
   (144771, true, 2718177, 4, 2345010129)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints729

#print axioms CongruentPoints729.on_curve
#print axioms CongruentPoints729.indep
#print axioms CongruentPoints729.count

bsd/CongruentPoints73.lean

lean_all/bsd/CongruentPoints73.lean

/-
  bsd/CongruentPoints73.lean — T39 goal G128: points for congruent curves in 13801–14000 with Tunnell A = 2B
  (n = 13801, 13826, 13830, 13838, 13841, 13845, 13846, 13855, 13871, 13886, 13890, 13895, 13921, 13926, 13930, 13949, 13951, 13974, 13981), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints73
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (13801, true, 65499653041, 2178, 524507102717185),
   (13826, true, 833776, 1, 761227320),
   (13830, false, 576, 1, 331632),
   (13838, true, 78450274, 75, 86590096768),
   (13841, true, 6556595542225, 10192, 16380098914991831655),
   (13845, true, 786396, 7, 352698606),
   (13846, false, 139167, 4, 64302063),
   (13855, true, 243049, 3, 102851632),
   (13871, true, 1590121, 7, 1812737940),
   (13886, true, 1819066, 9, 1928209960),
   (13890, true, 1286214, 5, 1404545688),
   (13895, true, 3940225, 3, 7817406400),
   (13921, true, 332813795761825921, 4832760, 41011205518078176682406719),
   (13926, true, 18150, 1, 1568160),
   (13930, true, 2673566, 11, 3393360936),
   (13949, false, 139876, 5, 119471682),
   (13951, true, 61925824801, 593, 15361745995245600),
   (13974, false, 776258, 19, 4391646616),
   (13981, true, 151900, 3, 33164110)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints73

#print axioms CongruentPoints73.on_curve
#print axioms CongruentPoints73.indep
#print axioms CongruentPoints73.count

bsd/CongruentPoints730.lean

lean_all/bsd/CongruentPoints730.lean

/-
  bsd/CongruentPoints730.lean — T39 goal G844: points for congruent curves in 144801–145000 with Tunnell A = 2B
  (n = 144809, 144826, 144849, 144866, 144879, 144919, 144929, 144935, 144969, 144970), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints730
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (144809, true, 159607, 1, 26813976),
   (144826, true, 1133638, 1, 1197121728),
   (144849, true, 24719560903129, 12945, 23261050120522722508),
   (144866, true, 137159069910305041, 957474, 12694703839771433644977625),
   (144879, false, 11272527, 11, 45075504348),
   (144919, true, 266397402769, 995, 115852868267302728),
   (144929, false, 603729, 5, 2775888444),
   (144935, true, 1050625, 1, 1066594500),
   (144969, true, 21999132, 11, 62271242406),
   (144970, true, 178605, 1, 44088975)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints730

#print axioms CongruentPoints730.on_curve
#print axioms CongruentPoints730.indep
#print axioms CongruentPoints730.count

bsd/CongruentPoints731.lean

lean_all/bsd/CongruentPoints731.lean

/-
  bsd/CongruentPoints731.lean — T39 goal G844: points for congruent curves in 145001–145200 with Tunnell A = 2B
  (n = 145005, 145010, 145015, 145030, 145039, 145061, 145093, 145167, 145173), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints731
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (145005, true, 394425994945921, 49946, 3122744163874825294169),
   (145010, true, 24902418025, 196, 3830137941561525),
   (145015, true, 67647902335, 591, 11662793517384100),
   (145030, false, 20, 7, 31781100),
   (145039, true, 16329288631071025, 44923, 2086320943845562221942660),
   (145061, false, 9460772, 9, 21432846322),
   (145093, false, 2304324, 25, 137612533674),
   (145167, true, 3645609, 5, 660186648),
   (145173, true, 151900, 1, 17422930)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints731

#print axioms CongruentPoints731.on_curve
#print axioms CongruentPoints731.indep
#print axioms CongruentPoints731.count

bsd/CongruentPoints732.lean

lean_all/bsd/CongruentPoints732.lean

/-
  bsd/CongruentPoints732.lean — T39 goal G844: points for congruent curves in 145201–145400 with Tunnell A = 2B
  (n = 145202, 145254, 145255, 145257, 145265, 145266, 145299, 145362, 145371, 145390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints732
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (145202, true, 498002, 1, 336166320),
   (145254, false, 94178, 1, 33937064),
   (145255, true, 970225, 2, 765359775),
   (145257, true, 145044928, 27, 1193751780760),
   (145265, true, 602691943546225, 56876, 9264664209121090012425),
   (145266, true, 468813, 1, 305197263),
   (145299, true, 734349, 1, 616853160),
   (145362, false, 8803886, 25, 268299191888),
   (145371, true, 490821, 1, 328434120),
   (145390, false, 303831, 2, 273334347)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints732

#print axioms CongruentPoints732.on_curve
#print axioms CongruentPoints732.indep
#print axioms CongruentPoints732.count

bsd/CongruentPoints733.lean

lean_all/bsd/CongruentPoints733.lean

/-
  bsd/CongruentPoints733.lean — T39 goal G844: points for congruent curves in 145401–145600 with Tunnell A = 2B
  (n = 145403, 145405, 145410, 145435, 145439, 145446, 145515, 145535, 145574), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints733
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (145403, true, 322362913, 36, 4695954981425),
   (145405, true, 135652893277048225, 398286, 49234875810154155785494025),
   (145410, true, 171610, 1, 37754200),
   (145435, true, 721458665, 4, 19378266388875),
   (145439, true, 187489, 1, 51232560),
   (145446, false, 30246, 1, 24742080),
   (145515, true, 329725, 1, 169898300),
   (145535, true, 201956590940, 1061, 53069828087977350),
   (145574, true, 6736106, 5, 14711655504)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints733

#print axioms CongruentPoints733.on_curve
#print axioms CongruentPoints733.indep
#print axioms CongruentPoints733.count

bsd/CongruentPoints734.lean

lean_all/bsd/CongruentPoints734.lean

/-
  bsd/CongruentPoints734.lean — T39 goal G844: points for congruent curves in 145601–145800 with Tunnell A = 2B
  (n = 145605, 145610, 145635, 145649, 145670, 145695, 145705, 145731, 145743, 145754, 145761), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints734
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (145605, true, 154275, 1, 20027700),
   (145610, true, 13665610, 1, 50514828000),
   (145635, false, 5357259, 11, 38856532464),
   (145649, true, 10782953281, 137, 1083132025890720),
   (145670, false, 336350, 3, 734892200),
   (145695, true, 25208095, 13, 27122718700),
   (145705, true, 5917455625, 188, 224218450321125),
   (145731, true, 17251996, 5, 70040999294),
   (145743, true, 113634213927, 733, 27758617254515160),
   (145754, false, 278516, 15, 17306626148),
   (145761, false, 52983, 1, 31256316)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints734

#print axioms CongruentPoints734.on_curve
#print axioms CongruentPoints734.indep
#print axioms CongruentPoints734.count

bsd/CongruentPoints735.lean

lean_all/bsd/CongruentPoints735.lean

/-
  bsd/CongruentPoints735.lean — T39 goal G844: points for congruent curves in 145801–146000 with Tunnell A = 2B
  (n = 145815, 145826, 145859, 145865, 145882, 145957, 145977, 145981, 145982), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints735
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (145815, true, 71869447432225, 18889, 420347744314003074700),
   (145826, true, 3904555308846481, 138138, 171152570522989243998055),
   (145859, false, 32849375, 24, 443192548175),
   (145865, true, 143505185803225, 24147, 1384647285544968538700),
   (145882, true, 2867062, 3, 4315682800),
   (145957, true, 379746397933, 1263, 184870024870871060),
   (145977, true, 151355100, 7, 1859987688390),
   (145981, true, 45616288861, 145, 9720634981755984),
   (145982, true, 1134018, 1, 1197571200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints735

#print axioms CongruentPoints735.on_curve
#print axioms CongruentPoints735.indep
#print axioms CongruentPoints735.count

bsd/CongruentPoints736.lean

lean_all/bsd/CongruentPoints736.lean

/-
  bsd/CongruentPoints736.lean — T39 goal G845: points for congruent curves in 146001–146200 with Tunnell A = 2B
  (n = 146010, 146049, 146055, 146095, 146109, 146154, 146165, 146166, 146190, 146198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints736
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (146010, true, 246490, 1, 98596000),
   (146049, false, 2692881, 41, 402854997600),
   (146055, true, 45150858480, 193, 9524083514645700),
   (146095, true, 332145, 1, 171910200),
   (146109, false, 24538628, 19, 231284309626),
   (146154, true, 231852, 1, 86664276),
   (146165, true, 208444, 1, 67848522),
   (146166, false, 118061274603, 1901, 176903338696195221),
   (146190, true, 38769610, 1, 241398218600),
   (146198, false, 20835828, 31, 634221702660)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints736

#print axioms CongruentPoints736.on_curve
#print axioms CongruentPoints736.indep
#print axioms CongruentPoints736.count

bsd/CongruentPoints737.lean

lean_all/bsd/CongruentPoints737.lean

/-
  bsd/CongruentPoints737.lean — T39 goal G845: points for congruent curves in 146201–146400 with Tunnell A = 2B
  (n = 146206, 146258, 146285, 146302, 146305, 146310, 146335, 146341), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints737
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (146206, true, 51070189688281, 6200, 362748303769507926429),
   (146258, true, 1666350, 1, 2142742560),
   (146285, true, 5607763225, 126, 382231780345675),
   (146302, true, 1424293, 3, 648053315),
   (146305, false, 17661145, 11, 5107056600),
   (146310, true, 500082337225, 1848, 14464329789240325),
   (146335, true, 2157961, 3, 2511202616),
   (146341, false, 137917, 1, 18172908)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints737

#print axioms CongruentPoints737.on_curve
#print axioms CongruentPoints737.indep
#print axioms CongruentPoints737.count

bsd/CongruentPoints738.lean

lean_all/bsd/CongruentPoints738.lean

/-
  bsd/CongruentPoints738.lean — T39 goal G845: points for congruent curves in 146401–146600 with Tunnell A = 2B
  (n = 146415, 146433, 146447, 146471, 146489, 146546, 146595), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints738
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (146415, true, 3682669225, 39, 223073788989700),
   (146433, true, 314608, 1, 156183580),
   (146447, true, 1756029025, 89, 55245070553520),
   (146471, true, 12411620598169, 8517, 22602202602654214540),
   (146489, true, 2976466249, 103, 138494413174440),
   (146546, true, 7457522, 7, 5496676464),
   (146595, true, 16467505, 8, 54919129175)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints738

#print axioms CongruentPoints738.on_curve
#print axioms CongruentPoints738.indep
#print axioms CongruentPoints738.count

bsd/CongruentPoints739.lean

lean_all/bsd/CongruentPoints739.lean

/-
  bsd/CongruentPoints739.lean — T39 goal G845: points for congruent curves in 146601–146800 with Tunnell A = 2B
  (n = 146605, 146630, 146653, 146666, 146671, 146685, 146705, 146710, 146733, 146734, 146746, 146753, 146789), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints739
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (146605, true, 219250358481025, 10842, 3236419064096876673575),
   (146630, false, 109120, 131, 831223100400),
   (146653, true, 1967173, 3, 2045859920),
   (146666, false, 18829226, 17, 164782057440),
   (146671, false, 19663, 1, 20381256),
   (146685, true, 28967565, 7, 151032321000),
   (146705, false, 92416, 1, 34636848),
   (146710, true, 63305365, 7, 500428910325),
   (146733, true, 2199529252561, 1870, 3172076388339875441),
   (146734, true, 613312, 1, 466361616),
   (146746, false, 114242, 33, 54014074568),
   (146753, true, 65476531347049, 18305, 349840543905573474468),
   (146789, true, 312468702121, 1290, 108921251477714419)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints739

#print axioms CongruentPoints739.on_curve
#print axioms CongruentPoints739.indep
#print axioms CongruentPoints739.count

bsd/CongruentPoints74.lean

lean_all/bsd/CongruentPoints74.lean

/-
  bsd/CongruentPoints74.lean — T39 goal G87: points for analytic-rank-1 congruent curves n ≤ 1200 that had none
  (n = 103, 118, 142, 166, 191, 197, 213, 223, 237, 262, 271, 309, 326, 359, 383, 413, 421, 431, 437, 439, 463, 493, 501, 526, 589, 638, 679, 685, 742, 767, 1191), found by the C quartic search bsd_quartic.c (box 6·10⁴, Kamiak a2_quart1 31938100;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints74
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (103, true, 16332534559428025, 3453823, 2081363685506152106939880),
   (118, false, 1394025602, 3531, 17559310380200),
   (142, false, 11649004151, 49590, 37668574106458757),
   (166, false, 203253122, 1881, 7856071604632),
   (191, true, 789685245763654321, 10173863, 701527812575741617269925680),
   (197, true, 392290477717831225, 10192154, 245369125615489159282350885),
   (213, true, 25212603, 313, 71051011200),
   (223, true, 65327147412770421025, 404888833, 437591122821989436578479057920),
   (237, false, 5349865323, 5023, 195374469310020),
   (262, false, 33276482, 1233, 2289682528120),
   (271, true, 100949664286641361, 17200847, 19487539350324469321096080),
   (309, true, 4286746803, 3169, 193635413384868),
   (326, false, 4531329602, 3729, 8703313028648),
   (359, true, 6605583524617081, 10721, 536867090106645612556200),
   (383, true, 707493235575025, 510503, 18630207299116484874480),
   (413, false, 108154329275, 30209, 118736486528204460),
   (421, true, 190531197037391784025, 189819882, 2621611517193799111787005901035),
   (431, true, 196453266379179121, 21001553, 21966589508828885024417040),
   (437, true, 47634995779, 7065, 9242519635091708),
   (439, true, 114033766843477321, 7978481, 37333750875628495063712040),
   (463, true, 1304479999119339025, 46954033, 927668063333341411768356720),
   (493, true, 29455355156640625, 3026946, 4995497128995191609849375),
   (501, true, 770017323, 1153, 10723023328248),
   (526, true, 57009842, 329, 22083727056),
   (589, true, 419174371, 617, 7251000889440),
   (638, true, 53031338998, 2561, 12174263223045000),
   (679, true, 45757824389209, 36239, 309467873363677674360),
   (685, true, 69445776113692225, 3760398, 18121852163356587076941575),
   (742, false, 4725814023, 4334, 901360838974995),
   (767, true, 2937767154575929, 1822825, 79207987299579603349092),
   (1191, true, 2940955054904162209, 43476026, 3245407240927060474284690505)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 31 := rfl

end CongruentPoints74

#print axioms CongruentPoints74.on_curve
#print axioms CongruentPoints74.indep
#print axioms CongruentPoints74.count

bsd/CongruentPoints740.lean

lean_all/bsd/CongruentPoints740.lean

/-
  bsd/CongruentPoints740.lean — T39 goal G845: points for congruent curves in 146801–147000 with Tunnell A = 2B
  (n = 146809, 146851, 146855, 146879, 146885, 146890, 146910, 146938, 146965, 146985, 146991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints740
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (146809, false, 27376463, 96, 7077744703639),
   (146851, true, 1043651, 1, 1055578440),
   (146855, true, 1630729, 3, 1219785292),
   (146879, false, 421919, 17, 27570880560),
   (146885, true, 404944989330025, 32234, 7547911880487676068525),
   (146890, true, 18741610, 9, 62688152800),
   (146910, false, 2558535, 16, 60017748525),
   (146938, true, 58236838, 7, 441013578720),
   (146965, true, 138464235, 29, 734475842100),
   (146985, true, 180625, 1, 44616500),
   (146991, true, 19994242801, 358, 947107419591905)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints740

#print axioms CongruentPoints740.on_curve
#print axioms CongruentPoints740.indep
#print axioms CongruentPoints740.count

bsd/CongruentPoints741.lean

lean_all/bsd/CongruentPoints741.lean

/-
  bsd/CongruentPoints741.lean — T39 goal G845: points for congruent curves in 147001–147200 with Tunnell A = 2B
  (n = 147005, 147010, 147035, 147041, 147063, 147071, 147095, 147110, 147126, 147134, 147171), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints741
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (147005, true, 214245, 1, 72139500),
   (147010, true, 92341801, 6, 885896657099),
   (147035, true, 15494748977569, 8964, 39461459806542633103),
   (147041, true, 584030210558089, 33761, 13520455708269682012140),
   (147063, true, 65737161, 20, 237902785659),
   (147071, true, 3351136321, 101, 173467175276460),
   (147095, true, 10824678876308089, 77154, 1122527514161134796278213),
   (147110, true, 17642860, 7, 67638475500),
   (147126, true, 202914313, 34, 1576469416123),
   (147134, false, 948506, 3, 899938520),
   (147171, false, 63504, 1, 33456780)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints741

#print axioms CongruentPoints741.on_curve
#print axioms CongruentPoints741.indep
#print axioms CongruentPoints741.count

bsd/CongruentPoints742.lean

lean_all/bsd/CongruentPoints742.lean

/-
  bsd/CongruentPoints742.lean — T39 goal G845: points for congruent curves in 147201–147400 with Tunnell A = 2B
  (n = 147201, 147223, 147238, 147239, 147241, 147246, 147259, 147262, 147279, 147295, 147334, 147371, 147373), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints742
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (147201, true, 61382817, 17, 346690150416),
   (147223, true, 3987291025, 134, 188487625524945),
   (147238, true, 9162734, 5, 25399098648),
   (147239, true, 262841807761, 868, 122164037452720185),
   (147241, false, 64009, 1, 33547800),
   (147246, false, 144342, 1, 11055528),
   (147259, true, 1330672, 3, 137391884),
   (147262, false, 20938, 1, 21092280),
   (147279, true, 166353, 1, 31546152),
   (147295, true, 625450081, 20, 15572324794479),
   (147334, false, 2119931, 5, 4385663997),
   (147371, false, 1240687, 4, 2233439943),
   (147373, true, 100601561981089, 19690, 830506049480382819063)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints742

#print axioms CongruentPoints742.on_curve
#print axioms CongruentPoints742.indep
#print axioms CongruentPoints742.count

bsd/CongruentPoints743.lean

lean_all/bsd/CongruentPoints743.lean

/-
  bsd/CongruentPoints743.lean — T39 goal G845: points for congruent curves in 147401–147600 with Tunnell A = 2B
  (n = 147435, 147478, 147495, 147559, 147565, 147570, 147574, 147585), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints743
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (147435, false, 44100, 1, 29543850),
   (147478, true, 218529076687441, 37370, 1079977395774716226489),
   (147495, true, 20548206858169, 7345, 85877759744256094928),
   (147559, true, 1136767374792361, 30861, 38033208758024476256260),
   (147565, false, 41130403415, 1342, 53248254496511475),
   (147570, true, 63336270, 7, 500760176400),
   (147574, false, 49668694, 41, 1712910720480),
   (147585, true, 66536730570025, 14911, 472148619810339168100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints743

#print axioms CongruentPoints743.on_curve
#print axioms CongruentPoints743.indep
#print axioms CongruentPoints743.count

bsd/CongruentPoints744.lean

lean_all/bsd/CongruentPoints744.lean

/-
  bsd/CongruentPoints744.lean — T39 goal G845: points for congruent curves in 147601–147800 with Tunnell A = 2B
  (n = 147611, 147617, 147630, 147658, 147682, 147721, 147729, 147730, 147742, 147777, 147791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints744
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (147611, false, 6284288, 93, 3200423112224),
   (147617, true, 578619458957500801, 760305, 435326110140980816890280576),
   (147630, true, 189525, 1, 51740325),
   (147658, false, 36624159, 40, 1412468231889),
   (147682, true, 1696482, 1, 2201263680),
   (147721, true, 1330672, 3, 64711556),
   (147729, true, 160189851228, 767, 53858166324856938),
   (147730, true, 148720, 1, 6606600),
   (147742, true, 4799780059398025, 114818, 303921876451659628835205),
   (147777, false, 203391, 5, 1663617852),
   (147791, false, 271663, 8, 4927924071)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints744

#print axioms CongruentPoints744.on_curve
#print axioms CongruentPoints744.indep
#print axioms CongruentPoints744.count

bsd/CongruentPoints745.lean

lean_all/bsd/CongruentPoints745.lean

/-
  bsd/CongruentPoints745.lean — T39 goal G845: points for congruent curves in 147801–148000 with Tunnell A = 2B
  (n = 147805, 147806, 147815, 147819, 147890, 147895, 147929, 147934, 147966, 147977), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints745
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (147805, false, 51005, 1, 31330200),
   (147806, true, 570493225, 62, 1229466593355),
   (147815, true, 257695323769, 783, 122459696489828672),
   (147819, true, 388470621, 47, 4147755283980),
   (147890, false, 3085726, 5, 3577631232),
   (147895, false, 143055, 1, 14193300),
   (147929, false, 10000, 13, 2499999900),
   (147934, true, 1211913, 2, 1164312507),
   (147966, true, 926718, 1, 880671168),
   (147977, true, 26462433547225, 5383, 134328169677209135160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints745

#print axioms CongruentPoints745.on_curve
#print axioms CongruentPoints745.indep
#print axioms CongruentPoints745.count

bsd/CongruentPoints746.lean

lean_all/bsd/CongruentPoints746.lean

/-
  bsd/CongruentPoints746.lean — T39 goal G846: points for congruent curves in 148001–148200 with Tunnell A = 2B
  (n = 148045, 148065, 148070, 148071, 148114, 148155, 148161, 148170, 148174), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints746
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (148045, true, 176861811205, 949, 48869491265583000),
   (148065, false, 42689535, 17, 19221678000),
   (148070, true, 4543434025, 132, 252085137589675),
   (148071, true, 53409653913, 586, 3777527650217013),
   (148114, false, 1667741351, 210, 257905425863107),
   (148155, true, 151725, 1, 12744900),
   (148161, true, 58227273, 19, 175613455368),
   (148170, false, 772475, 3, 955376675),
   (148174, false, 89182539, 25, 235685846709)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints746

#print axioms CongruentPoints746.on_curve
#print axioms CongruentPoints746.indep
#print axioms CongruentPoints746.count

bsd/CongruentPoints747.lean

lean_all/bsd/CongruentPoints747.lean

/-
  bsd/CongruentPoints747.lean — T39 goal G846: points for congruent curves in 148201–148400 with Tunnell A = 2B
  (n = 148206, 148214, 148215, 148234, 148241, 148242, 148247, 148278, 148285, 148310, 148335, 148349, 148390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints747
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (148206, false, 62475, 1, 33591915),
   (148214, true, 802582, 1, 706641936),
   (148215, true, 1311025, 1, 1491499900),
   (148234, true, 146191193, 14, 1732332096573),
   (148241, true, 10268278190895169, 197795, 858652010276196450991572),
   (148242, true, 59074437, 19, 192287292435),
   (148247, true, 4767685827012665881, 772835, 10408461378983206923452446596),
   (148278, true, 281876478, 43, 1099318264200),
   (148285, true, 21009235, 7, 90355168800),
   (148310, true, 204490, 1, 63663600),
   (148335, true, 4218775, 1, 8659861100),
   (148349, false, 465124, 5, 2509380126),
   (148390, false, 31454291, 15, 62796548177)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints747

#print axioms CongruentPoints747.on_curve
#print axioms CongruentPoints747.indep
#print axioms CongruentPoints747.count

bsd/CongruentPoints748.lean

lean_all/bsd/CongruentPoints748.lean

/-
  bsd/CongruentPoints748.lean — T39 goal G846: points for congruent curves in 148401–148600 with Tunnell A = 2B
  (n = 148434, 148461, 148506, 148566), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints748
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (148434, false, 4774068, 7, 11989197324),
   (148461, false, 159570483, 37, 1590093664956),
   (148506, false, 267438, 71, 387143728344),
   (148566, true, 453750, 1, 288802800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 4 := rfl

end CongruentPoints748

#print axioms CongruentPoints748.on_curve
#print axioms CongruentPoints748.indep
#print axioms CongruentPoints748.count

bsd/CongruentPoints749.lean

lean_all/bsd/CongruentPoints749.lean

/-
  bsd/CongruentPoints749.lean — T39 goal G846: points for congruent curves in 148601–148800 with Tunnell A = 2B
  (n = 148601, 148610, 148614, 148630, 148673, 148681, 148694, 148695, 148722, 148733, 148741, 148774), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints749
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (148601, true, 1316893045138441, 49203, 45970968306141780684740),
   (148610, true, 4693374, 1, 10162719168),
   (148614, true, 284350, 1, 129270680),
   (148630, true, 161482401, 32, 685809043599),
   (148673, true, 346665145617, 589, 201838695626726340),
   (148681, true, 724215968610121, 57960, 14112775610051883807419),
   (148694, true, 29228992, 11, 124537427664),
   (148695, true, 646585545, 47, 14161895395200),
   (148722, true, 804972, 1, 709789500),
   (148733, false, 67600, 1, 34445580),
   (148741, true, 18053109, 7, 70176942240),
   (148774, false, 181510850, 57, 6035620923640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints749

#print axioms CongruentPoints749.on_curve
#print axioms CongruentPoints749.indep
#print axioms CongruentPoints749.count

bsd/CongruentPoints75.lean

lean_all/bsd/CongruentPoints75.lean

/-
  bsd/CongruentPoints75.lean — T39 goal G87: points for analytic-rank-1 congruent curves in 1001–1200 that had none
  (n = 1199), found by the C quartic search bsd_quartic.c (box 10⁵, Kamiak a2_quart6 31936255;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints75
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1199, true, 5099748309398012393929, 131497961, 364182879110612674216335750959700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 1 := rfl

end CongruentPoints75

#print axioms CongruentPoints75.on_curve
#print axioms CongruentPoints75.indep
#print axioms CongruentPoints75.count

bsd/CongruentPoints750.lean

lean_all/bsd/CongruentPoints750.lean

/-
  bsd/CongruentPoints750.lean — T39 goal G846: points for congruent curves in 148801–149000 with Tunnell A = 2B
  (n = 148818, 148827, 148890, 148902, 148903, 148915, 148929, 148962, 148969, 148971, 148985), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints750
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (148818, false, 98192, 9, 3777149080),
   (148827, true, 174748, 1, 38284190),
   (148890, false, 600635, 3, 928347875),
   (148902, true, 30513525, 1, 168551802405),
   (148903, false, 636804, 5, 2926826994),
   (148915, true, 689585, 2, 288521025),
   (148929, false, 9537, 1, 14514192),
   (148962, true, 1503162, 1, 1833857640),
   (148969, true, 280803548281, 857, 137040712547135880),
   (148971, true, 1906887381, 31, 83034807055200),
   (148985, true, 24416495103025, 12681, 23272518057981777100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints750

#print axioms CongruentPoints750.on_curve
#print axioms CongruentPoints750.indep
#print axioms CongruentPoints750.count

bsd/CongruentPoints751.lean

lean_all/bsd/CongruentPoints751.lean

/-
  bsd/CongruentPoints751.lean — T39 goal G846: points for congruent curves in 149001–149200 with Tunnell A = 2B
  (n = 149005, 149006, 149039, 149063, 149070, 149073, 149089, 149090, 149110, 149131, 149142, 149145, 149186, 149189), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints751
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (149005, true, 62366794480225, 7878, 487082503233925925975),
   (149006, false, 135252, 1, 22995492),
   (149039, true, 2363612689, 82, 104071997822865),
   (149063, true, 3907362657025, 4477, 4977546294983895120),
   (149070, true, 183750, 1, 46053000),
   (149073, true, 3399375, 1, 6261532200),
   (149089, false, 11236, 1, 15758490),
   (149090, false, 73984, 1, 35207136),
   (149110, false, 17768890, 11, 13190301600),
   (149131, true, 257372, 1, 106416366),
   (149142, false, 103043856, 35, 1531459375272),
   (149145, true, 72931905, 1, 622838468700),
   (149186, true, 1043210478915361, 68724, 24847426607224872487375),
   (149189, true, 120462443929, 158, 41789756544312075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints751

#print axioms CongruentPoints751.on_curve
#print axioms CongruentPoints751.indep
#print axioms CongruentPoints751.count

bsd/CongruentPoints752.lean

lean_all/bsd/CongruentPoints752.lean

/-
  bsd/CongruentPoints752.lean — T39 goal G846: points for congruent curves in 149201–149400 with Tunnell A = 2B
  (n = 149215, 149226, 149245, 149270, 149357, 149362, 149370, 149395), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints752
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (149215, false, 148225, 1, 6606600),
   (149226, true, 917301, 1, 866849445),
   (149245, true, 118048225, 22, 1014441309975),
   (149270, false, 94529655, 26, 343233860475),
   (149357, false, 61893, 1, 33816900),
   (149362, true, 58400542, 3, 446180140880),
   (149370, true, 34325226, 5, 199910116224),
   (149395, true, 167445, 1, 30945300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints752

#print axioms CongruentPoints752.on_curve
#print axioms CongruentPoints752.indep
#print axioms CongruentPoints752.count

bsd/CongruentPoints753.lean

lean_all/bsd/CongruentPoints753.lean

/-
  bsd/CongruentPoints753.lean — T39 goal G846: points for congruent curves in 149401–149600 with Tunnell A = 2B
  (n = 149406, 149421, 149430, 149437, 149489, 149495, 149506, 149511, 149545, 149574), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints753
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (149406, false, 124394, 1, 29187080),
   (149421, false, 363, 1, 2846844),
   (149430, true, 350263920, 23, 6386186921400),
   (149437, true, 1468125, 1, 1769632200),
   (149489, true, 2503803245985334225, 372232, 3961735128849662651347550745),
   (149495, true, 331052545, 9, 6019420411900),
   (149506, true, 289100, 1, 133043820),
   (149511, true, 3396900412, 41, 197438690386034),
   (149545, true, 4593655, 1, 9840276600),
   (149574, false, 578, 1, 3595976)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints753

#print axioms CongruentPoints753.on_curve
#print axioms CongruentPoints753.indep
#print axioms CongruentPoints753.count

bsd/CongruentPoints754.lean

lean_all/bsd/CongruentPoints754.lean

/-
  bsd/CongruentPoints754.lean — T39 goal G846: points for congruent curves in 149601–149800 with Tunnell A = 2B
  (n = 149606, 149611, 149630, 149669, 149674, 149685, 149710, 149726, 149739, 149795), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints754
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (149606, true, 179056, 1, 41630520),
   (149611, true, 5727964, 1, 13704153870),
   (149630, false, 87547850, 31, 1067328997800),
   (149669, true, 10826309, 5, 33427035252),
   (149674, false, 21008162, 43, 1264801520472),
   (149685, false, 4335, 4, 157685625),
   (149710, false, 18490, 1, 20201400),
   (149726, false, 43, 1, 981819),
   (149739, false, 9458975, 12, 59594626385),
   (149795, true, 477405, 1, 313202400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints754

#print axioms CongruentPoints754.on_curve
#print axioms CongruentPoints754.indep
#print axioms CongruentPoints754.count

bsd/CongruentPoints755.lean

lean_all/bsd/CongruentPoints755.lean

/-
  bsd/CongruentPoints755.lean — T39 goal G846: points for congruent curves in 149801–150000 with Tunnell A = 2B
  (n = 149807, 149819, 149838, 149843, 149870, 149910, 149929, 149934, 149937, 149951, 149977, 149995), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints755
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (149807, true, 1491446836266244225, 1194537, 1802621426936111945784100360),
   (149819, true, 1139025393, 76, 24996027645897),
   (149838, false, 78650, 1, 35767160),
   (149843, true, 8905450973477809, 243670, 36736374118227082040127),
   (149870, true, 6662742656640625, 52392, 542812892108547137584375),
   (149910, true, 526965, 1, 366730875),
   (149929, true, 23890087, 7, 111110566944),
   (149934, false, 2511654, 5, 4409594856),
   (149937, true, 141390591, 25, 1258941822264),
   (149951, true, 33051603601, 457, 1920964124461200),
   (149977, true, 314175625, 23, 5388278477400),
   (149995, true, 262205, 1, 110126100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints755

#print axioms CongruentPoints755.on_curve
#print axioms CongruentPoints755.indep
#print axioms CongruentPoints755.count

bsd/CongruentPoints756.lean

lean_all/bsd/CongruentPoints756.lean

/-
  bsd/CongruentPoints756.lean — T39 goal G847: points for congruent curves in 150001–150200 with Tunnell A = 2B
  (n = 150033, 150045, 150065, 150079, 150094, 150095, 150126, 150186, 150198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints756
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (150033, false, 975, 1, 4684680),
   (150045, true, 50334268609, 234, 11141195083599673),
   (150065, false, 1225, 1, 5252100),
   (150079, false, 2747583, 56, 780124632351),
   (150094, true, 572630958, 23, 13570526986848),
   (150095, true, 34907831641225, 3498, 205959776714425117475),
   (150126, false, 4359942, 19, 112795958088),
   (150186, true, 4961388, 1, 11046017268),
   (150198, true, 534252, 1, 374748660)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints756

#print axioms CongruentPoints756.on_curve
#print axioms CongruentPoints756.indep
#print axioms CongruentPoints756.count

bsd/CongruentPoints757.lean

lean_all/bsd/CongruentPoints757.lean

/-
  bsd/CongruentPoints757.lean — T39 goal G847: points for congruent curves in 150201–150400 with Tunnell A = 2B
  (n = 150202, 150213, 150215, 150226, 150249, 150265, 150285, 150290, 150307, 150311, 150314, 150361, 150365, 150370), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints757
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (150202, false, 307448336, 275, 199098522885288),
   (150213, false, 70557284, 785, 777530859069986),
   (150215, true, 88795060225, 369, 25748076960257300),
   (150226, true, 3011058, 1, 5218401552),
   (150249, false, 67766852, 171, 36162695744702),
   (150265, false, 11025, 1, 15735300),
   (150285, true, 57583350885, 103, 13812709080935700),
   (150290, false, 10620974, 9, 19387191824),
   (150307, false, 357204479, 60, 7681803671681),
   (150311, true, 11025210001, 122, 1133573514410415),
   (150314, true, 5316305569, 2, 387627785473455),
   (150361, true, 10608440717371225, 159432, 1019265381045753422388445),
   (150365, false, 20164, 13, 3608458134),
   (150370, false, 99275, 3, 425257525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints757

#print axioms CongruentPoints757.on_curve
#print axioms CongruentPoints757.indep
#print axioms CongruentPoints757.count

bsd/CongruentPoints758.lean

lean_all/bsd/CongruentPoints758.lean

/-
  bsd/CongruentPoints758.lean — T39 goal G847: points for congruent curves in 150401–150600 with Tunnell A = 2B
  (n = 150414, 150415, 150447, 150465, 150470, 150501, 150510, 150519, 150535, 150545, 150546, 150574, 150585, 150591), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints758
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (150414, true, 1112364, 1, 1162420380),
   (150415, false, 4489, 1, 10073316),
   (150447, false, 27753, 1, 24633180),
   (150465, true, 24940085940025, 2438, 124470807617028839525),
   (150470, true, 27611245, 9, 130187020175),
   (150501, false, 150212, 1, 3613078),
   (150510, false, 13076409140, 947, 15362502148040300),
   (150519, false, 42538713, 149, 21793191917364),
   (150535, true, 175329, 1, 37637292),
   (150545, true, 2755198497146241721, 258066, 4573266014663238968795789531),
   (150546, false, 11154, 1, 15855840),
   (150574, false, 482217422, 431, 614131574533008),
   (150585, true, 6188182225, 199, 130034329003700),
   (150591, false, 263099375, 263, 168900851457800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints758

#print axioms CongruentPoints758.on_curve
#print axioms CongruentPoints758.indep
#print axioms CongruentPoints758.count

bsd/CongruentPoints759.lean

lean_all/bsd/CongruentPoints759.lean

/-
  bsd/CongruentPoints759.lean — T39 goal G847: points for congruent curves in 150601–150800 with Tunnell A = 2B
  (n = 150654, 150665, 150679, 150717, 150735, 150745), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints759
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (150654, true, 151725, 1, 7009695),
   (150665, true, 31076220906025, 11644, 130551223343861858475),
   (150679, true, 354571192924, 1309, 144711100518294570),
   (150717, true, 277725, 1, 122933160),
   (150735, true, 597529, 1, 446951692),
   (150745, true, 71561817145, 158, 19117043046826725)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints759

#print axioms CongruentPoints759.on_curve
#print axioms CongruentPoints759.indep
#print axioms CongruentPoints759.count

bsd/CongruentPoints76.lean

lean_all/bsd/CongruentPoints76.lean

/-
  bsd/CongruentPoints76.lean — T39 goal G130: points for congruent curves in 14001–14200 with Tunnell A = 2B
  (n = 14003, 14007, 14030, 14035, 14061, 14070, 14089, 14091, 14093, 14110, 14111, 14119, 14126, 14133, 14151, 14154, 14170, 14186, 14190), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints76
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (14003, true, 444411, 5, 182504784),
   (14007, true, 525625, 3, 369955900),
   (14030, true, 258092739520225, 132818, 1175802310414840866225),
   (14035, true, 53235, 1, 11848200),
   (14061, true, 34262733981, 589, 6277493448423540),
   (14070, true, 314230, 1, 175968800),
   (14089, true, 50061387025, 1692, 6634449957088135),
   (14091, true, 226043125, 107, 2380469191100),
   (14093, true, 7010545441, 390, 558874366124489),
   (14110, true, 585565, 1, 447957225),
   (14111, true, 22422367081, 836, 3015343205721525),
   (14119, false, 26918647, 71, 341843151552),
   (14126, true, 70574, 1, 18369120),
   (14133, false, 112896, 5, 112493808),
   (14151, true, 1333491289, 245, 37537899780212),
   (14154, true, 4769898, 1, 10417457232),
   (14170, true, 16250, 1, 1014000),
   (14186, true, 1116225, 4, 1154670495),
   (14190, true, 18150, 1, 1524600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints76

#print axioms CongruentPoints76.on_curve
#print axioms CongruentPoints76.indep
#print axioms CongruentPoints76.count

bsd/CongruentPoints760.lean

lean_all/bsd/CongruentPoints760.lean

/-
  bsd/CongruentPoints760.lean — T39 goal G847: points for congruent curves in 150801–151000 with Tunnell A = 2B
  (n = 150805, 150807, 150815, 150823, 150838, 150854, 150866, 150870, 150897, 150909, 150955, 150971, 150974, 150990, 150994, 150997), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints760
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (150805, false, 67600, 1, 35049300),
   (150807, false, 65025, 1, 34697340),
   (150815, true, 151900, 1, 7063350),
   (150823, true, 12482475625, 217, 1146868487879400),
   (150838, true, 107321237, 7, 1109164984395),
   (150854, false, 1514051, 5, 4250145207),
   (150866, true, 18179353, 6, 73971787357),
   (150870, true, 17727225, 8, 62594831475),
   (150897, true, 81031689, 5, 728636947488),
   (150909, true, 154275, 1, 12588840),
   (150955, false, 651605, 3, 962317700),
   (150971, true, 620991099214249, 63566, 2896143644419212390285),
   (150974, false, 20752598, 13, 67618872456),
   (150990, true, 1566726, 1, 1951925976),
   (150994, true, 767783426337, 424, 672336205303658289),
   (150997, true, 4638172, 1, 9983665230)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints760

#print axioms CongruentPoints760.on_curve
#print axioms CongruentPoints760.indep
#print axioms CongruentPoints760.count

bsd/CongruentPoints761.lean

lean_all/bsd/CongruentPoints761.lean

/-
  bsd/CongruentPoints761.lean — T39 goal G847: points for congruent curves in 151001–151200 with Tunnell A = 2B
  (n = 151045, 151081, 151130, 151145, 151170, 151183), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints761
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (151045, true, 29910500509575625, 334686, 4265776346901680867055875),
   (151081, false, 476847, 4, 1636442073),
   (151130, true, 15035650, 3, 58062932200),
   (151145, true, 168551280, 23, 1926377261100),
   (151170, true, 453750, 1, 288189000),
   (151183, true, 222796657, 36, 1583078649335)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints761

#print axioms CongruentPoints761.on_curve
#print axioms CongruentPoints761.indep
#print axioms CongruentPoints761.count

bsd/CongruentPoints762.lean

lean_all/bsd/CongruentPoints762.lean

/-
  bsd/CongruentPoints762.lean — T39 goal G847: points for congruent curves in 151201–151400 with Tunnell A = 2B
  (n = 151206, 151215, 151242, 151257, 151262, 151270, 151286, 151305, 151307, 151341, 151351, 151387), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints762
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (151206, true, 1450200477, 83, 38423264265639),
   (151215, false, 36015, 1, 27871200),
   (151242, false, 85683, 1, 36481185),
   (151257, true, 80065372, 23, 25420755610),
   (151262, false, 596250, 11, 14125337400),
   (151270, false, 20, 1, 676500),
   (151286, false, 138338, 3, 503800696),
   (151305, true, 172480, 1, 34388200),
   (151307, false, 116443178591, 3900, 784311595649058673),
   (151341, true, 32012205832489, 4910, 179942680322511100237),
   (151351, true, 218233994835025, 36367, 1284278877711581167260),
   (151387, true, 101010332, 17, 915024416670)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints762

#print axioms CongruentPoints762.on_curve
#print axioms CongruentPoints762.indep
#print axioms CongruentPoints762.count

bsd/CongruentPoints763.lean

lean_all/bsd/CongruentPoints763.lean

/-
  bsd/CongruentPoints763.lean — T39 goal G847: points for congruent curves in 151401–151600 with Tunnell A = 2B
  (n = 151409, 151415, 151422, 151466, 151529, 151530, 151547, 151554, 151570, 151590, 151599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints763
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (151409, false, 76144250983, 3073, 393984055357021284),
   (151415, true, 72131133930025, 12198, 581962041398168607475),
   (151422, false, 111747, 1, 34158105),
   (151466, true, 281613150, 43, 495548977560),
   (151529, true, 17929477801, 337, 673730920916040),
   (151530, false, 151230, 1, 3706200),
   (151547, false, 136367, 6, 2014043185),
   (151554, true, 9924525, 7, 20741595615),
   (151570, true, 99884630, 13, 964885525800),
   (151590, true, 8236390, 7, 10213123600),
   (151599, false, 176967, 2, 243990747)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints763

#print axioms CongruentPoints763.on_curve
#print axioms CongruentPoints763.indep
#print axioms CongruentPoints763.count

bsd/CongruentPoints764.lean

lean_all/bsd/CongruentPoints764.lean

/-
  bsd/CongruentPoints764.lean — T39 goal G847: points for congruent curves in 151601–151800 with Tunnell A = 2B
  (n = 151630, 151646, 151679, 151707, 151715, 151721, 151759, 151769, 151790), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints764
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (151630, false, 130331, 1, 27976797),
   (151646, true, 57034652432641, 19348, 41607251075147476095),
   (151679, true, 23692721745289, 1679, 115305943449520751580),
   (151707, true, 1547655349173024961, 2563080, 1473020078820433230005492959),
   (151715, true, 48457771, 17, 143628833244),
   (151721, true, 14596782525951025, 309969, 90682527007634460847660),
   (151759, true, 908209, 1, 853354320),
   (151769, true, 2870222442844849, 12789, 153764857984004230485320),
   (151790, false, 7083734, 17, 115221795864)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints764

#print axioms CongruentPoints764.on_curve
#print axioms CongruentPoints764.indep
#print axioms CongruentPoints764.count

bsd/CongruentPoints765.lean

lean_all/bsd/CongruentPoints765.lean

/-
  bsd/CongruentPoints765.lean — T39 goal G847: points for congruent curves in 151801–152000 with Tunnell A = 2B
  (n = 151810, 151845, 151885, 151886, 151951, 151970, 151986), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints765
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (151810, true, 20313964, 9, 72877269212),
   (151845, true, 23201916, 11, 68248435914),
   (151885, true, 85839947050225, 5886, 793810121253905310175),
   (151886, true, 2147544133, 111, 48820718454893),
   (151951, false, 141376, 1, 20941320),
   (151970, true, 1478750, 1, 1788696000),
   (151986, true, 23713615650, 299, 2992802858033760)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints765

#print axioms CongruentPoints765.on_curve
#print axioms CongruentPoints765.indep
#print axioms CongruentPoints765.count

bsd/CongruentPoints766.lean

lean_all/bsd/CongruentPoints766.lean

/-
  bsd/CongruentPoints766.lean — T39 goal G848: points for congruent curves in 152001–152200 with Tunnell A = 2B
  (n = 152009, 152031, 152051, 152086, 152095, 152098, 152106, 152107, 152133, 152134, 152191), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints766
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (152009, true, 302588, 1, 143920062),
   (152031, true, 47209294729, 45, 10257275821010192),
   (152051, true, 4717079761, 6, 323973536934385),
   (152086, false, 74564182, 23, 260908375728),
   (152095, false, 116964, 1, 33250266),
   (152098, true, 1207867832798449, 9230, 41976297744335757434793),
   (152106, true, 225900, 1, 79381260),
   (152107, true, 8069293, 7, 8784298020),
   (152133, true, 23915076025, 22, 3698329402256795),
   (152134, false, 3579664, 5, 2431405416),
   (152191, true, 37978094793769, 7745, 227182730558764728228)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints766

#print axioms CongruentPoints766.on_curve
#print axioms CongruentPoints766.indep
#print axioms CongruentPoints766.count

bsd/CongruentPoints767.lean

lean_all/bsd/CongruentPoints767.lean

/-
  bsd/CongruentPoints767.lean — T39 goal G848: points for congruent curves in 152201–152400 with Tunnell A = 2B
  (n = 152205, 152214, 152222, 152234, 152295, 152302, 152306, 152313, 152327, 152355), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints767
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (152205, true, 184179, 1, 44507808),
   (152214, true, 1023414, 1, 1023810480),
   (152222, true, 133420756336, 65, 48733774755739416),
   (152234, false, 38452063, 16, 39339858831),
   (152295, true, 277255, 1, 121992200),
   (152302, true, 44124792303478441, 121690, 9256695116313497195359989),
   (152306, true, 4027122, 1, 8075721984),
   (152313, true, 90814773945880609, 766465, 4676471287759593542929148),
   (152327, true, 28952631985225, 8519, 143983930233685387560),
   (152355, false, 46389, 1, 31256316)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints767

#print axioms CongruentPoints767.on_curve
#print axioms CongruentPoints767.indep
#print axioms CongruentPoints767.count

bsd/CongruentPoints768.lean

lean_all/bsd/CongruentPoints768.lean

/-
  bsd/CongruentPoints768.lean — T39 goal G848: points for congruent curves in 152401–152600 with Tunnell A = 2B
  (n = 152401, 152418, 152430, 152445, 152481, 152546), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints768
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (152401, true, 208849, 1, 65259600),
   (152418, false, 1834602, 17, 59611222440),
   (152430, false, 33620, 1, 27260900),
   (152445, false, 114005, 1, 34171300),
   (152481, true, 153328, 1, 6301988),
   (152546, false, 25538, 1, 24033744)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints768

#print axioms CongruentPoints768.on_curve
#print axioms CongruentPoints768.indep
#print axioms CongruentPoints768.count

bsd/CongruentPoints769.lean

lean_all/bsd/CongruentPoints769.lean

/-
  bsd/CongruentPoints769.lean — T39 goal G848: points for congruent curves in 152601–152800 with Tunnell A = 2B
  (n = 152609, 152670, 152691, 152698, 152706), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints769
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (152609, true, 485537, 1, 321178416),
   (152670, true, 613470, 1, 465379200),
   (152691, true, 201243, 1, 58806468),
   (152698, false, 17219475, 19, 217297621905),
   (152706, false, 40778702, 29, 777662618768)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints769

#print axioms CongruentPoints769.on_curve
#print axioms CongruentPoints769.indep
#print axioms CongruentPoints769.count

bsd/CongruentPoints77.lean

lean_all/bsd/CongruentPoints77.lean

/-
  bsd/CongruentPoints77.lean — T39 goal G131: points for congruent curves in 14201–14400 with Tunnell A = 2B
  (n = 14209, 14214, 14245, 14271, 14273, 14281, 14289, 14321, 14322, 14326, 14335, 14351, 14367, 14385, 14393, 14394), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints77
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (14209, true, 356794321, 138, 4392652533425),
   (14214, true, 1105150, 1, 1161705160),
   (14245, false, 47242895, 1266, 156926824496225),
   (14271, true, 15975, 1, 907380),
   (14273, true, 924402303880225, 254129, 2118523266781074260640),
   (14281, false, 169, 1, 185640),
   (14289, true, 10018833, 17, 28893077928),
   (14321, false, 1521, 1, 555360),
   (14322, true, 380556, 5, 79536204),
   (14326, true, 142129, 2, 49034505),
   (14335, true, 628849, 6, 284965343),
   (14351, true, 83748308449, 2332, 8791646110647855),
   (14367, true, 6716483849580649, 461390, 490062513405036730022893),
   (14385, true, 18769, 1, 1651672),
   (14393, false, 603729, 65, 47247371556),
   (14394, true, 14406, 1, 70560)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints77

#print axioms CongruentPoints77.on_curve
#print axioms CongruentPoints77.indep
#print axioms CongruentPoints77.count

bsd/CongruentPoints770.lean

lean_all/bsd/CongruentPoints770.lean

/-
  bsd/CongruentPoints770.lean — T39 goal G848: points for congruent curves in 152801–153000 with Tunnell A = 2B
  (n = 152813, 152830, 152845, 152859, 152862, 152886, 152889, 152930, 152990, 152997), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints770
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (152813, true, 1991691480529, 3390, 1325995383166738417),
   (152830, false, 8113475, 77, 2580929278425),
   (152845, false, 10414019, 9, 21605418296),
   (152859, true, 16443261, 5, 64852221384),
   (152862, true, 106697676, 25, 490702611924),
   (152886, false, 2511414, 7, 11184980400),
   (152889, true, 284089, 1, 127621520),
   (152930, true, 77290289, 20, 415324631337),
   (152990, false, 15210, 1, 18774600),
   (152997, true, 1200276025, 86, 13867582495195)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints770

#print axioms CongruentPoints770.on_curve
#print axioms CongruentPoints770.indep
#print axioms CongruentPoints770.count

bsd/CongruentPoints771.lean

lean_all/bsd/CongruentPoints771.lean

/-
  bsd/CongruentPoints771.lean — T39 goal G848: points for congruent curves in 153001–153200 with Tunnell A = 2B
  (n = 153010, 153011, 153049, 153053, 153066, 153069, 153085, 153095, 153142, 153169, 153183, 153195), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints771
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (153010, true, 204490, 1, 61347000),
   (153011, true, 7693533, 7, 4786064088),
   (153049, false, 1825201, 5, 4543186032),
   (153053, true, 3120825042279025, 62582, 171096619632458785931745),
   (153066, true, 206082, 1, 62641224),
   (153069, true, 153328, 1, 3488212),
   (153085, true, 742077228250512025, 609546, 637373787597448036777038475),
   (153095, false, 40401, 1, 29681268),
   (153142, true, 2540623801969201, 69570, 122488205221789505873801),
   (153169, false, 461041, 17, 30054875760),
   (153183, false, 152100, 1, 7091370),
   (153195, true, 44702301, 17, 41304926124)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints771

#print axioms CongruentPoints771.on_curve
#print axioms CongruentPoints771.indep
#print axioms CongruentPoints771.count

bsd/CongruentPoints772.lean

lean_all/bsd/CongruentPoints772.lean

/-
  bsd/CongruentPoints772.lean — T39 goal G848: points for congruent curves in 153201–153400 with Tunnell A = 2B
  (n = 153230, 153231, 153255, 153258, 153265, 153294, 153301, 153330, 153331, 153335, 153374, 153381), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints772
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (153230, true, 26366704, 11, 96261793992),
   (153231, true, 10284596569, 226, 676660898341675),
   (153255, true, 295252500720, 1013, 135779366081425500),
   (153258, true, 1564458, 1, 1947385440),
   (153265, true, 507964, 1, 345161538),
   (153294, true, 168432, 1, 28641096),
   (153301, true, 283146947, 41, 1974100514484),
   (153330, true, 183750, 1, 43407000),
   (153331, true, 1618803, 1, 2050378512),
   (153335, true, 4855275224838025, 86991, 328511125882816594377400),
   (153374, false, 92776346, 27, 601054185160),
   (153381, false, 116444387, 87, 12464466352532)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints772

#print axioms CongruentPoints772.on_curve
#print axioms CongruentPoints772.indep
#print axioms CongruentPoints772.count

bsd/CongruentPoints773.lean

lean_all/bsd/CongruentPoints773.lean

/-
  bsd/CongruentPoints773.lean — T39 goal G848: points for congruent curves in 153401–153600 with Tunnell A = 2B
  (n = 153417, 153426, 153430, 153439, 153454, 153502, 153510, 153546), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints773
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (153417, true, 75942537, 17, 537300708120),
   (153426, true, 21556353, 2, 100043034273),
   (153430, true, 1320180266461225, 76982, 34777054584718223798475),
   (153439, true, 231361, 1, 83289960),
   (153454, true, 160178, 1, 18379152),
   (153502, false, 1150, 1, 5205360),
   (153510, true, 277440, 1, 121726800),
   (153546, true, 4171333, 1, 8513690653)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints773

#print axioms CongruentPoints773.on_curve
#print axioms CongruentPoints773.indep
#print axioms CongruentPoints773.count

bsd/CongruentPoints774.lean

lean_all/bsd/CongruentPoints774.lean

/-
  bsd/CongruentPoints774.lean — T39 goal G848: points for congruent curves in 153601–153800 with Tunnell A = 2B
  (n = 153614, 153649, 153655, 153665, 153677, 153681, 153695, 153697, 153745, 153777, 153798), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints774
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (153614, true, 299538, 1, 140737968),
   (153649, true, 6822716393089, 2231, 17708850028497768240),
   (153655, true, 47817436, 13, 277651942134),
   (153665, false, 784, 1, 4302564),
   (153677, false, 15785711, 60, 2197184798087),
   (153681, true, 467313, 1, 301687848),
   (153695, true, 16434452655, 263, 1606684360148400),
   (153697, false, 627264, 25, 76078392984),
   (153745, false, 7056, 1, 12900972),
   (153777, false, 2340975, 79, 1468394207280),
   (153798, false, 15123, 1, 18821745)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints774

#print axioms CongruentPoints774.on_curve
#print axioms CongruentPoints774.indep
#print axioms CongruentPoints774.count

bsd/CongruentPoints775.lean

lean_all/bsd/CongruentPoints775.lean

/-
  bsd/CongruentPoints775.lean — T39 goal G848: points for congruent curves in 153801–154000 with Tunnell A = 2B
  (n = 153821, 153823, 153835, 153845, 153861, 153866, 153870, 153874, 153881, 153890, 153894, 153957), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints775
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (153821, true, 181081926725, 509, 75167840122252080),
   (153823, true, 773001432025, 873, 671765350006878020),
   (153835, true, 11975499414390625, 272708, 387273779525920787780625),
   (153845, true, 3522787394281, 3312, 5803901900492074379),
   (153861, true, 1217307, 1, 1332303336),
   (153866, true, 359948, 1, 195228348),
   (153870, true, 298374, 1, 139639032),
   (153874, true, 4165589, 5, 3261656187),
   (153881, true, 1956487, 3, 1933009156),
   (153890, true, 37787520221, 181, 7279849279307319),
   (153894, false, 301788942, 47, 2718643053672),
   (153957, true, 1976475, 1, 2770227360)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints775

#print axioms CongruentPoints775.on_curve
#print axioms CongruentPoints775.indep
#print axioms CongruentPoints775.count

bsd/CongruentPoints776.lean

lean_all/bsd/CongruentPoints776.lean

/-
  bsd/CongruentPoints776.lean — T39 goal G851: points for congruent curves in 154001–154200 with Tunnell A = 2B
  (n = 154009, 154010, 154015, 154039, 154049, 154070, 154110, 154119, 154122, 154146, 154174, 154193, 154198), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints776
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (154009, true, 11859427801, 17, 1291494451436280),
   (154010, false, 7005690, 7, 7425194400),
   (154015, true, 24922510140025, 12519, 30970328997837448900),
   (154039, true, 69356909449, 671, 146670234170640),
   (154049, true, 3895612, 3, 7185456334),
   (154070, false, 3396391, 14, 55299166077),
   (154110, true, 640090, 1, 497043800),
   (154119, true, 436527, 1, 269840844),
   (154122, true, 381121878, 49, 1780621919280),
   (154146, true, 193821, 1, 51728265),
   (154174, false, 38313652, 17, 140785918572),
   (154193, true, 15494700377, 92, 1921891026762915),
   (154198, true, 6666374, 5, 14042460432)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints776

#print axioms CongruentPoints776.on_curve
#print axioms CongruentPoints776.indep
#print axioms CongruentPoints776.count

bsd/CongruentPoints777.lean

lean_all/bsd/CongruentPoints777.lean

/-
  bsd/CongruentPoints777.lean — T39 goal G851: points for congruent curves in 154201–154400 with Tunnell A = 2B
  (n = 154201, 154218, 154230, 154245, 154249, 154289, 154290, 154294, 154354), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints777
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (154201, false, 89401, 1, 37566360),
   (154218, true, 9356268, 1, 28615080780),
   (154230, false, 112896, 1, 35306208),
   (154245, false, 47982480, 31, 971492967900),
   (154249, false, 15179328, 137, 11279342769816),
   (154289, false, 19600, 1, 21425460),
   (154290, true, 347500, 1, 183549500),
   (154294, false, 14212879978, 337, 1221910213060944),
   (154354, false, 7561661150, 1221, 19999688158832480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints777

#print axioms CongruentPoints777.on_curve
#print axioms CongruentPoints777.indep
#print axioms CongruentPoints777.count

bsd/CongruentPoints778.lean

lean_all/bsd/CongruentPoints778.lean

/-
  bsd/CongruentPoints778.lean — T39 goal G851: points for congruent curves in 154401–154600 with Tunnell A = 2B
  (n = 154401, 154411, 154473, 154479, 154511, 154513, 154518, 154535, 154581, 154583), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints778
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (154401, false, 1648656, 5, 4481459172),
   (154411, true, 8567613, 1, 25073745732),
   (154473, true, 752433, 2, 372454335),
   (154479, true, 224670121, 18, 3282951710285),
   (154511, true, 45323392030225, 5313, 303712979644178843320),
   (154513, true, 75517788025, 658, 9628055462357445),
   (154518, true, 184093, 1, 42936985),
   (154535, true, 3897110976654025, 5373, 243284183475810831136900),
   (154581, false, 3884228, 7, 12815847766),
   (154583, true, 8586383, 7, 11849208540)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints778

#print axioms CongruentPoints778.on_curve
#print axioms CongruentPoints778.indep
#print axioms CongruentPoints778.count

bsd/CongruentPoints779.lean

lean_all/bsd/CongruentPoints779.lean

/-
  bsd/CongruentPoints779.lean — T39 goal G851: points for congruent curves in 154601–154800 with Tunnell A = 2B
  (n = 154614, 154622, 154682, 154695, 154734, 154767, 154771, 154774, 154786, 154798), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints779
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (154614, false, 2820866, 5, 4438460152),
   (154622, true, 1694173, 3, 1257700535),
   (154682, true, 1916882, 1, 2645297160),
   (154695, false, 99225, 1, 37384200),
   (154734, false, 341961222, 61, 8565860794392),
   (154767, false, 75433583, 24, 412594832825),
   (154771, true, 2343566150414449, 40238, 112802524975733691845535),
   (154774, false, 28048275, 17, 184531032495),
   (154786, true, 43186870365205332481, 16285052, 88175083379427600983308239105),
   (154798, true, 255150, 1, 102453120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints779

#print axioms CongruentPoints779.on_curve
#print axioms CongruentPoints779.indep
#print axioms CongruentPoints779.count

bsd/CongruentPoints78.lean

lean_all/bsd/CongruentPoints78.lean

/-
  bsd/CongruentPoints78.lean — T39 goal G132: points for congruent curves in 14401–14600 with Tunnell A = 2B
  (n = 14413, 14421, 14430, 14442, 14446, 14449, 14462, 14469, 14477, 14495, 14527, 14529, 14531, 14539, 14541, 14554, 14567, 14593), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints78
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (14413, true, 955376, 5, 864854124),
   (14421, true, 52371, 1, 11521620),
   (14430, true, 231361, 4, 7172191),
   (14442, true, 26892, 1, 3720060),
   (14446, false, 753424, 13, 2015678280),
   (14449, true, 16555543005039025, 986328, 1125372157886596532213015),
   (14462, true, 14939246, 5, 57725246544),
   (14469, false, 413681271, 446, 57930605668125),
   (14477, false, 4175359, 20, 8198914689),
   (14495, true, 41471286025, 189, 8444761783517800),
   (14527, true, 1660155025, 119, 67121687111520),
   (14529, true, 17052, 1, 1165626),
   (14531, false, 13093091, 31, 17568023880),
   (14539, true, 8044288, 9, 22569758288),
   (14541, true, 201243, 1, 90041868),
   (14554, true, 58482, 1, 13697784),
   (14567, false, 22743, 23, 1162111440),
   (14593, false, 4225, 1, 907920)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints78

#print axioms CongruentPoints78.on_curve
#print axioms CongruentPoints78.indep
#print axioms CongruentPoints78.count

bsd/CongruentPoints780.lean

lean_all/bsd/CongruentPoints780.lean

/-
  bsd/CongruentPoints780.lean — T39 goal G851: points for congruent curves in 154801–155000 with Tunnell A = 2B
  (n = 154815, 154830, 154835, 154882, 154886, 154887, 154910, 154986, 154990), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints780
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (154815, true, 223260, 1, 76009050),
   (154830, true, 22400809561, 344, 1928942208156509),
   (154835, true, 48215619, 5, 333716370972),
   (154882, true, 978650, 1, 955945320),
   (154886, true, 20902214, 7, 89040887760),
   (154887, true, 375002491632, 1481, 97240516356209220),
   (154910, true, 50079366764, 25, 11206949926493412),
   (154986, false, 61347, 1, 35252217),
   (154990, true, 512824867390, 741, 362151091104387200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints780

#print axioms CongruentPoints780.on_curve
#print axioms CongruentPoints780.indep
#print axioms CongruentPoints780.count

bsd/CongruentPoints781.lean

lean_all/bsd/CongruentPoints781.lean

/-
  bsd/CongruentPoints781.lean — T39 goal G851: points for congruent curves in 155001–155200 with Tunnell A = 2B
  (n = 155006, 155015, 155057, 155062, 155129, 155130, 155141, 155166, 155170, 155181, 155185), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints781
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (155006, true, 225694, 1, 77933520),
   (155015, true, 168560, 1, 27180300),
   (155057, true, 245392225, 7, 3842226233040),
   (155062, true, 128884689, 20, 1282617754137),
   (155129, true, 2234132704491769, 119894, 6487344343222368627195),
   (155130, false, 1530150, 121, 2809528473600),
   (155141, true, 1181503129, 66, 33312595184245),
   (155166, true, 158466, 1, 12806640),
   (155170, true, 16946405, 1, 69758665725),
   (155181, true, 389077, 1, 222552044),
   (155185, true, 9124483648009800625, 1207284, 27553639260498093712963723625)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints781

#print axioms CongruentPoints781.on_curve
#print axioms CongruentPoints781.indep
#print axioms CongruentPoints781.count

bsd/CongruentPoints782.lean

lean_all/bsd/CongruentPoints782.lean

/-
  bsd/CongruentPoints782.lean — T39 goal G851: points for congruent curves in 155201–155400 with Tunnell A = 2B
  (n = 155210, 155213, 155245, 155271, 155274, 155285, 155290, 155305, 155309, 155390), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints782
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (155210, true, 2350726, 3, 2898780976),
   (155213, true, 2544619835850625, 24794, 128271103373116107620775),
   (155245, true, 167445, 1, 25674900),
   (155271, true, 118854890952904129, 96018, 40972652893865564223322105),
   (155274, true, 752703203380969, 67488, 7070051406095740593035),
   (155285, false, 100589840, 27, 520812386900),
   (155290, false, 32400, 13, 4723918200),
   (155305, true, 36162727225, 482, 461854042616475),
   (155309, true, 499059, 1, 335049000),
   (155390, true, 16428249, 10, 21610258557)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints782

#print axioms CongruentPoints782.on_curve
#print axioms CongruentPoints782.indep
#print axioms CongruentPoints782.count

bsd/CongruentPoints783.lean

lean_all/bsd/CongruentPoints783.lean

/-
  bsd/CongruentPoints783.lean — T39 goal G851: points for congruent curves in 155401–155600 with Tunnell A = 2B
  (n = 155414, 155431, 155454, 155490, 155527, 155530, 155554, 155589), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints783
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (155414, false, 1942114, 5, 4689644616),
   (155431, true, 211120567, 23, 2825373822264),
   (155454, true, 309819822, 37, 3963215163024),
   (155490, true, 237705885, 13, 3642418528425),
   (155527, true, 748225, 2, 359596935),
   (155530, false, 9720033986, 3515, 189449370428978088),
   (155554, true, 1877922, 1, 2564609664),
   (155589, true, 8995053, 1, 26973705492)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints783

#print axioms CongruentPoints783.on_curve
#print axioms CongruentPoints783.indep
#print axioms CongruentPoints783.count

bsd/CongruentPoints784.lean

lean_all/bsd/CongruentPoints784.lean

/-
  bsd/CongruentPoints784.lean — T39 goal G851: points for congruent curves in 155601–155800 with Tunnell A = 2B
  (n = 155614, 155617, 155618, 155630, 155641, 155685, 155694, 155701, 155730), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints784
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (155614, false, 19678329350, 689, 9988467561098040),
   (155617, true, 1566103, 3, 877017680),
   (155618, false, 7650, 1, 13594560),
   (155630, true, 887682394, 75, 4381039655272),
   (155641, false, 644364527, 423, 706731215587172),
   (155685, false, 244731, 59, 268099029828),
   (155694, true, 565068, 1, 408325428),
   (155701, true, 28850041609, 230, 4696315976928477),
   (155730, true, 5419404, 1, 12610953108)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints784

#print axioms CongruentPoints784.on_curve
#print axioms CongruentPoints784.indep
#print axioms CongruentPoints784.count

bsd/CongruentPoints785.lean

lean_all/bsd/CongruentPoints785.lean

/-
  bsd/CongruentPoints785.lean — T39 goal G851: points for congruent curves in 155801–156000 with Tunnell A = 2B
  (n = 155805, 155806, 155811, 155814, 155838, 155846, 155855, 155870, 155899, 155930, 155946, 155955, 155958, 155971, 155985, 155986, 155991), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints785
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (155805, false, 1310309, 3, 571635064),
   (155806, false, 32798, 1, 27584544),
   (155811, true, 98927856, 23, 544142673900),
   (155814, true, 212268, 1, 66414348),
   (155838, true, 1507650, 1, 1841273280),
   (155846, false, 19604, 1, 21647340),
   (155855, true, 6359867432995729, 170699, 355077079990624389437292),
   (155870, true, 1544530, 3, 803155600),
   (155899, false, 515871, 140, 2194673662383),
   (155930, false, 19220, 1569, 53217229057300),
   (155946, false, 13254, 5, 448833456),
   (155955, true, 1974025, 2, 2631375325),
   (155958, true, 637593, 2, 105202845),
   (155971, true, 20181361631063095681, 8582040, 74541496520607242606116788671),
   (155985, false, 125889135, 31, 913066030800),
   (155986, true, 673486, 1, 537675600),
   (155991, true, 111628823881, 171, 37265045528505340)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints785

#print axioms CongruentPoints785.on_curve
#print axioms CongruentPoints785.indep
#print axioms CongruentPoints785.count

bsd/CongruentPoints786.lean

lean_all/bsd/CongruentPoints786.lean

/-
  bsd/CongruentPoints786.lean — T39 goal G855: points for congruent curves in 156001–156200 with Tunnell A = 2B
  (n = 156005, 156026, 156029, 156045, 156054, 156145, 156165, 156170), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints786
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (156005, true, 295245, 1, 136201500),
   (156026, true, 2441897, 2, 3689113611),
   (156029, true, 333770797441, 1364, 95165643372575295),
   (156045, true, 231931121611225, 9876, 3524531677901541437725),
   (156054, true, 65464653, 1, 529674507423),
   (156145, false, 11587455, 14, 96422646375),
   (156165, true, 33637941, 13, 120962035836),
   (156170, true, 196630, 1, 52978800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints786

#print axioms CongruentPoints786.on_curve
#print axioms CongruentPoints786.indep
#print axioms CongruentPoints786.count

bsd/CongruentPoints787.lean

lean_all/bsd/CongruentPoints787.lean

/-
  bsd/CongruentPoints787.lean — T39 goal G855: points for congruent curves in 156201–156400 with Tunnell A = 2B
  (n = 156210, 156221, 156239, 156247, 156309, 156323, 156369, 156370, 156374, 156377, 156385), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints787
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (156210, true, 161290, 1, 16129000),
   (156221, true, 59183725, 9, 444777530120),
   (156239, false, 3887, 1, 9737832),
   (156247, true, 32357174161, 435, 2364924924019216),
   (156309, true, 157323, 1, 7073352),
   (156323, true, 179308890243, 179, 75898506613841100),
   (156369, true, 1229881, 1, 1352869100),
   (156370, false, 873620, 3, 1031268700),
   (156374, true, 42784854025, 412, 6940824998404635),
   (156377, true, 25260992, 11, 84115126200),
   (156385, false, 2030625, 13, 37550089500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints787

#print axioms CongruentPoints787.on_curve
#print axioms CongruentPoints787.indep
#print axioms CongruentPoints787.count

bsd/CongruentPoints788.lean

lean_all/bsd/CongruentPoints788.lean

/-
  bsd/CongruentPoints788.lean — T39 goal G855: points for congruent curves in 156401–156600 with Tunnell A = 2B
  (n = 156401, 156410, 156433, 156442, 156479, 156486, 156507, 156530, 156531, 156541, 156565, 156578, 156585), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints788
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (156401, true, 1203881809, 79, 24450009935520),
   (156410, false, 10000, 1, 15609000),
   (156433, false, 7471775, 7, 4677427560),
   (156442, false, 631774, 5, 3067840776),
   (156479, true, 452929, 1, 286051920),
   (156486, false, 33792, 1, 28087488),
   (156507, true, 808369810104025, 57362, 17716191560256698014805),
   (156530, false, 242119383066, 1721, 194545202531580648),
   (156531, false, 7517667, 7, 4170723768),
   (156541, true, 881573, 1, 814573452),
   (156565, false, 116964, 1, 35594334),
   (156578, true, 12298878, 7, 33710387040),
   (156585, false, 54665, 1, 34307000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints788

#print axioms CongruentPoints788.on_curve
#print axioms CongruentPoints788.indep
#print axioms CongruentPoints788.count

bsd/CongruentPoints789.lean

lean_all/bsd/CongruentPoints789.lean

/-
  bsd/CongruentPoints789.lean — T39 goal G855: points for congruent curves in 156601–156800 with Tunnell A = 2B
  (n = 156605, 156615, 156633, 156655, 156678, 156689, 156723, 156769, 156774, 156791), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints789
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (156605, true, 163805, 1, 19439400),
   (156615, true, 2328540, 1, 3545202150),
   (156633, true, 85386567, 1, 789011982360),
   (156655, true, 251006010025, 537, 123701864612486300),
   (156678, true, 1503378, 1, 1833288840),
   (156689, true, 1473715321, 95, 15925952897244),
   (156723, true, 4047141, 5, 2039759064),
   (156769, true, 148850047, 29, 842962047564),
   (156774, true, 401157, 1, 233874531),
   (156791, true, 55789022809, 7, 13177199695469160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints789

#print axioms CongruentPoints789.on_curve
#print axioms CongruentPoints789.indep
#print axioms CongruentPoints789.count

bsd/CongruentPoints79.lean

lean_all/bsd/CongruentPoints79.lean

/-
  bsd/CongruentPoints79.lean — T39 goal G133: points for congruent curves in 14601–14800 with Tunnell A = 2B
  (n = 14603, 14606, 14610, 14615, 14630, 14637, 14645, 14649, 14658, 14662, 14685, 14705, 14719, 14722, 14726, 14763, 14766, 14790, 14794), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints79
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (14603, true, 99188951203225, 25016, 983657331608525757885),
   (14606, false, 184777236, 113, 344186629500),
   (14610, false, 79350, 7, 200417400),
   (14615, true, 615636390625, 3081, 470618770946682500),
   (14630, true, 183920, 1, 78625800),
   (14637, true, 10201989, 5, 32564748888),
   (14645, false, 484, 1, 322014),
   (14649, true, 3764793, 16, 643779603),
   (14658, true, 3669708, 1, 7029813420),
   (14662, false, 4434242, 753, 17506236907880),
   (14685, true, 784179, 7, 276031008),
   (14705, false, 1936, 1, 641388),
   (14719, true, 18081, 1, 1412040),
   (14722, true, 801378, 7, 312448800),
   (14726, true, 1465237, 9, 1030061611),
   (14763, true, 8968323, 23, 13204130940),
   (14766, true, 24909, 1, 3166065),
   (14790, true, 4289100, 13, 7218555300),
   (14794, false, 909194, 49, 33858190080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints79

#print axioms CongruentPoints79.on_curve
#print axioms CongruentPoints79.indep
#print axioms CongruentPoints79.count

bsd/CongruentPoints790.lean

lean_all/bsd/CongruentPoints790.lean

/-
  bsd/CongruentPoints790.lean — T39 goal G855: points for congruent curves in 156801–157000 with Tunnell A = 2B
  (n = 156806, 156819, 156866, 156883, 156910, 156930, 156946, 156954, 156981), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints790
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (156806, true, 2176875649, 90, 82486104765857),
   (156819, false, 152100, 1, 14890590),
   (156866, false, 76176, 17, 12512241960),
   (156883, true, 18991100, 7, 75677634390),
   (156910, false, 7514, 31, 13071023784),
   (156930, false, 168111581591, 4646, 1387163672138886677),
   (156946, true, 169362, 1, 26194656),
   (156954, true, 214221, 1, 67479615),
   (156981, false, 133181796, 71, 9002162536290)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints790

#print axioms CongruentPoints790.on_curve
#print axioms CongruentPoints790.indep
#print axioms CongruentPoints790.count

bsd/CongruentPoints791.lean

lean_all/bsd/CongruentPoints791.lean

/-
  bsd/CongruentPoints791.lean — T39 goal G855: points for congruent curves in 157001–157200 with Tunnell A = 2B
  (n = 157009, 157017, 157042, 157066, 157071, 157093, 157097), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints791
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (157009, true, 106575498778681, 10922, 1083113057219298081765),
   (157017, true, 241352388203401225, 1239646, 2662982408660628440907235),
   (157042, true, 1182239473, 12, 40642341224905),
   (157066, false, 59150, 3, 343495880),
   (157071, true, 40814989372921, 10051, 240240734983206600400),
   (157093, true, 533263602001, 590, 387362315842958001),
   (157097, true, 3287922045564025, 70216, 183225067823410667407155)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints791

#print axioms CongruentPoints791.on_curve
#print axioms CongruentPoints791.indep
#print axioms CongruentPoints791.count

bsd/CongruentPoints792.lean

lean_all/bsd/CongruentPoints792.lean

/-
  bsd/CongruentPoints792.lean — T39 goal G855: points for congruent curves in 157201–157400 with Tunnell A = 2B
  (n = 157210, 157251, 157254, 157265, 157287, 157321, 157334, 157355, 157398), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints792
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (157210, false, 4143372831, 1204, 14666900909654097),
   (157251, true, 2752387, 3, 3916396484),
   (157254, false, 30246, 1, 26838000),
   (157265, true, 39753025, 3, 250483905100),
   (157287, true, 273397655953089889, 1068630, 107773023159431118833053463),
   (157321, true, 2614207874955625, 25848, 133554601216187628937525),
   (157334, true, 302674271846, 235, 166450169028353856),
   (157355, false, 156816, 1, 5153148),
   (157398, false, 157323, 1, 1927035)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints792

#print axioms CongruentPoints792.on_curve
#print axioms CongruentPoints792.indep
#print axioms CongruentPoints792.count

bsd/CongruentPoints793.lean

lean_all/bsd/CongruentPoints793.lean

/-
  bsd/CongruentPoints793.lean — T39 goal G855: points for congruent curves in 157401–157600 with Tunnell A = 2B
  (n = 157402, 157405, 157406, 157418, 157434, 157443, 157454, 157465, 157470, 157471, 157474, 157515, 157534, 157551, 157591), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints793
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (157402, false, 98, 1, 1558200),
   (157405, true, 39666697225, 502, 4892047074525),
   (157406, true, 16606333, 9, 43359135463),
   (157418, false, 460213879, 70, 13279507550331),
   (157434, true, 732108, 1, 611760708),
   (157443, false, 82264177424, 1555, 106611947871038324),
   (157454, true, 132576268, 29, 74375286348),
   (157465, false, 53361, 1, 34222188),
   (157470, true, 57186641974225, 4726, 431637304393361651975),
   (157471, true, 8023473, 4, 21577454697),
   (157474, true, 77612649919000381249, 21933968, 148480746853244997069529497825),
   (157515, false, 75615, 2, 172002825),
   (157534, true, 178850, 1, 35810880),
   (157551, false, 3560769, 5, 3177156996),
   (157591, true, 9697303, 1, 30193891728)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints793

#print axioms CongruentPoints793.on_curve
#print axioms CongruentPoints793.indep
#print axioms CongruentPoints793.count

bsd/CongruentPoints794.lean

lean_all/bsd/CongruentPoints794.lean

/-
  bsd/CongruentPoints794.lean — T39 goal G855: points for congruent curves in 157601–157800 with Tunnell A = 2B
  (n = 157601, 157605, 157607, 157610, 157638, 157645, 157683, 157695, 157697, 157705, 157751, 157759), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints794
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (157601, true, 160801, 1, 12799920),
   (157605, false, 20578926144, 797, 14054748107122296),
   (157607, true, 372229888, 21, 7055220728240),
   (157610, true, 1082410, 1, 1114125600),
   (157638, true, 64211212, 7, 510800191460),
   (157645, true, 121229005, 21, 1093485625100),
   (157683, true, 189998673716587129, 1085320, 17440631965648419183288883),
   (157695, false, 127449, 1, 33153876),
   (157697, true, 949375, 1, 912181200),
   (157705, true, 20968488025, 242, 2725939530828075),
   (157751, false, 20449, 1, 22368060),
   (157759, true, 114690793, 13, 1194619299888)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints794

#print axioms CongruentPoints794.on_curve
#print axioms CongruentPoints794.indep
#print axioms CongruentPoints794.count

bsd/CongruentPoints795.lean

lean_all/bsd/CongruentPoints795.lean

/-
  bsd/CongruentPoints795.lean — T39 goal G855: points for congruent curves in 157801–158000 with Tunnell A = 2B
  (n = 157805, 157809, 157814, 157830, 157863, 157865, 157879, 157890, 157929, 157935, 157937, 157945, 157961, 157967, 157998), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints795
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (157805, false, 3556996, 5, 3218264742),
   (157809, false, 6959504, 55, 1259215710956),
   (157814, true, 6086764, 1, 15011831220),
   (157830, false, 156816, 1, 7073352),
   (157863, true, 207029550025, 253, 94087212535030780),
   (157865, true, 1675712127049, 1717, 2083857891307321932),
   (157879, true, 16945778739458209, 58311, 2204825765950578957124220),
   (157890, true, 14578510, 3, 55398338000),
   (157929, true, 266603367, 7, 4351263813504),
   (157935, true, 288309933025, 1293, 62164371064231900),
   (157937, true, 1280955394849, 2845, 92490137229141132),
   (157945, true, 8773744, 3, 25644911572),
   (157961, true, 5869258344877225, 38632, 449287387369434568977045),
   (157967, true, 47726956225, 73, 10425047509443840),
   (157998, false, 422331, 5, 2552239053)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints795

#print axioms CongruentPoints795.on_curve
#print axioms CongruentPoints795.indep
#print axioms CongruentPoints795.count

bsd/CongruentPoints796.lean

lean_all/bsd/CongruentPoints796.lean

/-
  bsd/CongruentPoints796.lean — T39 goal G856: points for congruent curves in 158001–158200 with Tunnell A = 2B
  (n = 158002, 158046, 158059, 158070, 158129, 158179, 158195), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints796
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (158002, false, 112167, 2, 208307715),
   (158046, true, 2258368, 3, 2636080048),
   (158059, true, 5380771905525025, 175436, 168671107322565477086385),
   (158070, true, 178605, 1, 35139825),
   (158129, true, 2255256405396738769, 1538769, 3339832197373983540690933680),
   (158179, false, 87671699, 41, 2350470338880),
   (158195, true, 21493026025, 262, 2719233471213075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints796

#print axioms CongruentPoints796.on_curve
#print axioms CongruentPoints796.indep
#print axioms CongruentPoints796.count

bsd/CongruentPoints797.lean

lean_all/bsd/CongruentPoints797.lean

/-
  bsd/CongruentPoints797.lean — T39 goal G856: points for congruent curves in 158201–158400 with Tunnell A = 2B
  (n = 158249, 158254, 158259, 158286, 158289, 158326, 158345, 158361, 158385, 158394, 158395), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints797
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (158249, true, 4053609, 5, 1778183148),
   (158254, true, 186897974, 5, 2554521508632),
   (158259, true, 325925997, 17, 5825855793024),
   (158286, true, 15442434922, 41, 1918709351618696),
   (158289, true, 160113, 1, 9643032),
   (158326, true, 289132, 1, 130088244),
   (158345, true, 5256975025, 118, 346014203815425),
   (158361, false, 53361, 1, 34442100),
   (158385, true, 1252815, 1, 1391014800),
   (158394, true, 147074406, 1, 1783632605040),
   (158395, true, 16689645, 1, 68179072500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints797

#print axioms CongruentPoints797.on_curve
#print axioms CongruentPoints797.indep
#print axioms CongruentPoints797.count

bsd/CongruentPoints798.lean

lean_all/bsd/CongruentPoints798.lean

/-
  bsd/CongruentPoints798.lean — T39 goal G856: points for congruent curves in 158401–158600 with Tunnell A = 2B
  (n = 158413, 158430, 158431, 158543, 158574, 158585), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints798
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (158413, true, 12956130625, 66, 1472638429538425),
   (158430, false, 5018430, 31, 340885630800),
   (158431, false, 148225, 1, 21538440),
   (158543, false, 703423, 8, 8489638815),
   (158574, true, 229957, 1, 79860781),
   (158585, true, 6248249, 5, 12071617068)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints798

#print axioms CongruentPoints798.on_curve
#print axioms CongruentPoints798.indep
#print axioms CongruentPoints798.count

bsd/CongruentPoints799.lean

lean_all/bsd/CongruentPoints799.lean

/-
  bsd/CongruentPoints799.lean — T39 goal G856: points for congruent curves in 158601–158800 with Tunnell A = 2B
  (n = 158610, 158646, 158655, 158702, 158730, 158737, 158746, 158763, 158774, 158779, 158781, 158790), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints799
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (158610, true, 8221285, 7, 7686901475),
   (158646, true, 65203506, 19, 251685533160),
   (158655, true, 194145, 1, 49303800),
   (158702, true, 102402148096, 265, 32574380576706144),
   (158730, false, 30, 1, 869400),
   (158737, true, 4364584225, 83, 279149192987940),
   (158746, true, 429548, 1, 261594732),
   (158763, true, 99532059, 25, 77700838248),
   (158774, true, 447458, 1, 279838152),
   (158779, false, 40786283, 23, 468933568656),
   (158781, false, 144669, 1, 24890040),
   (158790, false, 70443264, 31, 1136123954784)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints799

#print axioms CongruentPoints799.on_curve
#print axioms CongruentPoints799.indep
#print axioms CongruentPoints799.count

bsd/CongruentPoints8.lean

lean_all/bsd/CongruentPoints8.lean

/-
  bsd/CongruentPoints8.lean — T39 goal G47: points for congruent curves in 1001–1200 with Tunnell A = 2B
  (n = 1003, 1005, 1006, 1007, 1015, 1021, 1022, 1023, 1030, 1037, 1038, 1045, 1046, 1047, 1054, 1055, 1057, 1073, 1077, 1079, 1081, 1085, 1086, 1094, 1095, 1101, 1103, 1105, 1110, 1111, 1113, 1118, 1119, 1122, 1126, 1131, 1133, 1135, 1145, 1146, 1151, 1154, 1155, 1158, 1159, 1165, 1166, 1169, 1173, 1178, 1185, 1186, 1189, 1190, 1195), found by the C quartic search bsd_quartic.c (box 1200, 3000 on  -- (+34 chars; full line in the Zenodo source)
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints8
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1003, true, 67473, 4, 17023545),
   (1005, false, 756605, 123, 13209078500),
   (1006, true, 10558660562, 119, 1084957802552784),
   (1007, true, 40065026348845596289, 58707075, 252646067579924682206975624788),
   (1015, true, 142129, 2, 53560767),
   (1021, true, 68932045138658641, 7820010, 7669301557908018993728689),
   (1022, true, 2178, 1, 89760),
   (1023, true, 1820843776, 375, 77454976279024),
   (1030, false, 32308820, 1327, 10307912061300),
   (1037, true, 605298997980625, 735278, 5614234378472594722575),
   (1038, true, 4489350, 47, 8177799960),
   (1045, true, 4225, 2, 39975),
   (1046, false, 4155619778, 4323, 1231339883675896),
   (1047, true, 80985285215664769, 6269390, 19849430747195798764860647),
   (1054, true, 16324898, 79, 60367541472),
   (1055, true, 123094254196225, 235258, 1202275439563150203225),
   (1057, true, 70225, 7, 12567360),
   (1073, true, 21025, 3, 2708020),
   (1077, true, 11560107, 47, 38463179040),
   (1079, true, 48841, 5, 8998236),
   (1081, true, 1369, 1, 31080),
   (1085, true, 607600, 23, 155393700),
   (1086, true, 393132, 1, 246493764),
   (1094, false, 146882, 33, 453109832),
   (1095, true, 133225, 3, 48493900),
   (1101, false, 36060267, 463, 1400666599332),
   (1103, true, 748225, 23, 405152160),
   (1105, true, 7225, 1, 606900),
   (1110, true, 13690, 3, 1095200),
   (1111, true, 10201, 3, 204020),
   (1113, true, 811801, 5, 731002924),
   (1118, false, 889850, 51, 2611502920),
   (1119, true, 3544474904122852921, 56058478, 836494311709489508671545755),
   (1122, true, 2178, 1, 87120),
   (1126, false, 7188947, 953, 2741865212847),
   (1131, true, 48841, 6, 5961475),
   (1133, false, 934078475, 14513, 7293444048981420),
   (1135, true, 100514760747025, 275067, 523692637763500610900),
   (1145, true, 555025, 22, 22808175),
   (1146, true, 5202, 1, 365976),
   (1151, true, 31487991800970721, 744527, 5586351698782279311476640),
   (1154, true, 665858, 1, 543340128),
   (1155, true, 2205, 1, 88200),
   (1158, true, 931225, 24, 627086915),
   (1159, true, 93025, 6, 25358615),
   (1165, true, 1459517691025, 24366, 1552682608080692975),
   (1166, false, 3511475, 229, 114392351535),
   (1169, true, 12943, 1, 1466472),
   (1173, false, 50175908, 273, 507104800210),
   (1178, true, 1900, 1, 64980),
   (1185, true, 15625, 1, 1947500),
   (1186, true, 206082, 7, 89756736),
   (1189, true, 5972971225, 1518, 410190858337195),
   (1190, true, 41650, 1, 8496600),
   (1195, true, 3645, 1, 207900)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 55 := rfl

end CongruentPoints8

#print axioms CongruentPoints8.on_curve
#print axioms CongruentPoints8.indep
#print axioms CongruentPoints8.count

bsd/CongruentPoints80.lean

lean_all/bsd/CongruentPoints80.lean

/-
  bsd/CongruentPoints80.lean — T39 goal G134: points for congruent curves in 14801–15000 with Tunnell A = 2B
  (n = 14807, 14818, 14835, 14838, 14861, 14890, 14893, 14910, 14911, 14915, 14929, 14934, 14938, 14946, 14959, 14965, 14978, 14989, 14991), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints80
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (14807, true, 1221025, 9, 252996380),
   (14818, true, 310000, 1, 172403400),
   (14835, true, 31740, 1, 4999050),
   (14838, true, 475212, 1, 327430620),
   (14861, false, 155407, 4, 70943817),
   (14890, true, 22090, 1, 2425200),
   (14893, true, 2976957, 7, 4979682840),
   (14910, true, 69360, 1, 17839800),
   (14911, true, 231361, 1, 111053280),
   (14915, true, 468331, 1, 320338404),
   (14929, true, 118116629761, 697, 40517843515924320),
   (14934, true, 19266, 1, 1689480),
   (14938, true, 81862, 1, 23028720),
   (14946, true, 16854, 1, 1011240),
   (14959, true, 143256961, 89, 963680683680),
   (14965, true, 284089, 4, 81489837),
   (14978, true, 27246656547889, 38280, 84273961515006611287),
   (14989, true, 38593477, 23, 234641978844),
   (14991, false, 2911332, 47, 56284304922)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints80

#print axioms CongruentPoints80.on_curve
#print axioms CongruentPoints80.indep
#print axioms CongruentPoints80.count

bsd/CongruentPoints800.lean

lean_all/bsd/CongruentPoints800.lean

/-
  bsd/CongruentPoints800.lean — T39 goal G856: points for congruent curves in 158801–159000 with Tunnell A = 2B
  (n = 158802, 158810, 158834, 158845, 158862, 158865, 158882, 158894, 158953, 158957, 158969, 158991), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints800
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (158802, true, 63361998, 1, 504361504080),
   (158810, false, 40000, 1, 30738000),
   (158834, true, 3751969, 4, 5346555825),
   (158845, true, 42917606125591201, 355300, 7860910324383863199426801),
   (158862, true, 399562, 1, 231745960),
   (158865, true, 20762721, 2, 94563361431),
   (158882, false, 334527632, 49, 3353376322920),
   (158894, false, 31948506, 1649, 2442159840398040),
   (158953, false, 2113445999, 720, 3786922403811001),
   (158957, false, 2033476, 5, 4868710518),
   (158969, false, 68231, 1, 37505040),
   (158991, true, 74963959697929, 5365, 647840409193506835592)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints800

#print axioms CongruentPoints800.on_curve
#print axioms CongruentPoints800.indep
#print axioms CongruentPoints800.count

bsd/CongruentPoints801.lean

lean_all/bsd/CongruentPoints801.lean

/-
  bsd/CongruentPoints801.lean — T39 goal G856: points for congruent curves in 159001–159200 with Tunnell A = 2B
  (n = 159006, 159063, 159086, 159114, 159131, 159137, 159159, 159166, 159177, 159181, 159185), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints801
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (159006, false, 126150, 1, 34378920),
   (159063, true, 4695477279025, 5306, 3059264297186830655),
   (159086, true, 208658, 1, 61674912),
   (159114, true, 7976454, 5, 19526359392),
   (159131, false, 2428447, 4, 1192161327),
   (159137, true, 276860346257, 958, 123758586684702255),
   (159159, true, 194775, 1, 49550760),
   (159166, false, 3625216, 5, 3123630048),
   (159177, true, 1863217225, 36, 79931294600635),
   (159181, false, 4517359, 10, 32441508561),
   (159185, true, 12830311, 7, 36489404484)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints801

#print axioms CongruentPoints801.on_curve
#print axioms CongruentPoints801.indep
#print axioms CongruentPoints801.count

bsd/CongruentPoints802.lean

lean_all/bsd/CongruentPoints802.lean

/-
  bsd/CongruentPoints802.lean — T39 goal G856: points for congruent curves in 159201–159400 with Tunnell A = 2B
  (n = 159214, 159217, 159222, 159258, 159285, 159294, 159297, 159302, 159310, 159315, 159321, 159339, 159361, 159391), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints802
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (159214, false, 11309958, 13, 82107518856),
   (159217, true, 10346161737025, 4376, 31801079997525746145),
   (159222, false, 52500, 1, 34442100),
   (159258, true, 229900, 1, 79499420),
   (159285, true, 882525, 1, 815453100),
   (159294, true, 20283436, 9, 70484940100),
   (159297, false, 8199663, 14, 86266731375),
   (159302, true, 44095380121, 470, 5579861331648669),
   (159310, true, 94603529, 22, 533136948933),
   (159315, true, 1164225, 2, 1051295175),
   (159321, true, 535623376118976601, 606309, 389652370522978735452995020),
   (159339, false, 23068587, 31, 727060900608),
   (159361, true, 2121093329298241, 37920, 97115908857665751143711),
   (159391, true, 197684276689, 323, 87582265737815340)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints802

#print axioms CongruentPoints802.on_curve
#print axioms CongruentPoints802.indep
#print axioms CongruentPoints802.count

bsd/CongruentPoints803.lean

lean_all/bsd/CongruentPoints803.lean

/-
  bsd/CongruentPoints803.lean — T39 goal G856: points for congruent curves in 159401–159600 with Tunnell A = 2B
  (n = 159443, 159451, 159486, 159493, 159530, 159542, 159581, 159590), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints803
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (159443, false, 34744547, 23, 453028080120),
   (159451, true, 8014077, 7, 5048969316),
   (159486, false, 4784694, 11, 40893863400),
   (159493, true, 149729725, 23, 1513579614660),
   (159530, true, 845509, 1, 763494627),
   (159542, true, 22979224921, 360, 1519835305186781),
   (159581, false, 112407813, 73, 8937121247796),
   (159590, true, 193210, 1, 47871600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints803

#print axioms CongruentPoints803.on_curve
#print axioms CongruentPoints803.indep
#print axioms CongruentPoints803.count

bsd/CongruentPoints804.lean

lean_all/bsd/CongruentPoints804.lean

/-
  bsd/CongruentPoints804.lean — T39 goal G856: points for congruent curves in 159601–159800 with Tunnell A = 2B
  (n = 159635, 159645, 159654, 159666, 159670, 159679, 159681, 159699, 159770, 159774, 159783), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints804
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (159635, true, 143162104715, 803, 37647037839957000),
   (159645, true, 15012375625, 204, 1649459224109125),
   (159654, false, 138338, 1, 29643256),
   (159666, true, 9287616, 7, 15253196400),
   (159670, false, 204020, 89, 571267746300),
   (159679, true, 14207924809, 189, 1551076470658000),
   (159681, false, 173417, 23, 35176597948),
   (159699, true, 183027, 1, 38253384),
   (159770, false, 43348894720, 1331, 58235294425560000),
   (159774, false, 94178, 1, 39608576),
   (159783, true, 1816137410376030625, 820529, 2443204526545389824920675700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints804

#print axioms CongruentPoints804.on_curve
#print axioms CongruentPoints804.indep
#print axioms CongruentPoints804.count

bsd/CongruentPoints805.lean

lean_all/bsd/CongruentPoints805.lean

/-
  bsd/CongruentPoints805.lean — T39 goal G856: points for congruent curves in 159801–160000 with Tunnell A = 2B
  (n = 159803, 159829, 159865, 159915, 159919, 159965, 159970, 159978, 159997, 159999), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints805
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (159803, true, 14085493, 9, 20846529640),
   (159829, true, 7359613, 1, 19960895892),
   (159865, true, 9824452859762805625, 618267, 30793152882923694620486816500),
   (159915, false, 2558535, 4, 37077075),
   (159919, true, 167281, 1, 20073720),
   (159965, false, 10609040, 9, 24229445500),
   (159970, false, 41616, 1, 31510248),
   (159978, false, 286286, 5, 2134444312),
   (159997, false, 3992004, 5, 502702794),
   (159999, true, 160801, 1, 6432040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints805

#print axioms CongruentPoints805.on_curve
#print axioms CongruentPoints805.indep
#print axioms CongruentPoints805.count

bsd/CongruentPoints806.lean

lean_all/bsd/CongruentPoints806.lean

/-
  bsd/CongruentPoints806.lean — T39 goal G857: points for congruent curves in 160001–160200 with Tunnell A = 2B
  (n = 160045, 160055, 160095, 160114, 160115, 160121, 160134), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints806
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (160045, false, 160000, 1, 1518000),
   (160055, true, 168486057180, 857, 49544700426380250),
   (160095, false, 17246775, 22, 313721041725),
   (160114, true, 169362, 1, 22716624),
   (160115, true, 592261072225, 1222, 417002685574639575),
   (160121, true, 171873, 1, 25895532),
   (160134, false, 154587, 1, 16427763)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints806

#print axioms CongruentPoints806.on_curve
#print axioms CongruentPoints806.indep
#print axioms CongruentPoints806.count

bsd/CongruentPoints807.lean

lean_all/bsd/CongruentPoints807.lean

/-
  bsd/CongruentPoints807.lean — T39 goal G857: points for congruent curves in 160201–160400 with Tunnell A = 2B
  (n = 160235, 160251, 160270, 160303, 160313, 160318, 160341, 160345, 160354, 160370, 160383, 160390), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints807
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (160235, true, 96738516315, 101, 30084107351216100),
   (160251, true, 1217307, 1, 1331386056),
   (160270, true, 894645, 1, 832516875),
   (160303, true, 3439228, 1, 6371169870),
   (160313, true, 77561927955625, 3529, 682855742116179067800),
   (160318, true, 590380814398, 1631, 313687102720640160),
   (160341, true, 6991275, 1, 18480781440),
   (160345, true, 3826753651681, 4118, 5267413418205672279),
   (160354, false, 123904, 1, 35830080),
   (160370, true, 206045, 1, 58722825),
   (160383, false, 31189572, 97, 8425850074110),
   (160390, true, 3478225, 2, 6375586425)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints807

#print axioms CongruentPoints807.on_curve
#print axioms CongruentPoints807.indep
#print axioms CongruentPoints807.count

bsd/CongruentPoints808.lean

lean_all/bsd/CongruentPoints808.lean

/-
  bsd/CongruentPoints808.lean — T39 goal G857: points for congruent curves in 160401–160600 with Tunnell A = 2B
  (n = 160431, 160473, 160474, 160491, 160495, 160514, 160537, 160545, 160563, 160565, 160582), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints808
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (160431, false, 3814209, 5, 2422134036),
   (160473, false, 11659817759, 740, 9404900705530961),
   (160474, true, 1213682, 1, 1325340744),
   (160491, true, 408075248194136329, 485012, 259563597038152341317892325),
   (160495, true, 2685545076840025, 10678, 139167743896735671909675),
   (160514, false, 35397698, 313, 93559523685936),
   (160537, true, 1982475625, 6, 88269352124525),
   (160545, true, 689920, 1, 557326000),
   (160563, true, 26529948, 11, 93053792610),
   (160565, true, 3568321, 4, 4678068831),
   (160582, false, 5597858, 9, 27778826600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints808

#print axioms CongruentPoints808.on_curve
#print axioms CongruentPoints808.indep
#print axioms CongruentPoints808.count

bsd/CongruentPoints809.lean

lean_all/bsd/CongruentPoints809.lean

/-
  bsd/CongruentPoints809.lean — T39 goal G857: points for congruent curves in 160601–160800 with Tunnell A = 2B
  (n = 160602, 160615, 160665, 160673, 160678, 160685, 160699, 160701, 160734, 160746, 160755, 160766, 160770, 160797), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints809
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (160602, true, 163125, 1, 11542725),
   (160615, true, 413919025, 32, 7727851005225),
   (160665, true, 298771225, 27, 4750892528300),
   (160673, true, 11645775, 7, 29284782120),
   (160678, true, 91632368, 13, 837748924440),
   (160685, true, 819315, 1, 727209000),
   (160699, false, 19481693, 27, 509875643816),
   (160701, true, 6555897, 2, 16705153989),
   (160734, true, 166341, 1, 17465805),
   (160746, true, 195248213161, 454, 85022891575227125),
   (160755, true, 32797235100, 137, 5914394084941650),
   (160766, false, 3230882, 9, 22674802688),
   (160770, true, 2497294, 3, 3216514672),
   (160797, false, 106938468, 187, 58136593140990)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints809

#print axioms CongruentPoints809.on_curve
#print axioms CongruentPoints809.indep
#print axioms CongruentPoints809.count

bsd/CongruentPoints81.lean

lean_all/bsd/CongruentPoints81.lean

/-
  bsd/CongruentPoints81.lean — T39 goal G135: points for congruent curves in 15001–15200 with Tunnell A = 2B
  (n = 15006, 15015, 15022, 15035, 15045, 15047, 15054, 15062, 15067, 15071, 15073, 15074, 15085, 15086, 15087, 15101, 15105, 15106, 15126, 15134, 15135, 15151, 15158, 15169, 15170, 15181, 15185, 15189), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints81
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (15006, true, 1845738, 11, 450360072),
   (15015, true, 70785, 1, 18404100),
   (15022, false, 4833927, 22, 11940643155),
   (15035, true, 1264924, 9, 384555682),
   (15045, false, 180894059, 163, 4794240514436),
   (15047, true, 44101914368, 1591, 4668855218277360),
   (15054, false, 1587, 1, 596367),
   (15062, true, 570493225, 76, 13466858828715),
   (15067, true, 1247389, 5, 1328129088),
   (15071, true, 2277844618009, 11564, 1602081410552376195),
   (15073, true, 273136890625, 1169, 142341671660628000),
   (15074, false, 12482, 1, 944208),
   (15085, false, 28792715, 47, 90010407900),
   (15086, false, 4845475, 61, 123105644265),
   (15087, true, 2316348, 11, 2170011150),
   (15101, true, 196318504878990481, 1270990, 86310348629177892308015121),
   (15105, true, 811801, 7, 300461876),
   (15106, false, 623294, 15, 2637851104),
   (15126, false, 3, 1, 26199),
   (15134, true, 46818, 1, 9586368),
   (15135, true, 57977340, 11, 441235720350),
   (15151, true, 9945804767809, 19747, 25232350308953896380),
   (15158, true, 47078317, 43, 259541673105),
   (15169, true, 970225, 3, 946163420),
   (15170, true, 1413721, 4, 1655954781),
   (15181, true, 2094417, 8, 2685191769),
   (15185, true, 41905768539730225, 1133276, 7592890885927781921753175),
   (15189, true, 10742891109, 509, 1036085550667740)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 28 := rfl

end CongruentPoints81

#print axioms CongruentPoints81.on_curve
#print axioms CongruentPoints81.indep
#print axioms CongruentPoints81.count

bsd/CongruentPoints810.lean

lean_all/bsd/CongruentPoints810.lean

/-
  bsd/CongruentPoints810.lean — T39 goal G857: points for congruent curves in 160801–161000 with Tunnell A = 2B
  (n = 160805, 160815, 160823, 160838, 160847, 160854, 160906, 160999), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints810
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (160805, false, 129600, 1, 34270200),
   (160815, true, 525625, 1, 362804500),
   (160823, false, 3786916, 5, 2628390198),
   (160838, true, 184487780358, 103, 79237877185106640),
   (160847, true, 255025, 1, 99941520),
   (160854, false, 403202, 3, 882881272),
   (160906, true, 48132652, 17, 86188110036),
   (160999, true, 612999824240960809, 310803, 479789465115904136898721100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints810

#print axioms CongruentPoints810.on_curve
#print axioms CongruentPoints810.indep
#print axioms CongruentPoints810.count

bsd/CongruentPoints811.lean

lean_all/bsd/CongruentPoints811.lean

/-
  bsd/CongruentPoints811.lean — T39 goal G857: points for congruent curves in 161001–161200 with Tunnell A = 2B
  (n = 161007, 161018, 161041, 161061, 161070, 161086, 161089, 161106, 161130, 161135), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints811
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (161007, true, 15214353, 2, 59291274735),
   (161018, true, 6973318, 1, 18409559520),
   (161041, true, 75469430089, 315, 20262677984041688),
   (161061, true, 87686118108, 547, 21692553696437598),
   (161070, true, 438606, 1, 270181296),
   (161086, true, 227138, 1, 76318368),
   (161089, true, 1408781413185169, 79223, 36822540417844340787840),
   (161106, false, 4026594, 5, 185060304),
   (161130, true, 680805, 1, 545778675),
   (161135, true, 31428552961, 323, 4707611499175884)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints811

#print axioms CongruentPoints811.on_curve
#print axioms CongruentPoints811.indep
#print axioms CongruentPoints811.count

bsd/CongruentPoints812.lean

lean_all/bsd/CongruentPoints812.lean

/-
  bsd/CongruentPoints812.lean — T39 goal G857: points for congruent curves in 161201–161400 with Tunnell A = 2B
  (n = 161202, 161205, 161230, 161231, 161249, 161265, 161283, 161285, 161351, 161355, 161398), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints812
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (161202, true, 16200801, 10, 6496521201),
   (161205, true, 21406275, 7, 92050665300),
   (161230, true, 62580519316225, 18126, 263589947209403906975),
   (161231, true, 56806369, 7, 423988809840),
   (161249, true, 131843457, 28, 429763571649),
   (161265, false, 37479, 1, 30365244),
   (161283, true, 1121245225, 82, 9537196661965),
   (161285, true, 43727602909225, 11926, 246173438611410714675),
   (161351, true, 13147144921, 127, 1477636339105080),
   (161355, false, 155310155, 43, 3174567496100),
   (161398, true, 507375625, 52, 5829034839525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints812

#print axioms CongruentPoints812.on_curve
#print axioms CongruentPoints812.indep
#print axioms CongruentPoints812.count

bsd/CongruentPoints813.lean

lean_all/bsd/CongruentPoints813.lean

/-
  bsd/CongruentPoints813.lean — T39 goal G857: points for congruent curves in 161401–161600 with Tunnell A = 2B
  (n = 161445, 161446, 161466, 161479, 161510, 161582), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints813
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (161445, false, 262205, 21, 36456983200),
   (161446, true, 312890625, 44, 254575989375),
   (161466, true, 171462, 1, 23887584),
   (161479, false, 993271, 7, 7823424120),
   (161510, true, 299290, 1, 137846400),
   (161582, true, 75458794, 15, 574392339928)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints813

#print axioms CongruentPoints813.on_curve
#print axioms CongruentPoints813.indep
#print axioms CongruentPoints813.count

bsd/CongruentPoints814.lean

lean_all/bsd/CongruentPoints814.lean

/-
  bsd/CongruentPoints814.lean — T39 goal G857: points for congruent curves in 161601–161800 with Tunnell A = 2B
  (n = 161605, 161653, 161655, 161665, 161670, 161690, 161709, 161710, 161745, 161755, 161758, 161759, 161790), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints814
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (161605, true, 1854405, 1, 2515657200),
   (161653, true, 7761765937783225, 17874, 683803310958064431461915),
   (161655, true, 1581540153649, 3082, 476325979260793793),
   (161665, true, 50517240865, 309, 10811240806593500),
   (161670, false, 49011, 1, 34106913),
   (161690, true, 22733614, 5, 106666116888),
   (161709, false, 1235475, 11, 21705464340),
   (161710, true, 2182543960467025, 28402, 101781161828510277975225),
   (161745, true, 135300766447875625, 78234, 49766690356556519265045875),
   (161755, true, 6584380, 3, 16477410950),
   (161758, true, 3323042, 1, 6050462880),
   (161759, true, 656903, 1, 516022572),
   (161790, true, 29906160, 7, 157695478200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints814

#print axioms CongruentPoints814.on_curve
#print axioms CongruentPoints814.indep
#print axioms CongruentPoints814.count

bsd/CongruentPoints815.lean

lean_all/bsd/CongruentPoints815.lean

/-
  bsd/CongruentPoints815.lean — T39 goal G857: points for congruent curves in 161801–162000 with Tunnell A = 2B
  (n = 161805, 161806, 161869, 161870, 161895, 161935, 161942, 161959, 161993, 161995), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints815
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (161805, false, 186116, 3, 623088998),
   (161806, true, 1401106, 1, 1647369360),
   (161869, true, 24399559966852225, 384678, 725907575643421762387495),
   (161870, false, 1447220, 3, 200969900),
   (161895, false, 133948569, 77, 11000528989596),
   (161935, true, 27554699052049, 5841, 141704489952331965568),
   (161942, true, 629442, 1, 482572200),
   (161959, true, 890246569, 71, 10589921094600),
   (161993, true, 58749977, 19, 43162745340),
   (161995, true, 163805, 1, 9828300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints815

#print axioms CongruentPoints815.on_curve
#print axioms CongruentPoints815.indep
#print axioms CongruentPoints815.count

bsd/CongruentPoints816.lean

lean_all/bsd/CongruentPoints816.lean

/-
  bsd/CongruentPoints816.lean — T39 goal G858: points for congruent curves in 162001–162200 with Tunnell A = 2B
  (n = 162042, 162053, 162077, 162085, 162097, 162110, 162133, 162134, 162158, 162174), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints816
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (162042, true, 229842, 1, 78146280),
   (162053, true, 9031665113316223225, 4852678, 24600749145388352146211059515),
   (162077, true, 56340411300625, 10612, 400085787901289679225),
   (162085, true, 299586699296329, 34170, 4019807179397509996483),
   (162097, true, 77968657, 12, 656885935225),
   (162110, false, 10094900, 9, 26680136300),
   (162133, true, 32097218108011225, 76038, 5747987198249841784721365),
   (162134, true, 956767756, 47, 27442682813700),
   (162158, true, 7097093137369, 5170, 14971445063480038653),
   (162174, true, 24350750448, 71, 3797726065441848)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints816

#print axioms CongruentPoints816.on_curve
#print axioms CongruentPoints816.indep
#print axioms CongruentPoints816.count

bsd/CongruentPoints817.lean

lean_all/bsd/CongruentPoints817.lean

/-
  bsd/CongruentPoints817.lean — T39 goal G858: points for congruent curves in 162201–162400 with Tunnell A = 2B
  (n = 162255, 162281, 162285, 162305, 162309, 162318, 162370, 162395), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints817
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (162255, false, 11025, 1, 16997400),
   (162281, true, 259081, 1, 102797640),
   (162285, true, 230640, 1, 78705900),
   (162305, false, 15895, 1, 20364300),
   (162309, true, 357532, 1, 190483874),
   (162318, false, 7845209763, 629, 5645536432275735),
   (162370, true, 1379170, 1, 1608406800),
   (162395, true, 7355635225, 202, 273866443401525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints817

#print axioms CongruentPoints817.on_curve
#print axioms CongruentPoints817.indep
#print axioms CongruentPoints817.count

bsd/CongruentPoints818.lean

lean_all/bsd/CongruentPoints818.lean

/-
  bsd/CongruentPoints818.lean — T39 goal G858: points for congruent curves in 162401–162600 with Tunnell A = 2B
  (n = 162401, 162433, 162434, 162454, 162466, 162494, 162519, 162559, 162565, 162591), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints818
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (162401, false, 159201, 1, 12799920),
   (162433, false, 39685087, 17, 157962264720),
   (162434, true, 167042, 1, 15925056),
   (162454, false, 1128002, 3, 987961528),
   (162466, true, 84260080890241, 20618, 443071766492566083105),
   (162494, true, 28481650, 3, 151800936560),
   (162519, true, 896443420642225, 20522, 26761763788798258096255),
   (162559, true, 52446954169, 471, 8721147745506140),
   (162565, true, 17329429, 3, 71882471492),
   (162591, true, 302016, 1, 139871160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints818

#print axioms CongruentPoints818.on_curve
#print axioms CongruentPoints818.indep
#print axioms CongruentPoints818.count

bsd/CongruentPoints819.lean

lean_all/bsd/CongruentPoints819.lean

/-
  bsd/CongruentPoints819.lean — T39 goal G858: points for congruent curves in 162601–162800 with Tunnell A = 2B
  (n = 162609, 162610, 162626, 162635, 162669, 162682, 162690, 162714, 162715, 162719, 162781), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints819
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (162609, false, 823296, 5, 3612172608),
   (162610, false, 13528046, 15, 125033054608),
   (162626, false, 269125046, 123, 40120233840280),
   (162635, true, 2371116356859991225, 2612904, 3226075689226189973189898925),
   (162669, true, 157900963198225, 22302, 1703895197079351867695),
   (162682, true, 391226487615810025, 81548, 244703801059230354627952395),
   (162690, true, 171394, 1, 22324672),
   (162714, true, 5892486, 1, 14298227280),
   (162715, true, 204474340315, 561, 89514240436766600),
   (162719, true, 1289242008553972489, 1314237, 1428660235579632955164153800),
   (162781, false, 1076900, 3, 1030759730)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints819

#print axioms CongruentPoints819.on_curve
#print axioms CongruentPoints819.indep
#print axioms CongruentPoints819.count

bsd/CongruentPoints82.lean

lean_all/bsd/CongruentPoints82.lean

/-
  bsd/CongruentPoints82.lean — T39 goal G136: points for congruent curves in 15201–15400 with Tunnell A = 2B
  (n = 15215, 15222, 15238, 15245, 15249, 15266, 15270, 15281, 15293, 15295, 15334, 15347, 15351, 15361, 15366, 15371, 15378, 15395, 15397), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints82
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (15215, true, 2351860561120225, 174762, 111807266504996900054825),
   (15222, false, 306918, 91, 69833594160),
   (15238, false, 647522, 9, 845556760),
   (15245, false, 14400, 1, 600600),
   (15249, true, 142129, 2, 48397375),
   (15266, false, 3154176, 17, 5478551520),
   (15270, false, 7056, 1, 1137528),
   (15281, true, 1159543, 1, 1248511572),
   (15293, false, 1129796, 165, 442546585642),
   (15295, true, 1170495, 1, 1266243600),
   (15334, false, 18818, 9, 170363816),
   (15347, false, 1060900, 17, 4435728990),
   (15351, true, 67473, 2, 7264593),
   (15361, true, 13704811404001, 21360, 43599370086992573999),
   (15366, true, 115377600, 23, 1236237041520),
   (15371, true, 671608113289, 3380, 531247136551621413),
   (15378, false, 1776192, 17, 5429405520),
   (15395, true, 23805, 1, 2801400),
   (15397, true, 24381957720481, 7480, 120318279338408795121)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints82

#print axioms CongruentPoints82.on_curve
#print axioms CongruentPoints82.indep
#print axioms CongruentPoints82.count

bsd/CongruentPoints820.lean

lean_all/bsd/CongruentPoints820.lean

/-
  bsd/CongruentPoints820.lean — T39 goal G858: points for congruent curves in 162801–163000 with Tunnell A = 2B
  (n = 162805, 162806, 162830, 162833, 162854, 162869, 162870, 162897, 162942, 162955), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints820
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (162805, true, 202005, 1, 53747400),
   (162806, true, 9326458, 3, 28128597328),
   (162830, true, 258010880, 31, 3295157460000),
   (162833, true, 44413455025, 508, 3030351635821545),
   (162854, true, 17682361612, 267, 1773514232306236),
   (162869, true, 3348275, 1, 6119518860),
   (162870, true, 167445, 1, 15907275),
   (162897, false, 23038871775, 4663, 537607518073097760),
   (162942, true, 11018826, 5, 33985309176),
   (162955, true, 217971, 1, 67587156)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints820

#print axioms CongruentPoints820.on_curve
#print axioms CongruentPoints820.indep
#print axioms CongruentPoints820.count

bsd/CongruentPoints821.lean

lean_all/bsd/CongruentPoints821.lean

/-
  bsd/CongruentPoints821.lean — T39 goal G858: points for congruent curves in 163001–163200 with Tunnell A = 2B
  (n = 163038, 163087, 163105, 163137, 163139, 163149, 163165, 163191, 163194), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints821
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (163038, false, 61206, 5, 1008270072),
   (163087, true, 2640625, 1, 4282824000),
   (163105, true, 814286691842323174225, 18574692, 23180693300348991634880263751975),
   (163137, false, 111519759, 80, 10962679913289),
   (163139, true, 2617317, 1, 4226094516),
   (163149, true, 917301, 1, 864545220),
   (163165, true, 1926453677218225, 45402, 83256068474502130239425),
   (163191, false, 203978775, 53, 5863089452220),
   (163194, true, 522150, 1, 358403760)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints821

#print axioms CongruentPoints821.on_curve
#print axioms CongruentPoints821.indep
#print axioms CongruentPoints821.count

bsd/CongruentPoints822.lean

lean_all/bsd/CongruentPoints822.lean

/-
  bsd/CongruentPoints822.lean — T39 goal G858: points for congruent curves in 163201–163400 with Tunnell A = 2B
  (n = 163217, 163218, 163234, 163281, 163306, 163319, 163385), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints822
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (163217, true, 730151451121, 2100, 104750242684900919),
   (163218, true, 25838955025, 368, 2151107714159495),
   (163234, true, 386896980071809, 19126, 7518966337669418124255),
   (163281, false, 879231, 7, 7456669200),
   (163306, false, 28141542, 107, 9917322647232),
   (163319, true, 116062484031, 635, 32558887764005304),
   (163385, true, 230625, 1, 78166500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints822

#print axioms CongruentPoints822.on_curve
#print axioms CongruentPoints822.indep
#print axioms CongruentPoints822.count

bsd/CongruentPoints823.lean

lean_all/bsd/CongruentPoints823.lean

/-
  bsd/CongruentPoints823.lean — T39 goal G858: points for congruent curves in 163401–163600 with Tunnell A = 2B
  (n = 163426, 163438, 163455, 163457, 163470, 163495, 163502, 163522, 163590, 163595), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints823
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (163426, false, 38036642, 17, 172675504512),
   (163438, true, 4864684, 5, 5823026748),
   (163455, false, 93636, 1, 40996962),
   (163457, true, 10573087, 3, 34045340140),
   (163470, true, 1928205, 1, 2667862575),
   (163495, true, 21271098011361025, 356454, 667040990790547873876825),
   (163502, false, 4698, 1, 11202120),
   (163522, false, 28322, 1, 27103440),
   (163590, true, 176890, 1, 28302400),
   (163595, true, 825420082515625, 69982, 5702158673983261498125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints823

#print axioms CongruentPoints823.on_curve
#print axioms CongruentPoints823.indep
#print axioms CongruentPoints823.count

bsd/CongruentPoints824.lean

lean_all/bsd/CongruentPoints824.lean

/-
  bsd/CongruentPoints824.lean — T39 goal G858: points for congruent curves in 163601–163800 with Tunnell A = 2B
  (n = 163614, 163618, 163631, 163639, 163699, 163729, 163735, 163785), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints824
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (163614, false, 52090154, 33, 1229773411880),
   (163618, true, 294185164, 15, 5006148935788),
   (163631, true, 275630250025, 537, 142571007728889740),
   (163639, true, 22822146226009, 1241, 109020518911121586600),
   (163699, false, 170519443, 287, 176060544868104),
   (163729, true, 37878489309312961, 64903, 7370839791843918208748160),
   (163735, true, 883436447569, 607, 828415073373503772),
   (163785, false, 23755649375, 693, 11557271269657000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints824

#print axioms CongruentPoints824.on_curve
#print axioms CongruentPoints824.indep
#print axioms CongruentPoints824.count

bsd/CongruentPoints825.lean

lean_all/bsd/CongruentPoints825.lean

/-
  bsd/CongruentPoints825.lean — T39 goal G858: points for congruent curves in 163801–164000 with Tunnell A = 2B
  (n = 163821, 163830, 163910, 163911, 163959, 163982), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints825
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (163821, true, 132203547, 11, 1502889922296),
   (163830, true, 4226814, 5, 2147221512),
   (163910, true, 1656490, 3, 969799600),
   (163911, false, 2170186607, 516, 2030572162737593),
   (163959, true, 6221824, 5, 11675488832),
   (163982, true, 184093, 1, 35898135)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints825

#print axioms CongruentPoints825.on_curve
#print axioms CongruentPoints825.indep
#print axioms CongruentPoints825.count

bsd/CongruentPoints826.lean

lean_all/bsd/CongruentPoints826.lean

/-
  bsd/CongruentPoints826.lean — T39 goal G859: points for congruent curves in 164001–164200 with Tunnell A = 2B
  (n = 164013, 164041, 164065, 164086, 164119, 164162, 164189), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints826
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (164013, true, 5261541378025, 4356, 9731420133825532555),
   (164041, true, 5757067573321, 1841, 13748878370122455960),
   (164065, true, 417282921, 47, 4224943210356),
   (164086, false, 15028, 1, 20030556),
   (164119, true, 10086073, 7, 19333078008),
   (164162, true, 5340400, 1, 12335461320),
   (164189, true, 73045880021, 215, 19635256902978444)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints826

#print axioms CongruentPoints826.on_curve
#print axioms CongruentPoints826.indep
#print axioms CongruentPoints826.count

bsd/CongruentPoints827.lean

lean_all/bsd/CongruentPoints827.lean

/-
  bsd/CongruentPoints827.lean — T39 goal G859: points for congruent curves in 164201–164400 with Tunnell A = 2B
  (n = 164215, 164226, 164262, 164263, 164265, 164289, 164359, 164373, 164383, 164390, 164397), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints827
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (164215, true, 2702440225, 39, 139885033944700),
   (164226, true, 726919018, 61, 10614263809688),
   (164262, true, 188538, 1, 40183920),
   (164263, true, 808929354025, 392, 727200827622346155),
   (164265, true, 9576015, 7, 16053907500),
   (164289, false, 4761, 1, 11331180),
   (164359, true, 8813642161, 110, 806093919011841),
   (164373, false, 108900, 1, 40630590),
   (164383, true, 180225, 1, 31367160),
   (164390, true, 79482565, 21, 290508775075),
   (164397, false, 34347, 1, 29795220)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints827

#print axioms CongruentPoints827.on_curve
#print axioms CongruentPoints827.indep
#print axioms CongruentPoints827.count

bsd/CongruentPoints828.lean

lean_all/bsd/CongruentPoints828.lean

/-
  bsd/CongruentPoints828.lean — T39 goal G859: points for congruent curves in 164401–164600 with Tunnell A = 2B
  (n = 164407, 164410, 164429, 164445, 164455, 164486, 164495, 164498, 164509, 164515, 164577), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints828
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (164407, false, 13352024375, 1777, 59968755560399400),
   (164410, false, 6839290, 7, 11133735600),
   (164429, true, 3761616309288289, 12650, 230701871168855941776087),
   (164445, false, 8967411, 77, 2919559236588),
   (164455, true, 1125721, 2, 969245781),
   (164486, false, 6727, 32, 13814641197),
   (164495, true, 224472226225, 913, 84203808696251400),
   (164498, true, 13424346405625, 4186, 48038606704831917075),
   (164509, false, 150212, 1, 25997862),
   (164515, true, 800865, 2, 408477225),
   (164577, true, 11093729025625, 3014, 36613084517491762475)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints828

#print axioms CongruentPoints828.on_curve
#print axioms CongruentPoints828.indep
#print axioms CongruentPoints828.count

bsd/CongruentPoints829.lean

lean_all/bsd/CongruentPoints829.lean

/-
  bsd/CongruentPoints829.lean — T39 goal G859: points for congruent curves in 164601–164800 with Tunnell A = 2B
  (n = 164630, 164638, 164671, 164697, 164703, 164710, 164761), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints829
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (164630, true, 520771506025, 798, 368118291270349675),
   (164638, true, 195938, 1, 47025120),
   (164671, true, 564807403268329, 26499, 13138717840650149012200),
   (164697, false, 18956223, 179, 22975493729760),
   (164703, true, 1792252, 3, 1348669630),
   (164710, true, 1498861, 3, 271293841),
   (164761, true, 117643473025, 253, 40188301261413240)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints829

#print axioms CongruentPoints829.on_curve
#print axioms CongruentPoints829.indep
#print axioms CongruentPoints829.count

bsd/CongruentPoints83.lean

lean_all/bsd/CongruentPoints83.lean

/-
  bsd/CongruentPoints83.lean — T39 goal G137: points for congruent curves in 15401–15600 with Tunnell A = 2B
  (n = 15405, 15423, 15429, 15449, 15465, 15470, 15477, 15481, 15485, 15499, 15509, 15510, 15515, 15542, 15546, 15549, 15551, 15558, 15567, 15569, 15585, 15589), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints83
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (15405, true, 167164, 3, 38182438),
   (15423, false, 1521, 5, 15037308),
   (15429, true, 1243338121, 282, 7089134310755),
   (15449, true, 4481689, 17, 823851720),
   (15465, true, 17340, 1, 1032750),
   (15470, true, 31850, 1, 4968600),
   (15477, true, 52974537, 34, 362912163075),
   (15481, false, 8281, 1, 1190280),
   (15485, true, 504811, 5, 230193816),
   (15499, true, 856251, 7, 365947560),
   (15509, true, 1423249, 8, 1216877895),
   (15510, true, 2672890, 13, 855324800),
   (15515, true, 18125, 1, 1261500),
   (15542, false, 28322, 3, 23052680),
   (15546, true, 16428, 1, 680652),
   (15549, true, 254113, 4, 26096113),
   (15551, true, 700616907550561, 80017, 18356518975650065364960),
   (15558, true, 18150, 1, 1259280),
   (15567, false, 74529, 5, 104278356),
   (15569, true, 121198081, 7, 1334243241120),
   (15585, false, 735, 2, 1689975),
   (15589, false, 468452, 33, 11614841218)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints83

#print axioms CongruentPoints83.on_curve
#print axioms CongruentPoints83.indep
#print axioms CongruentPoints83.count

bsd/CongruentPoints830.lean

lean_all/bsd/CongruentPoints830.lean

/-
  bsd/CongruentPoints830.lean — T39 goal G859: points for congruent curves in 164801–165000 with Tunnell A = 2B
  (n = 164829, 164833, 164859, 164869, 164886, 164903, 164905, 164910, 164917, 164931, 164957, 164958, 164985, 164990, 164994), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints830
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (164829, true, 193029, 1, 44135820),
   (164833, true, 390625, 1, 221340000),
   (164859, true, 282747, 1, 122146704),
   (164869, false, 152100, 1, 24811410),
   (164886, false, 98283, 1, 41505291),
   (164903, true, 653680335025, 507, 527391489628562480),
   (164905, true, 92181895, 21, 543873180500),
   (164910, true, 26275660, 11, 87629326100),
   (164917, false, 3833764, 5, 2969947266),
   (164931, false, 33813, 1, 29683836),
   (164957, true, 705757, 1, 576479280),
   (164958, true, 12562854, 5, 42060435192),
   (164985, false, 88935, 1, 41441400),
   (164990, true, 3774284413392025, 127248, 163793294178003283505725),
   (164994, true, 206082, 1, 56054304)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints830

#print axioms CongruentPoints830.on_curve
#print axioms CongruentPoints830.indep
#print axioms CongruentPoints830.count

bsd/CongruentPoints831.lean

lean_all/bsd/CongruentPoints831.lean

/-
  bsd/CongruentPoints831.lean — T39 goal G859: points for congruent curves in 165001–165200 with Tunnell A = 2B
  (n = 165030, 165055, 165110, 165126, 165163, 165178, 165189, 165191, 165198), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints831
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (165030, true, 636237546025, 1428, 430689971351084075),
   (165055, true, 167373857695, 17, 68474902320052800),
   (165110, false, 654199, 2, 73263099),
   (165126, false, 1930850, 7, 10918268360),
   (165163, false, 1332634027, 127, 84203990293200),
   (165178, true, 59067063729534700225, 8617868, 444062180313947254387570510815),
   (165189, true, 1962597, 1, 2739699144),
   (165191, true, 5798061025, 29, 441366604487160),
   (165198, false, 1350723, 7, 9275813415)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints831

#print axioms CongruentPoints831.on_curve
#print axioms CongruentPoints831.indep
#print axioms CongruentPoints831.count

bsd/CongruentPoints832.lean

lean_all/bsd/CongruentPoints832.lean

/-
  bsd/CongruentPoints832.lean — T39 goal G859: points for congruent curves in 165201–165400 with Tunnell A = 2B
  (n = 165230, 165233, 165306, 165315, 165346, 165362, 165394), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints832
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (165230, true, 3303980, 1, 5998081500),
   (165233, false, 119025, 1, 39539760),
   (165306, true, 169362, 1, 15162264),
   (165315, true, 412064169, 38, 6818051200653),
   (165346, true, 192512, 1, 43261056),
   (165362, false, 3168400, 73, 1568550955560),
   (165394, false, 656, 1, 4236120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints832

#print axioms CongruentPoints832.on_curve
#print axioms CongruentPoints832.indep
#print axioms CongruentPoints832.count

bsd/CongruentPoints833.lean

lean_all/bsd/CongruentPoints833.lean

/-
  bsd/CongruentPoints833.lean — T39 goal G859: points for congruent curves in 165401–165600 with Tunnell A = 2B
  (n = 165410, 165423, 165445, 165461, 165487, 165495, 165557, 165570, 165581, 165594, 165599), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints833
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (165410, true, 1642285, 1, 2093913375),
   (165423, true, 246225, 1, 90498240),
   (165445, false, 508805, 3, 998182900),
   (165461, true, 37908479401, 304, 6753713440068075),
   (165487, true, 180625, 1, 30763200),
   (165495, true, 191455, 1, 42120100),
   (165557, false, 13285508, 9, 6647890150),
   (165570, true, 167445, 1, 10225125),
   (165581, false, 304317, 7, 4472640432),
   (165594, true, 446988, 1, 277579548),
   (165599, true, 30965088961, 431, 623292784295040)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints833

#print axioms CongruentPoints833.on_curve
#print axioms CongruentPoints833.indep
#print axioms CongruentPoints833.count

bsd/CongruentPoints834.lean

lean_all/bsd/CongruentPoints834.lean

/-
  bsd/CongruentPoints834.lean — T39 goal G859: points for congruent curves in 165601–165800 with Tunnell A = 2B
  (n = 165614, 165615, 165711, 165715, 165742, 165790), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints834
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (165614, false, 779131063, 1426, 9400267127453349),
   (165615, true, 491415, 1, 324333900),
   (165711, true, 100586577, 11, 988564878756),
   (165715, true, 1973515, 3, 1815633800),
   (165742, false, 34458062, 31, 912836120400),
   (165790, true, 5882890, 3, 13802165000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints834

#print axioms CongruentPoints834.on_curve
#print axioms CongruentPoints834.indep
#print axioms CongruentPoints834.count

bsd/CongruentPoints835.lean

lean_all/bsd/CongruentPoints835.lean

/-
  bsd/CongruentPoints835.lean — T39 goal G859: points for congruent curves in 165801–166000 with Tunnell A = 2B
  (n = 165810, 165815, 165819, 165830, 165935, 165966, 165990, 165991), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints835
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (165810, false, 18903750, 11, 29222109000),
   (165815, true, 241865, 1, 86595600),
   (165819, true, 3103756797, 119, 113074010993196),
   (165830, true, 742630, 1, 623809200),
   (165935, true, 71517985, 19, 330413090700),
   (165966, true, 50786287525, 513, 5840026257680515),
   (165990, true, 7702134, 5, 18007738848),
   (165991, false, 744464, 11, 17317820100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints835

#print axioms CongruentPoints835.on_curve
#print axioms CongruentPoints835.indep
#print axioms CongruentPoints835.count

bsd/CongruentPoints836.lean

lean_all/bsd/CongruentPoints836.lean

/-
  bsd/CongruentPoints836.lean — T39 goal G869: points for congruent curves in 166001–166200 with Tunnell A = 2B
  (n = 166019, 166022, 166049, 166074, 166129, 166135, 166166, 166179, 166189), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints836
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (166019, true, 11504668, 1, 39018081522),
   (166022, true, 1221025, 2, 1132228305),
   (166049, false, 101124, 1, 41882190),
   (166074, false, 3971159, 390, 50337250816139),
   (166129, true, 198927, 1, 48803424),
   (166135, true, 381820760560, 1293, 161890066928267900),
   (166166, true, 198198, 1, 48096048),
   (166179, true, 308265917089, 554, 168795620322621175),
   (166189, true, 16503024218025409, 215670, 1873094145011679130975673)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints836

#print axioms CongruentPoints836.on_curve
#print axioms CongruentPoints836.indep
#print axioms CongruentPoints836.count

bsd/CongruentPoints837.lean

lean_all/bsd/CongruentPoints837.lean

/-
  bsd/CongruentPoints837.lean — T39 goal G869: points for congruent curves in 166201–166400 with Tunnell A = 2B
  (n = 166206, 166262, 166279, 166281, 166285, 166294, 166313, 166335, 166362, 166393, 166394), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints837
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (166206, false, 179574, 5, 1759148424),
   (166262, false, 385442, 3, 897649640),
   (166279, true, 1077164543434225, 80427, 1919211890735476773280),
   (166281, true, 1661521, 3, 930451760),
   (166285, true, 186515, 1, 36485400),
   (166294, true, 44922294, 7, 296093003520),
   (166313, false, 198042327, 127, 37646605014480),
   (166335, true, 4285666225, 157, 81687241402300),
   (166362, false, 5320322, 41, 644929432840),
   (166393, true, 23894697229335409, 286715, 3028556922385240842104952),
   (166394, true, 188498, 1, 38453592)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints837

#print axioms CongruentPoints837.on_curve
#print axioms CongruentPoints837.indep
#print axioms CongruentPoints837.count

bsd/CongruentPoints838.lean

lean_all/bsd/CongruentPoints838.lean

/-
  bsd/CongruentPoints838.lean — T39 goal G869: points for congruent curves in 166401–166600 with Tunnell A = 2B
  (n = 166415, 166430, 166433, 166443, 166467, 166470, 166481, 166493, 166498, 166515, 166530, 166543, 166549, 166567, 166579, 166583, 166594, 166595), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints838
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (166415, true, 6265625, 1, 15678097500),
   (166430, true, 269314, 1, 109880112),
   (166433, true, 624803298025, 1071, 470254498664829220),
   (166443, false, 56035701, 755, 710218150677468),
   (166467, false, 214221, 5, 1923636708),
   (166470, false, 356789850, 1111, 3881232757972800),
   (166481, false, 2941952, 9, 22572416672),
   (166493, false, 950971275, 103, 45901297478940),
   (166498, true, 11739291850225, 3562, 39565322916783533865),
   (166515, true, 525809244435, 961, 364607729259705000),
   (166530, false, 62846, 1, 38660608),
   (166543, true, 53353049308, 9, 12323635793919190),
   (166549, false, 101, 7, 82016040),
   (166567, true, 39199772813955625, 17671, 7761129727541262632569800),
   (166579, false, 262401251, 41, 1583543188080),
   (166583, true, 10272025, 7, 19986200520),
   (166594, false, 1689717263, 1104, 8346213401083831),
   (166595, false, 12100, 1, 18277050)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints838

#print axioms CongruentPoints838.on_curve
#print axioms CongruentPoints838.indep
#print axioms CongruentPoints838.count

bsd/CongruentPoints839.lean

lean_all/bsd/CongruentPoints839.lean

/-
  bsd/CongruentPoints839.lean — T39 goal G869: points for congruent curves in 166601–166800 with Tunnell A = 2B
  (n = 166605, 166621, 166665, 166697, 166713, 166799), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints839
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (166605, false, 7068605, 21, 194434910900),
   (166621, false, 1987453, 31, 225718991784),
   (166665, true, 2098624, 3, 2126263832),
   (166697, true, 148081664792161, 11685, 1780575140677043293784),
   (166713, true, 18622263, 7, 72217019160),
   (166799, true, 14011220161, 119, 1634757119542560)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints839

#print axioms CongruentPoints839.on_curve
#print axioms CongruentPoints839.indep
#print axioms CongruentPoints839.count

bsd/CongruentPoints84.lean

lean_all/bsd/CongruentPoints84.lean

/-
  bsd/CongruentPoints84.lean — T39 goal G138: points for congruent curves in 15601–15800 with Tunnell A = 2B
  (n = 15605, 15617, 15626, 15635, 15645, 15655, 15665, 15686, 15694, 15695, 15699, 15702, 15737, 15738, 15742, 15751, 15753, 15761, 15763, 15770, 15771, 15774, 15785, 15799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints84
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (15605, false, 8405, 1, 1205400),
   (15617, true, 2514337, 8, 3658360335),
   (15626, false, 2433600, 17, 5934374160),
   (15635, false, 501264, 29, 9302749716),
   (15645, true, 19845, 1, 1719900),
   (15655, true, 70225, 2, 8423025),
   (15665, false, 7744, 1, 1198296),
   (15686, true, 11184118, 3, 37399690592),
   (15694, true, 11000364032, 341, 1137759866099136),
   (15695, true, 838278583147681, 28391, 24267950136957384917904),
   (15699, false, 44259843, 553, 31938074539776),
   (15702, false, 389376, 5, 31086432),
   (15737, true, 168091225, 97, 1031520603960),
   (15738, true, 22188, 1, 2329740),
   (15742, true, 21250, 1, 2080800),
   (15751, false, 190969, 13, 1160261220),
   (15753, true, 69707025, 8, 581928186105),
   (15761, true, 735410868721, 6769, 119184315903721200),
   (15763, true, 22588379, 5, 107339977008),
   (15770, true, 34445, 1, 5683425),
   (15771, false, 11163, 1, 1177056),
   (15774, true, 19074, 1, 1481040),
   (15785, false, 1713481, 157, 509306625828),
   (15799, true, 2452573564, 33, 121456951842590)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end CongruentPoints84

#print axioms CongruentPoints84.on_curve
#print axioms CongruentPoints84.indep
#print axioms CongruentPoints84.count

bsd/CongruentPoints840.lean

lean_all/bsd/CongruentPoints840.lean

/-
  bsd/CongruentPoints840.lean — T39 goal G869: points for congruent curves in 166801–167000 with Tunnell A = 2B
  (n = 166810, 166817, 166830, 166866, 166870, 166873, 166895, 166899, 166901, 166911, 166957, 166961, 166998), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints840
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (166810, false, 84413315, 27, 804225437225),
   (166817, true, 185983, 1, 35462280),
   (166830, true, 18629350, 1, 80404274600),
   (166866, true, 272832, 1, 112747824),
   (166870, true, 75258370, 17, 501220744200),
   (166873, true, 319225, 1, 153756840),
   (166895, true, 91751439025, 612, 20344048639310825),
   (166899, true, 82908147, 1, 754909573824),
   (166901, true, 152315073, 28, 962174578527),
   (166911, false, 3887, 4, 166499047),
   (166957, false, 103684, 5, 1343589114),
   (166961, false, 349369375, 2884, 25956608817257775),
   (166998, false, 71735118, 53, 3926364460200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints840

#print axioms CongruentPoints840.on_curve
#print axioms CongruentPoints840.indep
#print axioms CongruentPoints840.count

bsd/CongruentPoints841.lean

lean_all/bsd/CongruentPoints841.lean

/-
  bsd/CongruentPoints841.lean — T39 goal G869: points for congruent curves in 167001–167200 with Tunnell A = 2B
  (n = 167006, 167014, 167034, 167065, 167070, 167074, 167078, 167097, 167127, 167165, 167169, 167171, 167178, 167181, 167185, 167195), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints841
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (167006, true, 3602558, 1, 6830449968),
   (167014, false, 2491650, 23, 139405302120),
   (167034, true, 169362, 1, 11516616),
   (167065, true, 8072583498868249, 217701, 141335922924473154594668),
   (167070, false, 1579220, 67, 942471948700),
   (167074, false, 4624, 1, 11356680),
   (167078, false, 74683171, 65, 6066149122983),
   (167097, true, 85386567, 19, 558428148180),
   (167127, true, 89795498703, 281, 26615863581524100),
   (167165, true, 21273840, 11, 30401752500),
   (167169, false, 3437316, 5, 4407211998),
   (167171, false, 959065775, 84, 21266139459545),
   (167178, true, 907137, 2, 583807455),
   (167181, false, 24510151239, 566, 7455231775484955),
   (167185, false, 164836, 1, 11338362),
   (167195, true, 2754081, 4, 1086582321)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints841

#print axioms CongruentPoints841.on_curve
#print axioms CongruentPoints841.indep
#print axioms CongruentPoints841.count

bsd/CongruentPoints842.lean

lean_all/bsd/CongruentPoints842.lean

/-
  bsd/CongruentPoints842.lean — T39 goal G869: points for congruent curves in 167201–167400 with Tunnell A = 2B
  (n = 167217, 167239, 167277, 167315, 167354, 167362), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints842
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (167217, false, 1565001, 5, 4849416432),
   (167239, true, 48673625641, 537, 1452121403459120),
   (167277, true, 855625, 2, 493284925),
   (167315, true, 43951525, 9, 277182541900),
   (167354, true, 221804, 1, 68556180),
   (167362, true, 182782018, 33, 187125692480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints842

#print axioms CongruentPoints842.on_curve
#print axioms CongruentPoints842.indep
#print axioms CongruentPoints842.count

bsd/CongruentPoints843.lean

lean_all/bsd/CongruentPoints843.lean

/-
  bsd/CongruentPoints843.lean — T39 goal G869: points for congruent curves in 167401–167600 with Tunnell A = 2B
  (n = 167405, 167470, 167489, 167518, 167533, 167542, 167547, 167554), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints843
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (167405, false, 160205, 1, 19439400),
   (167470, false, 204020, 3, 674528500),
   (167489, false, 19663, 4, 375767721),
   (167518, false, 43732, 1, 33816900),
   (167533, true, 6598341, 5, 13096973736),
   (167542, true, 376467041542, 549, 228901123043843840),
   (167547, true, 4372458356236523281, 4981080, 2834462855725035433753187321),
   (167554, false, 18496, 1, 22648080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints843

#print axioms CongruentPoints843.on_curve
#print axioms CongruentPoints843.indep
#print axioms CongruentPoints843.count

bsd/CongruentPoints844.lean

lean_all/bsd/CongruentPoints844.lean

/-
  bsd/CongruentPoints844.lean — T39 goal G869: points for congruent curves in 167601–167800 with Tunnell A = 2B
  (n = 167610, 167671, 167674, 167685, 167739, 167754, 167765, 167790), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints844
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (167610, false, 28851446784, 793, 17219396625471936),
   (167671, true, 1980279, 1, 2776688880),
   (167674, true, 59629432508218225, 576212, 5216732938172288696685705),
   (167685, false, 14641725, 11, 53747580600),
   (167739, false, 7248579, 55, 1365971217156),
   (167754, true, 295650, 1, 132372360),
   (167765, false, 1684804, 17, 62894334294),
   (167790, true, 734349, 1, 612647343)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints844

#print axioms CongruentPoints844.on_curve
#print axioms CongruentPoints844.indep
#print axioms CongruentPoints844.count

bsd/CongruentPoints845.lean

lean_all/bsd/CongruentPoints845.lean

/-
  bsd/CongruentPoints845.lean — T39 goal G869: points for congruent curves in 167801–168000 with Tunnell A = 2B
  (n = 167851, 167854, 167869, 167889, 167910, 167926, 167943, 167979), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints845
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (167851, true, 13623597, 7, 40087340124),
   (167854, true, 2012018, 1, 2844010512),
   (167869, false, 3261636, 5, 4769423862),
   (167889, true, 386775, 1, 216697140),
   (167910, true, 223494, 1, 69730128),
   (167926, false, 761378, 3, 1139174504),
   (167943, true, 14067696, 5, 50358834756),
   (167979, true, 189525, 1, 38208240)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints845

#print axioms CongruentPoints845.on_curve
#print axioms CongruentPoints845.indep
#print axioms CongruentPoints845.count

bsd/CongruentPoints846.lean

lean_all/bsd/CongruentPoints846.lean

/-
  bsd/CongruentPoints846.lean — T39 goal G870: points for congruent curves in 168001–168200 with Tunnell A = 2B
  (n = 168010, 168059, 168062, 168113, 168135, 168170, 168181, 168191, 168199), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints846
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (168010, true, 11159644225, 132, 1137612009910175),
   (168059, true, 705406813225, 8, 592460601256608555),
   (168062, true, 1163650, 1, 1242098880),
   (168113, true, 599881148273, 773, 458059444751259780),
   (168135, true, 168540, 1, 4793850),
   (168170, true, 365063436, 17, 6913044037116),
   (168181, false, 56644, 1, 37688490),
   (168191, true, 33977252658001, 3017, 197852297514007028880),
   (168199, true, 1338649, 1, 1536542280)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints846

#print axioms CongruentPoints846.on_curve
#print axioms CongruentPoints846.indep
#print axioms CongruentPoints846.count

bsd/CongruentPoints847.lean

lean_all/bsd/CongruentPoints847.lean

/-
  bsd/CongruentPoints847.lean — T39 goal G870: points for congruent curves in 168201–168400 with Tunnell A = 2B
  (n = 168205, 168206, 168265, 168270, 168305, 168373), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints847
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (168205, true, 1058522034025, 958, 1077411489552126675),
   (168206, true, 295990079728, 467, 159791779082480328),
   (168265, false, 532900, 17, 35496735450),
   (168270, false, 15617231, 24, 378023667497),
   (168305, false, 94864, 1, 42819084),
   (168373, true, 206930417, 2, 2976694048545)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints847

#print axioms CongruentPoints847.on_curve
#print axioms CongruentPoints847.indep
#print axioms CongruentPoints847.count

bsd/CongruentPoints848.lean

lean_all/bsd/CongruentPoints848.lean

/-
  bsd/CongruentPoints848.lean — T39 goal G870: points for congruent curves in 168401–168600 with Tunnell A = 2B
  (n = 168454, 168461, 168465, 168495, 168510, 168539, 168566, 168586, 168589, 168590), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints848
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (168454, true, 1267838, 1, 1414907208),
   (168461, true, 1624114386847726225, 3005554, 723129075706023250436927505),
   (168465, true, 1042441, 2, 812061539),
   (168495, true, 174231, 1, 18507204),
   (168510, false, 206099210, 97, 22568712309800),
   (168539, true, 793611940801, 1378, 646953204854973255),
   (168566, false, 26935138, 13, 48141746856),
   (168586, true, 206998, 1, 54647472),
   (168589, true, 161553852, 11, 2036975967306),
   (168590, true, 190165788204000625, 552544, 79832101111662165021023625)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints848

#print axioms CongruentPoints848.on_curve
#print axioms CongruentPoints848.indep
#print axioms CongruentPoints848.count

bsd/CongruentPoints849.lean

lean_all/bsd/CongruentPoints849.lean

/-
  bsd/CongruentPoints849.lean — T39 goal G870: points for congruent curves in 168601–168800 with Tunnell A = 2B
  (n = 168630, 168654, 168686, 168721, 168729, 168735, 168773, 168774), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints849
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (168630, true, 1758570, 1, 2321312400),
   (168654, false, 79350, 1, 41921640),
   (168686, true, 521486, 1, 356339760),
   (168721, false, 19663, 1, 23497656),
   (168729, true, 245977313521, 68, 121994540715829175),
   (168735, false, 10761135, 8, 2965537575),
   (168773, true, 4743073648, 51, 325253332317340),
   (168774, false, 6127476, 7, 13747958820)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints849

#print axioms CongruentPoints849.on_curve
#print axioms CongruentPoints849.indep
#print axioms CongruentPoints849.count

bsd/CongruentPoints85.lean

lean_all/bsd/CongruentPoints85.lean

/-
  bsd/CongruentPoints85.lean — T39 goal G139: points for congruent curves in 15801–16000 with Tunnell A = 2B
  (n = 15805, 15806, 15811, 15829, 15833, 15834, 15839, 15841, 15845, 15855, 15857, 15878, 15879, 15910, 15918, 15934, 15941, 15946, 15949, 15951, 15973, 15977, 15983, 15990, 15997), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints85
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (15805, true, 40612670245, 513, 8141466191212900),
   (15806, true, 17844974, 11, 74948890800),
   (15811, true, 619415713, 72, 15280494666353),
   (15829, true, 22777931, 19, 105234041220),
   (15833, false, 31587119, 60, 266657653529),
   (15834, true, 184093, 1, 78694343),
   (15839, true, 2839225, 11, 3529724520),
   (15841, true, 3437497, 12, 4767808339),
   (15845, true, 502587162557660041, 787152, 356233050730528119043402789),
   (15855, true, 37905, 1, 6703200),
   (15857, true, 1062352797025, 6572, 837050045496956655),
   (15878, true, 436178, 1, 287877480),
   (15879, false, 6399, 38, 1834198695),
   (15910, true, 492389907025, 2938, 331801539118011975),
   (15918, true, 1867502413, 279, 60380927168975),
   (15934, true, 25538, 1, 3189312),
   (15941, true, 5078491, 1, 11444580840),
   (15946, true, 80802, 1, 22516824),
   (15949, true, 714527018209, 6570, 161722283923348073),
   (15951, false, 15876, 1, 194670),
   (15973, true, 1077952680025, 5874, 961841537780503445),
   (15977, true, 2149679584465459225, 731619, 3151789187282876383184283740),
   (15983, true, 24141378503, 553, 3673282616417700),
   (15990, true, 16810, 1, 672400),
   (15997, true, 1848906465025, 9306, 1664904968517450905)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 25 := rfl

end CongruentPoints85

#print axioms CongruentPoints85.on_curve
#print axioms CongruentPoints85.indep
#print axioms CongruentPoints85.count

bsd/CongruentPoints850.lean

lean_all/bsd/CongruentPoints850.lean

/-
  bsd/CongruentPoints850.lean — T39 goal G870: points for congruent curves in 168801–169000 with Tunnell A = 2B
  (n = 168810, 168823, 168834, 168861, 168870, 168882, 168889, 168909, 168910, 168929, 168931, 168937, 168961, 168990), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints850
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (168810, true, 26294640, 7, 127989160200),
   (168823, false, 1234375, 23, 99213177000),
   (168834, false, 433040514, 65, 11795708985984),
   (168861, true, 157246243, 29, 846685793492),
   (168870, true, 61132656, 19, 35682623496),
   (168882, false, 12751242, 13, 91179942840),
   (168889, true, 297689, 1, 133752360),
   (168909, true, 1886547, 1, 2580796296),
   (168910, true, 3064510, 3, 4658055200),
   (168929, true, 3396753, 4, 3791650233),
   (168931, true, 45514621995908597401, 6195198, 303930724699418549037095769355),
   (168937, true, 4797274809833922025, 1250112, 10491394669991418821535436555),
   (168961, false, 136161, 1, 36914760),
   (168990, true, 44898953100, 221, 9351678181286700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints850

#print axioms CongruentPoints850.on_curve
#print axioms CongruentPoints850.indep
#print axioms CongruentPoints850.count

bsd/CongruentPoints851.lean

lean_all/bsd/CongruentPoints851.lean

/-
  bsd/CongruentPoints851.lean — T39 goal G870: points for congruent curves in 169001–169200 with Tunnell A = 2B
  (n = 169005, 169021, 169034, 169035, 169045, 169069, 169070, 169071, 169094, 169139, 169162, 169190), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints851
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (169005, true, 6681331, 1, 17264559304),
   (169021, false, 2802276, 5, 5294264382),
   (169034, true, 15464716, 7, 51357403140),
   (169035, true, 230640, 1, 75357900),
   (169045, true, 961303772521, 2108, 588141592411609269),
   (169069, true, 1109329137267649, 65130, 28188257105985464675143),
   (169070, true, 284229, 1, 121807917),
   (169071, false, 6472332447, 446, 2655057252559383),
   (169094, true, 172044, 1, 13158180),
   (169139, true, 18085864131, 11, 2432252272311420),
   (169162, true, 207088, 1, 54360600),
   (169190, false, 17228811060, 1327, 39040629723975300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints851

#print axioms CongruentPoints851.on_curve
#print axioms CongruentPoints851.indep
#print axioms CongruentPoints851.count

bsd/CongruentPoints852.lean

lean_all/bsd/CongruentPoints852.lean

/-
  bsd/CongruentPoints852.lean — T39 goal G870: points for congruent curves in 169201–169400 with Tunnell A = 2B
  (n = 169206, 169210, 169211, 169214, 169274, 169278, 169286, 169291, 169323, 169330, 169334, 169346, 169366, 169369, 169383, 169395), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints852
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (169206, false, 6627606, 7, 12824890560),
   (169210, false, 90000, 1, 42987000),
   (169211, false, 41114087, 16, 87467744637),
   (169214, true, 396378, 1, 225671208),
   (169274, false, 301187789371, 5227, 2532742416995362845),
   (169278, false, 909674612, 211, 225642805983980),
   (169286, false, 4343092, 11, 41717442468),
   (169291, true, 141086332, 27, 812105375786),
   (169323, true, 1383123, 1, 1614403980),
   (169330, true, 411845, 1, 240929325),
   (169334, false, 7342379, 9, 31392534635),
   (169346, false, 164738, 1, 15925056),
   (169366, false, 92416, 1, 43146720),
   (169369, true, 8290213008529, 6853, 6727068962791420200),
   (169383, true, 73004073, 13, 573812013780),
   (169395, true, 1166445, 1, 1246429800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints852

#print axioms CongruentPoints852.on_curve
#print axioms CongruentPoints852.indep
#print axioms CongruentPoints852.count

bsd/CongruentPoints853.lean

lean_all/bsd/CongruentPoints853.lean

/-
  bsd/CongruentPoints853.lean — T39 goal G870: points for congruent curves in 169401–169600 with Tunnell A = 2B
  (n = 169405, 169419, 169429, 169435, 169455, 169505, 169510, 169545, 169547, 169554, 169565, 169566, 169570), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints853
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (169405, true, 80612833756225, 18894, 478581171763224396025),
   (169419, true, 538974754201, 1764, 82324869638502205),
   (169429, true, 10928129257762249, 105630, 1125178459449716313666557),
   (169435, false, 12635, 1, 18992400),
   (169455, true, 1615471, 1, 2041955344),
   (169505, false, 19529905, 11, 27685635900),
   (169510, true, 493790, 1, 325901400),
   (169545, true, 146954993745, 593, 51490216985489100),
   (169547, true, 1105923824017489, 50170, 33929472689618657602737),
   (169554, false, 996611, 3, 1153635175),
   (169565, false, 508475, 3, 1026031600),
   (169566, true, 27074038, 9, 121399986392),
   (169570, true, 179180, 1, 24505500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints853

#print axioms CongruentPoints853.on_curve
#print axioms CongruentPoints853.indep
#print axioms CongruentPoints853.count

bsd/CongruentPoints854.lean

lean_all/bsd/CongruentPoints854.lean

/-
  bsd/CongruentPoints854.lean — T39 goal G870: points for congruent curves in 169601–169800 with Tunnell A = 2B
  (n = 169617, 169634, 169645, 169653, 169694, 169711, 169719, 169730, 169743, 169746, 169761, 169762, 169773, 169782, 169790, 169795, 169799), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints854
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (169617, true, 452025, 1, 281701980),
   (169634, false, 41616, 1, 33547800),
   (169645, true, 111117475, 23, 690706224600),
   (169653, true, 8761896025, 24, 820106267749795),
   (169694, true, 176418, 1, 20262528),
   (169711, true, 394684144375, 1391, 137566149683352300),
   (169719, true, 521163241, 6, 11896817985325),
   (169730, false, 171875, 3, 629275625),
   (169743, true, 216832, 1, 62825840),
   (169746, false, 831744, 5, 3795143904),
   (169761, true, 23618678169, 302, 2741099888163915),
   (169762, true, 7928151695548561, 183910, 486772512080990413033191),
   (169773, true, 183027, 1, 29254680),
   (169782, false, 121104, 5, 1476502056),
   (169790, false, 166410, 1, 13751400),
   (169795, true, 206045, 1, 52983000),
   (169799, true, 4633087, 3, 9414432784)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints854

#print axioms CongruentPoints854.on_curve
#print axioms CongruentPoints854.indep
#print axioms CongruentPoints854.count

bsd/CongruentPoints855.lean

lean_all/bsd/CongruentPoints855.lean

/-
  bsd/CongruentPoints855.lean — T39 goal G870: points for congruent curves in 169801–170000 with Tunnell A = 2B
  (n = 169806, 169849, 169865, 169895, 169898, 169905, 169910, 169945, 169949, 169959, 169995), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints855
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (169806, true, 1048944, 1, 1060137000),
   (169849, true, 77392645641481, 21287, 71495362834650170520),
   (169865, true, 19385748555625, 5877, 81351195797802218500),
   (169895, false, 48400, 1, 35828100),
   (169898, true, 4369833, 2, 9023618955),
   (169905, true, 19850929, 8, 73994787433),
   (169910, true, 278367036025, 812, 134448909108043725),
   (169945, true, 54128241, 16, 236931370761),
   (169949, true, 2218768139809, 2178, 3079089752961323465),
   (169959, true, 4784903929, 88, 318218520217715),
   (169995, true, 1607445, 1, 2026571400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints855

#print axioms CongruentPoints855.on_curve
#print axioms CongruentPoints855.indep
#print axioms CongruentPoints855.count

bsd/CongruentPoints856.lean

lean_all/bsd/CongruentPoints856.lean

/-
  bsd/CongruentPoints856.lean — T39 goal G871: points for congruent curves in 170001–170200 with Tunnell A = 2B
  (n = 170022, 170027, 170033, 170051, 170065, 170085, 170138, 170149, 170185), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints856
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (170022, true, 724722, 1, 599741640),
   (170027, true, 3553225, 4, 4308640635),
   (170033, true, 8430433, 7, 3736819680),
   (170051, true, 10882036489, 90, 1126050924601763),
   (170065, true, 134521415, 19, 1388261002800),
   (170085, true, 27950635, 9, 128572921000),
   (170138, true, 102774742225, 534, 29045881797990535),
   (170149, true, 14681101, 1, 56248218300),
   (170185, true, 31889840057881, 8903, 163180620848820598296)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints856

#print axioms CongruentPoints856.on_curve
#print axioms CongruentPoints856.indep
#print axioms CongruentPoints856.count

bsd/CongruentPoints857.lean

lean_all/bsd/CongruentPoints857.lean

/-
  bsd/CongruentPoints857.lean — T39 goal G871: points for congruent curves in 170201–170400 with Tunnell A = 2B
  (n = 170254, 170255, 170306, 170321, 170339, 170346, 170374, 170391), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints857
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (170254, false, 200704, 65, 322256758656),
   (170255, true, 40443405597169, 1551, 257187174891697993672),
   (170306, false, 4418, 1, 11316096),
   (170321, false, 144400, 1, 34321980),
   (170339, true, 249993000049, 1146, 55790824170026465),
   (170346, true, 174262, 1, 15335056),
   (170374, true, 551169529, 52, 7103543532045),
   (170391, true, 4213178281, 46, 272469990198835)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints857

#print axioms CongruentPoints857.on_curve
#print axioms CongruentPoints857.indep
#print axioms CongruentPoints857.count

bsd/CongruentPoints858.lean

lean_all/bsd/CongruentPoints858.lean

/-
  bsd/CongruentPoints858.lean — T39 goal G871: points for congruent curves in 170401–170600 with Tunnell A = 2B
  (n = 170407, 170409, 170410, 170430, 170473, 170495, 170519, 170526, 170555, 170565, 170566, 170578, 170591), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints858
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (170407, true, 143549375, 29, 98807905800),
   (170409, true, 11255344041, 1, 1194093025794720),
   (170410, true, 285610, 1, 122491200),
   (170430, true, 320346, 1, 153523656),
   (170473, true, 48851614508449, 15515, 185261421801776124168),
   (170495, true, 212344020720, 991, 60177120539854500),
   (170519, true, 8649481, 1, 25433179800),
   (170526, false, 480534, 5, 2936405736),
   (170555, true, 172480, 1, 10672200),
   (170565, true, 5574862225, 106, 390878498465425),
   (170566, true, 197516, 1, 44264220),
   (170578, true, 105262777855225, 24624, 200734589283808359565),
   (170591, true, 61310216881, 553, 7975220354108400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints858

#print axioms CongruentPoints858.on_curve
#print axioms CongruentPoints858.indep
#print axioms CongruentPoints858.count

bsd/CongruentPoints859.lean

lean_all/bsd/CongruentPoints859.lean

/-
  bsd/CongruentPoints859.lean — T39 goal G871: points for congruent curves in 170601–170800 with Tunnell A = 2B
  (n = 170601, 170605, 170630, 170646, 170671, 170674, 170710, 170754, 170779, 170794), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints859
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (170601, false, 81225, 1, 42756840),
   (170605, true, 8268805055809, 5130, 19966958873967887623),
   (170630, false, 119447554, 47, 3907129819944),
   (170646, false, 94317972, 97, 15566328746892),
   (170671, true, 16037942881, 233, 1657812672317760),
   (170674, true, 99758953, 16, 895735638987),
   (170710, true, 1576090, 3, 441305200),
   (170754, true, 1835829, 1, 2476632555),
   (170779, true, 14588476, 9, 17697458870),
   (170794, true, 516906, 1, 350762880)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints859

#print axioms CongruentPoints859.on_curve
#print axioms CongruentPoints859.indep
#print axioms CongruentPoints859.count

bsd/CongruentPoints86.lean

lean_all/bsd/CongruentPoints86.lean

/-
  bsd/CongruentPoints86.lean — T39 goal G140: points for congruent curves in 16001–16200 with Tunnell A = 2B
  (n = 16005, 16014, 16031, 16034, 16037, 16057, 16069, 16079, 16086, 16089, 16095, 16107, 16135, 16147, 16151, 16153, 16154, 16159, 16162, 16165, 16166, 16185, 16195, 16198), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints86
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (16005, true, 23672979, 19, 111697344792),
   (16014, true, 125709900, 83, 675740996460),
   (16031, true, 877969, 7, 367453920),
   (16034, false, 1922, 1, 697872),
   (16037, false, 9583, 4, 25100985),
   (16057, false, 1092025, 17, 4713108840),
   (16069, true, 1090948915225, 5922, 975680310223582795),
   (16079, false, 11025, 1, 1228920),
   (16086, true, 40362, 1, 7437024),
   (16089, true, 748225, 1, 647064980),
   (16095, true, 373404, 1, 227963142),
   (16107, true, 24843, 1, 2981160),
   (16135, true, 106682146977025, 63133, 879168865136797941600),
   (16147, true, 33112003, 7, 190482096120),
   (16151, true, 271441, 3, 119434040),
   (16153, true, 64547404153, 843, 16137620182405540),
   (16154, true, 1116225, 8, 444616095),
   (16159, true, 367137, 4, 157939761),
   (16162, true, 54936162, 49, 288222296160),
   (16165, false, 15876, 1, 383418),
   (16166, true, 110737100, 17, 1164267721980),
   (16185, true, 21025, 1, 1945900),
   (16195, true, 133225, 2, 42491475),
   (16198, true, 8745100, 1, 25861066140)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end CongruentPoints86

#print axioms CongruentPoints86.on_curve
#print axioms CongruentPoints86.indep
#print axioms CongruentPoints86.count

bsd/CongruentPoints860.lean

lean_all/bsd/CongruentPoints860.lean

/-
  bsd/CongruentPoints860.lean — T39 goal G871: points for congruent curves in 170801–171000 with Tunnell A = 2B
  (n = 170805, 170821, 170833, 170839, 170877, 170886, 170890, 170913, 170945, 170959, 170962, 170966, 170969), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints860
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (170805, true, 191691, 1, 38096064),
   (170821, true, 11334492, 7, 25730281746),
   (170833, true, 61295051233, 174, 15121207222877015),
   (170839, true, 20769028863025, 3507, 94165181339021685640),
   (170877, false, 7882923, 7, 7924453020),
   (170886, false, 7646770752, 241, 553312203988752),
   (170890, false, 50410, 7, 1880023200),
   (170913, true, 174087, 1, 13806900),
   (170945, true, 1616624, 1, 2043957468),
   (170959, true, 11237823, 7, 25111888152),
   (170962, true, 17865529, 10, 21921004083),
   (170966, false, 132098, 3, 557178056),
   (170969, true, 1660894605049, 127, 2140486598336561160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints860

#print axioms CongruentPoints860.on_curve
#print axioms CongruentPoints860.indep
#print axioms CongruentPoints860.count

bsd/CongruentPoints861.lean

lean_all/bsd/CongruentPoints861.lean

/-
  bsd/CongruentPoints861.lean — T39 goal G871: points for congruent curves in 171001–171200 with Tunnell A = 2B
  (n = 171017, 171039, 171105, 171113, 171129, 171145, 171151, 171186, 171190, 171195), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints861
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (171017, true, 1566103, 3, 362024740),
   (171039, true, 207036, 1, 53081730),
   (171105, true, 95989905, 7, 936861472800),
   (171113, false, 1183744, 5, 4472531904),
   (171129, true, 1151329, 1, 1221653420),
   (171145, true, 2761329975625, 1617, 4527917081606269000),
   (171151, true, 16394401, 7, 57038424960),
   (171186, false, 1685268, 31, 213551845884),
   (171190, true, 1355075440, 13, 49870785203400),
   (171195, true, 211875, 1, 57460500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints861

#print axioms CongruentPoints861.on_curve
#print axioms CongruentPoints861.indep
#print axioms CongruentPoints861.count

bsd/CongruentPoints862.lean

lean_all/bsd/CongruentPoints862.lean

/-
  bsd/CongruentPoints862.lean — T39 goal G871: points for congruent curves in 171201–171400 with Tunnell A = 2B
  (n = 171210, 171213, 171241, 171245, 171249, 171269, 171290, 171319, 171327, 171329, 171339, 171390, 171391, 171395), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints862
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (171210, true, 204490, 1, 50564800),
   (171213, true, 261237, 1, 100847340),
   (171241, true, 1042441, 1, 1049873880),
   (171245, true, 6973805, 1, 18410845200),
   (171249, true, 19933734237013129, 268286, 2211827298144909609500765),
   (171269, true, 3313408, 3, 5338935728),
   (171290, false, 151290, 1, 31242000),
   (171319, false, 112225, 1, 43363740),
   (171327, true, 8955648, 7, 9333464400),
   (171329, true, 1593579014997649, 32841, 63186008717106042049520),
   (171339, true, 80501163, 17, 569472988608),
   (171390, true, 970225, 2, 676246825),
   (171391, true, 2239134796333009, 48470, 104227493592694253030223),
   (171395, false, 109409895, 26, 398811643125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints862

#print axioms CongruentPoints862.on_curve
#print axioms CongruentPoints862.indep
#print axioms CongruentPoints862.count

bsd/CongruentPoints863.lean

lean_all/bsd/CongruentPoints863.lean

/-
  bsd/CongruentPoints863.lean — T39 goal G871: points for congruent curves in 171401–171600 with Tunnell A = 2B
  (n = 171419, 171421, 171510, 171533, 171595), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints863
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (171419, true, 3047262364, 13, 168207418278990),
   (171421, false, 168100, 1, 13767390),
   (171510, true, 30436240779025, 9078, 148710060551685607975),
   (171533, false, 1845412, 19, 84083080530),
   (171595, true, 24076177225, 202, 3574314717905475)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints863

#print axioms CongruentPoints863.on_curve
#print axioms CongruentPoints863.indep
#print axioms CongruentPoints863.count

bsd/CongruentPoints864.lean

lean_all/bsd/CongruentPoints864.lean

/-
  bsd/CongruentPoints864.lean — T39 goal G871: points for congruent curves in 171601–171800 with Tunnell A = 2B
  (n = 171602, 171615, 171654, 171710, 171715, 171773, 171790), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints864
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (171602, false, 2823299591, 330, 981555474968173),
   (171615, true, 79121551215, 667, 5839331286354300),
   (171654, true, 484218, 1, 315064512),
   (171710, true, 1945790, 1, 2703624000),
   (171715, true, 73220821435, 473, 16866841189854300),
   (171773, false, 441007, 4, 1801496025),
   (171790, false, 13432010, 51, 1636863327800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints864

#print axioms CongruentPoints864.on_curve
#print axioms CongruentPoints864.indep
#print axioms CongruentPoints864.count

bsd/CongruentPoints865.lean

lean_all/bsd/CongruentPoints865.lean

/-
  bsd/CongruentPoints865.lean — T39 goal G871: points for congruent curves in 171801–172000 with Tunnell A = 2B
  (n = 171815, 171821, 171831, 171834, 171838, 171842, 171901, 171921, 171930, 171969, 171971, 171995), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints865
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (171815, true, 1176984142321, 846, 1269908739261955169),
   (171821, false, 132496, 1, 39819780),
   (171831, true, 12717932220841, 7631, 27995165062949655440),
   (171834, false, 468, 1, 3717324),
   (171838, true, 709508299740409, 41480, 17179790013655360168077),
   (171842, true, 101129017, 18, 848978097715),
   (171901, true, 74433133, 19, 354599445612),
   (171921, false, 76313, 3, 426915424),
   (171930, false, 4068020, 7, 14879527300),
   (171969, true, 1705953, 1, 2216831688),
   (171971, true, 3728020077351875881, 1515906, 7157535469961748393484292275),
   (171995, true, 3553225, 2, 6571081725)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints865

#print axioms CongruentPoints865.on_curve
#print axioms CongruentPoints865.indep
#print axioms CongruentPoints865.count

bsd/CongruentPoints866.lean

lean_all/bsd/CongruentPoints866.lean

/-
  bsd/CongruentPoints866.lean — T39 goal G872: points for congruent curves in 172001–172200 with Tunnell A = 2B
  (n = 172003, 172081, 172086, 172095, 172106, 172135, 172146), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints866
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (172003, true, 341388961225, 1204, 136248490159637115),
   (172081, true, 136460233, 24, 1095639210757),
   (172086, true, 211968, 1, 56979648),
   (172095, false, 866704839, 757, 2903212666370016),
   (172106, true, 176418, 1, 16282728),
   (172135, true, 165993911740, 809, 49668766730653650),
   (172146, true, 52831662, 1, 384006967344)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints866

#print axioms CongruentPoints866.on_curve
#print axioms CongruentPoints866.indep
#print axioms CongruentPoints866.count

bsd/CongruentPoints867.lean

lean_all/bsd/CongruentPoints867.lean

/-
  bsd/CongruentPoints867.lean — T39 goal G872: points for congruent curves in 172201–172400 with Tunnell A = 2B
  (n = 172205, 172230, 172231, 172254, 172270, 172285, 172289, 172309, 172319, 172326, 172334, 172339, 172361, 172374), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints867
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (172205, true, 2499245, 1, 3941666400),
   (172230, false, 24336, 1, 26598312),
   (172231, true, 1196952409, 70, 29366189929173),
   (172254, true, 9130146, 7, 10518702480),
   (172270, true, 671023045, 19, 17307444571725),
   (172285, true, 40634823957025, 13806, 152566496354924110025),
   (172289, true, 40193128521, 431, 4874624291338620),
   (172309, true, 5362826961255625, 4158, 392726863524837628454275),
   (172319, false, 8722143, 17, 144802919976),
   (172326, true, 216832, 1, 61282144),
   (172334, true, 3374802, 1, 6191636736),
   (172339, false, 8986503236, 507, 4112159197439350),
   (172361, false, 75262887, 23, 446518848048),
   (172374, false, 115926, 1, 43434720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints867

#print axioms CongruentPoints867.on_curve
#print axioms CongruentPoints867.indep
#print axioms CongruentPoints867.count

bsd/CongruentPoints868.lean

lean_all/bsd/CongruentPoints868.lean

/-
  bsd/CongruentPoints868.lean — T39 goal G872: points for congruent curves in 172401–172600 with Tunnell A = 2B
  (n = 172430, 172438, 172443, 172465, 172501, 172510, 172515, 172518), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints868
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (172430, false, 4031501620, 241, 582090180981300),
   (172438, true, 268142641942, 279, 138676863298370320),
   (172443, false, 160683647, 64, 8718709025215),
   (172465, true, 382969134025, 651, 232642171951611400),
   (172501, true, 5266933, 1, 12081020952),
   (172510, true, 17609290, 3, 73606832200),
   (172515, true, 230640, 1, 73516500),
   (172518, false, 109443, 1, 44118135)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints868

#print axioms CongruentPoints868.on_curve
#print axioms CongruentPoints868.indep
#print axioms CongruentPoints868.count

bsd/CongruentPoints869.lean

lean_all/bsd/CongruentPoints869.lean

/-
  bsd/CongruentPoints869.lean — T39 goal G872: points for congruent curves in 172601–172800 with Tunnell A = 2B
  (n = 172601, 172639, 172645, 172653, 172679, 172691, 172699, 172726, 172730, 172749, 172753, 172759, 172777), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints869
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (172601, true, 1221025, 2, 1112842185),
   (172639, false, 7352239, 7, 11344489680),
   (172645, true, 406780, 1, 234915450),
   (172653, true, 19922032, 9, 63328562180),
   (172679, true, 42825082716, 139, 8835382555618710),
   (172691, true, 1922229738025, 14, 2665065808722910515),
   (172699, true, 872014693, 49, 22653004927608),
   (172726, true, 3068332, 1, 5366168556),
   (172730, true, 250470, 1, 90776400),
   (172749, false, 204005444, 35, 803382466454),
   (172753, false, 19126863, 11, 36877934100),
   (172759, true, 4715103902041, 1751, 10173705593023812840),
   (172777, true, 286754337, 16, 4797733974705)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints869

#print axioms CongruentPoints869.on_curve
#print axioms CongruentPoints869.indep
#print axioms CongruentPoints869.count

bsd/CongruentPoints87.lean

lean_all/bsd/CongruentPoints87.lean

/-
  bsd/CongruentPoints87.lean — T39 goal G141: points for congruent curves in 16201–16400 with Tunnell A = 2B
  (n = 16205, 16206, 16215, 16226, 16230, 16239, 16241, 16269, 16271, 16287, 16302, 16303, 16310, 16346, 16347, 16359, 16378, 16385, 16391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints87
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (16205, false, 13927805, 41, 87369145800),
   (16206, true, 900601, 2, 852453485),
   (16215, false, 1201335, 17, 4964612400),
   (16226, false, 42350, 3, 28761040),
   (16230, true, 748845, 1, 647867025),
   (16239, true, 1366439096752129, 213094, 42524654982511957772455),
   (16241, true, 2007889, 11, 583832340),
   (16269, true, 243049, 2, 115448275),
   (16271, true, 2605525973188609, 270286, 118350588981088279090905),
   (16287, true, 198025, 3, 59249080),
   (16302, true, 2832102, 1, 4766023080),
   (16303, true, 469225, 4, 267176715),
   (16310, true, 5788286, 11, 13091536584),
   (16346, true, 18502, 1, 1179024),
   (16347, true, 18871636129, 440, 2555758980779633),
   (16359, true, 919353, 1, 881362728),
   (16378, true, 4737042, 17, 412882920),
   (16385, false, 256, 1, 262128),
   (16391, true, 15440475136969, 5778, 60634259192261573315)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 19 := rfl

end CongruentPoints87

#print axioms CongruentPoints87.on_curve
#print axioms CongruentPoints87.indep
#print axioms CongruentPoints87.count

bsd/CongruentPoints870.lean

lean_all/bsd/CongruentPoints870.lean

/-
  bsd/CongruentPoints870.lean — T39 goal G872: points for congruent curves in 172801–173000 with Tunnell A = 2B
  (n = 172805, 172815, 172830, 172855, 172894, 172939, 172941, 172965, 172985), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints870
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (172805, true, 1586899, 3, 397284832),
   (172815, true, 235225, 1, 77396300),
   (172830, true, 10549470, 7, 20432170800),
   (172855, true, 5976063025, 22, 461934279247425),
   (172894, false, 216626586383, 1836, 251822903971775689),
   (172939, true, 745406030161, 174, 643544582097340495),
   (172941, false, 42891, 1, 34697340),
   (172965, false, 80375360, 23, 391994317000),
   (172985, false, 1478656, 5, 4941803328)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints870

#print axioms CongruentPoints870.on_curve
#print axioms CongruentPoints870.indep
#print axioms CongruentPoints870.count

bsd/CongruentPoints871.lean

lean_all/bsd/CongruentPoints871.lean

/-
  bsd/CongruentPoints871.lean — T39 goal G872: points for congruent curves in 173001–173200 with Tunnell A = 2B
  (n = 173014, 173054, 173085, 173090, 173130, 173149, 173173, 173190), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints871
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (173014, false, 205213338, 179, 79358294535696),
   (173054, true, 7746928, 3, 21121999192),
   (173085, false, 171875, 1, 8470000),
   (173090, true, 2426110, 1, 3769273200),
   (173130, false, 150, 1, 2120400),
   (173149, true, 897288665119729, 71610, 3876642727880034169567),
   (173173, false, 2371600, 13, 44921779980),
   (173190, false, 252810, 13, 14716022400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints871

#print axioms CongruentPoints871.on_curve
#print axioms CongruentPoints871.indep
#print axioms CongruentPoints871.count

bsd/CongruentPoints872.lean

lean_all/bsd/CongruentPoints872.lean

/-
  bsd/CongruentPoints872.lean — T39 goal G872: points for congruent curves in 173201–173400 with Tunnell A = 2B
  (n = 173201, 173218, 173226, 173271, 173279, 173285, 173289, 173310, 173318, 173333, 173346, 173355, 173366, 173382, 173383), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints872
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (173201, true, 292854769, 30, 4242680304353),
   (173218, false, 49980002, 17, 19999999200),
   (173226, true, 179574, 1, 20054160),
   (173271, true, 174832, 1, 9746884),
   (173279, true, 642672049, 41, 14522861321760),
   (173285, false, 102463235, 71, 8781187869300),
   (173289, true, 5242350366221929, 97669, 360203421633875150746940),
   (173310, true, 2696640, 1, 4419118800),
   (173318, true, 1737464060641, 2910, 1225728103529919311),
   (173333, true, 2922475, 3, 4224729860),
   (173346, true, 263133, 1, 101549097),
   (173355, true, 62903100, 7, 494324011350),
   (173366, true, 132362809489, 586, 43010051997232665),
   (173382, true, 204693, 1, 49225365),
   (173383, true, 1982475625, 23, 88175207351400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints872

#print axioms CongruentPoints872.on_curve
#print axioms CongruentPoints872.indep
#print axioms CongruentPoints872.count

bsd/CongruentPoints873.lean

lean_all/bsd/CongruentPoints873.lean

/-
  bsd/CongruentPoints873.lean — T39 goal G872: points for congruent curves in 173401–173600 with Tunnell A = 2B
  (n = 173446, 173470, 173479, 173485, 173489, 173495, 173513, 173519, 173530, 173545), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints873
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (173446, true, 908209, 2, 558548535),
   (173470, true, 183920, 1, 26208600),
   (173479, true, 1711742422957681, 76985, 56621723217007017420204),
   (173485, true, 357582994318225, 12354, 6743283825344822817425),
   (173489, true, 995072, 1, 977414256),
   (173495, true, 3061873532041, 3131, 4455124975240753164),
   (173513, true, 36261171975625, 4879, 216933616182431603400),
   (173519, false, 170569, 1, 13158180),
   (173530, false, 104358870, 67, 7885988695200),
   (173545, true, 98747105, 23, 361414404300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints873

#print axioms CongruentPoints873.on_curve
#print axioms CongruentPoints873.indep
#print axioms CongruentPoints873.count

bsd/CongruentPoints874.lean

lean_all/bsd/CongruentPoints874.lean

/-
  bsd/CongruentPoints874.lean — T39 goal G872: points for congruent curves in 173601–173800 with Tunnell A = 2B
  (n = 173614, 173639, 173645, 173649, 173670, 173681, 173706, 173721, 173734, 173755, 173765, 173794, 173795), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints874
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (173614, false, 94178, 3, 478642976),
   (173639, true, 1907161, 1, 2622850440),
   (173645, false, 5628605, 7, 15138348000),
   (173649, false, 176967, 2, 282556197),
   (173670, true, 40222350, 13, 174425466600),
   (173681, true, 14977960398769, 9282, 2539718831358841985),
   (173706, true, 100391850, 23, 405101193120),
   (173721, false, 701080839, 146, 96275474360955),
   (173734, true, 11268125, 7, 24781311225),
   (173755, true, 18019228645, 27, 2418764375505500),
   (173765, false, 870435, 7, 7902149100),
   (173794, false, 226, 23, 1382116560),
   (173795, true, 411845, 1, 239616300)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints874

#print axioms CongruentPoints874.on_curve
#print axioms CongruentPoints874.indep
#print axioms CongruentPoints874.count

bsd/CongruentPoints875.lean

lean_all/bsd/CongruentPoints875.lean

/-
  bsd/CongruentPoints875.lean — T39 goal G872: points for congruent curves in 173801–174000 with Tunnell A = 2B
  (n = 173805, 173810, 173831, 173842, 173849, 173859, 173881, 173895, 173910, 173935, 173942, 173986, 173994), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints875
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (173805, false, 877805, 3, 1213046900),
   (173810, true, 510734, 1, 343213248),
   (173831, true, 2258368, 3, 2447573912),
   (173842, true, 208658, 1, 52713600),
   (173849, true, 9387478321, 102, 892501074491455),
   (173859, true, 257091, 1, 96028920),
   (173881, true, 3616569, 1, 6869776320),
   (173895, true, 15344075428152025, 28149, 1900612476606198092743700),
   (173910, false, 29126736650, 743, 15612818796396800),
   (173935, true, 321612617881, 1288, 80550407628912579),
   (173942, false, 1534100, 47, 475908595380),
   (173986, false, 164738, 1, 22716624),
   (173994, false, 7557647, 12, 65671221833)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints875

#print axioms CongruentPoints875.on_curve
#print axioms CongruentPoints875.indep
#print axioms CongruentPoints875.count

bsd/CongruentPoints876.lean

lean_all/bsd/CongruentPoints876.lean

/-
  bsd/CongruentPoints876.lean — T39 goal G873: points for congruent curves in 174001–174200 with Tunnell A = 2B
  (n = 174001, 174005, 174011, 174029, 174030, 174031, 174034, 174135, 174174, 174178), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints876
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (174001, true, 15141056401, 49, 1862382496088400),
   (174005, true, 8750266867225, 4814, 22971610812938668725),
   (174011, true, 12333233681238649, 76878, 1364898064096621555882885),
   (174029, true, 3321377, 4, 3299770929),
   (174030, false, 7224020, 9, 32534353700),
   (174031, true, 159053196016, 331, 62975320286607300),
   (174034, true, 178766, 1, 17275440),
   (174135, true, 211185, 1, 54908100),
   (174174, true, 306124, 1, 139286420),
   (174178, true, 1701150025, 54, 66963717310555)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints876

#print axioms CongruentPoints876.on_curve
#print axioms CongruentPoints876.indep
#print axioms CongruentPoints876.count

bsd/CongruentPoints877.lean

lean_all/bsd/CongruentPoints877.lean

/-
  bsd/CongruentPoints877.lean — T39 goal G873: points for congruent curves in 174201–174400 with Tunnell A = 2B
  (n = 174202, 174233, 174234, 174245, 174265, 174270, 174305, 174307, 174329, 174335, 174369, 174370), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints877
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (174202, false, 136367, 2, 252340935),
   (174233, false, 3579664, 5, 4695522084),
   (174234, true, 263538, 1, 101503512),
   (174245, false, 8077205, 7, 7863931200),
   (174265, true, 309465, 1, 142264200),
   (174270, true, 28379108521, 216, 4580357779000981),
   (174305, true, 24375015625, 122, 3783932495191875),
   (174307, false, 709407475, 151, 104156301096120),
   (174329, true, 174268078191085425625, 2234512, 2300495273756120965765163064675),
   (174335, false, 44100, 1, 35419650),
   (174369, false, 752043503, 124, 70573155670009),
   (174370, true, 179564, 1, 18168612)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints877

#print axioms CongruentPoints877.on_curve
#print axioms CongruentPoints877.indep
#print axioms CongruentPoints877.count

bsd/CongruentPoints878.lean

lean_all/bsd/CongruentPoints878.lean

/-
  bsd/CongruentPoints878.lean — T39 goal G873: points for congruent curves in 174401–174600 with Tunnell A = 2B
  (n = 174405, 174426, 174455, 174458, 174477, 174505, 174517, 174521, 174529, 174531, 174549, 174566, 174585, 174590), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints878
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (174405, true, 178605, 1, 16272900),
   (174426, false, 117978, 1, 44128224),
   (174455, false, 64009, 1, 41058864),
   (174458, true, 208658, 1, 52287240),
   (174477, true, 183027, 1, 23652720),
   (174505, false, 354025, 13, 17546085900),
   (174517, true, 840244833, 32, 23798921645295),
   (174521, true, 105434473160641, 4689, 1081897573771100703500),
   (174529, true, 6061712449, 34, 471685263095865),
   (174531, false, 219303, 2, 310380651),
   (174549, true, 215883, 1, 59024952),
   (174566, true, 613312, 1, 460443984),
   (174585, false, 381924, 13, 18232478874),
   (174590, true, 34481525, 11, 160028757525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints878

#print axioms CongruentPoints878.on_curve
#print axioms CongruentPoints878.indep
#print axioms CongruentPoints878.count

bsd/CongruentPoints879.lean

lean_all/bsd/CongruentPoints879.lean

/-
  bsd/CongruentPoints879.lean — T39 goal G873: points for congruent curves in 174601–174800 with Tunnell A = 2B
  (n = 174629, 174630, 174641, 174709, 174719, 174730, 174777, 174790, 174794), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints879
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (174629, true, 229957, 1, 71746584),
   (174630, true, 1818045, 1, 2440024425),
   (174641, true, 461089729, 41, 7634836809600),
   (174709, true, 2456203, 3, 2957268412),
   (174719, true, 674108323681, 1899, 196761440005303420),
   (174730, true, 423850, 1, 251403600),
   (174777, false, 2304324, 5, 5635433826),
   (174790, false, 61316794, 127, 22070440295904),
   (174794, false, 2202256, 5, 5601123528)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints879

#print axioms CongruentPoints879.on_curve
#print axioms CongruentPoints879.indep
#print axioms CongruentPoints879.count

bsd/CongruentPoints88.lean

lean_all/bsd/CongruentPoints88.lean

/-
  bsd/CongruentPoints88.lean — T39 goal G142: points for congruent curves in 16401–16600 with Tunnell A = 2B
  (n = 16409, 16413, 16417, 16419, 16422, 16426, 16430, 16445, 16465, 16471, 16478, 16482, 16485, 16505, 16510, 16530, 16531, 16539, 16565, 16583, 16590), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints88
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (16409, true, 7643130625, 146, 667500631160025),
   (16413, true, 48387, 1, 10012680),
   (16417, true, 11249820346632784225, 17912664, 33340700681476471721231309935),
   (16419, true, 24843, 1, 2938572),
   (16422, true, 977109, 5, 876466773),
   (16426, true, 33282, 1, 5280744),
   (16430, true, 12325786, 27, 10214715016),
   (16445, false, 464947691, 661, 154606473308352),
   (16465, true, 297025, 3, 140293900),
   (16471, false, 2401, 5, 20176632),
   (16478, false, 2527, 4, 13252785),
   (16482, true, 181138, 3, 44243920),
   (16485, true, 2963835, 13, 1741023900),
   (16505, true, 218005225, 22, 3216685403475),
   (16510, false, 20822490, 157, 1854571017000),
   (16530, true, 37845, 1, 6622875),
   (16531, true, 3183780625, 438, 15844409542225),
   (16539, true, 821437, 7, 121572676),
   (16565, true, 9698098669155625, 499798, 863761024532622134077875),
   (16583, true, 236992, 1, 115089240),
   (16590, true, 5991360, 11, 13817574000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints88

#print axioms CongruentPoints88.on_curve
#print axioms CongruentPoints88.indep
#print axioms CongruentPoints88.count

bsd/CongruentPoints880.lean

lean_all/bsd/CongruentPoints880.lean

/-
  bsd/CongruentPoints880.lean — T39 goal G873: points for congruent curves in 174801–175000 with Tunnell A = 2B
  (n = 174835, 174838, 174839, 174865, 174867, 174894, 174926, 174986), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints880
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (174835, true, 1582846225, 86, 36318871321425),
   (174838, true, 6885676, 5, 13961199924),
   (174839, true, 108565228016, 59, 35770853189235780),
   (174865, true, 727609, 1, 602460252),
   (174867, false, 426730128, 79, 20749531158180),
   (174894, false, 6132002, 11, 50155447888),
   (174926, true, 102681562, 3, 1040369586184),
   (174986, true, 201898, 1, 45252528)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints880

#print axioms CongruentPoints880.on_curve
#print axioms CongruentPoints880.indep
#print axioms CongruentPoints880.count

bsd/CongruentPoints881.lean

lean_all/bsd/CongruentPoints881.lean

/-
  bsd/CongruentPoints881.lean — T39 goal G873: points for congruent curves in 175001–175200 with Tunnell A = 2B
  (n = 175026, 175030, 175057, 175070, 175130, 175182), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints881
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (175026, true, 82349733, 17, 589706438013),
   (175030, true, 598230, 1, 442455600),
   (175057, false, 19375, 1, 24217200),
   (175070, true, 1955850625, 38, 85771913774625),
   (175130, true, 1687805, 1, 2180885175),
   (175182, true, 18546197173, 181, 2401730090552555)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints881

#print axioms CongruentPoints881.on_curve
#print axioms CongruentPoints881.indep
#print axioms CongruentPoints881.count

bsd/CongruentPoints882.lean

lean_all/bsd/CongruentPoints882.lean

/-
  bsd/CongruentPoints882.lean — T39 goal G873: points for congruent curves in 175201–175400 with Tunnell A = 2B
  (n = 175234, 175310, 175335, 175357, 175362, 175370, 175398), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints882
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (175234, false, 73984, 1, 43207200),
   (175310, true, 90124942590, 341, 26355042130825200),
   (175335, true, 239875820805625, 2709, 3715125271281741648500),
   (175357, false, 1446767, 12, 30322911815),
   (175362, false, 2938386, 5, 5577195888),
   (175370, true, 655330, 1, 511157400),
   (175398, false, 5958863, 12, 59914611415)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints882

#print axioms CongruentPoints882.on_curve
#print axioms CongruentPoints882.indep
#print axioms CongruentPoints882.count

bsd/CongruentPoints883.lean

lean_all/bsd/CongruentPoints883.lean

/-
  bsd/CongruentPoints883.lean — T39 goal G873: points for congruent curves in 175401–175600 with Tunnell A = 2B
  (n = 175407, 175453, 175461, 175483, 175546, 175559, 175565, 175566, 175570, 175585, 175586, 175595), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints883
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (175407, true, 173828337, 22, 1999895017185),
   (175453, true, 4101165787719025, 21114, 262592301478739207650145),
   (175461, false, 49181074943, 668, 13510234846819711),
   (175483, true, 41619127627, 459, 3899172150053180),
   (175546, false, 22743, 158, 660889706421),
   (175559, true, 177241, 1, 10255560),
   (175565, false, 152100, 1, 34197150),
   (175566, false, 2547534, 7, 13114957680),
   (175570, true, 158890850, 29, 739795797600),
   (175585, true, 3083025625, 9, 171183176330500),
   (175586, true, 58416051993068641, 538638, 6909466996950338513684465),
   (175595, true, 63014845180, 279, 15441855104025350)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints883

#print axioms CongruentPoints883.on_curve
#print axioms CongruentPoints883.indep
#print axioms CongruentPoints883.count

bsd/CongruentPoints884.lean

lean_all/bsd/CongruentPoints884.lean

/-
  bsd/CongruentPoints884.lean — T39 goal G873: points for congruent curves in 175601–175800 with Tunnell A = 2B
  (n = 175630, 175638, 175674, 175682, 175683, 175685, 175690, 175695, 175719, 175726, 175729, 175745, 175746), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints884
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (175630, false, 3136, 1, 9833712),
   (175638, true, 12092377, 2, 41979117565),
   (175674, false, 3505683, 7, 14720064561),
   (175682, true, 395589497, 14, 7838186916435),
   (175683, true, 4136199949131570961, 173940, 8412051615451591403222585209),
   (175685, true, 7141007985115225, 27838, 603337516161629020850325),
   (175690, true, 706353265970752009, 916368, 580560082449109607369081573),
   (175695, true, 811801, 2, 366122251),
   (175719, false, 4356, 1, 11593890),
   (175726, true, 2209202, 1, 3273217584),
   (175729, true, 4199153, 1, 8597296848),
   (175745, true, 3848711582860225, 25568, 238659906433860663546975),
   (175746, false, 167042, 1, 22324672)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints884

#print axioms CongruentPoints884.on_curve
#print axioms CongruentPoints884.indep
#print axioms CongruentPoints884.count

bsd/CongruentPoints885.lean

lean_all/bsd/CongruentPoints885.lean

/-
  bsd/CongruentPoints885.lean — T39 goal G873: points for congruent curves in 175801–176000 with Tunnell A = 2B
  (n = 175802, 175814, 175827, 175835, 175849, 175858, 175882, 175885, 175890, 175895, 175921, 175935, 175945, 175985, 175987, 175994), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints885
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (175802, false, 13834678, 19, 230379314880),
   (175814, false, 7197218, 9, 32966809624),
   (175827, true, 222163548, 1, 3311380354050),
   (175835, true, 26121491, 7, 126033464964),
   (175849, true, 11215801, 7, 24044882280),
   (175858, true, 48328750, 7, 330592413600),
   (175882, true, 962500798, 69, 14723007607000),
   (175885, true, 762529958463025, 44034, 18833111023602214654975),
   (175890, false, 156816, 1, 31546152),
   (175895, true, 119428483520, 697, 28833462968442600),
   (175921, false, 6125087, 98, 4181413464663),
   (175935, true, 16226938225, 163, 1979447109582700),
   (175945, false, 121495, 1, 44358600),
   (175985, true, 4543434025, 123, 248156692292600),
   (175987, true, 142725457, 6, 1703428329295),
   (175994, true, 192556, 1, 34283340)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints885

#print axioms CongruentPoints885.on_curve
#print axioms CongruentPoints885.indep
#print axioms CongruentPoints885.count

bsd/CongruentPoints886.lean

lean_all/bsd/CongruentPoints886.lean

/-
  bsd/CongruentPoints886.lean — T39 goal G874: points for congruent curves in 176001–176200 with Tunnell A = 2B
  (n = 176015, 176041, 176046, 176054, 176099, 176111, 176115, 176142, 176154, 176170, 176174, 176190, 176191), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints886
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (176015, false, 388736201, 181, 113434516616568),
   (176041, true, 1015277597823241, 71640, 14756868041768967312539),
   (176046, true, 826062, 1, 733543056),
   (176054, false, 1580642, 3, 138676888),
   (176099, true, 216832, 1, 58910544),
   (176111, false, 3794931712, 199, 360456958200768),
   (176115, true, 21028131, 5, 94290139404),
   (176142, false, 1922, 3, 69499520),
   (176154, true, 907137, 2, 544152609),
   (176170, true, 10689017580, 193, 872344758919500),
   (176174, false, 1048450292, 297, 502039585001492),
   (176190, true, 176610, 1, 5115600),
   (176191, true, 604569635016459121, 86663, 470076408058930522597596240)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints886

#print axioms CongruentPoints886.on_curve
#print axioms CongruentPoints886.indep
#print axioms CongruentPoints886.count

bsd/CongruentPoints887.lean

lean_all/bsd/CongruentPoints887.lean

/-
  bsd/CongruentPoints887.lean — T39 goal G874: points for congruent curves in 176201–176400 with Tunnell A = 2B
  (n = 176226, 176263, 176273, 176295, 176330, 176345, 176358, 176365, 176379, 176385), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints887
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (176226, true, 188922, 1, 29594376),
   (176263, true, 13804653221172025, 240534, 1093190010433498478614555),
   (176273, false, 5503937, 9, 30908330360),
   (176295, true, 176505, 1, 3616200),
   (176330, true, 4596606, 5, 2792201496),
   (176345, true, 11458610893249, 5665, 33727137078868327068),
   (176358, true, 1266993, 2, 1184638455),
   (176365, true, 176435, 1, 2087400),
   (176379, true, 201243, 1, 43468488),
   (176385, true, 17141415, 1, 70965458100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints887

#print axioms CongruentPoints887.on_curve
#print axioms CongruentPoints887.indep
#print axioms CongruentPoints887.count

bsd/CongruentPoints888.lean

lean_all/bsd/CongruentPoints888.lean

/-
  bsd/CongruentPoints888.lean — T39 goal G874: points for congruent curves in 176401–176600 with Tunnell A = 2B
  (n = 176403, 176421, 176426, 176430, 176470, 176494, 176495, 176521, 176523, 176527, 176561, 176586, 176593), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints888
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (176403, true, 108899452, 21, 795238248230),
   (176421, false, 88506432, 173, 49667108962968),
   (176426, true, 32898144663700849, 398782, 3115911083412976089626775),
   (176430, false, 343220, 9, 8369865100),
   (176470, false, 176400, 1, 2087400),
   (176494, true, 174023084, 25, 1775557526052),
   (176495, true, 6889830025, 82, 563342751111075),
   (176521, true, 28062424054628041, 362040, 2660184463323295053452411),
   (176523, true, 77268988729, 650, 5615989625841317),
   (176527, true, 702972352, 57, 10777269636440),
   (176561, true, 15208732, 1, 59307585414),
   (176586, true, 180918, 1, 16738848),
   (176593, true, 13834234100998441, 17115, 1627157696319168707726864)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints888

#print axioms CongruentPoints888.on_curve
#print axioms CongruentPoints888.indep
#print axioms CongruentPoints888.count

bsd/CongruentPoints889.lean

lean_all/bsd/CongruentPoints889.lean

/-
  bsd/CongruentPoints889.lean — T39 goal G874: points for congruent curves in 176601–176800 with Tunnell A = 2B
  (n = 176630, 176649, 176655, 176669, 176719, 176722, 176793), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints889
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (176630, true, 30417930, 7, 160828153200),
   (176649, true, 17744892, 7, 65253613986),
   (176655, true, 707412217223404081, 1346271, 530558490357122929473353696),
   (176669, true, 11300625, 4, 36780994425),
   (176719, false, 54359375, 24, 634508779625),
   (176722, false, 13363406, 15, 136900694672),
   (176793, true, 101129587337176225, 419377, 30602239824057679423983140)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints889

#print axioms CongruentPoints889.on_curve
#print axioms CongruentPoints889.indep
#print axioms CongruentPoints889.count

bsd/CongruentPoints89.lean

lean_all/bsd/CongruentPoints89.lean

/-
  bsd/CongruentPoints89.lean — T39 goal G143: points for congruent curves in 16601–16800 with Tunnell A = 2B
  (n = 16610, 16629, 16639, 16645, 16646, 16647, 16653, 16666, 16673, 16674, 16687, 16694, 16705, 16710, 16714, 16761, 16771, 16786, 16790, 16791), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints89
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (16610, true, 80190, 1, 22215600),
   (16629, true, 24843, 1, 2909088),
   (16639, false, 2527, 1, 826728),
   (16645, true, 413587915333321, 148960, 3785331230215903060869),
   (16646, true, 3379138, 11, 4987607688),
   (16647, true, 2031616, 5, 2834350336),
   (16653, true, 4010597500, 457, 126479047344650),
   (16666, false, 9391226, 31, 39758169360),
   (16673, true, 3256414225, 281, 169963839516240),
   (16674, true, 28812, 1, 3988404),
   (16687, true, 3690891164817025, 14658, 224231516329515062628455),
   (16694, false, 28322, 19, 1014202728),
   (16705, true, 1651225, 7, 1842767100),
   (16710, true, 63604960710, 937, 15608641709653200),
   (16714, true, 112201082, 53, 1079438523744),
   (16761, true, 124014639, 43, 1337232135960),
   (16771, true, 139589404, 75, 1215590116958),
   (16786, false, 52983, 2, 9493701),
   (16790, true, 9356446, 21, 17496429544),
   (16791, false, 4761, 5, 28962612)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 20 := rfl

end CongruentPoints89

#print axioms CongruentPoints89.on_curve
#print axioms CongruentPoints89.indep
#print axioms CongruentPoints89.count

bsd/CongruentPoints890.lean

lean_all/bsd/CongruentPoints890.lean

/-
  bsd/CongruentPoints890.lean — T39 goal G874: points for congruent curves in 176801–177000 with Tunnell A = 2B
  (n = 176847, 176871, 176919, 176930, 176946, 176955, 176979, 176990), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints890
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (176847, true, 4660656361, 5, 318178205949016),
   (176871, true, 46067457, 14, 205917074649),
   (176919, false, 509796, 5, 3136956858),
   (176930, true, 43280770, 7, 278965190400),
   (176946, false, 26411, 3, 258771205),
   (176955, false, 66968055, 316, 144599811723675),
   (176979, true, 987657, 2, 684446301),
   (176990, false, 26411, 1, 28441413)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints890

#print axioms CongruentPoints890.on_curve
#print axioms CongruentPoints890.indep
#print axioms CongruentPoints890.count

bsd/CongruentPoints891.lean

lean_all/bsd/CongruentPoints891.lean

/-
  bsd/CongruentPoints891.lean — T39 goal G874: points for congruent curves in 177001–177200 with Tunnell A = 2B
  (n = 177002, 177015, 177038, 177041, 177042, 177045, 177078, 177099, 177119, 177123, 177143, 177159, 177177, 177190, 177198), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints891
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (177002, true, 329525, 1, 159556005),
   (177015, true, 37073577025, 201, 7004259338005900),
   (177038, false, 2322576, 5, 5741794968),
   (177041, true, 460059601, 31, 9168248071920),
   (177042, true, 137473113, 8, 1606373325405),
   (177045, true, 23487600, 11, 46673180100),
   (177078, true, 21728454, 5, 99160123392),
   (177099, true, 183027, 1, 19766916),
   (177119, true, 437019025, 29, 8588811473340),
   (177123, true, 728433, 2, 144472545),
   (177143, true, 350147943289, 1140, 156115064059166413),
   (177159, false, 2916, 1, 9565290),
   (177177, true, 252252, 1, 90180090),
   (177190, true, 397150, 1, 223992600),
   (177198, false, 922082, 3, 1249468640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints891

#print axioms CongruentPoints891.on_curve
#print axioms CongruentPoints891.indep
#print axioms CongruentPoints891.count

bsd/CongruentPoints892.lean

lean_all/bsd/CongruentPoints892.lean

/-
  bsd/CongruentPoints892.lean — T39 goal G874: points for congruent curves in 177201–177400 with Tunnell A = 2B
  (n = 177254, 177270, 177313, 177315, 177338, 177339, 177359, 177366, 177385), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints892
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (177254, true, 425062, 1, 251881344),
   (177270, true, 403056, 1, 229809096),
   (177313, true, 1016719305625, 2379, 164606858650028800),
   (177315, true, 5423016015169, 5518, 1188569274516608903),
   (177338, false, 118932212, 207, 82858877220700),
   (177339, false, 11664, 1, 19111140),
   (177359, false, 11025, 1, 18586680),
   (177366, false, 155316, 1, 33754140),
   (177385, true, 12074465, 2, 41884245975)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints892

#print axioms CongruentPoints892.on_curve
#print axioms CongruentPoints892.indep
#print axioms CongruentPoints892.count

bsd/CongruentPoints893.lean

lean_all/bsd/CongruentPoints893.lean

/-
  bsd/CongruentPoints893.lean — T39 goal G874: points for congruent curves in 177401–177600 with Tunnell A = 2B
  (n = 177422, 177430, 177474, 177515, 177530, 177537, 177562, 177567, 177590, 177593), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints893
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (177422, true, 90804161, 20, 539791320159),
   (177430, true, 2759680, 3, 3738996800),
   (177474, true, 1885026, 1, 2576574000),
   (177515, true, 3331592320225, 3656, 4268811694482159825),
   (177530, true, 798006001, 62, 11685299162199),
   (177537, true, 1597839417, 22, 63777984475365),
   (177562, true, 247500, 1, 85776900),
   (177567, true, 714025, 2, 61812595),
   (177590, true, 1218350, 1, 1330438200),
   (177593, true, 63295743537, 122, 15910459681342785)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints893

#print axioms CongruentPoints893.on_curve
#print axioms CongruentPoints893.indep
#print axioms CongruentPoints893.count

bsd/CongruentPoints894.lean

lean_all/bsd/CongruentPoints894.lean

/-
  bsd/CongruentPoints894.lean — T39 goal G874: points for congruent curves in 177601–177800 with Tunnell A = 2B
  (n = 177630, 177645, 177670, 177682, 177689, 177694, 177711, 177745, 177774, 177790, 177794), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints894
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (177630, true, 6785466, 1, 17669353464),
   (177645, true, 1039155, 1, 1043710200),
   (177670, true, 31191922870, 93, 5502189683785600),
   (177682, false, 102335488, 47, 3833232406080),
   (177689, true, 19565575129, 308, 1389488027346915),
   (177694, false, 8038388, 9, 33850606924),
   (177711, true, 114340249, 22, 805574531125),
   (177745, true, 6826890625, 142, 480086232185625),
   (177774, false, 61347, 1, 41326857),
   (177790, true, 41961474025, 462, 3668377358813525),
   (177794, true, 85072005491497249, 124614, 24799971250315453594791185)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints894

#print axioms CongruentPoints894.on_curve
#print axioms CongruentPoints894.indep
#print axioms CongruentPoints894.count

bsd/CongruentPoints895.lean

lean_all/bsd/CongruentPoints895.lean

/-
  bsd/CongruentPoints895.lean — T39 goal G874: points for congruent curves in 177801–178000 with Tunnell A = 2B
  (n = 177846, 177866, 177879, 177905, 177926, 177974), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints895
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (177846, true, 18472331223025, 474, 79392877875868851415),
   (177866, true, 66809834, 1, 546083494320),
   (177879, false, 39204, 1, 34353990),
   (177905, true, 3237871, 3, 5064030244),
   (177926, false, 1059247, 4, 2719566297),
   (177974, true, 3478750, 3, 5759646200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints895

#print axioms CongruentPoints895.on_curve
#print axioms CongruentPoints895.indep
#print axioms CongruentPoints895.count

bsd/CongruentPoints896.lean

lean_all/bsd/CongruentPoints896.lean

/-
  bsd/CongruentPoints896.lean — T39 goal G875: points for congruent curves in 178001–178200 with Tunnell A = 2B
  (n = 178009, 178035, 178082, 178111, 178145, 178189), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints896
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (178009, false, 6084, 1, 13876590),
   (178035, true, 37445265, 4, 228473098425),
   (178082, false, 176400, 1, 10255560),
   (178111, true, 134910962689384729, 36942, 49553023359597710411101195),
   (178145, true, 30961601, 10, 140906246151),
   (178189, false, 7669475, 137, 9261977060160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints896

#print axioms CongruentPoints896.on_curve
#print axioms CongruentPoints896.indep
#print axioms CongruentPoints896.count

bsd/CongruentPoints897.lean

lean_all/bsd/CongruentPoints897.lean

/-
  bsd/CongruentPoints897.lean — T39 goal G875: points for congruent curves in 178201–178400 with Tunnell A = 2B
  (n = 178205, 178239, 178241, 178269, 178345, 178365, 178391, 178394), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints897
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (178205, false, 508805, 9, 10289887300),
   (178239, true, 84699777, 14, 710119247769),
   (178241, true, 19002346801, 281, 1759988111040720),
   (178269, true, 38803219, 5, 240114319172),
   (178345, true, 168374941027969, 14247, 2133730407247507114228),
   (178365, true, 16580685, 7, 57374400600),
   (178391, true, 435515161, 39, 7109318685520),
   (178394, false, 4632824375, 354, 1488599984498075)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints897

#print axioms CongruentPoints897.on_curve
#print axioms CongruentPoints897.indep
#print axioms CongruentPoints897.count

bsd/CongruentPoints898.lean

lean_all/bsd/CongruentPoints898.lean

/-
  bsd/CongruentPoints898.lean — T39 goal G875: points for congruent curves in 178401–178600 with Tunnell A = 2B
  (n = 178430, 178445, 178451, 178466, 178467, 178477, 178485, 178486, 178495, 178505, 178514, 178534, 178555, 178562, 178574, 178589, 178590), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints898
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (178430, true, 178605, 1, 3340575),
   (178445, true, 568810881, 32, 12846950030271),
   (178451, true, 653013, 1, 507608772),
   (178466, false, 115600, 1, 46228440),
   (178467, true, 420468252, 13, 8599626924030),
   (178477, true, 198652947025, 258, 88382138977008305),
   (178485, false, 733989815, 1172, 6642017528556475),
   (178486, true, 2158058, 1, 3159396912),
   (178495, true, 9053332201, 182, 652347134098899),
   (178505, true, 335410895, 13, 6117894724800),
   (178514, false, 124722, 1, 45104592),
   (178534, false, 28322, 1, 29665272),
   (178555, true, 16177261555, 167, 1957675452287100),
   (178562, true, 22941702, 11, 36947064840),
   (178574, false, 174262, 1, 16282728),
   (178589, true, 720019900, 51, 14762133789110),
   (178590, false, 13254, 1, 20503656)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints898

#print axioms CongruentPoints898.on_curve
#print axioms CongruentPoints898.indep
#print axioms CongruentPoints898.count

bsd/CongruentPoints899.lean

lean_all/bsd/CongruentPoints899.lean

/-
  bsd/CongruentPoints899.lean — T39 goal G875: points for congruent curves in 178601–178800 with Tunnell A = 2B
  (n = 178611, 178665, 178689, 178710, 178789), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints899
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (178611, false, 21992822037, 2137, 120920464110415788),
   (178665, true, 234135, 1, 73220400),
   (178689, false, 668367, 2, 207083457),
   (178710, true, 287490, 1, 120745800),
   (178789, false, 24336, 1, 27631500)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints899

#print axioms CongruentPoints899.on_curve
#print axioms CongruentPoints899.indep
#print axioms CongruentPoints899.count

bsd/CongruentPoints9.lean

lean_all/bsd/CongruentPoints9.lean

/-
  bsd/CongruentPoints9.lean — T39 goal G60: points for congruent curves in 1201–1400 with Tunnell A = 2B
  (n = 1201, 1205, 1217, 1221, 1222, 1230, 1239, 1241, 1245, 1246, 1249, 1254, 1261, 1271, 1282, 1285, 1295, 1302, 1309, 1311, 1321, 1326, 1330, 1333, 1334, 1335, 1339, 1346, 1351, 1358, 1365, 1379, 1383, 1387, 1391, 1393, 1397, 1398), found by the C quartic search bsd_quartic.c (box 2000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints9
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1201, true, 1442401, 7, 1730881200),
   (1205, true, 8405, 1, 762600),
   (1217, false, 2262016, 65, 6944775648),
   (1221, true, 395641, 14, 198169595),
   (1222, false, 27786772, 151, 10844253420),
   (1230, true, 75645, 1, 20802375),
   (1239, true, 2486512, 37, 2866985884),
   (1241, true, 2809, 1, 133560),
   (1245, false, 218405, 89, 4607593100),
   (1246, true, 3362, 1, 181056),
   (1249, false, 101761, 17, 110476080),
   (1254, true, 786258, 7, 695052072),
   (1261, true, 61222878495025, 211494, 186284162921613590015),
   (1271, true, 42025, 4, 7539285),
   (1282, true, 410881, 10, 250226529),
   (1285, true, 2016187005625, 8358, 2859995528061329125),
   (1295, true, 1369, 1, 16428),
   (1302, true, 282534, 5, 149177952),
   (1309, true, 907137, 26, 190196391),
   (1311, true, 1863, 1, 57132),
   (1321, true, 2151197161, 721, 94554453112680),
   (1326, true, 67626, 1, 17582760),
   (1330, true, 19845, 1, 2789325),
   (1333, true, 1315516, 15, 1469105686),
   (1334, false, 406847, 48, 1943189983),
   (1335, true, 177555625, 53, 2365400966500),
   (1339, true, 142129, 6, 50406785),
   (1346, false, 7056, 17, 32670120),
   (1351, true, 59248, 3, 14114548),
   (1358, true, 229842, 1, 110188560),
   (1365, true, 2835, 1, 132300),
   (1379, true, 38809, 2, 7567755),
   (1383, true, 49990252225, 2783, 10917474874538860),
   (1387, true, 3330625, 48, 1712873825),
   (1391, true, 515715005689, 14214, 310530487194798715),
   (1393, true, 970225, 1, 955670640),
   (1397, true, 2475, 1, 101640),
   (1398, false, 167042, 11, 10901080)]

theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
theorem count : pts.length = 38 := rfl

end CongruentPoints9

#print axioms CongruentPoints9.on_curve
#print axioms CongruentPoints9.indep
#print axioms CongruentPoints9.count

bsd/CongruentPoints90.lean

lean_all/bsd/CongruentPoints90.lean

/-
  bsd/CongruentPoints90.lean — T39 goal G144: points for congruent curves in 16801–17000 with Tunnell A = 2B
  (n = 16814, 16815, 16822, 16827, 16835, 16837, 16869, 16882, 16885, 16887, 16895, 16898, 16907, 16913, 16919, 16926, 16933, 16985, 16989, 16990, 16999), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints90
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (16814, true, 28672, 1, 3932544),
   (16815, true, 86640, 1, 25017300),
   (16822, true, 31850, 1, 4826640),
   (16827, true, 18723, 1, 1123380),
   (16835, false, 1073296, 257, 1151964035292),
   (16837, true, 1197722304025, 7686, 730249501393834955),
   (16869, false, 15987, 1, 680652),
   (16882, true, 1116018, 7, 791401680),
   (16885, true, 26257275, 37, 63819284100),
   (16887, false, 900, 1, 505890),
   (16895, true, 1473244, 9, 662223178),
   (16898, true, 132098, 1, 47616960),
   (16907, true, 70225, 2, 5014065),
   (16913, true, 1692601, 10, 86322651),
   (16919, false, 26155423, 44, 100842064239),
   (16926, true, 65598, 1, 16232112),
   (16933, false, 103581875, 479, 39526868828700),
   (16985, true, 152944, 3, 1922228),
   (16989, true, 6264412, 19, 3194300494),
   (16990, true, 28866010, 41, 22515487800),
   (16999, true, 22201, 1, 2127720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints90

#print axioms CongruentPoints90.on_curve
#print axioms CongruentPoints90.indep
#print axioms CongruentPoints90.count

bsd/CongruentPoints900.lean

lean_all/bsd/CongruentPoints900.lean

/-
  bsd/CongruentPoints900.lean — T39 goal G875: points for congruent curves in 178801–179000 with Tunnell A = 2B
  (n = 178815, 178823, 178849, 178894, 178895, 178901, 178935, 178969, 178986, 178990, 178991), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints900
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (178815, true, 249600, 1, 87001200),
   (178823, true, 24879465167, 239, 3578300750315100),
   (178849, false, 214775, 54, 241693996445),
   (178894, true, 30704494, 7, 163057775040),
   (178895, true, 76470914905225, 19941, 245385192204227382400),
   (178901, false, 379525039, 140, 67909440577959),
   (178935, true, 1090975, 1, 1124089300),
   (178969, true, 8617965889, 66, 796751503841735),
   (178986, false, 8000067, 7, 10165606263),
   (178990, true, 2905210, 3, 4120870600),
   (178991, false, 5041, 1, 12703320)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints900

#print axioms CongruentPoints900.on_curve
#print axioms CongruentPoints900.indep
#print axioms CongruentPoints900.count

bsd/CongruentPoints901.lean

lean_all/bsd/CongruentPoints901.lean

/-
  bsd/CongruentPoints901.lean — T39 goal G875: points for congruent curves in 179001–179200 with Tunnell A = 2B
  (n = 179031, 179045, 179047, 179081, 179101, 179115, 179119, 179130, 179142, 179151, 179158, 179177, 179186), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints901
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (179031, true, 9083769, 7, 7105314600),
   (179045, true, 7416765495216025, 26158, 638649484782819060600075),
   (179047, true, 1565389225, 87, 30998820465440),
   (179081, true, 65074807, 1, 524949696096),
   (179101, false, 26020475, 19, 301921481160),
   (179115, true, 109998960, 11, 1131058822500),
   (179119, true, 18738598321, 271, 1826786147099760),
   (179130, true, 532350, 1, 365765400),
   (179142, false, 3415104, 5, 5354251056),
   (179151, true, 22034775, 11, 18556468560),
   (179158, false, 22743, 2, 108019275),
   (179177, true, 709956025, 7, 18915331755720),
   (179186, true, 9117486, 1, 27525091440)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints901

#print axioms CongruentPoints901.on_curve
#print axioms CongruentPoints901.indep
#print axioms CongruentPoints901.count

bsd/CongruentPoints902.lean

lean_all/bsd/CongruentPoints902.lean

/-
  bsd/CongruentPoints902.lean — T39 goal G875: points for congruent curves in 179201–179400 with Tunnell A = 2B
  (n = 179207, 179214, 179218, 179249, 179265, 179270, 179333, 179354, 179366, 179374, 179386, 179398), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints902
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (179207, true, 536798158899025, 13509, 12413922418679046978320),
   (179214, true, 35863884, 13, 115023445740),
   (179218, true, 1342553, 2, 1315270845),
   (179249, true, 1613227225, 46, 62978931388395),
   (179265, true, 1221025, 2, 1092065975),
   (179270, false, 1492273055, 634, 2783025177066225),
   (179333, false, 118586237, 367, 263029374498660),
   (179354, true, 155230174, 15, 1867537803032),
   (179366, false, 5838863, 12, 60796161719),
   (179374, false, 21007627475, 757, 14583941715226785),
   (179386, true, 235684033729, 1144, 10073065108470495),
   (179398, false, 8501702, 7, 6515934480)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints902

#print axioms CongruentPoints902.on_curve
#print axioms CongruentPoints902.indep
#print axioms CongruentPoints902.count

bsd/CongruentPoints903.lean

lean_all/bsd/CongruentPoints903.lean

/-
  bsd/CongruentPoints903.lean — T39 goal G875: points for congruent curves in 179401–179600 with Tunnell A = 2B
  (n = 179405, 179410, 179423, 179439, 179446, 179457, 179511, 179529, 179565, 179582, 179598), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints903
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (179405, true, 28986882501069025, 360598, 2929354868904119197470825),
   (179410, false, 42350, 9, 2990587600),
   (179423, true, 2096180974196761, 107640, 12311643298610565264259),
   (179439, true, 72369129, 20, 78685920117),
   (179446, true, 364434334, 45, 529284511448),
   (179457, true, 395413225, 19, 7756543222640),
   (179511, true, 493341536731849, 48475, 5682538737113625805132),
   (179529, true, 34768783, 9, 186221601748),
   (179565, false, 491415, 2, 367217325),
   (179582, false, 234650, 3, 774621640),
   (179598, true, 2175600, 1, 3198038760)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints903

#print axioms CongruentPoints903.on_curve
#print axioms CongruentPoints903.indep
#print axioms CongruentPoints903.count

bsd/CongruentPoints904.lean

lean_all/bsd/CongruentPoints904.lean

/-
  bsd/CongruentPoints904.lean — T39 goal G875: points for congruent curves in 179601–179800 with Tunnell A = 2B
  (n = 179611, 179621, 179645, 179654, 179655, 179691, 179718, 179733, 179741, 179745, 179746, 179751, 179771, 179795), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints904
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (179611, false, 72283, 31, 46406024496),
   (179621, true, 95737993, 14, 871119998307),
   (179645, true, 1809025, 2, 2232948825),
   (179654, false, 51387494, 17, 53169104400),
   (179655, true, 41928055, 11, 232152415300),
   (179691, true, 163882684275, 469, 64385269383333240),
   (179718, true, 6355482, 1, 16015814640),
   (179733, true, 328683, 1, 157767840),
   (179741, true, 9178014198614209, 75050, 873906065429981644406073),
   (179745, false, 23142945, 19, 291627913500),
   (179746, false, 4903983, 8, 23044261401),
   (179751, false, 264407, 2, 343809037),
   (179771, true, 250821, 1, 87598560),
   (179795, false, 73205, 3, 437366600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints904

#print axioms CongruentPoints904.on_curve
#print axioms CongruentPoints904.indep
#print axioms CongruentPoints904.count

bsd/CongruentPoints905.lean

lean_all/bsd/CongruentPoints905.lean

/-
  bsd/CongruentPoints905.lean — T39 goal G875: points for congruent curves in 179801–180000 with Tunnell A = 2B
  (n = 179809, 179831, 179837, 179859, 179894, 179914, 179930, 179931, 179935, 179945, 179949, 179970, 179998), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints905
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (179809, true, 3898559, 1, 7689423000),
   (179831, true, 51857685639, 41, 11808978094934760),
   (179837, false, 33184676, 45, 2089114452082),
   (179859, true, 206784, 1, 46397160),
   (179894, true, 187850, 1, 23443680),
   (179914, false, 21602531, 155, 20089783207047),
   (179930, true, 256880, 1, 92921400),
   (179931, true, 388917841, 6, 7668784873295),
   (179935, true, 90274408849, 669, 12256597542070468),
   (179945, true, 198505, 1, 37340400),
   (179949, false, 4100, 3, 103700890),
   (179970, true, 15423429, 1, 60567805683),
   (179998, true, 185150, 1, 18663120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints905

#print axioms CongruentPoints905.on_curve
#print axioms CongruentPoints905.indep
#print axioms CongruentPoints905.count

bsd/CongruentPoints906.lean

lean_all/bsd/CongruentPoints906.lean

/-
  bsd/CongruentPoints906.lean — T39 goal G876: points for congruent curves in 180001–180200 with Tunnell A = 2B
  (n = 180030, 180057, 180069, 180110, 180115, 180121, 180133), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints906
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (180030, false, 176400, 1, 15107400),
   (180057, false, 436357823, 56, 7486122302945),
   (180069, true, 13349617, 8, 24618571831),
   (180110, true, 1705690, 3, 693261800),
   (180115, true, 2254421, 1, 3374131644),
   (180121, false, 5507600, 17, 121478340060),
   (180133, true, 184525, 1, 17191020)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints906

#print axioms CongruentPoints906.on_curve
#print axioms CongruentPoints906.indep
#print axioms CongruentPoints906.count

bsd/CongruentPoints907.lean

lean_all/bsd/CongruentPoints907.lean

/-
  bsd/CongruentPoints907.lean — T39 goal G876: points for congruent curves in 180201–180400 with Tunnell A = 2B
  (n = 180206, 180219, 180245, 180251, 180255, 180265, 180277, 180285, 180390), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints907
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (180206, true, 35176890438, 151, 6552440498879352),
   (180219, false, 46656, 1, 37600200),
   (180245, true, 41705920, 3, 269133515000),
   (180251, true, 485394493131, 859, 325232383282310100),
   (180255, true, 720299160255, 29, 611321053796984700),
   (180265, true, 7876133538025, 3963, 20626548238165849100),
   (180277, true, 57902315641, 460, 10481910985941939),
   (180285, true, 672105625, 42, 15350304107125),
   (180390, true, 183750, 1, 14994000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints907

#print axioms CongruentPoints907.on_curve
#print axioms CongruentPoints907.indep
#print axioms CongruentPoints907.count

bsd/CongruentPoints908.lean

lean_all/bsd/CongruentPoints908.lean

/-
  bsd/CongruentPoints908.lean — T39 goal G876: points for congruent curves in 180401–180600 with Tunnell A = 2B
  (n = 180402, 180422, 180429, 180435, 180442, 180445, 180455, 180530, 180551, 180557, 180570, 180583, 180591), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints908
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (180402, false, 157922, 19, 25880257360),
   (180422, false, 162776339, 35, 1907468117841),
   (180429, false, 394971, 7, 5550744060),
   (180435, true, 9172860, 7, 7401688650),
   (180442, true, 34123837725, 179, 6212439468883815),
   (180445, true, 2390000, 1, 3684304500),
   (180455, false, 83655, 1, 46246200),
   (180530, true, 206045, 1, 45081225),
   (180551, true, 16299373561, 17, 2080914060116760),
   (180557, true, 1826812, 3, 1128056410),
   (180570, true, 167207820, 17, 2054148068700),
   (180583, true, 3503337721, 15, 207345109960144),
   (180591, true, 1675639636225, 2167, 1870761398738421880)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints908

#print axioms CongruentPoints908.on_curve
#print axioms CongruentPoints908.indep
#print axioms CongruentPoints908.count

bsd/CongruentPoints909.lean

lean_all/bsd/CongruentPoints909.lean

/-
  bsd/CongruentPoints909.lean — T39 goal G876: points for congruent curves in 180601–180800 with Tunnell A = 2B
  (n = 180605, 180634, 180635, 180642, 180669, 180685, 180687, 180705, 180735, 180785), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints909
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (180605, false, 315005, 3, 894990700),
   (180634, true, 107934053386, 477, 32788522301584400),
   (180635, false, 176400, 1, 16331700),
   (180642, true, 629442, 1, 478375920),
   (180669, false, 73947, 1, 44826012),
   (180685, true, 1371993084180625, 86994, 4147557333151291483375),
   (180687, true, 34115937025, 57, 6300451158733720),
   (180705, true, 310993305, 41, 1175554692900),
   (180735, false, 42135, 2, 148144275),
   (180785, true, 256025, 1, 91730100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints909

#print axioms CongruentPoints909.on_curve
#print axioms CongruentPoints909.indep
#print axioms CongruentPoints909.count

bsd/CongruentPoints91.lean

lean_all/bsd/CongruentPoints91.lean

/-
  bsd/CongruentPoints91.lean — T39 goal G145: points for congruent curves in 17001–17200 with Tunnell A = 2B
  (n = 17009, 17015, 17017, 17030, 17059, 17067, 17085, 17094, 17095, 17113, 17114, 17119, 17121, 17135, 17141), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints91
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (17009, false, 6400, 1, 1260720),
   (17015, true, 50225, 1, 10590300),
   (17017, false, 592900, 37, 17932319790),
   (17030, false, 35016930, 73, 495444354600),
   (17059, false, 1757007, 88, 175092379287),
   (17067, false, 3600, 1, 1000980),
   (17085, true, 17340, 1, 390150),
   (17094, true, 804972, 1, 722059884),
   (17095, true, 79818732461689, 20581, 710170693179127584612),
   (17113, true, 4971685873, 89, 350424159490020),
   (17114, true, 20812, 1, 1708476),
   (17119, true, 47753, 1, 9741612),
   (17121, true, 7516119, 19, 11725145640),
   (17135, true, 479009331025, 4847, 179675226520397400),
   (17141, false, 12100, 1, 1335510)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 15 := rfl

end CongruentPoints91

#print axioms CongruentPoints91.on_curve
#print axioms CongruentPoints91.indep
#print axioms CongruentPoints91.count

bsd/CongruentPoints910.lean

lean_all/bsd/CongruentPoints910.lean

/-
  bsd/CongruentPoints910.lean — T39 goal G876: points for congruent curves in 180801–181000 with Tunnell A = 2B
  (n = 180897, 180902), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints910
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (180897, false, 180353, 1, 5953400),
   (180902, true, 45632602, 7, 302385183120)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 2 := rfl

end CongruentPoints910

#print axioms CongruentPoints910.on_curve
#print axioms CongruentPoints910.indep
#print axioms CongruentPoints910.count

bsd/CongruentPoints911.lean

lean_all/bsd/CongruentPoints911.lean

/-
  bsd/CongruentPoints911.lean — T39 goal G876: points for congruent curves in 181001–181200 with Tunnell A = 2B
  (n = 181030, 181034, 181038, 181041, 181074, 181095, 181109, 181118, 181155, 181185), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints911
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (181030, false, 118336, 1, 47127312),
   (181034, true, 502768, 1, 332581032),
   (181038, true, 17258956, 5, 69191154604),
   (181041, true, 207088, 1, 45755612),
   (181074, false, 2447486, 5, 5957674912),
   (181095, true, 423534216628354225, 1483097, 93661542931696376023899100),
   (181109, false, 4941, 1, 12725820),
   (181118, true, 206082, 1, 44631840),
   (181155, true, 249600, 1, 85784400),
   (181185, true, 363799368465, 1229, 144575712415052100)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints911

#print axioms CongruentPoints911.on_curve
#print axioms CongruentPoints911.indep
#print axioms CongruentPoints911.count

bsd/CongruentPoints912.lean

lean_all/bsd/CongruentPoints912.lean

/-
  bsd/CongruentPoints912.lean — T39 goal G876: points for congruent curves in 181201–181400 with Tunnell A = 2B
  (n = 181226, 181254, 181279, 181335, 181365, 181390), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints912
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (181226, true, 1366542, 1, 1583366664),
   (181254, true, 322088358, 31, 4862245852368),
   (181279, true, 18552688, 9, 48844315828),
   (181335, true, 9489865, 1, 29228784200),
   (181365, true, 341699106861025, 11198, 6302338367611003381225),
   (181390, true, 96771565, 23, 123383745375)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints912

#print axioms CongruentPoints912.on_curve
#print axioms CongruentPoints912.indep
#print axioms CongruentPoints912.count

bsd/CongruentPoints913.lean

lean_all/bsd/CongruentPoints913.lean

/-
  bsd/CongruentPoints913.lean — T39 goal G876: points for congruent curves in 181401–181600 with Tunnell A = 2B
  (n = 181415, 181454, 181474, 181493, 181510, 181526, 181555, 181570, 181587, 181589, 181599), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints913
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (181415, true, 5967585, 2, 14469818025),
   (181454, true, 42841017543025, 15318, 31108057041958676585),
   (181474, true, 2309438, 1, 3498762672),
   (181493, false, 3423251, 5, 5509962432),
   (181510, false, 3050866754, 399, 1587171512166344),
   (181526, true, 1003833, 2, 694474803),
   (181555, false, 30976, 1, 31485168),
   (181570, true, 271350, 1, 105042600),
   (181587, true, 189525, 1, 23628780),
   (181589, false, 387, 1, 3572268),
   (181599, true, 61126593, 17, 245013709248)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints913

#print axioms CongruentPoints913.on_curve
#print axioms CongruentPoints913.indep
#print axioms CongruentPoints913.count

bsd/CongruentPoints914.lean

lean_all/bsd/CongruentPoints914.lean

/-
  bsd/CongruentPoints914.lean — T39 goal G876: points for congruent curves in 181601–181800 with Tunnell A = 2B
  (n = 181623, 181627, 181633, 181649, 181662, 181671, 181681, 181718, 181727, 181769, 181771, 181778, 181797), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints914
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (181623, true, 21645975, 1, 100704862440),
   (181627, true, 724012090321, 1030, 593835676393840881),
   (181633, true, 1129101460431025, 36036, 37103125411606911279895),
   (181649, true, 15808004225, 61, 1985720896716180),
   (181662, true, 817212946, 35, 22478763721744),
   (181671, true, 254673468, 37, 874534901058),
   (181681, false, 152881, 1, 38380560),
   (181718, false, 1489538, 3, 824165000),
   (181727, true, 6708664631881, 3135, 16749054114380630596),
   (181769, true, 236992, 1, 74030376),
   (181771, true, 2148804235966960441, 3104352, 1824305715813465916527828115),
   (181778, true, 343931833, 6, 6377198476915),
   (181797, true, 572296956, 25, 13418360578854)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints914

#print axioms CongruentPoints914.on_curve
#print axioms CongruentPoints914.indep
#print axioms CongruentPoints914.count

bsd/CongruentPoints915.lean

lean_all/bsd/CongruentPoints915.lean

/-
  bsd/CongruentPoints915.lean — T39 goal G876: points for congruent curves in 181801–182000 with Tunnell A = 2B
  (n = 181806, 181830, 181831, 181846, 181858, 181865, 181905, 181929, 181955, 181961, 181963, 181999), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints915
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (181806, true, 295788, 1, 126893052),
   (181830, false, 1830270, 37, 336755601000),
   (181831, false, 45369, 1, 37505040),
   (181846, false, 147591, 10, 6985852077),
   (181858, false, 222173991, 50, 5912447217027),
   (181865, true, 2839445220738025, 48008, 149646296646229622836725),
   (181905, true, 14333621844529, 6606, 45184611946573601983),
   (181929, true, 732633, 2, 72530667),
   (181955, true, 290405, 1, 121970100),
   (181961, true, 164765363569, 814, 45584070708463455),
   (181963, true, 1767475, 1, 2337308940),
   (181999, true, 198927, 1, 35815416)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints915

#print axioms CongruentPoints915.on_curve
#print axioms CongruentPoints915.indep
#print axioms CongruentPoints915.count

bsd/CongruentPoints916.lean

lean_all/bsd/CongruentPoints916.lean

/-
  bsd/CongruentPoints916.lean — T39 goal G877: points for congruent curves in 182001–182200 with Tunnell A = 2B
  (n = 182001, 182005, 182006, 182033, 182039, 182046, 182085, 182095, 182113, 182149, 182161, 182166, 182185, 182191), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints916
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (182001, true, 10545895983, 221, 582729743854692),
   (182005, true, 356445, 1, 182975100),
   (182006, true, 8375158, 1, 24231870432),
   (182033, true, 2911763419321, 3710, 2531405886619430619),
   (182039, true, 206492, 1, 44292534),
   (182046, false, 54150, 1, 40444920),
   (182085, true, 1758364, 1, 2319113762),
   (182095, true, 388380235243225, 1958, 7653938689881655802475),
   (182113, true, 40495470891568225, 470436, 792681731881773175525265),
   (182149, true, 117922816, 25, 333916103136),
   (182161, true, 1687567, 3, 519770636),
   (182166, true, 9502993, 6, 21201177383),
   (182185, true, 493966615, 49, 5100289061400),
   (182191, false, 128466063, 28, 707743575561)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints916

#print axioms CongruentPoints916.on_curve
#print axioms CongruentPoints916.indep
#print axioms CongruentPoints916.count

bsd/CongruentPoints917.lean

lean_all/bsd/CongruentPoints917.lean

/-
  bsd/CongruentPoints917.lean — T39 goal G877: points for congruent curves in 182201–182400 with Tunnell A = 2B
  (n = 182210, 182343, 182357, 182381, 182390), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints917
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (182210, true, 124813850, 1, 1394420332200),
   (182343, true, 11904393, 7, 27142016040),
   (182357, true, 1703125, 1, 2209866000),
   (182381, false, 661229, 3, 1221653420),
   (182390, true, 5453461, 5, 6985883541)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints917

#print axioms CongruentPoints917.on_curve
#print axioms CongruentPoints917.indep
#print axioms CongruentPoints917.count

bsd/CongruentPoints918.lean

lean_all/bsd/CongruentPoints918.lean

/-
  bsd/CongruentPoints918.lean — T39 goal G877: points for congruent curves in 182401–182600 with Tunnell A = 2B
  (n = 182406, 182434, 182437, 182535, 182546, 182591), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints918
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (182406, true, 1084638192, 37, 34761717320616),
   (182434, false, 1533854, 15, 50801541056),
   (182437, true, 195726364774575625, 897222, 57240422563612428384301475),
   (182535, true, 4414938025, 93, 273953639980900),
   (182546, true, 82841850, 19, 456911462280),
   (182591, true, 451553702542849, 9342, 9589445906854678555175)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints918

#print axioms CongruentPoints918.on_curve
#print axioms CongruentPoints918.indep
#print axioms CongruentPoints918.count

bsd/CongruentPoints919.lean

lean_all/bsd/CongruentPoints919.lean

/-
  bsd/CongruentPoints919.lean — T39 goal G877: points for congruent curves in 182601–182800 with Tunnell A = 2B
  (n = 182617, 182634, 182714, 182726, 182771, 182778, 182795, 182797), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints919
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (182617, true, 16756008025, 113, 2147875793151480),
   (182634, false, 792756, 5, 4003542972),
   (182714, false, 956598775, 214, 257103243054405),
   (182726, true, 13094128453561, 3744, 46466806101919112915),
   (182771, true, 48438440211529, 1932, 337087110404902890565),
   (182778, true, 15764172, 7, 51507890820),
   (182795, true, 972405, 1, 941799600),
   (182797, true, 256216865197758721, 378820, 129009997138089914906816769)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints919

#print axioms CongruentPoints919.on_curve
#print axioms CongruentPoints919.indep
#print axioms CongruentPoints919.count

bsd/CongruentPoints92.lean

lean_all/bsd/CongruentPoints92.lean

/-
  bsd/CongruentPoints92.lean — T39 goal G146: points for congruent curves in 17201–17400 with Tunnell A = 2B
  (n = 17202, 17205, 17227, 17255, 17259, 17266, 17277, 17283, 17290, 17295, 17301, 17311, 17355, 17366, 17381, 17391), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints92
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (17202, true, 44652, 1, 8707140),
   (17205, true, 44400, 1, 8624700),
   (17227, false, 476847, 8, 686449575),
   (17255, true, 3310268220, 409, 93241677779250),
   (17259, true, 9026457, 4, 27106450371),
   (17266, false, 18818, 67, 10632320544),
   (17277, true, 8675991025, 642, 461653397231455),
   (17283, true, 18965212, 19, 77994434350),
   (17290, true, 176890, 3, 35378000),
   (17295, true, 181038187275930625, 2640851, 57442753514737496098749500),
   (17301, true, 955900, 7, 431814790),
   (17311, true, 31423, 1, 4648728),
   (17355, false, 298116, 5, 172119402),
   (17366, true, 15872524, 25, 46141427268),
   (17381, true, 3319771, 3, 6041983220),
   (17391, true, 17457, 1, 200376)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 16 := rfl

end CongruentPoints92

#print axioms CongruentPoints92.on_curve
#print axioms CongruentPoints92.indep
#print axioms CongruentPoints92.count

bsd/CongruentPoints920.lean

lean_all/bsd/CongruentPoints920.lean

/-
  bsd/CongruentPoints920.lean — T39 goal G877: points for congruent curves in 182801–183000 with Tunnell A = 2B
  (n = 182811, 182823, 182830, 182845, 182886, 182895, 182910, 182991), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints920
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (182811, true, 201243, 1, 37743552),
   (182823, true, 274796863548, 143, 144038125815899310),
   (182830, true, 412720556025625, 198, 8384634772688047052125),
   (182845, true, 741350455102581025, 201498, 638283417612023457518458825),
   (182886, false, 79202, 1, 46392472),
   (182895, true, 56343940092376225, 18018, 13374285175471310500721975),
   (182910, true, 191646, 1, 25041744),
   (182991, true, 3401815048801, 1344, 6244621780183840495)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints920

#print axioms CongruentPoints920.on_curve
#print axioms CongruentPoints920.indep
#print axioms CongruentPoints920.count

bsd/CongruentPoints921.lean

lean_all/bsd/CongruentPoints921.lean

/-
  bsd/CongruentPoints921.lean — T39 goal G877: points for congruent curves in 183001–183200 with Tunnell A = 2B
  (n = 183009, 183011, 183029, 183039, 183074, 183085, 183090, 183135), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints921
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (183009, true, 25186236, 11, 60220100430),
   (183011, true, 30181777, 12, 80821964089),
   (183029, false, 114418997, 31, 1428953792112),
   (183039, true, 15351045277681, 3523, 59483752629935515660),
   (183074, true, 53001072, 17, 22809552744),
   (183085, false, 121835, 1, 47701500),
   (183090, true, 10685040, 7, 18971389800),
   (183135, true, 13616579704225, 8319, 18369350329950848800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints921

#print axioms CongruentPoints921.on_curve
#print axioms CongruentPoints921.indep
#print axioms CongruentPoints921.count

bsd/CongruentPoints922.lean

lean_all/bsd/CongruentPoints922.lean

/-
  bsd/CongruentPoints922.lean — T39 goal G877: points for congruent curves in 183201–183400 with Tunnell A = 2B
  (n = 183201, 183207, 183239, 183241, 183274, 183305, 183314, 183337, 183362, 183399), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints922
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (183201, true, 34031600961, 194, 6147830427503175),
   (183207, true, 210913318009, 895, 69570192092744152),
   (183239, true, 2549760659209, 3705, 666866576375985448),
   (183241, false, 55223, 1, 41058864),
   (183274, true, 314678, 1, 143493168),
   (183305, false, 152100, 1, 39898950),
   (183314, true, 287282, 1, 118557264),
   (183337, true, 15924673249, 190, 1827800643846057),
   (183362, true, 19381538, 7, 75604061280),
   (183399, true, 65045911681, 525, 10440289245606704)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints922

#print axioms CongruentPoints922.on_curve
#print axioms CongruentPoints922.indep
#print axioms CongruentPoints922.count

bsd/CongruentPoints923.lean

lean_all/bsd/CongruentPoints923.lean

/-
  bsd/CongruentPoints923.lean — T39 goal G877: points for congruent curves in 183401–183600 with Tunnell A = 2B
  (n = 183427, 183430, 183441, 183463, 183486, 183489, 183495, 183570, 183579), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints923
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (183427, true, 238182433, 36, 228604216015),
   (183430, false, 3968064, 5, 4578815184),
   (183441, false, 23893343, 28, 693223257329),
   (183463, true, 63899959125025, 9731, 491560038580816958880),
   (183486, false, 1494006, 5, 5301140472),
   (183489, true, 2345201932471225, 113033, 3079406754592018782020),
   (183495, true, 8124147383521, 5229, 18212758513827291856),
   (183570, false, 890420, 27, 126274912300),
   (183579, true, 200475, 1, 36067680)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints923

#print axioms CongruentPoints923.on_curve
#print axioms CongruentPoints923.indep
#print axioms CongruentPoints923.count

bsd/CongruentPoints924.lean

lean_all/bsd/CongruentPoints924.lean

/-
  bsd/CongruentPoints924.lean — T39 goal G877: points for congruent curves in 183601–183800 with Tunnell A = 2B
  (n = 183606, 183610, 183617, 183630, 183631, 183651, 183657, 183666, 183702, 183711, 183729, 183770), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints924
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (183606, true, 26378062, 7, 127353283336),
   (183610, true, 240254, 1, 75949608),
   (183617, true, 3322558064, 95, 165996577269012),
   (183630, false, 6072020, 41, 760490695900),
   (183631, true, 502681, 1, 331769460),
   (183651, true, 184093, 1, 5470192),
   (183657, true, 3380841025, 71, 189064730646820),
   (183666, true, 183750, 1, 2381400),
   (183702, false, 5597858, 11, 50895805240),
   (183711, true, 60053433, 4, 464821183827),
   (183729, true, 2568657, 1, 4106249784),
   (183770, true, 449650, 1, 275185800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints924

#print axioms CongruentPoints924.on_curve
#print axioms CongruentPoints924.indep
#print axioms CongruentPoints924.count

bsd/CongruentPoints925.lean

lean_all/bsd/CongruentPoints925.lean

/-
  bsd/CongruentPoints925.lean — T39 goal G877: points for congruent curves in 183801–184000 with Tunnell A = 2B
  (n = 183805, 183815, 183854, 183855, 183885, 183891, 183913, 183929, 183931, 183937, 183981, 183985, 183989, 183998), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints925
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (183805, true, 340605, 1, 167353200),
   (183815, true, 121177054722025, 1414, 1333916336265937332525),
   (183854, true, 184525, 1, 6753615),
   (183855, true, 240975, 1, 76469400),
   (183885, false, 908679515, 103, 52037695456300),
   (183891, false, 156816, 1, 38033820),
   (183913, true, 198025, 1, 32670120),
   (183929, true, 175284337, 28, 1319365204599),
   (183931, false, 87131, 1, 47814360),
   (183937, false, 142129, 5, 1732777956),
   (183981, false, 176400, 1, 21952980),
   (183985, true, 43678039, 15, 92073306212),
   (183989, true, 184093, 1, 2654652),
   (183998, true, 386671797, 19, 7490477160885)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints925

#print axioms CongruentPoints925.on_curve
#print axioms CongruentPoints925.indep
#print axioms CongruentPoints925.count

bsd/CongruentPoints926.lean

lean_all/bsd/CongruentPoints926.lean

/-
  bsd/CongruentPoints926.lean — T39 goal G878: points for congruent curves in 184001–184200 with Tunnell A = 2B
  (n = 184002, 184030, 184051, 184099, 184114, 184129, 184145, 184146, 184195), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints926
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (184002, true, 2839225, 2, 4620554765),
   (184030, true, 3998470, 3, 7277215400),
   (184051, false, 15876, 1, 23103990),
   (184099, true, 21004415041, 154, 2977656837073785),
   (184114, true, 1996499903993, 3286, 259644878106835347),
   (184129, true, 1581921, 1, 1976128440),
   (184145, false, 184041, 1, 2654652),
   (184146, true, 1601390298, 53, 60648264633528),
   (184195, false, 108900, 1, 49023150)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints926

#print axioms CongruentPoints926.on_curve
#print axioms CongruentPoints926.indep
#print axioms CongruentPoints926.count

bsd/CongruentPoints927.lean

lean_all/bsd/CongruentPoints927.lean

/-
  bsd/CongruentPoints927.lean — T39 goal G878: points for congruent curves in 184201–184400 with Tunnell A = 2B
  (n = 184215, 184254, 184261, 184267, 184281, 184295, 184303, 184314, 184317, 184345, 184366, 184395), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints927
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (184215, true, 3550372225, 89, 192856446876700),
   (184254, true, 240429, 1, 75735135),
   (184261, false, 467506052, 399, 634187494066022),
   (184267, true, 11909138641, 90, 1289385065032561),
   (184281, true, 212097, 1, 48358116),
   (184295, true, 325509385095, 1213, 102736400179808100),
   (184303, true, 537103, 1, 369728520),
   (184314, true, 2956113, 4, 351777447),
   (184317, true, 659883, 1, 514708740),
   (184345, true, 133617281, 4, 1544145101121),
   (184366, false, 78400, 1, 46722480),
   (184395, true, 18837405, 1, 81754337700)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints927

#print axioms CongruentPoints927.on_curve
#print axioms CongruentPoints927.indep
#print axioms CongruentPoints927.count

bsd/CongruentPoints928.lean

lean_all/bsd/CongruentPoints928.lean

/-
  bsd/CongruentPoints928.lean — T39 goal G878: points for congruent curves in 184401–184600 with Tunnell A = 2B
  (n = 184465, 184470, 184481, 184506, 184507, 184566, 184569), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints928
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (184465, true, 1809025, 3, 966490100),
   (184470, true, 278850, 1, 110424600),
   (184481, true, 292681, 1, 122926020),
   (184506, false, 69135738, 71, 7712148369744),
   (184507, true, 4612175569, 60, 309961422377497),
   (184566, true, 212268, 1, 48306132),
   (184569, false, 45177, 1, 38036592)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints928

#print axioms CongruentPoints928.on_curve
#print axioms CongruentPoints928.indep
#print axioms CongruentPoints928.count

bsd/CongruentPoints929.lean

lean_all/bsd/CongruentPoints929.lean

/-
  bsd/CongruentPoints929.lean — T39 goal G878: points for congruent curves in 184601–184800 with Tunnell A = 2B
  (n = 184605, 184611, 184647, 184654, 184665, 184705, 184710, 184763, 184769), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints929
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (184605, true, 13421884, 5, 46173953098),
   (184611, false, 153503525, 237, 128459388902320),
   (184647, false, 72900, 1, 45804690),
   (184654, false, 35147873303, 1566, 84640773518788949),
   (184665, false, 14079, 1, 21847644),
   (184705, true, 12390196105, 47, 1378420319558100),
   (184710, true, 530160, 1, 361834200),
   (184763, true, 415937137, 24, 8200474230025),
   (184769, true, 9866339591329, 7300, 1972247042304556017)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints929

#print axioms CongruentPoints929.on_curve
#print axioms CongruentPoints929.indep
#print axioms CongruentPoints929.count

bsd/CongruentPoints93.lean

lean_all/bsd/CongruentPoints93.lean

/-
  bsd/CongruentPoints93.lean — T39 goal G147: points for congruent curves in 17401–17600 with Tunnell A = 2B
  (n = 17401, 17402, 17418, 17422, 17430, 17435, 17446, 17458, 17459, 17473, 17485, 17490, 17498, 17510, 17511, 17521, 17526, 17561, 17565, 17570, 17574, 17589), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints93
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (17401, true, 8077725035107225, 316032, 708992414482389359561405),
   (17402, true, 19602, 1, 1263240),
   (17418, true, 53868, 1, 11830860),
   (17422, true, 239883518, 37, 3696947703120),
   (17430, true, 7812126, 5, 21801039624),
   (17435, true, 22275, 1, 2069100),
   (17446, true, 4976062642681, 6744, 10958118914425626125),
   (17458, false, 22743, 2, 9957045),
   (17459, true, 628849, 6, 16030495),
   (17473, true, 19743948337, 962, 1591868650591935),
   (17485, true, 72361, 2, 4992909),
   (17490, true, 70225, 2, 1615175),
   (17498, true, 42079861543075225, 1291716, 6216303585962398997890115),
   (17510, true, 901765, 3, 843150275),
   (17511, true, 201601, 3, 56448280),
   (17521, false, 9583, 1, 1435896),
   (17526, false, 122567, 6, 216679987),
   (17561, false, 13689, 1, 1287000),
   (17565, false, 1815, 2, 2992275),
   (17570, true, 6509405, 19, 3733722825),
   (17574, false, 14400, 1, 1208880),
   (17589, false, 1250273475, 527, 166975595002260)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 22 := rfl

end CongruentPoints93

#print axioms CongruentPoints93.on_curve
#print axioms CongruentPoints93.indep
#print axioms CongruentPoints93.count

bsd/CongruentPoints930.lean

lean_all/bsd/CongruentPoints930.lean

/-
  bsd/CongruentPoints930.lean — T39 goal G878: points for congruent curves in 184801–185000 with Tunnell A = 2B
  (n = 184801, 184811, 184827, 184830, 184853, 184861, 184943, 184946, 184951, 184965, 184966, 184970), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints930
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (184801, true, 1797135968329, 2130, 2130939125148228733),
   (184811, false, 156816, 5, 1828574748),
   (184827, false, 176400, 1, 23172660),
   (184830, true, 1507005, 1, 1836034425),
   (184853, false, 3332322959, 240, 583765308062839),
   (184861, true, 13520473052549761, 207870, 1268426423070272366866009),
   (184943, true, 1088153, 2, 832437045),
   (184946, true, 17661457206, 67, 2344549659258840),
   (184951, true, 2527646453763602161, 3069, 4018597340741826318478853720),
   (184965, false, 1132365135, 112, 68146327326825),
   (184966, false, 14485266484, 343, 1954499677836420),
   (184970, true, 320650, 1, 148315200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints930

#print axioms CongruentPoints930.on_curve
#print axioms CongruentPoints930.indep
#print axioms CongruentPoints930.count

bsd/CongruentPoints931.lean

lean_all/bsd/CongruentPoints931.lean

/-
  bsd/CongruentPoints931.lean — T39 goal G878: points for congruent curves in 185001–185200 with Tunnell A = 2B
  (n = 185063, 185074, 185079, 185082, 185087, 185115, 185127, 185165, 185190, 185195), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints931
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (185063, true, 47630880025, 497, 2920678128891720),
   (185074, true, 1050625, 2, 764140575),
   (185079, true, 83957679, 7, 764789872860),
   (185082, true, 256368, 1, 89820360),
   (185087, true, 224287, 1, 59993640),
   (185115, true, 112843521, 10, 1182472972569),
   (185127, true, 198927, 1, 32470020),
   (185165, true, 831805876692025, 27984, 23622823050354783667475),
   (185190, false, 97344, 1, 49153104),
   (185195, true, 202005, 1, 36260400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints931

#print axioms CongruentPoints931.on_curve
#print axioms CongruentPoints931.indep
#print axioms CongruentPoints931.count

bsd/CongruentPoints932.lean

lean_all/bsd/CongruentPoints932.lean

/-
  bsd/CongruentPoints932.lean — T39 goal G878: points for congruent curves in 185201–185400 with Tunnell A = 2B
  (n = 185210, 185262, 185290, 185334, 185339, 185374, 185385), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints932
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (185210, true, 320410, 1, 147997200),
   (185262, true, 535646650, 3, 12396968155880),
   (185290, false, 1302350, 13, 35704800600),
   (185334, false, 276, 17, 889830900),
   (185339, true, 2849308, 3, 3899277998),
   (185374, true, 121323760894, 87, 42256133121119680),
   (185385, true, 277440, 1, 108721800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints932

#print axioms CongruentPoints932.on_curve
#print axioms CongruentPoints932.indep
#print axioms CongruentPoints932.count

bsd/CongruentPoints933.lean

lean_all/bsd/CongruentPoints933.lean

/-
  bsd/CongruentPoints933.lean — T39 goal G878: points for congruent curves in 185401–185600 with Tunnell A = 2B
  (n = 185421, 185426, 185430, 185479, 185497, 185518, 185521, 185523, 185542, 185565, 185566, 185574), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints933
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (185421, false, 12996, 1, 21086010),
   (185426, false, 3373847, 6, 10579934933),
   (185430, true, 54578230, 17, 76409522000),
   (185479, true, 8965000093921, 5076, 22710723343015302575),
   (185497, true, 39717847, 7, 243667505640),
   (185518, true, 1142215875025, 1026, 1202762596366528505),
   (185521, false, 37553, 1, 35207136),
   (185523, false, 4376775, 94, 3429485952165),
   (185542, true, 12113242, 1, 42154082160),
   (185565, true, 587275, 1, 426994100),
   (185566, true, 297942121, 40, 428605664331),
   (185574, true, 117104877, 23, 690922875249)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 12 := rfl

end CongruentPoints933

#print axioms CongruentPoints933.on_curve
#print axioms CongruentPoints933.indep
#print axioms CongruentPoints933.count

bsd/CongruentPoints934.lean

lean_all/bsd/CongruentPoints934.lean

/-
  bsd/CongruentPoints934.lean — T39 goal G878: points for congruent curves in 185601–185800 with Tunnell A = 2B
  (n = 185606, 185609, 185619, 185621, 185629, 185665, 185674, 185689, 185690, 185691, 185703, 185717, 185749, 185757), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints934
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (185606, true, 535806, 1, 367920120),
   (185609, true, 117787609, 7, 1274532473880),
   (185619, false, 13125, 1, 21212100),
   (185621, true, 1758971012007582025, 1299242, 2295545045975661834877848765),
   (185629, true, 7129157, 1, 19028738484),
   (185665, true, 175454064, 23, 1925792400588),
   (185674, true, 756857, 2, 126775341),
   (185689, true, 47775168, 13, 248990943768),
   (185690, false, 19220310, 11, 51016414800),
   (185691, true, 59786875, 1, 462281683400),
   (185703, true, 399847, 1, 223914320),
   (185717, true, 541212998080225, 25916, 12251812463974520668335),
   (185749, true, 1873116591753289, 65730, 73250294082189745716413),
   (185757, false, 35607143, 18, 289539947125)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints934

#print axioms CongruentPoints934.on_curve
#print axioms CongruentPoints934.indep
#print axioms CongruentPoints934.count

bsd/CongruentPoints935.lean

lean_all/bsd/CongruentPoints935.lean

/-
  bsd/CongruentPoints935.lean — T39 goal G878: points for congruent curves in 185801–186000 with Tunnell A = 2B
  (n = 185806, 185815, 185817, 185822, 185845, 185847, 185934, 185946, 185962, 185965, 185991, 185997, 185998), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints935
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (185806, true, 141491269, 1, 1683038644755),
   (185815, true, 119083657225, 799, 3605266882768200),
   (185817, false, 119025, 1, 49228740),
   (185822, false, 112896, 5, 1560443808),
   (185845, true, 819025, 2, 311125425),
   (185847, true, 241027803084930625, 434313, 117073323063456480764587700),
   (185934, false, 2470040223, 1544, 22029197369998959),
   (185946, true, 24847404, 7, 115229658060),
   (185962, false, 158758775, 176, 72552671604315),
   (185965, true, 3117465, 2, 5345313675),
   (185991, true, 15561247, 9, 15374512036),
   (185997, true, 5552064, 5, 7148359512),
   (185998, true, 1187836225, 56, 35662998954015)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints935

#print axioms CongruentPoints935.on_curve
#print axioms CongruentPoints935.indep
#print axioms CongruentPoints935.count

bsd/CongruentPoints936.lean

lean_all/bsd/CongruentPoints936.lean

/-
  bsd/CongruentPoints936.lean — T39 goal G879: points for congruent curves in 186001–186200 with Tunnell A = 2B
  (n = 186051, 186070, 186082, 186086, 186110, 186123, 186145, 186153, 186199), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints936
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (186051, true, 694083, 1, 557090352),
   (186070, true, 214245, 1, 49157325),
   (186082, true, 78225268695025, 17366, 482000125356021220905),
   (186086, true, 73409350, 9, 615564666080),
   (186110, true, 50130775710, 487, 5321064056930400),
   (186123, false, 48455127, 74, 7086666471885),
   (186145, true, 324830656945, 1203, 103446072641696500),
   (186153, false, 1280697, 7, 10220352120),
   (186199, true, 120361107588241, 25254, 215256313844370505135)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints936

#print axioms CongruentPoints936.on_curve
#print axioms CongruentPoints936.indep
#print axioms CongruentPoints936.count

bsd/CongruentPoints937.lean

lean_all/bsd/CongruentPoints937.lean

/-
  bsd/CongruentPoints937.lean — T39 goal G879: points for congruent curves in 186201–186400 with Tunnell A = 2B
  (n = 186230, 186277, 186295, 186321, 186337, 186361), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints937
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (186230, true, 2112880, 3, 1870006600),
   (186277, true, 116050571, 5, 1249168346244),
   (186295, true, 3845521, 4, 4764600519),
   (186321, false, 5609375, 8, 24922363375),
   (186337, true, 13140625, 7, 34257642000),
   (186361, true, 2785561, 1, 4638685080)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 6 := rfl

end CongruentPoints937

#print axioms CongruentPoints937.on_curve
#print axioms CongruentPoints937.indep
#print axioms CongruentPoints937.count

bsd/CongruentPoints938.lean

lean_all/bsd/CongruentPoints938.lean

/-
  bsd/CongruentPoints938.lean — T39 goal G879: points for congruent curves in 186401–186600 with Tunnell A = 2B
  (n = 186429, 186438, 186446, 186465, 186474, 186485, 186501, 186537, 186558, 186590, 186594), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints938
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (186429, false, 9072363, 7, 3217156956),
   (186438, true, 277725, 1, 108479385),
   (186446, true, 7007515542, 107, 558726677814696),
   (186465, true, 86706225, 8, 799691513175),
   (186474, false, 481234228775, 5494, 3890278195756087555),
   (186485, false, 69764240, 29, 1173215998500),
   (186501, true, 59706963, 13, 391836895848),
   (186537, false, 889239, 5, 4316896116),
   (186558, true, 323733, 1, 150535845),
   (186590, true, 2672890, 1, 4359240600),
   (186594, false, 1839362, 17, 73093092688)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints938

#print axioms CongruentPoints938.on_curve
#print axioms CongruentPoints938.indep
#print axioms CongruentPoints938.count

bsd/CongruentPoints939.lean

lean_all/bsd/CongruentPoints939.lean

/-
  bsd/CongruentPoints939.lean — T39 goal G879: points for congruent curves in 186601–186800 with Tunnell A = 2B
  (n = 186602, 186613, 186645, 186665, 186666, 186667, 186706, 186711, 186721, 186730, 186789), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints939
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (186602, true, 1762906785025, 2706, 1479016595378754145),
   (186613, false, 95733135475, 1063, 58132447422174180),
   (186645, true, 7214293969, 186, 273267392294897),
   (186665, false, 148225, 1, 43682100),
   (186666, false, 10417998, 11, 64684371096),
   (186667, true, 19952100666129025, 288502, 1768133846454628318717095),
   (186706, true, 104368654, 15, 976055652208),
   (186711, false, 4944996903, 178, 228332416811499),
   (186721, false, 182329, 1, 17191020),
   (186730, true, 345845, 1, 171193275),
   (186789, false, 116964, 1, 49807170)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints939

#print axioms CongruentPoints939.on_curve
#print axioms CongruentPoints939.indep
#print axioms CongruentPoints939.count

bsd/CongruentPoints94.lean

lean_all/bsd/CongruentPoints94.lean

/-
  bsd/CongruentPoints94.lean — T39 goal G148: points for congruent curves in 17601–17800 with Tunnell A = 2B
  (n = 17630, 17639, 17641, 17646, 17654, 17670, 17710, 17731, 17741, 17751, 17753, 17754, 17765, 17777, 17782, 17790, 17794, 17799), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints94
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (17630, true, 19350, 1, 1109400),
   (17639, true, 50428475892601, 44321, 260189279977939098360),
   (17641, true, 80063, 1, 22097388),
   (17646, true, 53380306, 55, 2566685296),
   (17654, true, 131404, 1, 47201700),
   (17670, true, 3488430, 13, 3367920600),
   (17710, true, 23276, 1, 2304324),
   (17731, true, 457436, 5, 76384434),
   (17741, false, 9242948, 27, 27502714954),
   (17751, true, 3841297, 8, 7191853831),
   (17753, false, 41984, 5, 90531936),
   (17754, true, 6830934, 5, 17815639248),
   (17765, true, 57475, 1, 13104300),
   (17777, true, 36679847719321, 45290, 24070046663321180619),
   (17782, true, 280395025, 118, 2203562444505),
   (17790, true, 1109760, 7, 723506400),
   (17794, true, 33282, 1, 5131104),
   (17799, true, 250117013689, 2070, 119130635702663387)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints94

#print axioms CongruentPoints94.on_curve
#print axioms CongruentPoints94.indep
#print axioms CongruentPoints94.count

bsd/CongruentPoints940.lean

lean_all/bsd/CongruentPoints940.lean

/-
  bsd/CongruentPoints940.lean — T39 goal G879: points for congruent curves in 186801–187000 with Tunnell A = 2B
  (n = 186807, 186830, 186909, 186934, 186955, 186965, 186979, 186987, 186990), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints940
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (186807, false, 191844, 5, 2043810054),
   (186830, false, 87206906, 95, 15724890482328),
   (186909, true, 4907523, 1, 10863713448),
   (186934, false, 156816, 1, 40293000),
   (186955, true, 748225, 2, 21291975),
   (186965, true, 193375842885, 41, 85035986824253400),
   (186979, true, 566172412, 27, 13075468768934),
   (186987, true, 656548816729, 1540, 392295443055092317),
   (186990, false, 5026551360, 233, 625299146946000)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints940

#print axioms CongruentPoints940.on_curve
#print axioms CongruentPoints940.indep
#print axioms CongruentPoints940.count

bsd/CongruentPoints941.lean

lean_all/bsd/CongruentPoints941.lean

/-
  bsd/CongruentPoints941.lean — T39 goal G879: points for congruent curves in 187001–187200 with Tunnell A = 2B
  (n = 187005, 187007, 187013, 187026, 187042, 187055, 187059, 187094, 187151, 187153, 187166, 187170, 187195), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints941
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (187005, true, 166962705, 4, 2157046266375),
   (187007, false, 184900, 1, 12036990),
   (187013, true, 748225, 2, 13916985),
   (187026, true, 3133452, 1, 5536809684),
   (187042, false, 115600, 1, 49994280),
   (187055, true, 1762255, 1, 2326176600),
   (187059, true, 1184109, 1, 1272329640),
   (187094, true, 16871152321, 78, 2186383767227135),
   (187151, true, 14386849, 7, 42046770480),
   (187153, true, 2887705455625, 489, 4906560756800946700),
   (187166, true, 293132, 1, 122143476),
   (187170, true, 684030, 1, 544143600),
   (187195, true, 105546137809225, 13618, 1024003657671499902525)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 13 := rfl

end CongruentPoints941

#print axioms CongruentPoints941.on_curve
#print axioms CongruentPoints941.indep
#print axioms CongruentPoints941.count

bsd/CongruentPoints942.lean

lean_all/bsd/CongruentPoints942.lean

/-
  bsd/CongruentPoints942.lean — T39 goal G879: points for congruent curves in 187201–187400 with Tunnell A = 2B
  (n = 187233, 187241, 187259, 187302, 187310, 187358, 187374), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints942
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (187233, true, 69075633, 7, 569013496920),
   (187241, true, 1530913764601, 1319, 1850822358433568520),
   (187259, false, 3960100, 13, 62482061790),
   (187302, true, 153868593, 28, 570083137065),
   (187310, false, 86490, 1, 48862200),
   (187358, false, 1058, 1, 6094080),
   (187374, true, 1587762, 1, 1986701904)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints942

#print axioms CongruentPoints942.on_curve
#print axioms CongruentPoints942.indep
#print axioms CongruentPoints942.count

bsd/CongruentPoints943.lean

lean_all/bsd/CongruentPoints943.lean

/-
  bsd/CongruentPoints943.lean — T39 goal G879: points for congruent curves in 187401–187600 with Tunnell A = 2B
  (n = 187431, 187519, 187530, 187546, 187581), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints943
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (187431, true, 700576313725088161, 1642415, 405904507214986288231347716),
   (187519, true, 50925312, 11, 325348026096),
   (187530, true, 189525, 1, 11940075),
   (187546, true, 51154238, 7, 359914026408),
   (187581, false, 11163, 1, 19783764)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 5 := rfl

end CongruentPoints943

#print axioms CongruentPoints943.on_curve
#print axioms CongruentPoints943.indep
#print axioms CongruentPoints943.count

bsd/CongruentPoints944.lean

lean_all/bsd/CongruentPoints944.lean

/-
  bsd/CongruentPoints944.lean — T39 goal G879: points for congruent curves in 187601–187800 with Tunnell A = 2B
  (n = 187629, 187635, 187643, 187678, 187701, 187710, 187726, 187746, 187761), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints944
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (187629, true, 12253617, 8, 8540771049),
   (187635, false, 11854815, 16, 160271031375),
   (187643, true, 10359723819196675225, 7367146, 6110386597273406383690704885),
   (187678, false, 849366, 5, 4252708152),
   (187701, true, 2827096659, 5, 150317791980048),
   (187710, true, 25038960, 1, 125288793000),
   (187726, false, 204687, 4, 1355747337),
   (187746, false, 341172, 7, 5369756652),
   (187761, false, 748503, 2, 53404659)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints944

#print axioms CongruentPoints944.on_curve
#print axioms CongruentPoints944.indep
#print axioms CongruentPoints944.count

bsd/CongruentPoints945.lean

lean_all/bsd/CongruentPoints945.lean

/-
  bsd/CongruentPoints945.lean — T39 goal G879: points for congruent curves in 187801–188000 with Tunnell A = 2B
  (n = 187831, 187833, 187845, 187849, 187859, 187869, 187935, 187937, 187978, 187979), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints945
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (187831, false, 131383, 1, 48655824),
   (187833, true, 48676848, 13, 257461805700),
   (187845, true, 3200521, 2, 5565706019),
   (187849, true, 857342714887824841, 1649915, 637171119951792111090532764),
   (187859, false, 1252503, 4, 3057916491),
   (187869, false, 126852, 1, 49355658),
   (187935, true, 55353615, 11, 375473857500),
   (187937, true, 1458937858225, 1303, 1719537802677043440),
   (187978, true, 1649571562, 23, 66875369468160),
   (187979, true, 5592059, 5, 7167215748)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints945

#print axioms CongruentPoints945.on_curve
#print axioms CongruentPoints945.indep
#print axioms CongruentPoints945.count

bsd/CongruentPoints946.lean

lean_all/bsd/CongruentPoints946.lean

/-
  bsd/CongruentPoints946.lean — T39 goal G880: points for congruent curves in 188001–188200 with Tunnell A = 2B
  (n = 188002, 188094, 188105, 188110, 188123, 188146, 188166, 188185, 188194), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints946
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (188002, true, 54276458, 11, 363053355960),
   (188094, false, 190463, 4, 1310776831),
   (188105, true, 86595401092225, 14309, 721740165070769838600),
   (188110, true, 20581416076, 209, 2707138076702124),
   (188123, true, 108807101, 5, 1133913121224),
   (188146, true, 99435161, 22, 398237819805),
   (188166, false, 15842, 9, 1918363672),
   (188185, true, 12876076305625, 1617, 46169798593561201000),
   (188194, false, 173056, 1, 30763200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 9 := rfl

end CongruentPoints946

#print axioms CongruentPoints946.on_curve
#print axioms CongruentPoints946.indep
#print axioms CongruentPoints946.count

bsd/CongruentPoints947.lean

lean_all/bsd/CongruentPoints947.lean

/-
  bsd/CongruentPoints947.lean — T39 goal G880: points for congruent curves in 188201–188400 with Tunnell A = 2B
  (n = 188214, 188230, 188231, 188279, 188342, 188354, 188355, 188383), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints947
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (188214, false, 26896779582, 761, 17323243892668728),
   (188230, false, 1571150, 9, 19009226600),
   (188231, true, 107202249, 23, 411205816560),
   (188279, false, 74529, 1, 47201700),
   (188342, true, 191456650, 17, 2539829920320),
   (188354, true, 272322, 1, 102635136),
   (188355, false, 20880, 11, 3293271900),
   (188383, true, 30128137, 6, 161126586595)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints947

#print axioms CongruentPoints947.on_curve
#print axioms CongruentPoints947.indep
#print axioms CongruentPoints947.count

bsd/CongruentPoints948.lean

lean_all/bsd/CongruentPoints948.lean

/-
  bsd/CongruentPoints948.lean — T39 goal G880: points for congruent curves in 188401–188600 with Tunnell A = 2B
  (n = 188430, 188439, 188445, 188474, 188485, 188489, 188494, 188529, 188543, 188571), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints948
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (188430, true, 21869100, 7, 92707767900),
   (188439, true, 347967, 1, 172557684),
   (188445, false, 2919495, 4, 1287169875),
   (188474, true, 9554182, 7, 7566912144),
   (188485, false, 52749725, 139, 26446665957600),
   (188489, true, 56330750281, 527, 4937321079601560),
   (188494, false, 12482, 3, 189526688),
   (188529, true, 14681337, 2, 56179093509),
   (188543, true, 5321437632, 1, 388189214311080),
   (188571, true, 271803, 1, 102053448)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 10 := rfl

end CongruentPoints948

#print axioms CongruentPoints948.on_curve
#print axioms CongruentPoints948.indep
#print axioms CongruentPoints948.count

bsd/CongruentPoints949.lean

lean_all/bsd/CongruentPoints949.lean

/-
  bsd/CongruentPoints949.lean — T39 goal G880: points for congruent curves in 188601–188800 with Tunnell A = 2B
  (n = 188615, 188706, 188727, 188742, 188778, 188786, 188790), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints949
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (188615, true, 37015505135, 191, 6997439499911700),
   (188706, true, 4741926, 5, 1043522424),
   (188727, false, 38148, 1, 36100350),
   (188742, true, 1723692, 1, 2249418060),
   (188778, true, 2196150, 1, 3242519280),
   (188786, true, 1979650, 3, 1429447040),
   (188790, true, 739112850, 59, 9195549337800)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 7 := rfl

end CongruentPoints949

#print axioms CongruentPoints949.on_curve
#print axioms CongruentPoints949.indep
#print axioms CongruentPoints949.count

bsd/CongruentPoints95.lean

lean_all/bsd/CongruentPoints95.lean

/-
  bsd/CongruentPoints95.lean — T39 goal G151: points for congruent curves in 17801–18000 with Tunnell A = 2B
  (n = 17803, 17810, 17841, 17843, 17855, 17886, 17906, 17935, 17949, 17953, 17958, 17963, 17974, 17985), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints95
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (17803, false, 456475, 7, 502252080),
   (17810, true, 1221025, 2, 1346934225),
   (17841, false, 467856, 29, 10257937740),
   (17843, false, 4900, 1, 1200990),
   (17855, true, 63760225, 2, 509125077225),
   (17886, false, 801867, 19, 5737153653),
   (17906, true, 21294, 1, 1681680),
   (17935, true, 395641, 3, 227204864),
   (17949, true, 4222053525, 299, 253751301611640),
   (17953, true, 9009129424003804225, 1588806, 27040750696344064433242387015),
   (17958, true, 133225, 2, 40953365),
   (17963, true, 4173948, 11, 7280060970),
   (17974, false, 15842, 3, 20262808),
   (17985, true, 297025, 1, 161581600)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 14 := rfl

end CongruentPoints95

#print axioms CongruentPoints95.on_curve
#print axioms CongruentPoints95.indep
#print axioms CongruentPoints95.count

bsd/CongruentPoints950.lean

lean_all/bsd/CongruentPoints950.lean

/-
  bsd/CongruentPoints950.lean — T39 goal G880: points for congruent curves in 188801–189000 with Tunnell A = 2B
  (n = 188810, 188841, 188845, 188849, 188870, 188885, 188914, 188935, 188963, 188970, 188989), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints950
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (188810, true, 382400, 1, 205635600),
   (188841, false, 51984, 1, 41392260),
   (188845, true, 1050625, 2, 748470375),
   (188849, true, 9327007, 7, 3566702544),
   (188870, true, 68743125, 19, 72670648875),
   (188885, false, 174724, 1, 29994426),
   (188914, false, 83283422, 27, 1000957795712),
   (188935, true, 11906398819225, 6721, 28646741391119821800),
   (188963, true, 417219229143025, 30704, 7706220972781254070455),
   (188970, false, 1470, 1, 7245000),
   (188989, false, 125732, 1, 50031102)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints950

#print axioms CongruentPoints950.on_curve
#print axioms CongruentPoints950.indep
#print axioms CongruentPoints950.count

bsd/CongruentPoints951.lean

lean_all/bsd/CongruentPoints951.lean

/-
  bsd/CongruentPoints951.lean — T39 goal G880: points for congruent curves in 189001–189200 with Tunnell A = 2B
  (n = 189010, 189031, 189051, 189065, 189085, 189095, 189105, 189137, 189145, 189174, 189191), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints951
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (189010, true, 10291041, 4, 31555679889),
   (189031, true, 1210459118472409, 76517, 17055692642960348846820),
   (189051, true, 345507, 1, 169989444),
   (189065, true, 7831615218254368489, 1655957, 21868716104533309382780577012),
   (189085, true, 2176785, 2, 3011516625),
   (189095, true, 121209895, 13, 1287249084900),
   (189105, true, 3243601, 4, 2105097049),
   (189137, true, 6461462861400625, 4256, 519393150010181641701975),
   (189145, true, 1801855, 3, 792816200),
   (189174, false, 3873024, 5, 5341384224),
   (189191, true, 199156825116, 343, 88320879878901930)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 11 := rfl

end CongruentPoints951

#print axioms CongruentPoints951.on_curve
#print axioms CongruentPoints951.indep
#print axioms CongruentPoints951.count

bsd/CongruentPoints952.lean

lean_all/bsd/CongruentPoints952.lean

/-
  bsd/CongruentPoints952.lean — T39 goal G880: points for congruent curves in 189201–189400 with Tunnell A = 2B
  (n = 189210, 189213, 189221, 189222, 189259, 189278, 189283, 189310, 189318, 189319, 189330, 189335, 189357, 189363, 189366, 189370, 189390, 189394), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints952
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (189210, true, 25038960, 11, 50733545400),
   (189213, true, 878930625169, 90, 824007634442318447),
   (189221, true, 82689577, 2, 751896323661),
   (189222, true, 2203125, 1, 3257998875),
   (189259, false, 85291, 1, 49341480),
   (189278, false, 10982, 9, 1606666600),
   (189283, true, 75679067, 7, 653397406740),
   (189310, true, 247500, 1, 79315500),
   (189318, false, 146882, 1, 45777320),
   (189319, true, 3108843049, 102, 134110201418765),
   (189330, true, 522150, 1, 351628200),
   (189335, false, 70756, 1, 46714122),
   (189357, false, 145676877, 31, 1316207318040),
   (189363, true, 954873, 2, 568149435),
   (189366, false, 174243, 1, 30953799),
   (189370, false, 96549120, 83, 12783473829600),
   (189390, true, 1705690, 3, 82847800),
   (189394, false, 800665664, 1759, 16581472394348400)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 18 := rfl

end CongruentPoints952

#print axioms CongruentPoints952.on_curve
#print axioms CongruentPoints952.indep
#print axioms CongruentPoints952.count

bsd/CongruentPoints953.lean

lean_all/bsd/CongruentPoints953.lean

/-
  bsd/CongruentPoints953.lean — T39 goal G880: points for congruent curves in 189401–189600 with Tunnell A = 2B
  (n = 189490, 189501, 189507, 189510, 189511, 189570, 189574, 189587), found by the C quartic search bsd_quartic.c (box 2000, 6000, Kamiak a2_bk;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints953
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (189490, false, 5684315, 9, 33991992125),
   (189501, true, 1590121, 2, 1762657325),
   (189507, true, 203789953083, 313, 91614533936059980),
   (189510, true, 30673608022380625, 311374, 4301707122319662297789625),
   (189511, false, 148225, 13, 12330401160),
   (189570, true, 239980, 1, 72086300),
   (189574, true, 224422, 1, 56900976),
   (189587, true, 1668787, 1, 2141807640)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 8 := rfl

end CongruentPoints953

#print axioms CongruentPoints953.on_curve
#print axioms CongruentPoints953.indep
#print axioms CongruentPoints953.count

bsd/CongruentPoints96.lean

lean_all/bsd/CongruentPoints96.lean

/-
  bsd/CongruentPoints96.lean — T39 goal G154: points for congruent curves in 18001–18200 with Tunnell A = 2B
  (n = 18005, 18006, 18010, 18015, 18023, 18030, 18031, 18034, 18038, 18042, 18046, 18051, 18055, 18069, 18070, 18078, 18085, 18087, 18095, 18102, 18103, 18109, 18154, 18161, 18165, 18167, 18174, 18183), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints96
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (18005, true, 77132355960765625, 2041666, 4941601299191361391006875),
   (18006, true, 632446420225, 4366, 422451123222666655),
   (18010, true, 82810, 1, 23259600),
   (18015, true, 21660, 1, 1769850),
   (18023, true, 337920153481, 230, 196435244639281629),
   (18030, false, 206670, 23, 4334990400),
   (18031, true, 392375761059529, 46697, 7733245339877390845980),
   (18034, true, 19602, 1, 1075536),
   (18038, true, 2804909, 5, 4636514577),
   (18042, true, 1564513, 8, 1320412015),
   (18046, false, 5674104527, 1334, 2380971727087863),
   (18051, false, 1829883, 13, 3301830576),
   (18055, true, 4003860931225, 6657, 7849985348806503400),
   (18069, true, 5727873, 14, 10774129113),
   (18070, true, 2511730, 11, 1959149400),
   (18078, false, 263327, 4, 61414255),
   (18085, false, 60516, 25, 2780528898),
   (18087, false, 233289, 5, 187089084),
   (18095, true, 2112880, 9, 2212109900),
   (18102, false, 2100, 17, 239736420),
   (18103, true, 98373186025, 2261, 10462575403805820),
   (18109, true, 1041859, 1, 1063280400),
   (18154, true, 260362, 1, 132528144),
   (18161, true, 105625, 1, 33816900),
   (18165, true, 148167255625, 2856, 80115866397125),
   (18167, true, 7746572303, 329, 659479105402020),
   (18174, false, 9328826, 107, 634884388840),
   (18183, true, 21025, 1, 1530620)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 28 := rfl

end CongruentPoints96

#print axioms CongruentPoints96.on_curve
#print axioms CongruentPoints96.indep
#print axioms CongruentPoints96.count

bsd/CongruentPoints97.lean

lean_all/bsd/CongruentPoints97.lean

/-
  bsd/CongruentPoints97.lean — T39 goal G155: points for congruent curves in 18201–18400 with Tunnell A = 2B
  (n = 18205, 18219, 18221, 18245, 18265, 18285, 18286, 18290, 18299, 18319, 18330, 18335, 18343, 18349, 18354, 18358, 18363, 18377, 18382, 18389, 18390), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints97
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (18205, true, 459888025, 158, 1509453825675),
   (18219, false, 2742336, 13, 2318342040),
   (18221, true, 3171961, 4, 5625350835),
   (18245, false, 18605, 9, 201562300),
   (18265, false, 451584, 5, 45469536),
   (18285, true, 5471036565, 179, 402346230165000),
   (18286, true, 196882, 1, 86981664),
   (18290, true, 53100, 1, 11487300),
   (18299, true, 15923349, 7, 63439825800),
   (18319, true, 402870747841, 119, 255710470927854720),
   (18330, true, 25328394, 37, 17310148128),
   (18335, true, 37249, 1, 6257832),
   (18343, true, 25857, 1, 2930460),
   (18349, false, 56699, 7, 213663780),
   (18354, true, 212268, 1, 97431012),
   (18358, false, 108578, 3, 41035960),
   (18363, false, 59434203, 241, 8209572885360),
   (18377, true, 931225, 7, 229029240),
   (18382, true, 3513571266898225, 28138, 208266502852758474322185),
   (18389, true, 62197, 1, 14818056),
   (18390, false, 1361610, 23, 11240035200)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 21 := rfl

end CongruentPoints97

#print axioms CongruentPoints97.on_curve
#print axioms CongruentPoints97.indep
#print axioms CongruentPoints97.count

bsd/CongruentPoints98.lean

lean_all/bsd/CongruentPoints98.lean

/-
  bsd/CongruentPoints98.lean — T39 goal G156: points for congruent curves in 18401–18600 with Tunnell A = 2B
  (n = 18403, 18410, 18445, 18447, 18465, 18479, 18497, 18506, 18507, 18510, 18519, 18530, 18546, 18561, 18582, 18595, 18599), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints98
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (18403, true, 22275, 1, 1873080),
   (18410, true, 33892810, 39, 111168416800),
   (18445, true, 411692400, 149, 861432039300),
   (18447, true, 2637921, 10, 3062626281),
   (18465, false, 51282015, 79, 739036794600),
   (18479, true, 18513, 1, 152592),
   (18497, true, 3045025, 11, 3602873580),
   (18506, true, 27702, 1, 3430944),
   (18507, true, 3682893, 7, 6850180980),
   (18510, true, 983040, 7, 375897600),
   (18519, true, 170778922834081, 5335, 2231769491477778186604),
   (18530, true, 297025, 4, 9801825),
   (18546, true, 19602, 1, 888624),
   (18561, true, 72361, 1, 18813860),
   (18582, false, 2884802, 83, 217368365480),
   (18595, true, 19845, 1, 976500),
   (18599, true, 12270832, 3, 42980414876)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints98

#print axioms CongruentPoints98.on_curve
#print axioms CongruentPoints98.indep
#print axioms CongruentPoints98.count

bsd/CongruentPoints99.lean

lean_all/bsd/CongruentPoints99.lean

/-
  bsd/CongruentPoints99.lean — T39 goal G157: points for congruent curves in 18601–18800 with Tunnell A = 2B
  (n = 18615, 18618, 18629, 18654, 18655, 18662, 18678, 18685, 18705, 18715, 18722, 18733, 18735, 18746, 18751, 18753, 18761), found by the C quartic search bsd_quartic.c (box 2000, 6000, on the Mac;
  bsd_quartic_post.py maps E' points by φ'). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace CongruentPoints99
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (18615, true, 13620057025, 826, 574130866620025),
   (18618, true, 1717350, 1, 2250415440),
   (18629, true, 2176875649, 138, 100208606835545),
   (18654, false, 98283, 13, 987840261),
   (18655, true, 6210790495, 109, 489151741287300),
   (18662, false, 2386395252, 839, 631053848047260),
   (18678, false, 12013350, 203, 2667482676720),
   (18685, true, 426725, 1, 278487300),
   (18705, true, 158025, 2, 55331325),
   (18715, true, 737371, 3, 616442156),
   (18722, false, 376475, 59, 39986840355),
   (18733, true, 396275, 1, 249177720),
   (18735, true, 1560001, 8, 1246440799),
   (18746, true, 36386077, 9, 219292796359),
   (18751, true, 23152113, 16, 108979455927),
   (18753, true, 125913, 2, 35885205),
   (18761, false, 1199025, 29, 17226951720)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 17 := rfl

end CongruentPoints99

#print axioms CongruentPoints99.on_curve
#print axioms CongruentPoints99.indep
#print axioms CongruentPoints99.count

bsd/CongruentTorsion.lean

lean_all/bsd/CongruentTorsion.lean

/-
  bsd/CongruentTorsion.lean — T39 cycle 96: the torsion term of the congruent number curves.

  Lean 4 core plus bsd/SupersingularCount (affSS). E_n : y² = x³ − n²x reduces mod p to y² = x³ + Dx with
  D ≡ −n². Counting by rfl over the residues of n²:
    count_mod3    3 ∤ n:              #E_n(F_3) = 4          (n² ≡ 1)
    count_mod7    7 ∤ n:              #E_n(F_7) = 8          (n² ≡ 1, 2, 4)
    count_mod11   11 ∤ n:             #E_n(F_11) = 12        (n² ≡ 1, 3, 4, 5, 9)
    affSS_congr   the count depends only on D mod p
  Reduction is injective on torsion at good odd primes (cited, Silverman VII.3.1), so #E_n(Q)_tors divides
  4 if 3 ∤ n, and divides gcd(8, 12) = 4 if 3 ∣ n but 7, 11 ∤ n; E_n[2] has order 4, so E_n(Q)_tors = E_n[2]
  — the tors = 4 used in the BSD computations of the family (n ≤ 200; n = 231 = 3·7·11 would need p = 19).
-/
import bsd.SupersingularCount

namespace CongruentTorsion
open FTAChain FrobChain QRChain ESChain SupersingularCount

theorem affSS_congr (m' D D' : Nat) (h : rem (m' + 1) D = rem (m' + 1) D') :
    affSS (m' + 1) D = affSS (m' + 1) D' := by
  unfold affSS
  apply sum_ext; intro x _
  apply sum_ext; intro y _
  rw [rem_add_congr' m' _ _ (x * x * x) (rem_mul_congr m' D D' x h)]

set_option maxRecDepth 100000 in
theorem count_mod3 (n : Nat) (hn : rem 3 (n * n) = 1) : affSS 3 (2 * (n * n)) + 1 = 4 := by
  have e : rem 3 (2 * (n * n)) = rem 3 (2 * rem 3 (n * n)) := rem_mul_congr' 2 _ _ 2 (rem_idem 2 _).symm
  rw [hn] at e
  rw [affSS_congr 2 _ _ e]; rfl

set_option maxRecDepth 100000 in
/-- D = 6·n² ≡ −n² (mod 7). -/
theorem count_mod7 (n : Nat) (hn : rem 7 (n * n) = 1 ∨ rem 7 (n * n) = 2 ∨ rem 7 (n * n) = 4) :
    affSS 7 (6 * (n * n)) + 1 = 8 := by
  rcases hn with h | h | h <;>
  · have e : rem 7 (6 * (n * n)) = rem 7 (6 * rem 7 (n * n)) := rem_mul_congr' 6 _ _ 6 (rem_idem 6 _).symm
    rw [h] at e
    rw [affSS_congr 6 _ _ e]; rfl

set_option maxRecDepth 100000 in
/-- D = 10·n² ≡ −n² (mod 11). -/
theorem count_mod11 (n : Nat)
    (hn : rem 11 (n * n) = 1 ∨ rem 11 (n * n) = 3 ∨ rem 11 (n * n) = 4 ∨ rem 11 (n * n) = 5 ∨ rem 11 (n * n) = 9) :
    affSS 11 (10 * (n * n)) + 1 = 12 := by
  rcases hn with h | h | h | h | h <;>
  · have e : rem 11 (10 * (n * n)) = rem 11 (10 * rem 11 (n * n)) := rem_mul_congr' 10 _ _ 10 (rem_idem 10 _).symm
    rw [h] at e
    rw [affSS_congr 10 _ _ e]; rfl

end CongruentTorsion

#print axioms CongruentTorsion.affSS_congr
#print axioms CongruentTorsion.count_mod3
#print axioms CongruentTorsion.count_mod7
#print axioms CongruentTorsion.count_mod11

bsd/CongruentTriangle.lean

lean_all/bsd/CongruentTriangle.lean

/-
  bsd/CongruentTriangle.lean — T39 cycle 304 (goal G43): every rational point with y ≠ 0 on y² = x³ − n²x gives a
  rational right triangle of area n, so the n with a listed point are congruent numbers — with no citation (neither
  Nagell–Lutz nor torsion: only y ≠ 0 is used).

  Lean 4 core plus lib/IntRing (lib_int), bsd/CongruentPoints5/6/7, bsd/Rank2Cert (rfl). For x = X/b², y = c/b³:
      A = X² − n²b⁴,  B = 2nXb²,  C = X² + n²b⁴,  D = cb:   A² + B² = C²,  A·B = 2n·D²
  (tri_of_point, a polynomial identity on the curve), i.e. sides |A|/D, |B|/D, C/D and area n.
    congruent n        ∃ A B C D, D > 0, A² + B² = C², A·B = 2n D²   (A, B, C, D ∈ ℕ)
    cert, cert_sound   the Nat certificate of a listed point, checked by rfl, implies congruent n
    congruent0/5/6/7, congruent_rank2   every n of CongruentPoints (pts0), 5, 6, 7 and Rank2Cert is congruent
-/
import lib.IntRing
import bsd.Rank2Cert
import bsd.CongruentPoints6
import bsd.CongruentPoints7
import bsd.CongruentPoints8
import bsd.Rank2Cert2
import bsd.CongruentPoints805
import bsd.Rank2Cert796
import bsd.CongruentPoints804
import bsd.Rank2Cert795
import bsd.CongruentPoints803
import bsd.Rank2Cert794
import bsd.CongruentPoints802
import bsd.Rank2Cert793
import bsd.CongruentPoints801
import bsd.Rank2Cert792
import bsd.CongruentPoints800
import bsd.Rank2Cert791
import bsd.CongruentPoints799
import bsd.Rank2Cert790
import bsd.CongruentPoints798
import bsd.Rank2Cert789
import bsd.CongruentPoints797
import bsd.Rank2Cert788
import bsd.CongruentPoints796
import bsd.Rank2Cert787
import bsd.CongruentPoints795
import bsd.Rank2Cert786
import bsd.CongruentPoints794
import bsd.Rank2Cert785
import bsd.CongruentPoints793
import bsd.Rank2Cert784
import bsd.CongruentPoints792
import bsd.Rank2Cert783
import bsd.CongruentPoints791
import bsd.Rank2Cert782
import bsd.CongruentPoints790
import bsd.Rank2Cert781
import bsd.CongruentPoints789
import bsd.Rank2Cert780
import bsd.CongruentPoints788
import bsd.Rank2Cert779
import bsd.CongruentPoints787
import bsd.Rank2Cert778
import bsd.CongruentPoints786
import bsd.Rank2Cert777
import bsd.CongruentPoints785
import bsd.Rank2Cert776
import bsd.CongruentPoints784
import bsd.Rank2Cert775
import bsd.CongruentPoints783
import bsd.Rank2Cert774
import bsd.HeegnerPoints1
import bsd.CongruentPoints782
import bsd.Rank2Cert773
import bsd.CongruentPoints781
import bsd.Rank2Cert772
import bsd.CongruentPoints780
import bsd.Rank2Cert771
import bsd.CongruentPoints779
import bsd.Rank2Cert770
import bsd.CongruentPoints778
import bsd.Rank2Cert769
import bsd.CongruentPoints777
import bsd.Rank2Cert768
import bsd.CongruentPoints776
import bsd.Rank2Cert767
import bsd.CongruentPoints775
import bsd.Rank2Cert766
import bsd.CongruentPoints774
import bsd.Rank2Cert765
import bsd.CongruentPoints773
import bsd.Rank2Cert764
import bsd.CongruentPoints772
import bsd.Rank2Cert763
import bsd.CongruentPoints771
import bsd.Rank2Cert762
import bsd.CongruentPoints770
import bsd.Rank2Cert761
import bsd.CongruentPoints769
import bsd.Rank2Cert760
import bsd.CongruentPoints768
import bsd.Rank2Cert759
import bsd.CongruentPoints767
import bsd.Rank2Cert758
import bsd.CongruentPoints766
import bsd.Rank2Cert757
import bsd.CongruentPoints765
import bsd.Rank2Cert756
import bsd.CongruentPoints764
import bsd.Rank2Cert755
import bsd.CongruentPoints763
import bsd.Rank2Cert754
import bsd.CongruentPoints762
import bsd.Rank2Cert753
import bsd.CongruentPoints761
import bsd.Rank2Cert752
import bsd.CongruentPoints760
import bsd.Rank2Cert751
import bsd.CongruentPoints759
import bsd.Rank2Cert750
import bsd.CongruentPoints758
import bsd.Rank2Cert749
import bsd.CongruentPoints757
import bsd.Rank2Cert748
import bsd.CongruentPoints756
import bsd.Rank2Cert747
import bsd.CongruentPoints755
import bsd.Rank2Cert746
import bsd.CongruentPoints754
import bsd.Rank2Cert745
import bsd.CongruentPoints753
import bsd.Rank2Cert744
import bsd.CongruentPoints752
import bsd.Rank2Cert743
import bsd.CongruentPoints751
import bsd.Rank2Cert742
import bsd.CongruentPoints750
import bsd.Rank2Cert741
import bsd.CongruentPoints749
import bsd.Rank2Cert740
import bsd.CongruentPoints748
import bsd.Rank2Cert739
import bsd.CongruentPoints747
import bsd.Rank2Cert738
import bsd.CongruentPoints746
import bsd.Rank2Cert737
import bsd.CongruentPoints745
import bsd.Rank2Cert736
import bsd.CongruentPoints744
import bsd.Rank2Cert735
import bsd.CongruentPoints743
import bsd.Rank2Cert734
import bsd.CongruentPoints742
import bsd.Rank2Cert733
import bsd.CongruentPoints741
import bsd.Rank2Cert732
import bsd.CongruentPoints740
import bsd.Rank2Cert731
import bsd.CongruentPoints739
import bsd.Rank2Cert730
import bsd.CongruentPoints738
import bsd.Rank2Cert729
import bsd.CongruentPoints737
import bsd.Rank2Cert728
import bsd.CongruentPoints736
import bsd.Rank2Cert727
import bsd.CongruentPoints735
import bsd.Rank2Cert726
import bsd.CongruentPoints734
import bsd.Rank2Cert725
import bsd.CongruentPoints733
import bsd.Rank2Cert724
import bsd.CongruentPoints732
import bsd.Rank2Cert723
import bsd.CongruentPoints731
import bsd.Rank2Cert722
import bsd.CongruentPoints730
import bsd.Rank2Cert721
import bsd.CongruentPoints729
import bsd.Rank2Cert720
import bsd.CongruentPoints728
import bsd.Rank2Cert719
import bsd.CongruentPoints727
import bsd.Rank2Cert718
import bsd.CongruentPoints726
import bsd.Rank2Cert717
import bsd.CongruentPoints725
import bsd.Rank2Cert716
import bsd.CongruentPoints724
import bsd.Rank2Cert715
import bsd.CongruentPoints723
import bsd.Rank2Cert714
import bsd.CongruentPoints722
import bsd.Rank2Cert713
import bsd.CongruentPoints721
import bsd.Rank2Cert712
import bsd.CongruentPoints720
import bsd.Rank2Cert711
import bsd.CongruentPoints719
import bsd.Rank2Cert710
import bsd.CongruentPoints718
import bsd.Rank2Cert709
import bsd.CongruentPoints717
import bsd.Rank2Cert708
import bsd.CongruentPoints716
import bsd.Rank2Cert707
import bsd.CongruentPoints715
import bsd.Rank2Cert706
import bsd.CongruentPoints714
import bsd.Rank2Cert705
import bsd.CongruentPoints713
import bsd.Rank2Cert704
import bsd.CongruentPoints712
import bsd.Rank2Cert703
import bsd.CongruentPoints711
import bsd.Rank2Cert702
import bsd.CongruentPoints710
import bsd.Rank2Cert701
import bsd.CongruentPoints709
import bsd.Rank2Cert700
import bsd.CongruentPoints708
import bsd.Rank2Cert699
import bsd.CongruentPoints707
import bsd.Rank2Cert698
import bsd.CongruentPoints706
import bsd.Rank2Cert697
import bsd.CongruentPoints705
import bsd.Rank2Cert696
import bsd.CongruentPoints704
import bsd.Rank2Cert695
import bsd.CongruentPoints703
import bsd.Rank2Cert694
import bsd.CongruentPoints702
import bsd.Rank2Cert693
import bsd.CongruentPoints701
import bsd.Rank2Cert692
import bsd.CongruentPoints700
import bsd.Rank2Cert691
import bsd.CongruentPoints699
import bsd.Rank2Cert690
import bsd.CongruentPoints698
import bsd.Rank2Cert689
import bsd.CongruentPoints697
import bsd.Rank2Cert688
import bsd.CongruentPoints696
import bsd.Rank2Cert687
import bsd.CongruentPoints695
import bsd.Rank2Cert686
import bsd.CongruentPoints694
import bsd.Rank2Cert685
import bsd.CongruentPoints693
import bsd.Rank2Cert684
import bsd.CongruentPoints692
import bsd.Rank2Cert683
import bsd.CongruentPoints691
import bsd.Rank2Cert682
import bsd.CongruentPoints690
import bsd.Rank2Cert681
import bsd.CongruentPoints689
import bsd.Rank2Cert680
import bsd.CongruentPoints688
import bsd.Rank2Cert679
import bsd.CongruentPoints687
import bsd.Rank2Cert678
import bsd.CongruentPoints686
import bsd.Rank2Cert677
import bsd.CongruentPoints685
import bsd.Rank2Cert676
import bsd.CongruentPoints684
import bsd.Rank2Cert675
import bsd.CongruentPoints683
import bsd.Rank2Cert674
import bsd.CongruentPoints682
import bsd.Rank2Cert673
import bsd.CongruentPoints681
import bsd.Rank2Cert672
import bsd.CongruentPoints680
import bsd.Rank2Cert671
import bsd.CongruentPoints679
import bsd.Rank2Cert670
import bsd.CongruentPoints678
import bsd.Rank2Cert669
import bsd.CongruentPoints677
import bsd.Rank2Cert668
import bsd.CongruentPoints676
import bsd.Rank2Cert667
import bsd.CongruentPoints675
import bsd.Rank2Cert666
import bsd.CongruentPoints674
import bsd.Rank2Cert665
import bsd.CongruentPoints673
import bsd.Rank2Cert664
import bsd.CongruentPoints672
import bsd.Rank2Cert663
import bsd.CongruentPoints671
import bsd.Rank2Cert662
import bsd.CongruentPoints670
import bsd.Rank2Cert661
import bsd.CongruentPoints669
import bsd.Rank2Cert660
import bsd.CongruentPoints668
import bsd.Rank2Cert659
import bsd.CongruentPoints667
import bsd.Rank2Cert658
import bsd.CongruentPoints666
import bsd.Rank2Cert657
import bsd.CongruentPoints665
import bsd.Rank2Cert656
import bsd.CongruentPoints664
import bsd.Rank2Cert655
import bsd.CongruentPoints663
import bsd.Rank2Cert654
import bsd.CongruentPoints662
import bsd.Rank2Cert653
import bsd.CongruentPoints661
import bsd.Rank2Cert652
import bsd.CongruentPoints660
import bsd.Rank2Cert651
import bsd.CongruentPoints659
import bsd.Rank2Cert650
import bsd.CongruentPoints658
import bsd.Rank2Cert649
import bsd.CongruentPoints657
import bsd.Rank2Cert648
import bsd.CongruentPoints656
import bsd.Rank2Cert647
import bsd.CongruentPoints655
import bsd.Rank2Cert646
import bsd.CongruentPoints654
import bsd.Rank2Cert645
import bsd.CongruentPoints653
import bsd.Rank2Cert644
import bsd.CongruentPoints652
import bsd.Rank2Cert643
import bsd.CongruentPoints651
import bsd.Rank2Cert642
import bsd.CongruentPoints650
import bsd.Rank2Cert641
import bsd.CongruentPoints649
import bsd.Rank2Cert640
import bsd.CongruentPoints648
import bsd.Rank2Cert639
import bsd.CongruentPoints647
import bsd.Rank2Cert638
import bsd.CongruentPoints646
import bsd.Rank2Cert637
import bsd.CongruentPoints645
import bsd.Rank2Cert636
import bsd.CongruentPoints644
import bsd.Rank2Cert635
import bsd.CongruentPoints643
import bsd.Rank2Cert634
import bsd.CongruentPoints642
import bsd.Rank2Cert633
import bsd.CongruentPoints641
import bsd.Rank2Cert632
import bsd.CongruentPoints640
import bsd.Rank2Cert631
import bsd.CongruentPoints639
import bsd.Rank2Cert630
import bsd.CongruentPoints638
import bsd.Rank2Cert629
import bsd.CongruentPoints637
import bsd.Rank2Cert628
import bsd.CongruentPoints636
import bsd.Rank2Cert627
import bsd.CongruentPoints635
import bsd.Rank2Cert626
import bsd.CongruentPoints634
import bsd.Rank2Cert625
import bsd.CongruentPoints633
import bsd.Rank2Cert624
import bsd.CongruentPoints632
import bsd.Rank2Cert623
import bsd.CongruentPoints631
import bsd.Rank2Cert622
import bsd.CongruentPoints630
import bsd.Rank2Cert621
import bsd.CongruentPoints629
import bsd.Rank2Cert620
import bsd.CongruentPoints628
import bsd.Rank2Cert619
import bsd.CongruentPoints627
import bsd.Rank2Cert618
import bsd.CongruentPoints626
import bsd.Rank2Cert617
import bsd.CongruentPoints625
import bsd.Rank2Cert616
import bsd.CongruentPoints624
import bsd.Rank2Cert615
import bsd.CongruentPoints623
import bsd.Rank2Cert614
import bsd.CongruentPoints622
import bsd.Rank2Cert613
import bsd.CongruentPoints621
import bsd.Rank2Cert612
import bsd.CongruentPoints620
import bsd.Rank2Cert611
import bsd.CongruentPoints619
import bsd.Rank2Cert610
import bsd.CongruentPoints618
import bsd.Rank2Cert609
import bsd.CongruentPoints617
import bsd.Rank2Cert608
import bsd.CongruentPoints616
import bsd.Rank2Cert607
import bsd.CongruentPoints615
import bsd.Rank2Cert606
import bsd.CongruentPoints614
import bsd.Rank2Cert605
import bsd.CongruentPoints613
import bsd.Rank2Cert604
import bsd.CongruentPoints612
import bsd.Rank2Cert603
import bsd.CongruentPoints611
import bsd.Rank2Cert602
import bsd.CongruentPoints610
import bsd.Rank2Cert601
import bsd.CongruentPoints609
import bsd.Rank2Cert600
import bsd.CongruentPoints608
import bsd.Rank2Cert599
import bsd.CongruentPoints607
import bsd.Rank2Cert598
import bsd.CongruentPoints606
import bsd.Rank2Cert597
import bsd.CongruentPoints605
import bsd.Rank2Cert596
import bsd.CongruentPoints604
import bsd.Rank2Cert595
import bsd.CongruentPoints603
import bsd.Rank2Cert594
import bsd.CongruentPoints602
import bsd.Rank2Cert593
import bsd.CongruentPoints601
import bsd.Rank2Cert592
import bsd.CongruentPoints600
import bsd.Rank2Cert591
import bsd.CongruentPoints599
import bsd.Rank2Cert590
import bsd.CongruentPoints598
import bsd.Rank2Cert589
import bsd.CongruentPoints597
import bsd.Rank2Cert588
import bsd.CongruentPoints596
import bsd.Rank2Cert587
import bsd.CongruentPoints595
import bsd.Rank2Cert586
import bsd.CongruentPoints594
import bsd.Rank2Cert585
import bsd.CongruentPoints593
import bsd.Rank2Cert584
import bsd.CongruentPoints592
import bsd.Rank2Cert583
import bsd.CongruentPoints591
import bsd.Rank2Cert582
import bsd.CongruentPoints590
import bsd.Rank2Cert581
import bsd.CongruentPoints589
import bsd.Rank2Cert580
import bsd.CongruentPoints588
import bsd.Rank2Cert579
import bsd.CongruentPoints587
import bsd.Rank2Cert578
import bsd.CongruentPoints586
import bsd.Rank2Cert577
import bsd.CongruentPoints585
import bsd.Rank2Cert576
import bsd.CongruentPoints584
import bsd.Rank2Cert575
import bsd.CongruentPoints583
import bsd.Rank2Cert574
import bsd.CongruentPoints582
import bsd.Rank2Cert573
import bsd.CongruentPoints581
import bsd.Rank2Cert572
import bsd.CongruentPoints580
import bsd.Rank2Cert571
import bsd.CongruentPoints579
import bsd.Rank2Cert570
import bsd.CongruentPoints578
import bsd.Rank2Cert569
import bsd.CongruentPoints577
import bsd.Rank2Cert568
import bsd.CongruentPoints576
import bsd.Rank2Cert567
import bsd.CongruentPoints575
import bsd.Rank2Cert566
import bsd.CongruentPoints574
import bsd.Rank2Cert565
import bsd.CongruentPoints573
import bsd.Rank2Cert564
import bsd.CongruentPoints572
import bsd.Rank2Cert563
import bsd.CongruentPoints571
import bsd.Rank2Cert562
import bsd.CongruentPoints570
import bsd.Rank2Cert561
import bsd.CongruentPoints569
import bsd.Rank2Cert560
import bsd.CongruentPoints568
import bsd.Rank2Cert559
import bsd.CongruentPoints567
import bsd.Rank2Cert558
import bsd.CongruentPoints566
import bsd.Rank2Cert557
import bsd.CongruentPoints565
import bsd.Rank2Cert556
import bsd.CongruentPoints564
import bsd.Rank2Cert555
import bsd.CongruentPoints563
import bsd.Rank2Cert554
import bsd.CongruentPoints562
import bsd.Rank2Cert553
import bsd.CongruentPoints561
import bsd.Rank2Cert552
import bsd.CongruentPoints560
import bsd.Rank2Cert551
import bsd.CongruentPoints559
import bsd.Rank2Cert550
import bsd.CongruentPoints558
import bsd.Rank2Cert549
import bsd.CongruentPoints557
import bsd.Rank2Cert548
import bsd.CongruentPoints556
import bsd.Rank2Cert547
import bsd.CongruentPoints555
import bsd.Rank2Cert546
import bsd.CongruentPoints554
import bsd.Rank2Cert545
import bsd.CongruentPoints553
import bsd.Rank2Cert544
import bsd.CongruentPoints552
import bsd.Rank2Cert543
import bsd.CongruentPoints551
import bsd.Rank2Cert542
import bsd.CongruentPoints550
import bsd.Rank2Cert541
import bsd.CongruentPoints549
import bsd.Rank2Cert540
import bsd.CongruentPoints548
import bsd.Rank2Cert539
import bsd.CongruentPoints547
import bsd.Rank2Cert538
import bsd.CongruentPoints546
import bsd.Rank2Cert537
import bsd.CongruentPoints545
import bsd.Rank2Cert536
import bsd.CongruentPoints544
import bsd.Rank2Cert535
import bsd.CongruentPoints543
import bsd.Rank2Cert534
import bsd.CongruentPoints542
import bsd.Rank2Cert533
import bsd.CongruentPoints541
import bsd.Rank2Cert532
import bsd.CongruentPoints540
import bsd.Rank2Cert531
import bsd.CongruentPoints539
import bsd.Rank2Cert530
import bsd.CongruentPoints538
import bsd.Rank2Cert529
import bsd.CongruentPoints537
import bsd.Rank2Cert528
import bsd.CongruentPoints536
import bsd.Rank2Cert527
import bsd.CongruentPoints535
import bsd.Rank2Cert526
import bsd.CongruentPoints534
import bsd.Rank2Cert525
import bsd.CongruentPoints533
import bsd.Rank2Cert524
import bsd.CongruentPoints532
import bsd.Rank2Cert523
import bsd.CongruentPoints531
import bsd.Rank2Cert522
import bsd.CongruentPoints530
import bsd.Rank2Cert521
import bsd.CongruentPoints529
import bsd.Rank2Cert520
import bsd.CongruentPoints528
import bsd.Rank2Cert519
import bsd.CongruentPoints527
import bsd.Rank2Cert518
import bsd.CongruentPoints526
import bsd.Rank2Cert517
import bsd.CongruentPoints525
import bsd.Rank2Cert516
import bsd.CongruentPoints524
import bsd.Rank2Cert515
import bsd.CongruentPoints523
import bsd.Rank2Cert514
import bsd.CongruentPoints522
import bsd.Rank2Cert513
import bsd.CongruentPoints521
import bsd.Rank2Cert512
import bsd.CongruentPoints520
import bsd.Rank2Cert511
import bsd.CongruentPoints519
import bsd.Rank2Cert510
import bsd.CongruentPoints518
import bsd.Rank2Cert509
import bsd.CongruentPoints517
import bsd.Rank2Cert508
import bsd.CongruentPoints516
import bsd.Rank2Cert507
import bsd.CongruentPoints515
import bsd.Rank2Cert506
import bsd.CongruentPoints514
import bsd.Rank2Cert505
import bsd.CongruentPoints513
import bsd.Rank2Cert504
import bsd.CongruentPoints512
import bsd.Rank2Cert503
import bsd.CongruentPoints511
import bsd.Rank2Cert502
import bsd.CongruentPoints510
import bsd.Rank2Cert501
import bsd.CongruentPoints509
import bsd.Rank2Cert500
import bsd.CongruentPoints508
import bsd.Rank2Cert499
import bsd.CongruentPoints507
import bsd.Rank2Cert498
import bsd.CongruentPoints506
import bsd.Rank2Cert497
import bsd.CongruentPoints505
import bsd.Rank2Cert496
import bsd.CongruentPoints504
import bsd.Rank2Cert495
import bsd.CongruentPoints503
import bsd.Rank2Cert494
import bsd.CongruentPoints502
import bsd.Rank2Cert493
import bsd.CongruentPoints501
import bsd.Rank2Cert492
import bsd.CongruentPoints500
import bsd.Rank2Cert491
import bsd.CongruentPoints499
import bsd.Rank2Cert490
import bsd.CongruentPoints498
import bsd.Rank2Cert489
import bsd.CongruentPoints497
import bsd.Rank2Cert488
import bsd.CongruentPoints496
import bsd.Rank2Cert487
import bsd.CongruentPoints495
import bsd.Rank2Cert486
import bsd.CongruentPoints494
import bsd.Rank2Cert485
import bsd.CongruentPoints493
import bsd.Rank2Cert484
import bsd.CongruentPoints492
import bsd.Rank2Cert483
import bsd.CongruentPoints491
import bsd.Rank2Cert482
import bsd.CongruentPoints490
import bsd.Rank2Cert481
import bsd.CongruentPoints489
import bsd.Rank2Cert480
import bsd.CongruentPoints488
import bsd.Rank2Cert479
import bsd.CongruentPoints487
import bsd.Rank2Cert478
import bsd.CongruentPoints486
import bsd.Rank2Cert477
import bsd.CongruentPoints485
import bsd.Rank2Cert476
import bsd.CongruentPoints484
import bsd.Rank2Cert475
import bsd.CongruentPoints483
import bsd.Rank2Cert474
import bsd.CongruentPoints482
import bsd.Rank2Cert473
import bsd.CongruentPoints481
import bsd.Rank2Cert472
import bsd.CongruentPoints480
import bsd.Rank2Cert471
import bsd.CongruentPoints479
import bsd.Rank2Cert470
import bsd.CongruentPoints478
import bsd.Rank2Cert469
import bsd.CongruentPoints477
import bsd.Rank2Cert468
import bsd.CongruentPoints476
import bsd.Rank2Cert467
import bsd.CongruentPoints475
import bsd.Rank2Cert466
import bsd.CongruentPoints474
import bsd.Rank2Cert465
import bsd.CongruentPoints473
import bsd.Rank2Cert464
import bsd.CongruentPoints472
import bsd.Rank2Cert463
import bsd.CongruentPoints471
import bsd.Rank2Cert462
import bsd.CongruentPoints470
import bsd.Rank2Cert461
import bsd.CongruentPoints469
import bsd.Rank2Cert460
import bsd.CongruentPoints468
import bsd.Rank2Cert459
import bsd.CongruentPoints467
import bsd.Rank2Cert458
import bsd.CongruentPoints466
import bsd.Rank2Cert457
import bsd.CongruentPoints465
import bsd.Rank2Cert456
import bsd.CongruentPoints464
import bsd.Rank2Cert455
import bsd.CongruentPoints463
import bsd.Rank2Cert454
import bsd.CongruentPoints462
import bsd.Rank2Cert453
import bsd.CongruentPoints461
import bsd.Rank2Cert452
import bsd.CongruentPoints460
import bsd.Rank2Cert451
import bsd.CongruentPoints459
import bsd.Rank2Cert450
import bsd.CongruentPoints458
import bsd.Rank2Cert449
import bsd.CongruentPoints457
import bsd.Rank2Cert448
import bsd.CongruentPoints456
import bsd.Rank2Cert447
import bsd.CongruentPoints455
import bsd.Rank2Cert446
import bsd.CongruentPoints454
import bsd.Rank2Cert445
import bsd.CongruentPoints453
import bsd.Rank2Cert444
import bsd.CongruentPoints452
import bsd.Rank2Cert443
import bsd.CongruentPoints451
import bsd.Rank2Cert442
import bsd.CongruentPoints450
import bsd.Rank2Cert441
import bsd.CongruentPoints449
import bsd.Rank2Cert440
import bsd.CongruentPoints448
import bsd.Rank2Cert439
import bsd.CongruentPoints447
import bsd.Rank2Cert438
import bsd.CongruentPoints446
import bsd.Rank2Cert437
import bsd.CongruentPoints445
import bsd.Rank2Cert436
import bsd.CongruentPoints444
import bsd.Rank2Cert435
import bsd.CongruentPoints443
import bsd.Rank2Cert434
import bsd.CongruentPoints442
import bsd.Rank2Cert433
import bsd.CongruentPoints441
import bsd.Rank2Cert432
import bsd.CongruentPoints440
import bsd.Rank2Cert431
import bsd.CongruentPoints439
import bsd.Rank2Cert430
import bsd.CongruentPoints438
import bsd.Rank2Cert429
import bsd.CongruentPoints437
import bsd.Rank2Cert428
import bsd.CongruentPoints436
import bsd.Rank2Cert427
import bsd.CongruentPoints435
import bsd.Rank2Cert426
import bsd.CongruentPoints434
import bsd.Rank2Cert425
import bsd.CongruentPoints433
import bsd.Rank2Cert424
import bsd.CongruentPoints432
import bsd.Rank2Cert423
import bsd.CongruentPoints431
import bsd.Rank2Cert422
import bsd.CongruentPoints430
import bsd.Rank2Cert421
import bsd.CongruentPoints429
import bsd.Rank2Cert420
import bsd.CongruentPoints428
import bsd.Rank2Cert419
import bsd.CongruentPoints427
import bsd.Rank2Cert418
import bsd.CongruentPoints426
import bsd.Rank2Cert417
import bsd.CongruentPoints425
import bsd.Rank2Cert416
import bsd.CongruentPoints424
import bsd.Rank2Cert415
import bsd.CongruentPoints423
import bsd.Rank2Cert414
import bsd.CongruentPoints422
import bsd.Rank2Cert413
import bsd.CongruentPoints421
import bsd.Rank2Cert412
import bsd.CongruentPoints420
import bsd.Rank2Cert411
import bsd.CongruentPoints419
import bsd.Rank2Cert410
import bsd.CongruentPoints418
import bsd.Rank2Cert409
import bsd.CongruentPoints417
import bsd.Rank2Cert408
import bsd.CongruentPoints416
import bsd.Rank2Cert407
import bsd.CongruentPoints415
import bsd.Rank2Cert406
import bsd.CongruentPoints414
import bsd.Rank2Cert405
import bsd.CongruentPoints413
import bsd.Rank2Cert404
import bsd.CongruentPoints412
import bsd.Rank2Cert403
import bsd.CongruentPoints411
import bsd.Rank2Cert402
import bsd.CongruentPoints410
import bsd.Rank2Cert401
import bsd.CongruentPoints409
import bsd.Rank2Cert400
import bsd.CongruentPoints408
import bsd.Rank2Cert399
import bsd.CongruentPoints407
import bsd.Rank2Cert398
import bsd.CongruentPoints406
import bsd.Rank2Cert397
import bsd.CongruentPoints405
import bsd.Rank2Cert396
import bsd.CongruentPoints404
import bsd.Rank2Cert395
import bsd.CongruentPoints403
import bsd.Rank2Cert394
import bsd.CongruentPoints402
import bsd.Rank2Cert393
import bsd.CongruentPoints401
import bsd.Rank2Cert392
import bsd.CongruentPoints400
import bsd.Rank2Cert391
import bsd.CongruentPoints399
import bsd.Rank2Cert390
import bsd.CongruentPoints398
import bsd.Rank2Cert389
import bsd.CongruentPoints397
import bsd.Rank2Cert388
import bsd.CongruentPoints396
import bsd.Rank2Cert387
import bsd.CongruentPoints395
import bsd.Rank2Cert386
import bsd.CongruentPoints394
import bsd.Rank2Cert385
import bsd.CongruentPoints393
import bsd.Rank2Cert384
import bsd.CongruentPoints392
import bsd.Rank2Cert383
import bsd.CongruentPoints391
import bsd.Rank2Cert382
import bsd.CongruentPoints390
import bsd.Rank2Cert381
import bsd.CongruentPoints389
import bsd.Rank2Cert380
import bsd.CongruentPoints388
import bsd.Rank2Cert379
import bsd.CongruentPoints387
import bsd.Rank2Cert378
import bsd.CongruentPoints386
import bsd.Rank2Cert377
import bsd.CongruentPoints385
import bsd.Rank2Cert376
import bsd.CongruentPoints384
import bsd.Rank2Cert375
import bsd.CongruentPoints383
import bsd.Rank2Cert374
import bsd.CongruentPoints382
import bsd.Rank2Cert373
import bsd.CongruentPoints381
import bsd.Rank2Cert372
import bsd.CongruentPoints380
import bsd.Rank2Cert371
import bsd.CongruentPoints379
import bsd.Rank2Cert370
import bsd.CongruentPoints378
import bsd.Rank2Cert369
import bsd.CongruentPoints377
import bsd.Rank2Cert368
import bsd.CongruentPoints376
import bsd.Rank2Cert367
import bsd.CongruentPoints375
import bsd.Rank2Cert366
import bsd.CongruentPoints374
import bsd.Rank2Cert365
import bsd.CongruentPoints373
import bsd.Rank2Cert364
import bsd.CongruentPoints372
import bsd.Rank2Cert363
import bsd.CongruentPoints371
import bsd.Rank2Cert362
import bsd.CongruentPoints370
import bsd.Rank2Cert361
import bsd.CongruentPoints369
import bsd.Rank2Cert360
import bsd.CongruentPoints368
import bsd.Rank2Cert359
import bsd.CongruentPoints367
import bsd.Rank2Cert358
import bsd.CongruentPoints366
import bsd.Rank2Cert357
import bsd.CongruentPoints365
import bsd.Rank2Cert356
import bsd.CongruentPoints364
import bsd.Rank2Cert355
import bsd.CongruentPoints363
import bsd.Rank2Cert354
import bsd.CongruentPoints362
import bsd.Rank2Cert353
import bsd.CongruentPoints361
import bsd.Rank2Cert352
import bsd.CongruentPoints360
import bsd.Rank2Cert351
import bsd.CongruentPoints359
import bsd.Rank2Cert350
import bsd.CongruentPoints358
import bsd.Rank2Cert349
import bsd.CongruentPoints357
import bsd.Rank2Cert348
import bsd.CongruentPoints356
import bsd.Rank2Cert347
import bsd.CongruentPoints355
import bsd.Rank2Cert346
import bsd.CongruentPoints354
import bsd.Rank2Cert345
import bsd.CongruentPoints353
import bsd.Rank2Cert344
import bsd.CongruentPoints352
import bsd.Rank2Cert343
import bsd.CongruentPoints351
import bsd.Rank2Cert342
import bsd.CongruentPoints350
import bsd.Rank2Cert341
import bsd.CongruentPoints349
import bsd.Rank2Cert340
import bsd.CongruentPoints348
import bsd.Rank2Cert339
import bsd.CongruentPoints347
import bsd.Rank2Cert338
import bsd.CongruentPoints346
import bsd.Rank2Cert337
import bsd.CongruentPoints345
import bsd.Rank2Cert336
import bsd.CongruentPoints344
import bsd.Rank2Cert335
import bsd.CongruentPoints343
import bsd.Rank2Cert334
import bsd.CongruentPoints342
import bsd.Rank2Cert333
import bsd.CongruentPoints341
import bsd.Rank2Cert332
import bsd.CongruentPoints340
import bsd.Rank2Cert331
import bsd.CongruentPoints339
import bsd.Rank2Cert330
import bsd.CongruentPoints338
import bsd.Rank2Cert329
import bsd.CongruentPoints337
import bsd.Rank2Cert328
import bsd.CongruentPoints336
import bsd.Rank2Cert327
import bsd.CongruentPoints335
import bsd.Rank2Cert326
import bsd.CongruentPoints334
import bsd.Rank2Cert325
import bsd.CongruentPoints333
import bsd.Rank2Cert324
import bsd.CongruentPoints332
import bsd.Rank2Cert323
import bsd.CongruentPoints331
import bsd.Rank2Cert322
import bsd.CongruentPoints330
import bsd.Rank2Cert321
import bsd.CongruentPoints329
import bsd.Rank2Cert320
import bsd.CongruentPoints328
import bsd.Rank2Cert319
import bsd.CongruentPoints327
import bsd.Rank2Cert318
import bsd.CongruentPoints326
import bsd.Rank2Cert317
import bsd.CongruentPoints325
import bsd.Rank2Cert316
import bsd.CongruentPoints324
import bsd.Rank2Cert315
import bsd.CongruentPoints323
import bsd.Rank2Cert314
import bsd.CongruentPoints322
import bsd.Rank2Cert313
import bsd.CongruentPoints321
import bsd.Rank2Cert312
import bsd.CongruentPoints320
import bsd.Rank2Cert311
import bsd.CongruentPoints319
import bsd.Rank2Cert310
import bsd.CongruentPoints318
import bsd.Rank2Cert309
import bsd.CongruentPoints317
import bsd.Rank2Cert308
import bsd.CongruentPoints316
import bsd.Rank2Cert307
import bsd.CongruentPoints315
import bsd.Rank2Cert306
import bsd.CongruentPoints314
import bsd.Rank2Cert305
import bsd.CongruentPoints313
import bsd.Rank2Cert304
import bsd.CongruentPoints312
import bsd.Rank2Cert303
import bsd.CongruentPoints311
import bsd.Rank2Cert302
import bsd.CongruentPoints310
import bsd.Rank2Cert301
import bsd.CongruentPoints309
import bsd.Rank2Cert300
import bsd.CongruentPoints308
import bsd.Rank2Cert299
import bsd.CongruentPoints307
import bsd.Rank2Cert298
import bsd.CongruentPoints306
import bsd.Rank2Cert297
import bsd.CongruentPoints305
import bsd.Rank2Cert296
import bsd.CongruentPoints304
import bsd.Rank2Cert295
import bsd.CongruentPoints303
import bsd.Rank2Cert294
import bsd.CongruentPoints302
import bsd.Rank2Cert293
import bsd.CongruentPoints301
import bsd.Rank2Cert292
import bsd.CongruentPoints300
import bsd.Rank2Cert291
import bsd.CongruentPoints299
import bsd.Rank2Cert290
import bsd.CongruentPoints298
import bsd.Rank2Cert289
import bsd.CongruentPoints297
import bsd.Rank2Cert288
import bsd.CongruentPoints296
import bsd.Rank2Cert287
import bsd.CongruentPoints295
import bsd.Rank2Cert286
import bsd.CongruentPoints294
import bsd.Rank2Cert285
import bsd.CongruentPoints293
import bsd.Rank2Cert284
import bsd.CongruentPoints292
import bsd.Rank2Cert283
import bsd.CongruentPoints291
import bsd.Rank2Cert282
import bsd.CongruentPoints290
import bsd.Rank2Cert281
import bsd.CongruentPoints289
import bsd.Rank2Cert280
import bsd.CongruentPoints288
import bsd.Rank2Cert279
import bsd.CongruentPoints287
import bsd.Rank2Cert278
import bsd.CongruentPoints286
import bsd.Rank2Cert277
import bsd.CongruentPoints285
import bsd.Rank2Cert276
import bsd.CongruentPoints284
import bsd.Rank2Cert275
import bsd.CongruentPoints283
import bsd.Rank2Cert274
import bsd.CongruentPoints282
import bsd.Rank2Cert273
import bsd.CongruentPoints281
import bsd.Rank2Cert272
import bsd.CongruentPoints280
import bsd.Rank2Cert271
import bsd.CongruentPoints279
import bsd.Rank2Cert270
import bsd.CongruentPoints278
import bsd.Rank2Cert269
import bsd.CongruentPoints277
import bsd.Rank2Cert268
import bsd.CongruentPoints276
import bsd.Rank2Cert267
import bsd.CongruentPoints275
import bsd.Rank2Cert266
import bsd.CongruentPoints274
import bsd.Rank2Cert265
import bsd.CongruentPoints273
import bsd.Rank2Cert264
import bsd.CongruentPoints272
import bsd.Rank2Cert263
import bsd.CongruentPoints271
import bsd.Rank2Cert262
import bsd.CongruentPoints270
import bsd.Rank2Cert261
import bsd.CongruentPoints269
import bsd.Rank2Cert260
import bsd.CongruentPoints268
import bsd.Rank2Cert259
import bsd.CongruentPoints267
import bsd.Rank2Cert258
import bsd.CongruentPoints266
import bsd.Rank2Cert257
import bsd.CongruentPoints265
import bsd.Rank2Cert256
import bsd.CongruentPoints264
import bsd.Rank2Cert255
import bsd.CongruentPoints263
import bsd.Rank2Cert254
import bsd.CongruentPoints262
import bsd.Rank2Cert253
import bsd.CongruentPoints261
import bsd.Rank2Cert252
import bsd.CongruentPoints260
import bsd.Rank2Cert251
import bsd.CongruentPoints259
import bsd.Rank2Cert250
import bsd.CongruentPoints258
import bsd.Rank2Cert249
import bsd.CongruentPoints257
import bsd.Rank2Cert248
import bsd.CongruentPoints256
import bsd.Rank2Cert247
import bsd.CongruentPoints255
import bsd.Rank2Cert246
import bsd.CongruentPoints254
import bsd.Rank2Cert245
import bsd.CongruentPoints253
import bsd.Rank2Cert244
import bsd.CongruentPoints252
import bsd.Rank2Cert243
import bsd.CongruentPoints251
import bsd.Rank2Cert242
import bsd.CongruentPoints250
import bsd.Rank2Cert241
import bsd.CongruentPoints249
import bsd.Rank2Cert240
import bsd.CongruentPoints248
import bsd.Rank2Cert239
import bsd.CongruentPoints247
import bsd.Rank2Cert238
import bsd.CongruentPoints246
import bsd.Rank2Cert237
import bsd.CongruentPoints245
import bsd.Rank2Cert236
import bsd.CongruentPoints244
import bsd.Rank2Cert235
import bsd.CongruentPoints243
import bsd.Rank2Cert234
import bsd.CongruentPoints242
import bsd.Rank2Cert233
import bsd.CongruentPoints241
import bsd.Rank2Cert232
import bsd.CongruentPoints240
import bsd.Rank2Cert231
import bsd.CongruentPoints239
import bsd.Rank2Cert230
import bsd.CongruentPoints238
import bsd.Rank2Cert229
import bsd.CongruentPoints237
import bsd.Rank2Cert228
import bsd.CongruentPoints236
import bsd.Rank2Cert227
import bsd.CongruentPoints235
import bsd.Rank2Cert226
import bsd.CongruentPoints234
import bsd.Rank2Cert225
import bsd.CongruentPoints233
import bsd.Rank2Cert224
import bsd.CongruentPoints232
import bsd.Rank2Cert223
import bsd.CongruentPoints231
import bsd.Rank2Cert222
import bsd.CongruentPoints230
import bsd.Rank2Cert221
import bsd.CongruentPoints229
import bsd.Rank2Cert220
import bsd.CongruentPoints228
import bsd.Rank2Cert219
import bsd.CongruentPoints227
import bsd.Rank2Cert218
import bsd.CongruentPoints226
import bsd.Rank2Cert217
import bsd.CongruentPoints225
import bsd.Rank2Cert216
import bsd.CongruentPoints224
import bsd.Rank2Cert215
import bsd.CongruentPoints223
import bsd.Rank2Cert214
import bsd.CongruentPoints222
import bsd.Rank2Cert213
import bsd.CongruentPoints221
import bsd.Rank2Cert212
import bsd.CongruentPoints220
import bsd.Rank2Cert211
import bsd.CongruentPoints219
import bsd.Rank2Cert210
import bsd.CongruentPoints218
import bsd.Rank2Cert209
import bsd.CongruentPoints217
import bsd.Rank2Cert208
import bsd.CongruentPoints216
import bsd.Rank2Cert207
import bsd.CongruentPoints215
import bsd.Rank2Cert206
import bsd.CongruentPoints214
import bsd.Rank2Cert205
import bsd.CongruentPoints213
import bsd.Rank2Cert204
import bsd.CongruentPoints212
import bsd.Rank2Cert203
import bsd.CongruentPoints211
import bsd.Rank2Cert202
import bsd.CongruentPoints210
import bsd.Rank2Cert201
import bsd.CongruentPoints209
import bsd.Rank2Cert200
import bsd.CongruentPoints208
import bsd.Rank2Cert199
import bsd.CongruentPoints207
import bsd.Rank2Cert198
import bsd.CongruentPoints206
import bsd.Rank2Cert197
import bsd.CongruentPoints205
import bsd.Rank2Cert196
import bsd.CongruentPoints204
import bsd.Rank2Cert195
import bsd.CongruentPoints203
import bsd.Rank2Cert194
import bsd.CongruentPoints202
import bsd.Rank2Cert193
import bsd.CongruentPoints201
import bsd.Rank2Cert192
import bsd.CongruentPoints200
import bsd.Rank2Cert191
import bsd.CongruentPoints199
import bsd.Rank2Cert190
import bsd.CongruentPoints198
import bsd.Rank2Cert189
import bsd.CongruentPoints197
import bsd.Rank2Cert188
import bsd.CongruentPoints196
import bsd.Rank2Cert187
import bsd.CongruentPoints195
import bsd.Rank2Cert186
import bsd.CongruentPoints194
import bsd.Rank2Cert185
import bsd.CongruentPoints193
import bsd.Rank2Cert184
import bsd.CongruentPoints192
import bsd.Rank2Cert183
import bsd.CongruentPoints191
import bsd.Rank2Cert182
import bsd.CongruentPoints190
import bsd.Rank2Cert181
import bsd.CongruentPoints189
import bsd.Rank2Cert180
import bsd.CongruentPoints188
import bsd.Rank2Cert179
import bsd.CongruentPoints187
import bsd.Rank2Cert178
import bsd.CongruentPoints186
import bsd.Rank2Cert177
import bsd.CongruentPoints185
import bsd.Rank2Cert176
import bsd.CongruentPoints184
import bsd.Rank2Cert175
import bsd.CongruentPoints183
import bsd.Rank2Cert174
import bsd.CongruentPoints182
import bsd.Rank2Cert173
import bsd.CongruentPoints181
import bsd.Rank2Cert172
import bsd.CongruentPoints180
import bsd.Rank2Cert171
import bsd.CongruentPoints179
import bsd.Rank2Cert170
import bsd.CongruentPoints178
import bsd.Rank2Cert169
import bsd.CongruentPoints177
import bsd.Rank2Cert168
import bsd.CongruentPoints176
import bsd.Rank2Cert167
import bsd.CongruentPoints175
import bsd.Rank2Cert166
import bsd.CongruentPoints174
import bsd.Rank2Cert165
import bsd.CongruentPoints173
import bsd.Rank2Cert164
import bsd.CongruentPoints172
import bsd.Rank2Cert163
import bsd.CongruentPoints171
import bsd.Rank2Cert162
import bsd.CongruentPoints170
import bsd.Rank2Cert161
import bsd.CongruentPoints169
import bsd.Rank2Cert160
import bsd.CongruentPoints168
import bsd.Rank2Cert159
import bsd.CongruentPoints167
import bsd.Rank2Cert158
import bsd.CongruentPoints166
import bsd.Rank2Cert157
import bsd.CongruentPoints165
import bsd.Rank2Cert156
import bsd.CongruentPoints164
import bsd.Rank2Cert155
import bsd.CongruentPoints163
import bsd.Rank2Cert154
import bsd.CongruentPoints162
import bsd.Rank2Cert153
import bsd.CongruentPoints161
import bsd.Rank2Cert152
import bsd.CongruentPoints160
import bsd.Rank2Cert151
import bsd.CongruentPoints159
import bsd.Rank2Cert150
import bsd.CongruentPoints158
import bsd.Rank2Cert149
import bsd.CongruentPoints157
import bsd.Rank2Cert148
import bsd.CongruentPoints156
import bsd.Rank2Cert147
import bsd.CongruentPoints155
import bsd.Rank2Cert146
import bsd.CongruentPoints154
import bsd.Rank2Cert145
import bsd.CongruentPoints153
import bsd.Rank2Cert144
import bsd.CongruentPoints152
import bsd.Rank2Cert143
import bsd.CongruentPoints151
import bsd.Rank2Cert142
import bsd.CongruentPoints150
import bsd.Rank2Cert141
import bsd.CongruentPoints149
import bsd.Rank2Cert140
import bsd.CongruentPoints148
import bsd.Rank2Cert139
import bsd.CongruentPoints147
import bsd.Rank2Cert138
import bsd.CongruentPoints146
import bsd.Rank2Cert137
import bsd.CongruentPoints145
import bsd.Rank2Cert136
import bsd.CongruentPoints144
import bsd.Rank2Cert135
import bsd.CongruentPoints143
import bsd.Rank2Cert134
import bsd.CongruentPoints142
import bsd.Rank2Cert133
import bsd.CongruentPoints141
import bsd.Rank2Cert132
import bsd.CongruentPoints140
import bsd.Rank2Cert131
import bsd.CongruentPoints139
import bsd.Rank2Cert130
import bsd.CongruentPoints138
import bsd.Rank2Cert129
import bsd.CongruentPoints137
import bsd.Rank2Cert128
import bsd.CongruentPoints136
import bsd.Rank2Cert127
import bsd.CongruentPoints135
import bsd.Rank2Cert126
import bsd.CongruentPoints134
import bsd.Rank2Cert125
import bsd.CongruentPoints133
import bsd.Rank2Cert124
import bsd.CongruentPoints132
import bsd.Rank2Cert123
import bsd.CongruentPoints131
import bsd.Rank2Cert122
import bsd.CongruentPoints130
import bsd.Rank2Cert121
import bsd.CongruentPoints129
import bsd.Rank2Cert120
import bsd.CongruentPoints128
import bsd.Rank2Cert119
import bsd.CongruentPoints127
import bsd.Rank2Cert118
import bsd.CongruentPoints126
import bsd.Rank2Cert117
import bsd.CongruentPoints125
import bsd.Rank2Cert116
import bsd.CongruentPoints124
import bsd.Rank2Cert115
import bsd.CongruentPoints123
import bsd.Rank2Cert114
import bsd.CongruentPoints122
import bsd.Rank2Cert113
import bsd.CongruentPoints121
import bsd.Rank2Cert112
import bsd.CongruentPoints120
import bsd.Rank2Cert111
import bsd.CongruentPoints119
import bsd.Rank2Cert110
import bsd.CongruentPoints118
import bsd.Rank2Cert109
import bsd.CongruentPoints117
import bsd.Rank2Cert108
import bsd.CongruentPoints116
import bsd.Rank2Cert107
import bsd.CongruentPoints115
import bsd.Rank2Cert106
import bsd.CongruentPoints114
import bsd.Rank2Cert105
import bsd.CongruentPoints113
import bsd.Rank2Cert104
import bsd.CongruentPoints112
import bsd.Rank2Cert103
import bsd.CongruentPoints111
import bsd.Rank2Cert102
import bsd.CongruentPoints110
import bsd.Rank2Cert101
import bsd.CongruentPoints109
import bsd.Rank2Cert100
import bsd.CongruentPoints108
import bsd.Rank2Cert99
import bsd.CongruentPoints107
import bsd.Rank2Cert98
import bsd.CongruentPoints106
import bsd.Rank2Cert97
import bsd.CongruentPoints105
import bsd.Rank2Cert96
import bsd.CongruentPoints104
import bsd.Rank2Cert95
import bsd.CongruentPoints103
import bsd.Rank2Cert94
import bsd.CongruentPoints102
import bsd.Rank2Cert93
import bsd.CongruentPoints101
import bsd.Rank2Cert92
import bsd.CongruentPoints100
import bsd.Rank2Cert91
import bsd.CongruentPoints99
import bsd.Rank2Cert90
import bsd.CongruentPoints98
import bsd.Rank2Cert89
import bsd.CongruentPoints97
import bsd.Rank2Cert88
import bsd.CongruentPoints96
import bsd.Rank2Cert87
import bsd.CongruentPoints95
import bsd.Rank2Cert86
import bsd.CongruentPoints94
import bsd.Rank2Cert85
import bsd.CongruentPoints93
import bsd.Rank2Cert84
import bsd.CongruentPoints92
import bsd.Rank2Cert83
import bsd.CongruentPoints91
import bsd.Rank2Cert82
import bsd.CongruentPoints90
import bsd.Rank2Cert81
import bsd.CongruentPoints89
import bsd.Rank2Cert80
import bsd.CongruentPoints88
import bsd.Rank2Cert79
import bsd.CongruentPoints87
import bsd.Rank2Cert78
import bsd.CongruentPoints86
import bsd.Rank2Cert77
import bsd.CongruentPoints85
import bsd.Rank2Cert76
import bsd.CongruentPoints84
import bsd.Rank2Cert75
import bsd.CongruentPoints83
import bsd.Rank2Cert74
import bsd.CongruentPoints82
import bsd.Rank2Cert73
import bsd.CongruentPoints81
import bsd.Rank2Cert72
import bsd.CongruentPoints80
import bsd.Rank2Cert71
import bsd.CongruentPoints79
import bsd.Rank2Cert70
import bsd.CongruentPoints78
import bsd.Rank2Cert69
import bsd.CongruentPoints77
import bsd.Rank2Cert68
import bsd.CongruentPoints76
import bsd.Rank2Cert67
import bsd.CongruentPoints75
import bsd.CongruentPoints74
import bsd.CongruentPoints73
import bsd.Rank2Cert66
import bsd.CongruentPoints72
import bsd.Rank2Cert65
import bsd.CongruentPoints71
import bsd.Rank2Cert64
import bsd.CongruentPoints70
import bsd.Rank2Cert63
import bsd.CongruentPoints69
import bsd.Rank2Cert62
import bsd.CongruentPoints68
import bsd.Rank2Cert61
import bsd.CongruentPoints67
import bsd.Rank2Cert60
import bsd.CongruentPoints66
import bsd.Rank2Cert59
import bsd.CongruentPoints65
import bsd.Rank2Cert58
import bsd.CongruentPoints64
import bsd.Rank2Cert57
import bsd.CongruentPoints63
import bsd.Rank2Cert56
import bsd.CongruentPoints62
import bsd.Rank2Cert55
import bsd.CongruentPoints61
import bsd.Rank2Cert54
import bsd.CongruentPoints60
import bsd.Rank2Cert53
import bsd.CongruentPoints59
import bsd.Rank2Cert52
import bsd.CongruentPoints58
import bsd.Rank2Cert51
import bsd.CongruentPoints57
import bsd.Rank2Cert50
import bsd.CongruentPoints56
import bsd.Rank2Cert49
import bsd.CongruentPoints55
import bsd.Rank2Cert48
import bsd.CongruentPoints54
import bsd.Rank2Cert47
import bsd.CongruentPoints53
import bsd.Rank2Cert46
import bsd.CongruentPoints52
import bsd.Rank2Cert45
import bsd.CongruentPoints51
import bsd.Rank2Cert44
import bsd.CongruentPoints50
import bsd.Rank2Cert43
import bsd.CongruentPoints49
import bsd.Rank2Cert42
import bsd.CongruentPoints48
import bsd.Rank2Cert41
import bsd.CongruentPoints47
import bsd.Rank2Cert40
import bsd.CongruentPoints46
import bsd.Rank2Cert39
import bsd.CongruentPoints45
import bsd.Rank2Cert38
import bsd.CongruentPoints44
import bsd.Rank2Cert37
import bsd.CongruentPoints43
import bsd.Rank2Cert36
import bsd.CongruentPoints42
import bsd.Rank2Cert35
import bsd.CongruentPoints41
import bsd.Rank2Cert34
import bsd.CongruentPoints40
import bsd.Rank2Cert33
import bsd.CongruentPoints39
import bsd.Rank2Cert32
import bsd.CongruentPoints38
import bsd.Rank2Cert31
import bsd.CongruentPoints37
import bsd.Rank2Cert30
import bsd.CongruentPoints36
import bsd.Rank2Cert29
import bsd.CongruentPoints35
import bsd.Rank2Cert28
import bsd.CongruentPoints34
import bsd.CongruentPoints33
import bsd.Rank2Cert27
import bsd.CongruentPoints32
import bsd.Rank2Cert26
import bsd.CongruentPoints31
import bsd.Rank2Cert25
import bsd.CongruentPoints30
import bsd.Rank2Cert24
import bsd.CongruentPoints29
import bsd.Rank2Cert23
import bsd.CongruentPoints28
import bsd.Rank2Cert22
import bsd.CongruentPoints27
import bsd.Rank2Cert21
import bsd.CongruentPoints26
import bsd.Rank2Cert20
import bsd.CongruentPoints25
import bsd.Rank2Cert19
import bsd.CongruentPoints24
import bsd.Rank2Cert18
import bsd.CongruentPoints23
import bsd.Rank2Cert17
import bsd.CongruentPoints22
import bsd.Rank2Cert16
import bsd.CongruentPoints21
import bsd.Rank2Cert15
import bsd.CongruentPoints20
import bsd.Rank2Cert14
import bsd.CongruentPoints19
import bsd.Rank2Cert13
import bsd.CongruentPoints18
import bsd.Rank2Cert12
import bsd.CongruentPoints17
import bsd.Rank2Cert11
import bsd.CongruentPoints16
import bsd.Rank2Cert10
import bsd.CongruentPoints15
import bsd.Rank2Cert9
import bsd.CongruentPoints14
import bsd.Rank2Cert8
import bsd.CongruentPoints13
import bsd.Rank2Cert7
import bsd.CongruentPoints9
import bsd.Rank2Cert3
import bsd.CongruentPoints10
import bsd.Rank2Cert4
import bsd.CongruentPoints11
import bsd.Rank2Cert5
import bsd.CongruentPoints12
import bsd.Rank2Cert6

namespace CongruentTriangle

theorem tri_of_point (X n b c : Int) (hc : c * c = X * X * X - n * n * X * (b * b * b * b)) :
    (X * X - n * n * (b * b * b * b)) * (X * X - n * n * (b * b * b * b)) + (2 * n * X * (b * b)) * (2 * n * X * (b * b))
      = (X * X + n * n * (b * b * b * b)) * (X * X + n * n * (b * b * b * b)) ∧
    (X * X - n * n * (b * b * b * b)) * (2 * n * X * (b * b)) = 2 * n * ((c * b) * (c * b)) := by
  refine ⟨by lib_int, ?_⟩
  have e : 2 * n * ((c * b) * (c * b)) = 2 * n * (b * b) * (c * c) := by lib_int
  rw [e, hc]; lib_int

/-- **Converse.** A right triangle A² + B² = C² with AB = 2nD² gives the point x = C²/(2D)², y = C(B² − A²)/(2D)³. -/
theorem point_of_tri (A B C D n : Int) (h1 : A * A + B * B = C * C) (h2 : A * B = 2 * n * (D * D)) :
    (C * (B * B - A * A)) * (C * (B * B - A * A))
      = (C * C) * (C * C) * (C * C) - n * n * (C * C) * ((2 * D) * (2 * D) * (2 * D) * (2 * D)) := by
  have e : n * n * (C * C) * ((2 * D) * (2 * D) * (2 * D) * (2 * D)) = (C * C) * ((2 * n * (D * D)) * (2 * n * (D * D))) * 4 := by
    lib_int
  have e2 : (C * (B * B - A * A)) * (C * (B * B - A * A)) = (C * C) * ((B * B - A * A) * (B * B - A * A)) := by lib_int
  rw [e, e2, ← h2, ← h1]; lib_int

def congruent (n : Nat) : Prop := ∃ A B C D : Nat, 0 < D ∧ A * A + B * B = C * C ∧ A * B = 2 * n * (D * D)

def dist (x y : Nat) : Nat := (x - y) + (y - x)

/-- the certificate of a point (x = ±a/b², y = c/b³) -/
def cert (n : Nat) (a b c : Nat) : Bool :=
  let A := dist (a * a) (n * n * (b * b * b * b)); let B := 2 * n * a * (b * b)
  let C := a * a + n * n * (b * b * b * b); let D := c * b
  Nat.blt 0 D && Nat.beq (A * A + B * B) (C * C) && Nat.beq (A * B) (2 * n * (D * D))

theorem cert_sound (n a b c : Nat) (h : cert n a b c = true) : congruent n := by
  have h' : (Nat.blt 0 (c * b) && Nat.beq (dist (a * a) (n * n * (b * b * b * b)) * dist (a * a) (n * n * (b * b * b * b))
      + 2 * n * a * (b * b) * (2 * n * a * (b * b))) ((a * a + n * n * (b * b * b * b)) * (a * a + n * n * (b * b * b * b)))
      && Nat.beq (dist (a * a) (n * n * (b * b * b * b)) * (2 * n * a * (b * b))) (2 * n * (c * b * (c * b)))) = true := h
  cases h1 : Nat.blt 0 (c * b) <;> cases h2 : Nat.beq (dist (a * a) (n * n * (b * b * b * b)) * dist (a * a) (n * n * (b * b * b * b))
      + 2 * n * a * (b * b) * (2 * n * a * (b * b))) ((a * a + n * n * (b * b * b * b)) * (a * a + n * n * (b * b * b * b))) <;>
    cases h3 : Nat.beq (dist (a * a) (n * n * (b * b * b * b)) * (2 * n * a * (b * b))) (2 * n * (c * b * (c * b))) <;>
    rw [h1, h2, h3] at h' <;> first
      | exact Bool.noConfusion h'
      | exact ⟨_, _, _, c * b, Nat.le_of_ble_eq_true h1, Nat.eq_of_beq_eq_true h2, Nat.eq_of_beq_eq_true h3⟩

theorem all_cert {α : Type} (f : α → Nat) (g : α → Bool) (s : ∀ x, g x = true → congruent (f x)) :
    ∀ (l : List α), l.all g = true → ∀ x, x ∈ l → congruent (f x) := by
  intro l
  induction l with
  | nil => intro _ x m; cases m
  | cons y l ih =>
    intro h x m
    have h' : (g y && l.all g) = true := h
    cases e1 : g y <;> cases e2 : l.all g <;> rw [e1, e2] at h'
    · exact Bool.noConfusion h'
    · exact Bool.noConfusion h'
    · exact Bool.noConfusion h'
    · cases m with
      | head => exact s y e1
      | tail _ m => exact ih e2 x m

def certRow (r : Nat × Bool × Nat × Nat × Nat) : Bool := cert r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2
def certR2 (r : Nat × (Bool × Nat × Nat × Nat) × (Bool × Nat × Nat × Nat)) : Bool := cert r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2

/-- the points of CongruentPoints (n ≤ 200), as a list -/
def pts0 : List (Nat × Bool × Nat × Nat × Nat) := [
   (101, true, 4516224269881, 63050, 9559609645758946779),
   (109, true, 297025, 42, 123384185),
   (119, true, 169, 1, 1560),
   (133, true, 1792252, 87, 1985131610),
   (134, false, 4141442, 177, 1398696488),
   (143, true, 1338649, 95, 411341268),
   (149, false, 56644, 25, 17592246),
   (151, true, 151321, 23, 49994280),
   (158, true, 2695842, 49, 4382264160),
   (159, false, 65025, 29, 29795220),
   (167, true, 118669915225, 25871, 13731952942771560),
   (181, true, 556368301801, 34950, 380821752178542701),
   (182, true, 31213, 3, 5506865),
   (183, false, 1368900, 541, 62645458590),
   (23, true, 42025, 17, 8506680),
   (29, true, 142129, 70, 1082367),
   (31, true, 1681, 7, 29520),
   (37, false, 1764, 145, 32672766),
   (38, true, 58482, 31, 11046600),
   (47, true, 16851025, 511, 47401321680),
   (53, true, 99278557225, 34034, 24583549770420915),
   (61, true, 736851025, 3198, 10643776627535),
   (62, true, 124002, 23, 42110880),
   (69, true, 1083, 1, 35568),
   (71, true, 3721, 7, 80520),
   (77, true, 216832, 53, 7114800),
   (79, true, 335952241, 161, 6157554234000),
   (86, true, 33282, 17, 4038216),
   (87, true, 525625, 77, 73251100),
   (93, true, 141267, 37, 23006340),
   (94, true, 29282, 17, 1870176),
   (95, true, 7225, 2, 613275),
   (199, true, 14207630028601, 262001, 14721540674529048360)]

theorem pts0_on : pts0.all (fun (n, s, a, b, c) => CongruentPoints5.onC n s a b c) = true := rfl
theorem cert0 : pts0.all certRow = true := rfl

theorem cert5 : CongruentPoints5.pts.all certRow = true := rfl
theorem cert6 : CongruentPoints6.pts.all certRow = true := rfl
theorem cert7 : CongruentPoints7.pts.all certRow = true := rfl
theorem cert8 : CongruentPoints8.pts.all certRow = true := rfl
theorem cert_r2b : Rank2Cert2.rows.all certR2 = true := rfl
theorem cert9 : CongruentPoints9.pts.all certRow = true := rfl
theorem cert_r2c : Rank2Cert3.rows.all certR2 = true := rfl
theorem cert10 : CongruentPoints10.pts.all certRow = true := rfl
theorem cert_r2d : Rank2Cert4.rows.all certR2 = true := rfl
theorem cert11 : CongruentPoints11.pts.all certRow = true := rfl
theorem cert_r2e : Rank2Cert5.rows.all certR2 = true := rfl
theorem cert12 : CongruentPoints12.pts.all certRow = true := rfl
theorem cert_r2f : Rank2Cert6.rows.all certR2 = true := rfl
theorem cert13 : CongruentPoints13.pts.all certRow = true := rfl
theorem cert_r2g : Rank2Cert7.rows.all certR2 = true := rfl
theorem cert14 : CongruentPoints14.pts.all certRow = true := rfl
theorem cert_r2h : Rank2Cert8.rows.all certR2 = true := rfl
theorem cert15 : CongruentPoints15.pts.all certRow = true := rfl
theorem cert_r2i : Rank2Cert9.rows.all certR2 = true := rfl
theorem cert16 : CongruentPoints16.pts.all certRow = true := rfl
theorem cert_r2j : Rank2Cert10.rows.all certR2 = true := rfl
theorem cert17 : CongruentPoints17.pts.all certRow = true := rfl
theorem cert_r2k : Rank2Cert11.rows.all certR2 = true := rfl
theorem cert18 : CongruentPoints18.pts.all certRow = true := rfl
theorem cert_r2l : Rank2Cert12.rows.all certR2 = true := rfl
theorem cert19 : CongruentPoints19.pts.all certRow = true := rfl
theorem cert_r2m : Rank2Cert13.rows.all certR2 = true := rfl
theorem cert20 : CongruentPoints20.pts.all certRow = true := rfl
theorem cert_r2n : Rank2Cert14.rows.all certR2 = true := rfl
theorem cert21 : CongruentPoints21.pts.all certRow = true := rfl
theorem cert_r2o : Rank2Cert15.rows.all certR2 = true := rfl
theorem cert22 : CongruentPoints22.pts.all certRow = true := rfl
theorem cert_r2p : Rank2Cert16.rows.all certR2 = true := rfl
theorem cert23 : CongruentPoints23.pts.all certRow = true := rfl
theorem cert_r2q : Rank2Cert17.rows.all certR2 = true := rfl
theorem cert24 : CongruentPoints24.pts.all certRow = true := rfl
theorem cert_r2r : Rank2Cert18.rows.all certR2 = true := rfl
theorem cert25 : CongruentPoints25.pts.all certRow = true := rfl
theorem cert_r2s : Rank2Cert19.rows.all certR2 = true := rfl
theorem cert26 : CongruentPoints26.pts.all certRow = true := rfl
theorem cert_r2t : Rank2Cert20.rows.all certR2 = true := rfl
theorem cert27 : CongruentPoints27.pts.all certRow = true := rfl
theorem cert_r2u : Rank2Cert21.rows.all certR2 = true := rfl
theorem cert28 : CongruentPoints28.pts.all certRow = true := rfl
theorem cert_r2v : Rank2Cert22.rows.all certR2 = true := rfl
theorem cert29 : CongruentPoints29.pts.all certRow = true := rfl
theorem cert_r2w : Rank2Cert23.rows.all certR2 = true := rfl
theorem cert30 : CongruentPoints30.pts.all certRow = true := rfl
theorem cert_r2x : Rank2Cert24.rows.all certR2 = true := rfl
theorem cert31 : CongruentPoints31.pts.all certRow = true := rfl
theorem cert_r2y : Rank2Cert25.rows.all certR2 = true := rfl
theorem cert32 : CongruentPoints32.pts.all certRow = true := rfl
theorem cert_r2z : Rank2Cert26.rows.all certR2 = true := rfl
theorem cert33 : CongruentPoints33.pts.all certRow = true := rfl
theorem cert_r2aa : Rank2Cert27.rows.all certR2 = true := rfl
set_option maxRecDepth 100000 in
theorem cert34 : CongruentPoints34.pts.all certRow = true := rfl
theorem cert35 : CongruentPoints35.pts.all certRow = true := rfl
theorem cert_r2ab : Rank2Cert28.rows.all certR2 = true := rfl
theorem cert36 : CongruentPoints36.pts.all certRow = true := rfl
theorem cert_r2ac : Rank2Cert29.rows.all certR2 = true := rfl
theorem cert37 : CongruentPoints37.pts.all certRow = true := rfl
theorem cert_r2ad : Rank2Cert30.rows.all certR2 = true := rfl
theorem cert38 : CongruentPoints38.pts.all certRow = true := rfl
theorem cert_r2ae : Rank2Cert31.rows.all certR2 = true := rfl
theorem cert39 : CongruentPoints39.pts.all certRow = true := rfl
theorem cert_r2af : Rank2Cert32.rows.all certR2 = true := rfl
theorem cert40 : CongruentPoints40.pts.all certRow = true := rfl
theorem cert_r2ag : Rank2Cert33.rows.all certR2 = true := rfl
theorem cert41 : CongruentPoints41.pts.all certRow = true := rfl
theorem cert_r2ah : Rank2Cert34.rows.all certR2 = true := rfl
theorem cert42 : CongruentPoints42.pts.all certRow = true := rfl
theorem cert_r2ai : Rank2Cert35.rows.all certR2 = true := rfl
theorem cert43 : CongruentPoints43.pts.all certRow = true := rfl
theorem cert_r2aj : Rank2Cert36.rows.all certR2 = true := rfl
theorem cert44 : CongruentPoints44.pts.all certRow = true := rfl
theorem cert_r2ak : Rank2Cert37.rows.all certR2 = true := rfl
theorem cert45 : CongruentPoints45.pts.all certRow = true := rfl
theorem cert_r2al : Rank2Cert38.rows.all certR2 = true := rfl
theorem cert46 : CongruentPoints46.pts.all certRow = true := rfl
theorem cert_r2am : Rank2Cert39.rows.all certR2 = true := rfl
theorem cert47 : CongruentPoints47.pts.all certRow = true := rfl
theorem cert_r2an : Rank2Cert40.rows.all certR2 = true := rfl
theorem cert48 : CongruentPoints48.pts.all certRow = true := rfl
theorem cert_r2ao : Rank2Cert41.rows.all certR2 = true := rfl
theorem cert49 : CongruentPoints49.pts.all certRow = true := rfl
theorem cert_r2ap : Rank2Cert42.rows.all certR2 = true := rfl
theorem cert50 : CongruentPoints50.pts.all certRow = true := rfl
theorem cert_r2aq : Rank2Cert43.rows.all certR2 = true := rfl
theorem cert51 : CongruentPoints51.pts.all certRow = true := rfl
theorem cert_r2ar : Rank2Cert44.rows.all certR2 = true := rfl
theorem cert52 : CongruentPoints52.pts.all certRow = true := rfl
theorem cert_r2as : Rank2Cert45.rows.all certR2 = true := rfl
theorem cert53 : CongruentPoints53.pts.all certRow = true := rfl
theorem cert_r2at : Rank2Cert46.rows.all certR2 = true := rfl
theorem cert54 : CongruentPoints54.pts.all certRow = true := rfl
theorem cert_r2au : Rank2Cert47.rows.all certR2 = true := rfl
theorem cert55 : CongruentPoints55.pts.all certRow = true := rfl
theorem cert_r2av : Rank2Cert48.rows.all certR2 = true := rfl
theorem cert56 : CongruentPoints56.pts.all certRow = true := rfl
theorem cert_r2aw : Rank2Cert49.rows.all certR2 = true := rfl
theorem cert57 : CongruentPoints57.pts.all certRow = true := rfl
theorem cert_r2ax : Rank2Cert50.rows.all certR2 = true := rfl
theorem cert58 : CongruentPoints58.pts.all certRow = true := rfl
theorem cert_r2ay : Rank2Cert51.rows.all certR2 = true := rfl
theorem cert59 : CongruentPoints59.pts.all certRow = true := rfl
theorem cert_r2az : Rank2Cert52.rows.all certR2 = true := rfl
theorem cert60 : CongruentPoints60.pts.all certRow = true := rfl
theorem cert_r2ba : Rank2Cert53.rows.all certR2 = true := rfl
theorem cert61 : CongruentPoints61.pts.all certRow = true := rfl
theorem cert_r2bb : Rank2Cert54.rows.all certR2 = true := rfl
theorem cert62 : CongruentPoints62.pts.all certRow = true := rfl
theorem cert_r2bc : Rank2Cert55.rows.all certR2 = true := rfl
theorem cert63 : CongruentPoints63.pts.all certRow = true := rfl
theorem cert_r2bd : Rank2Cert56.rows.all certR2 = true := rfl
theorem cert64 : CongruentPoints64.pts.all certRow = true := rfl
theorem cert_r2be : Rank2Cert57.rows.all certR2 = true := rfl
theorem cert65 : CongruentPoints65.pts.all certRow = true := rfl
theorem cert_r2bf : Rank2Cert58.rows.all certR2 = true := rfl
theorem cert66 : CongruentPoints66.pts.all certRow = true := rfl
theorem cert_r2bg : Rank2Cert59.rows.all certR2 = true := rfl
theorem cert67 : CongruentPoints67.pts.all certRow = true := rfl
theorem cert_r2bh : Rank2Cert60.rows.all certR2 = true := rfl
theorem cert68 : CongruentPoints68.pts.all certRow = true := rfl
theorem cert_r2bi : Rank2Cert61.rows.all certR2 = true := rfl
theorem cert69 : CongruentPoints69.pts.all certRow = true := rfl
theorem cert_r2bj : Rank2Cert62.rows.all certR2 = true := rfl
theorem cert70 : CongruentPoints70.pts.all certRow = true := rfl
theorem cert_r2bk : Rank2Cert63.rows.all certR2 = true := rfl
theorem cert71 : CongruentPoints71.pts.all certRow = true := rfl
theorem cert_r2bl : Rank2Cert64.rows.all certR2 = true := rfl
theorem cert72 : CongruentPoints72.pts.all certRow = true := rfl
theorem cert_r2bm : Rank2Cert65.rows.all certR2 = true := rfl
theorem cert73 : CongruentPoints73.pts.all certRow = true := rfl
theorem cert_r2bn : Rank2Cert66.rows.all certR2 = true := rfl
theorem cert74 : CongruentPoints74.pts.all certRow = true := rfl
theorem cert75 : CongruentPoints75.pts.all certRow = true := rfl
theorem cert76 : CongruentPoints76.pts.all certRow = true := rfl
theorem cert_r2bo : Rank2Cert67.rows.all certR2 = true := rfl
theorem cert77 : CongruentPoints77.pts.all certRow = true := rfl
theorem cert_r2bp : Rank2Cert68.rows.all certR2 = true := rfl
theorem cert78 : CongruentPoints78.pts.all certRow = true := rfl
theorem cert_r2bq : Rank2Cert69.rows.all certR2 = true := rfl
theorem cert79 : CongruentPoints79.pts.all certRow = true := rfl
theorem cert_r2br : Rank2Cert70.rows.all certR2 = true := rfl
theorem cert80 : CongruentPoints80.pts.all certRow = true := rfl
theorem cert_r2bs : Rank2Cert71.rows.all certR2 = true := rfl
theorem cert81 : CongruentPoints81.pts.all certRow = true := rfl
theorem cert_r2bt : Rank2Cert72.rows.all certR2 = true := rfl
theorem cert82 : CongruentPoints82.pts.all certRow = true := rfl
theorem cert_r2bu : Rank2Cert73.rows.all certR2 = true := rfl
theorem cert83 : CongruentPoints83.pts.all certRow = true := rfl
theorem cert_r2bv : Rank2Cert74.rows.all certR2 = true := rfl
theorem cert84 : CongruentPoints84.pts.all certRow = true := rfl
theorem cert_r2bw : Rank2Cert75.rows.all certR2 = true := rfl
theorem cert85 : CongruentPoints85.pts.all certRow = true := rfl
theorem cert_r2bx : Rank2Cert76.rows.all certR2 = true := rfl
theorem cert86 : CongruentPoints86.pts.all certRow = true := rfl
theorem cert_r2by : Rank2Cert77.rows.all certR2 = true := rfl
theorem cert87 : CongruentPoints87.pts.all certRow = true := rfl
theorem cert_r2bz : Rank2Cert78.rows.all certR2 = true := rfl
theorem cert88 : CongruentPoints88.pts.all certRow = true := rfl
theorem cert_r2ca : Rank2Cert79.rows.all certR2 = true := rfl
theorem cert89 : CongruentPoints89.pts.all certRow = true := rfl
theorem cert_r2cb : Rank2Cert80.rows.all certR2 = true := rfl
theorem cert90 : CongruentPoints90.pts.all certRow = true := rfl
theorem cert_r2cc : Rank2Cert81.rows.all certR2 = true := rfl
theorem cert91 : CongruentPoints91.pts.all certRow = true := rfl
theorem cert_r2cd : Rank2Cert82.rows.all certR2 = true := rfl
theorem cert92 : CongruentPoints92.pts.all certRow = true := rfl
theorem cert_r2ce : Rank2Cert83.rows.all certR2 = true := rfl
theorem cert93 : CongruentPoints93.pts.all certRow = true := rfl
theorem cert_r2cf : Rank2Cert84.rows.all certR2 = true := rfl
theorem cert94 : CongruentPoints94.pts.all certRow = true := rfl
theorem cert_r2cg : Rank2Cert85.rows.all certR2 = true := rfl
theorem cert95 : CongruentPoints95.pts.all certRow = true := rfl
theorem cert_r2ch : Rank2Cert86.rows.all certR2 = true := rfl
theorem cert96 : CongruentPoints96.pts.all certRow = true := rfl
theorem cert_r2ci : Rank2Cert87.rows.all certR2 = true := rfl
theorem cert97 : CongruentPoints97.pts.all certRow = true := rfl
theorem cert_r2cj : Rank2Cert88.rows.all certR2 = true := rfl
theorem cert98 : CongruentPoints98.pts.all certRow = true := rfl
theorem cert_r2ck : Rank2Cert89.rows.all certR2 = true := rfl
theorem cert99 : CongruentPoints99.pts.all certRow = true := rfl
theorem cert_r2cl : Rank2Cert90.rows.all certR2 = true := rfl
theorem cert100 : CongruentPoints100.pts.all certRow = true := rfl
theorem cert_r2cm : Rank2Cert91.rows.all certR2 = true := rfl
theorem cert101 : CongruentPoints101.pts.all certRow = true := rfl
theorem cert_r2cn : Rank2Cert92.rows.all certR2 = true := rfl
theorem cert102 : CongruentPoints102.pts.all certRow = true := rfl
theorem cert_r2co : Rank2Cert93.rows.all certR2 = true := rfl
theorem cert103 : CongruentPoints103.pts.all certRow = true := rfl
theorem cert_r2cp : Rank2Cert94.rows.all certR2 = true := rfl
theorem cert104 : CongruentPoints104.pts.all certRow = true := rfl
theorem cert_r2cq : Rank2Cert95.rows.all certR2 = true := rfl
theorem cert105 : CongruentPoints105.pts.all certRow = true := rfl
theorem cert_r2cr : Rank2Cert96.rows.all certR2 = true := rfl
theorem cert106 : CongruentPoints106.pts.all certRow = true := rfl
theorem cert_r2cs : Rank2Cert97.rows.all certR2 = true := rfl
theorem cert107 : CongruentPoints107.pts.all certRow = true := rfl
theorem cert_r2ct : Rank2Cert98.rows.all certR2 = true := rfl
theorem cert108 : CongruentPoints108.pts.all certRow = true := rfl
theorem cert_r2cu : Rank2Cert99.rows.all certR2 = true := rfl
theorem cert109 : CongruentPoints109.pts.all certRow = true := rfl
theorem cert_r2cv : Rank2Cert100.rows.all certR2 = true := rfl
theorem cert110 : CongruentPoints110.pts.all certRow = true := rfl
theorem cert_r2cw : Rank2Cert101.rows.all certR2 = true := rfl
theorem cert111 : CongruentPoints111.pts.all certRow = true := rfl
theorem cert_r2cx : Rank2Cert102.rows.all certR2 = true := rfl
theorem cert112 : CongruentPoints112.pts.all certRow = true := rfl
theorem cert_r2cy : Rank2Cert103.rows.all certR2 = true := rfl
theorem cert113 : CongruentPoints113.pts.all certRow = true := rfl
theorem cert_r2cz : Rank2Cert104.rows.all certR2 = true := rfl
theorem cert114 : CongruentPoints114.pts.all certRow = true := rfl
theorem cert_r2da : Rank2Cert105.rows.all certR2 = true := rfl
theorem cert115 : CongruentPoints115.pts.all certRow = true := rfl
theorem cert_r2db : Rank2Cert106.rows.all certR2 = true := rfl
theorem cert116 : CongruentPoints116.pts.all certRow = true := rfl
theorem cert_r2dc : Rank2Cert107.rows.all certR2 = true := rfl
theorem cert117 : CongruentPoints117.pts.all certRow = true := rfl
theorem cert_r2dd : Rank2Cert108.rows.all certR2 = true := rfl
theorem cert118 : CongruentPoints118.pts.all certRow = true := rfl
theorem cert_r2de : Rank2Cert109.rows.all certR2 = true := rfl
theorem cert119 : CongruentPoints119.pts.all certRow = true := rfl
theorem cert_r2df : Rank2Cert110.rows.all certR2 = true := rfl
theorem cert120 : CongruentPoints120.pts.all certRow = true := rfl
theorem cert_r2dg : Rank2Cert111.rows.all certR2 = true := rfl
theorem cert121 : CongruentPoints121.pts.all certRow = true := rfl
theorem cert_r2dh : Rank2Cert112.rows.all certR2 = true := rfl
theorem cert122 : CongruentPoints122.pts.all certRow = true := rfl
theorem cert_r2di : Rank2Cert113.rows.all certR2 = true := rfl
theorem cert123 : CongruentPoints123.pts.all certRow = true := rfl
theorem cert_r2dj : Rank2Cert114.rows.all certR2 = true := rfl
theorem cert124 : CongruentPoints124.pts.all certRow = true := rfl
theorem cert_r2dk : Rank2Cert115.rows.all certR2 = true := rfl
theorem cert125 : CongruentPoints125.pts.all certRow = true := rfl
theorem cert_r2dl : Rank2Cert116.rows.all certR2 = true := rfl
theorem cert126 : CongruentPoints126.pts.all certRow = true := rfl
theorem cert_r2dm : Rank2Cert117.rows.all certR2 = true := rfl
theorem cert127 : CongruentPoints127.pts.all certRow = true := rfl
theorem cert_r2dn : Rank2Cert118.rows.all certR2 = true := rfl
theorem cert128 : CongruentPoints128.pts.all certRow = true := rfl
theorem cert_r2do : Rank2Cert119.rows.all certR2 = true := rfl
theorem cert129 : CongruentPoints129.pts.all certRow = true := rfl
theorem cert_r2dp : Rank2Cert120.rows.all certR2 = true := rfl
theorem cert130 : CongruentPoints130.pts.all certRow = true := rfl
theorem cert_r2dq : Rank2Cert121.rows.all certR2 = true := rfl
theorem cert131 : CongruentPoints131.pts.all certRow = true := rfl
theorem cert_r2dr : Rank2Cert122.rows.all certR2 = true := rfl
theorem cert132 : CongruentPoints132.pts.all certRow = true := rfl
theorem cert_r2ds : Rank2Cert123.rows.all certR2 = true := rfl
theorem cert133 : CongruentPoints133.pts.all certRow = true := rfl
theorem cert_r2dt : Rank2Cert124.rows.all certR2 = true := rfl
theorem cert134 : CongruentPoints134.pts.all certRow = true := rfl
theorem cert_r2du : Rank2Cert125.rows.all certR2 = true := rfl
theorem cert135 : CongruentPoints135.pts.all certRow = true := rfl
theorem cert_r2dv : Rank2Cert126.rows.all certR2 = true := rfl
theorem cert136 : CongruentPoints136.pts.all certRow = true := rfl
theorem cert_r2dw : Rank2Cert127.rows.all certR2 = true := rfl
theorem cert137 : CongruentPoints137.pts.all certRow = true := rfl
theorem cert_r2dx : Rank2Cert128.rows.all certR2 = true := rfl
theorem cert138 : CongruentPoints138.pts.all certRow = true := rfl
theorem cert_r2dy : Rank2Cert129.rows.all certR2 = true := rfl
theorem cert139 : CongruentPoints139.pts.all certRow = true := rfl
theorem cert_r2dz : Rank2Cert130.rows.all certR2 = true := rfl
theorem cert140 : CongruentPoints140.pts.all certRow = true := rfl
theorem cert_r2ea : Rank2Cert131.rows.all certR2 = true := rfl
theorem cert141 : CongruentPoints141.pts.all certRow = true := rfl
theorem cert_r2eb : Rank2Cert132.rows.all certR2 = true := rfl
theorem cert142 : CongruentPoints142.pts.all certRow = true := rfl
theorem cert_r2ec : Rank2Cert133.rows.all certR2 = true := rfl
theorem cert143 : CongruentPoints143.pts.all certRow = true := rfl
theorem cert_r2ed : Rank2Cert134.rows.all certR2 = true := rfl
theorem cert144 : CongruentPoints144.pts.all certRow = true := rfl
theorem cert_r2ee : Rank2Cert135.rows.all certR2 = true := rfl
theorem cert145 : CongruentPoints145.pts.all certRow = true := rfl
theorem cert_r2ef : Rank2Cert136.rows.all certR2 = true := rfl
theorem cert146 : CongruentPoints146.pts.all certRow = true := rfl
theorem cert_r2eg : Rank2Cert137.rows.all certR2 = true := rfl
theorem cert147 : CongruentPoints147.pts.all certRow = true := rfl
theorem cert_r2eh : Rank2Cert138.rows.all certR2 = true := rfl
theorem cert148 : CongruentPoints148.pts.all certRow = true := rfl
theorem cert_r2ei : Rank2Cert139.rows.all certR2 = true := rfl
theorem cert149 : CongruentPoints149.pts.all certRow = true := rfl
theorem cert_r2ej : Rank2Cert140.rows.all certR2 = true := rfl
theorem cert150 : CongruentPoints150.pts.all certRow = true := rfl
theorem cert_r2ek : Rank2Cert141.rows.all certR2 = true := rfl
theorem cert151 : CongruentPoints151.pts.all certRow = true := rfl
theorem cert_r2el : Rank2Cert142.rows.all certR2 = true := rfl
theorem cert152 : CongruentPoints152.pts.all certRow = true := rfl
theorem cert_r2em : Rank2Cert143.rows.all certR2 = true := rfl
theorem cert153 : CongruentPoints153.pts.all certRow = true := rfl
theorem cert_r2en : Rank2Cert144.rows.all certR2 = true := rfl
theorem cert154 : CongruentPoints154.pts.all certRow = true := rfl
theorem cert_r2eo : Rank2Cert145.rows.all certR2 = true := rfl
theorem cert155 : CongruentPoints155.pts.all certRow = true := rfl
theorem cert_r2ep : Rank2Cert146.rows.all certR2 = true := rfl
theorem cert156 : CongruentPoints156.pts.all certRow = true := rfl
theorem cert_r2eq : Rank2Cert147.rows.all certR2 = true := rfl
theorem cert157 : CongruentPoints157.pts.all certRow = true := rfl
theorem cert_r2er : Rank2Cert148.rows.all certR2 = true := rfl
theorem cert158 : CongruentPoints158.pts.all certRow = true := rfl
theorem cert_r2es : Rank2Cert149.rows.all certR2 = true := rfl
theorem cert159 : CongruentPoints159.pts.all certRow = true := rfl
theorem cert_r2et : Rank2Cert150.rows.all certR2 = true := rfl
theorem cert160 : CongruentPoints160.pts.all certRow = true := rfl
theorem cert_r2eu : Rank2Cert151.rows.all certR2 = true := rfl
theorem cert161 : CongruentPoints161.pts.all certRow = true := rfl
theorem cert_r2ev : Rank2Cert152.rows.all certR2 = true := rfl
theorem cert162 : CongruentPoints162.pts.all certRow = true := rfl
theorem cert_r2ew : Rank2Cert153.rows.all certR2 = true := rfl
theorem cert163 : CongruentPoints163.pts.all certRow = true := rfl
theorem cert_r2ex : Rank2Cert154.rows.all certR2 = true := rfl
theorem cert164 : CongruentPoints164.pts.all certRow = true := rfl
theorem cert_r2ey : Rank2Cert155.rows.all certR2 = true := rfl
theorem cert165 : CongruentPoints165.pts.all certRow = true := rfl
theorem cert_r2ez : Rank2Cert156.rows.all certR2 = true := rfl
theorem cert166 : CongruentPoints166.pts.all certRow = true := rfl
theorem cert_r2fa : Rank2Cert157.rows.all certR2 = true := rfl
theorem cert167 : CongruentPoints167.pts.all certRow = true := rfl
theorem cert_r2fb : Rank2Cert158.rows.all certR2 = true := rfl
theorem cert168 : CongruentPoints168.pts.all certRow = true := rfl
theorem cert_r2fc : Rank2Cert159.rows.all certR2 = true := rfl
theorem cert169 : CongruentPoints169.pts.all certRow = true := rfl
theorem cert_r2fd : Rank2Cert160.rows.all certR2 = true := rfl
theorem cert170 : CongruentPoints170.pts.all certRow = true := rfl
theorem cert_r2fe : Rank2Cert161.rows.all certR2 = true := rfl
theorem cert171 : CongruentPoints171.pts.all certRow = true := rfl
theorem cert_r2ff : Rank2Cert162.rows.all certR2 = true := rfl
theorem cert172 : CongruentPoints172.pts.all certRow = true := rfl
theorem cert_r2fg : Rank2Cert163.rows.all certR2 = true := rfl
theorem cert173 : CongruentPoints173.pts.all certRow = true := rfl
theorem cert_r2fh : Rank2Cert164.rows.all certR2 = true := rfl
theorem cert174 : CongruentPoints174.pts.all certRow = true := rfl
theorem cert_r2fi : Rank2Cert165.rows.all certR2 = true := rfl
theorem cert175 : CongruentPoints175.pts.all certRow = true := rfl
theorem cert_r2fj : Rank2Cert166.rows.all certR2 = true := rfl
theorem cert176 : CongruentPoints176.pts.all certRow = true := rfl
theorem cert_r2fk : Rank2Cert167.rows.all certR2 = true := rfl
theorem cert177 : CongruentPoints177.pts.all certRow = true := rfl
theorem cert_r2fl : Rank2Cert168.rows.all certR2 = true := rfl
theorem cert178 : CongruentPoints178.pts.all certRow = true := rfl
theorem cert_r2fm : Rank2Cert169.rows.all certR2 = true := rfl
theorem cert179 : CongruentPoints179.pts.all certRow = true := rfl
theorem cert_r2fn : Rank2Cert170.rows.all certR2 = true := rfl
theorem cert180 : CongruentPoints180.pts.all certRow = true := rfl
theorem cert_r2fo : Rank2Cert171.rows.all certR2 = true := rfl
theorem cert181 : CongruentPoints181.pts.all certRow = true := rfl
theorem cert_r2fp : Rank2Cert172.rows.all certR2 = true := rfl
theorem cert182 : CongruentPoints182.pts.all certRow = true := rfl
theorem cert_r2fq : Rank2Cert173.rows.all certR2 = true := rfl
theorem cert183 : CongruentPoints183.pts.all certRow = true := rfl
theorem cert_r2fr : Rank2Cert174.rows.all certR2 = true := rfl
theorem cert184 : CongruentPoints184.pts.all certRow = true := rfl
theorem cert_r2fs : Rank2Cert175.rows.all certR2 = true := rfl
theorem cert185 : CongruentPoints185.pts.all certRow = true := rfl
theorem cert_r2ft : Rank2Cert176.rows.all certR2 = true := rfl
theorem cert186 : CongruentPoints186.pts.all certRow = true := rfl
theorem cert_r2fu : Rank2Cert177.rows.all certR2 = true := rfl
theorem cert187 : CongruentPoints187.pts.all certRow = true := rfl
theorem cert_r2fv : Rank2Cert178.rows.all certR2 = true := rfl
theorem cert188 : CongruentPoints188.pts.all certRow = true := rfl
theorem cert_r2fw : Rank2Cert179.rows.all certR2 = true := rfl
theorem cert189 : CongruentPoints189.pts.all certRow = true := rfl
theorem cert_r2fx : Rank2Cert180.rows.all certR2 = true := rfl
theorem cert190 : CongruentPoints190.pts.all certRow = true := rfl
theorem cert_r2fy : Rank2Cert181.rows.all certR2 = true := rfl
theorem cert191 : CongruentPoints191.pts.all certRow = true := rfl
theorem cert_r2fz : Rank2Cert182.rows.all certR2 = true := rfl
theorem cert192 : CongruentPoints192.pts.all certRow = true := rfl
theorem cert_r2ga : Rank2Cert183.rows.all certR2 = true := rfl
theorem cert193 : CongruentPoints193.pts.all certRow = true := rfl
theorem cert_r2gb : Rank2Cert184.rows.all certR2 = true := rfl
theorem cert194 : CongruentPoints194.pts.all certRow = true := rfl
theorem cert_r2gc : Rank2Cert185.rows.all certR2 = true := rfl
theorem cert195 : CongruentPoints195.pts.all certRow = true := rfl
theorem cert_r2gd : Rank2Cert186.rows.all certR2 = true := rfl
theorem cert196 : CongruentPoints196.pts.all certRow = true := rfl
theorem cert_r2ge : Rank2Cert187.rows.all certR2 = true := rfl
theorem cert197 : CongruentPoints197.pts.all certRow = true := rfl
theorem cert_r2gf : Rank2Cert188.rows.all certR2 = true := rfl
theorem cert198 : CongruentPoints198.pts.all certRow = true := rfl
theorem cert_r2gg : Rank2Cert189.rows.all certR2 = true := rfl
theorem cert199 : CongruentPoints199.pts.all certRow = true := rfl
theorem cert_r2gh : Rank2Cert190.rows.all certR2 = true := rfl
theorem cert200 : CongruentPoints200.pts.all certRow = true := rfl
theorem cert_r2gi : Rank2Cert191.rows.all certR2 = true := rfl
theorem cert201 : CongruentPoints201.pts.all certRow = true := rfl
theorem cert_r2gj : Rank2Cert192.rows.all certR2 = true := rfl
theorem cert202 : CongruentPoints202.pts.all certRow = true := rfl
theorem cert_r2gk : Rank2Cert193.rows.all certR2 = true := rfl
theorem cert203 : CongruentPoints203.pts.all certRow = true := rfl
theorem cert_r2gl : Rank2Cert194.rows.all certR2 = true := rfl
theorem cert204 : CongruentPoints204.pts.all certRow = true := rfl
theorem cert_r2gm : Rank2Cert195.rows.all certR2 = true := rfl
theorem cert205 : CongruentPoints205.pts.all certRow = true := rfl
theorem cert_r2gn : Rank2Cert196.rows.all certR2 = true := rfl
theorem cert206 : CongruentPoints206.pts.all certRow = true := rfl
theorem cert_r2go : Rank2Cert197.rows.all certR2 = true := rfl
theorem cert207 : CongruentPoints207.pts.all certRow = true := rfl
theorem cert_r2gp : Rank2Cert198.rows.all certR2 = true := rfl
theorem cert208 : CongruentPoints208.pts.all certRow = true := rfl
theorem cert_r2gq : Rank2Cert199.rows.all certR2 = true := rfl
theorem cert209 : CongruentPoints209.pts.all certRow = true := rfl
theorem cert_r2gr : Rank2Cert200.rows.all certR2 = true := rfl
theorem cert210 : CongruentPoints210.pts.all certRow = true := rfl
theorem cert_r2gs : Rank2Cert201.rows.all certR2 = true := rfl
theorem cert211 : CongruentPoints211.pts.all certRow = true := rfl
theorem cert_r2gt : Rank2Cert202.rows.all certR2 = true := rfl
theorem cert212 : CongruentPoints212.pts.all certRow = true := rfl
theorem cert_r2gu : Rank2Cert203.rows.all certR2 = true := rfl
theorem cert213 : CongruentPoints213.pts.all certRow = true := rfl
theorem cert_r2gv : Rank2Cert204.rows.all certR2 = true := rfl
theorem cert214 : CongruentPoints214.pts.all certRow = true := rfl
theorem cert_r2gw : Rank2Cert205.rows.all certR2 = true := rfl
theorem cert215 : CongruentPoints215.pts.all certRow = true := rfl
theorem cert_r2gx : Rank2Cert206.rows.all certR2 = true := rfl
theorem cert216 : CongruentPoints216.pts.all certRow = true := rfl
theorem cert_r2gy : Rank2Cert207.rows.all certR2 = true := rfl
theorem cert217 : CongruentPoints217.pts.all certRow = true := rfl
theorem cert_r2gz : Rank2Cert208.rows.all certR2 = true := rfl
theorem cert218 : CongruentPoints218.pts.all certRow = true := rfl
theorem cert_r2ha : Rank2Cert209.rows.all certR2 = true := rfl
theorem cert219 : CongruentPoints219.pts.all certRow = true := rfl
theorem cert_r2hb : Rank2Cert210.rows.all certR2 = true := rfl
theorem cert220 : CongruentPoints220.pts.all certRow = true := rfl
theorem cert_r2hc : Rank2Cert211.rows.all certR2 = true := rfl
theorem cert221 : CongruentPoints221.pts.all certRow = true := rfl
theorem cert_r2hd : Rank2Cert212.rows.all certR2 = true := rfl
theorem cert222 : CongruentPoints222.pts.all certRow = true := rfl
theorem cert_r2he : Rank2Cert213.rows.all certR2 = true := rfl
theorem cert223 : CongruentPoints223.pts.all certRow = true := rfl
theorem cert_r2hf : Rank2Cert214.rows.all certR2 = true := rfl
theorem cert224 : CongruentPoints224.pts.all certRow = true := rfl
theorem cert_r2hg : Rank2Cert215.rows.all certR2 = true := rfl
theorem cert225 : CongruentPoints225.pts.all certRow = true := rfl
theorem cert_r2hh : Rank2Cert216.rows.all certR2 = true := rfl
theorem cert226 : CongruentPoints226.pts.all certRow = true := rfl
theorem cert_r2hi : Rank2Cert217.rows.all certR2 = true := rfl
theorem cert227 : CongruentPoints227.pts.all certRow = true := rfl
theorem cert_r2hj : Rank2Cert218.rows.all certR2 = true := rfl
theorem cert228 : CongruentPoints228.pts.all certRow = true := rfl
theorem cert_r2hk : Rank2Cert219.rows.all certR2 = true := rfl
theorem cert229 : CongruentPoints229.pts.all certRow = true := rfl
theorem cert_r2hl : Rank2Cert220.rows.all certR2 = true := rfl
theorem cert230 : CongruentPoints230.pts.all certRow = true := rfl
theorem cert_r2hm : Rank2Cert221.rows.all certR2 = true := rfl
theorem cert231 : CongruentPoints231.pts.all certRow = true := rfl
theorem cert_r2hn : Rank2Cert222.rows.all certR2 = true := rfl
theorem cert232 : CongruentPoints232.pts.all certRow = true := rfl
theorem cert_r2ho : Rank2Cert223.rows.all certR2 = true := rfl
theorem cert233 : CongruentPoints233.pts.all certRow = true := rfl
theorem cert_r2hp : Rank2Cert224.rows.all certR2 = true := rfl
theorem cert234 : CongruentPoints234.pts.all certRow = true := rfl
theorem cert_r2hq : Rank2Cert225.rows.all certR2 = true := rfl
theorem cert235 : CongruentPoints235.pts.all certRow = true := rfl
theorem cert_r2hr : Rank2Cert226.rows.all certR2 = true := rfl
theorem cert236 : CongruentPoints236.pts.all certRow = true := rfl
theorem cert_r2hs : Rank2Cert227.rows.all certR2 = true := rfl
theorem cert237 : CongruentPoints237.pts.all certRow = true := rfl
theorem cert_r2ht : Rank2Cert228.rows.all certR2 = true := rfl
theorem cert238 : CongruentPoints238.pts.all certRow = true := rfl
theorem cert_r2hu : Rank2Cert229.rows.all certR2 = true := rfl
theorem cert239 : CongruentPoints239.pts.all certRow = true := rfl
theorem cert_r2hv : Rank2Cert230.rows.all certR2 = true := rfl
theorem cert240 : CongruentPoints240.pts.all certRow = true := rfl
theorem cert_r2hw : Rank2Cert231.rows.all certR2 = true := rfl
theorem cert241 : CongruentPoints241.pts.all certRow = true := rfl
theorem cert_r2hx : Rank2Cert232.rows.all certR2 = true := rfl
theorem cert242 : CongruentPoints242.pts.all certRow = true := rfl
theorem cert_r2hy : Rank2Cert233.rows.all certR2 = true := rfl
theorem cert243 : CongruentPoints243.pts.all certRow = true := rfl
theorem cert_r2hz : Rank2Cert234.rows.all certR2 = true := rfl
theorem cert244 : CongruentPoints244.pts.all certRow = true := rfl
theorem cert_r2ia : Rank2Cert235.rows.all certR2 = true := rfl
theorem cert245 : CongruentPoints245.pts.all certRow = true := rfl
theorem cert_r2ib : Rank2Cert236.rows.all certR2 = true := rfl
theorem cert246 : CongruentPoints246.pts.all certRow = true := rfl
theorem cert_r2ic : Rank2Cert237.rows.all certR2 = true := rfl
theorem cert247 : CongruentPoints247.pts.all certRow = true := rfl
theorem cert_r2id : Rank2Cert238.rows.all certR2 = true := rfl
theorem cert248 : CongruentPoints248.pts.all certRow = true := rfl
theorem cert_r2ie : Rank2Cert239.rows.all certR2 = true := rfl
theorem cert249 : CongruentPoints249.pts.all certRow = true := rfl
theorem cert_r2if : Rank2Cert240.rows.all certR2 = true := rfl
theorem cert250 : CongruentPoints250.pts.all certRow = true := rfl
theorem cert_r2ig : Rank2Cert241.rows.all certR2 = true := rfl
theorem cert251 : CongruentPoints251.pts.all certRow = true := rfl
theorem cert_r2ih : Rank2Cert242.rows.all certR2 = true := rfl
theorem cert252 : CongruentPoints252.pts.all certRow = true := rfl
theorem cert_r2ii : Rank2Cert243.rows.all certR2 = true := rfl
theorem cert253 : CongruentPoints253.pts.all certRow = true := rfl
theorem cert_r2ij : Rank2Cert244.rows.all certR2 = true := rfl
theorem cert254 : CongruentPoints254.pts.all certRow = true := rfl
theorem cert_r2ik : Rank2Cert245.rows.all certR2 = true := rfl
theorem cert255 : CongruentPoints255.pts.all certRow = true := rfl
theorem cert_r2il : Rank2Cert246.rows.all certR2 = true := rfl
theorem cert256 : CongruentPoints256.pts.all certRow = true := rfl
theorem cert_r2im : Rank2Cert247.rows.all certR2 = true := rfl
theorem cert257 : CongruentPoints257.pts.all certRow = true := rfl
theorem cert_r2in : Rank2Cert248.rows.all certR2 = true := rfl
theorem cert258 : CongruentPoints258.pts.all certRow = true := rfl
theorem cert_r2io : Rank2Cert249.rows.all certR2 = true := rfl
theorem cert259 : CongruentPoints259.pts.all certRow = true := rfl
theorem cert_r2ip : Rank2Cert250.rows.all certR2 = true := rfl
theorem cert260 : CongruentPoints260.pts.all certRow = true := rfl
theorem cert_r2iq : Rank2Cert251.rows.all certR2 = true := rfl
theorem cert261 : CongruentPoints261.pts.all certRow = true := rfl
theorem cert_r2ir : Rank2Cert252.rows.all certR2 = true := rfl
theorem cert262 : CongruentPoints262.pts.all certRow = true := rfl
theorem cert_r2is : Rank2Cert253.rows.all certR2 = true := rfl
theorem cert263 : CongruentPoints263.pts.all certRow = true := rfl
theorem cert_r2it : Rank2Cert254.rows.all certR2 = true := rfl
theorem cert264 : CongruentPoints264.pts.all certRow = true := rfl
theorem cert_r2iu : Rank2Cert255.rows.all certR2 = true := rfl
theorem cert265 : CongruentPoints265.pts.all certRow = true := rfl
theorem cert_r2iv : Rank2Cert256.rows.all certR2 = true := rfl
theorem cert266 : CongruentPoints266.pts.all certRow = true := rfl
theorem cert_r2iw : Rank2Cert257.rows.all certR2 = true := rfl
theorem cert267 : CongruentPoints267.pts.all certRow = true := rfl
theorem cert_r2ix : Rank2Cert258.rows.all certR2 = true := rfl
theorem cert268 : CongruentPoints268.pts.all certRow = true := rfl
theorem cert_r2iy : Rank2Cert259.rows.all certR2 = true := rfl
theorem cert269 : CongruentPoints269.pts.all certRow = true := rfl
theorem cert_r2iz : Rank2Cert260.rows.all certR2 = true := rfl
theorem cert270 : CongruentPoints270.pts.all certRow = true := rfl
theorem cert_r2ja : Rank2Cert261.rows.all certR2 = true := rfl
theorem cert271 : CongruentPoints271.pts.all certRow = true := rfl
theorem cert_r2jb : Rank2Cert262.rows.all certR2 = true := rfl
theorem cert272 : CongruentPoints272.pts.all certRow = true := rfl
theorem cert_r2jc : Rank2Cert263.rows.all certR2 = true := rfl
theorem cert273 : CongruentPoints273.pts.all certRow = true := rfl
theorem cert_r2jd : Rank2Cert264.rows.all certR2 = true := rfl
theorem cert274 : CongruentPoints274.pts.all certRow = true := rfl
theorem cert_r2je : Rank2Cert265.rows.all certR2 = true := rfl
theorem cert275 : CongruentPoints275.pts.all certRow = true := rfl
theorem cert_r2jf : Rank2Cert266.rows.all certR2 = true := rfl
theorem cert276 : CongruentPoints276.pts.all certRow = true := rfl
theorem cert_r2jg : Rank2Cert267.rows.all certR2 = true := rfl
theorem cert277 : CongruentPoints277.pts.all certRow = true := rfl
theorem cert_r2jh : Rank2Cert268.rows.all certR2 = true := rfl
theorem cert278 : CongruentPoints278.pts.all certRow = true := rfl
theorem cert_r2ji : Rank2Cert269.rows.all certR2 = true := rfl
theorem cert279 : CongruentPoints279.pts.all certRow = true := rfl
theorem cert_r2jj : Rank2Cert270.rows.all certR2 = true := rfl
theorem cert280 : CongruentPoints280.pts.all certRow = true := rfl
theorem cert_r2jk : Rank2Cert271.rows.all certR2 = true := rfl
theorem cert281 : CongruentPoints281.pts.all certRow = true := rfl
theorem cert_r2jl : Rank2Cert272.rows.all certR2 = true := rfl
theorem cert282 : CongruentPoints282.pts.all certRow = true := rfl
theorem cert_r2jm : Rank2Cert273.rows.all certR2 = true := rfl
theorem cert283 : CongruentPoints283.pts.all certRow = true := rfl
theorem cert_r2jn : Rank2Cert274.rows.all certR2 = true := rfl
theorem cert284 : CongruentPoints284.pts.all certRow = true := rfl
theorem cert_r2jo : Rank2Cert275.rows.all certR2 = true := rfl
theorem cert285 : CongruentPoints285.pts.all certRow = true := rfl
theorem cert_r2jp : Rank2Cert276.rows.all certR2 = true := rfl
theorem cert286 : CongruentPoints286.pts.all certRow = true := rfl
theorem cert_r2jq : Rank2Cert277.rows.all certR2 = true := rfl
theorem cert287 : CongruentPoints287.pts.all certRow = true := rfl
theorem cert_r2jr : Rank2Cert278.rows.all certR2 = true := rfl
theorem cert288 : CongruentPoints288.pts.all certRow = true := rfl
theorem cert_r2js : Rank2Cert279.rows.all certR2 = true := rfl
theorem cert289 : CongruentPoints289.pts.all certRow = true := rfl
theorem cert_r2jt : Rank2Cert280.rows.all certR2 = true := rfl
theorem cert290 : CongruentPoints290.pts.all certRow = true := rfl
theorem cert_r2ju : Rank2Cert281.rows.all certR2 = true := rfl
theorem cert291 : CongruentPoints291.pts.all certRow = true := rfl
theorem cert_r2jv : Rank2Cert282.rows.all certR2 = true := rfl
theorem cert292 : CongruentPoints292.pts.all certRow = true := rfl
theorem cert_r2jw : Rank2Cert283.rows.all certR2 = true := rfl
theorem cert293 : CongruentPoints293.pts.all certRow = true := rfl
theorem cert_r2jx : Rank2Cert284.rows.all certR2 = true := rfl
theorem cert294 : CongruentPoints294.pts.all certRow = true := rfl
theorem cert_r2jy : Rank2Cert285.rows.all certR2 = true := rfl
theorem cert295 : CongruentPoints295.pts.all certRow = true := rfl
theorem cert_r2jz : Rank2Cert286.rows.all certR2 = true := rfl
theorem cert296 : CongruentPoints296.pts.all certRow = true := rfl
theorem cert_r2ka : Rank2Cert287.rows.all certR2 = true := rfl
theorem cert297 : CongruentPoints297.pts.all certRow = true := rfl
theorem cert_r2kb : Rank2Cert288.rows.all certR2 = true := rfl
theorem cert298 : CongruentPoints298.pts.all certRow = true := rfl
theorem cert_r2kc : Rank2Cert289.rows.all certR2 = true := rfl
theorem cert299 : CongruentPoints299.pts.all certRow = true := rfl
theorem cert_r2kd : Rank2Cert290.rows.all certR2 = true := rfl
theorem cert300 : CongruentPoints300.pts.all certRow = true := rfl
theorem cert_r2ke : Rank2Cert291.rows.all certR2 = true := rfl
theorem cert301 : CongruentPoints301.pts.all certRow = true := rfl
theorem cert_r2kf : Rank2Cert292.rows.all certR2 = true := rfl
theorem cert302 : CongruentPoints302.pts.all certRow = true := rfl
theorem cert_r2kg : Rank2Cert293.rows.all certR2 = true := rfl
theorem cert303 : CongruentPoints303.pts.all certRow = true := rfl
theorem cert_r2kh : Rank2Cert294.rows.all certR2 = true := rfl
theorem cert304 : CongruentPoints304.pts.all certRow = true := rfl
theorem cert_r2ki : Rank2Cert295.rows.all certR2 = true := rfl
theorem cert305 : CongruentPoints305.pts.all certRow = true := rfl
theorem cert_r2kj : Rank2Cert296.rows.all certR2 = true := rfl
theorem cert306 : CongruentPoints306.pts.all certRow = true := rfl
theorem cert_r2kk : Rank2Cert297.rows.all certR2 = true := rfl
theorem cert307 : CongruentPoints307.pts.all certRow = true := rfl
theorem cert_r2kl : Rank2Cert298.rows.all certR2 = true := rfl
theorem cert308 : CongruentPoints308.pts.all certRow = true := rfl
theorem cert_r2km : Rank2Cert299.rows.all certR2 = true := rfl
theorem cert309 : CongruentPoints309.pts.all certRow = true := rfl
theorem cert_r2kn : Rank2Cert300.rows.all certR2 = true := rfl
theorem cert310 : CongruentPoints310.pts.all certRow = true := rfl
theorem cert_r2ko : Rank2Cert301.rows.all certR2 = true := rfl
theorem cert311 : CongruentPoints311.pts.all certRow = true := rfl
theorem cert_r2kp : Rank2Cert302.rows.all certR2 = true := rfl
theorem cert312 : CongruentPoints312.pts.all certRow = true := rfl
theorem cert_r2kq : Rank2Cert303.rows.all certR2 = true := rfl
theorem cert313 : CongruentPoints313.pts.all certRow = true := rfl
theorem cert_r2kr : Rank2Cert304.rows.all certR2 = true := rfl
theorem cert314 : CongruentPoints314.pts.all certRow = true := rfl
theorem cert_r2ks : Rank2Cert305.rows.all certR2 = true := rfl
theorem cert315 : CongruentPoints315.pts.all certRow = true := rfl
theorem cert_r2kt : Rank2Cert306.rows.all certR2 = true := rfl
theorem cert316 : CongruentPoints316.pts.all certRow = true := rfl
theorem cert_r2ku : Rank2Cert307.rows.all certR2 = true := rfl
theorem cert317 : CongruentPoints317.pts.all certRow = true := rfl
theorem cert_r2kv : Rank2Cert308.rows.all certR2 = true := rfl
theorem cert318 : CongruentPoints318.pts.all certRow = true := rfl
theorem cert_r2kw : Rank2Cert309.rows.all certR2 = true := rfl
theorem cert319 : CongruentPoints319.pts.all certRow = true := rfl
theorem cert_r2kx : Rank2Cert310.rows.all certR2 = true := rfl
theorem cert320 : CongruentPoints320.pts.all certRow = true := rfl
theorem cert_r2ky : Rank2Cert311.rows.all certR2 = true := rfl
theorem cert321 : CongruentPoints321.pts.all certRow = true := rfl
theorem cert_r2kz : Rank2Cert312.rows.all certR2 = true := rfl
theorem cert322 : CongruentPoints322.pts.all certRow = true := rfl
theorem cert_r2la : Rank2Cert313.rows.all certR2 = true := rfl
theorem cert323 : CongruentPoints323.pts.all certRow = true := rfl
theorem cert_r2lb : Rank2Cert314.rows.all certR2 = true := rfl
theorem cert324 : CongruentPoints324.pts.all certRow = true := rfl
theorem cert_r2lc : Rank2Cert315.rows.all certR2 = true := rfl
theorem cert325 : CongruentPoints325.pts.all certRow = true := rfl
theorem cert_r2ld : Rank2Cert316.rows.all certR2 = true := rfl
theorem cert326 : CongruentPoints326.pts.all certRow = true := rfl
theorem cert_r2le : Rank2Cert317.rows.all certR2 = true := rfl
theorem cert327 : CongruentPoints327.pts.all certRow = true := rfl
theorem cert_r2lf : Rank2Cert318.rows.all certR2 = true := rfl
theorem cert328 : CongruentPoints328.pts.all certRow = true := rfl
theorem cert_r2lg : Rank2Cert319.rows.all certR2 = true := rfl
theorem cert329 : CongruentPoints329.pts.all certRow = true := rfl
theorem cert_r2lh : Rank2Cert320.rows.all certR2 = true := rfl
theorem cert330 : CongruentPoints330.pts.all certRow = true := rfl
theorem cert_r2li : Rank2Cert321.rows.all certR2 = true := rfl
theorem cert331 : CongruentPoints331.pts.all certRow = true := rfl
theorem cert_r2lj : Rank2Cert322.rows.all certR2 = true := rfl
theorem cert332 : CongruentPoints332.pts.all certRow = true := rfl
theorem cert_r2lk : Rank2Cert323.rows.all certR2 = true := rfl
theorem cert333 : CongruentPoints333.pts.all certRow = true := rfl
theorem cert_r2ll : Rank2Cert324.rows.all certR2 = true := rfl
theorem cert334 : CongruentPoints334.pts.all certRow = true := rfl
theorem cert_r2lm : Rank2Cert325.rows.all certR2 = true := rfl
theorem cert335 : CongruentPoints335.pts.all certRow = true := rfl
theorem cert_r2ln : Rank2Cert326.rows.all certR2 = true := rfl
theorem cert336 : CongruentPoints336.pts.all certRow = true := rfl
theorem cert_r2lo : Rank2Cert327.rows.all certR2 = true := rfl
theorem cert337 : CongruentPoints337.pts.all certRow = true := rfl
theorem cert_r2lp : Rank2Cert328.rows.all certR2 = true := rfl
theorem cert338 : CongruentPoints338.pts.all certRow = true := rfl
theorem cert_r2lq : Rank2Cert329.rows.all certR2 = true := rfl
theorem cert339 : CongruentPoints339.pts.all certRow = true := rfl
theorem cert_r2lr : Rank2Cert330.rows.all certR2 = true := rfl
theorem cert340 : CongruentPoints340.pts.all certRow = true := rfl
theorem cert_r2ls : Rank2Cert331.rows.all certR2 = true := rfl
theorem cert341 : CongruentPoints341.pts.all certRow = true := rfl
theorem cert_r2lt : Rank2Cert332.rows.all certR2 = true := rfl
theorem cert342 : CongruentPoints342.pts.all certRow = true := rfl
theorem cert_r2lu : Rank2Cert333.rows.all certR2 = true := rfl
theorem cert343 : CongruentPoints343.pts.all certRow = true := rfl
theorem cert_r2lv : Rank2Cert334.rows.all certR2 = true := rfl
theorem cert344 : CongruentPoints344.pts.all certRow = true := rfl
theorem cert_r2lw : Rank2Cert335.rows.all certR2 = true := rfl
theorem cert345 : CongruentPoints345.pts.all certRow = true := rfl
theorem cert_r2lx : Rank2Cert336.rows.all certR2 = true := rfl
theorem cert346 : CongruentPoints346.pts.all certRow = true := rfl
theorem cert_r2ly : Rank2Cert337.rows.all certR2 = true := rfl
theorem cert347 : CongruentPoints347.pts.all certRow = true := rfl
theorem cert_r2lz : Rank2Cert338.rows.all certR2 = true := rfl
theorem cert348 : CongruentPoints348.pts.all certRow = true := rfl
theorem cert_r2ma : Rank2Cert339.rows.all certR2 = true := rfl
theorem cert349 : CongruentPoints349.pts.all certRow = true := rfl
theorem cert_r2mb : Rank2Cert340.rows.all certR2 = true := rfl
theorem cert350 : CongruentPoints350.pts.all certRow = true := rfl
theorem cert_r2mc : Rank2Cert341.rows.all certR2 = true := rfl
theorem cert351 : CongruentPoints351.pts.all certRow = true := rfl
theorem cert_r2md : Rank2Cert342.rows.all certR2 = true := rfl
theorem cert352 : CongruentPoints352.pts.all certRow = true := rfl
theorem cert_r2me : Rank2Cert343.rows.all certR2 = true := rfl
theorem cert353 : CongruentPoints353.pts.all certRow = true := rfl
theorem cert_r2mf : Rank2Cert344.rows.all certR2 = true := rfl
theorem cert354 : CongruentPoints354.pts.all certRow = true := rfl
theorem cert_r2mg : Rank2Cert345.rows.all certR2 = true := rfl
theorem cert355 : CongruentPoints355.pts.all certRow = true := rfl
theorem cert_r2mh : Rank2Cert346.rows.all certR2 = true := rfl
theorem cert356 : CongruentPoints356.pts.all certRow = true := rfl
theorem cert_r2mi : Rank2Cert347.rows.all certR2 = true := rfl
theorem cert357 : CongruentPoints357.pts.all certRow = true := rfl
theorem cert_r2mj : Rank2Cert348.rows.all certR2 = true := rfl
theorem cert358 : CongruentPoints358.pts.all certRow = true := rfl
theorem cert_r2mk : Rank2Cert349.rows.all certR2 = true := rfl
theorem cert359 : CongruentPoints359.pts.all certRow = true := rfl
theorem cert_r2ml : Rank2Cert350.rows.all certR2 = true := rfl
theorem cert360 : CongruentPoints360.pts.all certRow = true := rfl
theorem cert_r2mm : Rank2Cert351.rows.all certR2 = true := rfl
theorem cert361 : CongruentPoints361.pts.all certRow = true := rfl
theorem cert_r2mn : Rank2Cert352.rows.all certR2 = true := rfl
theorem cert362 : CongruentPoints362.pts.all certRow = true := rfl
theorem cert_r2mo : Rank2Cert353.rows.all certR2 = true := rfl
theorem cert363 : CongruentPoints363.pts.all certRow = true := rfl
theorem cert_r2mp : Rank2Cert354.rows.all certR2 = true := rfl
theorem cert364 : CongruentPoints364.pts.all certRow = true := rfl
theorem cert_r2mq : Rank2Cert355.rows.all certR2 = true := rfl
theorem cert365 : CongruentPoints365.pts.all certRow = true := rfl
theorem cert_r2mr : Rank2Cert356.rows.all certR2 = true := rfl
theorem cert366 : CongruentPoints366.pts.all certRow = true := rfl
theorem cert_r2ms : Rank2Cert357.rows.all certR2 = true := rfl
theorem cert367 : CongruentPoints367.pts.all certRow = true := rfl
theorem cert_r2mt : Rank2Cert358.rows.all certR2 = true := rfl
theorem cert368 : CongruentPoints368.pts.all certRow = true := rfl
theorem cert_r2mu : Rank2Cert359.rows.all certR2 = true := rfl
theorem cert369 : CongruentPoints369.pts.all certRow = true := rfl
theorem cert_r2mv : Rank2Cert360.rows.all certR2 = true := rfl
theorem cert370 : CongruentPoints370.pts.all certRow = true := rfl
theorem cert_r2mw : Rank2Cert361.rows.all certR2 = true := rfl
theorem cert371 : CongruentPoints371.pts.all certRow = true := rfl
theorem cert_r2mx : Rank2Cert362.rows.all certR2 = true := rfl
theorem cert372 : CongruentPoints372.pts.all certRow = true := rfl
theorem cert_r2my : Rank2Cert363.rows.all certR2 = true := rfl
theorem cert373 : CongruentPoints373.pts.all certRow = true := rfl
theorem cert_r2mz : Rank2Cert364.rows.all certR2 = true := rfl
theorem cert374 : CongruentPoints374.pts.all certRow = true := rfl
theorem cert_r2na : Rank2Cert365.rows.all certR2 = true := rfl
theorem cert375 : CongruentPoints375.pts.all certRow = true := rfl
theorem cert_r2nb : Rank2Cert366.rows.all certR2 = true := rfl
theorem cert376 : CongruentPoints376.pts.all certRow = true := rfl
theorem cert_r2nc : Rank2Cert367.rows.all certR2 = true := rfl
theorem cert377 : CongruentPoints377.pts.all certRow = true := rfl
theorem cert_r2nd : Rank2Cert368.rows.all certR2 = true := rfl
theorem cert378 : CongruentPoints378.pts.all certRow = true := rfl
theorem cert_r2ne : Rank2Cert369.rows.all certR2 = true := rfl
theorem cert379 : CongruentPoints379.pts.all certRow = true := rfl
theorem cert_r2nf : Rank2Cert370.rows.all certR2 = true := rfl
theorem cert380 : CongruentPoints380.pts.all certRow = true := rfl
theorem cert_r2ng : Rank2Cert371.rows.all certR2 = true := rfl
theorem cert381 : CongruentPoints381.pts.all certRow = true := rfl
theorem cert_r2nh : Rank2Cert372.rows.all certR2 = true := rfl
theorem cert382 : CongruentPoints382.pts.all certRow = true := rfl
theorem cert_r2ni : Rank2Cert373.rows.all certR2 = true := rfl
theorem cert383 : CongruentPoints383.pts.all certRow = true := rfl
theorem cert_r2nj : Rank2Cert374.rows.all certR2 = true := rfl
theorem cert384 : CongruentPoints384.pts.all certRow = true := rfl
theorem cert_r2nk : Rank2Cert375.rows.all certR2 = true := rfl
theorem cert385 : CongruentPoints385.pts.all certRow = true := rfl
theorem cert_r2nl : Rank2Cert376.rows.all certR2 = true := rfl
theorem cert386 : CongruentPoints386.pts.all certRow = true := rfl
theorem cert_r2nm : Rank2Cert377.rows.all certR2 = true := rfl
theorem cert387 : CongruentPoints387.pts.all certRow = true := rfl
theorem cert_r2nn : Rank2Cert378.rows.all certR2 = true := rfl
theorem cert388 : CongruentPoints388.pts.all certRow = true := rfl
theorem cert_r2no : Rank2Cert379.rows.all certR2 = true := rfl
theorem cert389 : CongruentPoints389.pts.all certRow = true := rfl
theorem cert_r2np : Rank2Cert380.rows.all certR2 = true := rfl
theorem cert390 : CongruentPoints390.pts.all certRow = true := rfl
theorem cert_r2nq : Rank2Cert381.rows.all certR2 = true := rfl
theorem cert391 : CongruentPoints391.pts.all certRow = true := rfl
theorem cert_r2nr : Rank2Cert382.rows.all certR2 = true := rfl
theorem cert392 : CongruentPoints392.pts.all certRow = true := rfl
theorem cert_r2ns : Rank2Cert383.rows.all certR2 = true := rfl
theorem cert393 : CongruentPoints393.pts.all certRow = true := rfl
theorem cert_r2nt : Rank2Cert384.rows.all certR2 = true := rfl
theorem cert394 : CongruentPoints394.pts.all certRow = true := rfl
theorem cert_r2nu : Rank2Cert385.rows.all certR2 = true := rfl
theorem cert395 : CongruentPoints395.pts.all certRow = true := rfl
theorem cert_r2nv : Rank2Cert386.rows.all certR2 = true := rfl
theorem cert396 : CongruentPoints396.pts.all certRow = true := rfl
theorem cert_r2nw : Rank2Cert387.rows.all certR2 = true := rfl
theorem cert397 : CongruentPoints397.pts.all certRow = true := rfl
theorem cert_r2nx : Rank2Cert388.rows.all certR2 = true := rfl
theorem cert398 : CongruentPoints398.pts.all certRow = true := rfl
theorem cert_r2ny : Rank2Cert389.rows.all certR2 = true := rfl
theorem cert399 : CongruentPoints399.pts.all certRow = true := rfl
theorem cert_r2nz : Rank2Cert390.rows.all certR2 = true := rfl
theorem cert400 : CongruentPoints400.pts.all certRow = true := rfl
theorem cert_r2oa : Rank2Cert391.rows.all certR2 = true := rfl
theorem cert401 : CongruentPoints401.pts.all certRow = true := rfl
theorem cert_r2ob : Rank2Cert392.rows.all certR2 = true := rfl
theorem cert402 : CongruentPoints402.pts.all certRow = true := rfl
theorem cert_r2oc : Rank2Cert393.rows.all certR2 = true := rfl
theorem cert403 : CongruentPoints403.pts.all certRow = true := rfl
theorem cert_r2od : Rank2Cert394.rows.all certR2 = true := rfl
theorem cert404 : CongruentPoints404.pts.all certRow = true := rfl
theorem cert_r2oe : Rank2Cert395.rows.all certR2 = true := rfl
theorem cert405 : CongruentPoints405.pts.all certRow = true := rfl
theorem cert_r2of : Rank2Cert396.rows.all certR2 = true := rfl
theorem cert406 : CongruentPoints406.pts.all certRow = true := rfl
theorem cert_r2og : Rank2Cert397.rows.all certR2 = true := rfl
theorem cert407 : CongruentPoints407.pts.all certRow = true := rfl
theorem cert_r2oh : Rank2Cert398.rows.all certR2 = true := rfl
theorem cert408 : CongruentPoints408.pts.all certRow = true := rfl
theorem cert_r2oi : Rank2Cert399.rows.all certR2 = true := rfl
theorem cert409 : CongruentPoints409.pts.all certRow = true := rfl
theorem cert_r2oj : Rank2Cert400.rows.all certR2 = true := rfl
theorem cert410 : CongruentPoints410.pts.all certRow = true := rfl
theorem cert_r2ok : Rank2Cert401.rows.all certR2 = true := rfl
theorem cert411 : CongruentPoints411.pts.all certRow = true := rfl
theorem cert_r2ol : Rank2Cert402.rows.all certR2 = true := rfl
theorem cert412 : CongruentPoints412.pts.all certRow = true := rfl
theorem cert_r2om : Rank2Cert403.rows.all certR2 = true := rfl
theorem cert413 : CongruentPoints413.pts.all certRow = true := rfl
theorem cert_r2on : Rank2Cert404.rows.all certR2 = true := rfl
theorem cert414 : CongruentPoints414.pts.all certRow = true := rfl
theorem cert_r2oo : Rank2Cert405.rows.all certR2 = true := rfl
theorem cert415 : CongruentPoints415.pts.all certRow = true := rfl
theorem cert_r2op : Rank2Cert406.rows.all certR2 = true := rfl
theorem cert416 : CongruentPoints416.pts.all certRow = true := rfl
theorem cert_r2oq : Rank2Cert407.rows.all certR2 = true := rfl
theorem cert417 : CongruentPoints417.pts.all certRow = true := rfl
theorem cert_r2or : Rank2Cert408.rows.all certR2 = true := rfl
theorem cert418 : CongruentPoints418.pts.all certRow = true := rfl
theorem cert_r2os : Rank2Cert409.rows.all certR2 = true := rfl
theorem cert419 : CongruentPoints419.pts.all certRow = true := rfl
theorem cert_r2ot : Rank2Cert410.rows.all certR2 = true := rfl
theorem cert420 : CongruentPoints420.pts.all certRow = true := rfl
theorem cert_r2ou : Rank2Cert411.rows.all certR2 = true := rfl
theorem cert421 : CongruentPoints421.pts.all certRow = true := rfl
theorem cert_r2ov : Rank2Cert412.rows.all certR2 = true := rfl
theorem cert422 : CongruentPoints422.pts.all certRow = true := rfl
theorem cert_r2ow : Rank2Cert413.rows.all certR2 = true := rfl
theorem cert423 : CongruentPoints423.pts.all certRow = true := rfl
theorem cert_r2ox : Rank2Cert414.rows.all certR2 = true := rfl
theorem cert424 : CongruentPoints424.pts.all certRow = true := rfl
theorem cert_r2oy : Rank2Cert415.rows.all certR2 = true := rfl
theorem cert425 : CongruentPoints425.pts.all certRow = true := rfl
theorem cert_r2oz : Rank2Cert416.rows.all certR2 = true := rfl
theorem cert426 : CongruentPoints426.pts.all certRow = true := rfl
theorem cert_r2pa : Rank2Cert417.rows.all certR2 = true := rfl
theorem cert427 : CongruentPoints427.pts.all certRow = true := rfl
theorem cert_r2pb : Rank2Cert418.rows.all certR2 = true := rfl
theorem cert428 : CongruentPoints428.pts.all certRow = true := rfl
theorem cert_r2pc : Rank2Cert419.rows.all certR2 = true := rfl
theorem cert429 : CongruentPoints429.pts.all certRow = true := rfl
theorem cert_r2pd : Rank2Cert420.rows.all certR2 = true := rfl
theorem cert430 : CongruentPoints430.pts.all certRow = true := rfl
theorem cert_r2pe : Rank2Cert421.rows.all certR2 = true := rfl
theorem cert431 : CongruentPoints431.pts.all certRow = true := rfl
theorem cert_r2pf : Rank2Cert422.rows.all certR2 = true := rfl
theorem cert432 : CongruentPoints432.pts.all certRow = true := rfl
theorem cert_r2pg : Rank2Cert423.rows.all certR2 = true := rfl
theorem cert433 : CongruentPoints433.pts.all certRow = true := rfl
theorem cert_r2ph : Rank2Cert424.rows.all certR2 = true := rfl
theorem cert434 : CongruentPoints434.pts.all certRow = true := rfl
theorem cert_r2pi : Rank2Cert425.rows.all certR2 = true := rfl
theorem cert435 : CongruentPoints435.pts.all certRow = true := rfl
theorem cert_r2pj : Rank2Cert426.rows.all certR2 = true := rfl
theorem cert436 : CongruentPoints436.pts.all certRow = true := rfl
theorem cert_r2pk : Rank2Cert427.rows.all certR2 = true := rfl
theorem cert437 : CongruentPoints437.pts.all certRow = true := rfl
theorem cert_r2pl : Rank2Cert428.rows.all certR2 = true := rfl
theorem cert438 : CongruentPoints438.pts.all certRow = true := rfl
theorem cert_r2pm : Rank2Cert429.rows.all certR2 = true := rfl
theorem cert439 : CongruentPoints439.pts.all certRow = true := rfl
theorem cert_r2pn : Rank2Cert430.rows.all certR2 = true := rfl
theorem cert440 : CongruentPoints440.pts.all certRow = true := rfl
theorem cert_r2po : Rank2Cert431.rows.all certR2 = true := rfl
theorem cert441 : CongruentPoints441.pts.all certRow = true := rfl
theorem cert_r2pp : Rank2Cert432.rows.all certR2 = true := rfl
theorem cert442 : CongruentPoints442.pts.all certRow = true := rfl
theorem cert_r2pq : Rank2Cert433.rows.all certR2 = true := rfl
theorem cert443 : CongruentPoints443.pts.all certRow = true := rfl
theorem cert_r2pr : Rank2Cert434.rows.all certR2 = true := rfl
theorem cert444 : CongruentPoints444.pts.all certRow = true := rfl
theorem cert_r2ps : Rank2Cert435.rows.all certR2 = true := rfl
theorem cert445 : CongruentPoints445.pts.all certRow = true := rfl
theorem cert_r2pt : Rank2Cert436.rows.all certR2 = true := rfl
theorem cert446 : CongruentPoints446.pts.all certRow = true := rfl
theorem cert_r2pu : Rank2Cert437.rows.all certR2 = true := rfl
theorem cert447 : CongruentPoints447.pts.all certRow = true := rfl
theorem cert_r2pv : Rank2Cert438.rows.all certR2 = true := rfl
theorem cert448 : CongruentPoints448.pts.all certRow = true := rfl
theorem cert_r2pw : Rank2Cert439.rows.all certR2 = true := rfl
theorem cert449 : CongruentPoints449.pts.all certRow = true := rfl
theorem cert_r2px : Rank2Cert440.rows.all certR2 = true := rfl
theorem cert450 : CongruentPoints450.pts.all certRow = true := rfl
theorem cert_r2py : Rank2Cert441.rows.all certR2 = true := rfl
theorem cert451 : CongruentPoints451.pts.all certRow = true := rfl
theorem cert_r2pz : Rank2Cert442.rows.all certR2 = true := rfl
theorem cert452 : CongruentPoints452.pts.all certRow = true := rfl
theorem cert_r2qa : Rank2Cert443.rows.all certR2 = true := rfl
theorem cert453 : CongruentPoints453.pts.all certRow = true := rfl
theorem cert_r2qb : Rank2Cert444.rows.all certR2 = true := rfl
theorem cert454 : CongruentPoints454.pts.all certRow = true := rfl
theorem cert_r2qc : Rank2Cert445.rows.all certR2 = true := rfl
theorem cert455 : CongruentPoints455.pts.all certRow = true := rfl
theorem cert_r2qd : Rank2Cert446.rows.all certR2 = true := rfl
theorem cert456 : CongruentPoints456.pts.all certRow = true := rfl
theorem cert_r2qe : Rank2Cert447.rows.all certR2 = true := rfl
theorem cert457 : CongruentPoints457.pts.all certRow = true := rfl
theorem cert_r2qf : Rank2Cert448.rows.all certR2 = true := rfl
theorem cert458 : CongruentPoints458.pts.all certRow = true := rfl
theorem cert_r2qg : Rank2Cert449.rows.all certR2 = true := rfl
theorem cert459 : CongruentPoints459.pts.all certRow = true := rfl
theorem cert_r2qh : Rank2Cert450.rows.all certR2 = true := rfl
theorem cert460 : CongruentPoints460.pts.all certRow = true := rfl
theorem cert_r2qi : Rank2Cert451.rows.all certR2 = true := rfl
theorem cert461 : CongruentPoints461.pts.all certRow = true := rfl
theorem cert_r2qj : Rank2Cert452.rows.all certR2 = true := rfl
theorem cert462 : CongruentPoints462.pts.all certRow = true := rfl
theorem cert_r2qk : Rank2Cert453.rows.all certR2 = true := rfl
theorem cert463 : CongruentPoints463.pts.all certRow = true := rfl
theorem cert_r2ql : Rank2Cert454.rows.all certR2 = true := rfl
theorem cert464 : CongruentPoints464.pts.all certRow = true := rfl
theorem cert_r2qm : Rank2Cert455.rows.all certR2 = true := rfl
theorem cert465 : CongruentPoints465.pts.all certRow = true := rfl
theorem cert_r2qn : Rank2Cert456.rows.all certR2 = true := rfl
theorem cert466 : CongruentPoints466.pts.all certRow = true := rfl
theorem cert_r2qo : Rank2Cert457.rows.all certR2 = true := rfl
theorem cert467 : CongruentPoints467.pts.all certRow = true := rfl
theorem cert_r2qp : Rank2Cert458.rows.all certR2 = true := rfl
theorem cert468 : CongruentPoints468.pts.all certRow = true := rfl
theorem cert_r2qq : Rank2Cert459.rows.all certR2 = true := rfl
theorem cert469 : CongruentPoints469.pts.all certRow = true := rfl
theorem cert_r2qr : Rank2Cert460.rows.all certR2 = true := rfl
theorem cert470 : CongruentPoints470.pts.all certRow = true := rfl
theorem cert_r2qs : Rank2Cert461.rows.all certR2 = true := rfl
theorem cert471 : CongruentPoints471.pts.all certRow = true := rfl
theorem cert_r2qt : Rank2Cert462.rows.all certR2 = true := rfl
theorem cert472 : CongruentPoints472.pts.all certRow = true := rfl
theorem cert_r2qu : Rank2Cert463.rows.all certR2 = true := rfl
theorem cert473 : CongruentPoints473.pts.all certRow = true := rfl
theorem cert_r2qv : Rank2Cert464.rows.all certR2 = true := rfl
theorem cert474 : CongruentPoints474.pts.all certRow = true := rfl
theorem cert_r2qw : Rank2Cert465.rows.all certR2 = true := rfl
theorem cert475 : CongruentPoints475.pts.all certRow = true := rfl
theorem cert_r2qx : Rank2Cert466.rows.all certR2 = true := rfl
theorem cert476 : CongruentPoints476.pts.all certRow = true := rfl
theorem cert_r2qy : Rank2Cert467.rows.all certR2 = true := rfl
theorem cert477 : CongruentPoints477.pts.all certRow = true := rfl
theorem cert_r2qz : Rank2Cert468.rows.all certR2 = true := rfl
theorem cert478 : CongruentPoints478.pts.all certRow = true := rfl
theorem cert_r2ra : Rank2Cert469.rows.all certR2 = true := rfl
theorem cert479 : CongruentPoints479.pts.all certRow = true := rfl
theorem cert_r2rb : Rank2Cert470.rows.all certR2 = true := rfl
theorem cert480 : CongruentPoints480.pts.all certRow = true := rfl
theorem cert_r2rc : Rank2Cert471.rows.all certR2 = true := rfl
theorem cert481 : CongruentPoints481.pts.all certRow = true := rfl
theorem cert_r2rd : Rank2Cert472.rows.all certR2 = true := rfl
theorem cert482 : CongruentPoints482.pts.all certRow = true := rfl
theorem cert_r2re : Rank2Cert473.rows.all certR2 = true := rfl
theorem cert483 : CongruentPoints483.pts.all certRow = true := rfl
theorem cert_r2rf : Rank2Cert474.rows.all certR2 = true := rfl
theorem cert484 : CongruentPoints484.pts.all certRow = true := rfl
theorem cert_r2rg : Rank2Cert475.rows.all certR2 = true := rfl
theorem cert485 : CongruentPoints485.pts.all certRow = true := rfl
theorem cert_r2rh : Rank2Cert476.rows.all certR2 = true := rfl
theorem cert486 : CongruentPoints486.pts.all certRow = true := rfl
theorem cert_r2ri : Rank2Cert477.rows.all certR2 = true := rfl
theorem cert487 : CongruentPoints487.pts.all certRow = true := rfl
theorem cert_r2rj : Rank2Cert478.rows.all certR2 = true := rfl
theorem cert488 : CongruentPoints488.pts.all certRow = true := rfl
theorem cert_r2rk : Rank2Cert479.rows.all certR2 = true := rfl
theorem cert489 : CongruentPoints489.pts.all certRow = true := rfl
theorem cert_r2rl : Rank2Cert480.rows.all certR2 = true := rfl
theorem cert490 : CongruentPoints490.pts.all certRow = true := rfl
theorem cert_r2rm : Rank2Cert481.rows.all certR2 = true := rfl
theorem cert491 : CongruentPoints491.pts.all certRow = true := rfl
theorem cert_r2rn : Rank2Cert482.rows.all certR2 = true := rfl
theorem cert492 : CongruentPoints492.pts.all certRow = true := rfl
theorem cert_r2ro : Rank2Cert483.rows.all certR2 = true := rfl
theorem cert493 : CongruentPoints493.pts.all certRow = true := rfl
theorem cert_r2rp : Rank2Cert484.rows.all certR2 = true := rfl
theorem cert494 : CongruentPoints494.pts.all certRow = true := rfl
theorem cert_r2rq : Rank2Cert485.rows.all certR2 = true := rfl
theorem cert495 : CongruentPoints495.pts.all certRow = true := rfl
theorem cert_r2rr : Rank2Cert486.rows.all certR2 = true := rfl
theorem cert496 : CongruentPoints496.pts.all certRow = true := rfl
theorem cert_r2rs : Rank2Cert487.rows.all certR2 = true := rfl
theorem cert497 : CongruentPoints497.pts.all certRow = true := rfl
theorem cert_r2rt : Rank2Cert488.rows.all certR2 = true := rfl
theorem cert498 : CongruentPoints498.pts.all certRow = true := rfl
theorem cert_r2ru : Rank2Cert489.rows.all certR2 = true := rfl
theorem cert499 : CongruentPoints499.pts.all certRow = true := rfl
theorem cert_r2rv : Rank2Cert490.rows.all certR2 = true := rfl
theorem cert500 : CongruentPoints500.pts.all certRow = true := rfl
theorem cert_r2rw : Rank2Cert491.rows.all certR2 = true := rfl
theorem cert501 : CongruentPoints501.pts.all certRow = true := rfl
theorem cert_r2rx : Rank2Cert492.rows.all certR2 = true := rfl
theorem cert502 : CongruentPoints502.pts.all certRow = true := rfl
theorem cert_r2ry : Rank2Cert493.rows.all certR2 = true := rfl
theorem cert503 : CongruentPoints503.pts.all certRow = true := rfl
theorem cert_r2rz : Rank2Cert494.rows.all certR2 = true := rfl
theorem cert504 : CongruentPoints504.pts.all certRow = true := rfl
theorem cert_r2sa : Rank2Cert495.rows.all certR2 = true := rfl
theorem cert505 : CongruentPoints505.pts.all certRow = true := rfl
theorem cert_r2sb : Rank2Cert496.rows.all certR2 = true := rfl
theorem cert506 : CongruentPoints506.pts.all certRow = true := rfl
theorem cert_r2sc : Rank2Cert497.rows.all certR2 = true := rfl
theorem cert507 : CongruentPoints507.pts.all certRow = true := rfl
theorem cert_r2sd : Rank2Cert498.rows.all certR2 = true := rfl
theorem cert508 : CongruentPoints508.pts.all certRow = true := rfl
theorem cert_r2se : Rank2Cert499.rows.all certR2 = true := rfl
theorem cert509 : CongruentPoints509.pts.all certRow = true := rfl
theorem cert_r2sf : Rank2Cert500.rows.all certR2 = true := rfl
theorem cert510 : CongruentPoints510.pts.all certRow = true := rfl
theorem cert_r2sg : Rank2Cert501.rows.all certR2 = true := rfl
theorem cert511 : CongruentPoints511.pts.all certRow = true := rfl
theorem cert_r2sh : Rank2Cert502.rows.all certR2 = true := rfl
theorem cert512 : CongruentPoints512.pts.all certRow = true := rfl
theorem cert_r2si : Rank2Cert503.rows.all certR2 = true := rfl
theorem cert513 : CongruentPoints513.pts.all certRow = true := rfl
theorem cert_r2sj : Rank2Cert504.rows.all certR2 = true := rfl
theorem cert514 : CongruentPoints514.pts.all certRow = true := rfl
theorem cert_r2sk : Rank2Cert505.rows.all certR2 = true := rfl
theorem cert515 : CongruentPoints515.pts.all certRow = true := rfl
theorem cert_r2sl : Rank2Cert506.rows.all certR2 = true := rfl
theorem cert516 : CongruentPoints516.pts.all certRow = true := rfl
theorem cert_r2sm : Rank2Cert507.rows.all certR2 = true := rfl
theorem cert517 : CongruentPoints517.pts.all certRow = true := rfl
theorem cert_r2sn : Rank2Cert508.rows.all certR2 = true := rfl
theorem cert518 : CongruentPoints518.pts.all certRow = true := rfl
theorem cert_r2so : Rank2Cert509.rows.all certR2 = true := rfl
theorem cert519 : CongruentPoints519.pts.all certRow = true := rfl
theorem cert_r2sp : Rank2Cert510.rows.all certR2 = true := rfl
theorem cert520 : CongruentPoints520.pts.all certRow = true := rfl
theorem cert_r2sq : Rank2Cert511.rows.all certR2 = true := rfl
theorem cert521 : CongruentPoints521.pts.all certRow = true := rfl
theorem cert_r2sr : Rank2Cert512.rows.all certR2 = true := rfl
theorem cert522 : CongruentPoints522.pts.all certRow = true := rfl
theorem cert_r2ss : Rank2Cert513.rows.all certR2 = true := rfl
theorem cert523 : CongruentPoints523.pts.all certRow = true := rfl
theorem cert_r2st : Rank2Cert514.rows.all certR2 = true := rfl
theorem cert524 : CongruentPoints524.pts.all certRow = true := rfl
theorem cert_r2su : Rank2Cert515.rows.all certR2 = true := rfl
theorem cert525 : CongruentPoints525.pts.all certRow = true := rfl
theorem cert_r2sv : Rank2Cert516.rows.all certR2 = true := rfl
theorem cert526 : CongruentPoints526.pts.all certRow = true := rfl
theorem cert_r2sw : Rank2Cert517.rows.all certR2 = true := rfl
theorem cert527 : CongruentPoints527.pts.all certRow = true := rfl
theorem cert_r2sx : Rank2Cert518.rows.all certR2 = true := rfl
theorem cert528 : CongruentPoints528.pts.all certRow = true := rfl
theorem cert_r2sy : Rank2Cert519.rows.all certR2 = true := rfl
theorem cert529 : CongruentPoints529.pts.all certRow = true := rfl
theorem cert_r2sz : Rank2Cert520.rows.all certR2 = true := rfl
theorem cert530 : CongruentPoints530.pts.all certRow = true := rfl
theorem cert_r2ta : Rank2Cert521.rows.all certR2 = true := rfl
theorem cert531 : CongruentPoints531.pts.all certRow = true := rfl
theorem cert_r2tb : Rank2Cert522.rows.all certR2 = true := rfl
theorem cert532 : CongruentPoints532.pts.all certRow = true := rfl
theorem cert_r2tc : Rank2Cert523.rows.all certR2 = true := rfl
theorem cert533 : CongruentPoints533.pts.all certRow = true := rfl
theorem cert_r2td : Rank2Cert524.rows.all certR2 = true := rfl
theorem cert534 : CongruentPoints534.pts.all certRow = true := rfl
theorem cert_r2te : Rank2Cert525.rows.all certR2 = true := rfl
theorem cert535 : CongruentPoints535.pts.all certRow = true := rfl
theorem cert_r2tf : Rank2Cert526.rows.all certR2 = true := rfl
theorem cert536 : CongruentPoints536.pts.all certRow = true := rfl
theorem cert_r2tg : Rank2Cert527.rows.all certR2 = true := rfl
theorem cert537 : CongruentPoints537.pts.all certRow = true := rfl
theorem cert_r2th : Rank2Cert528.rows.all certR2 = true := rfl
theorem cert538 : CongruentPoints538.pts.all certRow = true := rfl
theorem cert_r2ti : Rank2Cert529.rows.all certR2 = true := rfl
theorem cert539 : CongruentPoints539.pts.all certRow = true := rfl
theorem cert_r2tj : Rank2Cert530.rows.all certR2 = true := rfl
theorem cert540 : CongruentPoints540.pts.all certRow = true := rfl
theorem cert_r2tk : Rank2Cert531.rows.all certR2 = true := rfl
theorem cert541 : CongruentPoints541.pts.all certRow = true := rfl
theorem cert_r2tl : Rank2Cert532.rows.all certR2 = true := rfl
theorem cert542 : CongruentPoints542.pts.all certRow = true := rfl
theorem cert_r2tm : Rank2Cert533.rows.all certR2 = true := rfl
theorem cert543 : CongruentPoints543.pts.all certRow = true := rfl
theorem cert_r2tn : Rank2Cert534.rows.all certR2 = true := rfl
theorem cert544 : CongruentPoints544.pts.all certRow = true := rfl
theorem cert_r2to : Rank2Cert535.rows.all certR2 = true := rfl
theorem cert545 : CongruentPoints545.pts.all certRow = true := rfl
theorem cert_r2tp : Rank2Cert536.rows.all certR2 = true := rfl
theorem cert546 : CongruentPoints546.pts.all certRow = true := rfl
theorem cert_r2tq : Rank2Cert537.rows.all certR2 = true := rfl
theorem cert547 : CongruentPoints547.pts.all certRow = true := rfl
theorem cert_r2tr : Rank2Cert538.rows.all certR2 = true := rfl
theorem cert548 : CongruentPoints548.pts.all certRow = true := rfl
theorem cert_r2ts : Rank2Cert539.rows.all certR2 = true := rfl
theorem cert549 : CongruentPoints549.pts.all certRow = true := rfl
theorem cert_r2tt : Rank2Cert540.rows.all certR2 = true := rfl
theorem cert550 : CongruentPoints550.pts.all certRow = true := rfl
theorem cert_r2tu : Rank2Cert541.rows.all certR2 = true := rfl
theorem cert551 : CongruentPoints551.pts.all certRow = true := rfl
theorem cert_r2tv : Rank2Cert542.rows.all certR2 = true := rfl
theorem cert552 : CongruentPoints552.pts.all certRow = true := rfl
theorem cert_r2tw : Rank2Cert543.rows.all certR2 = true := rfl
theorem cert553 : CongruentPoints553.pts.all certRow = true := rfl
theorem cert_r2tx : Rank2Cert544.rows.all certR2 = true := rfl
theorem cert554 : CongruentPoints554.pts.all certRow = true := rfl
theorem cert_r2ty : Rank2Cert545.rows.all certR2 = true := rfl
theorem cert555 : CongruentPoints555.pts.all certRow = true := rfl
theorem cert_r2tz : Rank2Cert546.rows.all certR2 = true := rfl
theorem cert556 : CongruentPoints556.pts.all certRow = true := rfl
theorem cert_r2ua : Rank2Cert547.rows.all certR2 = true := rfl
theorem cert557 : CongruentPoints557.pts.all certRow = true := rfl
theorem cert_r2ub : Rank2Cert548.rows.all certR2 = true := rfl
theorem cert558 : CongruentPoints558.pts.all certRow = true := rfl
theorem cert_r2uc : Rank2Cert549.rows.all certR2 = true := rfl
theorem cert559 : CongruentPoints559.pts.all certRow = true := rfl
theorem cert_r2ud : Rank2Cert550.rows.all certR2 = true := rfl
theorem cert560 : CongruentPoints560.pts.all certRow = true := rfl
theorem cert_r2ue : Rank2Cert551.rows.all certR2 = true := rfl
theorem cert561 : CongruentPoints561.pts.all certRow = true := rfl
theorem cert_r2uf : Rank2Cert552.rows.all certR2 = true := rfl
theorem cert562 : CongruentPoints562.pts.all certRow = true := rfl
theorem cert_r2ug : Rank2Cert553.rows.all certR2 = true := rfl
theorem cert563 : CongruentPoints563.pts.all certRow = true := rfl
theorem cert_r2uh : Rank2Cert554.rows.all certR2 = true := rfl
theorem cert564 : CongruentPoints564.pts.all certRow = true := rfl
theorem cert_r2ui : Rank2Cert555.rows.all certR2 = true := rfl
theorem cert565 : CongruentPoints565.pts.all certRow = true := rfl
theorem cert_r2uj : Rank2Cert556.rows.all certR2 = true := rfl
theorem cert566 : CongruentPoints566.pts.all certRow = true := rfl
theorem cert_r2uk : Rank2Cert557.rows.all certR2 = true := rfl
theorem cert567 : CongruentPoints567.pts.all certRow = true := rfl
theorem cert_r2ul : Rank2Cert558.rows.all certR2 = true := rfl
theorem cert568 : CongruentPoints568.pts.all certRow = true := rfl
theorem cert_r2um : Rank2Cert559.rows.all certR2 = true := rfl
theorem cert569 : CongruentPoints569.pts.all certRow = true := rfl
theorem cert_r2un : Rank2Cert560.rows.all certR2 = true := rfl
theorem cert570 : CongruentPoints570.pts.all certRow = true := rfl
theorem cert_r2uo : Rank2Cert561.rows.all certR2 = true := rfl
theorem cert571 : CongruentPoints571.pts.all certRow = true := rfl
theorem cert_r2up : Rank2Cert562.rows.all certR2 = true := rfl
theorem cert572 : CongruentPoints572.pts.all certRow = true := rfl
theorem cert_r2uq : Rank2Cert563.rows.all certR2 = true := rfl
theorem cert573 : CongruentPoints573.pts.all certRow = true := rfl
theorem cert_r2ur : Rank2Cert564.rows.all certR2 = true := rfl
theorem cert574 : CongruentPoints574.pts.all certRow = true := rfl
theorem cert_r2us : Rank2Cert565.rows.all certR2 = true := rfl
theorem cert575 : CongruentPoints575.pts.all certRow = true := rfl
theorem cert_r2ut : Rank2Cert566.rows.all certR2 = true := rfl
theorem cert576 : CongruentPoints576.pts.all certRow = true := rfl
theorem cert_r2uu : Rank2Cert567.rows.all certR2 = true := rfl
theorem cert577 : CongruentPoints577.pts.all certRow = true := rfl
theorem cert_r2uv : Rank2Cert568.rows.all certR2 = true := rfl
theorem cert578 : CongruentPoints578.pts.all certRow = true := rfl
theorem cert_r2uw : Rank2Cert569.rows.all certR2 = true := rfl
theorem cert579 : CongruentPoints579.pts.all certRow = true := rfl
theorem cert_r2ux : Rank2Cert570.rows.all certR2 = true := rfl
theorem cert580 : CongruentPoints580.pts.all certRow = true := rfl
theorem cert_r2uy : Rank2Cert571.rows.all certR2 = true := rfl
theorem cert581 : CongruentPoints581.pts.all certRow = true := rfl
theorem cert_r2uz : Rank2Cert572.rows.all certR2 = true := rfl
theorem cert582 : CongruentPoints582.pts.all certRow = true := rfl
theorem cert_r2va : Rank2Cert573.rows.all certR2 = true := rfl
theorem cert583 : CongruentPoints583.pts.all certRow = true := rfl
theorem cert_r2vb : Rank2Cert574.rows.all certR2 = true := rfl
theorem cert584 : CongruentPoints584.pts.all certRow = true := rfl
theorem cert_r2vc : Rank2Cert575.rows.all certR2 = true := rfl
theorem cert585 : CongruentPoints585.pts.all certRow = true := rfl
theorem cert_r2vd : Rank2Cert576.rows.all certR2 = true := rfl
theorem cert586 : CongruentPoints586.pts.all certRow = true := rfl
theorem cert_r2ve : Rank2Cert577.rows.all certR2 = true := rfl
theorem cert587 : CongruentPoints587.pts.all certRow = true := rfl
theorem cert_r2vf : Rank2Cert578.rows.all certR2 = true := rfl
theorem cert588 : CongruentPoints588.pts.all certRow = true := rfl
theorem cert_r2vg : Rank2Cert579.rows.all certR2 = true := rfl
theorem cert589 : CongruentPoints589.pts.all certRow = true := rfl
theorem cert_r2vh : Rank2Cert580.rows.all certR2 = true := rfl
theorem cert590 : CongruentPoints590.pts.all certRow = true := rfl
theorem cert_r2vi : Rank2Cert581.rows.all certR2 = true := rfl
theorem cert591 : CongruentPoints591.pts.all certRow = true := rfl
theorem cert_r2vj : Rank2Cert582.rows.all certR2 = true := rfl
theorem cert592 : CongruentPoints592.pts.all certRow = true := rfl
theorem cert_r2vk : Rank2Cert583.rows.all certR2 = true := rfl
theorem cert593 : CongruentPoints593.pts.all certRow = true := rfl
theorem cert_r2vl : Rank2Cert584.rows.all certR2 = true := rfl
theorem cert594 : CongruentPoints594.pts.all certRow = true := rfl
theorem cert_r2vm : Rank2Cert585.rows.all certR2 = true := rfl
theorem cert595 : CongruentPoints595.pts.all certRow = true := rfl
theorem cert_r2vn : Rank2Cert586.rows.all certR2 = true := rfl
theorem cert596 : CongruentPoints596.pts.all certRow = true := rfl
theorem cert_r2vo : Rank2Cert587.rows.all certR2 = true := rfl
theorem cert597 : CongruentPoints597.pts.all certRow = true := rfl
theorem cert_r2vp : Rank2Cert588.rows.all certR2 = true := rfl
theorem cert598 : CongruentPoints598.pts.all certRow = true := rfl
theorem cert_r2vq : Rank2Cert589.rows.all certR2 = true := rfl
theorem cert599 : CongruentPoints599.pts.all certRow = true := rfl
theorem cert_r2vr : Rank2Cert590.rows.all certR2 = true := rfl
theorem cert600 : CongruentPoints600.pts.all certRow = true := rfl
theorem cert_r2vs : Rank2Cert591.rows.all certR2 = true := rfl
theorem cert601 : CongruentPoints601.pts.all certRow = true := rfl
theorem cert_r2vt : Rank2Cert592.rows.all certR2 = true := rfl
theorem cert602 : CongruentPoints602.pts.all certRow = true := rfl
theorem cert_r2vu : Rank2Cert593.rows.all certR2 = true := rfl
theorem cert603 : CongruentPoints603.pts.all certRow = true := rfl
theorem cert_r2vv : Rank2Cert594.rows.all certR2 = true := rfl
theorem cert604 : CongruentPoints604.pts.all certRow = true := rfl
theorem cert_r2vw : Rank2Cert595.rows.all certR2 = true := rfl
theorem cert605 : CongruentPoints605.pts.all certRow = true := rfl
theorem cert_r2vx : Rank2Cert596.rows.all certR2 = true := rfl
theorem cert606 : CongruentPoints606.pts.all certRow = true := rfl
theorem cert_r2vy : Rank2Cert597.rows.all certR2 = true := rfl
theorem cert607 : CongruentPoints607.pts.all certRow = true := rfl
theorem cert_r2vz : Rank2Cert598.rows.all certR2 = true := rfl
theorem cert608 : CongruentPoints608.pts.all certRow = true := rfl
theorem cert_r2wa : Rank2Cert599.rows.all certR2 = true := rfl
theorem cert609 : CongruentPoints609.pts.all certRow = true := rfl
theorem cert_r2wb : Rank2Cert600.rows.all certR2 = true := rfl
theorem cert610 : CongruentPoints610.pts.all certRow = true := rfl
theorem cert_r2wc : Rank2Cert601.rows.all certR2 = true := rfl
theorem cert611 : CongruentPoints611.pts.all certRow = true := rfl
theorem cert_r2wd : Rank2Cert602.rows.all certR2 = true := rfl
theorem cert612 : CongruentPoints612.pts.all certRow = true := rfl
theorem cert_r2we : Rank2Cert603.rows.all certR2 = true := rfl
theorem cert613 : CongruentPoints613.pts.all certRow = true := rfl
theorem cert_r2wf : Rank2Cert604.rows.all certR2 = true := rfl
theorem cert614 : CongruentPoints614.pts.all certRow = true := rfl
theorem cert_r2wg : Rank2Cert605.rows.all certR2 = true := rfl
theorem cert615 : CongruentPoints615.pts.all certRow = true := rfl
theorem cert_r2wh : Rank2Cert606.rows.all certR2 = true := rfl
theorem cert616 : CongruentPoints616.pts.all certRow = true := rfl
theorem cert_r2wi : Rank2Cert607.rows.all certR2 = true := rfl
theorem cert617 : CongruentPoints617.pts.all certRow = true := rfl
theorem cert_r2wj : Rank2Cert608.rows.all certR2 = true := rfl
theorem cert618 : CongruentPoints618.pts.all certRow = true := rfl
theorem cert_r2wk : Rank2Cert609.rows.all certR2 = true := rfl
theorem cert619 : CongruentPoints619.pts.all certRow = true := rfl
theorem cert_r2wl : Rank2Cert610.rows.all certR2 = true := rfl
theorem cert620 : CongruentPoints620.pts.all certRow = true := rfl
theorem cert_r2wm : Rank2Cert611.rows.all certR2 = true := rfl
theorem cert621 : CongruentPoints621.pts.all certRow = true := rfl
theorem cert_r2wn : Rank2Cert612.rows.all certR2 = true := rfl
theorem cert622 : CongruentPoints622.pts.all certRow = true := rfl
theorem cert_r2wo : Rank2Cert613.rows.all certR2 = true := rfl
theorem cert623 : CongruentPoints623.pts.all certRow = true := rfl
theorem cert_r2wp : Rank2Cert614.rows.all certR2 = true := rfl
theorem cert624 : CongruentPoints624.pts.all certRow = true := rfl
theorem cert_r2wq : Rank2Cert615.rows.all certR2 = true := rfl
theorem cert625 : CongruentPoints625.pts.all certRow = true := rfl
theorem cert_r2wr : Rank2Cert616.rows.all certR2 = true := rfl
theorem cert626 : CongruentPoints626.pts.all certRow = true := rfl
theorem cert_r2ws : Rank2Cert617.rows.all certR2 = true := rfl
theorem cert627 : CongruentPoints627.pts.all certRow = true := rfl
theorem cert_r2wt : Rank2Cert618.rows.all certR2 = true := rfl
theorem cert628 : CongruentPoints628.pts.all certRow = true := rfl
theorem cert_r2wu : Rank2Cert619.rows.all certR2 = true := rfl
theorem cert629 : CongruentPoints629.pts.all certRow = true := rfl
theorem cert_r2wv : Rank2Cert620.rows.all certR2 = true := rfl
theorem cert630 : CongruentPoints630.pts.all certRow = true := rfl
theorem cert_r2ww : Rank2Cert621.rows.all certR2 = true := rfl
theorem cert631 : CongruentPoints631.pts.all certRow = true := rfl
theorem cert_r2wx : Rank2Cert622.rows.all certR2 = true := rfl
theorem cert632 : CongruentPoints632.pts.all certRow = true := rfl
theorem cert_r2wy : Rank2Cert623.rows.all certR2 = true := rfl
theorem cert633 : CongruentPoints633.pts.all certRow = true := rfl
theorem cert_r2wz : Rank2Cert624.rows.all certR2 = true := rfl
theorem cert634 : CongruentPoints634.pts.all certRow = true := rfl
theorem cert_r2xa : Rank2Cert625.rows.all certR2 = true := rfl
theorem cert635 : CongruentPoints635.pts.all certRow = true := rfl
theorem cert_r2xb : Rank2Cert626.rows.all certR2 = true := rfl
theorem cert636 : CongruentPoints636.pts.all certRow = true := rfl
theorem cert_r2xc : Rank2Cert627.rows.all certR2 = true := rfl
theorem cert637 : CongruentPoints637.pts.all certRow = true := rfl
theorem cert_r2xd : Rank2Cert628.rows.all certR2 = true := rfl
theorem cert638 : CongruentPoints638.pts.all certRow = true := rfl
theorem cert_r2xe : Rank2Cert629.rows.all certR2 = true := rfl
theorem cert639 : CongruentPoints639.pts.all certRow = true := rfl
theorem cert_r2xf : Rank2Cert630.rows.all certR2 = true := rfl
theorem cert640 : CongruentPoints640.pts.all certRow = true := rfl
theorem cert_r2xg : Rank2Cert631.rows.all certR2 = true := rfl
theorem cert641 : CongruentPoints641.pts.all certRow = true := rfl
theorem cert_r2xh : Rank2Cert632.rows.all certR2 = true := rfl
theorem cert642 : CongruentPoints642.pts.all certRow = true := rfl
theorem cert_r2xi : Rank2Cert633.rows.all certR2 = true := rfl
theorem cert643 : CongruentPoints643.pts.all certRow = true := rfl
theorem cert_r2xj : Rank2Cert634.rows.all certR2 = true := rfl
theorem cert644 : CongruentPoints644.pts.all certRow = true := rfl
theorem cert_r2xk : Rank2Cert635.rows.all certR2 = true := rfl
theorem cert645 : CongruentPoints645.pts.all certRow = true := rfl
theorem cert_r2xl : Rank2Cert636.rows.all certR2 = true := rfl
theorem cert646 : CongruentPoints646.pts.all certRow = true := rfl
theorem cert_r2xm : Rank2Cert637.rows.all certR2 = true := rfl
theorem cert647 : CongruentPoints647.pts.all certRow = true := rfl
theorem cert_r2xn : Rank2Cert638.rows.all certR2 = true := rfl
theorem cert648 : CongruentPoints648.pts.all certRow = true := rfl
theorem cert_r2xo : Rank2Cert639.rows.all certR2 = true := rfl
theorem cert649 : CongruentPoints649.pts.all certRow = true := rfl
theorem cert_r2xp : Rank2Cert640.rows.all certR2 = true := rfl
theorem cert650 : CongruentPoints650.pts.all certRow = true := rfl
theorem cert_r2xq : Rank2Cert641.rows.all certR2 = true := rfl
theorem cert651 : CongruentPoints651.pts.all certRow = true := rfl
theorem cert_r2xr : Rank2Cert642.rows.all certR2 = true := rfl
theorem cert652 : CongruentPoints652.pts.all certRow = true := rfl
theorem cert_r2xs : Rank2Cert643.rows.all certR2 = true := rfl
theorem cert653 : CongruentPoints653.pts.all certRow = true := rfl
theorem cert_r2xt : Rank2Cert644.rows.all certR2 = true := rfl
theorem cert654 : CongruentPoints654.pts.all certRow = true := rfl
theorem cert_r2xu : Rank2Cert645.rows.all certR2 = true := rfl
theorem cert655 : CongruentPoints655.pts.all certRow = true := rfl
theorem cert_r2xv : Rank2Cert646.rows.all certR2 = true := rfl
theorem cert656 : CongruentPoints656.pts.all certRow = true := rfl
theorem cert_r2xw : Rank2Cert647.rows.all certR2 = true := rfl
theorem cert657 : CongruentPoints657.pts.all certRow = true := rfl
theorem cert_r2xx : Rank2Cert648.rows.all certR2 = true := rfl
theorem cert658 : CongruentPoints658.pts.all certRow = true := rfl
theorem cert_r2xy : Rank2Cert649.rows.all certR2 = true := rfl
theorem cert659 : CongruentPoints659.pts.all certRow = true := rfl
theorem cert_r2xz : Rank2Cert650.rows.all certR2 = true := rfl
theorem cert660 : CongruentPoints660.pts.all certRow = true := rfl
theorem cert_r2ya : Rank2Cert651.rows.all certR2 = true := rfl
theorem cert661 : CongruentPoints661.pts.all certRow = true := rfl
theorem cert_r2yb : Rank2Cert652.rows.all certR2 = true := rfl
theorem cert662 : CongruentPoints662.pts.all certRow = true := rfl
theorem cert_r2yc : Rank2Cert653.rows.all certR2 = true := rfl
theorem cert663 : CongruentPoints663.pts.all certRow = true := rfl
theorem cert_r2yd : Rank2Cert654.rows.all certR2 = true := rfl
theorem cert664 : CongruentPoints664.pts.all certRow = true := rfl
theorem cert_r2ye : Rank2Cert655.rows.all certR2 = true := rfl
theorem cert665 : CongruentPoints665.pts.all certRow = true := rfl
theorem cert_r2yf : Rank2Cert656.rows.all certR2 = true := rfl
theorem cert666 : CongruentPoints666.pts.all certRow = true := rfl
theorem cert_r2yg : Rank2Cert657.rows.all certR2 = true := rfl
theorem cert667 : CongruentPoints667.pts.all certRow = true := rfl
theorem cert_r2yh : Rank2Cert658.rows.all certR2 = true := rfl
theorem cert668 : CongruentPoints668.pts.all certRow = true := rfl
theorem cert_r2yi : Rank2Cert659.rows.all certR2 = true := rfl
theorem cert669 : CongruentPoints669.pts.all certRow = true := rfl
theorem cert_r2yj : Rank2Cert660.rows.all certR2 = true := rfl
theorem cert670 : CongruentPoints670.pts.all certRow = true := rfl
theorem cert_r2yk : Rank2Cert661.rows.all certR2 = true := rfl
theorem cert671 : CongruentPoints671.pts.all certRow = true := rfl
theorem cert_r2yl : Rank2Cert662.rows.all certR2 = true := rfl
theorem cert672 : CongruentPoints672.pts.all certRow = true := rfl
theorem cert_r2ym : Rank2Cert663.rows.all certR2 = true := rfl
theorem cert673 : CongruentPoints673.pts.all certRow = true := rfl
theorem cert_r2yn : Rank2Cert664.rows.all certR2 = true := rfl
theorem cert674 : CongruentPoints674.pts.all certRow = true := rfl
theorem cert_r2yo : Rank2Cert665.rows.all certR2 = true := rfl
theorem cert675 : CongruentPoints675.pts.all certRow = true := rfl
theorem cert_r2yp : Rank2Cert666.rows.all certR2 = true := rfl
theorem cert676 : CongruentPoints676.pts.all certRow = true := rfl
theorem cert_r2yq : Rank2Cert667.rows.all certR2 = true := rfl
theorem cert677 : CongruentPoints677.pts.all certRow = true := rfl
theorem cert_r2yr : Rank2Cert668.rows.all certR2 = true := rfl
theorem cert678 : CongruentPoints678.pts.all certRow = true := rfl
theorem cert_r2ys : Rank2Cert669.rows.all certR2 = true := rfl
theorem cert679 : CongruentPoints679.pts.all certRow = true := rfl
theorem cert_r2yt : Rank2Cert670.rows.all certR2 = true := rfl
theorem cert680 : CongruentPoints680.pts.all certRow = true := rfl
theorem cert_r2yu : Rank2Cert671.rows.all certR2 = true := rfl
theorem cert681 : CongruentPoints681.pts.all certRow = true := rfl
theorem cert_r2yv : Rank2Cert672.rows.all certR2 = true := rfl
theorem cert682 : CongruentPoints682.pts.all certRow = true := rfl
theorem cert_r2yw : Rank2Cert673.rows.all certR2 = true := rfl
theorem cert683 : CongruentPoints683.pts.all certRow = true := rfl
theorem cert_r2yx : Rank2Cert674.rows.all certR2 = true := rfl
theorem cert684 : CongruentPoints684.pts.all certRow = true := rfl
theorem cert_r2yy : Rank2Cert675.rows.all certR2 = true := rfl
theorem cert685 : CongruentPoints685.pts.all certRow = true := rfl
theorem cert_r2yz : Rank2Cert676.rows.all certR2 = true := rfl
theorem cert686 : CongruentPoints686.pts.all certRow = true := rfl
theorem cert_r2za : Rank2Cert677.rows.all certR2 = true := rfl
theorem cert687 : CongruentPoints687.pts.all certRow = true := rfl
theorem cert_r2zb : Rank2Cert678.rows.all certR2 = true := rfl
theorem cert688 : CongruentPoints688.pts.all certRow = true := rfl
theorem cert_r2zc : Rank2Cert679.rows.all certR2 = true := rfl
theorem cert689 : CongruentPoints689.pts.all certRow = true := rfl
theorem cert_r2zd : Rank2Cert680.rows.all certR2 = true := rfl
theorem cert690 : CongruentPoints690.pts.all certRow = true := rfl
theorem cert_r2ze : Rank2Cert681.rows.all certR2 = true := rfl
theorem cert691 : CongruentPoints691.pts.all certRow = true := rfl
theorem cert_r2zf : Rank2Cert682.rows.all certR2 = true := rfl
theorem cert692 : CongruentPoints692.pts.all certRow = true := rfl
theorem cert_r2zg : Rank2Cert683.rows.all certR2 = true := rfl
theorem cert693 : CongruentPoints693.pts.all certRow = true := rfl
theorem cert_r2zh : Rank2Cert684.rows.all certR2 = true := rfl
theorem cert694 : CongruentPoints694.pts.all certRow = true := rfl
theorem cert_r2zi : Rank2Cert685.rows.all certR2 = true := rfl
theorem cert695 : CongruentPoints695.pts.all certRow = true := rfl
theorem cert_r2zj : Rank2Cert686.rows.all certR2 = true := rfl
theorem cert696 : CongruentPoints696.pts.all certRow = true := rfl
theorem cert_r2zk : Rank2Cert687.rows.all certR2 = true := rfl
theorem cert697 : CongruentPoints697.pts.all certRow = true := rfl
theorem cert_r2zl : Rank2Cert688.rows.all certR2 = true := rfl
theorem cert698 : CongruentPoints698.pts.all certRow = true := rfl
theorem cert_r2zm : Rank2Cert689.rows.all certR2 = true := rfl
theorem cert699 : CongruentPoints699.pts.all certRow = true := rfl
theorem cert_r2zn : Rank2Cert690.rows.all certR2 = true := rfl
theorem cert700 : CongruentPoints700.pts.all certRow = true := rfl
theorem cert_r2zo : Rank2Cert691.rows.all certR2 = true := rfl
theorem cert701 : CongruentPoints701.pts.all certRow = true := rfl
theorem cert_r2zp : Rank2Cert692.rows.all certR2 = true := rfl
theorem cert702 : CongruentPoints702.pts.all certRow = true := rfl
theorem cert_r2zq : Rank2Cert693.rows.all certR2 = true := rfl
theorem cert703 : CongruentPoints703.pts.all certRow = true := rfl
theorem cert_r2zr : Rank2Cert694.rows.all certR2 = true := rfl
theorem cert704 : CongruentPoints704.pts.all certRow = true := rfl
theorem cert_r2zs : Rank2Cert695.rows.all certR2 = true := rfl
theorem cert705 : CongruentPoints705.pts.all certRow = true := rfl
theorem cert_r2zt : Rank2Cert696.rows.all certR2 = true := rfl
theorem cert706 : CongruentPoints706.pts.all certRow = true := rfl
theorem cert_r2zu : Rank2Cert697.rows.all certR2 = true := rfl
theorem cert707 : CongruentPoints707.pts.all certRow = true := rfl
theorem cert_r2zv : Rank2Cert698.rows.all certR2 = true := rfl
theorem cert708 : CongruentPoints708.pts.all certRow = true := rfl
theorem cert_r2zw : Rank2Cert699.rows.all certR2 = true := rfl
theorem cert709 : CongruentPoints709.pts.all certRow = true := rfl
theorem cert_r2zx : Rank2Cert700.rows.all certR2 = true := rfl
theorem cert710 : CongruentPoints710.pts.all certRow = true := rfl
theorem cert_r2zy : Rank2Cert701.rows.all certR2 = true := rfl
theorem cert711 : CongruentPoints711.pts.all certRow = true := rfl
theorem cert_r2zz : Rank2Cert702.rows.all certR2 = true := rfl
theorem cert712 : CongruentPoints712.pts.all certRow = true := rfl
theorem cert_r2zza : Rank2Cert703.rows.all certR2 = true := rfl
theorem cert713 : CongruentPoints713.pts.all certRow = true := rfl
theorem cert_r2zzb : Rank2Cert704.rows.all certR2 = true := rfl
theorem cert714 : CongruentPoints714.pts.all certRow = true := rfl
theorem cert_r2zzc : Rank2Cert705.rows.all certR2 = true := rfl
theorem cert715 : CongruentPoints715.pts.all certRow = true := rfl
theorem cert_r2zzd : Rank2Cert706.rows.all certR2 = true := rfl
theorem cert716 : CongruentPoints716.pts.all certRow = true := rfl
theorem cert_r2zze : Rank2Cert707.rows.all certR2 = true := rfl
theorem cert717 : CongruentPoints717.pts.all certRow = true := rfl
theorem cert_r2zzf : Rank2Cert708.rows.all certR2 = true := rfl
theorem cert718 : CongruentPoints718.pts.all certRow = true := rfl
theorem cert_r2zzg : Rank2Cert709.rows.all certR2 = true := rfl
theorem cert719 : CongruentPoints719.pts.all certRow = true := rfl
theorem cert_r2zzh : Rank2Cert710.rows.all certR2 = true := rfl
theorem cert720 : CongruentPoints720.pts.all certRow = true := rfl
theorem cert_r2zzi : Rank2Cert711.rows.all certR2 = true := rfl
theorem cert721 : CongruentPoints721.pts.all certRow = true := rfl
theorem cert_r2zzj : Rank2Cert712.rows.all certR2 = true := rfl
theorem cert722 : CongruentPoints722.pts.all certRow = true := rfl
theorem cert_r2zzk : Rank2Cert713.rows.all certR2 = true := rfl
theorem cert723 : CongruentPoints723.pts.all certRow = true := rfl
theorem cert_r2zzl : Rank2Cert714.rows.all certR2 = true := rfl
theorem cert724 : CongruentPoints724.pts.all certRow = true := rfl
theorem cert_r2zzm : Rank2Cert715.rows.all certR2 = true := rfl
theorem cert725 : CongruentPoints725.pts.all certRow = true := rfl
theorem cert_r2zzn : Rank2Cert716.rows.all certR2 = true := rfl
theorem cert726 : CongruentPoints726.pts.all certRow = true := rfl
theorem cert_r2zzo : Rank2Cert717.rows.all certR2 = true := rfl
theorem cert727 : CongruentPoints727.pts.all certRow = true := rfl
theorem cert_r2zzp : Rank2Cert718.rows.all certR2 = true := rfl
theorem cert728 : CongruentPoints728.pts.all certRow = true := rfl
theorem cert_r2zzq : Rank2Cert719.rows.all certR2 = true := rfl
theorem cert729 : CongruentPoints729.pts.all certRow = true := rfl
theorem cert_r2zzr : Rank2Cert720.rows.all certR2 = true := rfl
theorem cert730 : CongruentPoints730.pts.all certRow = true := rfl
theorem cert_r2zzs : Rank2Cert721.rows.all certR2 = true := rfl
theorem cert731 : CongruentPoints731.pts.all certRow = true := rfl
theorem cert_r2zzt : Rank2Cert722.rows.all certR2 = true := rfl
theorem cert732 : CongruentPoints732.pts.all certRow = true := rfl
theorem cert_r2zzu : Rank2Cert723.rows.all certR2 = true := rfl
theorem cert733 : CongruentPoints733.pts.all certRow = true := rfl
theorem cert_r2zzv : Rank2Cert724.rows.all certR2 = true := rfl
theorem cert734 : CongruentPoints734.pts.all certRow = true := rfl
theorem cert_r2zzw : Rank2Cert725.rows.all certR2 = true := rfl
theorem cert735 : CongruentPoints735.pts.all certRow = true := rfl
theorem cert_r2zzx : Rank2Cert726.rows.all certR2 = true := rfl
theorem cert736 : CongruentPoints736.pts.all certRow = true := rfl
theorem cert_r2zzy : Rank2Cert727.rows.all certR2 = true := rfl
theorem cert737 : CongruentPoints737.pts.all certRow = true := rfl
theorem cert_r2zzz : Rank2Cert728.rows.all certR2 = true := rfl
theorem cert738 : CongruentPoints738.pts.all certRow = true := rfl
theorem cert_r2zzza : Rank2Cert729.rows.all certR2 = true := rfl
theorem cert739 : CongruentPoints739.pts.all certRow = true := rfl
theorem cert_r2zzzb : Rank2Cert730.rows.all certR2 = true := rfl
theorem cert740 : CongruentPoints740.pts.all certRow = true := rfl
theorem cert_r2zzzc : Rank2Cert731.rows.all certR2 = true := rfl
theorem cert741 : CongruentPoints741.pts.all certRow = true := rfl
theorem cert_r2zzzd : Rank2Cert732.rows.all certR2 = true := rfl
theorem cert742 : CongruentPoints742.pts.all certRow = true := rfl
theorem cert_r2zzze : Rank2Cert733.rows.all certR2 = true := rfl
theorem cert743 : CongruentPoints743.pts.all certRow = true := rfl
theorem cert_r2zzzf : Rank2Cert734.rows.all certR2 = true := rfl
theorem cert744 : CongruentPoints744.pts.all certRow = true := rfl
theorem cert_r2zzzg : Rank2Cert735.rows.all certR2 = true := rfl
theorem cert745 : CongruentPoints745.pts.all certRow = true := rfl
theorem cert_r2zzzh : Rank2Cert736.rows.all certR2 = true := rfl
theorem cert746 : CongruentPoints746.pts.all certRow = true := rfl
theorem cert_r2zzzi : Rank2Cert737.rows.all certR2 = true := rfl
theorem cert747 : CongruentPoints747.pts.all certRow = true := rfl
theorem cert_r2zzzj : Rank2Cert738.rows.all certR2 = true := rfl
theorem cert748 : CongruentPoints748.pts.all certRow = true := rfl
theorem cert_r2zzzk : Rank2Cert739.rows.all certR2 = true := rfl
theorem cert749 : CongruentPoints749.pts.all certRow = true := rfl
theorem cert_r2zzzl : Rank2Cert740.rows.all certR2 = true := rfl
theorem cert750 : CongruentPoints750.pts.all certRow = true := rfl
theorem cert_r2zzzm : Rank2Cert741.rows.all certR2 = true := rfl
theorem cert751 : CongruentPoints751.pts.all certRow = true := rfl
theorem cert_r2zzzn : Rank2Cert742.rows.all certR2 = true := rfl
theorem cert752 : CongruentPoints752.pts.all certRow = true := rfl
theorem cert_r2zzzo : Rank2Cert743.rows.all certR2 = true := rfl
theorem cert753 : CongruentPoints753.pts.all certRow = true := rfl
theorem cert_r2zzzp : Rank2Cert744.rows.all certR2 = true := rfl
theorem cert754 : CongruentPoints754.pts.all certRow = true := rfl
theorem cert_r2zzzq : Rank2Cert745.rows.all certR2 = true := rfl
theorem cert755 : CongruentPoints755.pts.all certRow = true := rfl
theorem cert_r2zzzr : Rank2Cert746.rows.all certR2 = true := rfl
theorem cert756 : CongruentPoints756.pts.all certRow = true := rfl
theorem cert_r2zzzs : Rank2Cert747.rows.all certR2 = true := rfl
theorem cert757 : CongruentPoints757.pts.all certRow = true := rfl
theorem cert_r2zzzt : Rank2Cert748.rows.all certR2 = true := rfl
theorem cert758 : CongruentPoints758.pts.all certRow = true := rfl
theorem cert_r2zzzu : Rank2Cert749.rows.all certR2 = true := rfl
theorem cert759 : CongruentPoints759.pts.all certRow = true := rfl
theorem cert_r2zzzv : Rank2Cert750.rows.all certR2 = true := rfl
theorem cert760 : CongruentPoints760.pts.all certRow = true := rfl
theorem cert_r2zzzw : Rank2Cert751.rows.all certR2 = true := rfl
theorem cert761 : CongruentPoints761.pts.all certRow = true := rfl
theorem cert_r2zzzx : Rank2Cert752.rows.all certR2 = true := rfl
theorem cert762 : CongruentPoints762.pts.all certRow = true := rfl
theorem cert_r2zzzy : Rank2Cert753.rows.all certR2 = true := rfl
theorem cert763 : CongruentPoints763.pts.all certRow = true := rfl
theorem cert_r2zzzz : Rank2Cert754.rows.all certR2 = true := rfl
theorem cert764 : CongruentPoints764.pts.all certRow = true := rfl
theorem cert_r2zzzza : Rank2Cert755.rows.all certR2 = true := rfl
theorem cert765 : CongruentPoints765.pts.all certRow = true := rfl
theorem cert_r2zzzzb : Rank2Cert756.rows.all certR2 = true := rfl
theorem cert766 : CongruentPoints766.pts.all certRow = true := rfl
theorem cert_r2zzzzc : Rank2Cert757.rows.all certR2 = true := rfl
theorem cert767 : CongruentPoints767.pts.all certRow = true := rfl
theorem cert_r2zzzzd : Rank2Cert758.rows.all certR2 = true := rfl
theorem cert768 : CongruentPoints768.pts.all certRow = true := rfl
theorem cert_r2zzzze : Rank2Cert759.rows.all certR2 = true := rfl
theorem cert769 : CongruentPoints769.pts.all certRow = true := rfl
theorem cert_r2zzzzf : Rank2Cert760.rows.all certR2 = true := rfl
theorem cert770 : CongruentPoints770.pts.all certRow = true := rfl
theorem cert_r2zzzzg : Rank2Cert761.rows.all certR2 = true := rfl
theorem cert771 : CongruentPoints771.pts.all certRow = true := rfl
theorem cert_r2zzzzh : Rank2Cert762.rows.all certR2 = true := rfl
theorem cert772 : CongruentPoints772.pts.all certRow = true := rfl
theorem cert_r2zzzzi : Rank2Cert763.rows.all certR2 = true := rfl
theorem cert773 : CongruentPoints773.pts.all certRow = true := rfl
theorem cert_r2zzzzj : Rank2Cert764.rows.all certR2 = true := rfl
theorem cert774 : CongruentPoints774.pts.all certRow = true := rfl
theorem cert_r2zzzzk : Rank2Cert765.rows.all certR2 = true := rfl
theorem cert775 : CongruentPoints775.pts.all certRow = true := rfl
theorem cert_r2zzzzl : Rank2Cert766.rows.all certR2 = true := rfl
theorem cert776 : CongruentPoints776.pts.all certRow = true := rfl
theorem cert_r2zzzzm : Rank2Cert767.rows.all certR2 = true := rfl
theorem cert777 : CongruentPoints777.pts.all certRow = true := rfl
theorem cert_r2zzzzn : Rank2Cert768.rows.all certR2 = true := rfl
theorem cert778 : CongruentPoints778.pts.all certRow = true := rfl
theorem cert_r2zzzzo : Rank2Cert769.rows.all certR2 = true := rfl
theorem cert779 : CongruentPoints779.pts.all certRow = true := rfl
theorem cert_r2zzzzp : Rank2Cert770.rows.all certR2 = true := rfl
theorem cert780 : CongruentPoints780.pts.all certRow = true := rfl
theorem cert_r2zzzzq : Rank2Cert771.rows.all certR2 = true := rfl
theorem cert781 : CongruentPoints781.pts.all certRow = true := rfl
theorem cert_r2zzzzr : Rank2Cert772.rows.all certR2 = true := rfl
theorem cert782 : CongruentPoints782.pts.all certRow = true := rfl
theorem cert_r2zzzzs : Rank2Cert773.rows.all certR2 = true := rfl
theorem certHeeg1 : HeegnerPoints1.pts.all certRow = true := rfl
theorem cert783 : CongruentPoints783.pts.all certRow = true := rfl
theorem cert_r2zzzzt : Rank2Cert774.rows.all certR2 = true := rfl
theorem cert784 : CongruentPoints784.pts.all certRow = true := rfl
theorem cert_r2zzzzu : Rank2Cert775.rows.all certR2 = true := rfl
theorem cert785 : CongruentPoints785.pts.all certRow = true := rfl
theorem cert_r2zzzzv : Rank2Cert776.rows.all certR2 = true := rfl
theorem cert786 : CongruentPoints786.pts.all certRow = true := rfl
theorem cert_r2zzzzw : Rank2Cert777.rows.all certR2 = true := rfl
theorem cert787 : CongruentPoints787.pts.all certRow = true := rfl
theorem cert_r2zzzzx : Rank2Cert778.rows.all certR2 = true := rfl
theorem cert788 : CongruentPoints788.pts.all certRow = true := rfl
theorem cert_r2zzzzy : Rank2Cert779.rows.all certR2 = true := rfl
theorem cert789 : CongruentPoints789.pts.all certRow = true := rfl
theorem cert_r2zzzzz : Rank2Cert780.rows.all certR2 = true := rfl
theorem cert790 : CongruentPoints790.pts.all certRow = true := rfl
theorem cert_r2zzzzza : Rank2Cert781.rows.all certR2 = true := rfl
theorem cert791 : CongruentPoints791.pts.all certRow = true := rfl
theorem cert_r2zzzzzb : Rank2Cert782.rows.all certR2 = true := rfl
theorem cert792 : CongruentPoints792.pts.all certRow = true := rfl
theorem cert_r2zzzzzc : Rank2Cert783.rows.all certR2 = true := rfl
theorem cert793 : CongruentPoints793.pts.all certRow = true := rfl
theorem cert_r2zzzzzd : Rank2Cert784.rows.all certR2 = true := rfl
theorem cert794 : CongruentPoints794.pts.all certRow = true := rfl
theorem cert_r2zzzzze : Rank2Cert785.rows.all certR2 = true := rfl
theorem cert795 : CongruentPoints795.pts.all certRow = true := rfl
theorem cert_r2zzzzzf : Rank2Cert786.rows.all certR2 = true := rfl
theorem cert796 : CongruentPoints796.pts.all certRow = true := rfl
theorem cert_r2zzzzzg : Rank2Cert787.rows.all certR2 = true := rfl
theorem cert797 : CongruentPoints797.pts.all certRow = true := rfl
theorem cert_r2zzzzzh : Rank2Cert788.rows.all certR2 = true := rfl
theorem cert798 : CongruentPoints798.pts.all certRow = true := rfl
theorem cert_r2zzzzzi : Rank2Cert789.rows.all certR2 = true := rfl
theorem cert799 : CongruentPoints799.pts.all certRow = true := rfl
theorem cert_r2zzzzzj : Rank2Cert790.rows.all certR2 = true := rfl
theorem cert800 : CongruentPoints800.pts.all certRow = true := rfl
theorem cert_r2zzzzzk : Rank2Cert791.rows.all certR2 = true := rfl
theorem cert801 : CongruentPoints801.pts.all certRow = true := rfl
theorem cert_r2zzzzzl : Rank2Cert792.rows.all certR2 = true := rfl
theorem cert802 : CongruentPoints802.pts.all certRow = true := rfl
theorem cert_r2zzzzzm : Rank2Cert793.rows.all certR2 = true := rfl
theorem cert803 : CongruentPoints803.pts.all certRow = true := rfl
theorem cert_r2zzzzzn : Rank2Cert794.rows.all certR2 = true := rfl
theorem cert804 : CongruentPoints804.pts.all certRow = true := rfl
theorem cert_r2zzzzzo : Rank2Cert795.rows.all certR2 = true := rfl
theorem cert805 : CongruentPoints805.pts.all certRow = true := rfl
theorem cert_r2zzzzzp : Rank2Cert796.rows.all certR2 = true := rfl
theorem cert_r2 : Rank2Cert.rows.all certR2 = true := rfl

/-- **Every n with a listed point is a congruent number.** -/
theorem congruent0 : ∀ x, x ∈ pts0 → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) pts0 cert0
theorem congruent5 : ∀ x, x ∈ CongruentPoints5.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints5.pts cert5
theorem congruent6 : ∀ x, x ∈ CongruentPoints6.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints6.pts cert6
theorem congruent7 : ∀ x, x ∈ CongruentPoints7.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints7.pts cert7
theorem congruent8 : ∀ x, x ∈ CongruentPoints8.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints8.pts cert8
theorem congruent_rank2 : ∀ x, x ∈ Rank2Cert.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert.rows cert_r2

theorem congruent_rank2b : ∀ x, x ∈ Rank2Cert2.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert2.rows cert_r2b

theorem congruent9 : ∀ x, x ∈ CongruentPoints9.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints9.pts cert9
theorem congruent_rank2c : ∀ x, x ∈ Rank2Cert3.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert3.rows cert_r2c

theorem congruent10 : ∀ x, x ∈ CongruentPoints10.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints10.pts cert10
theorem congruent_rank2d : ∀ x, x ∈ Rank2Cert4.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert4.rows cert_r2d

theorem congruent11 : ∀ x, x ∈ CongruentPoints11.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints11.pts cert11
theorem congruent_rank2e : ∀ x, x ∈ Rank2Cert5.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert5.rows cert_r2e

theorem congruent12 : ∀ x, x ∈ CongruentPoints12.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints12.pts cert12
theorem congruent_rank2f : ∀ x, x ∈ Rank2Cert6.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert6.rows cert_r2f

theorem congruent13 : ∀ x, x ∈ CongruentPoints13.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints13.pts cert13
theorem congruent_rank2g : ∀ x, x ∈ Rank2Cert7.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert7.rows cert_r2g

theorem congruent14 : ∀ x, x ∈ CongruentPoints14.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints14.pts cert14
theorem congruent_rank2h : ∀ x, x ∈ Rank2Cert8.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert8.rows cert_r2h

theorem congruent15 : ∀ x, x ∈ CongruentPoints15.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints15.pts cert15
theorem congruent_rank2i : ∀ x, x ∈ Rank2Cert9.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert9.rows cert_r2i

theorem congruent16 : ∀ x, x ∈ CongruentPoints16.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints16.pts cert16
theorem congruent_rank2j : ∀ x, x ∈ Rank2Cert10.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert10.rows cert_r2j

theorem congruent17 : ∀ x, x ∈ CongruentPoints17.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints17.pts cert17
theorem congruent_rank2k : ∀ x, x ∈ Rank2Cert11.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert11.rows cert_r2k

theorem congruent18 : ∀ x, x ∈ CongruentPoints18.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints18.pts cert18
theorem congruent_rank2l : ∀ x, x ∈ Rank2Cert12.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert12.rows cert_r2l

theorem congruent19 : ∀ x, x ∈ CongruentPoints19.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints19.pts cert19
theorem congruent_rank2m : ∀ x, x ∈ Rank2Cert13.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert13.rows cert_r2m

theorem congruent20 : ∀ x, x ∈ CongruentPoints20.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints20.pts cert20
theorem congruent_rank2n : ∀ x, x ∈ Rank2Cert14.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert14.rows cert_r2n

theorem congruent21 : ∀ x, x ∈ CongruentPoints21.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints21.pts cert21
theorem congruent_rank2o : ∀ x, x ∈ Rank2Cert15.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert15.rows cert_r2o

theorem congruent22 : ∀ x, x ∈ CongruentPoints22.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints22.pts cert22
theorem congruent_rank2p : ∀ x, x ∈ Rank2Cert16.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert16.rows cert_r2p

theorem congruent23 : ∀ x, x ∈ CongruentPoints23.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints23.pts cert23
theorem congruent_rank2q : ∀ x, x ∈ Rank2Cert17.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert17.rows cert_r2q

theorem congruent24 : ∀ x, x ∈ CongruentPoints24.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints24.pts cert24
theorem congruent_rank2r : ∀ x, x ∈ Rank2Cert18.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert18.rows cert_r2r

theorem congruent25 : ∀ x, x ∈ CongruentPoints25.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints25.pts cert25
theorem congruent_rank2s : ∀ x, x ∈ Rank2Cert19.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert19.rows cert_r2s

theorem congruent26 : ∀ x, x ∈ CongruentPoints26.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints26.pts cert26
theorem congruent_rank2t : ∀ x, x ∈ Rank2Cert20.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert20.rows cert_r2t

theorem congruent27 : ∀ x, x ∈ CongruentPoints27.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints27.pts cert27
theorem congruent_rank2u : ∀ x, x ∈ Rank2Cert21.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert21.rows cert_r2u

theorem congruent28 : ∀ x, x ∈ CongruentPoints28.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints28.pts cert28
theorem congruent_rank2v : ∀ x, x ∈ Rank2Cert22.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert22.rows cert_r2v

theorem congruent29 : ∀ x, x ∈ CongruentPoints29.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints29.pts cert29
theorem congruent_rank2w : ∀ x, x ∈ Rank2Cert23.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert23.rows cert_r2w

theorem congruent30 : ∀ x, x ∈ CongruentPoints30.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints30.pts cert30
theorem congruent_rank2x : ∀ x, x ∈ Rank2Cert24.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert24.rows cert_r2x

theorem congruent31 : ∀ x, x ∈ CongruentPoints31.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints31.pts cert31
theorem congruent_rank2y : ∀ x, x ∈ Rank2Cert25.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert25.rows cert_r2y

theorem congruent32 : ∀ x, x ∈ CongruentPoints32.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints32.pts cert32
theorem congruent_rank2z : ∀ x, x ∈ Rank2Cert26.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert26.rows cert_r2z

theorem congruent33 : ∀ x, x ∈ CongruentPoints33.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints33.pts cert33
theorem congruent_rank2aa : ∀ x, x ∈ Rank2Cert27.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert27.rows cert_r2aa

theorem congruent34 : ∀ x, x ∈ CongruentPoints34.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints34.pts cert34

theorem congruent35 : ∀ x, x ∈ CongruentPoints35.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints35.pts cert35
theorem congruent_rank2ab : ∀ x, x ∈ Rank2Cert28.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert28.rows cert_r2ab

theorem congruent36 : ∀ x, x ∈ CongruentPoints36.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints36.pts cert36
theorem congruent_rank2ac : ∀ x, x ∈ Rank2Cert29.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert29.rows cert_r2ac

theorem congruent37 : ∀ x, x ∈ CongruentPoints37.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints37.pts cert37
theorem congruent_rank2ad : ∀ x, x ∈ Rank2Cert30.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert30.rows cert_r2ad

theorem congruent38 : ∀ x, x ∈ CongruentPoints38.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints38.pts cert38
theorem congruent_rank2ae : ∀ x, x ∈ Rank2Cert31.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert31.rows cert_r2ae

theorem congruent39 : ∀ x, x ∈ CongruentPoints39.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints39.pts cert39
theorem congruent_rank2af : ∀ x, x ∈ Rank2Cert32.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert32.rows cert_r2af

theorem congruent40 : ∀ x, x ∈ CongruentPoints40.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints40.pts cert40
theorem congruent_rank2ag : ∀ x, x ∈ Rank2Cert33.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert33.rows cert_r2ag

theorem congruent41 : ∀ x, x ∈ CongruentPoints41.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints41.pts cert41
theorem congruent_rank2ah : ∀ x, x ∈ Rank2Cert34.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert34.rows cert_r2ah

theorem congruent42 : ∀ x, x ∈ CongruentPoints42.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints42.pts cert42
theorem congruent_rank2ai : ∀ x, x ∈ Rank2Cert35.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert35.rows cert_r2ai

theorem congruent43 : ∀ x, x ∈ CongruentPoints43.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints43.pts cert43
theorem congruent_rank2aj : ∀ x, x ∈ Rank2Cert36.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert36.rows cert_r2aj

theorem congruent44 : ∀ x, x ∈ CongruentPoints44.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints44.pts cert44
theorem congruent_rank2ak : ∀ x, x ∈ Rank2Cert37.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert37.rows cert_r2ak

theorem congruent45 : ∀ x, x ∈ CongruentPoints45.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints45.pts cert45
theorem congruent_rank2al : ∀ x, x ∈ Rank2Cert38.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert38.rows cert_r2al

theorem congruent46 : ∀ x, x ∈ CongruentPoints46.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints46.pts cert46
theorem congruent_rank2am : ∀ x, x ∈ Rank2Cert39.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert39.rows cert_r2am

theorem congruent47 : ∀ x, x ∈ CongruentPoints47.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints47.pts cert47
theorem congruent_rank2an : ∀ x, x ∈ Rank2Cert40.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert40.rows cert_r2an

theorem congruent48 : ∀ x, x ∈ CongruentPoints48.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints48.pts cert48
theorem congruent_rank2ao : ∀ x, x ∈ Rank2Cert41.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert41.rows cert_r2ao

theorem congruent49 : ∀ x, x ∈ CongruentPoints49.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints49.pts cert49
theorem congruent_rank2ap : ∀ x, x ∈ Rank2Cert42.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert42.rows cert_r2ap

theorem congruent50 : ∀ x, x ∈ CongruentPoints50.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints50.pts cert50
theorem congruent_rank2aq : ∀ x, x ∈ Rank2Cert43.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert43.rows cert_r2aq

theorem congruent51 : ∀ x, x ∈ CongruentPoints51.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints51.pts cert51
theorem congruent_rank2ar : ∀ x, x ∈ Rank2Cert44.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert44.rows cert_r2ar

theorem congruent52 : ∀ x, x ∈ CongruentPoints52.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints52.pts cert52
theorem congruent_rank2as : ∀ x, x ∈ Rank2Cert45.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert45.rows cert_r2as

theorem congruent53 : ∀ x, x ∈ CongruentPoints53.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints53.pts cert53
theorem congruent_rank2at : ∀ x, x ∈ Rank2Cert46.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert46.rows cert_r2at

theorem congruent54 : ∀ x, x ∈ CongruentPoints54.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints54.pts cert54
theorem congruent_rank2au : ∀ x, x ∈ Rank2Cert47.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert47.rows cert_r2au

theorem congruent55 : ∀ x, x ∈ CongruentPoints55.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints55.pts cert55
theorem congruent_rank2av : ∀ x, x ∈ Rank2Cert48.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert48.rows cert_r2av

theorem congruent56 : ∀ x, x ∈ CongruentPoints56.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints56.pts cert56
theorem congruent_rank2aw : ∀ x, x ∈ Rank2Cert49.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert49.rows cert_r2aw

theorem congruent57 : ∀ x, x ∈ CongruentPoints57.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints57.pts cert57
theorem congruent_rank2ax : ∀ x, x ∈ Rank2Cert50.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert50.rows cert_r2ax

theorem congruent58 : ∀ x, x ∈ CongruentPoints58.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints58.pts cert58
theorem congruent_rank2ay : ∀ x, x ∈ Rank2Cert51.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert51.rows cert_r2ay

theorem congruent59 : ∀ x, x ∈ CongruentPoints59.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints59.pts cert59
theorem congruent_rank2az : ∀ x, x ∈ Rank2Cert52.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert52.rows cert_r2az

theorem congruent60 : ∀ x, x ∈ CongruentPoints60.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints60.pts cert60
theorem congruent_rank2ba : ∀ x, x ∈ Rank2Cert53.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert53.rows cert_r2ba

theorem congruent61 : ∀ x, x ∈ CongruentPoints61.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints61.pts cert61
theorem congruent_rank2bb : ∀ x, x ∈ Rank2Cert54.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert54.rows cert_r2bb

theorem congruent62 : ∀ x, x ∈ CongruentPoints62.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints62.pts cert62
theorem congruent_rank2bc : ∀ x, x ∈ Rank2Cert55.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert55.rows cert_r2bc

theorem congruent63 : ∀ x, x ∈ CongruentPoints63.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints63.pts cert63
theorem congruent_rank2bd : ∀ x, x ∈ Rank2Cert56.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert56.rows cert_r2bd

theorem congruent64 : ∀ x, x ∈ CongruentPoints64.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints64.pts cert64
theorem congruent_rank2be : ∀ x, x ∈ Rank2Cert57.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert57.rows cert_r2be

theorem congruent65 : ∀ x, x ∈ CongruentPoints65.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints65.pts cert65
theorem congruent_rank2bf : ∀ x, x ∈ Rank2Cert58.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert58.rows cert_r2bf

theorem congruent66 : ∀ x, x ∈ CongruentPoints66.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints66.pts cert66
theorem congruent_rank2bg : ∀ x, x ∈ Rank2Cert59.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert59.rows cert_r2bg

theorem congruent67 : ∀ x, x ∈ CongruentPoints67.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints67.pts cert67
theorem congruent_rank2bh : ∀ x, x ∈ Rank2Cert60.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert60.rows cert_r2bh

theorem congruent68 : ∀ x, x ∈ CongruentPoints68.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints68.pts cert68
theorem congruent_rank2bi : ∀ x, x ∈ Rank2Cert61.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert61.rows cert_r2bi

theorem congruent69 : ∀ x, x ∈ CongruentPoints69.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints69.pts cert69
theorem congruent_rank2bj : ∀ x, x ∈ Rank2Cert62.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert62.rows cert_r2bj

theorem congruent70 : ∀ x, x ∈ CongruentPoints70.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints70.pts cert70
theorem congruent_rank2bk : ∀ x, x ∈ Rank2Cert63.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert63.rows cert_r2bk

theorem congruent71 : ∀ x, x ∈ CongruentPoints71.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints71.pts cert71
theorem congruent_rank2bl : ∀ x, x ∈ Rank2Cert64.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert64.rows cert_r2bl

theorem congruent72 : ∀ x, x ∈ CongruentPoints72.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints72.pts cert72
theorem congruent_rank2bm : ∀ x, x ∈ Rank2Cert65.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert65.rows cert_r2bm

theorem congruent73 : ∀ x, x ∈ CongruentPoints73.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints73.pts cert73
theorem congruent_rank2bn : ∀ x, x ∈ Rank2Cert66.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert66.rows cert_r2bn

theorem congruent74 : ∀ x, x ∈ CongruentPoints74.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints74.pts cert74

theorem congruent75 : ∀ x, x ∈ CongruentPoints75.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints75.pts cert75

theorem congruent76 : ∀ x, x ∈ CongruentPoints76.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints76.pts cert76
theorem congruent_rank2bo : ∀ x, x ∈ Rank2Cert67.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert67.rows cert_r2bo

theorem congruent77 : ∀ x, x ∈ CongruentPoints77.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints77.pts cert77
theorem congruent_rank2bp : ∀ x, x ∈ Rank2Cert68.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert68.rows cert_r2bp

theorem congruent78 : ∀ x, x ∈ CongruentPoints78.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints78.pts cert78
theorem congruent_rank2bq : ∀ x, x ∈ Rank2Cert69.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert69.rows cert_r2bq

theorem congruent79 : ∀ x, x ∈ CongruentPoints79.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints79.pts cert79
theorem congruent_rank2br : ∀ x, x ∈ Rank2Cert70.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert70.rows cert_r2br

theorem congruent80 : ∀ x, x ∈ CongruentPoints80.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints80.pts cert80
theorem congruent_rank2bs : ∀ x, x ∈ Rank2Cert71.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert71.rows cert_r2bs

theorem congruent81 : ∀ x, x ∈ CongruentPoints81.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints81.pts cert81
theorem congruent_rank2bt : ∀ x, x ∈ Rank2Cert72.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert72.rows cert_r2bt

theorem congruent82 : ∀ x, x ∈ CongruentPoints82.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints82.pts cert82
theorem congruent_rank2bu : ∀ x, x ∈ Rank2Cert73.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert73.rows cert_r2bu

theorem congruent83 : ∀ x, x ∈ CongruentPoints83.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints83.pts cert83
theorem congruent_rank2bv : ∀ x, x ∈ Rank2Cert74.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert74.rows cert_r2bv

theorem congruent84 : ∀ x, x ∈ CongruentPoints84.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints84.pts cert84
theorem congruent_rank2bw : ∀ x, x ∈ Rank2Cert75.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert75.rows cert_r2bw

theorem congruent85 : ∀ x, x ∈ CongruentPoints85.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints85.pts cert85
theorem congruent_rank2bx : ∀ x, x ∈ Rank2Cert76.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert76.rows cert_r2bx

theorem congruent86 : ∀ x, x ∈ CongruentPoints86.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints86.pts cert86
theorem congruent_rank2by : ∀ x, x ∈ Rank2Cert77.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert77.rows cert_r2by

theorem congruent87 : ∀ x, x ∈ CongruentPoints87.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints87.pts cert87
theorem congruent_rank2bz : ∀ x, x ∈ Rank2Cert78.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert78.rows cert_r2bz

theorem congruent88 : ∀ x, x ∈ CongruentPoints88.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints88.pts cert88
theorem congruent_rank2ca : ∀ x, x ∈ Rank2Cert79.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert79.rows cert_r2ca

theorem congruent89 : ∀ x, x ∈ CongruentPoints89.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints89.pts cert89
theorem congruent_rank2cb : ∀ x, x ∈ Rank2Cert80.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert80.rows cert_r2cb

theorem congruent90 : ∀ x, x ∈ CongruentPoints90.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints90.pts cert90
theorem congruent_rank2cc : ∀ x, x ∈ Rank2Cert81.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert81.rows cert_r2cc

theorem congruent91 : ∀ x, x ∈ CongruentPoints91.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints91.pts cert91
theorem congruent_rank2cd : ∀ x, x ∈ Rank2Cert82.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert82.rows cert_r2cd

theorem congruent92 : ∀ x, x ∈ CongruentPoints92.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints92.pts cert92
theorem congruent_rank2ce : ∀ x, x ∈ Rank2Cert83.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert83.rows cert_r2ce

theorem congruent93 : ∀ x, x ∈ CongruentPoints93.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints93.pts cert93
theorem congruent_rank2cf : ∀ x, x ∈ Rank2Cert84.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert84.rows cert_r2cf

theorem congruent94 : ∀ x, x ∈ CongruentPoints94.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints94.pts cert94
theorem congruent_rank2cg : ∀ x, x ∈ Rank2Cert85.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert85.rows cert_r2cg

theorem congruent95 : ∀ x, x ∈ CongruentPoints95.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints95.pts cert95
theorem congruent_rank2ch : ∀ x, x ∈ Rank2Cert86.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert86.rows cert_r2ch

theorem congruent96 : ∀ x, x ∈ CongruentPoints96.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints96.pts cert96
theorem congruent_rank2ci : ∀ x, x ∈ Rank2Cert87.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert87.rows cert_r2ci

theorem congruent97 : ∀ x, x ∈ CongruentPoints97.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints97.pts cert97
theorem congruent_rank2cj : ∀ x, x ∈ Rank2Cert88.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert88.rows cert_r2cj

theorem congruent98 : ∀ x, x ∈ CongruentPoints98.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints98.pts cert98
theorem congruent_rank2ck : ∀ x, x ∈ Rank2Cert89.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert89.rows cert_r2ck

theorem congruent99 : ∀ x, x ∈ CongruentPoints99.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints99.pts cert99
theorem congruent_rank2cl : ∀ x, x ∈ Rank2Cert90.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert90.rows cert_r2cl

theorem congruent100 : ∀ x, x ∈ CongruentPoints100.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints100.pts cert100
theorem congruent_rank2cm : ∀ x, x ∈ Rank2Cert91.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert91.rows cert_r2cm

theorem congruent101 : ∀ x, x ∈ CongruentPoints101.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints101.pts cert101
theorem congruent_rank2cn : ∀ x, x ∈ Rank2Cert92.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert92.rows cert_r2cn

theorem congruent102 : ∀ x, x ∈ CongruentPoints102.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints102.pts cert102
theorem congruent_rank2co : ∀ x, x ∈ Rank2Cert93.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert93.rows cert_r2co

theorem congruent103 : ∀ x, x ∈ CongruentPoints103.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints103.pts cert103
theorem congruent_rank2cp : ∀ x, x ∈ Rank2Cert94.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert94.rows cert_r2cp

theorem congruent104 : ∀ x, x ∈ CongruentPoints104.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints104.pts cert104
theorem congruent_rank2cq : ∀ x, x ∈ Rank2Cert95.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert95.rows cert_r2cq

theorem congruent105 : ∀ x, x ∈ CongruentPoints105.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints105.pts cert105
theorem congruent_rank2cr : ∀ x, x ∈ Rank2Cert96.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert96.rows cert_r2cr

theorem congruent106 : ∀ x, x ∈ CongruentPoints106.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints106.pts cert106
theorem congruent_rank2cs : ∀ x, x ∈ Rank2Cert97.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert97.rows cert_r2cs

theorem congruent107 : ∀ x, x ∈ CongruentPoints107.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints107.pts cert107
theorem congruent_rank2ct : ∀ x, x ∈ Rank2Cert98.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert98.rows cert_r2ct

theorem congruent108 : ∀ x, x ∈ CongruentPoints108.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints108.pts cert108
theorem congruent_rank2cu : ∀ x, x ∈ Rank2Cert99.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert99.rows cert_r2cu

theorem congruent109 : ∀ x, x ∈ CongruentPoints109.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints109.pts cert109
theorem congruent_rank2cv : ∀ x, x ∈ Rank2Cert100.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert100.rows cert_r2cv

theorem congruent110 : ∀ x, x ∈ CongruentPoints110.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints110.pts cert110
theorem congruent_rank2cw : ∀ x, x ∈ Rank2Cert101.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert101.rows cert_r2cw

theorem congruent111 : ∀ x, x ∈ CongruentPoints111.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints111.pts cert111
theorem congruent_rank2cx : ∀ x, x ∈ Rank2Cert102.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert102.rows cert_r2cx

theorem congruent112 : ∀ x, x ∈ CongruentPoints112.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints112.pts cert112
theorem congruent_rank2cy : ∀ x, x ∈ Rank2Cert103.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert103.rows cert_r2cy

theorem congruent113 : ∀ x, x ∈ CongruentPoints113.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints113.pts cert113
theorem congruent_rank2cz : ∀ x, x ∈ Rank2Cert104.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert104.rows cert_r2cz

theorem congruent114 : ∀ x, x ∈ CongruentPoints114.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints114.pts cert114
theorem congruent_rank2da : ∀ x, x ∈ Rank2Cert105.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert105.rows cert_r2da

theorem congruent115 : ∀ x, x ∈ CongruentPoints115.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints115.pts cert115
theorem congruent_rank2db : ∀ x, x ∈ Rank2Cert106.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert106.rows cert_r2db

theorem congruent116 : ∀ x, x ∈ CongruentPoints116.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints116.pts cert116
theorem congruent_rank2dc : ∀ x, x ∈ Rank2Cert107.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert107.rows cert_r2dc

theorem congruent117 : ∀ x, x ∈ CongruentPoints117.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints117.pts cert117
theorem congruent_rank2dd : ∀ x, x ∈ Rank2Cert108.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert108.rows cert_r2dd

theorem congruent118 : ∀ x, x ∈ CongruentPoints118.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints118.pts cert118
theorem congruent_rank2de : ∀ x, x ∈ Rank2Cert109.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert109.rows cert_r2de

theorem congruent119 : ∀ x, x ∈ CongruentPoints119.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints119.pts cert119
theorem congruent_rank2df : ∀ x, x ∈ Rank2Cert110.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert110.rows cert_r2df

theorem congruent120 : ∀ x, x ∈ CongruentPoints120.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints120.pts cert120
theorem congruent_rank2dg : ∀ x, x ∈ Rank2Cert111.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert111.rows cert_r2dg

theorem congruent121 : ∀ x, x ∈ CongruentPoints121.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints121.pts cert121
theorem congruent_rank2dh : ∀ x, x ∈ Rank2Cert112.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert112.rows cert_r2dh

theorem congruent122 : ∀ x, x ∈ CongruentPoints122.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints122.pts cert122
theorem congruent_rank2di : ∀ x, x ∈ Rank2Cert113.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert113.rows cert_r2di

theorem congruent123 : ∀ x, x ∈ CongruentPoints123.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints123.pts cert123
theorem congruent_rank2dj : ∀ x, x ∈ Rank2Cert114.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert114.rows cert_r2dj

theorem congruent124 : ∀ x, x ∈ CongruentPoints124.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints124.pts cert124
theorem congruent_rank2dk : ∀ x, x ∈ Rank2Cert115.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert115.rows cert_r2dk

theorem congruent125 : ∀ x, x ∈ CongruentPoints125.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints125.pts cert125
theorem congruent_rank2dl : ∀ x, x ∈ Rank2Cert116.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert116.rows cert_r2dl

theorem congruent126 : ∀ x, x ∈ CongruentPoints126.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints126.pts cert126
theorem congruent_rank2dm : ∀ x, x ∈ Rank2Cert117.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert117.rows cert_r2dm

theorem congruent127 : ∀ x, x ∈ CongruentPoints127.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints127.pts cert127
theorem congruent_rank2dn : ∀ x, x ∈ Rank2Cert118.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert118.rows cert_r2dn

theorem congruent128 : ∀ x, x ∈ CongruentPoints128.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints128.pts cert128
theorem congruent_rank2do : ∀ x, x ∈ Rank2Cert119.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert119.rows cert_r2do

theorem congruent129 : ∀ x, x ∈ CongruentPoints129.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints129.pts cert129
theorem congruent_rank2dp : ∀ x, x ∈ Rank2Cert120.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert120.rows cert_r2dp

theorem congruent130 : ∀ x, x ∈ CongruentPoints130.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints130.pts cert130
theorem congruent_rank2dq : ∀ x, x ∈ Rank2Cert121.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert121.rows cert_r2dq

theorem congruent131 : ∀ x, x ∈ CongruentPoints131.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints131.pts cert131
theorem congruent_rank2dr : ∀ x, x ∈ Rank2Cert122.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert122.rows cert_r2dr

theorem congruent132 : ∀ x, x ∈ CongruentPoints132.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints132.pts cert132
theorem congruent_rank2ds : ∀ x, x ∈ Rank2Cert123.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert123.rows cert_r2ds

theorem congruent133 : ∀ x, x ∈ CongruentPoints133.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints133.pts cert133
theorem congruent_rank2dt : ∀ x, x ∈ Rank2Cert124.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert124.rows cert_r2dt

theorem congruent134 : ∀ x, x ∈ CongruentPoints134.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints134.pts cert134
theorem congruent_rank2du : ∀ x, x ∈ Rank2Cert125.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert125.rows cert_r2du

theorem congruent135 : ∀ x, x ∈ CongruentPoints135.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints135.pts cert135
theorem congruent_rank2dv : ∀ x, x ∈ Rank2Cert126.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert126.rows cert_r2dv

theorem congruent136 : ∀ x, x ∈ CongruentPoints136.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints136.pts cert136
theorem congruent_rank2dw : ∀ x, x ∈ Rank2Cert127.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert127.rows cert_r2dw

theorem congruent137 : ∀ x, x ∈ CongruentPoints137.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints137.pts cert137
theorem congruent_rank2dx : ∀ x, x ∈ Rank2Cert128.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert128.rows cert_r2dx

theorem congruent138 : ∀ x, x ∈ CongruentPoints138.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints138.pts cert138
theorem congruent_rank2dy : ∀ x, x ∈ Rank2Cert129.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert129.rows cert_r2dy

theorem congruent139 : ∀ x, x ∈ CongruentPoints139.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints139.pts cert139
theorem congruent_rank2dz : ∀ x, x ∈ Rank2Cert130.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert130.rows cert_r2dz

theorem congruent140 : ∀ x, x ∈ CongruentPoints140.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints140.pts cert140
theorem congruent_rank2ea : ∀ x, x ∈ Rank2Cert131.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert131.rows cert_r2ea

theorem congruent141 : ∀ x, x ∈ CongruentPoints141.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints141.pts cert141
theorem congruent_rank2eb : ∀ x, x ∈ Rank2Cert132.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert132.rows cert_r2eb

theorem congruent142 : ∀ x, x ∈ CongruentPoints142.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints142.pts cert142
theorem congruent_rank2ec : ∀ x, x ∈ Rank2Cert133.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert133.rows cert_r2ec

theorem congruent143 : ∀ x, x ∈ CongruentPoints143.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints143.pts cert143
theorem congruent_rank2ed : ∀ x, x ∈ Rank2Cert134.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert134.rows cert_r2ed

theorem congruent144 : ∀ x, x ∈ CongruentPoints144.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints144.pts cert144
theorem congruent_rank2ee : ∀ x, x ∈ Rank2Cert135.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert135.rows cert_r2ee

theorem congruent145 : ∀ x, x ∈ CongruentPoints145.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints145.pts cert145
theorem congruent_rank2ef : ∀ x, x ∈ Rank2Cert136.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert136.rows cert_r2ef

theorem congruent146 : ∀ x, x ∈ CongruentPoints146.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints146.pts cert146
theorem congruent_rank2eg : ∀ x, x ∈ Rank2Cert137.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert137.rows cert_r2eg

theorem congruent147 : ∀ x, x ∈ CongruentPoints147.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints147.pts cert147
theorem congruent_rank2eh : ∀ x, x ∈ Rank2Cert138.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert138.rows cert_r2eh

theorem congruent148 : ∀ x, x ∈ CongruentPoints148.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints148.pts cert148
theorem congruent_rank2ei : ∀ x, x ∈ Rank2Cert139.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert139.rows cert_r2ei

theorem congruent149 : ∀ x, x ∈ CongruentPoints149.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints149.pts cert149
theorem congruent_rank2ej : ∀ x, x ∈ Rank2Cert140.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert140.rows cert_r2ej

theorem congruent150 : ∀ x, x ∈ CongruentPoints150.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints150.pts cert150
theorem congruent_rank2ek : ∀ x, x ∈ Rank2Cert141.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert141.rows cert_r2ek

theorem congruent151 : ∀ x, x ∈ CongruentPoints151.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints151.pts cert151
theorem congruent_rank2el : ∀ x, x ∈ Rank2Cert142.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert142.rows cert_r2el

theorem congruent152 : ∀ x, x ∈ CongruentPoints152.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints152.pts cert152
theorem congruent_rank2em : ∀ x, x ∈ Rank2Cert143.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert143.rows cert_r2em

theorem congruent153 : ∀ x, x ∈ CongruentPoints153.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints153.pts cert153
theorem congruent_rank2en : ∀ x, x ∈ Rank2Cert144.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert144.rows cert_r2en

theorem congruent154 : ∀ x, x ∈ CongruentPoints154.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints154.pts cert154
theorem congruent_rank2eo : ∀ x, x ∈ Rank2Cert145.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert145.rows cert_r2eo

theorem congruent155 : ∀ x, x ∈ CongruentPoints155.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints155.pts cert155
theorem congruent_rank2ep : ∀ x, x ∈ Rank2Cert146.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert146.rows cert_r2ep

theorem congruent156 : ∀ x, x ∈ CongruentPoints156.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints156.pts cert156
theorem congruent_rank2eq : ∀ x, x ∈ Rank2Cert147.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert147.rows cert_r2eq

theorem congruent157 : ∀ x, x ∈ CongruentPoints157.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints157.pts cert157
theorem congruent_rank2er : ∀ x, x ∈ Rank2Cert148.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert148.rows cert_r2er

theorem congruent158 : ∀ x, x ∈ CongruentPoints158.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints158.pts cert158
theorem congruent_rank2es : ∀ x, x ∈ Rank2Cert149.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert149.rows cert_r2es

theorem congruent159 : ∀ x, x ∈ CongruentPoints159.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints159.pts cert159
theorem congruent_rank2et : ∀ x, x ∈ Rank2Cert150.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert150.rows cert_r2et

theorem congruent160 : ∀ x, x ∈ CongruentPoints160.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints160.pts cert160
theorem congruent_rank2eu : ∀ x, x ∈ Rank2Cert151.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert151.rows cert_r2eu

theorem congruent161 : ∀ x, x ∈ CongruentPoints161.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints161.pts cert161
theorem congruent_rank2ev : ∀ x, x ∈ Rank2Cert152.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert152.rows cert_r2ev

theorem congruent162 : ∀ x, x ∈ CongruentPoints162.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints162.pts cert162
theorem congruent_rank2ew : ∀ x, x ∈ Rank2Cert153.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert153.rows cert_r2ew

theorem congruent163 : ∀ x, x ∈ CongruentPoints163.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints163.pts cert163
theorem congruent_rank2ex : ∀ x, x ∈ Rank2Cert154.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert154.rows cert_r2ex

theorem congruent164 : ∀ x, x ∈ CongruentPoints164.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints164.pts cert164
theorem congruent_rank2ey : ∀ x, x ∈ Rank2Cert155.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert155.rows cert_r2ey

theorem congruent165 : ∀ x, x ∈ CongruentPoints165.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints165.pts cert165
theorem congruent_rank2ez : ∀ x, x ∈ Rank2Cert156.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert156.rows cert_r2ez

theorem congruent166 : ∀ x, x ∈ CongruentPoints166.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints166.pts cert166
theorem congruent_rank2fa : ∀ x, x ∈ Rank2Cert157.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert157.rows cert_r2fa

theorem congruent167 : ∀ x, x ∈ CongruentPoints167.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints167.pts cert167
theorem congruent_rank2fb : ∀ x, x ∈ Rank2Cert158.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert158.rows cert_r2fb

theorem congruent168 : ∀ x, x ∈ CongruentPoints168.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints168.pts cert168
theorem congruent_rank2fc : ∀ x, x ∈ Rank2Cert159.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert159.rows cert_r2fc

theorem congruent169 : ∀ x, x ∈ CongruentPoints169.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints169.pts cert169
theorem congruent_rank2fd : ∀ x, x ∈ Rank2Cert160.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert160.rows cert_r2fd

theorem congruent170 : ∀ x, x ∈ CongruentPoints170.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints170.pts cert170
theorem congruent_rank2fe : ∀ x, x ∈ Rank2Cert161.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert161.rows cert_r2fe

theorem congruent171 : ∀ x, x ∈ CongruentPoints171.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints171.pts cert171
theorem congruent_rank2ff : ∀ x, x ∈ Rank2Cert162.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert162.rows cert_r2ff

theorem congruent172 : ∀ x, x ∈ CongruentPoints172.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints172.pts cert172
theorem congruent_rank2fg : ∀ x, x ∈ Rank2Cert163.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert163.rows cert_r2fg

theorem congruent173 : ∀ x, x ∈ CongruentPoints173.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints173.pts cert173
theorem congruent_rank2fh : ∀ x, x ∈ Rank2Cert164.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert164.rows cert_r2fh

theorem congruent174 : ∀ x, x ∈ CongruentPoints174.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints174.pts cert174
theorem congruent_rank2fi : ∀ x, x ∈ Rank2Cert165.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert165.rows cert_r2fi

theorem congruent175 : ∀ x, x ∈ CongruentPoints175.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints175.pts cert175
theorem congruent_rank2fj : ∀ x, x ∈ Rank2Cert166.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert166.rows cert_r2fj

theorem congruent176 : ∀ x, x ∈ CongruentPoints176.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints176.pts cert176
theorem congruent_rank2fk : ∀ x, x ∈ Rank2Cert167.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert167.rows cert_r2fk

theorem congruent177 : ∀ x, x ∈ CongruentPoints177.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints177.pts cert177
theorem congruent_rank2fl : ∀ x, x ∈ Rank2Cert168.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert168.rows cert_r2fl

theorem congruent178 : ∀ x, x ∈ CongruentPoints178.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints178.pts cert178
theorem congruent_rank2fm : ∀ x, x ∈ Rank2Cert169.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert169.rows cert_r2fm

theorem congruent179 : ∀ x, x ∈ CongruentPoints179.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints179.pts cert179
theorem congruent_rank2fn : ∀ x, x ∈ Rank2Cert170.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert170.rows cert_r2fn

theorem congruent180 : ∀ x, x ∈ CongruentPoints180.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints180.pts cert180
theorem congruent_rank2fo : ∀ x, x ∈ Rank2Cert171.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert171.rows cert_r2fo

theorem congruent181 : ∀ x, x ∈ CongruentPoints181.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints181.pts cert181
theorem congruent_rank2fp : ∀ x, x ∈ Rank2Cert172.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert172.rows cert_r2fp

theorem congruent182 : ∀ x, x ∈ CongruentPoints182.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints182.pts cert182
theorem congruent_rank2fq : ∀ x, x ∈ Rank2Cert173.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert173.rows cert_r2fq

theorem congruent183 : ∀ x, x ∈ CongruentPoints183.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints183.pts cert183
theorem congruent_rank2fr : ∀ x, x ∈ Rank2Cert174.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert174.rows cert_r2fr

theorem congruent184 : ∀ x, x ∈ CongruentPoints184.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints184.pts cert184
theorem congruent_rank2fs : ∀ x, x ∈ Rank2Cert175.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert175.rows cert_r2fs

theorem congruent185 : ∀ x, x ∈ CongruentPoints185.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints185.pts cert185
theorem congruent_rank2ft : ∀ x, x ∈ Rank2Cert176.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert176.rows cert_r2ft

theorem congruent186 : ∀ x, x ∈ CongruentPoints186.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints186.pts cert186
theorem congruent_rank2fu : ∀ x, x ∈ Rank2Cert177.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert177.rows cert_r2fu

theorem congruent187 : ∀ x, x ∈ CongruentPoints187.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints187.pts cert187
theorem congruent_rank2fv : ∀ x, x ∈ Rank2Cert178.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert178.rows cert_r2fv

theorem congruent188 : ∀ x, x ∈ CongruentPoints188.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints188.pts cert188
theorem congruent_rank2fw : ∀ x, x ∈ Rank2Cert179.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert179.rows cert_r2fw

theorem congruent189 : ∀ x, x ∈ CongruentPoints189.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints189.pts cert189
theorem congruent_rank2fx : ∀ x, x ∈ Rank2Cert180.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert180.rows cert_r2fx

theorem congruent190 : ∀ x, x ∈ CongruentPoints190.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints190.pts cert190
theorem congruent_rank2fy : ∀ x, x ∈ Rank2Cert181.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert181.rows cert_r2fy

theorem congruent191 : ∀ x, x ∈ CongruentPoints191.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints191.pts cert191
theorem congruent_rank2fz : ∀ x, x ∈ Rank2Cert182.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert182.rows cert_r2fz

theorem congruent192 : ∀ x, x ∈ CongruentPoints192.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints192.pts cert192
theorem congruent_rank2ga : ∀ x, x ∈ Rank2Cert183.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert183.rows cert_r2ga

theorem congruent193 : ∀ x, x ∈ CongruentPoints193.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints193.pts cert193
theorem congruent_rank2gb : ∀ x, x ∈ Rank2Cert184.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert184.rows cert_r2gb

theorem congruent194 : ∀ x, x ∈ CongruentPoints194.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints194.pts cert194
theorem congruent_rank2gc : ∀ x, x ∈ Rank2Cert185.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert185.rows cert_r2gc

theorem congruent195 : ∀ x, x ∈ CongruentPoints195.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints195.pts cert195
theorem congruent_rank2gd : ∀ x, x ∈ Rank2Cert186.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert186.rows cert_r2gd

theorem congruent196 : ∀ x, x ∈ CongruentPoints196.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints196.pts cert196
theorem congruent_rank2ge : ∀ x, x ∈ Rank2Cert187.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert187.rows cert_r2ge

theorem congruent197 : ∀ x, x ∈ CongruentPoints197.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints197.pts cert197
theorem congruent_rank2gf : ∀ x, x ∈ Rank2Cert188.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert188.rows cert_r2gf

theorem congruent198 : ∀ x, x ∈ CongruentPoints198.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints198.pts cert198
theorem congruent_rank2gg : ∀ x, x ∈ Rank2Cert189.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert189.rows cert_r2gg

theorem congruent199 : ∀ x, x ∈ CongruentPoints199.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints199.pts cert199
theorem congruent_rank2gh : ∀ x, x ∈ Rank2Cert190.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert190.rows cert_r2gh

theorem congruent200 : ∀ x, x ∈ CongruentPoints200.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints200.pts cert200
theorem congruent_rank2gi : ∀ x, x ∈ Rank2Cert191.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert191.rows cert_r2gi

theorem congruent201 : ∀ x, x ∈ CongruentPoints201.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints201.pts cert201
theorem congruent_rank2gj : ∀ x, x ∈ Rank2Cert192.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert192.rows cert_r2gj

theorem congruent202 : ∀ x, x ∈ CongruentPoints202.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints202.pts cert202
theorem congruent_rank2gk : ∀ x, x ∈ Rank2Cert193.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert193.rows cert_r2gk

theorem congruent203 : ∀ x, x ∈ CongruentPoints203.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints203.pts cert203
theorem congruent_rank2gl : ∀ x, x ∈ Rank2Cert194.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert194.rows cert_r2gl

theorem congruent204 : ∀ x, x ∈ CongruentPoints204.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints204.pts cert204
theorem congruent_rank2gm : ∀ x, x ∈ Rank2Cert195.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert195.rows cert_r2gm

theorem congruent205 : ∀ x, x ∈ CongruentPoints205.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints205.pts cert205
theorem congruent_rank2gn : ∀ x, x ∈ Rank2Cert196.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert196.rows cert_r2gn

theorem congruent206 : ∀ x, x ∈ CongruentPoints206.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints206.pts cert206
theorem congruent_rank2go : ∀ x, x ∈ Rank2Cert197.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert197.rows cert_r2go

theorem congruent207 : ∀ x, x ∈ CongruentPoints207.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints207.pts cert207
theorem congruent_rank2gp : ∀ x, x ∈ Rank2Cert198.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert198.rows cert_r2gp

theorem congruent208 : ∀ x, x ∈ CongruentPoints208.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints208.pts cert208
theorem congruent_rank2gq : ∀ x, x ∈ Rank2Cert199.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert199.rows cert_r2gq

theorem congruent209 : ∀ x, x ∈ CongruentPoints209.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints209.pts cert209
theorem congruent_rank2gr : ∀ x, x ∈ Rank2Cert200.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert200.rows cert_r2gr

theorem congruent210 : ∀ x, x ∈ CongruentPoints210.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints210.pts cert210
theorem congruent_rank2gs : ∀ x, x ∈ Rank2Cert201.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert201.rows cert_r2gs

theorem congruent211 : ∀ x, x ∈ CongruentPoints211.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints211.pts cert211
theorem congruent_rank2gt : ∀ x, x ∈ Rank2Cert202.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert202.rows cert_r2gt

theorem congruent212 : ∀ x, x ∈ CongruentPoints212.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints212.pts cert212
theorem congruent_rank2gu : ∀ x, x ∈ Rank2Cert203.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert203.rows cert_r2gu

theorem congruent213 : ∀ x, x ∈ CongruentPoints213.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints213.pts cert213
theorem congruent_rank2gv : ∀ x, x ∈ Rank2Cert204.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert204.rows cert_r2gv

theorem congruent214 : ∀ x, x ∈ CongruentPoints214.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints214.pts cert214
theorem congruent_rank2gw : ∀ x, x ∈ Rank2Cert205.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert205.rows cert_r2gw

theorem congruent215 : ∀ x, x ∈ CongruentPoints215.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints215.pts cert215
theorem congruent_rank2gx : ∀ x, x ∈ Rank2Cert206.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert206.rows cert_r2gx

theorem congruent216 : ∀ x, x ∈ CongruentPoints216.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints216.pts cert216
theorem congruent_rank2gy : ∀ x, x ∈ Rank2Cert207.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert207.rows cert_r2gy

theorem congruent217 : ∀ x, x ∈ CongruentPoints217.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints217.pts cert217
theorem congruent_rank2gz : ∀ x, x ∈ Rank2Cert208.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert208.rows cert_r2gz

theorem congruent218 : ∀ x, x ∈ CongruentPoints218.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints218.pts cert218
theorem congruent_rank2ha : ∀ x, x ∈ Rank2Cert209.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert209.rows cert_r2ha

theorem congruent219 : ∀ x, x ∈ CongruentPoints219.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints219.pts cert219
theorem congruent_rank2hb : ∀ x, x ∈ Rank2Cert210.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert210.rows cert_r2hb

theorem congruent220 : ∀ x, x ∈ CongruentPoints220.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints220.pts cert220
theorem congruent_rank2hc : ∀ x, x ∈ Rank2Cert211.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert211.rows cert_r2hc

theorem congruent221 : ∀ x, x ∈ CongruentPoints221.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints221.pts cert221
theorem congruent_rank2hd : ∀ x, x ∈ Rank2Cert212.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert212.rows cert_r2hd

theorem congruent222 : ∀ x, x ∈ CongruentPoints222.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints222.pts cert222
theorem congruent_rank2he : ∀ x, x ∈ Rank2Cert213.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert213.rows cert_r2he

theorem congruent223 : ∀ x, x ∈ CongruentPoints223.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints223.pts cert223
theorem congruent_rank2hf : ∀ x, x ∈ Rank2Cert214.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert214.rows cert_r2hf

theorem congruent224 : ∀ x, x ∈ CongruentPoints224.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints224.pts cert224
theorem congruent_rank2hg : ∀ x, x ∈ Rank2Cert215.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert215.rows cert_r2hg

theorem congruent225 : ∀ x, x ∈ CongruentPoints225.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints225.pts cert225
theorem congruent_rank2hh : ∀ x, x ∈ Rank2Cert216.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert216.rows cert_r2hh

theorem congruent226 : ∀ x, x ∈ CongruentPoints226.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints226.pts cert226
theorem congruent_rank2hi : ∀ x, x ∈ Rank2Cert217.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert217.rows cert_r2hi

theorem congruent227 : ∀ x, x ∈ CongruentPoints227.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints227.pts cert227
theorem congruent_rank2hj : ∀ x, x ∈ Rank2Cert218.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert218.rows cert_r2hj

theorem congruent228 : ∀ x, x ∈ CongruentPoints228.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints228.pts cert228
theorem congruent_rank2hk : ∀ x, x ∈ Rank2Cert219.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert219.rows cert_r2hk

theorem congruent229 : ∀ x, x ∈ CongruentPoints229.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints229.pts cert229
theorem congruent_rank2hl : ∀ x, x ∈ Rank2Cert220.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert220.rows cert_r2hl

theorem congruent230 : ∀ x, x ∈ CongruentPoints230.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints230.pts cert230
theorem congruent_rank2hm : ∀ x, x ∈ Rank2Cert221.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert221.rows cert_r2hm

theorem congruent231 : ∀ x, x ∈ CongruentPoints231.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints231.pts cert231
theorem congruent_rank2hn : ∀ x, x ∈ Rank2Cert222.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert222.rows cert_r2hn

theorem congruent232 : ∀ x, x ∈ CongruentPoints232.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints232.pts cert232
theorem congruent_rank2ho : ∀ x, x ∈ Rank2Cert223.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert223.rows cert_r2ho

theorem congruent233 : ∀ x, x ∈ CongruentPoints233.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints233.pts cert233
theorem congruent_rank2hp : ∀ x, x ∈ Rank2Cert224.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert224.rows cert_r2hp

theorem congruent234 : ∀ x, x ∈ CongruentPoints234.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints234.pts cert234
theorem congruent_rank2hq : ∀ x, x ∈ Rank2Cert225.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert225.rows cert_r2hq

theorem congruent235 : ∀ x, x ∈ CongruentPoints235.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints235.pts cert235
theorem congruent_rank2hr : ∀ x, x ∈ Rank2Cert226.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert226.rows cert_r2hr

theorem congruent236 : ∀ x, x ∈ CongruentPoints236.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints236.pts cert236
theorem congruent_rank2hs : ∀ x, x ∈ Rank2Cert227.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert227.rows cert_r2hs

theorem congruent237 : ∀ x, x ∈ CongruentPoints237.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints237.pts cert237
theorem congruent_rank2ht : ∀ x, x ∈ Rank2Cert228.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert228.rows cert_r2ht

theorem congruent238 : ∀ x, x ∈ CongruentPoints238.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints238.pts cert238
theorem congruent_rank2hu : ∀ x, x ∈ Rank2Cert229.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert229.rows cert_r2hu

theorem congruent239 : ∀ x, x ∈ CongruentPoints239.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints239.pts cert239
theorem congruent_rank2hv : ∀ x, x ∈ Rank2Cert230.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert230.rows cert_r2hv

theorem congruent240 : ∀ x, x ∈ CongruentPoints240.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints240.pts cert240
theorem congruent_rank2hw : ∀ x, x ∈ Rank2Cert231.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert231.rows cert_r2hw

theorem congruent241 : ∀ x, x ∈ CongruentPoints241.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints241.pts cert241
theorem congruent_rank2hx : ∀ x, x ∈ Rank2Cert232.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert232.rows cert_r2hx

theorem congruent242 : ∀ x, x ∈ CongruentPoints242.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints242.pts cert242
theorem congruent_rank2hy : ∀ x, x ∈ Rank2Cert233.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert233.rows cert_r2hy

theorem congruent243 : ∀ x, x ∈ CongruentPoints243.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints243.pts cert243
theorem congruent_rank2hz : ∀ x, x ∈ Rank2Cert234.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert234.rows cert_r2hz

theorem congruent244 : ∀ x, x ∈ CongruentPoints244.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints244.pts cert244
theorem congruent_rank2ia : ∀ x, x ∈ Rank2Cert235.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert235.rows cert_r2ia

theorem congruent245 : ∀ x, x ∈ CongruentPoints245.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints245.pts cert245
theorem congruent_rank2ib : ∀ x, x ∈ Rank2Cert236.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert236.rows cert_r2ib

theorem congruent246 : ∀ x, x ∈ CongruentPoints246.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints246.pts cert246
theorem congruent_rank2ic : ∀ x, x ∈ Rank2Cert237.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert237.rows cert_r2ic

theorem congruent247 : ∀ x, x ∈ CongruentPoints247.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints247.pts cert247
theorem congruent_rank2id : ∀ x, x ∈ Rank2Cert238.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert238.rows cert_r2id

theorem congruent248 : ∀ x, x ∈ CongruentPoints248.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints248.pts cert248
theorem congruent_rank2ie : ∀ x, x ∈ Rank2Cert239.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert239.rows cert_r2ie

theorem congruent249 : ∀ x, x ∈ CongruentPoints249.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints249.pts cert249
theorem congruent_rank2if : ∀ x, x ∈ Rank2Cert240.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert240.rows cert_r2if

theorem congruent250 : ∀ x, x ∈ CongruentPoints250.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints250.pts cert250
theorem congruent_rank2ig : ∀ x, x ∈ Rank2Cert241.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert241.rows cert_r2ig

theorem congruent251 : ∀ x, x ∈ CongruentPoints251.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints251.pts cert251
theorem congruent_rank2ih : ∀ x, x ∈ Rank2Cert242.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert242.rows cert_r2ih

theorem congruent252 : ∀ x, x ∈ CongruentPoints252.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints252.pts cert252
theorem congruent_rank2ii : ∀ x, x ∈ Rank2Cert243.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert243.rows cert_r2ii

theorem congruent253 : ∀ x, x ∈ CongruentPoints253.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints253.pts cert253
theorem congruent_rank2ij : ∀ x, x ∈ Rank2Cert244.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert244.rows cert_r2ij

theorem congruent254 : ∀ x, x ∈ CongruentPoints254.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints254.pts cert254
theorem congruent_rank2ik : ∀ x, x ∈ Rank2Cert245.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert245.rows cert_r2ik

theorem congruent255 : ∀ x, x ∈ CongruentPoints255.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints255.pts cert255
theorem congruent_rank2il : ∀ x, x ∈ Rank2Cert246.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert246.rows cert_r2il

theorem congruent256 : ∀ x, x ∈ CongruentPoints256.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints256.pts cert256
theorem congruent_rank2im : ∀ x, x ∈ Rank2Cert247.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert247.rows cert_r2im

theorem congruent257 : ∀ x, x ∈ CongruentPoints257.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints257.pts cert257
theorem congruent_rank2in : ∀ x, x ∈ Rank2Cert248.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert248.rows cert_r2in

theorem congruent258 : ∀ x, x ∈ CongruentPoints258.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints258.pts cert258
theorem congruent_rank2io : ∀ x, x ∈ Rank2Cert249.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert249.rows cert_r2io

theorem congruent259 : ∀ x, x ∈ CongruentPoints259.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints259.pts cert259
theorem congruent_rank2ip : ∀ x, x ∈ Rank2Cert250.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert250.rows cert_r2ip

theorem congruent260 : ∀ x, x ∈ CongruentPoints260.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints260.pts cert260
theorem congruent_rank2iq : ∀ x, x ∈ Rank2Cert251.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert251.rows cert_r2iq

theorem congruent261 : ∀ x, x ∈ CongruentPoints261.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints261.pts cert261
theorem congruent_rank2ir : ∀ x, x ∈ Rank2Cert252.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert252.rows cert_r2ir

theorem congruent262 : ∀ x, x ∈ CongruentPoints262.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints262.pts cert262
theorem congruent_rank2is : ∀ x, x ∈ Rank2Cert253.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert253.rows cert_r2is

theorem congruent263 : ∀ x, x ∈ CongruentPoints263.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints263.pts cert263
theorem congruent_rank2it : ∀ x, x ∈ Rank2Cert254.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert254.rows cert_r2it

theorem congruent264 : ∀ x, x ∈ CongruentPoints264.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints264.pts cert264
theorem congruent_rank2iu : ∀ x, x ∈ Rank2Cert255.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert255.rows cert_r2iu

theorem congruent265 : ∀ x, x ∈ CongruentPoints265.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints265.pts cert265
theorem congruent_rank2iv : ∀ x, x ∈ Rank2Cert256.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert256.rows cert_r2iv

theorem congruent266 : ∀ x, x ∈ CongruentPoints266.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints266.pts cert266
theorem congruent_rank2iw : ∀ x, x ∈ Rank2Cert257.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert257.rows cert_r2iw

theorem congruent267 : ∀ x, x ∈ CongruentPoints267.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints267.pts cert267
theorem congruent_rank2ix : ∀ x, x ∈ Rank2Cert258.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert258.rows cert_r2ix

theorem congruent268 : ∀ x, x ∈ CongruentPoints268.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints268.pts cert268
theorem congruent_rank2iy : ∀ x, x ∈ Rank2Cert259.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert259.rows cert_r2iy

theorem congruent269 : ∀ x, x ∈ CongruentPoints269.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints269.pts cert269
theorem congruent_rank2iz : ∀ x, x ∈ Rank2Cert260.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert260.rows cert_r2iz

theorem congruent270 : ∀ x, x ∈ CongruentPoints270.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints270.pts cert270
theorem congruent_rank2ja : ∀ x, x ∈ Rank2Cert261.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert261.rows cert_r2ja

theorem congruent271 : ∀ x, x ∈ CongruentPoints271.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints271.pts cert271
theorem congruent_rank2jb : ∀ x, x ∈ Rank2Cert262.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert262.rows cert_r2jb

theorem congruent272 : ∀ x, x ∈ CongruentPoints272.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints272.pts cert272
theorem congruent_rank2jc : ∀ x, x ∈ Rank2Cert263.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert263.rows cert_r2jc

theorem congruent273 : ∀ x, x ∈ CongruentPoints273.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints273.pts cert273
theorem congruent_rank2jd : ∀ x, x ∈ Rank2Cert264.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert264.rows cert_r2jd

theorem congruent274 : ∀ x, x ∈ CongruentPoints274.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints274.pts cert274
theorem congruent_rank2je : ∀ x, x ∈ Rank2Cert265.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert265.rows cert_r2je

theorem congruent275 : ∀ x, x ∈ CongruentPoints275.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints275.pts cert275
theorem congruent_rank2jf : ∀ x, x ∈ Rank2Cert266.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert266.rows cert_r2jf

theorem congruent276 : ∀ x, x ∈ CongruentPoints276.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints276.pts cert276
theorem congruent_rank2jg : ∀ x, x ∈ Rank2Cert267.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert267.rows cert_r2jg

theorem congruent277 : ∀ x, x ∈ CongruentPoints277.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints277.pts cert277
theorem congruent_rank2jh : ∀ x, x ∈ Rank2Cert268.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert268.rows cert_r2jh

theorem congruent278 : ∀ x, x ∈ CongruentPoints278.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints278.pts cert278
theorem congruent_rank2ji : ∀ x, x ∈ Rank2Cert269.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert269.rows cert_r2ji

theorem congruent279 : ∀ x, x ∈ CongruentPoints279.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints279.pts cert279
theorem congruent_rank2jj : ∀ x, x ∈ Rank2Cert270.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert270.rows cert_r2jj

theorem congruent280 : ∀ x, x ∈ CongruentPoints280.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints280.pts cert280
theorem congruent_rank2jk : ∀ x, x ∈ Rank2Cert271.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert271.rows cert_r2jk

theorem congruent281 : ∀ x, x ∈ CongruentPoints281.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints281.pts cert281
theorem congruent_rank2jl : ∀ x, x ∈ Rank2Cert272.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert272.rows cert_r2jl

theorem congruent282 : ∀ x, x ∈ CongruentPoints282.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints282.pts cert282
theorem congruent_rank2jm : ∀ x, x ∈ Rank2Cert273.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert273.rows cert_r2jm

theorem congruent283 : ∀ x, x ∈ CongruentPoints283.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints283.pts cert283
theorem congruent_rank2jn : ∀ x, x ∈ Rank2Cert274.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert274.rows cert_r2jn

theorem congruent284 : ∀ x, x ∈ CongruentPoints284.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints284.pts cert284
theorem congruent_rank2jo : ∀ x, x ∈ Rank2Cert275.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert275.rows cert_r2jo

theorem congruent285 : ∀ x, x ∈ CongruentPoints285.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints285.pts cert285
theorem congruent_rank2jp : ∀ x, x ∈ Rank2Cert276.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert276.rows cert_r2jp

theorem congruent286 : ∀ x, x ∈ CongruentPoints286.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints286.pts cert286
theorem congruent_rank2jq : ∀ x, x ∈ Rank2Cert277.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert277.rows cert_r2jq

theorem congruent287 : ∀ x, x ∈ CongruentPoints287.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints287.pts cert287
theorem congruent_rank2jr : ∀ x, x ∈ Rank2Cert278.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert278.rows cert_r2jr

theorem congruent288 : ∀ x, x ∈ CongruentPoints288.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints288.pts cert288
theorem congruent_rank2js : ∀ x, x ∈ Rank2Cert279.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert279.rows cert_r2js

theorem congruent289 : ∀ x, x ∈ CongruentPoints289.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints289.pts cert289
theorem congruent_rank2jt : ∀ x, x ∈ Rank2Cert280.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert280.rows cert_r2jt

theorem congruent290 : ∀ x, x ∈ CongruentPoints290.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints290.pts cert290
theorem congruent_rank2ju : ∀ x, x ∈ Rank2Cert281.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert281.rows cert_r2ju

theorem congruent291 : ∀ x, x ∈ CongruentPoints291.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints291.pts cert291
theorem congruent_rank2jv : ∀ x, x ∈ Rank2Cert282.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert282.rows cert_r2jv

theorem congruent292 : ∀ x, x ∈ CongruentPoints292.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints292.pts cert292
theorem congruent_rank2jw : ∀ x, x ∈ Rank2Cert283.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert283.rows cert_r2jw

theorem congruent293 : ∀ x, x ∈ CongruentPoints293.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints293.pts cert293
theorem congruent_rank2jx : ∀ x, x ∈ Rank2Cert284.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert284.rows cert_r2jx

theorem congruent294 : ∀ x, x ∈ CongruentPoints294.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints294.pts cert294
theorem congruent_rank2jy : ∀ x, x ∈ Rank2Cert285.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert285.rows cert_r2jy

theorem congruent295 : ∀ x, x ∈ CongruentPoints295.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints295.pts cert295
theorem congruent_rank2jz : ∀ x, x ∈ Rank2Cert286.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert286.rows cert_r2jz

theorem congruent296 : ∀ x, x ∈ CongruentPoints296.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints296.pts cert296
theorem congruent_rank2ka : ∀ x, x ∈ Rank2Cert287.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert287.rows cert_r2ka

theorem congruent297 : ∀ x, x ∈ CongruentPoints297.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints297.pts cert297
theorem congruent_rank2kb : ∀ x, x ∈ Rank2Cert288.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert288.rows cert_r2kb

theorem congruent298 : ∀ x, x ∈ CongruentPoints298.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints298.pts cert298
theorem congruent_rank2kc : ∀ x, x ∈ Rank2Cert289.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert289.rows cert_r2kc

theorem congruent299 : ∀ x, x ∈ CongruentPoints299.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints299.pts cert299
theorem congruent_rank2kd : ∀ x, x ∈ Rank2Cert290.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert290.rows cert_r2kd

theorem congruent300 : ∀ x, x ∈ CongruentPoints300.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints300.pts cert300
theorem congruent_rank2ke : ∀ x, x ∈ Rank2Cert291.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert291.rows cert_r2ke

theorem congruent301 : ∀ x, x ∈ CongruentPoints301.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints301.pts cert301
theorem congruent_rank2kf : ∀ x, x ∈ Rank2Cert292.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert292.rows cert_r2kf

theorem congruent302 : ∀ x, x ∈ CongruentPoints302.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints302.pts cert302
theorem congruent_rank2kg : ∀ x, x ∈ Rank2Cert293.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert293.rows cert_r2kg

theorem congruent303 : ∀ x, x ∈ CongruentPoints303.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints303.pts cert303
theorem congruent_rank2kh : ∀ x, x ∈ Rank2Cert294.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert294.rows cert_r2kh

theorem congruent304 : ∀ x, x ∈ CongruentPoints304.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints304.pts cert304
theorem congruent_rank2ki : ∀ x, x ∈ Rank2Cert295.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert295.rows cert_r2ki

theorem congruent305 : ∀ x, x ∈ CongruentPoints305.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints305.pts cert305
theorem congruent_rank2kj : ∀ x, x ∈ Rank2Cert296.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert296.rows cert_r2kj

theorem congruent306 : ∀ x, x ∈ CongruentPoints306.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints306.pts cert306
theorem congruent_rank2kk : ∀ x, x ∈ Rank2Cert297.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert297.rows cert_r2kk

theorem congruent307 : ∀ x, x ∈ CongruentPoints307.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints307.pts cert307
theorem congruent_rank2kl : ∀ x, x ∈ Rank2Cert298.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert298.rows cert_r2kl

theorem congruent308 : ∀ x, x ∈ CongruentPoints308.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints308.pts cert308
theorem congruent_rank2km : ∀ x, x ∈ Rank2Cert299.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert299.rows cert_r2km

theorem congruent309 : ∀ x, x ∈ CongruentPoints309.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints309.pts cert309
theorem congruent_rank2kn : ∀ x, x ∈ Rank2Cert300.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert300.rows cert_r2kn

theorem congruent310 : ∀ x, x ∈ CongruentPoints310.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints310.pts cert310
theorem congruent_rank2ko : ∀ x, x ∈ Rank2Cert301.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert301.rows cert_r2ko

theorem congruent311 : ∀ x, x ∈ CongruentPoints311.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints311.pts cert311
theorem congruent_rank2kp : ∀ x, x ∈ Rank2Cert302.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert302.rows cert_r2kp

theorem congruent312 : ∀ x, x ∈ CongruentPoints312.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints312.pts cert312
theorem congruent_rank2kq : ∀ x, x ∈ Rank2Cert303.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert303.rows cert_r2kq

theorem congruent313 : ∀ x, x ∈ CongruentPoints313.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints313.pts cert313
theorem congruent_rank2kr : ∀ x, x ∈ Rank2Cert304.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert304.rows cert_r2kr

theorem congruent314 : ∀ x, x ∈ CongruentPoints314.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints314.pts cert314
theorem congruent_rank2ks : ∀ x, x ∈ Rank2Cert305.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert305.rows cert_r2ks

theorem congruent315 : ∀ x, x ∈ CongruentPoints315.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints315.pts cert315
theorem congruent_rank2kt : ∀ x, x ∈ Rank2Cert306.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert306.rows cert_r2kt

theorem congruent316 : ∀ x, x ∈ CongruentPoints316.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints316.pts cert316
theorem congruent_rank2ku : ∀ x, x ∈ Rank2Cert307.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert307.rows cert_r2ku

theorem congruent317 : ∀ x, x ∈ CongruentPoints317.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints317.pts cert317
theorem congruent_rank2kv : ∀ x, x ∈ Rank2Cert308.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert308.rows cert_r2kv

theorem congruent318 : ∀ x, x ∈ CongruentPoints318.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints318.pts cert318
theorem congruent_rank2kw : ∀ x, x ∈ Rank2Cert309.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert309.rows cert_r2kw

theorem congruent319 : ∀ x, x ∈ CongruentPoints319.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints319.pts cert319
theorem congruent_rank2kx : ∀ x, x ∈ Rank2Cert310.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert310.rows cert_r2kx

theorem congruent320 : ∀ x, x ∈ CongruentPoints320.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints320.pts cert320
theorem congruent_rank2ky : ∀ x, x ∈ Rank2Cert311.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert311.rows cert_r2ky

theorem congruent321 : ∀ x, x ∈ CongruentPoints321.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints321.pts cert321
theorem congruent_rank2kz : ∀ x, x ∈ Rank2Cert312.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert312.rows cert_r2kz

theorem congruent322 : ∀ x, x ∈ CongruentPoints322.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints322.pts cert322
theorem congruent_rank2la : ∀ x, x ∈ Rank2Cert313.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert313.rows cert_r2la

theorem congruent323 : ∀ x, x ∈ CongruentPoints323.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints323.pts cert323
theorem congruent_rank2lb : ∀ x, x ∈ Rank2Cert314.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert314.rows cert_r2lb

theorem congruent324 : ∀ x, x ∈ CongruentPoints324.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints324.pts cert324
theorem congruent_rank2lc : ∀ x, x ∈ Rank2Cert315.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert315.rows cert_r2lc

theorem congruent325 : ∀ x, x ∈ CongruentPoints325.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints325.pts cert325
theorem congruent_rank2ld : ∀ x, x ∈ Rank2Cert316.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert316.rows cert_r2ld

theorem congruent326 : ∀ x, x ∈ CongruentPoints326.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints326.pts cert326
theorem congruent_rank2le : ∀ x, x ∈ Rank2Cert317.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert317.rows cert_r2le

theorem congruent327 : ∀ x, x ∈ CongruentPoints327.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints327.pts cert327
theorem congruent_rank2lf : ∀ x, x ∈ Rank2Cert318.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert318.rows cert_r2lf

theorem congruent328 : ∀ x, x ∈ CongruentPoints328.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints328.pts cert328
theorem congruent_rank2lg : ∀ x, x ∈ Rank2Cert319.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert319.rows cert_r2lg

theorem congruent329 : ∀ x, x ∈ CongruentPoints329.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints329.pts cert329
theorem congruent_rank2lh : ∀ x, x ∈ Rank2Cert320.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert320.rows cert_r2lh

theorem congruent330 : ∀ x, x ∈ CongruentPoints330.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints330.pts cert330
theorem congruent_rank2li : ∀ x, x ∈ Rank2Cert321.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert321.rows cert_r2li

theorem congruent331 : ∀ x, x ∈ CongruentPoints331.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints331.pts cert331
theorem congruent_rank2lj : ∀ x, x ∈ Rank2Cert322.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert322.rows cert_r2lj

theorem congruent332 : ∀ x, x ∈ CongruentPoints332.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints332.pts cert332
theorem congruent_rank2lk : ∀ x, x ∈ Rank2Cert323.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert323.rows cert_r2lk

theorem congruent333 : ∀ x, x ∈ CongruentPoints333.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints333.pts cert333
theorem congruent_rank2ll : ∀ x, x ∈ Rank2Cert324.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert324.rows cert_r2ll

theorem congruent334 : ∀ x, x ∈ CongruentPoints334.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints334.pts cert334
theorem congruent_rank2lm : ∀ x, x ∈ Rank2Cert325.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert325.rows cert_r2lm

theorem congruent335 : ∀ x, x ∈ CongruentPoints335.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints335.pts cert335
theorem congruent_rank2ln : ∀ x, x ∈ Rank2Cert326.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert326.rows cert_r2ln

theorem congruent336 : ∀ x, x ∈ CongruentPoints336.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints336.pts cert336
theorem congruent_rank2lo : ∀ x, x ∈ Rank2Cert327.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert327.rows cert_r2lo

theorem congruent337 : ∀ x, x ∈ CongruentPoints337.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints337.pts cert337
theorem congruent_rank2lp : ∀ x, x ∈ Rank2Cert328.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert328.rows cert_r2lp

theorem congruent338 : ∀ x, x ∈ CongruentPoints338.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints338.pts cert338
theorem congruent_rank2lq : ∀ x, x ∈ Rank2Cert329.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert329.rows cert_r2lq

theorem congruent339 : ∀ x, x ∈ CongruentPoints339.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints339.pts cert339
theorem congruent_rank2lr : ∀ x, x ∈ Rank2Cert330.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert330.rows cert_r2lr

theorem congruent340 : ∀ x, x ∈ CongruentPoints340.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints340.pts cert340
theorem congruent_rank2ls : ∀ x, x ∈ Rank2Cert331.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert331.rows cert_r2ls

theorem congruent341 : ∀ x, x ∈ CongruentPoints341.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints341.pts cert341
theorem congruent_rank2lt : ∀ x, x ∈ Rank2Cert332.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert332.rows cert_r2lt

theorem congruent342 : ∀ x, x ∈ CongruentPoints342.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints342.pts cert342
theorem congruent_rank2lu : ∀ x, x ∈ Rank2Cert333.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert333.rows cert_r2lu

theorem congruent343 : ∀ x, x ∈ CongruentPoints343.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints343.pts cert343
theorem congruent_rank2lv : ∀ x, x ∈ Rank2Cert334.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert334.rows cert_r2lv

theorem congruent344 : ∀ x, x ∈ CongruentPoints344.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints344.pts cert344
theorem congruent_rank2lw : ∀ x, x ∈ Rank2Cert335.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert335.rows cert_r2lw

theorem congruent345 : ∀ x, x ∈ CongruentPoints345.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints345.pts cert345
theorem congruent_rank2lx : ∀ x, x ∈ Rank2Cert336.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert336.rows cert_r2lx

theorem congruent346 : ∀ x, x ∈ CongruentPoints346.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints346.pts cert346
theorem congruent_rank2ly : ∀ x, x ∈ Rank2Cert337.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert337.rows cert_r2ly

theorem congruent347 : ∀ x, x ∈ CongruentPoints347.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints347.pts cert347
theorem congruent_rank2lz : ∀ x, x ∈ Rank2Cert338.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert338.rows cert_r2lz

theorem congruent348 : ∀ x, x ∈ CongruentPoints348.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints348.pts cert348
theorem congruent_rank2ma : ∀ x, x ∈ Rank2Cert339.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert339.rows cert_r2ma

theorem congruent349 : ∀ x, x ∈ CongruentPoints349.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints349.pts cert349
theorem congruent_rank2mb : ∀ x, x ∈ Rank2Cert340.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert340.rows cert_r2mb

theorem congruent350 : ∀ x, x ∈ CongruentPoints350.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints350.pts cert350
theorem congruent_rank2mc : ∀ x, x ∈ Rank2Cert341.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert341.rows cert_r2mc

theorem congruent351 : ∀ x, x ∈ CongruentPoints351.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints351.pts cert351
theorem congruent_rank2md : ∀ x, x ∈ Rank2Cert342.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert342.rows cert_r2md

theorem congruent352 : ∀ x, x ∈ CongruentPoints352.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints352.pts cert352
theorem congruent_rank2me : ∀ x, x ∈ Rank2Cert343.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert343.rows cert_r2me

theorem congruent353 : ∀ x, x ∈ CongruentPoints353.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints353.pts cert353
theorem congruent_rank2mf : ∀ x, x ∈ Rank2Cert344.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert344.rows cert_r2mf

theorem congruent354 : ∀ x, x ∈ CongruentPoints354.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints354.pts cert354
theorem congruent_rank2mg : ∀ x, x ∈ Rank2Cert345.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert345.rows cert_r2mg

theorem congruent355 : ∀ x, x ∈ CongruentPoints355.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints355.pts cert355
theorem congruent_rank2mh : ∀ x, x ∈ Rank2Cert346.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert346.rows cert_r2mh

theorem congruent356 : ∀ x, x ∈ CongruentPoints356.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints356.pts cert356
theorem congruent_rank2mi : ∀ x, x ∈ Rank2Cert347.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert347.rows cert_r2mi

theorem congruent357 : ∀ x, x ∈ CongruentPoints357.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints357.pts cert357
theorem congruent_rank2mj : ∀ x, x ∈ Rank2Cert348.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert348.rows cert_r2mj

theorem congruent358 : ∀ x, x ∈ CongruentPoints358.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints358.pts cert358
theorem congruent_rank2mk : ∀ x, x ∈ Rank2Cert349.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert349.rows cert_r2mk

theorem congruent359 : ∀ x, x ∈ CongruentPoints359.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints359.pts cert359
theorem congruent_rank2ml : ∀ x, x ∈ Rank2Cert350.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert350.rows cert_r2ml

theorem congruent360 : ∀ x, x ∈ CongruentPoints360.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints360.pts cert360
theorem congruent_rank2mm : ∀ x, x ∈ Rank2Cert351.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert351.rows cert_r2mm

theorem congruent361 : ∀ x, x ∈ CongruentPoints361.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints361.pts cert361
theorem congruent_rank2mn : ∀ x, x ∈ Rank2Cert352.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert352.rows cert_r2mn

theorem congruent362 : ∀ x, x ∈ CongruentPoints362.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints362.pts cert362
theorem congruent_rank2mo : ∀ x, x ∈ Rank2Cert353.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert353.rows cert_r2mo

theorem congruent363 : ∀ x, x ∈ CongruentPoints363.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints363.pts cert363
theorem congruent_rank2mp : ∀ x, x ∈ Rank2Cert354.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert354.rows cert_r2mp

theorem congruent364 : ∀ x, x ∈ CongruentPoints364.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints364.pts cert364
theorem congruent_rank2mq : ∀ x, x ∈ Rank2Cert355.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert355.rows cert_r2mq

theorem congruent365 : ∀ x, x ∈ CongruentPoints365.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints365.pts cert365
theorem congruent_rank2mr : ∀ x, x ∈ Rank2Cert356.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert356.rows cert_r2mr

theorem congruent366 : ∀ x, x ∈ CongruentPoints366.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints366.pts cert366
theorem congruent_rank2ms : ∀ x, x ∈ Rank2Cert357.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert357.rows cert_r2ms

theorem congruent367 : ∀ x, x ∈ CongruentPoints367.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints367.pts cert367
theorem congruent_rank2mt : ∀ x, x ∈ Rank2Cert358.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert358.rows cert_r2mt

theorem congruent368 : ∀ x, x ∈ CongruentPoints368.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints368.pts cert368
theorem congruent_rank2mu : ∀ x, x ∈ Rank2Cert359.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert359.rows cert_r2mu

theorem congruent369 : ∀ x, x ∈ CongruentPoints369.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints369.pts cert369
theorem congruent_rank2mv : ∀ x, x ∈ Rank2Cert360.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert360.rows cert_r2mv

theorem congruent370 : ∀ x, x ∈ CongruentPoints370.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints370.pts cert370
theorem congruent_rank2mw : ∀ x, x ∈ Rank2Cert361.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert361.rows cert_r2mw

theorem congruent371 : ∀ x, x ∈ CongruentPoints371.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints371.pts cert371
theorem congruent_rank2mx : ∀ x, x ∈ Rank2Cert362.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert362.rows cert_r2mx

theorem congruent372 : ∀ x, x ∈ CongruentPoints372.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints372.pts cert372
theorem congruent_rank2my : ∀ x, x ∈ Rank2Cert363.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert363.rows cert_r2my

theorem congruent373 : ∀ x, x ∈ CongruentPoints373.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints373.pts cert373
theorem congruent_rank2mz : ∀ x, x ∈ Rank2Cert364.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert364.rows cert_r2mz

theorem congruent374 : ∀ x, x ∈ CongruentPoints374.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints374.pts cert374
theorem congruent_rank2na : ∀ x, x ∈ Rank2Cert365.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert365.rows cert_r2na

theorem congruent375 : ∀ x, x ∈ CongruentPoints375.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints375.pts cert375
theorem congruent_rank2nb : ∀ x, x ∈ Rank2Cert366.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert366.rows cert_r2nb

theorem congruent376 : ∀ x, x ∈ CongruentPoints376.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints376.pts cert376
theorem congruent_rank2nc : ∀ x, x ∈ Rank2Cert367.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert367.rows cert_r2nc

theorem congruent377 : ∀ x, x ∈ CongruentPoints377.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints377.pts cert377
theorem congruent_rank2nd : ∀ x, x ∈ Rank2Cert368.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert368.rows cert_r2nd

theorem congruent378 : ∀ x, x ∈ CongruentPoints378.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints378.pts cert378
theorem congruent_rank2ne : ∀ x, x ∈ Rank2Cert369.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert369.rows cert_r2ne

theorem congruent379 : ∀ x, x ∈ CongruentPoints379.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints379.pts cert379
theorem congruent_rank2nf : ∀ x, x ∈ Rank2Cert370.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert370.rows cert_r2nf

theorem congruent380 : ∀ x, x ∈ CongruentPoints380.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints380.pts cert380
theorem congruent_rank2ng : ∀ x, x ∈ Rank2Cert371.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert371.rows cert_r2ng

theorem congruent381 : ∀ x, x ∈ CongruentPoints381.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints381.pts cert381
theorem congruent_rank2nh : ∀ x, x ∈ Rank2Cert372.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert372.rows cert_r2nh

theorem congruent382 : ∀ x, x ∈ CongruentPoints382.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints382.pts cert382
theorem congruent_rank2ni : ∀ x, x ∈ Rank2Cert373.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert373.rows cert_r2ni

theorem congruent383 : ∀ x, x ∈ CongruentPoints383.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints383.pts cert383
theorem congruent_rank2nj : ∀ x, x ∈ Rank2Cert374.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert374.rows cert_r2nj

theorem congruent384 : ∀ x, x ∈ CongruentPoints384.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints384.pts cert384
theorem congruent_rank2nk : ∀ x, x ∈ Rank2Cert375.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert375.rows cert_r2nk

theorem congruent385 : ∀ x, x ∈ CongruentPoints385.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints385.pts cert385
theorem congruent_rank2nl : ∀ x, x ∈ Rank2Cert376.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert376.rows cert_r2nl

theorem congruent386 : ∀ x, x ∈ CongruentPoints386.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints386.pts cert386
theorem congruent_rank2nm : ∀ x, x ∈ Rank2Cert377.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert377.rows cert_r2nm

theorem congruent387 : ∀ x, x ∈ CongruentPoints387.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints387.pts cert387
theorem congruent_rank2nn : ∀ x, x ∈ Rank2Cert378.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert378.rows cert_r2nn

theorem congruent388 : ∀ x, x ∈ CongruentPoints388.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints388.pts cert388
theorem congruent_rank2no : ∀ x, x ∈ Rank2Cert379.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert379.rows cert_r2no

theorem congruent389 : ∀ x, x ∈ CongruentPoints389.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints389.pts cert389
theorem congruent_rank2np : ∀ x, x ∈ Rank2Cert380.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert380.rows cert_r2np

theorem congruent390 : ∀ x, x ∈ CongruentPoints390.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints390.pts cert390
theorem congruent_rank2nq : ∀ x, x ∈ Rank2Cert381.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert381.rows cert_r2nq

theorem congruent391 : ∀ x, x ∈ CongruentPoints391.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints391.pts cert391
theorem congruent_rank2nr : ∀ x, x ∈ Rank2Cert382.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert382.rows cert_r2nr

theorem congruent392 : ∀ x, x ∈ CongruentPoints392.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints392.pts cert392
theorem congruent_rank2ns : ∀ x, x ∈ Rank2Cert383.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert383.rows cert_r2ns

theorem congruent393 : ∀ x, x ∈ CongruentPoints393.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints393.pts cert393
theorem congruent_rank2nt : ∀ x, x ∈ Rank2Cert384.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert384.rows cert_r2nt

theorem congruent394 : ∀ x, x ∈ CongruentPoints394.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints394.pts cert394
theorem congruent_rank2nu : ∀ x, x ∈ Rank2Cert385.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert385.rows cert_r2nu

theorem congruent395 : ∀ x, x ∈ CongruentPoints395.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints395.pts cert395
theorem congruent_rank2nv : ∀ x, x ∈ Rank2Cert386.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert386.rows cert_r2nv

theorem congruent396 : ∀ x, x ∈ CongruentPoints396.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints396.pts cert396
theorem congruent_rank2nw : ∀ x, x ∈ Rank2Cert387.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert387.rows cert_r2nw

theorem congruent397 : ∀ x, x ∈ CongruentPoints397.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints397.pts cert397
theorem congruent_rank2nx : ∀ x, x ∈ Rank2Cert388.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert388.rows cert_r2nx

theorem congruent398 : ∀ x, x ∈ CongruentPoints398.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints398.pts cert398
theorem congruent_rank2ny : ∀ x, x ∈ Rank2Cert389.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert389.rows cert_r2ny

theorem congruent399 : ∀ x, x ∈ CongruentPoints399.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints399.pts cert399
theorem congruent_rank2nz : ∀ x, x ∈ Rank2Cert390.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert390.rows cert_r2nz

theorem congruent400 : ∀ x, x ∈ CongruentPoints400.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints400.pts cert400
theorem congruent_rank2oa : ∀ x, x ∈ Rank2Cert391.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert391.rows cert_r2oa

theorem congruent401 : ∀ x, x ∈ CongruentPoints401.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints401.pts cert401
theorem congruent_rank2ob : ∀ x, x ∈ Rank2Cert392.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert392.rows cert_r2ob

theorem congruent402 : ∀ x, x ∈ CongruentPoints402.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints402.pts cert402
theorem congruent_rank2oc : ∀ x, x ∈ Rank2Cert393.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert393.rows cert_r2oc

theorem congruent403 : ∀ x, x ∈ CongruentPoints403.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints403.pts cert403
theorem congruent_rank2od : ∀ x, x ∈ Rank2Cert394.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert394.rows cert_r2od

theorem congruent404 : ∀ x, x ∈ CongruentPoints404.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints404.pts cert404
theorem congruent_rank2oe : ∀ x, x ∈ Rank2Cert395.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert395.rows cert_r2oe

theorem congruent405 : ∀ x, x ∈ CongruentPoints405.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints405.pts cert405
theorem congruent_rank2of : ∀ x, x ∈ Rank2Cert396.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert396.rows cert_r2of

theorem congruent406 : ∀ x, x ∈ CongruentPoints406.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints406.pts cert406
theorem congruent_rank2og : ∀ x, x ∈ Rank2Cert397.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert397.rows cert_r2og

theorem congruent407 : ∀ x, x ∈ CongruentPoints407.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints407.pts cert407
theorem congruent_rank2oh : ∀ x, x ∈ Rank2Cert398.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert398.rows cert_r2oh

theorem congruent408 : ∀ x, x ∈ CongruentPoints408.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints408.pts cert408
theorem congruent_rank2oi : ∀ x, x ∈ Rank2Cert399.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert399.rows cert_r2oi

theorem congruent409 : ∀ x, x ∈ CongruentPoints409.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints409.pts cert409
theorem congruent_rank2oj : ∀ x, x ∈ Rank2Cert400.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert400.rows cert_r2oj

theorem congruent410 : ∀ x, x ∈ CongruentPoints410.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints410.pts cert410
theorem congruent_rank2ok : ∀ x, x ∈ Rank2Cert401.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert401.rows cert_r2ok

theorem congruent411 : ∀ x, x ∈ CongruentPoints411.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints411.pts cert411
theorem congruent_rank2ol : ∀ x, x ∈ Rank2Cert402.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert402.rows cert_r2ol

theorem congruent412 : ∀ x, x ∈ CongruentPoints412.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints412.pts cert412
theorem congruent_rank2om : ∀ x, x ∈ Rank2Cert403.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert403.rows cert_r2om

theorem congruent413 : ∀ x, x ∈ CongruentPoints413.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints413.pts cert413
theorem congruent_rank2on : ∀ x, x ∈ Rank2Cert404.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert404.rows cert_r2on

theorem congruent414 : ∀ x, x ∈ CongruentPoints414.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints414.pts cert414
theorem congruent_rank2oo : ∀ x, x ∈ Rank2Cert405.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert405.rows cert_r2oo

theorem congruent415 : ∀ x, x ∈ CongruentPoints415.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints415.pts cert415
theorem congruent_rank2op : ∀ x, x ∈ Rank2Cert406.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert406.rows cert_r2op

theorem congruent416 : ∀ x, x ∈ CongruentPoints416.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints416.pts cert416
theorem congruent_rank2oq : ∀ x, x ∈ Rank2Cert407.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert407.rows cert_r2oq

theorem congruent417 : ∀ x, x ∈ CongruentPoints417.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints417.pts cert417
theorem congruent_rank2or : ∀ x, x ∈ Rank2Cert408.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert408.rows cert_r2or

theorem congruent418 : ∀ x, x ∈ CongruentPoints418.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints418.pts cert418
theorem congruent_rank2os : ∀ x, x ∈ Rank2Cert409.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert409.rows cert_r2os

theorem congruent419 : ∀ x, x ∈ CongruentPoints419.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints419.pts cert419
theorem congruent_rank2ot : ∀ x, x ∈ Rank2Cert410.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert410.rows cert_r2ot

theorem congruent420 : ∀ x, x ∈ CongruentPoints420.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints420.pts cert420
theorem congruent_rank2ou : ∀ x, x ∈ Rank2Cert411.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert411.rows cert_r2ou

theorem congruent421 : ∀ x, x ∈ CongruentPoints421.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints421.pts cert421
theorem congruent_rank2ov : ∀ x, x ∈ Rank2Cert412.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert412.rows cert_r2ov

theorem congruent422 : ∀ x, x ∈ CongruentPoints422.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints422.pts cert422
theorem congruent_rank2ow : ∀ x, x ∈ Rank2Cert413.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert413.rows cert_r2ow

theorem congruent423 : ∀ x, x ∈ CongruentPoints423.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints423.pts cert423
theorem congruent_rank2ox : ∀ x, x ∈ Rank2Cert414.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert414.rows cert_r2ox

theorem congruent424 : ∀ x, x ∈ CongruentPoints424.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints424.pts cert424
theorem congruent_rank2oy : ∀ x, x ∈ Rank2Cert415.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert415.rows cert_r2oy

theorem congruent425 : ∀ x, x ∈ CongruentPoints425.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints425.pts cert425
theorem congruent_rank2oz : ∀ x, x ∈ Rank2Cert416.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert416.rows cert_r2oz

theorem congruent426 : ∀ x, x ∈ CongruentPoints426.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints426.pts cert426
theorem congruent_rank2pa : ∀ x, x ∈ Rank2Cert417.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert417.rows cert_r2pa

theorem congruent427 : ∀ x, x ∈ CongruentPoints427.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints427.pts cert427
theorem congruent_rank2pb : ∀ x, x ∈ Rank2Cert418.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert418.rows cert_r2pb

theorem congruent428 : ∀ x, x ∈ CongruentPoints428.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints428.pts cert428
theorem congruent_rank2pc : ∀ x, x ∈ Rank2Cert419.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert419.rows cert_r2pc

theorem congruent429 : ∀ x, x ∈ CongruentPoints429.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints429.pts cert429
theorem congruent_rank2pd : ∀ x, x ∈ Rank2Cert420.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert420.rows cert_r2pd

theorem congruent430 : ∀ x, x ∈ CongruentPoints430.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints430.pts cert430
theorem congruent_rank2pe : ∀ x, x ∈ Rank2Cert421.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert421.rows cert_r2pe

theorem congruent431 : ∀ x, x ∈ CongruentPoints431.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints431.pts cert431
theorem congruent_rank2pf : ∀ x, x ∈ Rank2Cert422.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert422.rows cert_r2pf

theorem congruent432 : ∀ x, x ∈ CongruentPoints432.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints432.pts cert432
theorem congruent_rank2pg : ∀ x, x ∈ Rank2Cert423.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert423.rows cert_r2pg

theorem congruent433 : ∀ x, x ∈ CongruentPoints433.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints433.pts cert433
theorem congruent_rank2ph : ∀ x, x ∈ Rank2Cert424.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert424.rows cert_r2ph

theorem congruent434 : ∀ x, x ∈ CongruentPoints434.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints434.pts cert434
theorem congruent_rank2pi : ∀ x, x ∈ Rank2Cert425.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert425.rows cert_r2pi

theorem congruent435 : ∀ x, x ∈ CongruentPoints435.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints435.pts cert435
theorem congruent_rank2pj : ∀ x, x ∈ Rank2Cert426.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert426.rows cert_r2pj

theorem congruent436 : ∀ x, x ∈ CongruentPoints436.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints436.pts cert436
theorem congruent_rank2pk : ∀ x, x ∈ Rank2Cert427.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert427.rows cert_r2pk

theorem congruent437 : ∀ x, x ∈ CongruentPoints437.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints437.pts cert437
theorem congruent_rank2pl : ∀ x, x ∈ Rank2Cert428.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert428.rows cert_r2pl

theorem congruent438 : ∀ x, x ∈ CongruentPoints438.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints438.pts cert438
theorem congruent_rank2pm : ∀ x, x ∈ Rank2Cert429.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert429.rows cert_r2pm

theorem congruent439 : ∀ x, x ∈ CongruentPoints439.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints439.pts cert439
theorem congruent_rank2pn : ∀ x, x ∈ Rank2Cert430.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert430.rows cert_r2pn

theorem congruent440 : ∀ x, x ∈ CongruentPoints440.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints440.pts cert440
theorem congruent_rank2po : ∀ x, x ∈ Rank2Cert431.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert431.rows cert_r2po

theorem congruent441 : ∀ x, x ∈ CongruentPoints441.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints441.pts cert441
theorem congruent_rank2pp : ∀ x, x ∈ Rank2Cert432.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert432.rows cert_r2pp

theorem congruent442 : ∀ x, x ∈ CongruentPoints442.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints442.pts cert442
theorem congruent_rank2pq : ∀ x, x ∈ Rank2Cert433.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert433.rows cert_r2pq

theorem congruent443 : ∀ x, x ∈ CongruentPoints443.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints443.pts cert443
theorem congruent_rank2pr : ∀ x, x ∈ Rank2Cert434.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert434.rows cert_r2pr

theorem congruent444 : ∀ x, x ∈ CongruentPoints444.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints444.pts cert444
theorem congruent_rank2ps : ∀ x, x ∈ Rank2Cert435.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert435.rows cert_r2ps

theorem congruent445 : ∀ x, x ∈ CongruentPoints445.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints445.pts cert445
theorem congruent_rank2pt : ∀ x, x ∈ Rank2Cert436.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert436.rows cert_r2pt

theorem congruent446 : ∀ x, x ∈ CongruentPoints446.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints446.pts cert446
theorem congruent_rank2pu : ∀ x, x ∈ Rank2Cert437.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert437.rows cert_r2pu

theorem congruent447 : ∀ x, x ∈ CongruentPoints447.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints447.pts cert447
theorem congruent_rank2pv : ∀ x, x ∈ Rank2Cert438.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert438.rows cert_r2pv

theorem congruent448 : ∀ x, x ∈ CongruentPoints448.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints448.pts cert448
theorem congruent_rank2pw : ∀ x, x ∈ Rank2Cert439.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert439.rows cert_r2pw

theorem congruent449 : ∀ x, x ∈ CongruentPoints449.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints449.pts cert449
theorem congruent_rank2px : ∀ x, x ∈ Rank2Cert440.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert440.rows cert_r2px

theorem congruent450 : ∀ x, x ∈ CongruentPoints450.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints450.pts cert450
theorem congruent_rank2py : ∀ x, x ∈ Rank2Cert441.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert441.rows cert_r2py

theorem congruent451 : ∀ x, x ∈ CongruentPoints451.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints451.pts cert451
theorem congruent_rank2pz : ∀ x, x ∈ Rank2Cert442.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert442.rows cert_r2pz

theorem congruent452 : ∀ x, x ∈ CongruentPoints452.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints452.pts cert452
theorem congruent_rank2qa : ∀ x, x ∈ Rank2Cert443.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert443.rows cert_r2qa

theorem congruent453 : ∀ x, x ∈ CongruentPoints453.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints453.pts cert453
theorem congruent_rank2qb : ∀ x, x ∈ Rank2Cert444.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert444.rows cert_r2qb

theorem congruent454 : ∀ x, x ∈ CongruentPoints454.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints454.pts cert454
theorem congruent_rank2qc : ∀ x, x ∈ Rank2Cert445.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert445.rows cert_r2qc

theorem congruent455 : ∀ x, x ∈ CongruentPoints455.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints455.pts cert455
theorem congruent_rank2qd : ∀ x, x ∈ Rank2Cert446.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert446.rows cert_r2qd

theorem congruent456 : ∀ x, x ∈ CongruentPoints456.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints456.pts cert456
theorem congruent_rank2qe : ∀ x, x ∈ Rank2Cert447.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert447.rows cert_r2qe

theorem congruent457 : ∀ x, x ∈ CongruentPoints457.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints457.pts cert457
theorem congruent_rank2qf : ∀ x, x ∈ Rank2Cert448.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert448.rows cert_r2qf

theorem congruent458 : ∀ x, x ∈ CongruentPoints458.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints458.pts cert458
theorem congruent_rank2qg : ∀ x, x ∈ Rank2Cert449.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert449.rows cert_r2qg

theorem congruent459 : ∀ x, x ∈ CongruentPoints459.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints459.pts cert459
theorem congruent_rank2qh : ∀ x, x ∈ Rank2Cert450.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert450.rows cert_r2qh

theorem congruent460 : ∀ x, x ∈ CongruentPoints460.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints460.pts cert460
theorem congruent_rank2qi : ∀ x, x ∈ Rank2Cert451.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert451.rows cert_r2qi

theorem congruent461 : ∀ x, x ∈ CongruentPoints461.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints461.pts cert461
theorem congruent_rank2qj : ∀ x, x ∈ Rank2Cert452.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert452.rows cert_r2qj

theorem congruent462 : ∀ x, x ∈ CongruentPoints462.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints462.pts cert462
theorem congruent_rank2qk : ∀ x, x ∈ Rank2Cert453.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert453.rows cert_r2qk

theorem congruent463 : ∀ x, x ∈ CongruentPoints463.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints463.pts cert463
theorem congruent_rank2ql : ∀ x, x ∈ Rank2Cert454.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert454.rows cert_r2ql

theorem congruent464 : ∀ x, x ∈ CongruentPoints464.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints464.pts cert464
theorem congruent_rank2qm : ∀ x, x ∈ Rank2Cert455.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert455.rows cert_r2qm

theorem congruent465 : ∀ x, x ∈ CongruentPoints465.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints465.pts cert465
theorem congruent_rank2qn : ∀ x, x ∈ Rank2Cert456.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert456.rows cert_r2qn

theorem congruent466 : ∀ x, x ∈ CongruentPoints466.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints466.pts cert466
theorem congruent_rank2qo : ∀ x, x ∈ Rank2Cert457.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert457.rows cert_r2qo

theorem congruent467 : ∀ x, x ∈ CongruentPoints467.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints467.pts cert467
theorem congruent_rank2qp : ∀ x, x ∈ Rank2Cert458.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert458.rows cert_r2qp

theorem congruent468 : ∀ x, x ∈ CongruentPoints468.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints468.pts cert468
theorem congruent_rank2qq : ∀ x, x ∈ Rank2Cert459.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert459.rows cert_r2qq

theorem congruent469 : ∀ x, x ∈ CongruentPoints469.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints469.pts cert469
theorem congruent_rank2qr : ∀ x, x ∈ Rank2Cert460.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert460.rows cert_r2qr

theorem congruent470 : ∀ x, x ∈ CongruentPoints470.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints470.pts cert470
theorem congruent_rank2qs : ∀ x, x ∈ Rank2Cert461.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert461.rows cert_r2qs

theorem congruent471 : ∀ x, x ∈ CongruentPoints471.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints471.pts cert471
theorem congruent_rank2qt : ∀ x, x ∈ Rank2Cert462.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert462.rows cert_r2qt

theorem congruent472 : ∀ x, x ∈ CongruentPoints472.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints472.pts cert472
theorem congruent_rank2qu : ∀ x, x ∈ Rank2Cert463.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert463.rows cert_r2qu

theorem congruent473 : ∀ x, x ∈ CongruentPoints473.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints473.pts cert473
theorem congruent_rank2qv : ∀ x, x ∈ Rank2Cert464.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert464.rows cert_r2qv

theorem congruent474 : ∀ x, x ∈ CongruentPoints474.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints474.pts cert474
theorem congruent_rank2qw : ∀ x, x ∈ Rank2Cert465.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert465.rows cert_r2qw

theorem congruent475 : ∀ x, x ∈ CongruentPoints475.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints475.pts cert475
theorem congruent_rank2qx : ∀ x, x ∈ Rank2Cert466.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert466.rows cert_r2qx

theorem congruent476 : ∀ x, x ∈ CongruentPoints476.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints476.pts cert476
theorem congruent_rank2qy : ∀ x, x ∈ Rank2Cert467.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert467.rows cert_r2qy

theorem congruent477 : ∀ x, x ∈ CongruentPoints477.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints477.pts cert477
theorem congruent_rank2qz : ∀ x, x ∈ Rank2Cert468.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert468.rows cert_r2qz

theorem congruent478 : ∀ x, x ∈ CongruentPoints478.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints478.pts cert478
theorem congruent_rank2ra : ∀ x, x ∈ Rank2Cert469.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert469.rows cert_r2ra

theorem congruent479 : ∀ x, x ∈ CongruentPoints479.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints479.pts cert479
theorem congruent_rank2rb : ∀ x, x ∈ Rank2Cert470.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert470.rows cert_r2rb

theorem congruent480 : ∀ x, x ∈ CongruentPoints480.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints480.pts cert480
theorem congruent_rank2rc : ∀ x, x ∈ Rank2Cert471.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert471.rows cert_r2rc

theorem congruent481 : ∀ x, x ∈ CongruentPoints481.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints481.pts cert481
theorem congruent_rank2rd : ∀ x, x ∈ Rank2Cert472.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert472.rows cert_r2rd

theorem congruent482 : ∀ x, x ∈ CongruentPoints482.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints482.pts cert482
theorem congruent_rank2re : ∀ x, x ∈ Rank2Cert473.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert473.rows cert_r2re

theorem congruent483 : ∀ x, x ∈ CongruentPoints483.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints483.pts cert483
theorem congruent_rank2rf : ∀ x, x ∈ Rank2Cert474.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert474.rows cert_r2rf

theorem congruent484 : ∀ x, x ∈ CongruentPoints484.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints484.pts cert484
theorem congruent_rank2rg : ∀ x, x ∈ Rank2Cert475.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert475.rows cert_r2rg

theorem congruent485 : ∀ x, x ∈ CongruentPoints485.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints485.pts cert485
theorem congruent_rank2rh : ∀ x, x ∈ Rank2Cert476.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert476.rows cert_r2rh

theorem congruent486 : ∀ x, x ∈ CongruentPoints486.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints486.pts cert486
theorem congruent_rank2ri : ∀ x, x ∈ Rank2Cert477.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert477.rows cert_r2ri

theorem congruent487 : ∀ x, x ∈ CongruentPoints487.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints487.pts cert487
theorem congruent_rank2rj : ∀ x, x ∈ Rank2Cert478.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert478.rows cert_r2rj

theorem congruent488 : ∀ x, x ∈ CongruentPoints488.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints488.pts cert488
theorem congruent_rank2rk : ∀ x, x ∈ Rank2Cert479.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert479.rows cert_r2rk

theorem congruent489 : ∀ x, x ∈ CongruentPoints489.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints489.pts cert489
theorem congruent_rank2rl : ∀ x, x ∈ Rank2Cert480.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert480.rows cert_r2rl

theorem congruent490 : ∀ x, x ∈ CongruentPoints490.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints490.pts cert490
theorem congruent_rank2rm : ∀ x, x ∈ Rank2Cert481.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert481.rows cert_r2rm

theorem congruent491 : ∀ x, x ∈ CongruentPoints491.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints491.pts cert491
theorem congruent_rank2rn : ∀ x, x ∈ Rank2Cert482.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert482.rows cert_r2rn

theorem congruent492 : ∀ x, x ∈ CongruentPoints492.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints492.pts cert492
theorem congruent_rank2ro : ∀ x, x ∈ Rank2Cert483.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert483.rows cert_r2ro

theorem congruent493 : ∀ x, x ∈ CongruentPoints493.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints493.pts cert493
theorem congruent_rank2rp : ∀ x, x ∈ Rank2Cert484.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert484.rows cert_r2rp

theorem congruent494 : ∀ x, x ∈ CongruentPoints494.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints494.pts cert494
theorem congruent_rank2rq : ∀ x, x ∈ Rank2Cert485.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert485.rows cert_r2rq

theorem congruent495 : ∀ x, x ∈ CongruentPoints495.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints495.pts cert495
theorem congruent_rank2rr : ∀ x, x ∈ Rank2Cert486.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert486.rows cert_r2rr

theorem congruent496 : ∀ x, x ∈ CongruentPoints496.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints496.pts cert496
theorem congruent_rank2rs : ∀ x, x ∈ Rank2Cert487.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert487.rows cert_r2rs

theorem congruent497 : ∀ x, x ∈ CongruentPoints497.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints497.pts cert497
theorem congruent_rank2rt : ∀ x, x ∈ Rank2Cert488.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert488.rows cert_r2rt

theorem congruent498 : ∀ x, x ∈ CongruentPoints498.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints498.pts cert498
theorem congruent_rank2ru : ∀ x, x ∈ Rank2Cert489.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert489.rows cert_r2ru

theorem congruent499 : ∀ x, x ∈ CongruentPoints499.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints499.pts cert499
theorem congruent_rank2rv : ∀ x, x ∈ Rank2Cert490.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert490.rows cert_r2rv

theorem congruent500 : ∀ x, x ∈ CongruentPoints500.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints500.pts cert500
theorem congruent_rank2rw : ∀ x, x ∈ Rank2Cert491.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert491.rows cert_r2rw

theorem congruent501 : ∀ x, x ∈ CongruentPoints501.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints501.pts cert501
theorem congruent_rank2rx : ∀ x, x ∈ Rank2Cert492.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert492.rows cert_r2rx

theorem congruent502 : ∀ x, x ∈ CongruentPoints502.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints502.pts cert502
theorem congruent_rank2ry : ∀ x, x ∈ Rank2Cert493.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert493.rows cert_r2ry

theorem congruent503 : ∀ x, x ∈ CongruentPoints503.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints503.pts cert503
theorem congruent_rank2rz : ∀ x, x ∈ Rank2Cert494.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert494.rows cert_r2rz

theorem congruent504 : ∀ x, x ∈ CongruentPoints504.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints504.pts cert504
theorem congruent_rank2sa : ∀ x, x ∈ Rank2Cert495.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert495.rows cert_r2sa

theorem congruent505 : ∀ x, x ∈ CongruentPoints505.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints505.pts cert505
theorem congruent_rank2sb : ∀ x, x ∈ Rank2Cert496.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert496.rows cert_r2sb

theorem congruent506 : ∀ x, x ∈ CongruentPoints506.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints506.pts cert506
theorem congruent_rank2sc : ∀ x, x ∈ Rank2Cert497.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert497.rows cert_r2sc

theorem congruent507 : ∀ x, x ∈ CongruentPoints507.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints507.pts cert507
theorem congruent_rank2sd : ∀ x, x ∈ Rank2Cert498.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert498.rows cert_r2sd

theorem congruent508 : ∀ x, x ∈ CongruentPoints508.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints508.pts cert508
theorem congruent_rank2se : ∀ x, x ∈ Rank2Cert499.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert499.rows cert_r2se

theorem congruent509 : ∀ x, x ∈ CongruentPoints509.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints509.pts cert509
theorem congruent_rank2sf : ∀ x, x ∈ Rank2Cert500.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert500.rows cert_r2sf

theorem congruent510 : ∀ x, x ∈ CongruentPoints510.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints510.pts cert510
theorem congruent_rank2sg : ∀ x, x ∈ Rank2Cert501.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert501.rows cert_r2sg

theorem congruent511 : ∀ x, x ∈ CongruentPoints511.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints511.pts cert511
theorem congruent_rank2sh : ∀ x, x ∈ Rank2Cert502.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert502.rows cert_r2sh

theorem congruent512 : ∀ x, x ∈ CongruentPoints512.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints512.pts cert512
theorem congruent_rank2si : ∀ x, x ∈ Rank2Cert503.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert503.rows cert_r2si

theorem congruent513 : ∀ x, x ∈ CongruentPoints513.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints513.pts cert513
theorem congruent_rank2sj : ∀ x, x ∈ Rank2Cert504.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert504.rows cert_r2sj

theorem congruent514 : ∀ x, x ∈ CongruentPoints514.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints514.pts cert514
theorem congruent_rank2sk : ∀ x, x ∈ Rank2Cert505.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert505.rows cert_r2sk

theorem congruent515 : ∀ x, x ∈ CongruentPoints515.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints515.pts cert515
theorem congruent_rank2sl : ∀ x, x ∈ Rank2Cert506.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert506.rows cert_r2sl

theorem congruent516 : ∀ x, x ∈ CongruentPoints516.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints516.pts cert516
theorem congruent_rank2sm : ∀ x, x ∈ Rank2Cert507.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert507.rows cert_r2sm

theorem congruent517 : ∀ x, x ∈ CongruentPoints517.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints517.pts cert517
theorem congruent_rank2sn : ∀ x, x ∈ Rank2Cert508.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert508.rows cert_r2sn

theorem congruent518 : ∀ x, x ∈ CongruentPoints518.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints518.pts cert518
theorem congruent_rank2so : ∀ x, x ∈ Rank2Cert509.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert509.rows cert_r2so

theorem congruent519 : ∀ x, x ∈ CongruentPoints519.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints519.pts cert519
theorem congruent_rank2sp : ∀ x, x ∈ Rank2Cert510.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert510.rows cert_r2sp

theorem congruent520 : ∀ x, x ∈ CongruentPoints520.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints520.pts cert520
theorem congruent_rank2sq : ∀ x, x ∈ Rank2Cert511.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert511.rows cert_r2sq

theorem congruent521 : ∀ x, x ∈ CongruentPoints521.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints521.pts cert521
theorem congruent_rank2sr : ∀ x, x ∈ Rank2Cert512.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert512.rows cert_r2sr

theorem congruent522 : ∀ x, x ∈ CongruentPoints522.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints522.pts cert522
theorem congruent_rank2ss : ∀ x, x ∈ Rank2Cert513.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert513.rows cert_r2ss

theorem congruent523 : ∀ x, x ∈ CongruentPoints523.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints523.pts cert523
theorem congruent_rank2st : ∀ x, x ∈ Rank2Cert514.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert514.rows cert_r2st

theorem congruent524 : ∀ x, x ∈ CongruentPoints524.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints524.pts cert524
theorem congruent_rank2su : ∀ x, x ∈ Rank2Cert515.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert515.rows cert_r2su

theorem congruent525 : ∀ x, x ∈ CongruentPoints525.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints525.pts cert525
theorem congruent_rank2sv : ∀ x, x ∈ Rank2Cert516.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert516.rows cert_r2sv

theorem congruent526 : ∀ x, x ∈ CongruentPoints526.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints526.pts cert526
theorem congruent_rank2sw : ∀ x, x ∈ Rank2Cert517.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert517.rows cert_r2sw

theorem congruent527 : ∀ x, x ∈ CongruentPoints527.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints527.pts cert527
theorem congruent_rank2sx : ∀ x, x ∈ Rank2Cert518.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert518.rows cert_r2sx

theorem congruent528 : ∀ x, x ∈ CongruentPoints528.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints528.pts cert528
theorem congruent_rank2sy : ∀ x, x ∈ Rank2Cert519.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert519.rows cert_r2sy

theorem congruent529 : ∀ x, x ∈ CongruentPoints529.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints529.pts cert529
theorem congruent_rank2sz : ∀ x, x ∈ Rank2Cert520.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert520.rows cert_r2sz

theorem congruent530 : ∀ x, x ∈ CongruentPoints530.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints530.pts cert530
theorem congruent_rank2ta : ∀ x, x ∈ Rank2Cert521.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert521.rows cert_r2ta

theorem congruent531 : ∀ x, x ∈ CongruentPoints531.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints531.pts cert531
theorem congruent_rank2tb : ∀ x, x ∈ Rank2Cert522.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert522.rows cert_r2tb

theorem congruent532 : ∀ x, x ∈ CongruentPoints532.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints532.pts cert532
theorem congruent_rank2tc : ∀ x, x ∈ Rank2Cert523.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert523.rows cert_r2tc

theorem congruent533 : ∀ x, x ∈ CongruentPoints533.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints533.pts cert533
theorem congruent_rank2td : ∀ x, x ∈ Rank2Cert524.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert524.rows cert_r2td

theorem congruent534 : ∀ x, x ∈ CongruentPoints534.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints534.pts cert534
theorem congruent_rank2te : ∀ x, x ∈ Rank2Cert525.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert525.rows cert_r2te

theorem congruent535 : ∀ x, x ∈ CongruentPoints535.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints535.pts cert535
theorem congruent_rank2tf : ∀ x, x ∈ Rank2Cert526.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert526.rows cert_r2tf

theorem congruent536 : ∀ x, x ∈ CongruentPoints536.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints536.pts cert536
theorem congruent_rank2tg : ∀ x, x ∈ Rank2Cert527.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert527.rows cert_r2tg

theorem congruent537 : ∀ x, x ∈ CongruentPoints537.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints537.pts cert537
theorem congruent_rank2th : ∀ x, x ∈ Rank2Cert528.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert528.rows cert_r2th

theorem congruent538 : ∀ x, x ∈ CongruentPoints538.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints538.pts cert538
theorem congruent_rank2ti : ∀ x, x ∈ Rank2Cert529.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert529.rows cert_r2ti

theorem congruent539 : ∀ x, x ∈ CongruentPoints539.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints539.pts cert539
theorem congruent_rank2tj : ∀ x, x ∈ Rank2Cert530.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert530.rows cert_r2tj

theorem congruent540 : ∀ x, x ∈ CongruentPoints540.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints540.pts cert540
theorem congruent_rank2tk : ∀ x, x ∈ Rank2Cert531.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert531.rows cert_r2tk

theorem congruent541 : ∀ x, x ∈ CongruentPoints541.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints541.pts cert541
theorem congruent_rank2tl : ∀ x, x ∈ Rank2Cert532.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert532.rows cert_r2tl

theorem congruent542 : ∀ x, x ∈ CongruentPoints542.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints542.pts cert542
theorem congruent_rank2tm : ∀ x, x ∈ Rank2Cert533.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert533.rows cert_r2tm

theorem congruent543 : ∀ x, x ∈ CongruentPoints543.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints543.pts cert543
theorem congruent_rank2tn : ∀ x, x ∈ Rank2Cert534.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert534.rows cert_r2tn

theorem congruent544 : ∀ x, x ∈ CongruentPoints544.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints544.pts cert544
theorem congruent_rank2to : ∀ x, x ∈ Rank2Cert535.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert535.rows cert_r2to

theorem congruent545 : ∀ x, x ∈ CongruentPoints545.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints545.pts cert545
theorem congruent_rank2tp : ∀ x, x ∈ Rank2Cert536.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert536.rows cert_r2tp

theorem congruent546 : ∀ x, x ∈ CongruentPoints546.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints546.pts cert546
theorem congruent_rank2tq : ∀ x, x ∈ Rank2Cert537.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert537.rows cert_r2tq

theorem congruent547 : ∀ x, x ∈ CongruentPoints547.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints547.pts cert547
theorem congruent_rank2tr : ∀ x, x ∈ Rank2Cert538.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert538.rows cert_r2tr

theorem congruent548 : ∀ x, x ∈ CongruentPoints548.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints548.pts cert548
theorem congruent_rank2ts : ∀ x, x ∈ Rank2Cert539.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert539.rows cert_r2ts

theorem congruent549 : ∀ x, x ∈ CongruentPoints549.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints549.pts cert549
theorem congruent_rank2tt : ∀ x, x ∈ Rank2Cert540.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert540.rows cert_r2tt

theorem congruent550 : ∀ x, x ∈ CongruentPoints550.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints550.pts cert550
theorem congruent_rank2tu : ∀ x, x ∈ Rank2Cert541.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert541.rows cert_r2tu

theorem congruent551 : ∀ x, x ∈ CongruentPoints551.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints551.pts cert551
theorem congruent_rank2tv : ∀ x, x ∈ Rank2Cert542.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert542.rows cert_r2tv

theorem congruent552 : ∀ x, x ∈ CongruentPoints552.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints552.pts cert552
theorem congruent_rank2tw : ∀ x, x ∈ Rank2Cert543.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert543.rows cert_r2tw

theorem congruent553 : ∀ x, x ∈ CongruentPoints553.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints553.pts cert553
theorem congruent_rank2tx : ∀ x, x ∈ Rank2Cert544.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert544.rows cert_r2tx

theorem congruent554 : ∀ x, x ∈ CongruentPoints554.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints554.pts cert554
theorem congruent_rank2ty : ∀ x, x ∈ Rank2Cert545.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert545.rows cert_r2ty

theorem congruent555 : ∀ x, x ∈ CongruentPoints555.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints555.pts cert555
theorem congruent_rank2tz : ∀ x, x ∈ Rank2Cert546.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert546.rows cert_r2tz

theorem congruent556 : ∀ x, x ∈ CongruentPoints556.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints556.pts cert556
theorem congruent_rank2ua : ∀ x, x ∈ Rank2Cert547.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert547.rows cert_r2ua

theorem congruent557 : ∀ x, x ∈ CongruentPoints557.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints557.pts cert557
theorem congruent_rank2ub : ∀ x, x ∈ Rank2Cert548.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert548.rows cert_r2ub

theorem congruent558 : ∀ x, x ∈ CongruentPoints558.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints558.pts cert558
theorem congruent_rank2uc : ∀ x, x ∈ Rank2Cert549.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert549.rows cert_r2uc

theorem congruent559 : ∀ x, x ∈ CongruentPoints559.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints559.pts cert559
theorem congruent_rank2ud : ∀ x, x ∈ Rank2Cert550.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert550.rows cert_r2ud

theorem congruent560 : ∀ x, x ∈ CongruentPoints560.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints560.pts cert560
theorem congruent_rank2ue : ∀ x, x ∈ Rank2Cert551.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert551.rows cert_r2ue

theorem congruent561 : ∀ x, x ∈ CongruentPoints561.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints561.pts cert561
theorem congruent_rank2uf : ∀ x, x ∈ Rank2Cert552.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert552.rows cert_r2uf

theorem congruent562 : ∀ x, x ∈ CongruentPoints562.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints562.pts cert562
theorem congruent_rank2ug : ∀ x, x ∈ Rank2Cert553.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert553.rows cert_r2ug

theorem congruent563 : ∀ x, x ∈ CongruentPoints563.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints563.pts cert563
theorem congruent_rank2uh : ∀ x, x ∈ Rank2Cert554.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert554.rows cert_r2uh

theorem congruent564 : ∀ x, x ∈ CongruentPoints564.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints564.pts cert564
theorem congruent_rank2ui : ∀ x, x ∈ Rank2Cert555.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert555.rows cert_r2ui

theorem congruent565 : ∀ x, x ∈ CongruentPoints565.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints565.pts cert565
theorem congruent_rank2uj : ∀ x, x ∈ Rank2Cert556.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert556.rows cert_r2uj

theorem congruent566 : ∀ x, x ∈ CongruentPoints566.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints566.pts cert566
theorem congruent_rank2uk : ∀ x, x ∈ Rank2Cert557.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert557.rows cert_r2uk

theorem congruent567 : ∀ x, x ∈ CongruentPoints567.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints567.pts cert567
theorem congruent_rank2ul : ∀ x, x ∈ Rank2Cert558.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert558.rows cert_r2ul

theorem congruent568 : ∀ x, x ∈ CongruentPoints568.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints568.pts cert568
theorem congruent_rank2um : ∀ x, x ∈ Rank2Cert559.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert559.rows cert_r2um

theorem congruent569 : ∀ x, x ∈ CongruentPoints569.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints569.pts cert569
theorem congruent_rank2un : ∀ x, x ∈ Rank2Cert560.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert560.rows cert_r2un

theorem congruent570 : ∀ x, x ∈ CongruentPoints570.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints570.pts cert570
theorem congruent_rank2uo : ∀ x, x ∈ Rank2Cert561.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert561.rows cert_r2uo

theorem congruent571 : ∀ x, x ∈ CongruentPoints571.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints571.pts cert571
theorem congruent_rank2up : ∀ x, x ∈ Rank2Cert562.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert562.rows cert_r2up

theorem congruent572 : ∀ x, x ∈ CongruentPoints572.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints572.pts cert572
theorem congruent_rank2uq : ∀ x, x ∈ Rank2Cert563.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert563.rows cert_r2uq

theorem congruent573 : ∀ x, x ∈ CongruentPoints573.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints573.pts cert573
theorem congruent_rank2ur : ∀ x, x ∈ Rank2Cert564.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert564.rows cert_r2ur

theorem congruent574 : ∀ x, x ∈ CongruentPoints574.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints574.pts cert574
theorem congruent_rank2us : ∀ x, x ∈ Rank2Cert565.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert565.rows cert_r2us

theorem congruent575 : ∀ x, x ∈ CongruentPoints575.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints575.pts cert575
theorem congruent_rank2ut : ∀ x, x ∈ Rank2Cert566.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert566.rows cert_r2ut

theorem congruent576 : ∀ x, x ∈ CongruentPoints576.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints576.pts cert576
theorem congruent_rank2uu : ∀ x, x ∈ Rank2Cert567.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert567.rows cert_r2uu

theorem congruent577 : ∀ x, x ∈ CongruentPoints577.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints577.pts cert577
theorem congruent_rank2uv : ∀ x, x ∈ Rank2Cert568.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert568.rows cert_r2uv

theorem congruent578 : ∀ x, x ∈ CongruentPoints578.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints578.pts cert578
theorem congruent_rank2uw : ∀ x, x ∈ Rank2Cert569.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert569.rows cert_r2uw

theorem congruent579 : ∀ x, x ∈ CongruentPoints579.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints579.pts cert579
theorem congruent_rank2ux : ∀ x, x ∈ Rank2Cert570.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert570.rows cert_r2ux

theorem congruent580 : ∀ x, x ∈ CongruentPoints580.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints580.pts cert580
theorem congruent_rank2uy : ∀ x, x ∈ Rank2Cert571.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert571.rows cert_r2uy

theorem congruent581 : ∀ x, x ∈ CongruentPoints581.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints581.pts cert581
theorem congruent_rank2uz : ∀ x, x ∈ Rank2Cert572.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert572.rows cert_r2uz

theorem congruent582 : ∀ x, x ∈ CongruentPoints582.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints582.pts cert582
theorem congruent_rank2va : ∀ x, x ∈ Rank2Cert573.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert573.rows cert_r2va

theorem congruent583 : ∀ x, x ∈ CongruentPoints583.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints583.pts cert583
theorem congruent_rank2vb : ∀ x, x ∈ Rank2Cert574.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert574.rows cert_r2vb

theorem congruent584 : ∀ x, x ∈ CongruentPoints584.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints584.pts cert584
theorem congruent_rank2vc : ∀ x, x ∈ Rank2Cert575.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert575.rows cert_r2vc

theorem congruent585 : ∀ x, x ∈ CongruentPoints585.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints585.pts cert585
theorem congruent_rank2vd : ∀ x, x ∈ Rank2Cert576.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert576.rows cert_r2vd

theorem congruent586 : ∀ x, x ∈ CongruentPoints586.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints586.pts cert586
theorem congruent_rank2ve : ∀ x, x ∈ Rank2Cert577.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert577.rows cert_r2ve

theorem congruent587 : ∀ x, x ∈ CongruentPoints587.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints587.pts cert587
theorem congruent_rank2vf : ∀ x, x ∈ Rank2Cert578.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert578.rows cert_r2vf

theorem congruent588 : ∀ x, x ∈ CongruentPoints588.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints588.pts cert588
theorem congruent_rank2vg : ∀ x, x ∈ Rank2Cert579.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert579.rows cert_r2vg

theorem congruent589 : ∀ x, x ∈ CongruentPoints589.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints589.pts cert589
theorem congruent_rank2vh : ∀ x, x ∈ Rank2Cert580.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert580.rows cert_r2vh

theorem congruent590 : ∀ x, x ∈ CongruentPoints590.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints590.pts cert590
theorem congruent_rank2vi : ∀ x, x ∈ Rank2Cert581.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert581.rows cert_r2vi

theorem congruent591 : ∀ x, x ∈ CongruentPoints591.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints591.pts cert591
theorem congruent_rank2vj : ∀ x, x ∈ Rank2Cert582.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert582.rows cert_r2vj

theorem congruent592 : ∀ x, x ∈ CongruentPoints592.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints592.pts cert592
theorem congruent_rank2vk : ∀ x, x ∈ Rank2Cert583.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert583.rows cert_r2vk

theorem congruent593 : ∀ x, x ∈ CongruentPoints593.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints593.pts cert593
theorem congruent_rank2vl : ∀ x, x ∈ Rank2Cert584.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert584.rows cert_r2vl

theorem congruent594 : ∀ x, x ∈ CongruentPoints594.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints594.pts cert594
theorem congruent_rank2vm : ∀ x, x ∈ Rank2Cert585.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert585.rows cert_r2vm

theorem congruent595 : ∀ x, x ∈ CongruentPoints595.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints595.pts cert595
theorem congruent_rank2vn : ∀ x, x ∈ Rank2Cert586.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert586.rows cert_r2vn

theorem congruent596 : ∀ x, x ∈ CongruentPoints596.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints596.pts cert596
theorem congruent_rank2vo : ∀ x, x ∈ Rank2Cert587.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert587.rows cert_r2vo

theorem congruent597 : ∀ x, x ∈ CongruentPoints597.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints597.pts cert597
theorem congruent_rank2vp : ∀ x, x ∈ Rank2Cert588.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert588.rows cert_r2vp

theorem congruent598 : ∀ x, x ∈ CongruentPoints598.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints598.pts cert598
theorem congruent_rank2vq : ∀ x, x ∈ Rank2Cert589.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert589.rows cert_r2vq

theorem congruent599 : ∀ x, x ∈ CongruentPoints599.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints599.pts cert599
theorem congruent_rank2vr : ∀ x, x ∈ Rank2Cert590.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert590.rows cert_r2vr

theorem congruent600 : ∀ x, x ∈ CongruentPoints600.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints600.pts cert600
theorem congruent_rank2vs : ∀ x, x ∈ Rank2Cert591.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert591.rows cert_r2vs

theorem congruent601 : ∀ x, x ∈ CongruentPoints601.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints601.pts cert601
theorem congruent_rank2vt : ∀ x, x ∈ Rank2Cert592.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert592.rows cert_r2vt

theorem congruent602 : ∀ x, x ∈ CongruentPoints602.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints602.pts cert602
theorem congruent_rank2vu : ∀ x, x ∈ Rank2Cert593.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert593.rows cert_r2vu

theorem congruent603 : ∀ x, x ∈ CongruentPoints603.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints603.pts cert603
theorem congruent_rank2vv : ∀ x, x ∈ Rank2Cert594.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert594.rows cert_r2vv

theorem congruent604 : ∀ x, x ∈ CongruentPoints604.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints604.pts cert604
theorem congruent_rank2vw : ∀ x, x ∈ Rank2Cert595.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert595.rows cert_r2vw

theorem congruent605 : ∀ x, x ∈ CongruentPoints605.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints605.pts cert605
theorem congruent_rank2vx : ∀ x, x ∈ Rank2Cert596.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert596.rows cert_r2vx

theorem congruent606 : ∀ x, x ∈ CongruentPoints606.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints606.pts cert606
theorem congruent_rank2vy : ∀ x, x ∈ Rank2Cert597.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert597.rows cert_r2vy

theorem congruent607 : ∀ x, x ∈ CongruentPoints607.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints607.pts cert607
theorem congruent_rank2vz : ∀ x, x ∈ Rank2Cert598.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert598.rows cert_r2vz

theorem congruent608 : ∀ x, x ∈ CongruentPoints608.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints608.pts cert608
theorem congruent_rank2wa : ∀ x, x ∈ Rank2Cert599.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert599.rows cert_r2wa

theorem congruent609 : ∀ x, x ∈ CongruentPoints609.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints609.pts cert609
theorem congruent_rank2wb : ∀ x, x ∈ Rank2Cert600.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert600.rows cert_r2wb

theorem congruent610 : ∀ x, x ∈ CongruentPoints610.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints610.pts cert610
theorem congruent_rank2wc : ∀ x, x ∈ Rank2Cert601.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert601.rows cert_r2wc

theorem congruent611 : ∀ x, x ∈ CongruentPoints611.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints611.pts cert611
theorem congruent_rank2wd : ∀ x, x ∈ Rank2Cert602.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert602.rows cert_r2wd

theorem congruent612 : ∀ x, x ∈ CongruentPoints612.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints612.pts cert612
theorem congruent_rank2we : ∀ x, x ∈ Rank2Cert603.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert603.rows cert_r2we

theorem congruent613 : ∀ x, x ∈ CongruentPoints613.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints613.pts cert613
theorem congruent_rank2wf : ∀ x, x ∈ Rank2Cert604.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert604.rows cert_r2wf

theorem congruent614 : ∀ x, x ∈ CongruentPoints614.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints614.pts cert614
theorem congruent_rank2wg : ∀ x, x ∈ Rank2Cert605.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert605.rows cert_r2wg

theorem congruent615 : ∀ x, x ∈ CongruentPoints615.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints615.pts cert615
theorem congruent_rank2wh : ∀ x, x ∈ Rank2Cert606.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert606.rows cert_r2wh

theorem congruent616 : ∀ x, x ∈ CongruentPoints616.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints616.pts cert616
theorem congruent_rank2wi : ∀ x, x ∈ Rank2Cert607.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert607.rows cert_r2wi

theorem congruent617 : ∀ x, x ∈ CongruentPoints617.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints617.pts cert617
theorem congruent_rank2wj : ∀ x, x ∈ Rank2Cert608.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert608.rows cert_r2wj

theorem congruent618 : ∀ x, x ∈ CongruentPoints618.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints618.pts cert618
theorem congruent_rank2wk : ∀ x, x ∈ Rank2Cert609.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert609.rows cert_r2wk

theorem congruent619 : ∀ x, x ∈ CongruentPoints619.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints619.pts cert619
theorem congruent_rank2wl : ∀ x, x ∈ Rank2Cert610.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert610.rows cert_r2wl

theorem congruent620 : ∀ x, x ∈ CongruentPoints620.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints620.pts cert620
theorem congruent_rank2wm : ∀ x, x ∈ Rank2Cert611.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert611.rows cert_r2wm

theorem congruent621 : ∀ x, x ∈ CongruentPoints621.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints621.pts cert621
theorem congruent_rank2wn : ∀ x, x ∈ Rank2Cert612.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert612.rows cert_r2wn

theorem congruent622 : ∀ x, x ∈ CongruentPoints622.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints622.pts cert622
theorem congruent_rank2wo : ∀ x, x ∈ Rank2Cert613.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert613.rows cert_r2wo

theorem congruent623 : ∀ x, x ∈ CongruentPoints623.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints623.pts cert623
theorem congruent_rank2wp : ∀ x, x ∈ Rank2Cert614.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert614.rows cert_r2wp

theorem congruent624 : ∀ x, x ∈ CongruentPoints624.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints624.pts cert624
theorem congruent_rank2wq : ∀ x, x ∈ Rank2Cert615.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert615.rows cert_r2wq

theorem congruent625 : ∀ x, x ∈ CongruentPoints625.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints625.pts cert625
theorem congruent_rank2wr : ∀ x, x ∈ Rank2Cert616.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert616.rows cert_r2wr

theorem congruent626 : ∀ x, x ∈ CongruentPoints626.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints626.pts cert626
theorem congruent_rank2ws : ∀ x, x ∈ Rank2Cert617.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert617.rows cert_r2ws

theorem congruent627 : ∀ x, x ∈ CongruentPoints627.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints627.pts cert627
theorem congruent_rank2wt : ∀ x, x ∈ Rank2Cert618.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert618.rows cert_r2wt

theorem congruent628 : ∀ x, x ∈ CongruentPoints628.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints628.pts cert628
theorem congruent_rank2wu : ∀ x, x ∈ Rank2Cert619.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert619.rows cert_r2wu

theorem congruent629 : ∀ x, x ∈ CongruentPoints629.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints629.pts cert629
theorem congruent_rank2wv : ∀ x, x ∈ Rank2Cert620.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert620.rows cert_r2wv

theorem congruent630 : ∀ x, x ∈ CongruentPoints630.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints630.pts cert630
theorem congruent_rank2ww : ∀ x, x ∈ Rank2Cert621.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert621.rows cert_r2ww

theorem congruent631 : ∀ x, x ∈ CongruentPoints631.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints631.pts cert631
theorem congruent_rank2wx : ∀ x, x ∈ Rank2Cert622.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert622.rows cert_r2wx

theorem congruent632 : ∀ x, x ∈ CongruentPoints632.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints632.pts cert632
theorem congruent_rank2wy : ∀ x, x ∈ Rank2Cert623.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert623.rows cert_r2wy

theorem congruent633 : ∀ x, x ∈ CongruentPoints633.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints633.pts cert633
theorem congruent_rank2wz : ∀ x, x ∈ Rank2Cert624.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert624.rows cert_r2wz

theorem congruent634 : ∀ x, x ∈ CongruentPoints634.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints634.pts cert634
theorem congruent_rank2xa : ∀ x, x ∈ Rank2Cert625.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert625.rows cert_r2xa

theorem congruent635 : ∀ x, x ∈ CongruentPoints635.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints635.pts cert635
theorem congruent_rank2xb : ∀ x, x ∈ Rank2Cert626.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert626.rows cert_r2xb

theorem congruent636 : ∀ x, x ∈ CongruentPoints636.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints636.pts cert636
theorem congruent_rank2xc : ∀ x, x ∈ Rank2Cert627.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert627.rows cert_r2xc

theorem congruent637 : ∀ x, x ∈ CongruentPoints637.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints637.pts cert637
theorem congruent_rank2xd : ∀ x, x ∈ Rank2Cert628.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert628.rows cert_r2xd

theorem congruent638 : ∀ x, x ∈ CongruentPoints638.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints638.pts cert638
theorem congruent_rank2xe : ∀ x, x ∈ Rank2Cert629.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert629.rows cert_r2xe

theorem congruent639 : ∀ x, x ∈ CongruentPoints639.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints639.pts cert639
theorem congruent_rank2xf : ∀ x, x ∈ Rank2Cert630.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert630.rows cert_r2xf

theorem congruent640 : ∀ x, x ∈ CongruentPoints640.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints640.pts cert640
theorem congruent_rank2xg : ∀ x, x ∈ Rank2Cert631.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert631.rows cert_r2xg

theorem congruent641 : ∀ x, x ∈ CongruentPoints641.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints641.pts cert641
theorem congruent_rank2xh : ∀ x, x ∈ Rank2Cert632.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert632.rows cert_r2xh

theorem congruent642 : ∀ x, x ∈ CongruentPoints642.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints642.pts cert642
theorem congruent_rank2xi : ∀ x, x ∈ Rank2Cert633.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert633.rows cert_r2xi

theorem congruent643 : ∀ x, x ∈ CongruentPoints643.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints643.pts cert643
theorem congruent_rank2xj : ∀ x, x ∈ Rank2Cert634.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert634.rows cert_r2xj

theorem congruent644 : ∀ x, x ∈ CongruentPoints644.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints644.pts cert644
theorem congruent_rank2xk : ∀ x, x ∈ Rank2Cert635.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert635.rows cert_r2xk

theorem congruent645 : ∀ x, x ∈ CongruentPoints645.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints645.pts cert645
theorem congruent_rank2xl : ∀ x, x ∈ Rank2Cert636.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert636.rows cert_r2xl

theorem congruent646 : ∀ x, x ∈ CongruentPoints646.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints646.pts cert646
theorem congruent_rank2xm : ∀ x, x ∈ Rank2Cert637.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert637.rows cert_r2xm

theorem congruent647 : ∀ x, x ∈ CongruentPoints647.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints647.pts cert647
theorem congruent_rank2xn : ∀ x, x ∈ Rank2Cert638.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert638.rows cert_r2xn

theorem congruent648 : ∀ x, x ∈ CongruentPoints648.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints648.pts cert648
theorem congruent_rank2xo : ∀ x, x ∈ Rank2Cert639.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert639.rows cert_r2xo

theorem congruent649 : ∀ x, x ∈ CongruentPoints649.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints649.pts cert649
theorem congruent_rank2xp : ∀ x, x ∈ Rank2Cert640.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert640.rows cert_r2xp

theorem congruent650 : ∀ x, x ∈ CongruentPoints650.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints650.pts cert650
theorem congruent_rank2xq : ∀ x, x ∈ Rank2Cert641.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert641.rows cert_r2xq

theorem congruent651 : ∀ x, x ∈ CongruentPoints651.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints651.pts cert651
theorem congruent_rank2xr : ∀ x, x ∈ Rank2Cert642.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert642.rows cert_r2xr

theorem congruent652 : ∀ x, x ∈ CongruentPoints652.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints652.pts cert652
theorem congruent_rank2xs : ∀ x, x ∈ Rank2Cert643.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert643.rows cert_r2xs

theorem congruent653 : ∀ x, x ∈ CongruentPoints653.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints653.pts cert653
theorem congruent_rank2xt : ∀ x, x ∈ Rank2Cert644.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert644.rows cert_r2xt

theorem congruent654 : ∀ x, x ∈ CongruentPoints654.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints654.pts cert654
theorem congruent_rank2xu : ∀ x, x ∈ Rank2Cert645.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert645.rows cert_r2xu

theorem congruent655 : ∀ x, x ∈ CongruentPoints655.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints655.pts cert655
theorem congruent_rank2xv : ∀ x, x ∈ Rank2Cert646.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert646.rows cert_r2xv

theorem congruent656 : ∀ x, x ∈ CongruentPoints656.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints656.pts cert656
theorem congruent_rank2xw : ∀ x, x ∈ Rank2Cert647.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert647.rows cert_r2xw

theorem congruent657 : ∀ x, x ∈ CongruentPoints657.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints657.pts cert657
theorem congruent_rank2xx : ∀ x, x ∈ Rank2Cert648.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert648.rows cert_r2xx

theorem congruent658 : ∀ x, x ∈ CongruentPoints658.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints658.pts cert658
theorem congruent_rank2xy : ∀ x, x ∈ Rank2Cert649.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert649.rows cert_r2xy

theorem congruent659 : ∀ x, x ∈ CongruentPoints659.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints659.pts cert659
theorem congruent_rank2xz : ∀ x, x ∈ Rank2Cert650.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert650.rows cert_r2xz

theorem congruent660 : ∀ x, x ∈ CongruentPoints660.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints660.pts cert660
theorem congruent_rank2ya : ∀ x, x ∈ Rank2Cert651.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert651.rows cert_r2ya

theorem congruent661 : ∀ x, x ∈ CongruentPoints661.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints661.pts cert661
theorem congruent_rank2yb : ∀ x, x ∈ Rank2Cert652.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert652.rows cert_r2yb

theorem congruent662 : ∀ x, x ∈ CongruentPoints662.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints662.pts cert662
theorem congruent_rank2yc : ∀ x, x ∈ Rank2Cert653.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert653.rows cert_r2yc

theorem congruent663 : ∀ x, x ∈ CongruentPoints663.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints663.pts cert663
theorem congruent_rank2yd : ∀ x, x ∈ Rank2Cert654.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert654.rows cert_r2yd

theorem congruent664 : ∀ x, x ∈ CongruentPoints664.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints664.pts cert664
theorem congruent_rank2ye : ∀ x, x ∈ Rank2Cert655.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert655.rows cert_r2ye

theorem congruent665 : ∀ x, x ∈ CongruentPoints665.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints665.pts cert665
theorem congruent_rank2yf : ∀ x, x ∈ Rank2Cert656.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert656.rows cert_r2yf

theorem congruent666 : ∀ x, x ∈ CongruentPoints666.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints666.pts cert666
theorem congruent_rank2yg : ∀ x, x ∈ Rank2Cert657.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert657.rows cert_r2yg

theorem congruent667 : ∀ x, x ∈ CongruentPoints667.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints667.pts cert667
theorem congruent_rank2yh : ∀ x, x ∈ Rank2Cert658.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert658.rows cert_r2yh

theorem congruent668 : ∀ x, x ∈ CongruentPoints668.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints668.pts cert668
theorem congruent_rank2yi : ∀ x, x ∈ Rank2Cert659.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert659.rows cert_r2yi

theorem congruent669 : ∀ x, x ∈ CongruentPoints669.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints669.pts cert669
theorem congruent_rank2yj : ∀ x, x ∈ Rank2Cert660.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert660.rows cert_r2yj

theorem congruent670 : ∀ x, x ∈ CongruentPoints670.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints670.pts cert670
theorem congruent_rank2yk : ∀ x, x ∈ Rank2Cert661.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert661.rows cert_r2yk

theorem congruent671 : ∀ x, x ∈ CongruentPoints671.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints671.pts cert671
theorem congruent_rank2yl : ∀ x, x ∈ Rank2Cert662.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert662.rows cert_r2yl

theorem congruent672 : ∀ x, x ∈ CongruentPoints672.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints672.pts cert672
theorem congruent_rank2ym : ∀ x, x ∈ Rank2Cert663.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert663.rows cert_r2ym

theorem congruent673 : ∀ x, x ∈ CongruentPoints673.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints673.pts cert673
theorem congruent_rank2yn : ∀ x, x ∈ Rank2Cert664.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert664.rows cert_r2yn

theorem congruent674 : ∀ x, x ∈ CongruentPoints674.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints674.pts cert674
theorem congruent_rank2yo : ∀ x, x ∈ Rank2Cert665.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert665.rows cert_r2yo

theorem congruent675 : ∀ x, x ∈ CongruentPoints675.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints675.pts cert675
theorem congruent_rank2yp : ∀ x, x ∈ Rank2Cert666.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert666.rows cert_r2yp

theorem congruent676 : ∀ x, x ∈ CongruentPoints676.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints676.pts cert676
theorem congruent_rank2yq : ∀ x, x ∈ Rank2Cert667.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert667.rows cert_r2yq

theorem congruent677 : ∀ x, x ∈ CongruentPoints677.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints677.pts cert677
theorem congruent_rank2yr : ∀ x, x ∈ Rank2Cert668.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert668.rows cert_r2yr

theorem congruent678 : ∀ x, x ∈ CongruentPoints678.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints678.pts cert678
theorem congruent_rank2ys : ∀ x, x ∈ Rank2Cert669.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert669.rows cert_r2ys

theorem congruent679 : ∀ x, x ∈ CongruentPoints679.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints679.pts cert679
theorem congruent_rank2yt : ∀ x, x ∈ Rank2Cert670.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert670.rows cert_r2yt

theorem congruent680 : ∀ x, x ∈ CongruentPoints680.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints680.pts cert680
theorem congruent_rank2yu : ∀ x, x ∈ Rank2Cert671.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert671.rows cert_r2yu

theorem congruent681 : ∀ x, x ∈ CongruentPoints681.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints681.pts cert681
theorem congruent_rank2yv : ∀ x, x ∈ Rank2Cert672.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert672.rows cert_r2yv

theorem congruent682 : ∀ x, x ∈ CongruentPoints682.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints682.pts cert682
theorem congruent_rank2yw : ∀ x, x ∈ Rank2Cert673.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert673.rows cert_r2yw

theorem congruent683 : ∀ x, x ∈ CongruentPoints683.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints683.pts cert683
theorem congruent_rank2yx : ∀ x, x ∈ Rank2Cert674.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert674.rows cert_r2yx

theorem congruent684 : ∀ x, x ∈ CongruentPoints684.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints684.pts cert684
theorem congruent_rank2yy : ∀ x, x ∈ Rank2Cert675.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert675.rows cert_r2yy

theorem congruent685 : ∀ x, x ∈ CongruentPoints685.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints685.pts cert685
theorem congruent_rank2yz : ∀ x, x ∈ Rank2Cert676.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert676.rows cert_r2yz

theorem congruent686 : ∀ x, x ∈ CongruentPoints686.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints686.pts cert686
theorem congruent_rank2za : ∀ x, x ∈ Rank2Cert677.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert677.rows cert_r2za

theorem congruent687 : ∀ x, x ∈ CongruentPoints687.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints687.pts cert687
theorem congruent_rank2zb : ∀ x, x ∈ Rank2Cert678.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert678.rows cert_r2zb

theorem congruent688 : ∀ x, x ∈ CongruentPoints688.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints688.pts cert688
theorem congruent_rank2zc : ∀ x, x ∈ Rank2Cert679.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert679.rows cert_r2zc

theorem congruent689 : ∀ x, x ∈ CongruentPoints689.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints689.pts cert689
theorem congruent_rank2zd : ∀ x, x ∈ Rank2Cert680.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert680.rows cert_r2zd

theorem congruent690 : ∀ x, x ∈ CongruentPoints690.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints690.pts cert690
theorem congruent_rank2ze : ∀ x, x ∈ Rank2Cert681.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert681.rows cert_r2ze

theorem congruent691 : ∀ x, x ∈ CongruentPoints691.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints691.pts cert691
theorem congruent_rank2zf : ∀ x, x ∈ Rank2Cert682.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert682.rows cert_r2zf

theorem congruent692 : ∀ x, x ∈ CongruentPoints692.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints692.pts cert692
theorem congruent_rank2zg : ∀ x, x ∈ Rank2Cert683.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert683.rows cert_r2zg

theorem congruent693 : ∀ x, x ∈ CongruentPoints693.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints693.pts cert693
theorem congruent_rank2zh : ∀ x, x ∈ Rank2Cert684.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert684.rows cert_r2zh

theorem congruent694 : ∀ x, x ∈ CongruentPoints694.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints694.pts cert694
theorem congruent_rank2zi : ∀ x, x ∈ Rank2Cert685.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert685.rows cert_r2zi

theorem congruent695 : ∀ x, x ∈ CongruentPoints695.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints695.pts cert695
theorem congruent_rank2zj : ∀ x, x ∈ Rank2Cert686.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert686.rows cert_r2zj

theorem congruent696 : ∀ x, x ∈ CongruentPoints696.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints696.pts cert696
theorem congruent_rank2zk : ∀ x, x ∈ Rank2Cert687.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert687.rows cert_r2zk

theorem congruent697 : ∀ x, x ∈ CongruentPoints697.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints697.pts cert697
theorem congruent_rank2zl : ∀ x, x ∈ Rank2Cert688.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert688.rows cert_r2zl

theorem congruent698 : ∀ x, x ∈ CongruentPoints698.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints698.pts cert698
theorem congruent_rank2zm : ∀ x, x ∈ Rank2Cert689.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert689.rows cert_r2zm

theorem congruent699 : ∀ x, x ∈ CongruentPoints699.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints699.pts cert699
theorem congruent_rank2zn : ∀ x, x ∈ Rank2Cert690.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert690.rows cert_r2zn

theorem congruent700 : ∀ x, x ∈ CongruentPoints700.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints700.pts cert700
theorem congruent_rank2zo : ∀ x, x ∈ Rank2Cert691.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert691.rows cert_r2zo

theorem congruent701 : ∀ x, x ∈ CongruentPoints701.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints701.pts cert701
theorem congruent_rank2zp : ∀ x, x ∈ Rank2Cert692.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert692.rows cert_r2zp

theorem congruent702 : ∀ x, x ∈ CongruentPoints702.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints702.pts cert702
theorem congruent_rank2zq : ∀ x, x ∈ Rank2Cert693.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert693.rows cert_r2zq

theorem congruent703 : ∀ x, x ∈ CongruentPoints703.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints703.pts cert703
theorem congruent_rank2zr : ∀ x, x ∈ Rank2Cert694.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert694.rows cert_r2zr

theorem congruent704 : ∀ x, x ∈ CongruentPoints704.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints704.pts cert704
theorem congruent_rank2zs : ∀ x, x ∈ Rank2Cert695.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert695.rows cert_r2zs

theorem congruent705 : ∀ x, x ∈ CongruentPoints705.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints705.pts cert705
theorem congruent_rank2zt : ∀ x, x ∈ Rank2Cert696.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert696.rows cert_r2zt

theorem congruent706 : ∀ x, x ∈ CongruentPoints706.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints706.pts cert706
theorem congruent_rank2zu : ∀ x, x ∈ Rank2Cert697.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert697.rows cert_r2zu

theorem congruent707 : ∀ x, x ∈ CongruentPoints707.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints707.pts cert707
theorem congruent_rank2zv : ∀ x, x ∈ Rank2Cert698.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert698.rows cert_r2zv

theorem congruent708 : ∀ x, x ∈ CongruentPoints708.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints708.pts cert708
theorem congruent_rank2zw : ∀ x, x ∈ Rank2Cert699.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert699.rows cert_r2zw

theorem congruent709 : ∀ x, x ∈ CongruentPoints709.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints709.pts cert709
theorem congruent_rank2zx : ∀ x, x ∈ Rank2Cert700.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert700.rows cert_r2zx

theorem congruent710 : ∀ x, x ∈ CongruentPoints710.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints710.pts cert710
theorem congruent_rank2zy : ∀ x, x ∈ Rank2Cert701.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert701.rows cert_r2zy

theorem congruent711 : ∀ x, x ∈ CongruentPoints711.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints711.pts cert711
theorem congruent_rank2zz : ∀ x, x ∈ Rank2Cert702.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert702.rows cert_r2zz

theorem congruent712 : ∀ x, x ∈ CongruentPoints712.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints712.pts cert712
theorem congruent_rank2zza : ∀ x, x ∈ Rank2Cert703.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert703.rows cert_r2zza

theorem congruent713 : ∀ x, x ∈ CongruentPoints713.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints713.pts cert713
theorem congruent_rank2zzb : ∀ x, x ∈ Rank2Cert704.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert704.rows cert_r2zzb

theorem congruent714 : ∀ x, x ∈ CongruentPoints714.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints714.pts cert714
theorem congruent_rank2zzc : ∀ x, x ∈ Rank2Cert705.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert705.rows cert_r2zzc

theorem congruent715 : ∀ x, x ∈ CongruentPoints715.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints715.pts cert715
theorem congruent_rank2zzd : ∀ x, x ∈ Rank2Cert706.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert706.rows cert_r2zzd

theorem congruent716 : ∀ x, x ∈ CongruentPoints716.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints716.pts cert716
theorem congruent_rank2zze : ∀ x, x ∈ Rank2Cert707.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert707.rows cert_r2zze

theorem congruent717 : ∀ x, x ∈ CongruentPoints717.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints717.pts cert717
theorem congruent_rank2zzf : ∀ x, x ∈ Rank2Cert708.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert708.rows cert_r2zzf

theorem congruent718 : ∀ x, x ∈ CongruentPoints718.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints718.pts cert718
theorem congruent_rank2zzg : ∀ x, x ∈ Rank2Cert709.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert709.rows cert_r2zzg

theorem congruent719 : ∀ x, x ∈ CongruentPoints719.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints719.pts cert719
theorem congruent_rank2zzh : ∀ x, x ∈ Rank2Cert710.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert710.rows cert_r2zzh

theorem congruent720 : ∀ x, x ∈ CongruentPoints720.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints720.pts cert720
theorem congruent_rank2zzi : ∀ x, x ∈ Rank2Cert711.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert711.rows cert_r2zzi

theorem congruent721 : ∀ x, x ∈ CongruentPoints721.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints721.pts cert721
theorem congruent_rank2zzj : ∀ x, x ∈ Rank2Cert712.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert712.rows cert_r2zzj

theorem congruent722 : ∀ x, x ∈ CongruentPoints722.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints722.pts cert722
theorem congruent_rank2zzk : ∀ x, x ∈ Rank2Cert713.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert713.rows cert_r2zzk

theorem congruent723 : ∀ x, x ∈ CongruentPoints723.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints723.pts cert723
theorem congruent_rank2zzl : ∀ x, x ∈ Rank2Cert714.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert714.rows cert_r2zzl

theorem congruent724 : ∀ x, x ∈ CongruentPoints724.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints724.pts cert724
theorem congruent_rank2zzm : ∀ x, x ∈ Rank2Cert715.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert715.rows cert_r2zzm

theorem congruent725 : ∀ x, x ∈ CongruentPoints725.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints725.pts cert725
theorem congruent_rank2zzn : ∀ x, x ∈ Rank2Cert716.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert716.rows cert_r2zzn

theorem congruent726 : ∀ x, x ∈ CongruentPoints726.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints726.pts cert726
theorem congruent_rank2zzo : ∀ x, x ∈ Rank2Cert717.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert717.rows cert_r2zzo

theorem congruent727 : ∀ x, x ∈ CongruentPoints727.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints727.pts cert727
theorem congruent_rank2zzp : ∀ x, x ∈ Rank2Cert718.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert718.rows cert_r2zzp

theorem congruent728 : ∀ x, x ∈ CongruentPoints728.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints728.pts cert728
theorem congruent_rank2zzq : ∀ x, x ∈ Rank2Cert719.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert719.rows cert_r2zzq

theorem congruent729 : ∀ x, x ∈ CongruentPoints729.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints729.pts cert729
theorem congruent_rank2zzr : ∀ x, x ∈ Rank2Cert720.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert720.rows cert_r2zzr

theorem congruent730 : ∀ x, x ∈ CongruentPoints730.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints730.pts cert730
theorem congruent_rank2zzs : ∀ x, x ∈ Rank2Cert721.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert721.rows cert_r2zzs

theorem congruent731 : ∀ x, x ∈ CongruentPoints731.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints731.pts cert731
theorem congruent_rank2zzt : ∀ x, x ∈ Rank2Cert722.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert722.rows cert_r2zzt

theorem congruent732 : ∀ x, x ∈ CongruentPoints732.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints732.pts cert732
theorem congruent_rank2zzu : ∀ x, x ∈ Rank2Cert723.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert723.rows cert_r2zzu

theorem congruent733 : ∀ x, x ∈ CongruentPoints733.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints733.pts cert733
theorem congruent_rank2zzv : ∀ x, x ∈ Rank2Cert724.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert724.rows cert_r2zzv

theorem congruent734 : ∀ x, x ∈ CongruentPoints734.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints734.pts cert734
theorem congruent_rank2zzw : ∀ x, x ∈ Rank2Cert725.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert725.rows cert_r2zzw

theorem congruent735 : ∀ x, x ∈ CongruentPoints735.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints735.pts cert735
theorem congruent_rank2zzx : ∀ x, x ∈ Rank2Cert726.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert726.rows cert_r2zzx

theorem congruent736 : ∀ x, x ∈ CongruentPoints736.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints736.pts cert736
theorem congruent_rank2zzy : ∀ x, x ∈ Rank2Cert727.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert727.rows cert_r2zzy

theorem congruent737 : ∀ x, x ∈ CongruentPoints737.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints737.pts cert737
theorem congruent_rank2zzz : ∀ x, x ∈ Rank2Cert728.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert728.rows cert_r2zzz

theorem congruent738 : ∀ x, x ∈ CongruentPoints738.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints738.pts cert738
theorem congruent_rank2zzza : ∀ x, x ∈ Rank2Cert729.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert729.rows cert_r2zzza

theorem congruent739 : ∀ x, x ∈ CongruentPoints739.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints739.pts cert739
theorem congruent_rank2zzzb : ∀ x, x ∈ Rank2Cert730.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert730.rows cert_r2zzzb

theorem congruent740 : ∀ x, x ∈ CongruentPoints740.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints740.pts cert740
theorem congruent_rank2zzzc : ∀ x, x ∈ Rank2Cert731.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert731.rows cert_r2zzzc

theorem congruent741 : ∀ x, x ∈ CongruentPoints741.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints741.pts cert741
theorem congruent_rank2zzzd : ∀ x, x ∈ Rank2Cert732.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert732.rows cert_r2zzzd

theorem congruent742 : ∀ x, x ∈ CongruentPoints742.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints742.pts cert742
theorem congruent_rank2zzze : ∀ x, x ∈ Rank2Cert733.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert733.rows cert_r2zzze

theorem congruent743 : ∀ x, x ∈ CongruentPoints743.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints743.pts cert743
theorem congruent_rank2zzzf : ∀ x, x ∈ Rank2Cert734.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert734.rows cert_r2zzzf

theorem congruent744 : ∀ x, x ∈ CongruentPoints744.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints744.pts cert744
theorem congruent_rank2zzzg : ∀ x, x ∈ Rank2Cert735.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert735.rows cert_r2zzzg

theorem congruent745 : ∀ x, x ∈ CongruentPoints745.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints745.pts cert745
theorem congruent_rank2zzzh : ∀ x, x ∈ Rank2Cert736.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert736.rows cert_r2zzzh

theorem congruent746 : ∀ x, x ∈ CongruentPoints746.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints746.pts cert746
theorem congruent_rank2zzzi : ∀ x, x ∈ Rank2Cert737.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert737.rows cert_r2zzzi

theorem congruent747 : ∀ x, x ∈ CongruentPoints747.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints747.pts cert747
theorem congruent_rank2zzzj : ∀ x, x ∈ Rank2Cert738.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert738.rows cert_r2zzzj

theorem congruent748 : ∀ x, x ∈ CongruentPoints748.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints748.pts cert748
theorem congruent_rank2zzzk : ∀ x, x ∈ Rank2Cert739.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert739.rows cert_r2zzzk

theorem congruent749 : ∀ x, x ∈ CongruentPoints749.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints749.pts cert749
theorem congruent_rank2zzzl : ∀ x, x ∈ Rank2Cert740.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert740.rows cert_r2zzzl

theorem congruent750 : ∀ x, x ∈ CongruentPoints750.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints750.pts cert750
theorem congruent_rank2zzzm : ∀ x, x ∈ Rank2Cert741.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert741.rows cert_r2zzzm

theorem congruent751 : ∀ x, x ∈ CongruentPoints751.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints751.pts cert751
theorem congruent_rank2zzzn : ∀ x, x ∈ Rank2Cert742.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert742.rows cert_r2zzzn

theorem congruent752 : ∀ x, x ∈ CongruentPoints752.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints752.pts cert752
theorem congruent_rank2zzzo : ∀ x, x ∈ Rank2Cert743.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert743.rows cert_r2zzzo

theorem congruent753 : ∀ x, x ∈ CongruentPoints753.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints753.pts cert753
theorem congruent_rank2zzzp : ∀ x, x ∈ Rank2Cert744.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert744.rows cert_r2zzzp

theorem congruent754 : ∀ x, x ∈ CongruentPoints754.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints754.pts cert754
theorem congruent_rank2zzzq : ∀ x, x ∈ Rank2Cert745.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert745.rows cert_r2zzzq

theorem congruent755 : ∀ x, x ∈ CongruentPoints755.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints755.pts cert755
theorem congruent_rank2zzzr : ∀ x, x ∈ Rank2Cert746.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert746.rows cert_r2zzzr

theorem congruent756 : ∀ x, x ∈ CongruentPoints756.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints756.pts cert756
theorem congruent_rank2zzzs : ∀ x, x ∈ Rank2Cert747.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert747.rows cert_r2zzzs

theorem congruent757 : ∀ x, x ∈ CongruentPoints757.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints757.pts cert757
theorem congruent_rank2zzzt : ∀ x, x ∈ Rank2Cert748.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert748.rows cert_r2zzzt

theorem congruent758 : ∀ x, x ∈ CongruentPoints758.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints758.pts cert758
theorem congruent_rank2zzzu : ∀ x, x ∈ Rank2Cert749.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert749.rows cert_r2zzzu

theorem congruent759 : ∀ x, x ∈ CongruentPoints759.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints759.pts cert759
theorem congruent_rank2zzzv : ∀ x, x ∈ Rank2Cert750.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert750.rows cert_r2zzzv

theorem congruent760 : ∀ x, x ∈ CongruentPoints760.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints760.pts cert760
theorem congruent_rank2zzzw : ∀ x, x ∈ Rank2Cert751.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert751.rows cert_r2zzzw

theorem congruent761 : ∀ x, x ∈ CongruentPoints761.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints761.pts cert761
theorem congruent_rank2zzzx : ∀ x, x ∈ Rank2Cert752.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert752.rows cert_r2zzzx

theorem congruent762 : ∀ x, x ∈ CongruentPoints762.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints762.pts cert762
theorem congruent_rank2zzzy : ∀ x, x ∈ Rank2Cert753.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert753.rows cert_r2zzzy

theorem congruent763 : ∀ x, x ∈ CongruentPoints763.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints763.pts cert763
theorem congruent_rank2zzzz : ∀ x, x ∈ Rank2Cert754.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert754.rows cert_r2zzzz

theorem congruent764 : ∀ x, x ∈ CongruentPoints764.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints764.pts cert764
theorem congruent_rank2zzzza : ∀ x, x ∈ Rank2Cert755.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert755.rows cert_r2zzzza

theorem congruent765 : ∀ x, x ∈ CongruentPoints765.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints765.pts cert765
theorem congruent_rank2zzzzb : ∀ x, x ∈ Rank2Cert756.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert756.rows cert_r2zzzzb

theorem congruent766 : ∀ x, x ∈ CongruentPoints766.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints766.pts cert766
theorem congruent_rank2zzzzc : ∀ x, x ∈ Rank2Cert757.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert757.rows cert_r2zzzzc

theorem congruent767 : ∀ x, x ∈ CongruentPoints767.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints767.pts cert767
theorem congruent_rank2zzzzd : ∀ x, x ∈ Rank2Cert758.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert758.rows cert_r2zzzzd

theorem congruent768 : ∀ x, x ∈ CongruentPoints768.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints768.pts cert768
theorem congruent_rank2zzzze : ∀ x, x ∈ Rank2Cert759.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert759.rows cert_r2zzzze

theorem congruent769 : ∀ x, x ∈ CongruentPoints769.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints769.pts cert769
theorem congruent_rank2zzzzf : ∀ x, x ∈ Rank2Cert760.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert760.rows cert_r2zzzzf

theorem congruent770 : ∀ x, x ∈ CongruentPoints770.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints770.pts cert770
theorem congruent_rank2zzzzg : ∀ x, x ∈ Rank2Cert761.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert761.rows cert_r2zzzzg

theorem congruent771 : ∀ x, x ∈ CongruentPoints771.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints771.pts cert771
theorem congruent_rank2zzzzh : ∀ x, x ∈ Rank2Cert762.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert762.rows cert_r2zzzzh

theorem congruent772 : ∀ x, x ∈ CongruentPoints772.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints772.pts cert772
theorem congruent_rank2zzzzi : ∀ x, x ∈ Rank2Cert763.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert763.rows cert_r2zzzzi

theorem congruent773 : ∀ x, x ∈ CongruentPoints773.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints773.pts cert773
theorem congruent_rank2zzzzj : ∀ x, x ∈ Rank2Cert764.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert764.rows cert_r2zzzzj

theorem congruent774 : ∀ x, x ∈ CongruentPoints774.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints774.pts cert774
theorem congruent_rank2zzzzk : ∀ x, x ∈ Rank2Cert765.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert765.rows cert_r2zzzzk

theorem congruent775 : ∀ x, x ∈ CongruentPoints775.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints775.pts cert775
theorem congruent_rank2zzzzl : ∀ x, x ∈ Rank2Cert766.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert766.rows cert_r2zzzzl

theorem congruent776 : ∀ x, x ∈ CongruentPoints776.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints776.pts cert776
theorem congruent_rank2zzzzm : ∀ x, x ∈ Rank2Cert767.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert767.rows cert_r2zzzzm

theorem congruent777 : ∀ x, x ∈ CongruentPoints777.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints777.pts cert777
theorem congruent_rank2zzzzn : ∀ x, x ∈ Rank2Cert768.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert768.rows cert_r2zzzzn

theorem congruent778 : ∀ x, x ∈ CongruentPoints778.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints778.pts cert778
theorem congruent_rank2zzzzo : ∀ x, x ∈ Rank2Cert769.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert769.rows cert_r2zzzzo

theorem congruent779 : ∀ x, x ∈ CongruentPoints779.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints779.pts cert779
theorem congruent_rank2zzzzp : ∀ x, x ∈ Rank2Cert770.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert770.rows cert_r2zzzzp

theorem congruent780 : ∀ x, x ∈ CongruentPoints780.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints780.pts cert780
theorem congruent_rank2zzzzq : ∀ x, x ∈ Rank2Cert771.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert771.rows cert_r2zzzzq

theorem congruent781 : ∀ x, x ∈ CongruentPoints781.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints781.pts cert781
theorem congruent_rank2zzzzr : ∀ x, x ∈ Rank2Cert772.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert772.rows cert_r2zzzzr

theorem congruent782 : ∀ x, x ∈ CongruentPoints782.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints782.pts cert782
theorem congruent_rank2zzzzs : ∀ x, x ∈ Rank2Cert773.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert773.rows cert_r2zzzzs

theorem congruentHeeg1 : ∀ x, x ∈ HeegnerPoints1.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) HeegnerPoints1.pts certHeeg1

theorem congruent783 : ∀ x, x ∈ CongruentPoints783.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints783.pts cert783
theorem congruent_rank2zzzzt : ∀ x, x ∈ Rank2Cert774.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert774.rows cert_r2zzzzt

theorem congruent784 : ∀ x, x ∈ CongruentPoints784.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints784.pts cert784
theorem congruent_rank2zzzzu : ∀ x, x ∈ Rank2Cert775.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert775.rows cert_r2zzzzu

theorem congruent785 : ∀ x, x ∈ CongruentPoints785.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints785.pts cert785
theorem congruent_rank2zzzzv : ∀ x, x ∈ Rank2Cert776.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert776.rows cert_r2zzzzv

theorem congruent786 : ∀ x, x ∈ CongruentPoints786.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints786.pts cert786
theorem congruent_rank2zzzzw : ∀ x, x ∈ Rank2Cert777.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert777.rows cert_r2zzzzw

theorem congruent787 : ∀ x, x ∈ CongruentPoints787.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints787.pts cert787
theorem congruent_rank2zzzzx : ∀ x, x ∈ Rank2Cert778.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert778.rows cert_r2zzzzx

theorem congruent788 : ∀ x, x ∈ CongruentPoints788.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints788.pts cert788
theorem congruent_rank2zzzzy : ∀ x, x ∈ Rank2Cert779.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert779.rows cert_r2zzzzy

theorem congruent789 : ∀ x, x ∈ CongruentPoints789.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints789.pts cert789
theorem congruent_rank2zzzzz : ∀ x, x ∈ Rank2Cert780.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert780.rows cert_r2zzzzz

theorem congruent790 : ∀ x, x ∈ CongruentPoints790.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints790.pts cert790
theorem congruent_rank2zzzzza : ∀ x, x ∈ Rank2Cert781.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert781.rows cert_r2zzzzza

theorem congruent791 : ∀ x, x ∈ CongruentPoints791.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints791.pts cert791
theorem congruent_rank2zzzzzb : ∀ x, x ∈ Rank2Cert782.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert782.rows cert_r2zzzzzb

theorem congruent792 : ∀ x, x ∈ CongruentPoints792.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints792.pts cert792
theorem congruent_rank2zzzzzc : ∀ x, x ∈ Rank2Cert783.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert783.rows cert_r2zzzzzc

theorem congruent793 : ∀ x, x ∈ CongruentPoints793.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints793.pts cert793
theorem congruent_rank2zzzzzd : ∀ x, x ∈ Rank2Cert784.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert784.rows cert_r2zzzzzd

theorem congruent794 : ∀ x, x ∈ CongruentPoints794.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints794.pts cert794
theorem congruent_rank2zzzzze : ∀ x, x ∈ Rank2Cert785.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert785.rows cert_r2zzzzze

theorem congruent795 : ∀ x, x ∈ CongruentPoints795.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints795.pts cert795
theorem congruent_rank2zzzzzf : ∀ x, x ∈ Rank2Cert786.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert786.rows cert_r2zzzzzf

theorem congruent796 : ∀ x, x ∈ CongruentPoints796.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints796.pts cert796
theorem congruent_rank2zzzzzg : ∀ x, x ∈ Rank2Cert787.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert787.rows cert_r2zzzzzg

theorem congruent797 : ∀ x, x ∈ CongruentPoints797.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints797.pts cert797
theorem congruent_rank2zzzzzh : ∀ x, x ∈ Rank2Cert788.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert788.rows cert_r2zzzzzh

theorem congruent798 : ∀ x, x ∈ CongruentPoints798.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints798.pts cert798
theorem congruent_rank2zzzzzi : ∀ x, x ∈ Rank2Cert789.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert789.rows cert_r2zzzzzi

theorem congruent799 : ∀ x, x ∈ CongruentPoints799.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints799.pts cert799
theorem congruent_rank2zzzzzj : ∀ x, x ∈ Rank2Cert790.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert790.rows cert_r2zzzzzj

theorem congruent800 : ∀ x, x ∈ CongruentPoints800.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints800.pts cert800
theorem congruent_rank2zzzzzk : ∀ x, x ∈ Rank2Cert791.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert791.rows cert_r2zzzzzk

theorem congruent801 : ∀ x, x ∈ CongruentPoints801.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints801.pts cert801
theorem congruent_rank2zzzzzl : ∀ x, x ∈ Rank2Cert792.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert792.rows cert_r2zzzzzl

theorem congruent802 : ∀ x, x ∈ CongruentPoints802.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints802.pts cert802
theorem congruent_rank2zzzzzm : ∀ x, x ∈ Rank2Cert793.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert793.rows cert_r2zzzzzm

theorem congruent803 : ∀ x, x ∈ CongruentPoints803.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints803.pts cert803
theorem congruent_rank2zzzzzn : ∀ x, x ∈ Rank2Cert794.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert794.rows cert_r2zzzzzn

theorem congruent804 : ∀ x, x ∈ CongruentPoints804.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints804.pts cert804
theorem congruent_rank2zzzzzo : ∀ x, x ∈ Rank2Cert795.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert795.rows cert_r2zzzzzo

theorem congruent805 : ∀ x, x ∈ CongruentPoints805.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints805.pts cert805
theorem congruent_rank2zzzzzp : ∀ x, x ∈ Rank2Cert796.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert796.rows cert_r2zzzzzp

end CongruentTriangle

#print axioms CongruentTriangle.tri_of_point
#print axioms CongruentTriangle.point_of_tri
#print axioms CongruentTriangle.cert_sound
#print axioms CongruentTriangle.pts0_on
#print axioms CongruentTriangle.congruent0
#print axioms CongruentTriangle.congruent5
#print axioms CongruentTriangle.congruent6
#print axioms CongruentTriangle.congruent7
#print axioms CongruentTriangle.congruent8
#print axioms CongruentTriangle.congruent_rank2
#print axioms CongruentTriangle.congruent_rank2b
#print axioms CongruentTriangle.congruent9
#print axioms CongruentTriangle.congruent_rank2c
#print axioms CongruentTriangle.congruent10
#print axioms CongruentTriangle.congruent_rank2d
#print axioms CongruentTriangle.congruent11
#print axioms CongruentTriangle.congruent_rank2e
#print axioms CongruentTriangle.congruent12
#print axioms CongruentTriangle.congruent_rank2f
#print axioms CongruentTriangle.congruent13
#print axioms CongruentTriangle.congruent_rank2g
#print axioms CongruentTriangle.congruent14
#print axioms CongruentTriangle.congruent_rank2h
#print axioms CongruentTriangle.congruent15
#print axioms CongruentTriangle.congruent_rank2i
#print axioms CongruentTriangle.congruent16
#print axioms CongruentTriangle.congruent_rank2j
#print axioms CongruentTriangle.congruent17
#print axioms CongruentTriangle.congruent_rank2k
#print axioms CongruentTriangle.congruent18
#print axioms CongruentTriangle.congruent_rank2l
#print axioms CongruentTriangle.congruent19
#print axioms CongruentTriangle.congruent_rank2m
#print axioms CongruentTriangle.congruent20
#print axioms CongruentTriangle.congruent_rank2n
#print axioms CongruentTriangle.congruent21
#print axioms CongruentTriangle.congruent_rank2o
#print axioms CongruentTriangle.congruent22
#print axioms CongruentTriangle.congruent_rank2p
#print axioms CongruentTriangle.congruent23
#print axioms CongruentTriangle.congruent_rank2q
#print axioms CongruentTriangle.congruent24
#print axioms CongruentTriangle.congruent_rank2r
#print axioms CongruentTriangle.congruent25
#print axioms CongruentTriangle.congruent_rank2s
#print axioms CongruentTriangle.congruent26
#print axioms CongruentTriangle.congruent_rank2t
#print axioms CongruentTriangle.congruent27
#print axioms CongruentTriangle.congruent_rank2u
#print axioms CongruentTriangle.congruent28
#print axioms CongruentTriangle.congruent_rank2v
#print axioms CongruentTriangle.congruent29
#print axioms CongruentTriangle.congruent_rank2w
#print axioms CongruentTriangle.congruent30
#print axioms CongruentTriangle.congruent_rank2x
#print axioms CongruentTriangle.congruent31
#print axioms CongruentTriangle.congruent_rank2y
#print axioms CongruentTriangle.congruent32
#print axioms CongruentTriangle.congruent_rank2z
#print axioms CongruentTriangle.congruent33
#print axioms CongruentTriangle.congruent_rank2aa
#print axioms CongruentTriangle.congruent34
#print axioms CongruentTriangle.congruent35
#print axioms CongruentTriangle.congruent_rank2ab
#print axioms CongruentTriangle.congruent36
#print axioms CongruentTriangle.congruent_rank2ac
#print axioms CongruentTriangle.congruent37
#print axioms CongruentTriangle.congruent_rank2ad
#print axioms CongruentTriangle.congruent38
#print axioms CongruentTriangle.congruent_rank2ae
#print axioms CongruentTriangle.congruent39
#print axioms CongruentTriangle.congruent_rank2af
#print axioms CongruentTriangle.congruent40
#print axioms CongruentTriangle.congruent_rank2ag
#print axioms CongruentTriangle.congruent41
#print axioms CongruentTriangle.congruent_rank2ah
#print axioms CongruentTriangle.congruent42
#print axioms CongruentTriangle.congruent_rank2ai
#print axioms CongruentTriangle.congruent43
#print axioms CongruentTriangle.congruent_rank2aj
#print axioms CongruentTriangle.congruent44
#print axioms CongruentTriangle.congruent_rank2ak
#print axioms CongruentTriangle.congruent45
#print axioms CongruentTriangle.congruent_rank2al
#print axioms CongruentTriangle.congruent46
#print axioms CongruentTriangle.congruent_rank2am
#print axioms CongruentTriangle.congruent47
#print axioms CongruentTriangle.congruent_rank2an
#print axioms CongruentTriangle.congruent48
#print axioms CongruentTriangle.congruent_rank2ao
#print axioms CongruentTriangle.congruent49
#print axioms CongruentTriangle.congruent_rank2ap
#print axioms CongruentTriangle.congruent50
#print axioms CongruentTriangle.congruent_rank2aq
#print axioms CongruentTriangle.congruent51
#print axioms CongruentTriangle.congruent_rank2ar
#print axioms CongruentTriangle.congruent52
#print axioms CongruentTriangle.congruent_rank2as
#print axioms CongruentTriangle.congruent53
#print axioms CongruentTriangle.congruent_rank2at
#print axioms CongruentTriangle.congruent54
#print axioms CongruentTriangle.congruent_rank2au
#print axioms CongruentTriangle.congruent55
#print axioms CongruentTriangle.congruent_rank2av
#print axioms CongruentTriangle.congruent56
#print axioms CongruentTriangle.congruent_rank2aw
#print axioms CongruentTriangle.congruent57
#print axioms CongruentTriangle.congruent_rank2ax
#print axioms CongruentTriangle.congruent58
#print axioms CongruentTriangle.congruent_rank2ay
#print axioms CongruentTriangle.congruent59
#print axioms CongruentTriangle.congruent_rank2az
#print axioms CongruentTriangle.congruent60
#print axioms CongruentTriangle.congruent_rank2ba
#print axioms CongruentTriangle.congruent61
#print axioms CongruentTriangle.congruent_rank2bb
#print axioms CongruentTriangle.congruent62
#print axioms CongruentTriangle.congruent_rank2bc
#print axioms CongruentTriangle.congruent63
#print axioms CongruentTriangle.congruent_rank2bd
#print axioms CongruentTriangle.congruent64
#print axioms CongruentTriangle.congruent_rank2be
#print axioms CongruentTriangle.congruent65
#print axioms CongruentTriangle.congruent_rank2bf
#print axioms CongruentTriangle.congruent66
#print axioms CongruentTriangle.congruent_rank2bg
#print axioms CongruentTriangle.congruent67
#print axioms CongruentTriangle.congruent_rank2bh
#print axioms CongruentTriangle.congruent68
#print axioms CongruentTriangle.congruent_rank2bi
#print axioms CongruentTriangle.congruent69
#print axioms CongruentTriangle.congruent_rank2bj
#print axioms CongruentTriangle.congruent70
#print axioms CongruentTriangle.congruent_rank2bk
#print axioms CongruentTriangle.congruent71
#print axioms CongruentTriangle.congruent_rank2bl
#print axioms CongruentTriangle.congruent72
#print axioms CongruentTriangle.congruent_rank2bm
#print axioms CongruentTriangle.congruent73
#print axioms CongruentTriangle.congruent_rank2bn
#print axioms CongruentTriangle.congruent74
#print axioms CongruentTriangle.congruent75
#print axioms CongruentTriangle.congruent76
#print axioms CongruentTriangle.congruent_rank2bo
#print axioms CongruentTriangle.congruent77
#print axioms CongruentTriangle.congruent_rank2bp
#print axioms CongruentTriangle.congruent78
#print axioms CongruentTriangle.congruent_rank2bq
#print axioms CongruentTriangle.congruent79
#print axioms CongruentTriangle.congruent_rank2br
#print axioms CongruentTriangle.congruent80
#print axioms CongruentTriangle.congruent_rank2bs
#print axioms CongruentTriangle.congruent81
#print axioms CongruentTriangle.congruent_rank2bt
#print axioms CongruentTriangle.congruent82
#print axioms CongruentTriangle.congruent_rank2bu
#print axioms CongruentTriangle.congruent83
#print axioms CongruentTriangle.congruent_rank2bv
#print axioms CongruentTriangle.congruent84
#print axioms CongruentTriangle.congruent_rank2bw
#print axioms CongruentTriangle.congruent85
#print axioms CongruentTriangle.congruent_rank2bx
#print axioms CongruentTriangle.congruent86
#print axioms CongruentTriangle.congruent_rank2by
#print axioms CongruentTriangle.congruent87
#print axioms CongruentTriangle.congruent_rank2bz
#print axioms CongruentTriangle.congruent88
#print axioms CongruentTriangle.congruent_rank2ca
#print axioms CongruentTriangle.congruent89
#print axioms CongruentTriangle.congruent_rank2cb
#print axioms CongruentTriangle.congruent90
#print axioms CongruentTriangle.congruent_rank2cc
#print axioms CongruentTriangle.congruent91
#print axioms CongruentTriangle.congruent_rank2cd
#print axioms CongruentTriangle.congruent92
#print axioms CongruentTriangle.congruent_rank2ce
#print axioms CongruentTriangle.congruent93
#print axioms CongruentTriangle.congruent_rank2cf
#print axioms CongruentTriangle.congruent94
#print axioms CongruentTriangle.congruent_rank2cg
#print axioms CongruentTriangle.congruent95
#print axioms CongruentTriangle.congruent_rank2ch
#print axioms CongruentTriangle.congruent96
#print axioms CongruentTriangle.congruent_rank2ci
#print axioms CongruentTriangle.congruent97
#print axioms CongruentTriangle.congruent_rank2cj
#print axioms CongruentTriangle.congruent98
#print axioms CongruentTriangle.congruent_rank2ck
#print axioms CongruentTriangle.congruent99
#print axioms CongruentTriangle.congruent_rank2cl
#print axioms CongruentTriangle.congruent100
#print axioms CongruentTriangle.congruent_rank2cm
#print axioms CongruentTriangle.congruent101
#print axioms CongruentTriangle.congruent_rank2cn
#print axioms CongruentTriangle.congruent102
#print axioms CongruentTriangle.congruent_rank2co
#print axioms CongruentTriangle.congruent103
#print axioms CongruentTriangle.congruent_rank2cp
#print axioms CongruentTriangle.congruent104
#print axioms CongruentTriangle.congruent_rank2cq
#print axioms CongruentTriangle.congruent105
#print axioms CongruentTriangle.congruent_rank2cr
#print axioms CongruentTriangle.congruent106
#print axioms CongruentTriangle.congruent_rank2cs
#print axioms CongruentTriangle.congruent107
#print axioms CongruentTriangle.congruent_rank2ct
#print axioms CongruentTriangle.congruent108
#print axioms CongruentTriangle.congruent_rank2cu
#print axioms CongruentTriangle.congruent109
#print axioms CongruentTriangle.congruent_rank2cv
#print axioms CongruentTriangle.congruent110
#print axioms CongruentTriangle.congruent_rank2cw
#print axioms CongruentTriangle.congruent111
#print axioms CongruentTriangle.congruent_rank2cx
#print axioms CongruentTriangle.congruent112
#print axioms CongruentTriangle.congruent_rank2cy
#print axioms CongruentTriangle.congruent113
#print axioms CongruentTriangle.congruent_rank2cz
#print axioms CongruentTriangle.congruent114
#print axioms CongruentTriangle.congruent_rank2da
#print axioms CongruentTriangle.congruent115
#print axioms CongruentTriangle.congruent_rank2db
#print axioms CongruentTriangle.congruent116
#print axioms CongruentTriangle.congruent_rank2dc
#print axioms CongruentTriangle.congruent117
#print axioms CongruentTriangle.congruent_rank2dd
#print axioms CongruentTriangle.congruent118
#print axioms CongruentTriangle.congruent_rank2de
#print axioms CongruentTriangle.congruent119
#print axioms CongruentTriangle.congruent_rank2df
#print axioms CongruentTriangle.congruent120
#print axioms CongruentTriangle.congruent_rank2dg
#print axioms CongruentTriangle.congruent121
#print axioms CongruentTriangle.congruent_rank2dh
#print axioms CongruentTriangle.congruent122
#print axioms CongruentTriangle.congruent_rank2di
#print axioms CongruentTriangle.congruent123
#print axioms CongruentTriangle.congruent_rank2dj
#print axioms CongruentTriangle.congruent124
#print axioms CongruentTriangle.congruent_rank2dk
#print axioms CongruentTriangle.congruent125
#print axioms CongruentTriangle.congruent_rank2dl
#print axioms CongruentTriangle.congruent126
#print axioms CongruentTriangle.congruent_rank2dm
#print axioms CongruentTriangle.congruent127
#print axioms CongruentTriangle.congruent_rank2dn
#print axioms CongruentTriangle.congruent128
#print axioms CongruentTriangle.congruent_rank2do
#print axioms CongruentTriangle.congruent129
#print axioms CongruentTriangle.congruent_rank2dp
#print axioms CongruentTriangle.congruent130
#print axioms CongruentTriangle.congruent_rank2dq
#print axioms CongruentTriangle.congruent131
#print axioms CongruentTriangle.congruent_rank2dr
#print axioms CongruentTriangle.congruent132
#print axioms CongruentTriangle.congruent_rank2ds
#print axioms CongruentTriangle.congruent133
#print axioms CongruentTriangle.congruent_rank2dt
#print axioms CongruentTriangle.congruent134
#print axioms CongruentTriangle.congruent_rank2du
#print axioms CongruentTriangle.congruent135
#print axioms CongruentTriangle.congruent_rank2dv
#print axioms CongruentTriangle.congruent136
#print axioms CongruentTriangle.congruent_rank2dw
#print axioms CongruentTriangle.congruent137
#print axioms CongruentTriangle.congruent_rank2dx
#print axioms CongruentTriangle.congruent138
#print axioms CongruentTriangle.congruent_rank2dy
#print axioms CongruentTriangle.congruent139
#print axioms CongruentTriangle.congruent_rank2dz
#print axioms CongruentTriangle.congruent140
#print axioms CongruentTriangle.congruent_rank2ea
#print axioms CongruentTriangle.congruent141
#print axioms CongruentTriangle.congruent_rank2eb
#print axioms CongruentTriangle.congruent142
#print axioms CongruentTriangle.congruent_rank2ec
#print axioms CongruentTriangle.congruent143
#print axioms CongruentTriangle.congruent_rank2ed
#print axioms CongruentTriangle.congruent144
#print axioms CongruentTriangle.congruent_rank2ee
#print axioms CongruentTriangle.congruent145
#print axioms CongruentTriangle.congruent_rank2ef
#print axioms CongruentTriangle.congruent146
#print axioms CongruentTriangle.congruent_rank2eg
#print axioms CongruentTriangle.congruent147
#print axioms CongruentTriangle.congruent_rank2eh
#print axioms CongruentTriangle.congruent148
#print axioms CongruentTriangle.congruent_rank2ei
#print axioms CongruentTriangle.congruent149
#print axioms CongruentTriangle.congruent_rank2ej
#print axioms CongruentTriangle.congruent150
#print axioms CongruentTriangle.congruent_rank2ek
#print axioms CongruentTriangle.congruent151
#print axioms CongruentTriangle.congruent_rank2el
#print axioms CongruentTriangle.congruent152
#print axioms CongruentTriangle.congruent_rank2em
#print axioms CongruentTriangle.congruent153
#print axioms CongruentTriangle.congruent_rank2en
#print axioms CongruentTriangle.congruent154
#print axioms CongruentTriangle.congruent_rank2eo
#print axioms CongruentTriangle.congruent155
#print axioms CongruentTriangle.congruent_rank2ep
#print axioms CongruentTriangle.congruent156
#print axioms CongruentTriangle.congruent_rank2eq
#print axioms CongruentTriangle.congruent157
#print axioms CongruentTriangle.congruent_rank2er
#print axioms CongruentTriangle.congruent158
#print axioms CongruentTriangle.congruent_rank2es
#print axioms CongruentTriangle.congruent159
#print axioms CongruentTriangle.congruent_rank2et
#print axioms CongruentTriangle.congruent160
#print axioms CongruentTriangle.congruent_rank2eu
#print axioms CongruentTriangle.congruent161
#print axioms CongruentTriangle.congruent_rank2ev
#print axioms CongruentTriangle.congruent162
#print axioms CongruentTriangle.congruent_rank2ew
#print axioms CongruentTriangle.congruent163
#print axioms CongruentTriangle.congruent_rank2ex
#print axioms CongruentTriangle.congruent164
#print axioms CongruentTriangle.congruent_rank2ey
#print axioms CongruentTriangle.congruent165
#print axioms CongruentTriangle.congruent_rank2ez
#print axioms CongruentTriangle.congruent166
#print axioms CongruentTriangle.congruent_rank2fa
#print axioms CongruentTriangle.congruent167
#print axioms CongruentTriangle.congruent_rank2fb
#print axioms CongruentTriangle.congruent168
#print axioms CongruentTriangle.congruent_rank2fc
#print axioms CongruentTriangle.congruent169
#print axioms CongruentTriangle.congruent_rank2fd
#print axioms CongruentTriangle.congruent170
#print axioms CongruentTriangle.congruent_rank2fe
#print axioms CongruentTriangle.congruent171
#print axioms CongruentTriangle.congruent_rank2ff
#print axioms CongruentTriangle.congruent172
#print axioms CongruentTriangle.congruent_rank2fg
#print axioms CongruentTriangle.congruent173
#print axioms CongruentTriangle.congruent_rank2fh
#print axioms CongruentTriangle.congruent174
#print axioms CongruentTriangle.congruent_rank2fi
#print axioms CongruentTriangle.congruent175
#print axioms CongruentTriangle.congruent_rank2fj
#print axioms CongruentTriangle.congruent176
#print axioms CongruentTriangle.congruent_rank2fk
#print axioms CongruentTriangle.congruent177
#print axioms CongruentTriangle.congruent_rank2fl
#print axioms CongruentTriangle.congruent178
#print axioms CongruentTriangle.congruent_rank2fm
#print axioms CongruentTriangle.congruent179
#print axioms CongruentTriangle.congruent_rank2fn
#print axioms CongruentTriangle.congruent180
#print axioms CongruentTriangle.congruent_rank2fo
#print axioms CongruentTriangle.congruent181
#print axioms CongruentTriangle.congruent_rank2fp
#print axioms CongruentTriangle.congruent182
#print axioms CongruentTriangle.congruent_rank2fq
#print axioms CongruentTriangle.congruent183
#print axioms CongruentTriangle.congruent_rank2fr
#print axioms CongruentTriangle.congruent184
#print axioms CongruentTriangle.congruent_rank2fs
#print axioms CongruentTriangle.congruent185
#print axioms CongruentTriangle.congruent_rank2ft
#print axioms CongruentTriangle.congruent186
#print axioms CongruentTriangle.congruent_rank2fu
#print axioms CongruentTriangle.congruent187
#print axioms CongruentTriangle.congruent_rank2fv
#print axioms CongruentTriangle.congruent188
#print axioms CongruentTriangle.congruent_rank2fw
#print axioms CongruentTriangle.congruent189
#print axioms CongruentTriangle.congruent_rank2fx
#print axioms CongruentTriangle.congruent190
#print axioms CongruentTriangle.congruent_rank2fy
#print axioms CongruentTriangle.congruent191
#print axioms CongruentTriangle.congruent_rank2fz
#print axioms CongruentTriangle.congruent192
#print axioms CongruentTriangle.congruent_rank2ga
#print axioms CongruentTriangle.congruent193
#print axioms CongruentTriangle.congruent_rank2gb
#print axioms CongruentTriangle.congruent194
#print axioms CongruentTriangle.congruent_rank2gc
#print axioms CongruentTriangle.congruent195
#print axioms CongruentTriangle.congruent_rank2gd
#print axioms CongruentTriangle.congruent196
#print axioms CongruentTriangle.congruent_rank2ge
#print axioms CongruentTriangle.congruent197
#print axioms CongruentTriangle.congruent_rank2gf
#print axioms CongruentTriangle.congruent198
#print axioms CongruentTriangle.congruent_rank2gg
#print axioms CongruentTriangle.congruent199
#print axioms CongruentTriangle.congruent_rank2gh
#print axioms CongruentTriangle.congruent200
#print axioms CongruentTriangle.congruent_rank2gi
#print axioms CongruentTriangle.congruent201
#print axioms CongruentTriangle.congruent_rank2gj
#print axioms CongruentTriangle.congruent202
#print axioms CongruentTriangle.congruent_rank2gk
#print axioms CongruentTriangle.congruent203
#print axioms CongruentTriangle.congruent_rank2gl
#print axioms CongruentTriangle.congruent204
#print axioms CongruentTriangle.congruent_rank2gm
#print axioms CongruentTriangle.congruent205
#print axioms CongruentTriangle.congruent_rank2gn
#print axioms CongruentTriangle.congruent206
#print axioms CongruentTriangle.congruent_rank2go
#print axioms CongruentTriangle.congruent207
#print axioms CongruentTriangle.congruent_rank2gp
#print axioms CongruentTriangle.congruent208
#print axioms CongruentTriangle.congruent_rank2gq
#print axioms CongruentTriangle.congruent209
#print axioms CongruentTriangle.congruent_rank2gr
#print axioms CongruentTriangle.congruent210
#print axioms CongruentTriangle.congruent_rank2gs
#print axioms CongruentTriangle.congruent211
#print axioms CongruentTriangle.congruent_rank2gt
#print axioms CongruentTriangle.congruent212
#print axioms CongruentTriangle.congruent_rank2gu
#print axioms CongruentTriangle.congruent213
#print axioms CongruentTriangle.congruent_rank2gv
#print axioms CongruentTriangle.congruent214
#print axioms CongruentTriangle.congruent_rank2gw
#print axioms CongruentTriangle.congruent215
#print axioms CongruentTriangle.congruent_rank2gx
#print axioms CongruentTriangle.congruent216
#print axioms CongruentTriangle.congruent_rank2gy
#print axioms CongruentTriangle.congruent217
#print axioms CongruentTriangle.congruent_rank2gz
#print axioms CongruentTriangle.congruent218
#print axioms CongruentTriangle.congruent_rank2ha
#print axioms CongruentTriangle.congruent219
#print axioms CongruentTriangle.congruent_rank2hb
#print axioms CongruentTriangle.congruent220
#print axioms CongruentTriangle.congruent_rank2hc
#print axioms CongruentTriangle.congruent221
#print axioms CongruentTriangle.congruent_rank2hd
#print axioms CongruentTriangle.congruent222
#print axioms CongruentTriangle.congruent_rank2he
#print axioms CongruentTriangle.congruent223
#print axioms CongruentTriangle.congruent_rank2hf
#print axioms CongruentTriangle.congruent224
#print axioms CongruentTriangle.congruent_rank2hg
#print axioms CongruentTriangle.congruent225
#print axioms CongruentTriangle.congruent_rank2hh
#print axioms CongruentTriangle.congruent226
#print axioms CongruentTriangle.congruent_rank2hi
#print axioms CongruentTriangle.congruent227
#print axioms CongruentTriangle.congruent_rank2hj
#print axioms CongruentTriangle.congruent228
#print axioms CongruentTriangle.congruent_rank2hk
#print axioms CongruentTriangle.congruent229
#print axioms CongruentTriangle.congruent_rank2hl
#print axioms CongruentTriangle.congruent230
#print axioms CongruentTriangle.congruent_rank2hm
#print axioms CongruentTriangle.congruent231
#print axioms CongruentTriangle.congruent_rank2hn
#print axioms CongruentTriangle.congruent232
#print axioms CongruentTriangle.congruent_rank2ho
#print axioms CongruentTriangle.congruent233
#print axioms CongruentTriangle.congruent_rank2hp
#print axioms CongruentTriangle.congruent234
#print axioms CongruentTriangle.congruent_rank2hq
#print axioms CongruentTriangle.congruent235
#print axioms CongruentTriangle.congruent_rank2hr
#print axioms CongruentTriangle.congruent236
#print axioms CongruentTriangle.congruent_rank2hs
#print axioms CongruentTriangle.congruent237
#print axioms CongruentTriangle.congruent_rank2ht
#print axioms CongruentTriangle.congruent238
#print axioms CongruentTriangle.congruent_rank2hu
#print axioms CongruentTriangle.congruent239
#print axioms CongruentTriangle.congruent_rank2hv
#print axioms CongruentTriangle.congruent240
#print axioms CongruentTriangle.congruent_rank2hw
#print axioms CongruentTriangle.congruent241
#print axioms CongruentTriangle.congruent_rank2hx
#print axioms CongruentTriangle.congruent242
#print axioms CongruentTriangle.congruent_rank2hy
#print axioms CongruentTriangle.congruent243
#print axioms CongruentTriangle.congruent_rank2hz
#print axioms CongruentTriangle.congruent244
#print axioms CongruentTriangle.congruent_rank2ia
#print axioms CongruentTriangle.congruent245
#print axioms CongruentTriangle.congruent_rank2ib
#print axioms CongruentTriangle.congruent246
#print axioms CongruentTriangle.congruent_rank2ic
#print axioms CongruentTriangle.congruent247
#print axioms CongruentTriangle.congruent_rank2id
#print axioms CongruentTriangle.congruent248
#print axioms CongruentTriangle.congruent_rank2ie
#print axioms CongruentTriangle.congruent249
#print axioms CongruentTriangle.congruent_rank2if
#print axioms CongruentTriangle.congruent250
#print axioms CongruentTriangle.congruent_rank2ig
#print axioms CongruentTriangle.congruent251
#print axioms CongruentTriangle.congruent_rank2ih
#print axioms CongruentTriangle.congruent252
#print axioms CongruentTriangle.congruent_rank2ii
#print axioms CongruentTriangle.congruent253
#print axioms CongruentTriangle.congruent_rank2ij
#print axioms CongruentTriangle.congruent254
#print axioms CongruentTriangle.congruent_rank2ik
#print axioms CongruentTriangle.congruent255
#print axioms CongruentTriangle.congruent_rank2il
#print axioms CongruentTriangle.congruent256
#print axioms CongruentTriangle.congruent_rank2im
#print axioms CongruentTriangle.congruent257
#print axioms CongruentTriangle.congruent_rank2in
#print axioms CongruentTriangle.congruent258
#print axioms CongruentTriangle.congruent_rank2io
#print axioms CongruentTriangle.congruent259
#print axioms CongruentTriangle.congruent_rank2ip
#print axioms CongruentTriangle.congruent260
#print axioms CongruentTriangle.congruent_rank2iq
#print axioms CongruentTriangle.congruent261
#print axioms CongruentTriangle.congruent_rank2ir
#print axioms CongruentTriangle.congruent262
#print axioms CongruentTriangle.congruent_rank2is
#print axioms CongruentTriangle.congruent263
#print axioms CongruentTriangle.congruent_rank2it
#print axioms CongruentTriangle.congruent264
#print axioms CongruentTriangle.congruent_rank2iu
#print axioms CongruentTriangle.congruent265
#print axioms CongruentTriangle.congruent_rank2iv
#print axioms CongruentTriangle.congruent266
#print axioms CongruentTriangle.congruent_rank2iw
#print axioms CongruentTriangle.congruent267
#print axioms CongruentTriangle.congruent_rank2ix
#print axioms CongruentTriangle.congruent268
#print axioms CongruentTriangle.congruent_rank2iy
#print axioms CongruentTriangle.congruent269
#print axioms CongruentTriangle.congruent_rank2iz
#print axioms CongruentTriangle.congruent270
#print axioms CongruentTriangle.congruent_rank2ja
#print axioms CongruentTriangle.congruent271
#print axioms CongruentTriangle.congruent_rank2jb
#print axioms CongruentTriangle.congruent272
#print axioms CongruentTriangle.congruent_rank2jc
#print axioms CongruentTriangle.congruent273
#print axioms CongruentTriangle.congruent_rank2jd
#print axioms CongruentTriangle.congruent274
#print axioms CongruentTriangle.congruent_rank2je
#print axioms CongruentTriangle.congruent275
#print axioms CongruentTriangle.congruent_rank2jf
#print axioms CongruentTriangle.congruent276
#print axioms CongruentTriangle.congruent_rank2jg
#print axioms CongruentTriangle.congruent277
#print axioms CongruentTriangle.congruent_rank2jh
#print axioms CongruentTriangle.congruent278
#print axioms CongruentTriangle.congruent_rank2ji
#print axioms CongruentTriangle.congruent279
#print axioms CongruentTriangle.congruent_rank2jj
#print axioms CongruentTriangle.congruent280
#print axioms CongruentTriangle.congruent_rank2jk
#print axioms CongruentTriangle.congruent281
#print axioms CongruentTriangle.congruent_rank2jl
#print axioms CongruentTriangle.congruent282
#print axioms CongruentTriangle.congruent_rank2jm
#print axioms CongruentTriangle.congruent283
#print axioms CongruentTriangle.congruent_rank2jn
#print axioms CongruentTriangle.congruent284
#print axioms CongruentTriangle.congruent_rank2jo
#print axioms CongruentTriangle.congruent285
#print axioms CongruentTriangle.congruent_rank2jp
#print axioms CongruentTriangle.congruent286
#print axioms CongruentTriangle.congruent_rank2jq
#print axioms CongruentTriangle.congruent287
#print axioms CongruentTriangle.congruent_rank2jr
#print axioms CongruentTriangle.congruent288
#print axioms CongruentTriangle.congruent_rank2js
#print axioms CongruentTriangle.congruent289
#print axioms CongruentTriangle.congruent_rank2jt
#print axioms CongruentTriangle.congruent290
#print axioms CongruentTriangle.congruent_rank2ju
#print axioms CongruentTriangle.congruent291
#print axioms CongruentTriangle.congruent_rank2jv
#print axioms CongruentTriangle.congruent292
#print axioms CongruentTriangle.congruent_rank2jw
#print axioms CongruentTriangle.congruent293
#print axioms CongruentTriangle.congruent_rank2jx
#print axioms CongruentTriangle.congruent294
#print axioms CongruentTriangle.congruent_rank2jy
#print axioms CongruentTriangle.congruent295
#print axioms CongruentTriangle.congruent_rank2jz
#print axioms CongruentTriangle.congruent296
#print axioms CongruentTriangle.congruent_rank2ka
#print axioms CongruentTriangle.congruent297
#print axioms CongruentTriangle.congruent_rank2kb
#print axioms CongruentTriangle.congruent298
#print axioms CongruentTriangle.congruent_rank2kc
#print axioms CongruentTriangle.congruent299
#print axioms CongruentTriangle.congruent_rank2kd
#print axioms CongruentTriangle.congruent300
#print axioms CongruentTriangle.congruent_rank2ke
#print axioms CongruentTriangle.congruent301
#print axioms CongruentTriangle.congruent_rank2kf
#print axioms CongruentTriangle.congruent302
#print axioms CongruentTriangle.congruent_rank2kg
#print axioms CongruentTriangle.congruent303
#print axioms CongruentTriangle.congruent_rank2kh
#print axioms CongruentTriangle.congruent304
#print axioms CongruentTriangle.congruent_rank2ki
#print axioms CongruentTriangle.congruent305
#print axioms CongruentTriangle.congruent_rank2kj
#print axioms CongruentTriangle.congruent306
#print axioms CongruentTriangle.congruent_rank2kk
#print axioms CongruentTriangle.congruent307
#print axioms CongruentTriangle.congruent_rank2kl
#print axioms CongruentTriangle.congruent308
#print axioms CongruentTriangle.congruent_rank2km
#print axioms CongruentTriangle.congruent309
#print axioms CongruentTriangle.congruent_rank2kn
#print axioms CongruentTriangle.congruent310
#print axioms CongruentTriangle.congruent_rank2ko
#print axioms CongruentTriangle.congruent311
#print axioms CongruentTriangle.congruent_rank2kp
#print axioms CongruentTriangle.congruent312
#print axioms CongruentTriangle.congruent_rank2kq
#print axioms CongruentTriangle.congruent313
#print axioms CongruentTriangle.congruent_rank2kr
#print axioms CongruentTriangle.congruent314
#print axioms CongruentTriangle.congruent_rank2ks
#print axioms CongruentTriangle.congruent315
#print axioms CongruentTriangle.congruent_rank2kt
#print axioms CongruentTriangle.congruent316
#print axioms CongruentTriangle.congruent_rank2ku
#print axioms CongruentTriangle.congruent317
#print axioms CongruentTriangle.congruent_rank2kv
#print axioms CongruentTriangle.congruent318
#print axioms CongruentTriangle.congruent_rank2kw
#print axioms CongruentTriangle.congruent319
#print axioms CongruentTriangle.congruent_rank2kx
#print axioms CongruentTriangle.congruent320
#print axioms CongruentTriangle.congruent_rank2ky
#print axioms CongruentTriangle.congruent321
#print axioms CongruentTriangle.congruent_rank2kz
#print axioms CongruentTriangle.congruent322
#print axioms CongruentTriangle.congruent_rank2la
#print axioms CongruentTriangle.congruent323
#print axioms CongruentTriangle.congruent_rank2lb
#print axioms CongruentTriangle.congruent324
#print axioms CongruentTriangle.congruent_rank2lc
#print axioms CongruentTriangle.congruent325
#print axioms CongruentTriangle.congruent_rank2ld
#print axioms CongruentTriangle.congruent326
#print axioms CongruentTriangle.congruent_rank2le
#print axioms CongruentTriangle.congruent327
#print axioms CongruentTriangle.congruent_rank2lf
#print axioms CongruentTriangle.congruent328
#print axioms CongruentTriangle.congruent_rank2lg
#print axioms CongruentTriangle.congruent329
#print axioms CongruentTriangle.congruent_rank2lh
#print axioms CongruentTriangle.congruent330
#print axioms CongruentTriangle.congruent_rank2li
#print axioms CongruentTriangle.congruent331
#print axioms CongruentTriangle.congruent_rank2lj
#print axioms CongruentTriangle.congruent332
#print axioms CongruentTriangle.congruent_rank2lk
#print axioms CongruentTriangle.congruent333
#print axioms CongruentTriangle.congruent_rank2ll
#print axioms CongruentTriangle.congruent334
#print axioms CongruentTriangle.congruent_rank2lm
#print axioms CongruentTriangle.congruent335
#print axioms CongruentTriangle.congruent_rank2ln
#print axioms CongruentTriangle.congruent336
#print axioms CongruentTriangle.congruent_rank2lo
#print axioms CongruentTriangle.congruent337
#print axioms CongruentTriangle.congruent_rank2lp
#print axioms CongruentTriangle.congruent338
#print axioms CongruentTriangle.congruent_rank2lq
#print axioms CongruentTriangle.congruent339
#print axioms CongruentTriangle.congruent_rank2lr
#print axioms CongruentTriangle.congruent340
#print axioms CongruentTriangle.congruent_rank2ls
#print axioms CongruentTriangle.congruent341
#print axioms CongruentTriangle.congruent_rank2lt
#print axioms CongruentTriangle.congruent342
#print axioms CongruentTriangle.congruent_rank2lu
#print axioms CongruentTriangle.congruent343
#print axioms CongruentTriangle.congruent_rank2lv
#print axioms CongruentTriangle.congruent344
#print axioms CongruentTriangle.congruent_rank2lw
#print axioms CongruentTriangle.congruent345
#print axioms CongruentTriangle.congruent_rank2lx
#print axioms CongruentTriangle.congruent346
#print axioms CongruentTriangle.congruent_rank2ly
#print axioms CongruentTriangle.congruent347
#print axioms CongruentTriangle.congruent_rank2lz
#print axioms CongruentTriangle.congruent348
#print axioms CongruentTriangle.congruent_rank2ma
#print axioms CongruentTriangle.congruent349
#print axioms CongruentTriangle.congruent_rank2mb
#print axioms CongruentTriangle.congruent350
#print axioms CongruentTriangle.congruent_rank2mc
#print axioms CongruentTriangle.congruent351
#print axioms CongruentTriangle.congruent_rank2md
#print axioms CongruentTriangle.congruent352
#print axioms CongruentTriangle.congruent_rank2me
#print axioms CongruentTriangle.congruent353
#print axioms CongruentTriangle.congruent_rank2mf
#print axioms CongruentTriangle.congruent354
#print axioms CongruentTriangle.congruent_rank2mg
#print axioms CongruentTriangle.congruent355
#print axioms CongruentTriangle.congruent_rank2mh
#print axioms CongruentTriangle.congruent356
#print axioms CongruentTriangle.congruent_rank2mi
#print axioms CongruentTriangle.congruent357
#print axioms CongruentTriangle.congruent_rank2mj
#print axioms CongruentTriangle.congruent358
#print axioms CongruentTriangle.congruent_rank2mk
#print axioms CongruentTriangle.congruent359
#print axioms CongruentTriangle.congruent_rank2ml
#print axioms CongruentTriangle.congruent360
#print axioms CongruentTriangle.congruent_rank2mm
#print axioms CongruentTriangle.congruent361
#print axioms CongruentTriangle.congruent_rank2mn
#print axioms CongruentTriangle.congruent362
#print axioms CongruentTriangle.congruent_rank2mo
#print axioms CongruentTriangle.congruent363
#print axioms CongruentTriangle.congruent_rank2mp
#print axioms CongruentTriangle.congruent364
#print axioms CongruentTriangle.congruent_rank2mq
#print axioms CongruentTriangle.congruent365
#print axioms CongruentTriangle.congruent_rank2mr
#print axioms CongruentTriangle.congruent366
#print axioms CongruentTriangle.congruent_rank2ms
#print axioms CongruentTriangle.congruent367
#print axioms CongruentTriangle.congruent_rank2mt
#print axioms CongruentTriangle.congruent368
#print axioms CongruentTriangle.congruent_rank2mu
#print axioms CongruentTriangle.congruent369
#print axioms CongruentTriangle.congruent_rank2mv
#print axioms CongruentTriangle.congruent370
#print axioms CongruentTriangle.congruent_rank2mw
#print axioms CongruentTriangle.congruent371
#print axioms CongruentTriangle.congruent_rank2mx
#print axioms CongruentTriangle.congruent372
#print axioms CongruentTriangle.congruent_rank2my
#print axioms CongruentTriangle.congruent373
#print axioms CongruentTriangle.congruent_rank2mz
#print axioms CongruentTriangle.congruent374
#print axioms CongruentTriangle.congruent_rank2na
#print axioms CongruentTriangle.congruent375
#print axioms CongruentTriangle.congruent_rank2nb
#print axioms CongruentTriangle.congruent376
#print axioms CongruentTriangle.congruent_rank2nc
#print axioms CongruentTriangle.congruent377
#print axioms CongruentTriangle.congruent_rank2nd
#print axioms CongruentTriangle.congruent378
#print axioms CongruentTriangle.congruent_rank2ne
#print axioms CongruentTriangle.congruent379
#print axioms CongruentTriangle.congruent_rank2nf
#print axioms CongruentTriangle.congruent380
#print axioms CongruentTriangle.congruent_rank2ng
#print axioms CongruentTriangle.congruent381
#print axioms CongruentTriangle.congruent_rank2nh
#print axioms CongruentTriangle.congruent382
#print axioms CongruentTriangle.congruent_rank2ni
#print axioms CongruentTriangle.congruent383
#print axioms CongruentTriangle.congruent_rank2nj
#print axioms CongruentTriangle.congruent384
#print axioms CongruentTriangle.congruent_rank2nk
#print axioms CongruentTriangle.congruent385
#print axioms CongruentTriangle.congruent_rank2nl
#print axioms CongruentTriangle.congruent386
#print axioms CongruentTriangle.congruent_rank2nm
#print axioms CongruentTriangle.congruent387
#print axioms CongruentTriangle.congruent_rank2nn
#print axioms CongruentTriangle.congruent388
#print axioms CongruentTriangle.congruent_rank2no
#print axioms CongruentTriangle.congruent389
#print axioms CongruentTriangle.congruent_rank2np
#print axioms CongruentTriangle.congruent390
#print axioms CongruentTriangle.congruent_rank2nq
#print axioms CongruentTriangle.congruent391
#print axioms CongruentTriangle.congruent_rank2nr
#print axioms CongruentTriangle.congruent392
#print axioms CongruentTriangle.congruent_rank2ns
#print axioms CongruentTriangle.congruent393
#print axioms CongruentTriangle.congruent_rank2nt
#print axioms CongruentTriangle.congruent394
#print axioms CongruentTriangle.congruent_rank2nu
#print axioms CongruentTriangle.congruent395
#print axioms CongruentTriangle.congruent_rank2nv
#print axioms CongruentTriangle.congruent396
#print axioms CongruentTriangle.congruent_rank2nw
#print axioms CongruentTriangle.congruent397
#print axioms CongruentTriangle.congruent_rank2nx
#print axioms CongruentTriangle.congruent398
#print axioms CongruentTriangle.congruent_rank2ny
#print axioms CongruentTriangle.congruent399
#print axioms CongruentTriangle.congruent_rank2nz
#print axioms CongruentTriangle.congruent400
#print axioms CongruentTriangle.congruent_rank2oa
#print axioms CongruentTriangle.congruent401
#print axioms CongruentTriangle.congruent_rank2ob
#print axioms CongruentTriangle.congruent402
#print axioms CongruentTriangle.congruent_rank2oc
#print axioms CongruentTriangle.congruent403
#print axioms CongruentTriangle.congruent_rank2od
#print axioms CongruentTriangle.congruent404
#print axioms CongruentTriangle.congruent_rank2oe
#print axioms CongruentTriangle.congruent405
#print axioms CongruentTriangle.congruent_rank2of
#print axioms CongruentTriangle.congruent406
#print axioms CongruentTriangle.congruent_rank2og
#print axioms CongruentTriangle.congruent407
#print axioms CongruentTriangle.congruent_rank2oh
#print axioms CongruentTriangle.congruent408
#print axioms CongruentTriangle.congruent_rank2oi
#print axioms CongruentTriangle.congruent409
#print axioms CongruentTriangle.congruent_rank2oj
#print axioms CongruentTriangle.congruent410
#print axioms CongruentTriangle.congruent_rank2ok
#print axioms CongruentTriangle.congruent411
#print axioms CongruentTriangle.congruent_rank2ol
#print axioms CongruentTriangle.congruent412
#print axioms CongruentTriangle.congruent_rank2om
#print axioms CongruentTriangle.congruent413
#print axioms CongruentTriangle.congruent_rank2on
#print axioms CongruentTriangle.congruent414
#print axioms CongruentTriangle.congruent_rank2oo
#print axioms CongruentTriangle.congruent415
#print axioms CongruentTriangle.congruent_rank2op
#print axioms CongruentTriangle.congruent416
#print axioms CongruentTriangle.congruent_rank2oq
#print axioms CongruentTriangle.congruent417
#print axioms CongruentTriangle.congruent_rank2or
#print axioms CongruentTriangle.congruent418
#print axioms CongruentTriangle.congruent_rank2os
#print axioms CongruentTriangle.congruent419
#print axioms CongruentTriangle.congruent_rank2ot
#print axioms CongruentTriangle.congruent420
#print axioms CongruentTriangle.congruent_rank2ou
#print axioms CongruentTriangle.congruent421
#print axioms CongruentTriangle.congruent_rank2ov
#print axioms CongruentTriangle.congruent422
#print axioms CongruentTriangle.congruent_rank2ow
#print axioms CongruentTriangle.congruent423
#print axioms CongruentTriangle.congruent_rank2ox
#print axioms CongruentTriangle.congruent424
#print axioms CongruentTriangle.congruent_rank2oy
#print axioms CongruentTriangle.congruent425
#print axioms CongruentTriangle.congruent_rank2oz
#print axioms CongruentTriangle.congruent426
#print axioms CongruentTriangle.congruent_rank2pa
#print axioms CongruentTriangle.congruent427
#print axioms CongruentTriangle.congruent_rank2pb
#print axioms CongruentTriangle.congruent428
#print axioms CongruentTriangle.congruent_rank2pc
#print axioms CongruentTriangle.congruent429
#print axioms CongruentTriangle.congruent_rank2pd
#print axioms CongruentTriangle.congruent430
#print axioms CongruentTriangle.congruent_rank2pe
#print axioms CongruentTriangle.congruent431
#print axioms CongruentTriangle.congruent_rank2pf
#print axioms CongruentTriangle.congruent432
#print axioms CongruentTriangle.congruent_rank2pg
#print axioms CongruentTriangle.congruent433
#print axioms CongruentTriangle.congruent_rank2ph
#print axioms CongruentTriangle.congruent434
#print axioms CongruentTriangle.congruent_rank2pi
#print axioms CongruentTriangle.congruent435
#print axioms CongruentTriangle.congruent_rank2pj
#print axioms CongruentTriangle.congruent436
#print axioms CongruentTriangle.congruent_rank2pk
#print axioms CongruentTriangle.congruent437
#print axioms CongruentTriangle.congruent_rank2pl
#print axioms CongruentTriangle.congruent438
#print axioms CongruentTriangle.congruent_rank2pm
#print axioms CongruentTriangle.congruent439
#print axioms CongruentTriangle.congruent_rank2pn
#print axioms CongruentTriangle.congruent440
#print axioms CongruentTriangle.congruent_rank2po
#print axioms CongruentTriangle.congruent441
#print axioms CongruentTriangle.congruent_rank2pp
#print axioms CongruentTriangle.congruent442
#print axioms CongruentTriangle.congruent_rank2pq
#print axioms CongruentTriangle.congruent443
#print axioms CongruentTriangle.congruent_rank2pr
#print axioms CongruentTriangle.congruent444
#print axioms CongruentTriangle.congruent_rank2ps
#print axioms CongruentTriangle.congruent445
#print axioms CongruentTriangle.congruent_rank2pt
#print axioms CongruentTriangle.congruent446
#print axioms CongruentTriangle.congruent_rank2pu
#print axioms CongruentTriangle.congruent447
#print axioms CongruentTriangle.congruent_rank2pv
#print axioms CongruentTriangle.congruent448
#print axioms CongruentTriangle.congruent_rank2pw
#print axioms CongruentTriangle.congruent449
#print axioms CongruentTriangle.congruent_rank2px
#print axioms CongruentTriangle.congruent450
#print axioms CongruentTriangle.congruent_rank2py
#print axioms CongruentTriangle.congruent451
#print axioms CongruentTriangle.congruent_rank2pz
#print axioms CongruentTriangle.congruent452
#print axioms CongruentTriangle.congruent_rank2qa
#print axioms CongruentTriangle.congruent453
#print axioms CongruentTriangle.congruent_rank2qb
#print axioms CongruentTriangle.congruent454
#print axioms CongruentTriangle.congruent_rank2qc
#print axioms CongruentTriangle.congruent455
#print axioms CongruentTriangle.congruent_rank2qd
#print axioms CongruentTriangle.congruent456
#print axioms CongruentTriangle.congruent_rank2qe
#print axioms CongruentTriangle.congruent457
#print axioms CongruentTriangle.congruent_rank2qf
#print axioms CongruentTriangle.congruent458
#print axioms CongruentTriangle.congruent_rank2qg
#print axioms CongruentTriangle.congruent459
#print axioms CongruentTriangle.congruent_rank2qh
#print axioms CongruentTriangle.congruent460
#print axioms CongruentTriangle.congruent_rank2qi
#print axioms CongruentTriangle.congruent461
#print axioms CongruentTriangle.congruent_rank2qj
#print axioms CongruentTriangle.congruent462
#print axioms CongruentTriangle.congruent_rank2qk
#print axioms CongruentTriangle.congruent463
#print axioms CongruentTriangle.congruent_rank2ql
#print axioms CongruentTriangle.congruent464
#print axioms CongruentTriangle.congruent_rank2qm
#print axioms CongruentTriangle.congruent465
#print axioms CongruentTriangle.congruent_rank2qn
#print axioms CongruentTriangle.congruent466
#print axioms CongruentTriangle.congruent_rank2qo
#print axioms CongruentTriangle.congruent467
#print axioms CongruentTriangle.congruent_rank2qp
#print axioms CongruentTriangle.congruent468
#print axioms CongruentTriangle.congruent_rank2qq
#print axioms CongruentTriangle.congruent469
#print axioms CongruentTriangle.congruent_rank2qr
#print axioms CongruentTriangle.congruent470
#print axioms CongruentTriangle.congruent_rank2qs
#print axioms CongruentTriangle.congruent471
#print axioms CongruentTriangle.congruent_rank2qt
#print axioms CongruentTriangle.congruent472
#print axioms CongruentTriangle.congruent_rank2qu
#print axioms CongruentTriangle.congruent473
#print axioms CongruentTriangle.congruent_rank2qv
#print axioms CongruentTriangle.congruent474
#print axioms CongruentTriangle.congruent_rank2qw
#print axioms CongruentTriangle.congruent475
#print axioms CongruentTriangle.congruent_rank2qx
#print axioms CongruentTriangle.congruent476
#print axioms CongruentTriangle.congruent_rank2qy
#print axioms CongruentTriangle.congruent477
#print axioms CongruentTriangle.congruent_rank2qz
#print axioms CongruentTriangle.congruent478
#print axioms CongruentTriangle.congruent_rank2ra
#print axioms CongruentTriangle.congruent479
#print axioms CongruentTriangle.congruent_rank2rb
#print axioms CongruentTriangle.congruent480
#print axioms CongruentTriangle.congruent_rank2rc
#print axioms CongruentTriangle.congruent481
#print axioms CongruentTriangle.congruent_rank2rd
#print axioms CongruentTriangle.congruent482
#print axioms CongruentTriangle.congruent_rank2re
#print axioms CongruentTriangle.congruent483
#print axioms CongruentTriangle.congruent_rank2rf
#print axioms CongruentTriangle.congruent484
#print axioms CongruentTriangle.congruent_rank2rg
#print axioms CongruentTriangle.congruent485
#print axioms CongruentTriangle.congruent_rank2rh
#print axioms CongruentTriangle.congruent486
#print axioms CongruentTriangle.congruent_rank2ri
#print axioms CongruentTriangle.congruent487
#print axioms CongruentTriangle.congruent_rank2rj
#print axioms CongruentTriangle.congruent488
#print axioms CongruentTriangle.congruent_rank2rk
#print axioms CongruentTriangle.congruent489
#print axioms CongruentTriangle.congruent_rank2rl
#print axioms CongruentTriangle.congruent490
#print axioms CongruentTriangle.congruent_rank2rm
#print axioms CongruentTriangle.congruent491
#print axioms CongruentTriangle.congruent_rank2rn
#print axioms CongruentTriangle.congruent492
#print axioms CongruentTriangle.congruent_rank2ro
#print axioms CongruentTriangle.congruent493
#print axioms CongruentTriangle.congruent_rank2rp
#print axioms CongruentTriangle.congruent494
#print axioms CongruentTriangle.congruent_rank2rq
#print axioms CongruentTriangle.congruent495
#print axioms CongruentTriangle.congruent_rank2rr
#print axioms CongruentTriangle.congruent496
#print axioms CongruentTriangle.congruent_rank2rs
#print axioms CongruentTriangle.congruent497
#print axioms CongruentTriangle.congruent_rank2rt
#print axioms CongruentTriangle.congruent498
#print axioms CongruentTriangle.congruent_rank2ru
#print axioms CongruentTriangle.congruent499
#print axioms CongruentTriangle.congruent_rank2rv
#print axioms CongruentTriangle.congruent500
#print axioms CongruentTriangle.congruent_rank2rw
#print axioms CongruentTriangle.congruent501
#print axioms CongruentTriangle.congruent_rank2rx
#print axioms CongruentTriangle.congruent502
#print axioms CongruentTriangle.congruent_rank2ry
#print axioms CongruentTriangle.congruent503
#print axioms CongruentTriangle.congruent_rank2rz
#print axioms CongruentTriangle.congruent504
#print axioms CongruentTriangle.congruent_rank2sa
#print axioms CongruentTriangle.congruent505
#print axioms CongruentTriangle.congruent_rank2sb
#print axioms CongruentTriangle.congruent506
#print axioms CongruentTriangle.congruent_rank2sc
#print axioms CongruentTriangle.congruent507
#print axioms CongruentTriangle.congruent_rank2sd
#print axioms CongruentTriangle.congruent508
#print axioms CongruentTriangle.congruent_rank2se
#print axioms CongruentTriangle.congruent509
#print axioms CongruentTriangle.congruent_rank2sf
#print axioms CongruentTriangle.congruent510
#print axioms CongruentTriangle.congruent_rank2sg
#print axioms CongruentTriangle.congruent511
#print axioms CongruentTriangle.congruent_rank2sh
#print axioms CongruentTriangle.congruent512
#print axioms CongruentTriangle.congruent_rank2si
#print axioms CongruentTriangle.congruent513
#print axioms CongruentTriangle.congruent_rank2sj
#print axioms CongruentTriangle.congruent514
#print axioms CongruentTriangle.congruent_rank2sk
#print axioms CongruentTriangle.congruent515
#print axioms CongruentTriangle.congruent_rank2sl
#print axioms CongruentTriangle.congruent516
#print axioms CongruentTriangle.congruent_rank2sm
#print axioms CongruentTriangle.congruent517
#print axioms CongruentTriangle.congruent_rank2sn
#print axioms CongruentTriangle.congruent518
#print axioms CongruentTriangle.congruent_rank2so
#print axioms CongruentTriangle.congruent519
#print axioms CongruentTriangle.congruent_rank2sp
#print axioms CongruentTriangle.congruent520
#print axioms CongruentTriangle.congruent_rank2sq
#print axioms CongruentTriangle.congruent521
#print axioms CongruentTriangle.congruent_rank2sr
#print axioms CongruentTriangle.congruent522
#print axioms CongruentTriangle.congruent_rank2ss
#print axioms CongruentTriangle.congruent523
#print axioms CongruentTriangle.congruent_rank2st
#print axioms CongruentTriangle.congruent524
#print axioms CongruentTriangle.congruent_rank2su
#print axioms CongruentTriangle.congruent525
#print axioms CongruentTriangle.congruent_rank2sv
#print axioms CongruentTriangle.congruent526
#print axioms CongruentTriangle.congruent_rank2sw
#print axioms CongruentTriangle.congruent527
#print axioms CongruentTriangle.congruent_rank2sx
#print axioms CongruentTriangle.congruent528
#print axioms CongruentTriangle.congruent_rank2sy
#print axioms CongruentTriangle.congruent529
#print axioms CongruentTriangle.congruent_rank2sz
#print axioms CongruentTriangle.congruent530
#print axioms CongruentTriangle.congruent_rank2ta
#print axioms CongruentTriangle.congruent531
#print axioms CongruentTriangle.congruent_rank2tb
#print axioms CongruentTriangle.congruent532
#print axioms CongruentTriangle.congruent_rank2tc
#print axioms CongruentTriangle.congruent533
#print axioms CongruentTriangle.congruent_rank2td
#print axioms CongruentTriangle.congruent534
#print axioms CongruentTriangle.congruent_rank2te
#print axioms CongruentTriangle.congruent535
#print axioms CongruentTriangle.congruent_rank2tf
#print axioms CongruentTriangle.congruent536
#print axioms CongruentTriangle.congruent_rank2tg
#print axioms CongruentTriangle.congruent537
#print axioms CongruentTriangle.congruent_rank2th
#print axioms CongruentTriangle.congruent538
#print axioms CongruentTriangle.congruent_rank2ti
#print axioms CongruentTriangle.congruent539
#print axioms CongruentTriangle.congruent_rank2tj
#print axioms CongruentTriangle.congruent540
#print axioms CongruentTriangle.congruent_rank2tk
#print axioms CongruentTriangle.congruent541
#print axioms CongruentTriangle.congruent_rank2tl
#print axioms CongruentTriangle.congruent542
#print axioms CongruentTriangle.congruent_rank2tm
#print axioms CongruentTriangle.congruent543
#print axioms CongruentTriangle.congruent_rank2tn
#print axioms CongruentTriangle.congruent544
#print axioms CongruentTriangle.congruent_rank2to
#print axioms CongruentTriangle.congruent545
#print axioms CongruentTriangle.congruent_rank2tp
#print axioms CongruentTriangle.congruent546
#print axioms CongruentTriangle.congruent_rank2tq
#print axioms CongruentTriangle.congruent547
#print axioms CongruentTriangle.congruent_rank2tr
#print axioms CongruentTriangle.congruent548
#print axioms CongruentTriangle.congruent_rank2ts
#print axioms CongruentTriangle.congruent549
#print axioms CongruentTriangle.congruent_rank2tt
#print axioms CongruentTriangle.congruent550
#print axioms CongruentTriangle.congruent_rank2tu
#print axioms CongruentTriangle.congruent551
#print axioms CongruentTriangle.congruent_rank2tv
#print axioms CongruentTriangle.congruent552
#print axioms CongruentTriangle.congruent_rank2tw
#print axioms CongruentTriangle.congruent553
#print axioms CongruentTriangle.congruent_rank2tx
#print axioms CongruentTriangle.congruent554
#print axioms CongruentTriangle.congruent_rank2ty
#print axioms CongruentTriangle.congruent555
#print axioms CongruentTriangle.congruent_rank2tz
#print axioms CongruentTriangle.congruent556
#print axioms CongruentTriangle.congruent_rank2ua
#print axioms CongruentTriangle.congruent557
#print axioms CongruentTriangle.congruent_rank2ub
#print axioms CongruentTriangle.congruent558
#print axioms CongruentTriangle.congruent_rank2uc
#print axioms CongruentTriangle.congruent559
#print axioms CongruentTriangle.congruent_rank2ud
#print axioms CongruentTriangle.congruent560
#print axioms CongruentTriangle.congruent_rank2ue
#print axioms CongruentTriangle.congruent561
#print axioms CongruentTriangle.congruent_rank2uf
#print axioms CongruentTriangle.congruent562
#print axioms CongruentTriangle.congruent_rank2ug
#print axioms CongruentTriangle.congruent563
#print axioms CongruentTriangle.congruent_rank2uh
#print axioms CongruentTriangle.congruent564
#print axioms CongruentTriangle.congruent_rank2ui
#print axioms CongruentTriangle.congruent565
#print axioms CongruentTriangle.congruent_rank2uj
#print axioms CongruentTriangle.congruent566
#print axioms CongruentTriangle.congruent_rank2uk
#print axioms CongruentTriangle.congruent567
#print axioms CongruentTriangle.congruent_rank2ul
#print axioms CongruentTriangle.congruent568
#print axioms CongruentTriangle.congruent_rank2um
#print axioms CongruentTriangle.congruent569
#print axioms CongruentTriangle.congruent_rank2un
#print axioms CongruentTriangle.congruent570
#print axioms CongruentTriangle.congruent_rank2uo
#print axioms CongruentTriangle.congruent571
#print axioms CongruentTriangle.congruent_rank2up
#print axioms CongruentTriangle.congruent572
#print axioms CongruentTriangle.congruent_rank2uq
#print axioms CongruentTriangle.congruent573
#print axioms CongruentTriangle.congruent_rank2ur
#print axioms CongruentTriangle.congruent574
#print axioms CongruentTriangle.congruent_rank2us
#print axioms CongruentTriangle.congruent575
#print axioms CongruentTriangle.congruent_rank2ut
#print axioms CongruentTriangle.congruent576
#print axioms CongruentTriangle.congruent_rank2uu
#print axioms CongruentTriangle.congruent577
#print axioms CongruentTriangle.congruent_rank2uv
#print axioms CongruentTriangle.congruent578
#print axioms CongruentTriangle.congruent_rank2uw
#print axioms CongruentTriangle.congruent579
#print axioms CongruentTriangle.congruent_rank2ux
#print axioms CongruentTriangle.congruent580
#print axioms CongruentTriangle.congruent_rank2uy
#print axioms CongruentTriangle.congruent581
#print axioms CongruentTriangle.congruent_rank2uz
#print axioms CongruentTriangle.congruent582
#print axioms CongruentTriangle.congruent_rank2va
#print axioms CongruentTriangle.congruent583
#print axioms CongruentTriangle.congruent_rank2vb
#print axioms CongruentTriangle.congruent584
#print axioms CongruentTriangle.congruent_rank2vc
#print axioms CongruentTriangle.congruent585
#print axioms CongruentTriangle.congruent_rank2vd
#print axioms CongruentTriangle.congruent586
#print axioms CongruentTriangle.congruent_rank2ve
#print axioms CongruentTriangle.congruent587
#print axioms CongruentTriangle.congruent_rank2vf
#print axioms CongruentTriangle.congruent588
#print axioms CongruentTriangle.congruent_rank2vg
#print axioms CongruentTriangle.congruent589
#print axioms CongruentTriangle.congruent_rank2vh
#print axioms CongruentTriangle.congruent590
#print axioms CongruentTriangle.congruent_rank2vi
#print axioms CongruentTriangle.congruent591
#print axioms CongruentTriangle.congruent_rank2vj
#print axioms CongruentTriangle.congruent592
#print axioms CongruentTriangle.congruent_rank2vk
#print axioms CongruentTriangle.congruent593
#print axioms CongruentTriangle.congruent_rank2vl
#print axioms CongruentTriangle.congruent594
#print axioms CongruentTriangle.congruent_rank2vm
#print axioms CongruentTriangle.congruent595
#print axioms CongruentTriangle.congruent_rank2vn
#print axioms CongruentTriangle.congruent596
#print axioms CongruentTriangle.congruent_rank2vo
#print axioms CongruentTriangle.congruent597
#print axioms CongruentTriangle.congruent_rank2vp
#print axioms CongruentTriangle.congruent598
#print axioms CongruentTriangle.congruent_rank2vq
#print axioms CongruentTriangle.congruent599
#print axioms CongruentTriangle.congruent_rank2vr
#print axioms CongruentTriangle.congruent600
#print axioms CongruentTriangle.congruent_rank2vs
#print axioms CongruentTriangle.congruent601
#print axioms CongruentTriangle.congruent_rank2vt
#print axioms CongruentTriangle.congruent602
#print axioms CongruentTriangle.congruent_rank2vu
#print axioms CongruentTriangle.congruent603
#print axioms CongruentTriangle.congruent_rank2vv
#print axioms CongruentTriangle.congruent604
#print axioms CongruentTriangle.congruent_rank2vw
#print axioms CongruentTriangle.congruent605
#print axioms CongruentTriangle.congruent_rank2vx
#print axioms CongruentTriangle.congruent606
#print axioms CongruentTriangle.congruent_rank2vy
#print axioms CongruentTriangle.congruent607
#print axioms CongruentTriangle.congruent_rank2vz
#print axioms CongruentTriangle.congruent608
#print axioms CongruentTriangle.congruent_rank2wa
#print axioms CongruentTriangle.congruent609
#print axioms CongruentTriangle.congruent_rank2wb
#print axioms CongruentTriangle.congruent610
#print axioms CongruentTriangle.congruent_rank2wc
#print axioms CongruentTriangle.congruent611
#print axioms CongruentTriangle.congruent_rank2wd
#print axioms CongruentTriangle.congruent612
#print axioms CongruentTriangle.congruent_rank2we
#print axioms CongruentTriangle.congruent613
#print axioms CongruentTriangle.congruent_rank2wf
#print axioms CongruentTriangle.congruent614
#print axioms CongruentTriangle.congruent_rank2wg
#print axioms CongruentTriangle.congruent615
#print axioms CongruentTriangle.congruent_rank2wh
#print axioms CongruentTriangle.congruent616
#print axioms CongruentTriangle.congruent_rank2wi
#print axioms CongruentTriangle.congruent617
#print axioms CongruentTriangle.congruent_rank2wj
#print axioms CongruentTriangle.congruent618
#print axioms CongruentTriangle.congruent_rank2wk
#print axioms CongruentTriangle.congruent619
#print axioms CongruentTriangle.congruent_rank2wl
#print axioms CongruentTriangle.congruent620
#print axioms CongruentTriangle.congruent_rank2wm
#print axioms CongruentTriangle.congruent621
#print axioms CongruentTriangle.congruent_rank2wn
#print axioms CongruentTriangle.congruent622
#print axioms CongruentTriangle.congruent_rank2wo
#print axioms CongruentTriangle.congruent623
#print axioms CongruentTriangle.congruent_rank2wp
#print axioms CongruentTriangle.congruent624
#print axioms CongruentTriangle.congruent_rank2wq
#print axioms CongruentTriangle.congruent625
#print axioms CongruentTriangle.congruent_rank2wr
#print axioms CongruentTriangle.congruent626
#print axioms CongruentTriangle.congruent_rank2ws
#print axioms CongruentTriangle.congruent627
#print axioms CongruentTriangle.congruent_rank2wt
#print axioms CongruentTriangle.congruent628
#print axioms CongruentTriangle.congruent_rank2wu
#print axioms CongruentTriangle.congruent629
#print axioms CongruentTriangle.congruent_rank2wv
#print axioms CongruentTriangle.congruent630
#print axioms CongruentTriangle.congruent_rank2ww
#print axioms CongruentTriangle.congruent631
#print axioms CongruentTriangle.congruent_rank2wx
#print axioms CongruentTriangle.congruent632
#print axioms CongruentTriangle.congruent_rank2wy
#print axioms CongruentTriangle.congruent633
#print axioms CongruentTriangle.congruent_rank2wz
#print axioms CongruentTriangle.congruent634
#print axioms CongruentTriangle.congruent_rank2xa
#print axioms CongruentTriangle.congruent635
#print axioms CongruentTriangle.congruent_rank2xb
#print axioms CongruentTriangle.congruent636
#print axioms CongruentTriangle.congruent_rank2xc
#print axioms CongruentTriangle.congruent637
#print axioms CongruentTriangle.congruent_rank2xd
#print axioms CongruentTriangle.congruent638
#print axioms CongruentTriangle.congruent_rank2xe
#print axioms CongruentTriangle.congruent639
#print axioms CongruentTriangle.congruent_rank2xf
#print axioms CongruentTriangle.congruent640
#print axioms CongruentTriangle.congruent_rank2xg
#print axioms CongruentTriangle.congruent641
#print axioms CongruentTriangle.congruent_rank2xh
#print axioms CongruentTriangle.congruent642
#print axioms CongruentTriangle.congruent_rank2xi
#print axioms CongruentTriangle.congruent643
#print axioms CongruentTriangle.congruent_rank2xj
#print axioms CongruentTriangle.congruent644
#print axioms CongruentTriangle.congruent_rank2xk
#print axioms CongruentTriangle.congruent645
#print axioms CongruentTriangle.congruent_rank2xl
#print axioms CongruentTriangle.congruent646
#print axioms CongruentTriangle.congruent_rank2xm
#print axioms CongruentTriangle.congruent647
#print axioms CongruentTriangle.congruent_rank2xn
#print axioms CongruentTriangle.congruent648
#print axioms CongruentTriangle.congruent_rank2xo
#print axioms CongruentTriangle.congruent649
#print axioms CongruentTriangle.congruent_rank2xp
#print axioms CongruentTriangle.congruent650
#print axioms CongruentTriangle.congruent_rank2xq
#print axioms CongruentTriangle.congruent651
#print axioms CongruentTriangle.congruent_rank2xr
#print axioms CongruentTriangle.congruent652
#print axioms CongruentTriangle.congruent_rank2xs
#print axioms CongruentTriangle.congruent653
#print axioms CongruentTriangle.congruent_rank2xt
#print axioms CongruentTriangle.congruent654
#print axioms CongruentTriangle.congruent_rank2xu
#print axioms CongruentTriangle.congruent655
#print axioms CongruentTriangle.congruent_rank2xv
#print axioms CongruentTriangle.congruent656
#print axioms CongruentTriangle.congruent_rank2xw
#print axioms CongruentTriangle.congruent657
#print axioms CongruentTriangle.congruent_rank2xx
#print axioms CongruentTriangle.congruent658
#print axioms CongruentTriangle.congruent_rank2xy
#print axioms CongruentTriangle.congruent659
#print axioms CongruentTriangle.congruent_rank2xz
#print axioms CongruentTriangle.congruent660
#print axioms CongruentTriangle.congruent_rank2ya
#print axioms CongruentTriangle.congruent661
#print axioms CongruentTriangle.congruent_rank2yb
#print axioms CongruentTriangle.congruent662
#print axioms CongruentTriangle.congruent_rank2yc
#print axioms CongruentTriangle.congruent663
#print axioms CongruentTriangle.congruent_rank2yd
#print axioms CongruentTriangle.congruent664
#print axioms CongruentTriangle.congruent_rank2ye
#print axioms CongruentTriangle.congruent665
#print axioms CongruentTriangle.congruent_rank2yf
#print axioms CongruentTriangle.congruent666
#print axioms CongruentTriangle.congruent_rank2yg
#print axioms CongruentTriangle.congruent667
#print axioms CongruentTriangle.congruent_rank2yh
#print axioms CongruentTriangle.congruent668
#print axioms CongruentTriangle.congruent_rank2yi
#print axioms CongruentTriangle.congruent669
#print axioms CongruentTriangle.congruent_rank2yj
#print axioms CongruentTriangle.congruent670
#print axioms CongruentTriangle.congruent_rank2yk
#print axioms CongruentTriangle.congruent671
#print axioms CongruentTriangle.congruent_rank2yl
#print axioms CongruentTriangle.congruent672
#print axioms CongruentTriangle.congruent_rank2ym
#print axioms CongruentTriangle.congruent673
#print axioms CongruentTriangle.congruent_rank2yn
#print axioms CongruentTriangle.congruent674
#print axioms CongruentTriangle.congruent_rank2yo
#print axioms CongruentTriangle.congruent675
#print axioms CongruentTriangle.congruent_rank2yp
#print axioms CongruentTriangle.congruent676
#print axioms CongruentTriangle.congruent_rank2yq
#print axioms CongruentTriangle.congruent677
#print axioms CongruentTriangle.congruent_rank2yr
#print axioms CongruentTriangle.congruent678
#print axioms CongruentTriangle.congruent_rank2ys
#print axioms CongruentTriangle.congruent679
#print axioms CongruentTriangle.congruent_rank2yt
#print axioms CongruentTriangle.congruent680
#print axioms CongruentTriangle.congruent_rank2yu
#print axioms CongruentTriangle.congruent681
#print axioms CongruentTriangle.congruent_rank2yv
#print axioms CongruentTriangle.congruent682
#print axioms CongruentTriangle.congruent_rank2yw
#print axioms CongruentTriangle.congruent683
#print axioms CongruentTriangle.congruent_rank2yx
#print axioms CongruentTriangle.congruent684
#print axioms CongruentTriangle.congruent_rank2yy
#print axioms CongruentTriangle.congruent685
#print axioms CongruentTriangle.congruent_rank2yz
#print axioms CongruentTriangle.congruent686
#print axioms CongruentTriangle.congruent_rank2za
#print axioms CongruentTriangle.congruent687
#print axioms CongruentTriangle.congruent_rank2zb
#print axioms CongruentTriangle.congruent688
#print axioms CongruentTriangle.congruent_rank2zc
#print axioms CongruentTriangle.congruent689
#print axioms CongruentTriangle.congruent_rank2zd
#print axioms CongruentTriangle.congruent690
#print axioms CongruentTriangle.congruent_rank2ze
#print axioms CongruentTriangle.congruent691
#print axioms CongruentTriangle.congruent_rank2zf
#print axioms CongruentTriangle.congruent692
#print axioms CongruentTriangle.congruent_rank2zg
#print axioms CongruentTriangle.congruent693
#print axioms CongruentTriangle.congruent_rank2zh
#print axioms CongruentTriangle.congruent694
#print axioms CongruentTriangle.congruent_rank2zi
#print axioms CongruentTriangle.congruent695
#print axioms CongruentTriangle.congruent_rank2zj
#print axioms CongruentTriangle.congruent696
#print axioms CongruentTriangle.congruent_rank2zk
#print axioms CongruentTriangle.congruent697
#print axioms CongruentTriangle.congruent_rank2zl
#print axioms CongruentTriangle.congruent698
#print axioms CongruentTriangle.congruent_rank2zm
#print axioms CongruentTriangle.congruent699
#print axioms CongruentTriangle.congruent_rank2zn
#print axioms CongruentTriangle.congruent700
#print axioms CongruentTriangle.congruent_rank2zo
#print axioms CongruentTriangle.congruent701
#print axioms CongruentTriangle.congruent_rank2zp
#print axioms CongruentTriangle.congruent702
#print axioms CongruentTriangle.congruent_rank2zq
#print axioms CongruentTriangle.congruent703
#print axioms CongruentTriangle.congruent_rank2zr
#print axioms CongruentTriangle.congruent704
#print axioms CongruentTriangle.congruent_rank2zs
#print axioms CongruentTriangle.congruent705
#print axioms CongruentTriangle.congruent_rank2zt
#print axioms CongruentTriangle.congruent706
#print axioms CongruentTriangle.congruent_rank2zu
#print axioms CongruentTriangle.congruent707
#print axioms CongruentTriangle.congruent_rank2zv
#print axioms CongruentTriangle.congruent708
#print axioms CongruentTriangle.congruent_rank2zw
#print axioms CongruentTriangle.congruent709
#print axioms CongruentTriangle.congruent_rank2zx
#print axioms CongruentTriangle.congruent710
#print axioms CongruentTriangle.congruent_rank2zy
#print axioms CongruentTriangle.congruent711
#print axioms CongruentTriangle.congruent_rank2zz
#print axioms CongruentTriangle.congruent712
#print axioms CongruentTriangle.congruent_rank2zza
#print axioms CongruentTriangle.congruent713
#print axioms CongruentTriangle.congruent_rank2zzb
#print axioms CongruentTriangle.congruent714
#print axioms CongruentTriangle.congruent_rank2zzc
#print axioms CongruentTriangle.congruent715
#print axioms CongruentTriangle.congruent_rank2zzd
#print axioms CongruentTriangle.congruent716
#print axioms CongruentTriangle.congruent_rank2zze
#print axioms CongruentTriangle.congruent717
#print axioms CongruentTriangle.congruent_rank2zzf
#print axioms CongruentTriangle.congruent718
#print axioms CongruentTriangle.congruent_rank2zzg
#print axioms CongruentTriangle.congruent719
#print axioms CongruentTriangle.congruent_rank2zzh
#print axioms CongruentTriangle.congruent720
#print axioms CongruentTriangle.congruent_rank2zzi
#print axioms CongruentTriangle.congruent721
#print axioms CongruentTriangle.congruent_rank2zzj
#print axioms CongruentTriangle.congruent722
#print axioms CongruentTriangle.congruent_rank2zzk
#print axioms CongruentTriangle.congruent723
#print axioms CongruentTriangle.congruent_rank2zzl
#print axioms CongruentTriangle.congruent724
#print axioms CongruentTriangle.congruent_rank2zzm
#print axioms CongruentTriangle.congruent725
#print axioms CongruentTriangle.congruent_rank2zzn
#print axioms CongruentTriangle.congruent726
#print axioms CongruentTriangle.congruent_rank2zzo
#print axioms CongruentTriangle.congruent727
#print axioms CongruentTriangle.congruent_rank2zzp
#print axioms CongruentTriangle.congruent728
#print axioms CongruentTriangle.congruent_rank2zzq
#print axioms CongruentTriangle.congruent729
#print axioms CongruentTriangle.congruent_rank2zzr
#print axioms CongruentTriangle.congruent730
#print axioms CongruentTriangle.congruent_rank2zzs
#print axioms CongruentTriangle.congruent731
#print axioms CongruentTriangle.congruent_rank2zzt
#print axioms CongruentTriangle.congruent732
#print axioms CongruentTriangle.congruent_rank2zzu
#print axioms CongruentTriangle.congruent733
#print axioms CongruentTriangle.congruent_rank2zzv
#print axioms CongruentTriangle.congruent734
#print axioms CongruentTriangle.congruent_rank2zzw
#print axioms CongruentTriangle.congruent735
#print axioms CongruentTriangle.congruent_rank2zzx
#print axioms CongruentTriangle.congruent736
#print axioms CongruentTriangle.congruent_rank2zzy
#print axioms CongruentTriangle.congruent737
#print axioms CongruentTriangle.congruent_rank2zzz
#print axioms CongruentTriangle.congruent738
#print axioms CongruentTriangle.congruent_rank2zzza
#print axioms CongruentTriangle.congruent739
#print axioms CongruentTriangle.congruent_rank2zzzb
#print axioms CongruentTriangle.congruent740
#print axioms CongruentTriangle.congruent_rank2zzzc
#print axioms CongruentTriangle.congruent741
#print axioms CongruentTriangle.congruent_rank2zzzd
#print axioms CongruentTriangle.congruent742
#print axioms CongruentTriangle.congruent_rank2zzze
#print axioms CongruentTriangle.congruent743
#print axioms CongruentTriangle.congruent_rank2zzzf
#print axioms CongruentTriangle.congruent744
#print axioms CongruentTriangle.congruent_rank2zzzg
#print axioms CongruentTriangle.congruent745
#print axioms CongruentTriangle.congruent_rank2zzzh
#print axioms CongruentTriangle.congruent746
#print axioms CongruentTriangle.congruent_rank2zzzi
#print axioms CongruentTriangle.congruent747
#print axioms CongruentTriangle.congruent_rank2zzzj
#print axioms CongruentTriangle.congruent748
#print axioms CongruentTriangle.congruent_rank2zzzk
#print axioms CongruentTriangle.congruent749
#print axioms CongruentTriangle.congruent_rank2zzzl
#print axioms CongruentTriangle.congruent750
#print axioms CongruentTriangle.congruent_rank2zzzm
#print axioms CongruentTriangle.congruent751
#print axioms CongruentTriangle.congruent_rank2zzzn
#print axioms CongruentTriangle.congruent752
#print axioms CongruentTriangle.congruent_rank2zzzo
#print axioms CongruentTriangle.congruent753
#print axioms CongruentTriangle.congruent_rank2zzzp
#print axioms CongruentTriangle.congruent754
#print axioms CongruentTriangle.congruent_rank2zzzq
#print axioms CongruentTriangle.congruent755
#print axioms CongruentTriangle.congruent_rank2zzzr
#print axioms CongruentTriangle.congruent756
#print axioms CongruentTriangle.congruent_rank2zzzs
#print axioms CongruentTriangle.congruent757
#print axioms CongruentTriangle.congruent_rank2zzzt
#print axioms CongruentTriangle.congruent758
#print axioms CongruentTriangle.congruent_rank2zzzu
#print axioms CongruentTriangle.congruent759
#print axioms CongruentTriangle.congruent_rank2zzzv
#print axioms CongruentTriangle.congruent760
#print axioms CongruentTriangle.congruent_rank2zzzw
#print axioms CongruentTriangle.congruent761
#print axioms CongruentTriangle.congruent_rank2zzzx
#print axioms CongruentTriangle.congruent762
#print axioms CongruentTriangle.congruent_rank2zzzy
#print axioms CongruentTriangle.congruent763
#print axioms CongruentTriangle.congruent_rank2zzzz
#print axioms CongruentTriangle.congruent764
#print axioms CongruentTriangle.congruent_rank2zzzza
#print axioms CongruentTriangle.congruent765
#print axioms CongruentTriangle.congruent_rank2zzzzb
#print axioms CongruentTriangle.congruent766
#print axioms CongruentTriangle.congruent_rank2zzzzc
#print axioms CongruentTriangle.congruent767
#print axioms CongruentTriangle.congruent_rank2zzzzd
#print axioms CongruentTriangle.congruent768
#print axioms CongruentTriangle.congruent_rank2zzzze
#print axioms CongruentTriangle.congruent769
#print axioms CongruentTriangle.congruent_rank2zzzzf
#print axioms CongruentTriangle.congruent770
#print axioms CongruentTriangle.congruent_rank2zzzzg
#print axioms CongruentTriangle.congruent771
#print axioms CongruentTriangle.congruent_rank2zzzzh
#print axioms CongruentTriangle.congruent772
#print axioms CongruentTriangle.congruent_rank2zzzzi
#print axioms CongruentTriangle.congruent773
#print axioms CongruentTriangle.congruent_rank2zzzzj
#print axioms CongruentTriangle.congruent774
#print axioms CongruentTriangle.congruent_rank2zzzzk
#print axioms CongruentTriangle.congruent775
#print axioms CongruentTriangle.congruent_rank2zzzzl
#print axioms CongruentTriangle.congruent776
#print axioms CongruentTriangle.congruent_rank2zzzzm
#print axioms CongruentTriangle.congruent777
#print axioms CongruentTriangle.congruent_rank2zzzzn
#print axioms CongruentTriangle.congruent778
#print axioms CongruentTriangle.congruent_rank2zzzzo
#print axioms CongruentTriangle.congruent779
#print axioms CongruentTriangle.congruent_rank2zzzzp
#print axioms CongruentTriangle.congruent780
#print axioms CongruentTriangle.congruent_rank2zzzzq
#print axioms CongruentTriangle.congruent781
#print axioms CongruentTriangle.congruent_rank2zzzzr
#print axioms CongruentTriangle.congruent782
#print axioms CongruentTriangle.congruent_rank2zzzzs
#print axioms CongruentTriangle.congruentHeeg1
#print axioms CongruentTriangle.congruent783
#print axioms CongruentTriangle.congruent_rank2zzzzt
#print axioms CongruentTriangle.congruent784
#print axioms CongruentTriangle.congruent_rank2zzzzu
#print axioms CongruentTriangle.congruent785
#print axioms CongruentTriangle.congruent_rank2zzzzv
#print axioms CongruentTriangle.congruent786
#print axioms CongruentTriangle.congruent_rank2zzzzw
#print axioms CongruentTriangle.congruent787
#print axioms CongruentTriangle.congruent_rank2zzzzx
#print axioms CongruentTriangle.congruent788
#print axioms CongruentTriangle.congruent_rank2zzzzy
#print axioms CongruentTriangle.congruent789
#print axioms CongruentTriangle.congruent_rank2zzzzz
#print axioms CongruentTriangle.congruent790
#print axioms CongruentTriangle.congruent_rank2zzzzza
#print axioms CongruentTriangle.congruent791
#print axioms CongruentTriangle.congruent_rank2zzzzzb
#print axioms CongruentTriangle.congruent792
#print axioms CongruentTriangle.congruent_rank2zzzzzc
#print axioms CongruentTriangle.congruent793
#print axioms CongruentTriangle.congruent_rank2zzzzzd
#print axioms CongruentTriangle.congruent794
#print axioms CongruentTriangle.congruent_rank2zzzzze
#print axioms CongruentTriangle.congruent795
#print axioms CongruentTriangle.congruent_rank2zzzzzf
#print axioms CongruentTriangle.congruent796
#print axioms CongruentTriangle.congruent_rank2zzzzzg
#print axioms CongruentTriangle.congruent797
#print axioms CongruentTriangle.congruent_rank2zzzzzh
#print axioms CongruentTriangle.congruent798
#print axioms CongruentTriangle.congruent_rank2zzzzzi
#print axioms CongruentTriangle.congruent799
#print axioms CongruentTriangle.congruent_rank2zzzzzj
#print axioms CongruentTriangle.congruent800
#print axioms CongruentTriangle.congruent_rank2zzzzzk
#print axioms CongruentTriangle.congruent801
#print axioms CongruentTriangle.congruent_rank2zzzzzl
#print axioms CongruentTriangle.congruent802
#print axioms CongruentTriangle.congruent_rank2zzzzzm
#print axioms CongruentTriangle.congruent803
#print axioms CongruentTriangle.congruent_rank2zzzzzn
#print axioms CongruentTriangle.congruent804
#print axioms CongruentTriangle.congruent_rank2zzzzzo
#print axioms CongruentTriangle.congruent805
#print axioms CongruentTriangle.congruent_rank2zzzzzp

bsd/CongruentTriangle2.lean

lean_all/bsd/CongruentTriangle2.lean

/-
  bsd/CongruentTriangle2.lean — T39 (continuation of bsd/CongruentTriangle, cycle 2012): the congruent-number
  certificates of the blocks after 159801–160000 (CongruentPoints806 …, Rank2Cert797 …), checked by rfl with the
  certificate machinery of CongruentTriangle (cert_sound, all_cert). Split off to keep each import list short;
  new blocks are added here (tools/tri_add.py).
-/
import bsd.CongruentTriangle
import bsd.CongruentPoints953
import bsd.Rank2Cert944
import bsd.CongruentPoints952
import bsd.Rank2Cert943
import bsd.CongruentPoints951
import bsd.Rank2Cert942
import bsd.CongruentPoints950
import bsd.Rank2Cert941
import bsd.CongruentPoints949
import bsd.Rank2Cert940
import bsd.CongruentPoints948
import bsd.Rank2Cert939
import bsd.CongruentPoints947
import bsd.Rank2Cert938
import bsd.CongruentPoints946
import bsd.Rank2Cert937
import bsd.CongruentPoints945
import bsd.Rank2Cert936
import bsd.CongruentPoints944
import bsd.Rank2Cert935
import bsd.CongruentPoints943
import bsd.Rank2Cert934
import bsd.CongruentPoints942
import bsd.Rank2Cert933
import bsd.CongruentPoints941
import bsd.Rank2Cert932
import bsd.CongruentPoints940
import bsd.Rank2Cert931
import bsd.CongruentPoints939
import bsd.Rank2Cert930
import bsd.CongruentPoints938
import bsd.Rank2Cert929
import bsd.CongruentPoints937
import bsd.Rank2Cert928
import bsd.CongruentPoints936
import bsd.Rank2Cert927
import bsd.CongruentPoints935
import bsd.Rank2Cert926
import bsd.CongruentPoints934
import bsd.Rank2Cert925
import bsd.CongruentPoints933
import bsd.Rank2Cert924
import bsd.CongruentPoints932
import bsd.Rank2Cert923
import bsd.CongruentPoints931
import bsd.Rank2Cert922
import bsd.CongruentPoints930
import bsd.Rank2Cert921
import bsd.CongruentPoints929
import bsd.Rank2Cert920
import bsd.CongruentPoints928
import bsd.Rank2Cert919
import bsd.CongruentPoints927
import bsd.Rank2Cert918
import bsd.CongruentPoints926
import bsd.Rank2Cert917
import bsd.CongruentPoints925
import bsd.Rank2Cert916
import bsd.CongruentPoints924
import bsd.Rank2Cert915
import bsd.CongruentPoints923
import bsd.Rank2Cert914
import bsd.CongruentPoints922
import bsd.Rank2Cert913
import bsd.CongruentPoints921
import bsd.Rank2Cert912
import bsd.CongruentPoints920
import bsd.Rank2Cert911
import bsd.CongruentPoints919
import bsd.Rank2Cert910
import bsd.CongruentPoints918
import bsd.Rank2Cert909
import bsd.CongruentPoints917
import bsd.Rank2Cert908
import bsd.CongruentPoints916
import bsd.Rank2Cert907
import bsd.CongruentPoints915
import bsd.Rank2Cert906
import bsd.CongruentPoints914
import bsd.Rank2Cert905
import bsd.CongruentPoints913
import bsd.Rank2Cert904
import bsd.CongruentPoints912
import bsd.Rank2Cert903
import bsd.CongruentPoints911
import bsd.Rank2Cert902
import bsd.CongruentPoints910
import bsd.Rank2Cert901
import bsd.CongruentPoints909
import bsd.Rank2Cert900
import bsd.CongruentPoints908
import bsd.Rank2Cert899
import bsd.CongruentPoints907
import bsd.Rank2Cert898
import bsd.CongruentPoints906
import bsd.Rank2Cert897
import bsd.CongruentPoints905
import bsd.Rank2Cert896
import bsd.CongruentPoints904
import bsd.Rank2Cert895
import bsd.CongruentPoints903
import bsd.Rank2Cert894
import bsd.CongruentPoints902
import bsd.Rank2Cert893
import bsd.CongruentPoints901
import bsd.Rank2Cert892
import bsd.CongruentPoints900
import bsd.Rank2Cert891
import bsd.CongruentPoints899
import bsd.Rank2Cert890
import bsd.CongruentPoints898
import bsd.Rank2Cert889
import bsd.CongruentPoints897
import bsd.Rank2Cert888
import bsd.CongruentPoints896
import bsd.Rank2Cert887
import bsd.CongruentPoints895
import bsd.Rank2Cert886
import bsd.CongruentPoints894
import bsd.Rank2Cert885
import bsd.CongruentPoints893
import bsd.Rank2Cert884
import bsd.CongruentPoints892
import bsd.Rank2Cert883
import bsd.CongruentPoints891
import bsd.Rank2Cert882
import bsd.CongruentPoints890
import bsd.Rank2Cert881
import bsd.CongruentPoints889
import bsd.Rank2Cert880
import bsd.CongruentPoints888
import bsd.Rank2Cert879
import bsd.CongruentPoints887
import bsd.Rank2Cert878
import bsd.CongruentPoints886
import bsd.Rank2Cert877
import bsd.CongruentPoints885
import bsd.Rank2Cert876
import bsd.CongruentPoints884
import bsd.Rank2Cert875
import bsd.CongruentPoints883
import bsd.Rank2Cert874
import bsd.CongruentPoints882
import bsd.Rank2Cert873
import bsd.CongruentPoints881
import bsd.Rank2Cert872
import bsd.CongruentPoints880
import bsd.Rank2Cert871
import bsd.CongruentPoints879
import bsd.Rank2Cert870
import bsd.CongruentPoints878
import bsd.Rank2Cert869
import bsd.CongruentPoints877
import bsd.Rank2Cert868
import bsd.CongruentPoints876
import bsd.Rank2Cert867
import bsd.CongruentPoints875
import bsd.Rank2Cert866
import bsd.CongruentPoints874
import bsd.Rank2Cert865
import bsd.CongruentPoints873
import bsd.Rank2Cert864
import bsd.CongruentPoints872
import bsd.Rank2Cert863
import bsd.CongruentPoints871
import bsd.Rank2Cert862
import bsd.CongruentPoints870
import bsd.Rank2Cert861
import bsd.CongruentPoints869
import bsd.Rank2Cert860
import bsd.CongruentPoints868
import bsd.Rank2Cert859
import bsd.CongruentPoints867
import bsd.Rank2Cert858
import bsd.CongruentPoints866
import bsd.Rank2Cert857
import bsd.CongruentPoints865
import bsd.Rank2Cert856
import bsd.CongruentPoints864
import bsd.Rank2Cert855
import bsd.CongruentPoints863
import bsd.Rank2Cert854
import bsd.CongruentPoints862
import bsd.Rank2Cert853
import bsd.CongruentPoints861
import bsd.Rank2Cert852
import bsd.CongruentPoints860
import bsd.Rank2Cert851
import bsd.CongruentPoints859
import bsd.Rank2Cert850
import bsd.CongruentPoints858
import bsd.Rank2Cert849
import bsd.CongruentPoints857
import bsd.Rank2Cert848
import bsd.CongruentPoints856
import bsd.Rank2Cert847
import bsd.CongruentPoints855
import bsd.Rank2Cert846
import bsd.CongruentPoints854
import bsd.Rank2Cert845
import bsd.CongruentPoints853
import bsd.Rank2Cert844
import bsd.CongruentPoints852
import bsd.Rank2Cert843
import bsd.CongruentPoints851
import bsd.Rank2Cert842
import bsd.CongruentPoints850
import bsd.Rank2Cert841
import bsd.CongruentPoints849
import bsd.Rank2Cert840
import bsd.CongruentPoints848
import bsd.Rank2Cert839
import bsd.CongruentPoints847
import bsd.Rank2Cert838
import bsd.CongruentPoints846
import bsd.Rank2Cert837
import bsd.CongruentPoints842
import bsd.Rank2Cert833
import bsd.CongruentPoints845
import bsd.Rank2Cert836
import bsd.CongruentPoints844
import bsd.Rank2Cert835
import bsd.CongruentPoints843
import bsd.Rank2Cert834
import bsd.CongruentPoints841
import bsd.Rank2Cert832
import bsd.CongruentPoints840
import bsd.Rank2Cert831
import bsd.CongruentPoints839
import bsd.Rank2Cert830
import bsd.CongruentPoints838
import bsd.Rank2Cert829
import bsd.CongruentPoints837
import bsd.Rank2Cert828
import bsd.CongruentPoints836
import bsd.Rank2Cert827
import bsd.CongruentPoints835
import bsd.Rank2Cert826
import bsd.CongruentPoints834
import bsd.Rank2Cert825
import bsd.CongruentPoints833
import bsd.Rank2Cert824
import bsd.CongruentPoints832
import bsd.Rank2Cert823
import bsd.CongruentPoints831
import bsd.Rank2Cert822
import bsd.CongruentPoints830
import bsd.Rank2Cert821
import bsd.CongruentPoints829
import bsd.Rank2Cert820
import bsd.CongruentPoints828
import bsd.Rank2Cert819
import bsd.CongruentPoints827
import bsd.Rank2Cert818
import bsd.CongruentPoints826
import bsd.Rank2Cert817
import bsd.CongruentPoints825
import bsd.Rank2Cert816
import bsd.CongruentPoints824
import bsd.Rank2Cert815
import bsd.CongruentPoints823
import bsd.Rank2Cert814
import bsd.CongruentPoints822
import bsd.Rank2Cert813
import bsd.CongruentPoints821
import bsd.Rank2Cert812
import bsd.CongruentPoints820
import bsd.Rank2Cert811
import bsd.CongruentPoints819
import bsd.Rank2Cert810
import bsd.CongruentPoints818
import bsd.Rank2Cert809
import bsd.CongruentPoints817
import bsd.Rank2Cert808
import bsd.CongruentPoints816
import bsd.Rank2Cert807
import bsd.CongruentPoints815
import bsd.Rank2Cert806
import bsd.CongruentPoints814
import bsd.Rank2Cert805
import bsd.CongruentPoints806
import bsd.Rank2Cert797
import bsd.CongruentPoints813
import bsd.Rank2Cert804
import bsd.CongruentPoints812
import bsd.Rank2Cert803
import bsd.CongruentPoints811
import bsd.Rank2Cert802
import bsd.CongruentPoints810
import bsd.Rank2Cert801
import bsd.CongruentPoints809
import bsd.Rank2Cert800
import bsd.CongruentPoints808
import bsd.Rank2Cert799
import bsd.CongruentPoints807
import bsd.Rank2Cert798

namespace CongruentTriangle2
open CongruentTriangle

theorem cert807 : CongruentPoints807.pts.all certRow = true := rfl
theorem cert_r2zzzzzr : Rank2Cert798.rows.all certR2 = true := rfl
theorem cert808 : CongruentPoints808.pts.all certRow = true := rfl
theorem cert_r2zzzzzs : Rank2Cert799.rows.all certR2 = true := rfl
theorem cert809 : CongruentPoints809.pts.all certRow = true := rfl
theorem cert_r2zzzzzt : Rank2Cert800.rows.all certR2 = true := rfl
theorem cert810 : CongruentPoints810.pts.all certRow = true := rfl
theorem cert_r2zzzzzu : Rank2Cert801.rows.all certR2 = true := rfl
theorem cert811 : CongruentPoints811.pts.all certRow = true := rfl
theorem cert_r2zzzzzv : Rank2Cert802.rows.all certR2 = true := rfl
theorem cert812 : CongruentPoints812.pts.all certRow = true := rfl
theorem cert_r2zzzzzw : Rank2Cert803.rows.all certR2 = true := rfl
theorem cert813 : CongruentPoints813.pts.all certRow = true := rfl
theorem cert_r2zzzzzx : Rank2Cert804.rows.all certR2 = true := rfl
theorem cert806 : CongruentPoints806.pts.all certRow = true := rfl
theorem cert_r2zzzzzq : Rank2Cert797.rows.all certR2 = true := rfl
theorem cert814 : CongruentPoints814.pts.all certRow = true := rfl
theorem cert_r2zzzzzy : Rank2Cert805.rows.all certR2 = true := rfl
theorem cert815 : CongruentPoints815.pts.all certRow = true := rfl
theorem cert_r2zzzzzz : Rank2Cert806.rows.all certR2 = true := rfl
theorem cert816 : CongruentPoints816.pts.all certRow = true := rfl
theorem cert_r2zzzzzza : Rank2Cert807.rows.all certR2 = true := rfl
theorem cert817 : CongruentPoints817.pts.all certRow = true := rfl
theorem cert_r2zzzzzzb : Rank2Cert808.rows.all certR2 = true := rfl
theorem cert818 : CongruentPoints818.pts.all certRow = true := rfl
theorem cert_r2zzzzzzc : Rank2Cert809.rows.all certR2 = true := rfl
theorem cert819 : CongruentPoints819.pts.all certRow = true := rfl
theorem cert_r2zzzzzzd : Rank2Cert810.rows.all certR2 = true := rfl
theorem cert820 : CongruentPoints820.pts.all certRow = true := rfl
theorem cert_r2zzzzzze : Rank2Cert811.rows.all certR2 = true := rfl
theorem cert821 : CongruentPoints821.pts.all certRow = true := rfl
theorem cert_r2zzzzzzf : Rank2Cert812.rows.all certR2 = true := rfl
theorem cert822 : CongruentPoints822.pts.all certRow = true := rfl
theorem cert_r2zzzzzzg : Rank2Cert813.rows.all certR2 = true := rfl
theorem cert823 : CongruentPoints823.pts.all certRow = true := rfl
theorem cert_r2zzzzzzh : Rank2Cert814.rows.all certR2 = true := rfl
theorem cert824 : CongruentPoints824.pts.all certRow = true := rfl
theorem cert_r2zzzzzzi : Rank2Cert815.rows.all certR2 = true := rfl
theorem cert825 : CongruentPoints825.pts.all certRow = true := rfl
theorem cert_r2zzzzzzj : Rank2Cert816.rows.all certR2 = true := rfl
theorem cert826 : CongruentPoints826.pts.all certRow = true := rfl
theorem cert_r2zzzzzzk : Rank2Cert817.rows.all certR2 = true := rfl
theorem cert827 : CongruentPoints827.pts.all certRow = true := rfl
theorem cert_r2zzzzzzl : Rank2Cert818.rows.all certR2 = true := rfl
theorem cert828 : CongruentPoints828.pts.all certRow = true := rfl
theorem cert_r2zzzzzzm : Rank2Cert819.rows.all certR2 = true := rfl
theorem cert829 : CongruentPoints829.pts.all certRow = true := rfl
theorem cert_r2zzzzzzn : Rank2Cert820.rows.all certR2 = true := rfl
theorem cert830 : CongruentPoints830.pts.all certRow = true := rfl
theorem cert_r2zzzzzzo : Rank2Cert821.rows.all certR2 = true := rfl
theorem cert831 : CongruentPoints831.pts.all certRow = true := rfl
theorem cert_r2zzzzzzp : Rank2Cert822.rows.all certR2 = true := rfl
theorem cert832 : CongruentPoints832.pts.all certRow = true := rfl
theorem cert_r2zzzzzzq : Rank2Cert823.rows.all certR2 = true := rfl
theorem cert833 : CongruentPoints833.pts.all certRow = true := rfl
theorem cert_r2zzzzzzr : Rank2Cert824.rows.all certR2 = true := rfl
theorem cert834 : CongruentPoints834.pts.all certRow = true := rfl
theorem cert_r2zzzzzzs : Rank2Cert825.rows.all certR2 = true := rfl
theorem cert835 : CongruentPoints835.pts.all certRow = true := rfl
theorem cert_r2zzzzzzt : Rank2Cert826.rows.all certR2 = true := rfl
theorem congruent807 : ∀ x, x ∈ CongruentPoints807.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints807.pts cert807
theorem congruent_rank2zzzzzr : ∀ x, x ∈ Rank2Cert798.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert798.rows cert_r2zzzzzr
theorem congruent808 : ∀ x, x ∈ CongruentPoints808.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints808.pts cert808
theorem congruent_rank2zzzzzs : ∀ x, x ∈ Rank2Cert799.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert799.rows cert_r2zzzzzs
theorem congruent809 : ∀ x, x ∈ CongruentPoints809.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints809.pts cert809
theorem congruent_rank2zzzzzt : ∀ x, x ∈ Rank2Cert800.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert800.rows cert_r2zzzzzt
theorem congruent810 : ∀ x, x ∈ CongruentPoints810.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints810.pts cert810
theorem congruent_rank2zzzzzu : ∀ x, x ∈ Rank2Cert801.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert801.rows cert_r2zzzzzu
theorem congruent811 : ∀ x, x ∈ CongruentPoints811.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints811.pts cert811
theorem congruent_rank2zzzzzv : ∀ x, x ∈ Rank2Cert802.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert802.rows cert_r2zzzzzv
theorem congruent812 : ∀ x, x ∈ CongruentPoints812.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints812.pts cert812
theorem congruent_rank2zzzzzw : ∀ x, x ∈ Rank2Cert803.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert803.rows cert_r2zzzzzw
theorem congruent813 : ∀ x, x ∈ CongruentPoints813.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints813.pts cert813
theorem congruent_rank2zzzzzx : ∀ x, x ∈ Rank2Cert804.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert804.rows cert_r2zzzzzx
theorem congruent806 : ∀ x, x ∈ CongruentPoints806.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints806.pts cert806
theorem congruent_rank2zzzzzq : ∀ x, x ∈ Rank2Cert797.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert797.rows cert_r2zzzzzq
theorem congruent814 : ∀ x, x ∈ CongruentPoints814.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints814.pts cert814
theorem congruent_rank2zzzzzy : ∀ x, x ∈ Rank2Cert805.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert805.rows cert_r2zzzzzy
theorem congruent815 : ∀ x, x ∈ CongruentPoints815.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints815.pts cert815
theorem congruent_rank2zzzzzz : ∀ x, x ∈ Rank2Cert806.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert806.rows cert_r2zzzzzz
theorem congruent816 : ∀ x, x ∈ CongruentPoints816.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints816.pts cert816
theorem congruent_rank2zzzzzza : ∀ x, x ∈ Rank2Cert807.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert807.rows cert_r2zzzzzza
theorem congruent817 : ∀ x, x ∈ CongruentPoints817.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints817.pts cert817
theorem congruent_rank2zzzzzzb : ∀ x, x ∈ Rank2Cert808.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert808.rows cert_r2zzzzzzb
theorem congruent818 : ∀ x, x ∈ CongruentPoints818.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints818.pts cert818
theorem congruent_rank2zzzzzzc : ∀ x, x ∈ Rank2Cert809.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert809.rows cert_r2zzzzzzc
theorem congruent819 : ∀ x, x ∈ CongruentPoints819.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints819.pts cert819
theorem congruent_rank2zzzzzzd : ∀ x, x ∈ Rank2Cert810.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert810.rows cert_r2zzzzzzd
theorem congruent820 : ∀ x, x ∈ CongruentPoints820.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints820.pts cert820
theorem congruent_rank2zzzzzze : ∀ x, x ∈ Rank2Cert811.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert811.rows cert_r2zzzzzze
theorem congruent821 : ∀ x, x ∈ CongruentPoints821.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints821.pts cert821
theorem congruent_rank2zzzzzzf : ∀ x, x ∈ Rank2Cert812.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert812.rows cert_r2zzzzzzf
theorem congruent822 : ∀ x, x ∈ CongruentPoints822.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints822.pts cert822
theorem congruent_rank2zzzzzzg : ∀ x, x ∈ Rank2Cert813.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert813.rows cert_r2zzzzzzg
theorem congruent823 : ∀ x, x ∈ CongruentPoints823.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints823.pts cert823
theorem congruent_rank2zzzzzzh : ∀ x, x ∈ Rank2Cert814.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert814.rows cert_r2zzzzzzh
theorem congruent824 : ∀ x, x ∈ CongruentPoints824.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints824.pts cert824
theorem congruent_rank2zzzzzzi : ∀ x, x ∈ Rank2Cert815.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert815.rows cert_r2zzzzzzi
theorem congruent825 : ∀ x, x ∈ CongruentPoints825.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints825.pts cert825
theorem congruent_rank2zzzzzzj : ∀ x, x ∈ Rank2Cert816.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert816.rows cert_r2zzzzzzj
theorem congruent826 : ∀ x, x ∈ CongruentPoints826.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints826.pts cert826
theorem congruent_rank2zzzzzzk : ∀ x, x ∈ Rank2Cert817.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert817.rows cert_r2zzzzzzk
theorem congruent827 : ∀ x, x ∈ CongruentPoints827.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints827.pts cert827
theorem congruent_rank2zzzzzzl : ∀ x, x ∈ Rank2Cert818.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert818.rows cert_r2zzzzzzl
theorem congruent828 : ∀ x, x ∈ CongruentPoints828.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints828.pts cert828
theorem congruent_rank2zzzzzzm : ∀ x, x ∈ Rank2Cert819.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert819.rows cert_r2zzzzzzm
theorem congruent829 : ∀ x, x ∈ CongruentPoints829.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints829.pts cert829
theorem congruent_rank2zzzzzzn : ∀ x, x ∈ Rank2Cert820.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert820.rows cert_r2zzzzzzn
theorem congruent830 : ∀ x, x ∈ CongruentPoints830.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints830.pts cert830
theorem congruent_rank2zzzzzzo : ∀ x, x ∈ Rank2Cert821.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert821.rows cert_r2zzzzzzo
theorem congruent831 : ∀ x, x ∈ CongruentPoints831.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints831.pts cert831
theorem congruent_rank2zzzzzzp : ∀ x, x ∈ Rank2Cert822.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert822.rows cert_r2zzzzzzp
theorem congruent832 : ∀ x, x ∈ CongruentPoints832.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints832.pts cert832
theorem congruent_rank2zzzzzzq : ∀ x, x ∈ Rank2Cert823.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert823.rows cert_r2zzzzzzq
theorem congruent833 : ∀ x, x ∈ CongruentPoints833.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints833.pts cert833
theorem congruent_rank2zzzzzzr : ∀ x, x ∈ Rank2Cert824.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert824.rows cert_r2zzzzzzr
theorem congruent834 : ∀ x, x ∈ CongruentPoints834.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints834.pts cert834
theorem congruent_rank2zzzzzzs : ∀ x, x ∈ Rank2Cert825.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert825.rows cert_r2zzzzzzs
theorem congruent835 : ∀ x, x ∈ CongruentPoints835.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints835.pts cert835
theorem congruent_rank2zzzzzzt : ∀ x, x ∈ Rank2Cert826.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert826.rows cert_r2zzzzzzt

theorem cert836 : CongruentPoints836.pts.all certRow = true := rfl
theorem cert_r2zzzzzzu : Rank2Cert827.rows.all certR2 = true := rfl
theorem congruent836 : ∀ x, x ∈ CongruentPoints836.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints836.pts cert836
theorem congruent_rank2zzzzzzu : ∀ x, x ∈ Rank2Cert827.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert827.rows cert_r2zzzzzzu

theorem cert837 : CongruentPoints837.pts.all certRow = true := rfl
theorem cert_r2zzzzzzv : Rank2Cert828.rows.all certR2 = true := rfl
theorem congruent837 : ∀ x, x ∈ CongruentPoints837.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints837.pts cert837
theorem congruent_rank2zzzzzzv : ∀ x, x ∈ Rank2Cert828.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert828.rows cert_r2zzzzzzv

theorem cert838 : CongruentPoints838.pts.all certRow = true := rfl
theorem cert_r2zzzzzzw : Rank2Cert829.rows.all certR2 = true := rfl
theorem congruent838 : ∀ x, x ∈ CongruentPoints838.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints838.pts cert838
theorem congruent_rank2zzzzzzw : ∀ x, x ∈ Rank2Cert829.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert829.rows cert_r2zzzzzzw

theorem cert839 : CongruentPoints839.pts.all certRow = true := rfl
theorem cert_r2zzzzzzx : Rank2Cert830.rows.all certR2 = true := rfl
theorem congruent839 : ∀ x, x ∈ CongruentPoints839.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints839.pts cert839
theorem congruent_rank2zzzzzzx : ∀ x, x ∈ Rank2Cert830.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert830.rows cert_r2zzzzzzx

theorem cert840 : CongruentPoints840.pts.all certRow = true := rfl
theorem cert_r2zzzzzzy : Rank2Cert831.rows.all certR2 = true := rfl
theorem congruent840 : ∀ x, x ∈ CongruentPoints840.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints840.pts cert840
theorem congruent_rank2zzzzzzy : ∀ x, x ∈ Rank2Cert831.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert831.rows cert_r2zzzzzzy

theorem cert841 : CongruentPoints841.pts.all certRow = true := rfl
theorem cert_r2zzzzzzz : Rank2Cert832.rows.all certR2 = true := rfl
theorem congruent841 : ∀ x, x ∈ CongruentPoints841.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints841.pts cert841
theorem congruent_rank2zzzzzzz : ∀ x, x ∈ Rank2Cert832.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert832.rows cert_r2zzzzzzz

theorem cert842 : CongruentPoints842.pts.all certRow = true := rfl
theorem cert_r2zzzzzzza : Rank2Cert833.rows.all certR2 = true := rfl
theorem congruent842 : ∀ x, x ∈ CongruentPoints842.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints842.pts cert842
theorem congruent_rank2zzzzzzza : ∀ x, x ∈ Rank2Cert833.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert833.rows cert_r2zzzzzzza

theorem cert843 : CongruentPoints843.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzb : Rank2Cert834.rows.all certR2 = true := rfl
theorem congruent843 : ∀ x, x ∈ CongruentPoints843.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints843.pts cert843
theorem congruent_rank2zzzzzzzb : ∀ x, x ∈ Rank2Cert834.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert834.rows cert_r2zzzzzzzb

theorem cert844 : CongruentPoints844.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzc : Rank2Cert835.rows.all certR2 = true := rfl
theorem congruent844 : ∀ x, x ∈ CongruentPoints844.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints844.pts cert844
theorem congruent_rank2zzzzzzzc : ∀ x, x ∈ Rank2Cert835.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert835.rows cert_r2zzzzzzzc

theorem cert845 : CongruentPoints845.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzd : Rank2Cert836.rows.all certR2 = true := rfl
theorem congruent845 : ∀ x, x ∈ CongruentPoints845.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints845.pts cert845
theorem congruent_rank2zzzzzzzd : ∀ x, x ∈ Rank2Cert836.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert836.rows cert_r2zzzzzzzd


theorem cert846 : CongruentPoints846.pts.all certRow = true := rfl
theorem cert_r2zzzzzzze : Rank2Cert837.rows.all certR2 = true := rfl
theorem congruent846 : ∀ x, x ∈ CongruentPoints846.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints846.pts cert846
theorem congruent_rank2zzzzzzze : ∀ x, x ∈ Rank2Cert837.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert837.rows cert_r2zzzzzzze

theorem cert847 : CongruentPoints847.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzf : Rank2Cert838.rows.all certR2 = true := rfl
theorem congruent847 : ∀ x, x ∈ CongruentPoints847.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints847.pts cert847
theorem congruent_rank2zzzzzzzf : ∀ x, x ∈ Rank2Cert838.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert838.rows cert_r2zzzzzzzf

theorem cert848 : CongruentPoints848.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzg : Rank2Cert839.rows.all certR2 = true := rfl
theorem congruent848 : ∀ x, x ∈ CongruentPoints848.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints848.pts cert848
theorem congruent_rank2zzzzzzzg : ∀ x, x ∈ Rank2Cert839.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert839.rows cert_r2zzzzzzzg

theorem cert849 : CongruentPoints849.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzh : Rank2Cert840.rows.all certR2 = true := rfl
theorem congruent849 : ∀ x, x ∈ CongruentPoints849.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints849.pts cert849
theorem congruent_rank2zzzzzzzh : ∀ x, x ∈ Rank2Cert840.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert840.rows cert_r2zzzzzzzh

theorem cert850 : CongruentPoints850.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzi : Rank2Cert841.rows.all certR2 = true := rfl
theorem congruent850 : ∀ x, x ∈ CongruentPoints850.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints850.pts cert850
theorem congruent_rank2zzzzzzzi : ∀ x, x ∈ Rank2Cert841.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert841.rows cert_r2zzzzzzzi

theorem cert851 : CongruentPoints851.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzj : Rank2Cert842.rows.all certR2 = true := rfl
theorem congruent851 : ∀ x, x ∈ CongruentPoints851.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints851.pts cert851
theorem congruent_rank2zzzzzzzj : ∀ x, x ∈ Rank2Cert842.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert842.rows cert_r2zzzzzzzj

theorem cert852 : CongruentPoints852.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzk : Rank2Cert843.rows.all certR2 = true := rfl
theorem congruent852 : ∀ x, x ∈ CongruentPoints852.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints852.pts cert852
theorem congruent_rank2zzzzzzzk : ∀ x, x ∈ Rank2Cert843.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert843.rows cert_r2zzzzzzzk

theorem cert853 : CongruentPoints853.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzl : Rank2Cert844.rows.all certR2 = true := rfl
theorem congruent853 : ∀ x, x ∈ CongruentPoints853.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints853.pts cert853
theorem congruent_rank2zzzzzzzl : ∀ x, x ∈ Rank2Cert844.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert844.rows cert_r2zzzzzzzl

theorem cert854 : CongruentPoints854.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzm : Rank2Cert845.rows.all certR2 = true := rfl
theorem congruent854 : ∀ x, x ∈ CongruentPoints854.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints854.pts cert854
theorem congruent_rank2zzzzzzzm : ∀ x, x ∈ Rank2Cert845.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert845.rows cert_r2zzzzzzzm

theorem cert855 : CongruentPoints855.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzn : Rank2Cert846.rows.all certR2 = true := rfl
theorem congruent855 : ∀ x, x ∈ CongruentPoints855.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints855.pts cert855
theorem congruent_rank2zzzzzzzn : ∀ x, x ∈ Rank2Cert846.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert846.rows cert_r2zzzzzzzn

theorem cert856 : CongruentPoints856.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzo : Rank2Cert847.rows.all certR2 = true := rfl
theorem congruent856 : ∀ x, x ∈ CongruentPoints856.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints856.pts cert856
theorem congruent_rank2zzzzzzzo : ∀ x, x ∈ Rank2Cert847.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert847.rows cert_r2zzzzzzzo

theorem cert857 : CongruentPoints857.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzp : Rank2Cert848.rows.all certR2 = true := rfl
theorem congruent857 : ∀ x, x ∈ CongruentPoints857.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints857.pts cert857
theorem congruent_rank2zzzzzzzp : ∀ x, x ∈ Rank2Cert848.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert848.rows cert_r2zzzzzzzp

theorem cert858 : CongruentPoints858.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzq : Rank2Cert849.rows.all certR2 = true := rfl
theorem congruent858 : ∀ x, x ∈ CongruentPoints858.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints858.pts cert858
theorem congruent_rank2zzzzzzzq : ∀ x, x ∈ Rank2Cert849.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert849.rows cert_r2zzzzzzzq

theorem cert859 : CongruentPoints859.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzr : Rank2Cert850.rows.all certR2 = true := rfl
theorem congruent859 : ∀ x, x ∈ CongruentPoints859.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints859.pts cert859
theorem congruent_rank2zzzzzzzr : ∀ x, x ∈ Rank2Cert850.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert850.rows cert_r2zzzzzzzr

theorem cert860 : CongruentPoints860.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzs : Rank2Cert851.rows.all certR2 = true := rfl
theorem congruent860 : ∀ x, x ∈ CongruentPoints860.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints860.pts cert860
theorem congruent_rank2zzzzzzzs : ∀ x, x ∈ Rank2Cert851.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert851.rows cert_r2zzzzzzzs

theorem cert861 : CongruentPoints861.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzt : Rank2Cert852.rows.all certR2 = true := rfl
theorem congruent861 : ∀ x, x ∈ CongruentPoints861.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints861.pts cert861
theorem congruent_rank2zzzzzzzt : ∀ x, x ∈ Rank2Cert852.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert852.rows cert_r2zzzzzzzt

theorem cert862 : CongruentPoints862.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzu : Rank2Cert853.rows.all certR2 = true := rfl
theorem congruent862 : ∀ x, x ∈ CongruentPoints862.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints862.pts cert862
theorem congruent_rank2zzzzzzzu : ∀ x, x ∈ Rank2Cert853.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert853.rows cert_r2zzzzzzzu

theorem cert863 : CongruentPoints863.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzv : Rank2Cert854.rows.all certR2 = true := rfl
theorem congruent863 : ∀ x, x ∈ CongruentPoints863.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints863.pts cert863
theorem congruent_rank2zzzzzzzv : ∀ x, x ∈ Rank2Cert854.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert854.rows cert_r2zzzzzzzv

theorem cert864 : CongruentPoints864.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzw : Rank2Cert855.rows.all certR2 = true := rfl
theorem congruent864 : ∀ x, x ∈ CongruentPoints864.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints864.pts cert864
theorem congruent_rank2zzzzzzzw : ∀ x, x ∈ Rank2Cert855.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert855.rows cert_r2zzzzzzzw

theorem cert865 : CongruentPoints865.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzx : Rank2Cert856.rows.all certR2 = true := rfl
theorem congruent865 : ∀ x, x ∈ CongruentPoints865.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints865.pts cert865
theorem congruent_rank2zzzzzzzx : ∀ x, x ∈ Rank2Cert856.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert856.rows cert_r2zzzzzzzx

theorem cert866 : CongruentPoints866.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzy : Rank2Cert857.rows.all certR2 = true := rfl
theorem congruent866 : ∀ x, x ∈ CongruentPoints866.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints866.pts cert866
theorem congruent_rank2zzzzzzzy : ∀ x, x ∈ Rank2Cert857.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert857.rows cert_r2zzzzzzzy

theorem cert867 : CongruentPoints867.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzz : Rank2Cert858.rows.all certR2 = true := rfl
theorem congruent867 : ∀ x, x ∈ CongruentPoints867.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints867.pts cert867
theorem congruent_rank2zzzzzzzz : ∀ x, x ∈ Rank2Cert858.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert858.rows cert_r2zzzzzzzz

theorem cert868 : CongruentPoints868.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzza : Rank2Cert859.rows.all certR2 = true := rfl
theorem congruent868 : ∀ x, x ∈ CongruentPoints868.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints868.pts cert868
theorem congruent_rank2zzzzzzzza : ∀ x, x ∈ Rank2Cert859.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert859.rows cert_r2zzzzzzzza

theorem cert869 : CongruentPoints869.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzb : Rank2Cert860.rows.all certR2 = true := rfl
theorem congruent869 : ∀ x, x ∈ CongruentPoints869.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints869.pts cert869
theorem congruent_rank2zzzzzzzzb : ∀ x, x ∈ Rank2Cert860.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert860.rows cert_r2zzzzzzzzb

theorem cert870 : CongruentPoints870.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzc : Rank2Cert861.rows.all certR2 = true := rfl
theorem congruent870 : ∀ x, x ∈ CongruentPoints870.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints870.pts cert870
theorem congruent_rank2zzzzzzzzc : ∀ x, x ∈ Rank2Cert861.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert861.rows cert_r2zzzzzzzzc

theorem cert871 : CongruentPoints871.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzd : Rank2Cert862.rows.all certR2 = true := rfl
theorem congruent871 : ∀ x, x ∈ CongruentPoints871.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints871.pts cert871
theorem congruent_rank2zzzzzzzzd : ∀ x, x ∈ Rank2Cert862.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert862.rows cert_r2zzzzzzzzd

theorem cert872 : CongruentPoints872.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzze : Rank2Cert863.rows.all certR2 = true := rfl
theorem congruent872 : ∀ x, x ∈ CongruentPoints872.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints872.pts cert872
theorem congruent_rank2zzzzzzzze : ∀ x, x ∈ Rank2Cert863.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert863.rows cert_r2zzzzzzzze

theorem cert873 : CongruentPoints873.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzf : Rank2Cert864.rows.all certR2 = true := rfl
theorem congruent873 : ∀ x, x ∈ CongruentPoints873.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints873.pts cert873
theorem congruent_rank2zzzzzzzzf : ∀ x, x ∈ Rank2Cert864.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert864.rows cert_r2zzzzzzzzf

theorem cert874 : CongruentPoints874.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzg : Rank2Cert865.rows.all certR2 = true := rfl
theorem congruent874 : ∀ x, x ∈ CongruentPoints874.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints874.pts cert874
theorem congruent_rank2zzzzzzzzg : ∀ x, x ∈ Rank2Cert865.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert865.rows cert_r2zzzzzzzzg

theorem cert875 : CongruentPoints875.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzh : Rank2Cert866.rows.all certR2 = true := rfl
theorem congruent875 : ∀ x, x ∈ CongruentPoints875.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints875.pts cert875
theorem congruent_rank2zzzzzzzzh : ∀ x, x ∈ Rank2Cert866.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert866.rows cert_r2zzzzzzzzh

theorem cert876 : CongruentPoints876.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzi : Rank2Cert867.rows.all certR2 = true := rfl
theorem congruent876 : ∀ x, x ∈ CongruentPoints876.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints876.pts cert876
theorem congruent_rank2zzzzzzzzi : ∀ x, x ∈ Rank2Cert867.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert867.rows cert_r2zzzzzzzzi

theorem cert877 : CongruentPoints877.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzj : Rank2Cert868.rows.all certR2 = true := rfl
theorem congruent877 : ∀ x, x ∈ CongruentPoints877.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints877.pts cert877
theorem congruent_rank2zzzzzzzzj : ∀ x, x ∈ Rank2Cert868.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert868.rows cert_r2zzzzzzzzj

theorem cert878 : CongruentPoints878.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzk : Rank2Cert869.rows.all certR2 = true := rfl
theorem congruent878 : ∀ x, x ∈ CongruentPoints878.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints878.pts cert878
theorem congruent_rank2zzzzzzzzk : ∀ x, x ∈ Rank2Cert869.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert869.rows cert_r2zzzzzzzzk

theorem cert879 : CongruentPoints879.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzl : Rank2Cert870.rows.all certR2 = true := rfl
theorem congruent879 : ∀ x, x ∈ CongruentPoints879.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints879.pts cert879
theorem congruent_rank2zzzzzzzzl : ∀ x, x ∈ Rank2Cert870.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert870.rows cert_r2zzzzzzzzl

theorem cert880 : CongruentPoints880.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzm : Rank2Cert871.rows.all certR2 = true := rfl
theorem congruent880 : ∀ x, x ∈ CongruentPoints880.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints880.pts cert880
theorem congruent_rank2zzzzzzzzm : ∀ x, x ∈ Rank2Cert871.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert871.rows cert_r2zzzzzzzzm

theorem cert881 : CongruentPoints881.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzn : Rank2Cert872.rows.all certR2 = true := rfl
theorem congruent881 : ∀ x, x ∈ CongruentPoints881.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints881.pts cert881
theorem congruent_rank2zzzzzzzzn : ∀ x, x ∈ Rank2Cert872.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert872.rows cert_r2zzzzzzzzn

theorem cert882 : CongruentPoints882.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzo : Rank2Cert873.rows.all certR2 = true := rfl
theorem congruent882 : ∀ x, x ∈ CongruentPoints882.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints882.pts cert882
theorem congruent_rank2zzzzzzzzo : ∀ x, x ∈ Rank2Cert873.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert873.rows cert_r2zzzzzzzzo

theorem cert883 : CongruentPoints883.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzp : Rank2Cert874.rows.all certR2 = true := rfl
theorem congruent883 : ∀ x, x ∈ CongruentPoints883.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints883.pts cert883
theorem congruent_rank2zzzzzzzzp : ∀ x, x ∈ Rank2Cert874.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert874.rows cert_r2zzzzzzzzp

theorem cert884 : CongruentPoints884.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzq : Rank2Cert875.rows.all certR2 = true := rfl
theorem congruent884 : ∀ x, x ∈ CongruentPoints884.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints884.pts cert884
theorem congruent_rank2zzzzzzzzq : ∀ x, x ∈ Rank2Cert875.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert875.rows cert_r2zzzzzzzzq

theorem cert885 : CongruentPoints885.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzr : Rank2Cert876.rows.all certR2 = true := rfl
theorem congruent885 : ∀ x, x ∈ CongruentPoints885.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints885.pts cert885
theorem congruent_rank2zzzzzzzzr : ∀ x, x ∈ Rank2Cert876.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert876.rows cert_r2zzzzzzzzr

theorem cert886 : CongruentPoints886.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzs : Rank2Cert877.rows.all certR2 = true := rfl
theorem congruent886 : ∀ x, x ∈ CongruentPoints886.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints886.pts cert886
theorem congruent_rank2zzzzzzzzs : ∀ x, x ∈ Rank2Cert877.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert877.rows cert_r2zzzzzzzzs

theorem cert887 : CongruentPoints887.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzt : Rank2Cert878.rows.all certR2 = true := rfl
theorem congruent887 : ∀ x, x ∈ CongruentPoints887.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints887.pts cert887
theorem congruent_rank2zzzzzzzzt : ∀ x, x ∈ Rank2Cert878.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert878.rows cert_r2zzzzzzzzt

theorem cert888 : CongruentPoints888.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzu : Rank2Cert879.rows.all certR2 = true := rfl
theorem congruent888 : ∀ x, x ∈ CongruentPoints888.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints888.pts cert888
theorem congruent_rank2zzzzzzzzu : ∀ x, x ∈ Rank2Cert879.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert879.rows cert_r2zzzzzzzzu

theorem cert889 : CongruentPoints889.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzv : Rank2Cert880.rows.all certR2 = true := rfl
theorem congruent889 : ∀ x, x ∈ CongruentPoints889.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints889.pts cert889
theorem congruent_rank2zzzzzzzzv : ∀ x, x ∈ Rank2Cert880.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert880.rows cert_r2zzzzzzzzv

theorem cert890 : CongruentPoints890.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzw : Rank2Cert881.rows.all certR2 = true := rfl
theorem congruent890 : ∀ x, x ∈ CongruentPoints890.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints890.pts cert890
theorem congruent_rank2zzzzzzzzw : ∀ x, x ∈ Rank2Cert881.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert881.rows cert_r2zzzzzzzzw

theorem cert891 : CongruentPoints891.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzx : Rank2Cert882.rows.all certR2 = true := rfl
theorem congruent891 : ∀ x, x ∈ CongruentPoints891.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints891.pts cert891
theorem congruent_rank2zzzzzzzzx : ∀ x, x ∈ Rank2Cert882.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert882.rows cert_r2zzzzzzzzx

theorem cert892 : CongruentPoints892.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzy : Rank2Cert883.rows.all certR2 = true := rfl
theorem congruent892 : ∀ x, x ∈ CongruentPoints892.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints892.pts cert892
theorem congruent_rank2zzzzzzzzy : ∀ x, x ∈ Rank2Cert883.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert883.rows cert_r2zzzzzzzzy

theorem cert893 : CongruentPoints893.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzz : Rank2Cert884.rows.all certR2 = true := rfl
theorem congruent893 : ∀ x, x ∈ CongruentPoints893.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints893.pts cert893
theorem congruent_rank2zzzzzzzzz : ∀ x, x ∈ Rank2Cert884.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert884.rows cert_r2zzzzzzzzz

theorem cert894 : CongruentPoints894.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzza : Rank2Cert885.rows.all certR2 = true := rfl
theorem congruent894 : ∀ x, x ∈ CongruentPoints894.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints894.pts cert894
theorem congruent_rank2zzzzzzzzza : ∀ x, x ∈ Rank2Cert885.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert885.rows cert_r2zzzzzzzzza

theorem cert895 : CongruentPoints895.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzb : Rank2Cert886.rows.all certR2 = true := rfl
theorem congruent895 : ∀ x, x ∈ CongruentPoints895.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints895.pts cert895
theorem congruent_rank2zzzzzzzzzb : ∀ x, x ∈ Rank2Cert886.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert886.rows cert_r2zzzzzzzzzb

theorem cert896 : CongruentPoints896.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzc : Rank2Cert887.rows.all certR2 = true := rfl
theorem congruent896 : ∀ x, x ∈ CongruentPoints896.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints896.pts cert896
theorem congruent_rank2zzzzzzzzzc : ∀ x, x ∈ Rank2Cert887.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert887.rows cert_r2zzzzzzzzzc

theorem cert897 : CongruentPoints897.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzd : Rank2Cert888.rows.all certR2 = true := rfl
theorem congruent897 : ∀ x, x ∈ CongruentPoints897.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints897.pts cert897
theorem congruent_rank2zzzzzzzzzd : ∀ x, x ∈ Rank2Cert888.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert888.rows cert_r2zzzzzzzzzd

theorem cert898 : CongruentPoints898.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzze : Rank2Cert889.rows.all certR2 = true := rfl
theorem congruent898 : ∀ x, x ∈ CongruentPoints898.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints898.pts cert898
theorem congruent_rank2zzzzzzzzze : ∀ x, x ∈ Rank2Cert889.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert889.rows cert_r2zzzzzzzzze

theorem cert899 : CongruentPoints899.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzf : Rank2Cert890.rows.all certR2 = true := rfl
theorem congruent899 : ∀ x, x ∈ CongruentPoints899.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints899.pts cert899
theorem congruent_rank2zzzzzzzzzf : ∀ x, x ∈ Rank2Cert890.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert890.rows cert_r2zzzzzzzzzf

theorem cert900 : CongruentPoints900.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzg : Rank2Cert891.rows.all certR2 = true := rfl
theorem congruent900 : ∀ x, x ∈ CongruentPoints900.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints900.pts cert900
theorem congruent_rank2zzzzzzzzzg : ∀ x, x ∈ Rank2Cert891.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert891.rows cert_r2zzzzzzzzzg

theorem cert901 : CongruentPoints901.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzh : Rank2Cert892.rows.all certR2 = true := rfl
theorem congruent901 : ∀ x, x ∈ CongruentPoints901.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints901.pts cert901
theorem congruent_rank2zzzzzzzzzh : ∀ x, x ∈ Rank2Cert892.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert892.rows cert_r2zzzzzzzzzh

theorem cert902 : CongruentPoints902.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzi : Rank2Cert893.rows.all certR2 = true := rfl
theorem congruent902 : ∀ x, x ∈ CongruentPoints902.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints902.pts cert902
theorem congruent_rank2zzzzzzzzzi : ∀ x, x ∈ Rank2Cert893.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert893.rows cert_r2zzzzzzzzzi

theorem cert903 : CongruentPoints903.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzj : Rank2Cert894.rows.all certR2 = true := rfl
theorem congruent903 : ∀ x, x ∈ CongruentPoints903.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints903.pts cert903
theorem congruent_rank2zzzzzzzzzj : ∀ x, x ∈ Rank2Cert894.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert894.rows cert_r2zzzzzzzzzj

theorem cert904 : CongruentPoints904.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzk : Rank2Cert895.rows.all certR2 = true := rfl
theorem congruent904 : ∀ x, x ∈ CongruentPoints904.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints904.pts cert904
theorem congruent_rank2zzzzzzzzzk : ∀ x, x ∈ Rank2Cert895.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert895.rows cert_r2zzzzzzzzzk

theorem cert905 : CongruentPoints905.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzl : Rank2Cert896.rows.all certR2 = true := rfl
theorem congruent905 : ∀ x, x ∈ CongruentPoints905.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints905.pts cert905
theorem congruent_rank2zzzzzzzzzl : ∀ x, x ∈ Rank2Cert896.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert896.rows cert_r2zzzzzzzzzl

theorem cert906 : CongruentPoints906.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzm : Rank2Cert897.rows.all certR2 = true := rfl
theorem congruent906 : ∀ x, x ∈ CongruentPoints906.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints906.pts cert906
theorem congruent_rank2zzzzzzzzzm : ∀ x, x ∈ Rank2Cert897.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert897.rows cert_r2zzzzzzzzzm

theorem cert907 : CongruentPoints907.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzn : Rank2Cert898.rows.all certR2 = true := rfl
theorem congruent907 : ∀ x, x ∈ CongruentPoints907.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints907.pts cert907
theorem congruent_rank2zzzzzzzzzn : ∀ x, x ∈ Rank2Cert898.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert898.rows cert_r2zzzzzzzzzn

theorem cert908 : CongruentPoints908.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzo : Rank2Cert899.rows.all certR2 = true := rfl
theorem congruent908 : ∀ x, x ∈ CongruentPoints908.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints908.pts cert908
theorem congruent_rank2zzzzzzzzzo : ∀ x, x ∈ Rank2Cert899.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert899.rows cert_r2zzzzzzzzzo

theorem cert909 : CongruentPoints909.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzp : Rank2Cert900.rows.all certR2 = true := rfl
theorem congruent909 : ∀ x, x ∈ CongruentPoints909.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints909.pts cert909
theorem congruent_rank2zzzzzzzzzp : ∀ x, x ∈ Rank2Cert900.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert900.rows cert_r2zzzzzzzzzp

theorem cert910 : CongruentPoints910.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzq : Rank2Cert901.rows.all certR2 = true := rfl
theorem congruent910 : ∀ x, x ∈ CongruentPoints910.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints910.pts cert910
theorem congruent_rank2zzzzzzzzzq : ∀ x, x ∈ Rank2Cert901.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert901.rows cert_r2zzzzzzzzzq

theorem cert911 : CongruentPoints911.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzr : Rank2Cert902.rows.all certR2 = true := rfl
theorem congruent911 : ∀ x, x ∈ CongruentPoints911.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints911.pts cert911
theorem congruent_rank2zzzzzzzzzr : ∀ x, x ∈ Rank2Cert902.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert902.rows cert_r2zzzzzzzzzr

theorem cert912 : CongruentPoints912.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzs : Rank2Cert903.rows.all certR2 = true := rfl
theorem congruent912 : ∀ x, x ∈ CongruentPoints912.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints912.pts cert912
theorem congruent_rank2zzzzzzzzzs : ∀ x, x ∈ Rank2Cert903.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert903.rows cert_r2zzzzzzzzzs

theorem cert913 : CongruentPoints913.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzt : Rank2Cert904.rows.all certR2 = true := rfl
theorem congruent913 : ∀ x, x ∈ CongruentPoints913.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints913.pts cert913
theorem congruent_rank2zzzzzzzzzt : ∀ x, x ∈ Rank2Cert904.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert904.rows cert_r2zzzzzzzzzt

theorem cert914 : CongruentPoints914.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzu : Rank2Cert905.rows.all certR2 = true := rfl
theorem congruent914 : ∀ x, x ∈ CongruentPoints914.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints914.pts cert914
theorem congruent_rank2zzzzzzzzzu : ∀ x, x ∈ Rank2Cert905.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert905.rows cert_r2zzzzzzzzzu

theorem cert915 : CongruentPoints915.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzv : Rank2Cert906.rows.all certR2 = true := rfl
theorem congruent915 : ∀ x, x ∈ CongruentPoints915.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints915.pts cert915
theorem congruent_rank2zzzzzzzzzv : ∀ x, x ∈ Rank2Cert906.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert906.rows cert_r2zzzzzzzzzv

theorem cert916 : CongruentPoints916.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzw : Rank2Cert907.rows.all certR2 = true := rfl
theorem congruent916 : ∀ x, x ∈ CongruentPoints916.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints916.pts cert916
theorem congruent_rank2zzzzzzzzzw : ∀ x, x ∈ Rank2Cert907.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert907.rows cert_r2zzzzzzzzzw

theorem cert917 : CongruentPoints917.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzx : Rank2Cert908.rows.all certR2 = true := rfl
theorem congruent917 : ∀ x, x ∈ CongruentPoints917.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints917.pts cert917
theorem congruent_rank2zzzzzzzzzx : ∀ x, x ∈ Rank2Cert908.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert908.rows cert_r2zzzzzzzzzx

theorem cert918 : CongruentPoints918.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzy : Rank2Cert909.rows.all certR2 = true := rfl
theorem congruent918 : ∀ x, x ∈ CongruentPoints918.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints918.pts cert918
theorem congruent_rank2zzzzzzzzzy : ∀ x, x ∈ Rank2Cert909.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert909.rows cert_r2zzzzzzzzzy

theorem cert919 : CongruentPoints919.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzz : Rank2Cert910.rows.all certR2 = true := rfl
theorem congruent919 : ∀ x, x ∈ CongruentPoints919.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints919.pts cert919
theorem congruent_rank2zzzzzzzzzz : ∀ x, x ∈ Rank2Cert910.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert910.rows cert_r2zzzzzzzzzz

theorem cert920 : CongruentPoints920.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzza : Rank2Cert911.rows.all certR2 = true := rfl
theorem congruent920 : ∀ x, x ∈ CongruentPoints920.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints920.pts cert920
theorem congruent_rank2zzzzzzzzzza : ∀ x, x ∈ Rank2Cert911.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert911.rows cert_r2zzzzzzzzzza

theorem cert921 : CongruentPoints921.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzb : Rank2Cert912.rows.all certR2 = true := rfl
theorem congruent921 : ∀ x, x ∈ CongruentPoints921.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints921.pts cert921
theorem congruent_rank2zzzzzzzzzzb : ∀ x, x ∈ Rank2Cert912.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert912.rows cert_r2zzzzzzzzzzb

theorem cert922 : CongruentPoints922.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzc : Rank2Cert913.rows.all certR2 = true := rfl
theorem congruent922 : ∀ x, x ∈ CongruentPoints922.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints922.pts cert922
theorem congruent_rank2zzzzzzzzzzc : ∀ x, x ∈ Rank2Cert913.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert913.rows cert_r2zzzzzzzzzzc

theorem cert923 : CongruentPoints923.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzd : Rank2Cert914.rows.all certR2 = true := rfl
theorem congruent923 : ∀ x, x ∈ CongruentPoints923.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints923.pts cert923
theorem congruent_rank2zzzzzzzzzzd : ∀ x, x ∈ Rank2Cert914.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert914.rows cert_r2zzzzzzzzzzd

theorem cert924 : CongruentPoints924.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzze : Rank2Cert915.rows.all certR2 = true := rfl
theorem congruent924 : ∀ x, x ∈ CongruentPoints924.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints924.pts cert924
theorem congruent_rank2zzzzzzzzzze : ∀ x, x ∈ Rank2Cert915.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert915.rows cert_r2zzzzzzzzzze

theorem cert925 : CongruentPoints925.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzf : Rank2Cert916.rows.all certR2 = true := rfl
theorem congruent925 : ∀ x, x ∈ CongruentPoints925.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints925.pts cert925
theorem congruent_rank2zzzzzzzzzzf : ∀ x, x ∈ Rank2Cert916.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert916.rows cert_r2zzzzzzzzzzf

theorem cert926 : CongruentPoints926.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzg : Rank2Cert917.rows.all certR2 = true := rfl
theorem congruent926 : ∀ x, x ∈ CongruentPoints926.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints926.pts cert926
theorem congruent_rank2zzzzzzzzzzg : ∀ x, x ∈ Rank2Cert917.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert917.rows cert_r2zzzzzzzzzzg

theorem cert927 : CongruentPoints927.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzh : Rank2Cert918.rows.all certR2 = true := rfl
theorem congruent927 : ∀ x, x ∈ CongruentPoints927.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints927.pts cert927
theorem congruent_rank2zzzzzzzzzzh : ∀ x, x ∈ Rank2Cert918.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert918.rows cert_r2zzzzzzzzzzh

theorem cert928 : CongruentPoints928.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzi : Rank2Cert919.rows.all certR2 = true := rfl
theorem congruent928 : ∀ x, x ∈ CongruentPoints928.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints928.pts cert928
theorem congruent_rank2zzzzzzzzzzi : ∀ x, x ∈ Rank2Cert919.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert919.rows cert_r2zzzzzzzzzzi

theorem cert929 : CongruentPoints929.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzj : Rank2Cert920.rows.all certR2 = true := rfl
theorem congruent929 : ∀ x, x ∈ CongruentPoints929.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints929.pts cert929
theorem congruent_rank2zzzzzzzzzzj : ∀ x, x ∈ Rank2Cert920.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert920.rows cert_r2zzzzzzzzzzj

theorem cert930 : CongruentPoints930.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzk : Rank2Cert921.rows.all certR2 = true := rfl
theorem congruent930 : ∀ x, x ∈ CongruentPoints930.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints930.pts cert930
theorem congruent_rank2zzzzzzzzzzk : ∀ x, x ∈ Rank2Cert921.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert921.rows cert_r2zzzzzzzzzzk

theorem cert931 : CongruentPoints931.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzl : Rank2Cert922.rows.all certR2 = true := rfl
theorem congruent931 : ∀ x, x ∈ CongruentPoints931.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints931.pts cert931
theorem congruent_rank2zzzzzzzzzzl : ∀ x, x ∈ Rank2Cert922.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert922.rows cert_r2zzzzzzzzzzl

theorem cert932 : CongruentPoints932.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzm : Rank2Cert923.rows.all certR2 = true := rfl
theorem congruent932 : ∀ x, x ∈ CongruentPoints932.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints932.pts cert932
theorem congruent_rank2zzzzzzzzzzm : ∀ x, x ∈ Rank2Cert923.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert923.rows cert_r2zzzzzzzzzzm

theorem cert933 : CongruentPoints933.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzn : Rank2Cert924.rows.all certR2 = true := rfl
theorem congruent933 : ∀ x, x ∈ CongruentPoints933.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints933.pts cert933
theorem congruent_rank2zzzzzzzzzzn : ∀ x, x ∈ Rank2Cert924.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert924.rows cert_r2zzzzzzzzzzn

theorem cert934 : CongruentPoints934.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzo : Rank2Cert925.rows.all certR2 = true := rfl
theorem congruent934 : ∀ x, x ∈ CongruentPoints934.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints934.pts cert934
theorem congruent_rank2zzzzzzzzzzo : ∀ x, x ∈ Rank2Cert925.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert925.rows cert_r2zzzzzzzzzzo

theorem cert935 : CongruentPoints935.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzp : Rank2Cert926.rows.all certR2 = true := rfl
theorem congruent935 : ∀ x, x ∈ CongruentPoints935.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints935.pts cert935
theorem congruent_rank2zzzzzzzzzzp : ∀ x, x ∈ Rank2Cert926.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert926.rows cert_r2zzzzzzzzzzp

theorem cert936 : CongruentPoints936.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzq : Rank2Cert927.rows.all certR2 = true := rfl
theorem congruent936 : ∀ x, x ∈ CongruentPoints936.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints936.pts cert936
theorem congruent_rank2zzzzzzzzzzq : ∀ x, x ∈ Rank2Cert927.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert927.rows cert_r2zzzzzzzzzzq

theorem cert937 : CongruentPoints937.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzr : Rank2Cert928.rows.all certR2 = true := rfl
theorem congruent937 : ∀ x, x ∈ CongruentPoints937.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints937.pts cert937
theorem congruent_rank2zzzzzzzzzzr : ∀ x, x ∈ Rank2Cert928.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert928.rows cert_r2zzzzzzzzzzr

theorem cert938 : CongruentPoints938.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzs : Rank2Cert929.rows.all certR2 = true := rfl
theorem congruent938 : ∀ x, x ∈ CongruentPoints938.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints938.pts cert938
theorem congruent_rank2zzzzzzzzzzs : ∀ x, x ∈ Rank2Cert929.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert929.rows cert_r2zzzzzzzzzzs

theorem cert939 : CongruentPoints939.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzt : Rank2Cert930.rows.all certR2 = true := rfl
theorem congruent939 : ∀ x, x ∈ CongruentPoints939.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints939.pts cert939
theorem congruent_rank2zzzzzzzzzzt : ∀ x, x ∈ Rank2Cert930.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert930.rows cert_r2zzzzzzzzzzt

theorem cert940 : CongruentPoints940.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzu : Rank2Cert931.rows.all certR2 = true := rfl
theorem congruent940 : ∀ x, x ∈ CongruentPoints940.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints940.pts cert940
theorem congruent_rank2zzzzzzzzzzu : ∀ x, x ∈ Rank2Cert931.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert931.rows cert_r2zzzzzzzzzzu

theorem cert941 : CongruentPoints941.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzv : Rank2Cert932.rows.all certR2 = true := rfl
theorem congruent941 : ∀ x, x ∈ CongruentPoints941.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints941.pts cert941
theorem congruent_rank2zzzzzzzzzzv : ∀ x, x ∈ Rank2Cert932.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert932.rows cert_r2zzzzzzzzzzv

theorem cert942 : CongruentPoints942.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzw : Rank2Cert933.rows.all certR2 = true := rfl
theorem congruent942 : ∀ x, x ∈ CongruentPoints942.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints942.pts cert942
theorem congruent_rank2zzzzzzzzzzw : ∀ x, x ∈ Rank2Cert933.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert933.rows cert_r2zzzzzzzzzzw

theorem cert943 : CongruentPoints943.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzx : Rank2Cert934.rows.all certR2 = true := rfl
theorem congruent943 : ∀ x, x ∈ CongruentPoints943.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints943.pts cert943
theorem congruent_rank2zzzzzzzzzzx : ∀ x, x ∈ Rank2Cert934.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert934.rows cert_r2zzzzzzzzzzx

theorem cert944 : CongruentPoints944.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzy : Rank2Cert935.rows.all certR2 = true := rfl
theorem congruent944 : ∀ x, x ∈ CongruentPoints944.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints944.pts cert944
theorem congruent_rank2zzzzzzzzzzy : ∀ x, x ∈ Rank2Cert935.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert935.rows cert_r2zzzzzzzzzzy

theorem cert945 : CongruentPoints945.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzz : Rank2Cert936.rows.all certR2 = true := rfl
theorem congruent945 : ∀ x, x ∈ CongruentPoints945.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints945.pts cert945
theorem congruent_rank2zzzzzzzzzzz : ∀ x, x ∈ Rank2Cert936.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert936.rows cert_r2zzzzzzzzzzz

theorem cert946 : CongruentPoints946.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzza : Rank2Cert937.rows.all certR2 = true := rfl
theorem congruent946 : ∀ x, x ∈ CongruentPoints946.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints946.pts cert946
theorem congruent_rank2zzzzzzzzzzza : ∀ x, x ∈ Rank2Cert937.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert937.rows cert_r2zzzzzzzzzzza

theorem cert947 : CongruentPoints947.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzzb : Rank2Cert938.rows.all certR2 = true := rfl
theorem congruent947 : ∀ x, x ∈ CongruentPoints947.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints947.pts cert947
theorem congruent_rank2zzzzzzzzzzzb : ∀ x, x ∈ Rank2Cert938.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert938.rows cert_r2zzzzzzzzzzzb

theorem cert948 : CongruentPoints948.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzzc : Rank2Cert939.rows.all certR2 = true := rfl
theorem congruent948 : ∀ x, x ∈ CongruentPoints948.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints948.pts cert948
theorem congruent_rank2zzzzzzzzzzzc : ∀ x, x ∈ Rank2Cert939.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert939.rows cert_r2zzzzzzzzzzzc

theorem cert949 : CongruentPoints949.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzzd : Rank2Cert940.rows.all certR2 = true := rfl
theorem congruent949 : ∀ x, x ∈ CongruentPoints949.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints949.pts cert949
theorem congruent_rank2zzzzzzzzzzzd : ∀ x, x ∈ Rank2Cert940.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert940.rows cert_r2zzzzzzzzzzzd

theorem cert950 : CongruentPoints950.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzze : Rank2Cert941.rows.all certR2 = true := rfl
theorem congruent950 : ∀ x, x ∈ CongruentPoints950.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints950.pts cert950
theorem congruent_rank2zzzzzzzzzzze : ∀ x, x ∈ Rank2Cert941.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert941.rows cert_r2zzzzzzzzzzze

theorem cert951 : CongruentPoints951.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzzf : Rank2Cert942.rows.all certR2 = true := rfl
theorem congruent951 : ∀ x, x ∈ CongruentPoints951.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints951.pts cert951
theorem congruent_rank2zzzzzzzzzzzf : ∀ x, x ∈ Rank2Cert942.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert942.rows cert_r2zzzzzzzzzzzf

theorem cert952 : CongruentPoints952.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzzg : Rank2Cert943.rows.all certR2 = true := rfl
theorem congruent952 : ∀ x, x ∈ CongruentPoints952.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints952.pts cert952
theorem congruent_rank2zzzzzzzzzzzg : ∀ x, x ∈ Rank2Cert943.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert943.rows cert_r2zzzzzzzzzzzg

theorem cert953 : CongruentPoints953.pts.all certRow = true := rfl
theorem cert_r2zzzzzzzzzzzh : Rank2Cert944.rows.all certR2 = true := rfl
theorem congruent953 : ∀ x, x ∈ CongruentPoints953.pts → congruent x.1 :=
  all_cert (fun x => x.1) certRow (fun r h => cert_sound r.1 r.2.2.1 r.2.2.2.1 r.2.2.2.2 h) CongruentPoints953.pts cert953
theorem congruent_rank2zzzzzzzzzzzh : ∀ x, x ∈ Rank2Cert944.rows → congruent x.1 :=
  all_cert (fun x => x.1) certR2 (fun r h => cert_sound r.1 r.2.1.2.1 r.2.1.2.2.1 r.2.1.2.2.2 h) Rank2Cert944.rows cert_r2zzzzzzzzzzzh

end CongruentTriangle2

#print axioms CongruentTriangle2.congruent807
#print axioms CongruentTriangle2.congruent_rank2zzzzzr
#print axioms CongruentTriangle2.congruent808
#print axioms CongruentTriangle2.congruent_rank2zzzzzs
#print axioms CongruentTriangle2.congruent809
#print axioms CongruentTriangle2.congruent_rank2zzzzzt
#print axioms CongruentTriangle2.congruent810
#print axioms CongruentTriangle2.congruent_rank2zzzzzu
#print axioms CongruentTriangle2.congruent811
#print axioms CongruentTriangle2.congruent_rank2zzzzzv
#print axioms CongruentTriangle2.congruent812
#print axioms CongruentTriangle2.congruent_rank2zzzzzw
#print axioms CongruentTriangle2.congruent813
#print axioms CongruentTriangle2.congruent_rank2zzzzzx
#print axioms CongruentTriangle2.congruent806
#print axioms CongruentTriangle2.congruent_rank2zzzzzq
#print axioms CongruentTriangle2.congruent814
#print axioms CongruentTriangle2.congruent_rank2zzzzzy
#print axioms CongruentTriangle2.congruent815
#print axioms CongruentTriangle2.congruent_rank2zzzzzz
#print axioms CongruentTriangle2.congruent816
#print axioms CongruentTriangle2.congruent_rank2zzzzzza
#print axioms CongruentTriangle2.congruent817
#print axioms CongruentTriangle2.congruent_rank2zzzzzzb
#print axioms CongruentTriangle2.congruent818
#print axioms CongruentTriangle2.congruent_rank2zzzzzzc
#print axioms CongruentTriangle2.congruent819
#print axioms CongruentTriangle2.congruent_rank2zzzzzzd
#print axioms CongruentTriangle2.congruent820
#print axioms CongruentTriangle2.congruent_rank2zzzzzze
#print axioms CongruentTriangle2.congruent821
#print axioms CongruentTriangle2.congruent_rank2zzzzzzf
#print axioms CongruentTriangle2.congruent822
#print axioms CongruentTriangle2.congruent_rank2zzzzzzg
#print axioms CongruentTriangle2.congruent823
#print axioms CongruentTriangle2.congruent_rank2zzzzzzh
#print axioms CongruentTriangle2.congruent824
#print axioms CongruentTriangle2.congruent_rank2zzzzzzi
#print axioms CongruentTriangle2.congruent825
#print axioms CongruentTriangle2.congruent_rank2zzzzzzj
#print axioms CongruentTriangle2.congruent826
#print axioms CongruentTriangle2.congruent_rank2zzzzzzk
#print axioms CongruentTriangle2.congruent827
#print axioms CongruentTriangle2.congruent_rank2zzzzzzl
#print axioms CongruentTriangle2.congruent828
#print axioms CongruentTriangle2.congruent_rank2zzzzzzm
#print axioms CongruentTriangle2.congruent829
#print axioms CongruentTriangle2.congruent_rank2zzzzzzn
#print axioms CongruentTriangle2.congruent830
#print axioms CongruentTriangle2.congruent_rank2zzzzzzo
#print axioms CongruentTriangle2.congruent831
#print axioms CongruentTriangle2.congruent_rank2zzzzzzp
#print axioms CongruentTriangle2.congruent832
#print axioms CongruentTriangle2.congruent_rank2zzzzzzq
#print axioms CongruentTriangle2.congruent833
#print axioms CongruentTriangle2.congruent_rank2zzzzzzr
#print axioms CongruentTriangle2.congruent834
#print axioms CongruentTriangle2.congruent_rank2zzzzzzs
#print axioms CongruentTriangle2.congruent835
#print axioms CongruentTriangle2.congruent_rank2zzzzzzt
#print axioms CongruentTriangle2.congruent836
#print axioms CongruentTriangle2.congruent_rank2zzzzzzu
#print axioms CongruentTriangle2.congruent837
#print axioms CongruentTriangle2.congruent_rank2zzzzzzv
#print axioms CongruentTriangle2.congruent838
#print axioms CongruentTriangle2.congruent_rank2zzzzzzw
#print axioms CongruentTriangle2.congruent839
#print axioms CongruentTriangle2.congruent_rank2zzzzzzx
#print axioms CongruentTriangle2.congruent840
#print axioms CongruentTriangle2.congruent_rank2zzzzzzy
#print axioms CongruentTriangle2.congruent841
#print axioms CongruentTriangle2.congruent_rank2zzzzzzz
#print axioms CongruentTriangle2.congruent842
#print axioms CongruentTriangle2.congruent_rank2zzzzzzza
#print axioms CongruentTriangle2.congruent843
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzb
#print axioms CongruentTriangle2.congruent844
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzc
#print axioms CongruentTriangle2.congruent845
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzd
#print axioms CongruentTriangle2.congruent846
#print axioms CongruentTriangle2.congruent_rank2zzzzzzze
#print axioms CongruentTriangle2.congruent847
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzf
#print axioms CongruentTriangle2.congruent848
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzg
#print axioms CongruentTriangle2.congruent849
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzh
#print axioms CongruentTriangle2.congruent850
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzi
#print axioms CongruentTriangle2.congruent851
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzj
#print axioms CongruentTriangle2.congruent852
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzk
#print axioms CongruentTriangle2.congruent853
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzl
#print axioms CongruentTriangle2.congruent854
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzm
#print axioms CongruentTriangle2.congruent855
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzn
#print axioms CongruentTriangle2.congruent856
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzo
#print axioms CongruentTriangle2.congruent857
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzp
#print axioms CongruentTriangle2.congruent858
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzq
#print axioms CongruentTriangle2.congruent859
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzr
#print axioms CongruentTriangle2.congruent860
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzs
#print axioms CongruentTriangle2.congruent861
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzt
#print axioms CongruentTriangle2.congruent862
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzu
#print axioms CongruentTriangle2.congruent863
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzv
#print axioms CongruentTriangle2.congruent864
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzw
#print axioms CongruentTriangle2.congruent865
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzx
#print axioms CongruentTriangle2.congruent866
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzy
#print axioms CongruentTriangle2.congruent867
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzz
#print axioms CongruentTriangle2.congruent868
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzza
#print axioms CongruentTriangle2.congruent869
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzb
#print axioms CongruentTriangle2.congruent870
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzc
#print axioms CongruentTriangle2.congruent871
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzd
#print axioms CongruentTriangle2.congruent872
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzze
#print axioms CongruentTriangle2.congruent873
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzf
#print axioms CongruentTriangle2.congruent874
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzg
#print axioms CongruentTriangle2.congruent875
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzh
#print axioms CongruentTriangle2.congruent876
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzi
#print axioms CongruentTriangle2.congruent877
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzj
#print axioms CongruentTriangle2.congruent878
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzk
#print axioms CongruentTriangle2.congruent879
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzl
#print axioms CongruentTriangle2.congruent880
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzm
#print axioms CongruentTriangle2.congruent881
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzn
#print axioms CongruentTriangle2.congruent882
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzo
#print axioms CongruentTriangle2.congruent883
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzp
#print axioms CongruentTriangle2.congruent884
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzq
#print axioms CongruentTriangle2.congruent885
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzr
#print axioms CongruentTriangle2.congruent886
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzs
#print axioms CongruentTriangle2.congruent887
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzt
#print axioms CongruentTriangle2.congruent888
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzu
#print axioms CongruentTriangle2.congruent889
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzv
#print axioms CongruentTriangle2.congruent890
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzw
#print axioms CongruentTriangle2.congruent891
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzx
#print axioms CongruentTriangle2.congruent892
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzy
#print axioms CongruentTriangle2.congruent893
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzz
#print axioms CongruentTriangle2.congruent894
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzza
#print axioms CongruentTriangle2.congruent895
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzb
#print axioms CongruentTriangle2.congruent896
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzc
#print axioms CongruentTriangle2.congruent897
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzd
#print axioms CongruentTriangle2.congruent898
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzze
#print axioms CongruentTriangle2.congruent899
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzf
#print axioms CongruentTriangle2.congruent900
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzg
#print axioms CongruentTriangle2.congruent901
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzh
#print axioms CongruentTriangle2.congruent902
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzi
#print axioms CongruentTriangle2.congruent903
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzj
#print axioms CongruentTriangle2.congruent904
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzk
#print axioms CongruentTriangle2.congruent905
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzl
#print axioms CongruentTriangle2.congruent906
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzm
#print axioms CongruentTriangle2.congruent907
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzn
#print axioms CongruentTriangle2.congruent908
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzo
#print axioms CongruentTriangle2.congruent909
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzp
#print axioms CongruentTriangle2.congruent910
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzq
#print axioms CongruentTriangle2.congruent911
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzr
#print axioms CongruentTriangle2.congruent912
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzs
#print axioms CongruentTriangle2.congruent913
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzt
#print axioms CongruentTriangle2.congruent914
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzu
#print axioms CongruentTriangle2.congruent915
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzv
#print axioms CongruentTriangle2.congruent916
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzw
#print axioms CongruentTriangle2.congruent917
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzx
#print axioms CongruentTriangle2.congruent918
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzy
#print axioms CongruentTriangle2.congruent919
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzz
#print axioms CongruentTriangle2.congruent920
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzza
#print axioms CongruentTriangle2.congruent921
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzb
#print axioms CongruentTriangle2.congruent922
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzc
#print axioms CongruentTriangle2.congruent923
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzd
#print axioms CongruentTriangle2.congruent924
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzze
#print axioms CongruentTriangle2.congruent925
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzf
#print axioms CongruentTriangle2.congruent926
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzg
#print axioms CongruentTriangle2.congruent927
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzh
#print axioms CongruentTriangle2.congruent928
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzi
#print axioms CongruentTriangle2.congruent929
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzj
#print axioms CongruentTriangle2.congruent930
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzk
#print axioms CongruentTriangle2.congruent931
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzl
#print axioms CongruentTriangle2.congruent932
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzm
#print axioms CongruentTriangle2.congruent933
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzn
#print axioms CongruentTriangle2.congruent934
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzo
#print axioms CongruentTriangle2.congruent935
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzp
#print axioms CongruentTriangle2.congruent936
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzq
#print axioms CongruentTriangle2.congruent937
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzr
#print axioms CongruentTriangle2.congruent938
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzs
#print axioms CongruentTriangle2.congruent939
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzt
#print axioms CongruentTriangle2.congruent940
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzu
#print axioms CongruentTriangle2.congruent941
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzv
#print axioms CongruentTriangle2.congruent942
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzw
#print axioms CongruentTriangle2.congruent943
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzx
#print axioms CongruentTriangle2.congruent944
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzy
#print axioms CongruentTriangle2.congruent945
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzz
#print axioms CongruentTriangle2.congruent946
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzza
#print axioms CongruentTriangle2.congruent947
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzzb
#print axioms CongruentTriangle2.congruent948
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzzc
#print axioms CongruentTriangle2.congruent949
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzzd
#print axioms CongruentTriangle2.congruent950
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzze
#print axioms CongruentTriangle2.congruent951
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzzf
#print axioms CongruentTriangle2.congruent952
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzzg
#print axioms CongruentTriangle2.congruent953
#print axioms CongruentTriangle2.congruent_rank2zzzzzzzzzzzh

bsd/CopReduce.lean

lean_all/bsd/CopReduce.lean

/-
  bsd/CopReduce.lean — T39 (goal G289e-6d): a square value of a binary quartic at (X₀, Z₀), X₀ ≠ 0, gives a square
  value at a coprime pair (X, Z) with a Bezout relation u·X + v·Z = 1.
    Q4 c X Z          c₀X⁴ + c₁X³Z + c₂X²Z² + c₃XZ³ + c₄Z⁴
    q4_scale          Q4(gX, gZ) = g⁴·Q4(X, Z)
    pm_split          A = ±m, m = g·c  ⇒  A = g·A₁ and every a·c is a′·A₁
    int_cancel        g ≠ 0, g·A = g·B ⇒ A = B
    cop_reduce        W² = Q4(X₀, Z₀), X₀ = ±(x₀ + 1)  ⇒  ∃ X Z y u v, u·X + v·Z = 1 ∧ y² = Q4(X, Z)
  (divide by g = gcd(|X₀|, |Z₀|); g² ∣ |W| from (g²)² ∣ W², bsd/SqDvd).
  Lean 4 core plus lib/Gcd (bezout), lib/Burnside (nat_cancel), bsd/SqRes (PM, pm_exists, pm_nat_sq, pm_sq, neg_zero),
  bsd/SqDvd, bsd/CoprimeSq (pos_of_eq_mul).
-/
import bsd.SqRes
import bsd.SqDvd
import bsd.CoprimeSq
import lib.Order

namespace CopReduce
open LibGcd LibInt LibBurnside SqRes

def Q4 (c0 c1 c2 c3 c4 X Z : Int) : Int :=
  c0 * X * X * X * X + c1 * X * X * X * Z + c2 * X * X * Z * Z + c3 * X * Z * Z * Z + c4 * Z * Z * Z * Z

theorem q4_scale (c0 c1 c2 c3 c4 G X Z : Int) :
    Q4 c0 c1 c2 c3 c4 (G * X) (G * Z) = G * G * (G * G * Q4 c0 c1 c2 c3 c4 X Z) := by
  unfold Q4; lib_int

theorem pm_split {A : Int} {m g c : Nat} (h : PM A m) (hm : m = g * c) :
    ∃ A1 : Int, A = Int.ofNat g * A1 ∧ ∀ a : Int, ∃ a' : Int, a' * A1 = a * Int.ofNat c := by
  cases h with
  | inl e =>
    refine ⟨Int.ofNat c, ?_, fun a => ⟨a, rfl⟩⟩
    rw [e, hm]; show Int.ofNat (g * c) = Int.ofNat g * Int.ofNat c; lib_int
  | inr e =>
    refine ⟨-Int.ofNat c, ?_, fun a => ⟨-a, by lib_int⟩⟩
    rw [e, hm]; show -Int.ofNat (g * c) = Int.ofNat g * -Int.ofNat c; lib_int

theorem int_cancel {G A B : Int} (hG : G ≠ 0) (h : G * A = G * B) : A = B := by
  have e : G * (A - B) = 0 := by
    have e1 : G * (A - B) = G * A - G * B := by lib_int
    rw [e1, h]; lib_int
  cases int_noZD G (A - B) e with
  | inl h0 => exact absurd h0 hG
  | inr h0 =>
    have h0' : A - B = 0 := h0
    calc A = (A - B) + B := by lib_int
      _ = 0 + B := by rw [h0']
      _ = B := by lib_int

theorem ofNat_ne_zero {g : Nat} (hg : 0 < g) : Int.ofNat g ≠ 0 := by
  intro h
  cases g with
  | zero => exact Nat.lt_irrefl 0 hg
  | succ k => exact Nat.noConfusion (Int.ofNat.inj h)

theorem nat_pos_mul {a b : Nat} (ha : 0 < a) (hb : 0 < b) : 0 < a * b := LibOrd.pos_mul ha hb

/-- **Reduction to a coprime pair.** -/
theorem cop_reduce (c0 c1 c2 c3 c4 X0 Z0 W : Int) (x0 : Nat) (hx : PM X0 (x0 + 1))
    (h : W * W = Q4 c0 c1 c2 c3 c4 X0 Z0) :
    ∃ X Z y u v : Int, u * X + v * Z = 1 ∧ y * y = Q4 c0 c1 c2 c3 c4 X Z := by
  obtain ⟨z0, hz⟩ := pm_exists Z0
  obtain ⟨g, ⟨x1, hx1⟩, ⟨z1, hz1⟩, _, a, b, hab⟩ := bezout (x0 + 1) z0
  have hg : 0 < g := CoprimeSq.pos_of_eq_mul hx1
  have hG : Int.ofNat g ≠ 0 := ofNat_ne_zero hg
  obtain ⟨X1, hX1, hu⟩ := pm_split hx hx1
  obtain ⟨Z1, hZ1, hv⟩ := pm_split hz hz1
  obtain ⟨u, hu'⟩ := hu a
  obtain ⟨v, hv'⟩ := hv b
  -- u·X₁ + v·Z₁ = 1
  have hb1 : Int.ofNat g * (a * Int.ofNat x1 + b * Int.ofNat z1) = Int.ofNat g * 1 := by
    have e : Int.ofNat g * (a * Int.ofNat x1 + b * Int.ofNat z1)
        = a * Int.ofNat (g * x1) + b * Int.ofNat (g * z1) := by lib_int
    rw [e, ← hx1, ← hz1, hab]; lib_int
  have huv : u * X1 + v * Z1 = 1 := by
    rw [hu', hv']; exact int_cancel hG hb1
  -- W² = g⁴·Q4(X₁, Z₁)
  have hq : W * W = Int.ofNat g * Int.ofNat g * (Int.ofNat g * Int.ofNat g * Q4 c0 c1 c2 c3 c4 X1 Z1) := by
    rw [h, hX1, hZ1, q4_scale]
  obtain ⟨w, hw⟩ := pm_exists W
  obtain ⟨q, hqq⟩ := pm_exists (Q4 c0 c1 c2 c3 c4 X1 Z1)
  have hA : PM (Int.ofNat g * Int.ofNat g) (g * g) := Or.inl (by lib_int)
  have hB : PM (Int.ofNat g * Int.ofNat g * Q4 c0 c1 c2 c3 c4 X1 Z1) (g * g * q) := pm_mul hA hqq
  have hn : (g * g) * (g * g * q) = w * w := pm_nat_sq hA hB hw hq.symm
  have hd : (g * g) * (g * g) ∣ w * w := ⟨q, by rw [← hn]; lib_nat⟩
  obtain ⟨y1, hy1⟩ := SqDvd.dvd_of_sq_dvd (g * g) w hd
  have hgg : 0 < (g * g) * (g * g) := nat_pos_mul (nat_pos_mul hg hg) (nat_pos_mul hg hg)
  have hqy : q = y1 * y1 := by
    have e : q * ((g * g) * (g * g)) = (y1 * y1) * ((g * g) * (g * g)) := by
      have e1 : q * ((g * g) * (g * g)) = (g * g) * (g * g * q) := by lib_nat
      rw [e1, hn, hy1]; lib_nat
    exact nat_cancel hgg _ _ e
  cases hqq with
  | inl e =>
    refine ⟨X1, Z1, Int.ofNat y1, u, v, huv, ?_⟩
    rw [e, hqy]; lib_int
  | inr e =>
    -- W² = −g⁴q forces q = 0
    have e2 : Int.ofNat (w * w) = -Int.ofNat (g * g * (g * g * q)) := by
      rw [← pm_sq hw, hq, e]; lib_int
    obtain ⟨_, e3⟩ := neg_zero e2
    have hq0 : q = 0 := by
      cases nat_mul_zero _ _ e3 with
      | inl h1 =>
        cases nat_mul_zero _ _ h1 with
        | inl h2 => rw [h2] at hg; exact absurd hg (Nat.lt_irrefl 0)
        | inr h2 => rw [h2] at hg; exact absurd hg (Nat.lt_irrefl 0)
      | inr h1 =>
        cases nat_mul_zero _ _ h1 with
        | inl h2 =>
          cases nat_mul_zero _ _ h2 with
          | inl h3 => rw [h3] at hg; exact absurd hg (Nat.lt_irrefl 0)
          | inr h3 => rw [h3] at hg; exact absurd hg (Nat.lt_irrefl 0)
        | inr h2 => exact h2
    refine ⟨X1, Z1, 0, u, v, huv, ?_⟩
    rw [e, hq0]; lib_int

end CopReduce

#print axioms CopReduce.q4_scale
#print axioms CopReduce.pm_split
#print axioms CopReduce.int_cancel
#print axioms CopReduce.ofNat_ne_zero
#print axioms CopReduce.nat_pos_mul
#print axioms CopReduce.cop_reduce

bsd/CopReduce2.lean

lean_all/bsd/CopReduce2.lean

/-
  bsd/CopReduce2.lean — T39 (goal G289e-6d): coprime reduction of a square value of a binary quartic from any nonzero
  pair (X₀, Z₀) (bsd/CopReduce from X₀ ≠ 0, plus the swap X ↔ Z), and small helpers.
  Lean 4 core plus bsd/CopReduce.
-/
import bsd.CopReduce

namespace CopReduce2
open LibGcd LibInt SqRes CopReduce

/-! ## Signs and the swap of a binary quartic -/

theorem pm_succ (A : Int) (h : A ≠ 0) : ∃ a : Nat, PM A (a + 1) := by
  obtain ⟨a, ha⟩ := pm_exists A
  cases a with
  | zero =>
    cases ha with
    | inl e => exact absurd e h
    | inr e => exact absurd (e.trans (by lib_int)) h
  | succ a' => exact ⟨a', ha⟩

theorem q4_swap (c0 c1 c2 c3 c4 X Z : Int) : Q4 c0 c1 c2 c3 c4 X Z = Q4 c4 c3 c2 c1 c0 Z X := by
  unfold Q4; lib_int

/-- Coprime reduction from any nonzero pair. -/
theorem cop_reduce2 (c0 c1 c2 c3 c4 X0 Z0 W : Int) (hne : X0 ≠ 0 ∨ Z0 ≠ 0)
    (h : W * W = Q4 c0 c1 c2 c3 c4 X0 Z0) :
    ∃ X Z y u v : Int, u * X + v * Z = 1 ∧ y * y = Q4 c0 c1 c2 c3 c4 X Z := by
  cases hne with
  | inl hx =>
    obtain ⟨x0, hx0⟩ := pm_succ X0 hx
    exact cop_reduce c0 c1 c2 c3 c4 X0 Z0 W x0 hx0 h
  | inr hz =>
    obtain ⟨z0, hz0⟩ := pm_succ Z0 hz
    rw [q4_swap] at h
    obtain ⟨Z, X, y, v, u, hvu, hy⟩ := cop_reduce c4 c3 c2 c1 c0 Z0 X0 W z0 hz0 h
    refine ⟨X, Z, y, u, v, ?_, ?_⟩
    · rw [← hvu]; lib_int
    · rw [hy, q4_swap]

theorem two_ne : (2 : Int) ≠ 0 := fun h => Nat.noConfusion (Int.ofNat.inj h)

theorem cancel4 {A B : Int} (h : 4 * A = 4 * B) : A = B :=
  int_cancel (ofNat_ne_zero (Nat.succ_pos 3)) h

end CopReduce2

#print axioms CopReduce2.pm_succ
#print axioms CopReduce2.q4_swap
#print axioms CopReduce2.cop_reduce2
#print axioms CopReduce2.two_ne
#print axioms CopReduce2.cancel4

bsd/CoprimeSq.lean

lean_all/bsd/CoprimeSq.lean

/-
  bsd/CoprimeSq.lean — T39 (goal G289e-1): if two coprime natural numbers multiply to a square, each is a square.
    coprime_dvd_sq   gcd(a, z) = 1 and a ∣ z·z·r ⇒ a ∣ r,
    coprime_sq       gcd(a, b) = 1 and a·b = z·z ⇒ a = u·u for some u.
  Used in the second 2-descent on the coverings of E_42486 (G289e): coprime parts of c·G1·G2 = y² are squares.
  Lean 4 core plus lib/Gcd (bezout, gauss), lib/Burnside (nat_cancel), lib/Semi (lib_nat).
-/
import lib.Gcd
import lib.Burnside
import lib.Semi

namespace CoprimeSq
open LibGcd LibBurnside

/-- d ∣ a, gcd(a, z) = 1, d ∣ z·z ⇒ d = 1 -/
theorem coprime_sq_right {a z : Nat} (hc : ∀ d, d ∣ a → d ∣ z → d = 1) :
    ∀ d, d ∣ a → d ∣ z * z → d = 1 := fun d hda hdzz => by
  have hdz : ∀ e, e ∣ d → e ∣ z → e = 1 := fun e hed hez => hc e (dvd_trans' hed hda) hez
  have hdz' : d ∣ z := gauss hdz hdzz
  exact hc d hda hdz'

theorem pos_of_eq_mul {n g k : Nat} (h : n + 1 = g * k) : 0 < g := by
  cases g with
  | zero => rw [FTAChain.nzero_mul] at h; exact Nat.noConfusion h
  | succ g => exact Nat.succ_pos g

/-- **coprime factors of a square are squares** -/
theorem coprime_sq (a b z : Nat) (hc : ∀ d, d ∣ a → d ∣ b → d = 1) (h : a * b = z * z) : ∃ u, a = u * u := by
  cases a with
  | zero => exact ⟨0, rfl⟩
  | succ a' =>
    obtain ⟨g, ⟨a1, ha1⟩, ⟨z1, hz1⟩, hgmax, _⟩ := bezout (a' + 1) z
    have hg : 0 < g := pos_of_eq_mul ha1
    have ha1p : 0 < a1 := pos_of_eq_mul (show a' + 1 = a1 * g by rw [ha1]; lib_nat)
    -- gcd(a1, z1) = 1
    have hcz : ∀ d, d ∣ a1 → d ∣ z1 → d = 1 := fun d ⟨k, hk⟩ ⟨m, hm⟩ => by
      have h1 : g * d ∣ a' + 1 := ⟨k, by rw [ha1, hk]; lib_nat⟩
      have h2 : g * d ∣ z := ⟨m, by rw [hz1, hm]; lib_nat⟩
      obtain ⟨q, hq⟩ := hgmax (g * d) h1 h2
      have e : 1 * g = (d * q) * g := by rw [show (d * q) * g = g * d * q by lib_nat, ← hq]; lib_nat
      exact dvd_one' ⟨q, nat_cancel hg 1 (d * q) e⟩
    -- a1·b = g·(z1·z1)
    have hab : a1 * b * g = (g * (z1 * z1)) * g := by
      have := h
      rw [ha1, hz1] at this
      rw [show a1 * b * g = g * a1 * b by lib_nat, this]; lib_nat
    have hab' := nat_cancel hg _ _ hab
    -- a1 ∣ g
    have hdiv : a1 ∣ g * (z1 * z1) := ⟨b, hab'.symm⟩
    obtain ⟨g1, hg1⟩ := gauss (coprime_sq_right hcz) hdiv
    -- b = g1·(z1·z1)
    have hb : b * a1 = (g1 * (z1 * z1)) * a1 := by
      rw [show b * a1 = a1 * b by lib_nat, hab', hg1]; lib_nat
    have hb' := nat_cancel ha1p _ _ hb
    -- g1 divides a and b
    have hg1a : g1 ∣ a' + 1 := ⟨a1 * a1, by rw [ha1, hg1]; lib_nat⟩
    have hg1b : g1 ∣ b := ⟨z1 * z1, hb'⟩
    have e1 := hc g1 hg1a hg1b
    exact ⟨a1, by rw [ha1, hg1, e1]; lib_nat⟩

end CoprimeSq

#print axioms CoprimeSq.coprime_sq_right
#print axioms CoprimeSq.pos_of_eq_mul
#print axioms CoprimeSq.coprime_sq

bsd/CountGeneral.lean

lean_all/bsd/CountGeneral.lean

/-
  bsd/CountGeneral.lean — T39 cycle 5: the point count of y² + y + Q(x) = P(x) at every odd prime
  (hasse_H1 for every curve of this shape: 11a, 37a, 389a, 5077a, …).

  Lean 4 core plus ESChain (cntY, legV, cnt_sq, b2n_beq, ite_iff) and QRChain (rem lemmas).
  Hand proofs.

    affG_eq       #{(x,y) : y² + y + Q(x) ≡ P(x)} = Σ_x #{y : y² + y ≡ C(x)} whenever C(x) + Q(x) ≡ P(x)
    count_general for every odd prime p and all P, Q : ℕ → ℕ:
                  #E(F_p) = 1 + Σ_x (1 + (4(P(x) + (p−1)Q(x)) + 1 | p))
    count_37a, count_389a, count_5077a   the instances
-/
import ESChain

namespace CountGeneral
open FTAChain FrobChain QRChain ESChain

def affG (Q P : Nat → Nat) (p : Nat) : Nat :=
  sumTo p (fun x => sumTo p (fun y => b2n (Nat.beq (rem p (y * y + y + Q x)) (rem p (P x)))))

theorem affG_eq (m' : Nat) (Q P C : Nat → Nat) (hC : ∀ x, rem (m' + 1) (C x + Q x) = rem (m' + 1) (P x)) :
    affG Q P (m' + 1) = sumTo (m' + 1) (fun x => cntY (m' + 1) (C x)) :=
  sum_ext _ _ _ (fun x _ => sum_ext _ _ _ (fun y _ => by
    rw [b2n_beq, b2n_beq]
    apply ite_iff
    rw [← hC x]
    exact ⟨rem_cancel_add m' _ _ (Q x), rem_add_congr m' _ _ (Q x)⟩))

theorem shift_mul (m' P Q : Nat) : rem (m' + 1) ((P + m' * Q) + Q) = rem (m' + 1) P := by
  have e : P + m' * Q + Q = Q * (m' + 1) + P := by
    rw [nadd_assoc, nadd_comm P, nmul_comm m' Q]
    rfl
  rw [e]
  exact rem_add_mul m' P Q

/-- **Point count, every odd prime, every P, Q.** -/
theorem count_general (h : Nat) (hp : Pr (h + h + 1)) (Q P : Nat → Nat) :
    affG Q P (h + h + 1) + 1
      = 1 + sumTo (h + h + 1) (fun x => legV (h + h + 1) (4 * (P x + (h + h) * Q x) + 1)) := by
  rw [affG_eq (h + h) Q P (fun x => P x + (h + h) * Q x) (fun x => shift_mul (h + h) (P x) (Q x)),
    sum_ext _ _ _ (fun x _ => cnt_sq h _ hp)]
  exact nadd_comm _ _

/-- 37a: y² + y + x = x³. -/
theorem count_37a (h : Nat) (hp : Pr (h + h + 1)) :
    affG (fun x => x) (fun x => x * x * x) (h + h + 1) + 1
      = 1 + sumTo (h + h + 1) (fun x => legV (h + h + 1) (4 * (x * x * x + (h + h) * x) + 1)) :=
  count_general h hp _ _

/-- 389a: y² + y + 2x = x³ + x². -/
theorem count_389a (h : Nat) (hp : Pr (h + h + 1)) :
    affG (fun x => 2 * x) (fun x => x * x * x + x * x) (h + h + 1) + 1
      = 1 + sumTo (h + h + 1) (fun x => legV (h + h + 1) (4 * (x * x * x + x * x + (h + h) * (2 * x)) + 1)) :=
  count_general h hp _ _

/-- 5077a: y² + y + 7x = x³ + 6. -/
theorem count_5077a (h : Nat) (hp : Pr (h + h + 1)) :
    affG (fun x => 7 * x) (fun x => x * x * x + 6) (h + h + 1) + 1
      = 1 + sumTo (h + h + 1) (fun x => legV (h + h + 1) (4 * (x * x * x + 6 + (h + h) * (7 * x)) + 1)) :=
  count_general h hp _ _

end CountGeneral

#print axioms CountGeneral.affG_eq
#print axioms CountGeneral.shift_mul
#print axioms CountGeneral.count_general
#print axioms CountGeneral.count_37a
#print axioms CountGeneral.count_389a
#print axioms CountGeneral.count_5077a

bsd/CountModel.lean

lean_all/bsd/CountModel.lean

/-
  bsd/CountModel.lean — T39 cycle 7: the point count of a general Weierstrass model at every odd prime
  (hasse_H1 with a₁, a₃: y² + (a₁x + a₃)y = f(x)).

  Lean 4 core plus bsd/CountGeneral (ESChain, QRChain, FrobChain, FTAChain). Hand proofs.

    rot_one, rot          Σ_{y<p} g(⟨y + s⟩) = Σ_{y<p} g(y): a shift of residues is a bijection
    legV_congr            (d | p) depends only on d mod p
    two_inv               2s + 1 ≡ B (mod p) for s = (h+1)(B + 2h), p = 2h + 1
    cntB_eq               #{y : y² + B y ≡ c} = 1 + (4c + B² | p), every odd prime, every B, c
    count_model           #E(F_p) = 1 + Σ_x (1 + (4(P(x) + (p−1)Q(x)) + B(x)² | p)) for
                          y² + B(x) y + Q(x) = P(x) (B(x) = a₁x + a₃; Q, P carry the cubic)
-/
import bsd.CountGeneral

namespace CountModel
open FTAChain FrobChain QRChain ESChain CountGeneral

/-! ## Rotating residues -/

theorem sum_front (f : Nat → Nat) : ∀ n, sumTo (n + 1) f = f 0 + sumTo n (fun y => f (y + 1))
  | 0 => by show 0 + f 0 = f 0 + 0; rw [nadd_comm]
  | n + 1 => by
    show sumTo (n + 1) f + f (n + 1) = f 0 + (sumTo n (fun y => f (y + 1)) + f (n + 1))
    rw [sum_front f n, nadd_assoc]

/-- Shift by one: Σ_{y<p} g(⟨y+1⟩) = Σ_{y<p} g(y). -/
theorem rot_one (m' : Nat) (g : Nat → Nat) :
    sumTo (m' + 1) (fun y => g (rem (m' + 1) (y + 1))) = sumTo (m' + 1) g := by
  rw [sum_front g m']
  show sumTo m' (fun y => g (rem (m' + 1) (y + 1))) + g (rem (m' + 1) (m' + 1)) = _
  have e0 : rem (m' + 1) (m' + 1) = 0 := by
    have := rem_add_mul m' 0 1
    rw [Nat.one_mul, Nat.add_zero] at this
    rw [this]; rfl
  rw [e0, nadd_comm]
  congr 1
  exact sum_ext _ _ _ (fun y hy => by rw [rem_of_lt m' (y + 1) (Nat.succ_lt_succ hy)])

theorem rem_rem_add (m' a b : Nat) : rem (m' + 1) (rem (m' + 1) a + b) = rem (m' + 1) (a + b) :=
  rem_add_congr m' _ _ b (rem_idem m' a)

theorem sum_rem (m' : Nat) (g : Nat → Nat) :
    sumTo (m' + 1) (fun y => g (rem (m' + 1) y)) = sumTo (m' + 1) g :=
  sum_ext _ _ _ (fun y hy => by rw [rem_of_lt m' y hy])

/-- Shift by s. -/
theorem rot (m' : Nat) : ∀ (s : Nat) (g : Nat → Nat),
    sumTo (m' + 1) (fun y => g (rem (m' + 1) (y + s))) = sumTo (m' + 1) g
  | 0, g => sum_rem m' g
  | s + 1, g => by
    have e : ∀ y, g (rem (m' + 1) (y + (s + 1))) = (fun z => g (rem (m' + 1) (z + 1))) (rem (m' + 1) (y + s)) := by
      intro y; show _ = g (rem (m' + 1) (rem (m' + 1) (y + s) + 1)); rw [rem_rem_add]; rfl
    rw [sum_ext _ _ _ (fun y _ => e y), rot m' s (fun z => g (rem (m' + 1) (z + 1))), rot_one]

/-! ## The Legendre symbol sees residues only -/

theorem sqS_congr (m a b : Nat) (h : rem m a = rem m b) : ∀ n, sqS m a n = sqS m b n
  | 0 => by show Nat.beq (rem m (0 * 0)) (rem m a) = Nat.beq (rem m (0 * 0)) (rem m b); rw [h]
  | n + 1 => by
    show (sqS m a n || Nat.beq (rem m ((n + 1) * (n + 1))) (rem m a))
      = (sqS m b n || Nat.beq (rem m ((n + 1) * (n + 1))) (rem m b))
    rw [sqS_congr m a b h n, h]

theorem legV_congr (p a b : Nat) (h : rem p a = rem p b) : legV p a = legV p b := by
  unfold legV legB
  rw [h, sqS_congr p a b h p]

/-! ## Completing the square with a shift -/

theorem succ_add_succ (h : Nat) : (h + 1) + (h + 1) = h + h + 1 + 1 := by
  rw [Nat.succ_add]; rfl

/-- 2s + 1 = (B + 2h + 1)(2h + 1) + B for s = (h+1)(B + 2h). -/
theorem two_inv_eq (h B : Nat) :
    (h + 1) * (B + (h + h)) + (h + 1) * (B + (h + h)) + 1 = (B + (h + h) + 1) * (h + h + 1) + B := by
  have l : (h + 1) * (B + (h + h)) + (h + 1) * (B + (h + h))
      = (h + h + 1) * (B + (h + h)) + (B + (h + h)) := by
    rw [← nright_distrib, succ_add_succ, Nat.succ_mul]
  have r : (B + (h + h) + 1) * (h + h + 1) = (h + h + 1) * (B + (h + h)) + (h + h + 1) := by
    rw [nmul_comm, Nat.mul_succ]
  have m : B + (h + h) + 1 = h + h + 1 + B := by
    rw [nadd_assoc, nadd_comm]
  rw [l, r, nadd_assoc, m, ← nadd_assoc]

theorem two_inv (h B : Nat) :
    rem (h + h + 1) ((h + 1) * (B + (h + h)) + (h + 1) * (B + (h + h)) + 1) = rem (h + h + 1) B := by
  rw [two_inv_eq]
  exact rem_add_mul (h + h) B (B + (h + h) + 1)

/-- (y+s)² + (y+s) = y² + (2s+1) y + (s² + s). -/
theorem shift_square (y s : Nat) :
    (y + s) * (y + s) + (y + s) = y * y + (s + s + 1) * y + (s * s + s) := by
  rw [sq_expand, nleft_distrib s y (y + s), nleft_distrib s y s, nright_distrib (s + s) 1 y,
    nright_distrib s s y, Nat.one_mul, nmul_comm s y]
  generalize y * y = Y
  generalize y * s = A
  generalize s * s = S2
  -- Y + (A + (A + S2)) + (y + s) = Y + (A + A + y) + (S2 + s)
  have l : Y + (A + (A + S2)) + (y + s) = Y + (A + (A + (y + (S2 + s)))) := by
    rw [nadd_assoc Y, nadd_assoc A, nadd_assoc A, ← nadd_assoc S2 y s, nadd_comm S2 y, nadd_assoc y]
  have r : Y + (A + A + y) + (S2 + s) = Y + (A + (A + (y + (S2 + s)))) := by
    rw [nadd_assoc Y, nadd_assoc (A + A), nadd_assoc A]
  rw [l, r]

def cntB (p B c : Nat) : Nat := sumTo p (fun y => b2n (Nat.beq (rem p (y * y + B * y)) (rem p c)))

/-- **#{y : y² + By ≡ c} = 1 + (4c + B² | p)**, every odd prime p, every B, c. -/
theorem cntB_eq (h : Nat) (hp : Pr (h + h + 1)) (B c : Nat) :
    cntB (h + h + 1) B c = legV (h + h + 1) (4 * c + B * B) := by
  let s := (h + 1) * (B + (h + h))
  let c' := c + (s * s + s)
  have hs : rem (h + h + 1) (s + s + 1) = rem (h + h + 1) B := two_inv h B
  -- per y: the shifted equation
  have per : ∀ y, b2n (Nat.beq (rem (h + h + 1) (y * y + B * y)) (rem (h + h + 1) c))
      = b2n (Nat.beq (rem (h + h + 1) (rem (h + h + 1) (y + s) * rem (h + h + 1) (y + s) + rem (h + h + 1) (y + s)))
          (rem (h + h + 1) c')) := by
    intro y
    have e1 : rem (h + h + 1) (rem (h + h + 1) (y + s) * rem (h + h + 1) (y + s) + rem (h + h + 1) (y + s))
        = rem (h + h + 1) (y * y + B * y + (s * s + s)) := by
      rw [rem_add_congr2 (h + h) _ ((y + s) * (y + s)) _ (y + s)
          (rem_mul_congr2 (h + h) _ _ _ _ (rem_idem (h + h) _) (rem_idem (h + h) _)) (rem_idem (h + h) _),
        shift_square]
      exact rem_add_congr (h + h) _ _ _ (rem_add_congr' (h + h) _ _ (y * y) (rem_mul_congr (h + h) _ _ y hs))
    rw [e1, b2n_beq, b2n_beq]
    apply ite_iff
    exact ⟨fun e => rem_add_congr (h + h) _ _ _ e, fun e => rem_cancel_add (h + h) _ _ _ e⟩
  unfold cntB
  rw [sum_ext _ _ _ (fun y _ => per y),
    rot (h + h) s (fun z => b2n (Nat.beq (rem (h + h + 1) (z * z + z)) (rem (h + h + 1) c')))]
  show cntY (h + h + 1) c' = _
  rw [cnt_sq h c' hp]
  apply legV_congr
  -- 4c' + 1 = 4c + (2s+1)² ≡ 4c + B²
  have e2 : 4 * c' + 1 = 4 * c + (s + s + 1) * (s + s + 1) := by
    rw [odd_sq]
    show 4 * (c + (s * s + s)) + 1 = 4 * c + (4 * (s * s + s) + 1)
    rw [nleft_distrib, nadd_assoc]
  rw [e2]
  exact rem_add_congr' (h + h) _ _ (4 * c) (rem_mul_congr2 (h + h) _ _ _ _ hs hs)

/-! ## The general model -/

/-- Affine solutions of y² + B(x) y + Q(x) ≡ P(x). -/
def affM (B Q P : Nat → Nat) (p : Nat) : Nat :=
  sumTo p (fun x => sumTo p (fun y => b2n (Nat.beq (rem p (y * y + B x * y + Q x)) (rem p (P x)))))

/-- **Point count of a general model, every odd prime.** With B(x) = a₁x + a₃ and the cubic split
    as P − Q (both with nonnegative coefficients):
    #E(F_p) = 1 + Σ_x (1 + (4(P(x) + (p−1)Q(x)) + B(x)² | p)). -/
theorem count_model (h : Nat) (hp : Pr (h + h + 1)) (B Q P : Nat → Nat) :
    affM B Q P (h + h + 1) + 1
      = 1 + sumTo (h + h + 1) (fun x => legV (h + h + 1) (4 * (P x + (h + h) * Q x) + B x * B x)) := by
  have e : ∀ x, sumTo (h + h + 1) (fun y => b2n (Nat.beq (rem (h + h + 1) (y * y + B x * y + Q x)) (rem (h + h + 1) (P x))))
      = cntB (h + h + 1) (B x) (P x + (h + h) * Q x) := by
    intro x
    unfold cntB
    apply sum_ext
    intro y _
    rw [b2n_beq, b2n_beq]
    apply ite_iff
    rw [← shift_mul (h + h) (P x) (Q x)]
    exact ⟨rem_cancel_add (h + h) _ _ (Q x), rem_add_congr (h + h) _ _ (Q x)⟩
  unfold affM
  rw [sum_ext _ _ _ (fun x _ => e x), sum_ext _ _ _ (fun x _ => cntB_eq h hp (B x) _)]
  exact nadd_comm _ _

/-- 14a: y² + xy + y = x³ + 4x − 6, i.e. B = x + 1, Q = 6, P = x³ + 4x. -/
theorem count_14a (h : Nat) (hp : Pr (h + h + 1)) :
    affM (fun x => x + 1) (fun _ => 6) (fun x => x * x * x + 4 * x) (h + h + 1) + 1
      = 1 + sumTo (h + h + 1) (fun x => legV (h + h + 1)
          (4 * (x * x * x + 4 * x + (h + h) * 6) + (x + 1) * (x + 1))) :=
  count_model h hp _ _ _

end CountModel

#print axioms CountModel.sum_front
#print axioms CountModel.rot_one
#print axioms CountModel.rem_rem_add
#print axioms CountModel.sum_rem
#print axioms CountModel.rot
#print axioms CountModel.sqS_congr
#print axioms CountModel.legV_congr
#print axioms CountModel.succ_add_succ
#print axioms CountModel.two_inv_eq
#print axioms CountModel.two_inv
#print axioms CountModel.shift_square
#print axioms CountModel.cntB_eq
#print axioms CountModel.count_model
#print axioms CountModel.count_14a

bsd/Cover5None.lean

lean_all/bsd/Cover5None.lean

/-
  bsd/Cover5None.lean — T39 (goal G289e-5): the 2-covering C5 of E_42486 (Sha[2] candidate class (1, 73)),
      y² = −582·G1(X, Z)·G2(X, Z),   G1 = 3X² − 16XZ − 3Z²,   G2 = 4X² + 3XZ − 4Z²,
  has no point with X, Z coprime integers.
  Second descent: write G2 = ±g·u², −582·G1 = ±g·w² (g = gcd, sq_split); g ∣ 42486 = 97·438 (ResDiv);
    if 97 ∤ g then 97 ∣ G1 and G2 ≡ ±g·u² is a square mod 97;
    if g = 97·g′ then 97 ∣ G2 and −6·G1 ≡ ±g′·w² is a square mod 97;
  every ±divisor of 438 = 2·3·73 is a square mod 97 (table div438), and the residue tables tab5a, tab5b show that
  both cases force X ≡ Z ≡ 0 (mod 97), contradicting coprimality.
  Lean 4 core plus lib/Gcd, lib/ModN, lib/Semi and bsd/SqRes, bsd/ResDiv, bsd/DivSplit, bsd/IntDivMod.
-/
import bsd.SqRes
import bsd.ResDiv
import bsd.DivSplit
import bsd.IntDivMod

set_option maxRecDepth 100000

namespace Cover5None
open LibGcd LibInt LibBurnside Res97b SqRes

/-! ## Identities with symbolic constants (numeric facts by rfl; keeps lib_int coefficients small) -/

theorem mul3 (a b c P Q : Int) (e : a * b = c) : Q * (a * (b * P)) = c * P * Q := by
  rw [← e]; lib_int

theorem key4 (a b k P Q c d : Int) (e : a * b = -k) : -c * (a * (b * P)) + k * d * Q = k * (c * P + d * Q) := by
  have h1 : -c * (a * (b * P)) = -c * (a * b) * P := by lib_int
  rw [h1, e]; lib_int

theorem key4p (a b k P Q c d : Int) (e : a * b = k) : c * (a * (b * P)) + k * d * Q = k * (c * P + d * Q) := by
  have h1 : c * (a * (b * P)) = c * (a * b) * P := by lib_int
  rw [h1, e]; lib_int

theorem scale (a b m W : Int) (e : a * b = m) : a * (b * W) = m * W := by
  rw [← e]; lib_int

theorem lin1 (k m P G : Int) (e : k * m + P = 1) : G = k * (m * G) + P * G := by
  calc G = 1 * G := by lib_int
    _ = (k * m + P) * G := by rw [e]
    _ = k * (m * G) + P * G := by lib_int

theorem lin2 (k m P r G : Int) (e : k * m - P * r = 1) : G = k * (m * G) - P * (r * G) := by
  calc G = 1 * G := by lib_int
    _ = (k * m - P * r) * G := by rw [e]
    _ = k * (m * G) - P * (r * G) := by lib_int

/-! ## Tables -/

def row5a (x z : Nat) : Bool := imp (Nat.beq (g2_97 x z) 0) (imp (isSq 97 (m6g1_97 x z)) (Nat.beq (x + z) 0))
def row5b (x z : Nat) : Bool := imp (Nat.beq (g1_97 x z) 0) (imp (isSq 97 (g2_97 x z)) (Nat.beq (x + z) 0))

theorem tab5a_ok : allBelow (fun x => allBelow (fun z => row5a x z) 97) 97 = true := rfl
theorem tab5b_ok : allBelow (fun x => allBelow (fun z => row5b x z) 97) 97 = true := rfl

theorem prime97_ok : allBelow (fun k => imp (Nat.beq (97 % k) 0) (Nat.beq k 1 || Nat.beq k 97)) (97 + 1) = true := rfl

theorem div438_ok :
    allBelow (fun k => imp (Nat.beq (438 % k) 0) (isSq 97 (k % 97) && isSq 97 (k * 96 % 97))) (438 + 1) = true := rfl

theorem prime97 : ∀ d, d ∣ 97 → d = 1 ∨ d = 97 := fun d hd => by
  have h : (Nat.beq d 1 || Nat.beq d 97) = true :=
    dvd_tab 97 (Nat.succ_pos 96) (fun k => Nat.beq k 1 || Nat.beq k 97) prime97_ok d hd
  cases or_cases h with
  | inl h1 => exact Or.inl (LibMod.beq_true h1)
  | inr h2 => exact Or.inr (LibMod.beq_true h2)

theorem div438 (k : Nat) (hk : k ∣ 438) : isSq 97 (k % 97) = true ∧ isSq 97 (k * 96 % 97) = true := by
  have h : (isSq 97 (k % 97) && isSq 97 (k * 96 % 97)) = true :=
    dvd_tab 438 (Nat.succ_pos 437) (fun k => isSq 97 (k % 97) && isSq 97 (k * 96 % 97)) div438_ok k hk
  exact ⟨and_left h, and_right h⟩

theorem row_a (x z : Nat) (hx : x < 97) (hz : z < 97) : row5a x z = true :=
  all_below (fun z => row5a x z) 97 z
    (all_below (fun x => allBelow (fun z => row5a x z) 97) 97 x tab5a_ok hx) hz

theorem row_b (x z : Nat) (hx : x < 97) (hz : z < 97) : row5b x z = true :=
  all_below (fun z => row5b x z) 97 z
    (all_below (fun x => allBelow (fun z => row5b x z) 97) 97 x tab5b_ok hx) hz

theorem beq0 {n : Nat} (h : n = 0) : Nat.beq n 0 = true := by rw [h]; exact LibMod.beq_self 0

/-! ## Residues of the forms -/

theorem res_g2 (X Z qx qz : Int) (rx rz : Nat) (hX : X = Int.ofNat 97 * qx + Int.ofNat rx)
    (hZ : Z = Int.ofNat 97 * qz + Int.ofNat rz) :
    IDv (Int.ofNat 97) (ResDiv.G2 X Z - Int.ofNat (g2_97 rx rz)) := by
  have e : ResDiv.G2 X Z = QuadShift.Q 4 3 (-4) X Z := by
    show 4 * X * X + 3 * X * Z - 4 * Z * Z = (4 : Int) * X * X + 3 * X * Z + (-4) * Z * Z
    lib_int
  rw [e, hX, hZ]
  exact quad_res 97 (Nat.succ_pos 96) 4 3 (-4) 0 0 1 4 3 93 rfl rfl rfl qx qz rx rz

theorem res_g1 (X Z qx qz : Int) (rx rz : Nat) (hX : X = Int.ofNat 97 * qx + Int.ofNat rx)
    (hZ : Z = Int.ofNat 97 * qz + Int.ofNat rz) :
    IDv (Int.ofNat 97) (ResDiv.G1 X Z - Int.ofNat (g1_97 rx rz)) := by
  have e : ResDiv.G1 X Z = QuadShift.Q 3 (-16) (-3) X Z := by
    show 3 * X * X - 16 * X * Z - 3 * Z * Z = (3 : Int) * X * X + (-16) * X * Z + (-3) * Z * Z
    lib_int
  rw [e, hX, hZ]
  exact quad_res 97 (Nat.succ_pos 96) 3 (-16) (-3) 0 1 1 3 81 94 rfl rfl rfl qx qz rx rz

theorem res_m6g1 (X Z qx qz : Int) (rx rz : Nat) (hX : X = Int.ofNat 97 * qx + Int.ofNat rx)
    (hZ : Z = Int.ofNat 97 * qz + Int.ofNat rz) :
    IDv (Int.ofNat 97) (-6 * ResDiv.G1 X Z - Int.ofNat (m6g1_97 rx rz)) := by
  have e : -6 * ResDiv.G1 X Z = QuadShift.Q (-18) 96 18 X Z := by
    show -6 * (3 * X * X - 16 * X * Z - 3 * Z * Z) = (-18 : Int) * X * X + 96 * X * Z + 18 * Z * Z
    lib_int
  rw [e, hX, hZ]
  exact quad_res 97 (Nat.succ_pos 96) (-18) 96 18 1 0 0 79 96 18 rfl rfl rfl qx qz rx rz

/-! ## Coprimality -/

theorem not_both_zero (X Z u v qx qz : Int) (rx rz : Nat) (huv : u * X + v * Z = 1)
    (hX : X = Int.ofNat 97 * qx + Int.ofNat rx) (hZ : Z = Int.ofNat 97 * qz + Int.ofNat rz)
    (h : rx + rz = 0) : False := by
  obtain ⟨ex, ez⟩ := nat_add_zero h
  rw [ex] at hX
  rw [ez] at hZ
  have h1 : IDv (Int.ofNat 97) (Int.ofNat 1) := ⟨u * qx + v * qz, by
    have e1 : u * X + v * Z = Int.ofNat 97 * (u * qx + v * qz) := by
      rw [hX, hZ]
      show u * ((97 : Int) * qx + 0) + v * ((97 : Int) * qz + 0) = (97 : Int) * (u * qx + v * qz)
      lib_int
    exact huv.symm.trans e1⟩
  have h2 : 97 = 1 := dvd_one' (idv_nat h1)
  exact Nat.noConfusion (Nat.succ.inj (h2 : Nat.succ 96 = Nat.succ 0) : Nat.succ 95 = 0)

/-- 97 ∣ −6·G ⇒ 97 ∣ G -/
theorem idv_of_m6 (G : Int) (h : IDv (Int.ofNat 97) (-6 * G)) : IDv (Int.ofNat 97) G := by
  obtain ⟨c, hc⟩ := h
  have d : ∀ q : Int, 16 * (q * c) + q * G = q * (16 * c + G) := fun q => by lib_int
  exact ⟨16 * c + G, by
    calc G = 16 * (-6 * G) + Int.ofNat 97 * G := lin1 16 (-6) (Int.ofNat 97) G rfl
      _ = 16 * (Int.ofNat 97 * c) + Int.ofNat 97 * G := by rw [hc]
      _ = Int.ofNat 97 * (16 * c + G) := d (Int.ofNat 97)⟩

theorem res_zero {T : Int} {r : Nat} (hr : r < 97) (h1 : IDv (Int.ofNat 97) (T - Int.ofNat r))
    (h2 : IDv (Int.ofNat 97) T) : r = 0 :=
  res_eq 97 r 0 hr (Nat.succ_pos 96) T h1 (idv_sub_zero h2)

/-! ## The covering -/

/-- **C5 : y² = −582·G1(X, Z)·G2(X, Z) has no solution with X, Z coprime** -/
theorem cover5_none (X Z y u v : Int) (huv : u * X + v * Z = 1)
    (h : y * y = -582 * ResDiv.G1 X Z * ResDiv.G2 X Z) : False := by
  have hp : 0 < 97 := Nat.succ_pos 96
  obtain ⟨qx, rx, hrx, hX⟩ := IntDivMod.int_divmod 97 hp X
  obtain ⟨qz, rz, hrz, hZ⟩ := IntDivMod.int_divmod 97 hp Z
  have r2 := res_g2 X Z qx qz rx rz hX hZ
  have r1 := res_g1 X Z qx qz rx rz hX hZ
  have r6 := res_m6g1 X Z qx qz rx rz hX hZ
  -- signs and the square split
  obtain ⟨a, ha⟩ := pm_exists (ResDiv.G2 X Z)
  obtain ⟨t, ht⟩ := pm_exists (-6 * ResDiv.G1 X Z)
  obtain ⟨n, hn⟩ := pm_exists y
  have hB : PM (97 * (-6 * ResDiv.G1 X Z)) (97 * t) := pm_mul (Or.inl rfl) ht
  have hAB : ResDiv.G2 X Z * (97 * (-6 * ResDiv.G1 X Z)) = y * y := by
    rw [mul3 97 (-6) (-582) _ _ rfl, h]
  obtain ⟨g, u', w', hag, hbg⟩ := sq_split a (97 * t) n (pm_nat_sq ha hB hn hAB)
  -- g ∣ 42486
  have hgA : IDv (Int.ofNat g) (ResDiv.G2 X Z) := pm_dvd ha ⟨u' * u', hag⟩
  have hgB : IDv (Int.ofNat g) (97 * (-6 * ResDiv.G1 X Z)) := pm_dvd hB ⟨w' * w', hbg⟩
  have hx := idv_lin hgB hgA (-(3 * X - 4 * Z)) (582 * (16 * X + 3 * Z))
  rw [key4 97 (-6) 582 _ _ _ _ rfl, ResDiv.c5_res_x, scale 582 73 42486 _ rfl] at hx
  have hz := idv_lin hgB hgA (-(-4 * X - 3 * Z)) (582 * (3 * X - 16 * Z))
  rw [key4 97 (-6) 582 _ _ _ _ rfl, ResDiv.c5_res_z, scale 582 73 42486 _ rfl] at hz
  have hgN : g ∣ 97 * 438 := idv_nat (ResDiv.dvd_of_cubes X Z u v (Int.ofNat g) 42486 huv hx hz)
  cases DivSplit.dvd_prime_mul prime97 hp hgN with
  | inl hg438 =>
    -- 97 ∤ g: 97 ∣ w′, so 97 ∣ G1, and G2 = ±g·u′² is a square mod 97
    have h97 : 97 ∣ g * (w' * w') := ⟨t, hbg.symm⟩
    have hw : 97 ∣ w' := by
      cases euclid_prime prime97 h97 with
      | inl h97g =>
        have h0 : 438 % 97 = 0 := ModLink.mod_of_dvd 97 hp 438 (dvd_trans' h97g hg438)
        exact Nat.noConfusion (h0 : Nat.succ 49 = 0)
      | inr h97w =>
        cases euclid_prime prime97 h97w with
        | inl h' => exact h'
        | inr h' => exact h'
    obtain ⟨w1, hw1⟩ := hw
    have et : t * 97 = (97 * (g * (w1 * w1))) * 97 := by
      rw [show t * 97 = 97 * t by lib_nat, hbg, hw1]; lib_nat
    have ht97 : IDv (Int.ofNat 97) (-6 * ResDiv.G1 X Z) := pm_dvd ht ⟨g * (w1 * w1), nat_cancel hp _ _ et⟩
    have hg1 : g1_97 rx rz = 0 := res_zero (Nat.mod_lt _ hp) r1 (idv_of_m6 _ ht97)
    rw [hag] at ha
    obtain ⟨S, hS⟩ := sq_of_pm 97 96 rfl _ g u' (div438 g hg438).1 (div438 g hg438).2 ha
    have hsq : isSq 97 (g2_97 rx rz) = true := isSq_of 97 hp _ S _ (Nat.mod_lt _ hp) hS r2
    have hrow := row_b rx rz hrx hrz
    exact not_both_zero X Z u v qx qz rx rz huv hX hZ
      (LibMod.beq_true (imp_mp (imp_mp hrow (beq0 hg1)) hsq))
  | inr hg97 =>
    -- g = 97·g′: 97 ∣ G2, and −6·G1 = ±g′·w′² is a square mod 97
    obtain ⟨g', hg, hg'⟩ := hg97
    have hA97 : IDv (Int.ofNat 97) (ResDiv.G2 X Z) := pm_dvd ha ⟨g' * (u' * u'), by rw [hag, hg]; lib_nat⟩
    have hg2 : g2_97 rx rz = 0 := res_zero (Nat.mod_lt _ hp) r2 hA97
    have et : t * 97 = (g' * (w' * w')) * 97 := by
      rw [show t * 97 = 97 * t by lib_nat, hbg, hg]; lib_nat
    rw [nat_cancel hp _ _ et] at ht
    obtain ⟨S, hS⟩ := sq_of_pm 97 96 rfl _ g' w' (div438 g' hg').1 (div438 g' hg').2 ht
    have hsq : isSq 97 (m6g1_97 rx rz) = true := isSq_of 97 hp _ S _ (Nat.mod_lt _ hp) hS r6
    have hrow := row_a rx rz hrx hrz
    exact not_both_zero X Z u v qx qz rx rz huv hX hZ
      (LibMod.beq_true (imp_mp (imp_mp hrow (beq0 hg2)) hsq))

end Cover5None

#print axioms Cover5None.mul3
#print axioms Cover5None.key4
#print axioms Cover5None.key4p
#print axioms Cover5None.scale
#print axioms Cover5None.lin1
#print axioms Cover5None.lin2
#print axioms Cover5None.tab5a_ok
#print axioms Cover5None.tab5b_ok
#print axioms Cover5None.prime97_ok
#print axioms Cover5None.div438_ok
#print axioms Cover5None.prime97
#print axioms Cover5None.div438
#print axioms Cover5None.row_a
#print axioms Cover5None.row_b
#print axioms Cover5None.beq0
#print axioms Cover5None.res_g2
#print axioms Cover5None.res_g1
#print axioms Cover5None.res_m6g1
#print axioms Cover5None.not_both_zero
#print axioms Cover5None.idv_of_m6
#print axioms Cover5None.res_zero
#print axioms Cover5None.cover5_none

bsd/Cover6None.lean

lean_all/bsd/Cover6None.lean

/-
  bsd/Cover6None.lean — T39 (goal G289e-6e): the 2-covering C6 of E_42486 (third Sha[2] candidate coset, class (−1, −6)),
      y² = −24·K1(X, Z)·K2(X, Z),   K1 = 30X² − 59XZ − 30Z²,   K2 = 59X² + 120XZ − 59Z²,
  has no point with X, Z coprime integers.
  Here 73 divides Res(K1, K2) = −7081², and modulo 73 both forms are multiples of one square:
      K2 ≡ 59·(X − 46Z)²  (mod 73),   59 a non-square mod 73.
  Write K2 = ±g·u², −24·K1 = ±g·w² (g = gcd, sq_split); g ∣ 169944 = 73·2³·3·97 (resultant identities).
    if 73 ∤ g: ±g is a square mod 73 (every ±divisor of 2³·3·97 is), so K2 is a square mod 73, X ≡ 46Z, and
      K2(46Z + 73t, Z) = 73·M2,  M2 = 1785Z² + 73(76tZ + 59t²) ≡ 33·Z² (mod 73);  73 ∣ u, so 73 ∣ M2;
    if g = 73·g′: M2 = ±g′·u² is a square mod 73;
  and 33·Z² is a square mod 73 only for 73 ∣ Z (33 is a non-square), so X ≡ Z ≡ 0 (mod 73), contradicting coprimality.
  Lean 4 core plus bsd/SqRes, bsd/ResDiv, bsd/DivSplit, bsd/DivBits, bsd/SqMod, bsd/CopReduce, bsd/IntDivMod,
  bsd/Cover5None (prime97), bsd/Cover7None (prime73, not_both_zero).
-/
import bsd.SqRes
import bsd.ResDiv
import bsd.DivSplit
import bsd.DivBits
import bsd.SqMod
import bsd.CopReduce
import bsd.QuartGen
import bsd.IntDivMod
import bsd.Cover5None
import bsd.Cover7None

set_option maxRecDepth 100000

namespace Cover6None
open LibGcd LibInt LibBurnside Res97b SqRes SqMod DivBits

def K1 (X Z : Int) : Int := 30 * X * X - 59 * X * Z - 30 * Z * Z
def K2 (X Z : Int) : Int := 59 * X * X + 120 * X * Z - 59 * Z * Z
def M2 (Z t : Int) : Int := 1785 * Z * Z + Int.ofNat 73 * (76 * t * Z + 59 * t * t)

/-! ## Identities with symbolic constants (numeric facts by rfl; keeps lib_int coefficients small) -/

theorem sq_split_gen (a b c p d f k X Z : Int) (e1 : 2 * a * k + p * d = b) (e2 : a * k * k - p * f = c) :
    a * X * X + b * X * Z + c * Z * Z = a * (X + k * Z) * (X + k * Z) + p * (d * X * Z - f * Z * Z) := by
  have h : a * (X + k * Z) * (X + k * Z) + p * (d * X * Z - f * Z * Z)
      = a * X * X + (2 * a * k + p * d) * X * Z + (a * k * k - p * f) * Z * Z := by lib_int
  rw [h, e1, e2]

theorem quad_shift (a b c s p t Z A B : Int) (e1 : a * s * s + b * s + c = p * A) (e2 : 2 * a * s + b = p * B) :
    a * (s * Z + p * t) * (s * Z + p * t) + b * (s * Z + p * t) * Z + c * Z * Z
      = p * (A * Z * Z + p * (B * t * Z + a * t * t)) := by
  have h : a * (s * Z + p * t) * (s * Z + p * t) + b * (s * Z + p * t) * Z + c * Z * Z
      = (a * s * s + b * s + c) * Z * Z + p * ((2 * a * s + b) * t * Z + p * (a * t * t)) := by lib_int
  rw [h, e1, e2]; lib_int

theorem form3 (m a b c a' b' c' X Z : Int) (ea : m * a = a') (eb : m * (-b) = b') (ec : m * (-c) = c') :
    m * (a * X * X - b * X * Z - c * Z * Z) = a' * X * X + b' * X * Z + c' * Z * Z := by
  rw [← ea, ← eb, ← ec]; lib_int

theorem cub_fin (c0 c1 c2 c3 k X Z : Int) (e0 : c0 = k) (e1 : c1 = 0) (e2 : c2 = 0) (e3 : c3 = 0) :
    c0 * (X * X * X) + c1 * (X * X * Z) + c2 * (X * Z * Z) + c3 * (Z * Z * Z) = k * (X * X * X) := by
  rw [e0, e1, e2, e3]; lib_int

theorem cub_finz (c0 c1 c2 c3 k X Z : Int) (e0 : c0 = 0) (e1 : c1 = 0) (e2 : c2 = 0) (e3 : c3 = k) :
    c0 * (X * X * X) + c1 * (X * X * Z) + c2 * (X * Z * Z) + c3 * (Z * Z * Z) = k * (Z * Z * Z) := by
  rw [e0, e1, e2, e3]; lib_int

theorem back_shift (X Z q s k p : Int) (e : s + k = p) (hL : X + k * Z = p * q + Int.ofNat 0) :
    X = s * Z + p * (q - Z) := by
  have h : X = (X + k * Z) - k * Z := by lib_int
  rw [h, hL, ← e]; lib_int

theorem cancel_m2 (A p B a t Z : Int) :
    A * Z * Z + p * (B * t * Z + a * t * t) + p * (-(B * t * Z + a * t * t)) = A * Z * Z := by lib_int

theorem lin_z (u v s p w q Z : Int) (hZ : Z = p * q + Int.ofNat 0) :
    u * (s * Z + p * w) + v * Z = p * (u * (s * q + w) + v * q) := by
  rw [hZ]; lib_int

theorem add_back (a q d f X Z : Int) :
    a + q * (-d * X * Z - f * Z * Z) + q * (d * X * Z + f * Z * Z) = a := by lib_int

theorem sub_neg3 (a b c X Z : Int) : a * X * X + b * X * Z - c * Z * Z = a * X * X + b * X * Z + -c * Z * Z := by lib_int

theorem diag3 (c Z : Int) : c * Z * Z = 0 * Z * Z + 0 * Z * Z + c * Z * Z := by lib_int

theorem diag1 (a L w : Int) (hw : w = 0) : a * L * L = a * L * L + 0 * L * w + 0 * w * w := by
  rw [hw]; lib_int

theorem pp_nat (p g u1 : Nat) : p * (p * (g * (u1 * u1))) = g * ((p * u1) * (p * u1)) := by lib_nat

theorem k1_form (X Z : Int) : -24 * K1 X Z = -720 * X * X + 1416 * X * Z + 720 * Z * Z := by
  unfold K1; exact form3 (-24) 30 59 30 (-720) 1416 720 X Z rfl rfl rfl
theorem k2_form (X Z : Int) : K2 X Z = 59 * X * X + 120 * X * Z + -59 * Z * Z := by unfold K2; exact sub_neg3 59 120 59 X Z

/-! ## Residue tables mod 73 (one variable each) -/

def l59 (l : Nat) : Nat := (59 * l * l + 0 * l * 0 + 0 * 0 * 0) % 73
def z33 (z : Nat) : Nat := (0 * z * z + 0 * z * z + 33 * z * z) % 73

def rowL (l : Nat) : Bool := imp (isSq 73 (l59 l)) (Nat.beq l 0)
def rowZ (z : Nat) : Bool := imp (isSq 73 (z33 z)) (Nat.beq z 0)

theorem tabL_ok : allBelow rowL 73 = true := rfl
theorem tabZ_ok : allBelow rowZ 73 = true := rfl

/-- K2 = 59·(X + 27Z)² + 73·(−42XZ − 590Z²) -/
theorem k2_split (X Z : Int) :
    K2 X Z = 59 * (X + 27 * Z) * (X + 27 * Z) + Int.ofNat 73 * (-42 * X * Z - 590 * Z * Z) := by
  rw [k2_form]; exact sq_split_gen 59 120 (-59) (Int.ofNat 73) (-42) 590 27 X Z rfl rfl

theorem res_L (L qL : Int) (rL : Nat) (hL : L = Int.ofNat 73 * qL + Int.ofNat rL) :
    IDv (Int.ofNat 73) (59 * L * L - Int.ofNat (l59 rL)) := by
  have e : 59 * L * L = QuadShift.Q 59 0 0 (Int.ofNat 73 * qL + Int.ofNat rL) (Int.ofNat 73 * 0 + Int.ofNat 0) := by
    rw [← hL]; exact diag1 59 L _ rfl
  rw [e]
  exact quad_res 73 (Nat.succ_pos 72) 59 0 0 0 0 0 59 0 0 rfl rfl rfl qL 0 rL 0

theorem res_Z (Z qz : Int) (rz : Nat) (hZ : Z = Int.ofNat 73 * qz + Int.ofNat rz) :
    IDv (Int.ofNat 73) (1785 * Z * Z - Int.ofNat (z33 rz)) := by
  have e : 1785 * Z * Z = QuadShift.Q 0 0 1785 Z Z := by
    exact diag3 1785 Z
  rw [e, hZ]
  exact quad_res 73 (Nat.succ_pos 72) 0 0 1785 0 0 (-24) 0 0 33 rfl rfl rfl qz qz rz rz

theorem rowL_at (l : Nat) (hl : l < 73) : rowL l = true := all_below rowL 73 l tabL_ok hl
theorem rowZ_at (z : Nat) (hz : z < 73) : rowZ z = true := all_below rowZ 73 z tabZ_ok hz

/-! ## Square classes mod 73 of the divisors -/

def P (k : Nat) : Prop := SqM (Int.ofNat 73) (Int.ofNat k) ∧ SqM (Int.ofNat 73) (-Int.ofNat k)

theorem sq73_2 : SqM (Int.ofNat 73) (Int.ofNat 2) := ⟨32, -14, rfl⟩
theorem sq73_3 : SqM (Int.ofNat 73) (Int.ofNat 3) := ⟨21, -6, rfl⟩
theorem sq73_97 : SqM (Int.ofNat 73) (Int.ofNat 97) := ⟨30, -11, rfl⟩
theorem sq73_m1 : SqM (Int.ofNat 73) (-Int.ofNat 1) := ⟨27, -10, rfl⟩

theorem P_one : P 1 := ⟨⟨1, 0, rfl⟩, sq73_m1⟩

theorem fb_sq (p : Nat) (hp : SqM (Int.ofNat 73) (Int.ofNat p)) : ∀ bit, SqM (Int.ofNat 73) (Int.ofNat (fbN p bit))
  | true => hp
  | false => ⟨1, 0, rfl⟩

theorem P_mul (k : Nat) (hk : P k) (j : Nat) (hj : SqM (Int.ofNat 73) (Int.ofNat j)) (m : Nat) :
    P (j * k * (m * m)) := by
  have e1 : Int.ofNat j * Int.ofNat k * (Int.ofNat m * Int.ofNat m) = Int.ofNat (j * k * (m * m)) := by lib_int
  have e2 : Int.ofNat j * (-Int.ofNat k) * (Int.ofNat m * Int.ofNat m) = -Int.ofNat (j * k * (m * m)) := by lib_int
  exact ⟨sqm_congr e1 (sqm_mul (sqm_mul hj hk.1) (sqm_sq _ _)),
    sqm_congr e2 (sqm_mul (sqm_mul hj hk.2) (sqm_sq _ _))⟩

theorem P_base : ∀ k, k ∣ 1 → P k := fun k hk => by rw [dvd_one' hk]; exact P_one

theorem P_split2 {p M : Nat} (hp : ∀ d, d ∣ p → d = 1 ∨ d = p) (hp0 : 0 < p)
    (hsq : SqM (Int.ofNat 73) (Int.ofNat p)) (hM : ∀ k, k ∣ M → P k) : ∀ k, k ∣ p * (p * M) → P k :=
  fun k hk => by
    obtain ⟨bit, g', m, e, hg'⟩ := split_p2 hp hp0 hk
    rw [e]; exact P_mul g' (hM g' hg') (fbN p bit) (fb_sq p hsq bit) m

theorem P_split1 {p M : Nat} (hp : ∀ d, d ∣ p → d = 1 ∨ d = p) (hp0 : 0 < p)
    (hsq : SqM (Int.ofNat 73) (Int.ofNat p)) (hM : ∀ k, k ∣ M → P k) : ∀ k, k ∣ p * M → P k :=
  fun k hk => by
    obtain ⟨bit, g', e, hg'⟩ := split_p1 hp hp0 hk
    have e2 : k = fbN p bit * g' * (1 * 1) := by rw [e]; lib_nat
    rw [e2]; exact P_mul g' (hM g' hg') (fbN p bit) (fb_sq p hsq bit) 1

/-- every divisor of 2328 = 2³·3·97 is ± a square mod 73 -/
theorem P_M0 : ∀ k, k ∣ 2 * (2 * (2 * (3 * (97 * 1)))) → P k :=
  P_split2 prime2 (Nat.succ_pos 1) sq73_2
    (P_split1 prime2 (Nat.succ_pos 1) sq73_2
      (P_split1 prime3 (Nat.succ_pos 2) sq73_3
        (P_split1 Cover5None.prime97 (Nat.succ_pos 96) sq73_97 P_base)))

theorem M0_mod : (2 * (2 * (2 * (3 * (97 * 1)))) : Nat) % 73 = 65 := rfl

/-! ## Signs -/

theorem pm_sqm {T : Int} {k s : Nat} (hT : PM T (k * (s * s))) (hk : P k) : SqM (Int.ofNat 73) T := by
  cases hT with
  | inl e =>
    have e1 : Int.ofNat k * (Int.ofNat s * Int.ofNat s) = T := by rw [e]; lib_int
    exact sqm_congr e1 (sqm_mul hk.1 (sqm_sq _ _))
  | inr e =>
    have e1 : (-Int.ofNat k) * (Int.ofNat s * Int.ofNat s) = T := by rw [e]; lib_int
    exact sqm_congr e1 (sqm_mul hk.2 (sqm_sq _ _))

theorem idv_sqm {T : Int} (h : IDv (Int.ofNat 73) T) : SqM (Int.ofNat 73) T := by
  obtain ⟨c, hc⟩ := h
  exact ⟨0, c, by rw [hc]; lib_int⟩

theorem pm_cancel73 {T M : Int} {N : Nat} (e : T = Int.ofNat 73 * M) (hT : PM T (73 * N)) : PM M N := by
  have h73 : Int.ofNat 73 ≠ 0 := CopReduce.ofNat_ne_zero (Nat.succ_pos 72)
  cases hT with
  | inl e1 =>
    left
    exact CopReduce.int_cancel h73 (e.symm.trans (e1.trans (by lib_int)))
  | inr e1 =>
    right
    exact CopReduce.int_cancel h73 (e.symm.trans (e1.trans (by lib_int)))

theorem sqm_res {T : Int} {r : Nat} (hr : r < 73) (h1 : SqM (Int.ofNat 73) T)
    (h2 : IDv (Int.ofNat 73) (T - Int.ofNat r)) : isSq 73 r = true := by
  obtain ⟨S, hS⟩ := h1
  obtain ⟨s, hs⟩ := pm_exists S
  rw [pm_sq hs] at hS
  exact isSq_of 73 (Nat.succ_pos 72) T s r hr hS h2

theorem pm_idv {T : Int} {N : Nat} (hT : PM T N) (h : IDv (Int.ofNat 73) T) : IDv (Int.ofNat 73) (Int.ofNat N) := by
  obtain ⟨c, hc⟩ := h
  cases hT with
  | inl e => exact ⟨c, by rw [← e]; exact hc⟩
  | inr e =>
    have e2 : Int.ofNat N = -T := by rw [e]; lib_int
    exact ⟨-c, by rw [e2, hc]; lib_int⟩

theorem res_zero73 {T : Int} {r : Nat} (hr : r < 73) (h1 : IDv (Int.ofNat 73) (T - Int.ofNat r))
    (h2 : IDv (Int.ofNat 73) T) : r = 0 :=
  res_eq 73 r 0 hr (Nat.succ_pos 72) T h1 (idv_sub_zero h2)

/-! ## The shift X = 46Z + 73t -/

theorem k2_shift (Z t : Int) : K2 (46 * Z + Int.ofNat 73 * t) Z = Int.ofNat 73 * M2 Z t := by
  rw [k2_form]; unfold M2
  exact quad_shift 59 120 (-59) 46 (Int.ofNat 73) t Z 1785 76 rfl rfl

/-- the last step: K2 and M2 squares mod 73 force 73 ∣ X and 73 ∣ Z -/
theorem finish (X Z u v : Int) (huv : u * X + v * Z = 1) (hK : SqM (Int.ofNat 73) (K2 X Z))
    (hM : ∀ t : Int, X = 46 * Z + Int.ofNat 73 * t → SqM (Int.ofNat 73) (M2 Z t)) : False := by
  have hp : 0 < 73 := Nat.succ_pos 72
  obtain ⟨qL, rL, hrL, hL⟩ := IntDivMod.int_divmod 73 hp (X + 27 * Z)
  obtain ⟨qz, rz, hrz, hZ⟩ := IntDivMod.int_divmod 73 hp Z
  -- 59·(X + 27Z)² is a square mod 73, so 73 ∣ X + 27Z
  have h59 : SqM (Int.ofNat 73) (59 * (X + 27 * Z) * (X + 27 * Z)) := by
    have e : K2 X Z + Int.ofNat 73 * (42 * X * Z + 590 * Z * Z) = 59 * (X + 27 * Z) * (X + 27 * Z) := by
      rw [k2_split]; exact add_back _ _ 42 590 X Z
    exact sqm_congr e (sqm_add hK)
  have hl0 : rL = 0 := LibMod.beq_true (imp_mp (rowL_at rL hrL) (sqm_res (Nat.mod_lt _ hp) h59 (res_L _ qL rL hL)))
  rw [hl0] at hL
  have ht : X = 46 * Z + Int.ofNat 73 * (qL - Z) := by
    exact back_shift X Z qL 46 27 (Int.ofNat 73) rfl hL
  have hm := hM _ ht
  have e2 : M2 Z (qL - Z) + Int.ofNat 73 * (-(76 * (qL - Z) * Z + 59 * (qL - Z) * (qL - Z))) = 1785 * Z * Z := by
    unfold M2; exact cancel_m2 1785 (Int.ofNat 73) 76 59 (qL - Z) Z
  have h1785 : SqM (Int.ofNat 73) (1785 * Z * Z) := sqm_congr e2 (sqm_add hm)
  have hz0 : rz = 0 := LibMod.beq_true (imp_mp (rowZ_at rz hrz) (sqm_res (Nat.mod_lt _ hp) h1785 (res_Z Z qz rz hZ)))
  rw [hz0] at hZ
  -- 73 ∣ u·X + v·Z = 1
  have h1 : IDv (Int.ofNat 73) (Int.ofNat 1) := ⟨u * (46 * qz + (qL - Z)) + v * qz, by
    calc Int.ofNat 1 = u * X + v * Z := huv.symm
      _ = u * (46 * Z + Int.ofNat 73 * (qL - Z)) + v * Z := by rw [← ht]
      _ = _ := lin_z u v 46 (Int.ofNat 73) (qL - Z) qz Z hZ⟩
  have h2 : 73 = 1 := dvd_one' (idv_nat h1)
  exact Nat.noConfusion (Nat.succ.inj (h2 : Nat.succ 72 = Nat.succ 0) : Nat.succ 71 = 0)

/-! ## Resultant -/

theorem res_x6 (X Z : Int) :
    (-120 * X + 59 * Z) * (-24 * K1 X Z) + (1416 * X + 720 * Z) * K2 X Z = 169944 * (X * X * X) := by
  rw [k1_form, k2_form, QuartGen.cub_lin]
  exact cub_fin _ _ _ _ 169944 X Z rfl rfl rfl rfl

theorem res_z6 (X Z : Int) :
    (59 * X + 120 * Z) * (-24 * K1 X Z) + (720 * X + -1416 * Z) * K2 X Z = 169944 * (Z * Z * Z) := by
  rw [k1_form, k2_form, QuartGen.cub_lin]
  exact cub_finz _ _ _ _ 169944 X Z rfl rfl rfl rfl

/-- g = gcd(K2, −24·K1) divides 169944 = 73·2328 for coprime X, Z -/
theorem g_dvd (X Z u v : Int) (g : Nat) (huv : u * X + v * Z = 1) (hA : IDv (Int.ofNat g) (K2 X Z))
    (hB : IDv (Int.ofNat g) (-24 * K1 X Z)) : g ∣ 73 * (2 * (2 * (2 * (3 * (97 * 1))))) := by
  have hx := idv_lin hB hA (-120 * X + 59 * Z) (1416 * X + 720 * Z)
  rw [res_x6] at hx
  have hz := idv_lin hB hA (59 * X + 120 * Z) (720 * X + -1416 * Z)
  rw [res_z6] at hz
  exact idv_nat (ResDiv.dvd_of_cubes X Z u v (Int.ofNat g) 169944 huv hx hz)

/-! ## The covering -/

/-- **C6 : y² = −24·K1(X, Z)·K2(X, Z) has no solution with X, Z coprime** -/
theorem cover6_none (X Z y u v : Int) (huv : u * X + v * Z = 1)
    (h : y * y = -24 * K1 X Z * K2 X Z) : False := by
  have hp : 0 < 73 := Nat.succ_pos 72
  obtain ⟨a, ha⟩ := pm_exists (K2 X Z)
  obtain ⟨b, hb⟩ := pm_exists (-24 * K1 X Z)
  obtain ⟨n, hn⟩ := pm_exists y
  have hAB : K2 X Z * (-24 * K1 X Z) = y * y := by rw [h]; lib_int
  obtain ⟨g, u', w', hag, hbg⟩ := sq_split a b n (pm_nat_sq ha hb hn hAB)
  have hgA : IDv (Int.ofNat g) (K2 X Z) := pm_dvd ha ⟨u' * u', hag⟩
  have hgB : IDv (Int.ofNat g) (-24 * K1 X Z) := pm_dvd hb ⟨w' * w', hbg⟩
  have hgR : g ∣ 73 * (2 * (2 * (2 * (3 * (97 * 1))))) :=
    g_dvd X Z u v g huv hgA hgB
  rw [hag] at ha
  cases DivSplit.dvd_prime_mul Cover7None.prime73 hp hgR with
  | inl hgM =>
    -- 73 ∤ g: K2 = ±g·u′² is a square mod 73, and 73 ∣ u′
    have hK2 : SqM (Int.ofNat 73) (K2 X Z) := pm_sqm ha (P_M0 g hgM)
    refine finish X Z u v huv hK2 (fun t ht => ?_)
    have eK : K2 X Z = Int.ofNat 73 * M2 Z t := by rw [ht]; exact k2_shift Z t
    have h73 : 73 ∣ g * (u' * u') := idv_nat (pm_idv ha ⟨M2 Z t, eK⟩)
    cases euclid_prime Cover7None.prime73 h73 with
    | inl h73g =>
      have h0 := ModLink.mod_of_dvd 73 hp _ (dvd_trans' h73g hgM)
      rw [M0_mod] at h0
      exact Nat.noConfusion h0
    | inr h73u =>
      have hu : 73 ∣ u' := by
        cases euclid_prime Cover7None.prime73 h73u with
        | inl h' => exact h'
        | inr h' => exact h'
      obtain ⟨u1, hu1⟩ := hu
      have ha2 : PM (K2 X Z) (73 * (73 * (g * (u1 * u1)))) := by
        rw [pp_nat 73 g u1, ← hu1]; exact ha
      exact idv_sqm (pm_dvd (pm_cancel73 eK ha2) ⟨g * (u1 * u1), rfl⟩)
  | inr h2 =>
    -- g = 73·g′, g′ ∣ 2328: M2 = ±g′·u′²
    obtain ⟨g1, e1, hg1⟩ := h2
    have ha2 : PM (K2 X Z) (73 * (g1 * (u' * u'))) := by
      rw [show 73 * (g1 * (u' * u')) = g * (u' * u') by rw [e1]; lib_nat]; exact ha
    refine finish X Z u v huv (idv_sqm (pm_dvd ha2 ⟨g1 * (u' * u'), rfl⟩)) (fun t ht => ?_)
    have eK : K2 X Z = Int.ofNat 73 * M2 Z t := by rw [ht]; exact k2_shift Z t
    exact pm_sqm (pm_cancel73 eK ha2) (P_M0 g1 hg1)

end Cover6None

#print axioms Cover6None.sq_split_gen
#print axioms Cover6None.quad_shift
#print axioms Cover6None.form3
#print axioms Cover6None.cub_fin
#print axioms Cover6None.cub_finz
#print axioms Cover6None.back_shift
#print axioms Cover6None.cancel_m2
#print axioms Cover6None.lin_z
#print axioms Cover6None.diag3
#print axioms Cover6None.diag1
#print axioms Cover6None.pp_nat
#print axioms Cover6None.add_back
#print axioms Cover6None.sub_neg3
#print axioms Cover6None.tabL_ok
#print axioms Cover6None.tabZ_ok
#print axioms Cover6None.k2_split
#print axioms Cover6None.res_L
#print axioms Cover6None.res_Z
#print axioms Cover6None.rowL_at
#print axioms Cover6None.rowZ_at
#print axioms Cover6None.sq73_2
#print axioms Cover6None.sq73_3
#print axioms Cover6None.sq73_97
#print axioms Cover6None.sq73_m1
#print axioms Cover6None.P_one
#print axioms Cover6None.fb_sq
#print axioms Cover6None.P_mul
#print axioms Cover6None.P_base
#print axioms Cover6None.P_split2
#print axioms Cover6None.P_split1
#print axioms Cover6None.P_M0
#print axioms Cover6None.M0_mod
#print axioms Cover6None.pm_sqm
#print axioms Cover6None.idv_sqm
#print axioms Cover6None.pm_cancel73
#print axioms Cover6None.sqm_res
#print axioms Cover6None.pm_idv
#print axioms Cover6None.res_zero73
#print axioms Cover6None.k2_shift
#print axioms Cover6None.k1_form
#print axioms Cover6None.k2_form
#print axioms Cover6None.res_x6
#print axioms Cover6None.res_z6
#print axioms Cover6None.g_dvd
#print axioms Cover6None.finish
#print axioms Cover6None.cover6_none

bsd/Cover7None.lean

lean_all/bsd/Cover7None.lean

/-
  bsd/Cover7None.lean — T39 (goal G289e-5): the 2-covering C7 of E_42486 (Sha[2] candidate class (1, 97)),
      y² = 438·H1(X, Z)·H2(X, Z),   H1 = 2X² + 9XZ − 2Z²,   H2 = 9X² − 8XZ − 9Z²,
  has no point with X, Z coprime integers.
  Second descent as in bsd/Cover5None, now at 73: write H2 = ±g·u², 438·H1 = ±g·w² (g = gcd, sq_split);
  g ∣ 42486 = 73·582 (ResDiv);
    if 73 ∤ g then 73 ∣ H1 and H2 ≡ ±g·u² is a square mod 73;
    if g = 73·g′ then 73 ∣ H2 and 6·H1 ≡ ±g′·w² is a square mod 73;
  every ±divisor of 582 = 2·3·97 is a square mod 73 (table div582), and the residue tables tab7a, tab7b show that
  both cases force X ≡ Z ≡ 0 (mod 73), contradicting coprimality.
  Lean 4 core plus lib/Gcd, lib/ModN, lib/Semi and bsd/SqRes, bsd/ResDiv, bsd/DivSplit, bsd/IntDivMod.
-/
import bsd.SqRes
import bsd.ResDiv
import bsd.DivSplit
import bsd.IntDivMod

set_option maxRecDepth 100000

namespace Cover7None
open LibGcd LibInt LibBurnside Res97b SqRes

/-! ## Identities with symbolic constants (numeric facts by rfl; keeps lib_int coefficients small) -/

theorem mul3 (a b c P Q : Int) (e : a * b = c) : Q * (a * (b * P)) = c * P * Q := by
  rw [← e]; lib_int

theorem key4 (a b k P Q c d : Int) (e : a * b = -k) : -c * (a * (b * P)) + k * d * Q = k * (c * P + d * Q) := by
  have h1 : -c * (a * (b * P)) = -c * (a * b) * P := by lib_int
  rw [h1, e]; lib_int

theorem key4p (a b k P Q c d : Int) (e : a * b = k) : c * (a * (b * P)) + k * d * Q = k * (c * P + d * Q) := by
  have h1 : c * (a * (b * P)) = c * (a * b) * P := by lib_int
  rw [h1, e]; lib_int

theorem scale (a b m W : Int) (e : a * b = m) : a * (b * W) = m * W := by
  rw [← e]; lib_int

theorem lin1 (k m P G : Int) (e : k * m + P = 1) : G = k * (m * G) + P * G := by
  calc G = 1 * G := by lib_int
    _ = (k * m + P) * G := by rw [e]
    _ = k * (m * G) + P * G := by lib_int

theorem lin2 (k m P r G : Int) (e : k * m - P * r = 1) : G = k * (m * G) - P * (r * G) := by
  calc G = 1 * G := by lib_int
    _ = (k * m - P * r) * G := by rw [e]
    _ = k * (m * G) - P * (r * G) := by lib_int

/-! ## Tables -/

def row7a (x z : Nat) : Bool := imp (Nat.beq (h2_73 x z) 0) (imp (isSq 73 (s6h1_73 x z)) (Nat.beq (x + z) 0))
def row7b (x z : Nat) : Bool := imp (Nat.beq (h1_73 x z) 0) (imp (isSq 73 (h2_73 x z)) (Nat.beq (x + z) 0))

theorem tab7a_ok : allBelow (fun x => allBelow (fun z => row7a x z) 73) 73 = true := rfl
theorem tab7b_ok : allBelow (fun x => allBelow (fun z => row7b x z) 73) 73 = true := rfl

theorem prime73_ok : allBelow (fun k => imp (Nat.beq (73 % k) 0) (Nat.beq k 1 || Nat.beq k 73)) (73 + 1) = true := rfl

theorem div582_ok :
    allBelow (fun k => imp (Nat.beq (582 % k) 0) (isSq 73 (k % 73) && isSq 73 (k * 72 % 73))) (582 + 1) = true := rfl

theorem prime73 : ∀ d, d ∣ 73 → d = 1 ∨ d = 73 := fun d hd => by
  have h : (Nat.beq d 1 || Nat.beq d 73) = true :=
    dvd_tab 73 (Nat.succ_pos 72) (fun k => Nat.beq k 1 || Nat.beq k 73) prime73_ok d hd
  cases or_cases h with
  | inl h1 => exact Or.inl (LibMod.beq_true h1)
  | inr h2 => exact Or.inr (LibMod.beq_true h2)

theorem div582 (k : Nat) (hk : k ∣ 582) : isSq 73 (k % 73) = true ∧ isSq 73 (k * 72 % 73) = true := by
  have h : (isSq 73 (k % 73) && isSq 73 (k * 72 % 73)) = true :=
    dvd_tab 582 (Nat.succ_pos 581) (fun k => isSq 73 (k % 73) && isSq 73 (k * 72 % 73)) div582_ok k hk
  exact ⟨and_left h, and_right h⟩

theorem row_a (x z : Nat) (hx : x < 73) (hz : z < 73) : row7a x z = true :=
  all_below (fun z => row7a x z) 73 z
    (all_below (fun x => allBelow (fun z => row7a x z) 73) 73 x tab7a_ok hx) hz

theorem row_b (x z : Nat) (hx : x < 73) (hz : z < 73) : row7b x z = true :=
  all_below (fun z => row7b x z) 73 z
    (all_below (fun x => allBelow (fun z => row7b x z) 73) 73 x tab7b_ok hx) hz

theorem beq0 {n : Nat} (h : n = 0) : Nat.beq n 0 = true := by rw [h]; exact LibMod.beq_self 0

/-! ## Residues of the forms -/

theorem res_h2 (X Z qx qz : Int) (rx rz : Nat) (hX : X = Int.ofNat 73 * qx + Int.ofNat rx)
    (hZ : Z = Int.ofNat 73 * qz + Int.ofNat rz) :
    IDv (Int.ofNat 73) (ResDiv.H2 X Z - Int.ofNat (h2_73 rx rz)) := by
  have e : ResDiv.H2 X Z = QuadShift.Q 9 (-8) (-9) X Z := by
    show 9 * X * X - 8 * X * Z - 9 * Z * Z = (9 : Int) * X * X + (-8) * X * Z + (-9) * Z * Z
    lib_int
  rw [e, hX, hZ]
  exact quad_res 73 (Nat.succ_pos 72) 9 (-8) (-9) 0 1 1 9 65 64 rfl rfl rfl qx qz rx rz

theorem res_h1 (X Z qx qz : Int) (rx rz : Nat) (hX : X = Int.ofNat 73 * qx + Int.ofNat rx)
    (hZ : Z = Int.ofNat 73 * qz + Int.ofNat rz) :
    IDv (Int.ofNat 73) (ResDiv.H1 X Z - Int.ofNat (h1_73 rx rz)) := by
  have e : ResDiv.H1 X Z = QuadShift.Q 2 9 (-2) X Z := by
    show 2 * X * X + 9 * X * Z - 2 * Z * Z = (2 : Int) * X * X + 9 * X * Z + (-2) * Z * Z
    lib_int
  rw [e, hX, hZ]
  exact quad_res 73 (Nat.succ_pos 72) 2 9 (-2) 0 0 1 2 9 71 rfl rfl rfl qx qz rx rz

theorem res_s6h1 (X Z qx qz : Int) (rx rz : Nat) (hX : X = Int.ofNat 73 * qx + Int.ofNat rx)
    (hZ : Z = Int.ofNat 73 * qz + Int.ofNat rz) :
    IDv (Int.ofNat 73) (6 * ResDiv.H1 X Z - Int.ofNat (s6h1_73 rx rz)) := by
  have e : 6 * ResDiv.H1 X Z = QuadShift.Q 12 54 (-12) X Z := by
    show 6 * (2 * X * X + 9 * X * Z - 2 * Z * Z) = (12 : Int) * X * X + 54 * X * Z + (-12) * Z * Z
    lib_int
  rw [e, hX, hZ]
  exact quad_res 73 (Nat.succ_pos 72) 12 54 (-12) 0 0 1 12 54 61 rfl rfl rfl qx qz rx rz

/-! ## Coprimality -/

theorem not_both_zero (X Z u v qx qz : Int) (rx rz : Nat) (huv : u * X + v * Z = 1)
    (hX : X = Int.ofNat 73 * qx + Int.ofNat rx) (hZ : Z = Int.ofNat 73 * qz + Int.ofNat rz)
    (h : rx + rz = 0) : False := by
  obtain ⟨ex, ez⟩ := nat_add_zero h
  rw [ex] at hX
  rw [ez] at hZ
  have h1 : IDv (Int.ofNat 73) (Int.ofNat 1) := ⟨u * qx + v * qz, by
    have e1 : u * X + v * Z = Int.ofNat 73 * (u * qx + v * qz) := by
      rw [hX, hZ]
      show u * ((73 : Int) * qx + 0) + v * ((73 : Int) * qz + 0) = (73 : Int) * (u * qx + v * qz)
      lib_int
    exact huv.symm.trans e1⟩
  have h2 : 73 = 1 := dvd_one' (idv_nat h1)
  exact Nat.noConfusion (Nat.succ.inj (h2 : Nat.succ 72 = Nat.succ 0) : Nat.succ 71 = 0)

/-- 73 ∣ 6·H ⇒ 73 ∣ H  (H = 61·(6H) − 73·(5H)) -/
theorem idv_of_6 (H : Int) (h : IDv (Int.ofNat 73) (6 * H)) : IDv (Int.ofNat 73) H := by
  obtain ⟨c, hc⟩ := h
  have d : ∀ q : Int, 61 * (q * c) - q * (5 * H) = q * (61 * c - 5 * H) := fun q => by lib_int
  exact ⟨61 * c - 5 * H, by
    calc H = 61 * (6 * H) - Int.ofNat 73 * (5 * H) := lin2 61 6 (Int.ofNat 73) 5 H rfl
      _ = 61 * (Int.ofNat 73 * c) - Int.ofNat 73 * (5 * H) := by rw [hc]
      _ = Int.ofNat 73 * (61 * c - 5 * H) := d (Int.ofNat 73)⟩

theorem res_zero {T : Int} {r : Nat} (hr : r < 73) (h1 : IDv (Int.ofNat 73) (T - Int.ofNat r))
    (h2 : IDv (Int.ofNat 73) T) : r = 0 :=
  res_eq 73 r 0 hr (Nat.succ_pos 72) T h1 (idv_sub_zero h2)

/-! ## The covering -/

/-- **C7 : y² = 438·H1(X, Z)·H2(X, Z) has no solution with X, Z coprime** -/
theorem cover7_none (X Z y u v : Int) (huv : u * X + v * Z = 1)
    (h : y * y = 438 * ResDiv.H1 X Z * ResDiv.H2 X Z) : False := by
  have hp : 0 < 73 := Nat.succ_pos 72
  obtain ⟨qx, rx, hrx, hX⟩ := IntDivMod.int_divmod 73 hp X
  obtain ⟨qz, rz, hrz, hZ⟩ := IntDivMod.int_divmod 73 hp Z
  have r2 := res_h2 X Z qx qz rx rz hX hZ
  have r1 := res_h1 X Z qx qz rx rz hX hZ
  have r6 := res_s6h1 X Z qx qz rx rz hX hZ
  -- signs and the square split
  obtain ⟨a, ha⟩ := pm_exists (ResDiv.H2 X Z)
  obtain ⟨t, ht⟩ := pm_exists (6 * ResDiv.H1 X Z)
  obtain ⟨n, hn⟩ := pm_exists y
  have hB : PM (73 * (6 * ResDiv.H1 X Z)) (73 * t) := pm_mul (Or.inl rfl) ht
  have hAB : ResDiv.H2 X Z * (73 * (6 * ResDiv.H1 X Z)) = y * y := by
    rw [mul3 73 6 438 _ _ rfl, h]
  obtain ⟨g, u', w', hag, hbg⟩ := sq_split a (73 * t) n (pm_nat_sq ha hB hn hAB)
  -- g ∣ 42486
  have hgA : IDv (Int.ofNat g) (ResDiv.H2 X Z) := pm_dvd ha ⟨u' * u', hag⟩
  have hgB : IDv (Int.ofNat g) (73 * (6 * ResDiv.H1 X Z)) := pm_dvd hB ⟨w' * w', hbg⟩
  have hx := idv_lin hgB hgA (8 * X + 9 * Z) (438 * (9 * X - 2 * Z))
  rw [key4p 73 6 438 _ _ _ _ rfl, ResDiv.c7_res_x, scale 438 97 42486 _ rfl] at hx
  have hz := idv_lin hgB hgA (9 * X - 8 * Z) (438 * (-2 * X - 9 * Z))
  rw [key4p 73 6 438 _ _ _ _ rfl, ResDiv.c7_res_z, scale 438 97 42486 _ rfl] at hz
  have hgN : g ∣ 73 * 582 := idv_nat (ResDiv.dvd_of_cubes X Z u v (Int.ofNat g) 42486 huv hx hz)
  cases DivSplit.dvd_prime_mul prime73 hp hgN with
  | inl hg582 =>
    -- 73 ∤ g: 73 ∣ w′, so 73 ∣ H1, and H2 = ±g·u′² is a square mod 73
    have h73 : 73 ∣ g * (w' * w') := ⟨t, hbg.symm⟩
    have hw : 73 ∣ w' := by
      cases euclid_prime prime73 h73 with
      | inl h73g =>
        have h0 : 582 % 73 = 0 := ModLink.mod_of_dvd 73 hp 582 (dvd_trans' h73g hg582)
        exact Nat.noConfusion (h0 : Nat.succ 70 = 0)
      | inr h73w =>
        cases euclid_prime prime73 h73w with
        | inl h' => exact h'
        | inr h' => exact h'
    obtain ⟨w1, hw1⟩ := hw
    have et : t * 73 = (73 * (g * (w1 * w1))) * 73 := by
      rw [show t * 73 = 73 * t by lib_nat, hbg, hw1]; lib_nat
    have ht73 : IDv (Int.ofNat 73) (6 * ResDiv.H1 X Z) := pm_dvd ht ⟨g * (w1 * w1), nat_cancel hp _ _ et⟩
    have hh1 : h1_73 rx rz = 0 := res_zero (Nat.mod_lt _ hp) r1 (idv_of_6 _ ht73)
    rw [hag] at ha
    obtain ⟨S, hS⟩ := sq_of_pm 73 72 rfl _ g u' (div582 g hg582).1 (div582 g hg582).2 ha
    have hsq : isSq 73 (h2_73 rx rz) = true := isSq_of 73 hp _ S _ (Nat.mod_lt _ hp) hS r2
    have hrow := row_b rx rz hrx hrz
    exact not_both_zero X Z u v qx qz rx rz huv hX hZ
      (LibMod.beq_true (imp_mp (imp_mp hrow (beq0 hh1)) hsq))
  | inr hg73 =>
    -- g = 73·g′: 73 ∣ H2, and 6·H1 = ±g′·w′² is a square mod 73
    obtain ⟨g', hg, hg'⟩ := hg73
    have hA73 : IDv (Int.ofNat 73) (ResDiv.H2 X Z) := pm_dvd ha ⟨g' * (u' * u'), by rw [hag, hg]; lib_nat⟩
    have hh2 : h2_73 rx rz = 0 := res_zero (Nat.mod_lt _ hp) r2 hA73
    have et : t * 73 = (g' * (w' * w')) * 73 := by
      rw [show t * 73 = 73 * t by lib_nat, hbg, hg]; lib_nat
    rw [nat_cancel hp _ _ et] at ht
    obtain ⟨S, hS⟩ := sq_of_pm 73 72 rfl _ g' w' (div582 g' hg').1 (div582 g' hg').2 ht
    have hsq : isSq 73 (s6h1_73 rx rz) = true := isSq_of 73 hp _ S _ (Nat.mod_lt _ hp) hS r6
    have hrow := row_a rx rz hrx hrz
    exact not_both_zero X Z u v qx qz rx rz huv hX hZ
      (LibMod.beq_true (imp_mp (imp_mp hrow (beq0 hh2)) hsq))

end Cover7None

#print axioms Cover7None.mul3
#print axioms Cover7None.key4
#print axioms Cover7None.key4p
#print axioms Cover7None.scale
#print axioms Cover7None.lin1
#print axioms Cover7None.lin2
#print axioms Cover7None.tab7a_ok
#print axioms Cover7None.tab7b_ok
#print axioms Cover7None.prime73_ok
#print axioms Cover7None.div582_ok
#print axioms Cover7None.prime73
#print axioms Cover7None.div582
#print axioms Cover7None.row_a
#print axioms Cover7None.row_b
#print axioms Cover7None.beq0
#print axioms Cover7None.res_h2
#print axioms Cover7None.res_h1
#print axioms Cover7None.res_s6h1
#print axioms Cover7None.not_both_zero
#print axioms Cover7None.idv_of_6
#print axioms Cover7None.res_zero
#print axioms Cover7None.cover7_none

bsd/CoverLink5.lean

lean_all/bsd/CoverLink5.lean

/-
  bsd/CoverLink5.lean — T39 (goal G289e-6d): a point of the 2-descent class (−1, −582) of E_42486 gives a coprime point on
  the covering C5 (none exist, bsd/Cover5None).  Class (−1, −582): x = −a²/k², x − n = −582·b²/k², x + n = 582·c²/k², i.e.
      r1 : b² + c² = 146·k²,   r2 : a² + n·k² = 582·b²;
  from (b₀, c₀) = (5, 11): X₀ = 146k + 5b + 11c, Z₀ = 5c − 11b, and 582·B² − n·S² = 4·C5(−X₀, Z₀) = (292·a·X₀)².
  All polynomial identities are generic (bsd/QuartGen, bsd/CircParam); numeric coefficients are matched by rfl.
  Lean 4 core plus bsd/CircParam, bsd/QuartGen, bsd/CopReduce2, bsd/Cover5None.
-/
import bsd.CircParam
import bsd.QuartGen
import bsd.CopReduce2
import bsd.Cover5None

namespace CoverLink5
open LibGcd LibInt SqRes CopReduce CopReduce2 CircParam QuartGen

/-- symbolic outer coefficient (lib_int on large literal products is slow in the kernel) -/
theorem scale3 (c A A' B B' : Int) (hA : A = A') (hB : B = B') : c * A * B = c * A' * B' := by rw [hA, hB]

theorem eqA (X Z : Int) : ResDiv.G1 X Z = 3 * X * X + -16 * X * Z + -3 * Z * Z := by unfold ResDiv.G1; lib_int

theorem eqB (X Z : Int) : ResDiv.G2 X Z = 4 * X * X + 3 * X * Z + -4 * Z * Z := by unfold ResDiv.G2; lib_int

theorem c5_q4 (X Z : Int) :
    Q4 (-6984) 32010 41904 (-32010) (-6984) X Z = -582 * ResDiv.G1 X Z * ResDiv.G2 X Z :=
  calc Q4 (-6984) 32010 41904 (-32010) (-6984) X Z
      = Q4 (-582 * 3 * 4) (-582 * (3 * 3 + -16 * 4)) (-582 * (3 * -4 + -16 * 3 + -3 * 4)) (-582 * (-16 * -4 + -3 * 3))
          (-582 * -3 * -4) X Z := rfl
    _ = -582 * (3 * X * X + -16 * X * Z + -3 * Z * Z) * (4 * X * X + 3 * X * Z + -4 * Z * Z) := (q4_prod _ _ _ _ _ _ _ X Z).symm
    _ = -582 * ResDiv.G1 X Z * ResDiv.G2 X Z := scale3 (-582) _ _ _ _ (eqA X Z).symm (eqB X Z).symm

/-- the natural model of the class (−1, −582) is 4·C5(−X, Z) -/
theorem c5_model (X Z : Int) :
    582 * ((5 * (X * X - Z * Z) - 2 * 11 * (X * Z)) * (5 * (X * X - Z * Z) - 2 * 11 * (X * Z)))
      - 42486 * ((X * X + Z * Z) * (X * X + Z * Z))
      = 4 * Q4 (-6984) 32010 41904 (-32010) (-6984) (-X) Z :=
  calc _ = Q4 (582 * 5 * 5 - 42486) (-4 * 582 * 5 * 11) (582 * (4 * 11 * 11 - 2 * 5 * 5) - 2 * 42486) (4 * 582 * 5 * 11)
          (582 * 5 * 5 - 42486) X Z := q4_circ 582 42486 5 11 X Z
    _ = Q4 (4 * -6984) (4 * -32010) (4 * 41904) (4 * - -32010) (4 * -6984) X Z := rfl
    _ = 4 * Q4 (-6984) (-32010) 41904 (- -32010) (-6984) X Z := (q4_smul 4 _ _ _ _ _ X Z).symm
    _ = 4 * Q4 (-6984) 32010 41904 (-32010) (-6984) (-X) Z := by rw [q4_negX]

/-- **Class (−1, −582) is empty.** -/
theorem link5 (a b c k : Int) (hX : 146 * k + 5 * b + 11 * c ≠ 0)
    (r1 : b * b + c * c = 146 * (k * k)) (r2 : a * a + 42486 * (k * k) = 582 * (b * b)) : False := by
  have e := circ_sq 146 582 42486 a b c k (146 * k + 5 * b + 11 * c) (5 * c - 11 * b) 5 11 rfl rfl rfl r1 r2
  rw [c5_model, sq_scale] at e
  have hne : -(146 * k + 5 * b + 11 * c) ≠ 0 := fun h0 => hX (by
    have e3 : 146 * k + 5 * b + 11 * c = -(-(146 * k + 5 * b + 11 * c)) := by lib_int
    rw [e3, h0]; rfl)
  obtain ⟨X, Z, y, u, v, huv, hy⟩ := cop_reduce2 _ _ _ _ _ _ _ _ (Or.inl hne) (cancel4 e).symm
  exact Cover5None.cover5_none X Z y u v huv (by rw [hy, c5_q4])

end CoverLink5

#print axioms CoverLink5.scale3
#print axioms CoverLink5.eqA
#print axioms CoverLink5.eqB
#print axioms CoverLink5.c5_q4
#print axioms CoverLink5.c5_model
#print axioms CoverLink5.link5

bsd/CoverLink6.lean

lean_all/bsd/CoverLink6.lean

/-
  bsd/CoverLink6.lean — T39 (goal G289e-6d): a point of the 2-descent class (−1, −6) of E_42486 gives a coprime point on
  the covering C6 : y² = −24·K1·K2 (none exist, bsd/Cover6None).  Class (−1, −6):
      r1 : b² + c² = 14162·k²,   r2 : a² + n·k² = 6·b²;
  from (b₀, c₀) = (1, 119): X₀ = 14162k + b + 119c, Z₀ = c − 119b, and 6·B² − n·S² = −24·K1(X₀, Z₀)·K2(X₀, Z₀) = (28324·a·X₀)².
  Generic identities (bsd/QuartGen, bsd/CircParam), numerals by rfl.
  Lean 4 core plus bsd/CircParam, bsd/QuartGen, bsd/CopReduce2, bsd/Cover6None.
-/
import bsd.CircParam
import bsd.QuartGen
import bsd.CopReduce2
import bsd.Cover6None

namespace CoverLink6
open LibGcd LibInt SqRes CopReduce CopReduce2 CircParam QuartGen

/-- symbolic outer coefficient (lib_int on large literal products is slow in the kernel) -/
theorem scale3 (c A A' B B' : Int) (hA : A = A') (hB : B = B') : c * A * B = c * A' * B' := by rw [hA, hB]

theorem eqA (X Z : Int) : Cover6None.K1 X Z = 30 * X * X + -59 * X * Z + -30 * Z * Z := by unfold Cover6None.K1; lib_int

theorem eqB (X Z : Int) : Cover6None.K2 X Z = 59 * X * X + 120 * X * Z + -59 * Z * Z := Cover6None.k2_form X Z

theorem c6_q4 (X Z : Int) :
    Q4 (-42480) (-2856) 254880 2856 (-42480) X Z = -24 * Cover6None.K1 X Z * Cover6None.K2 X Z :=
  calc Q4 (-42480) (-2856) 254880 2856 (-42480) X Z
      = Q4 (-24 * 30 * 59) (-24 * (30 * 120 + -59 * 59)) (-24 * (30 * -59 + -59 * 120 + -30 * 59))
          (-24 * (-59 * -59 + -30 * 120)) (-24 * -30 * -59) X Z := rfl
    _ = -24 * (30 * X * X + -59 * X * Z + -30 * Z * Z) * (59 * X * X + 120 * X * Z + -59 * Z * Z) :=
        (q4_prod _ _ _ _ _ _ _ X Z).symm
    _ = -24 * Cover6None.K1 X Z * Cover6None.K2 X Z := scale3 (-24) _ _ _ _ (eqA X Z).symm (eqB X Z).symm

/-- the natural model of the class (−1, −6) is C6 itself -/
theorem c6_model (X Z : Int) :
    6 * ((1 * (X * X - Z * Z) - 2 * 119 * (X * Z)) * (1 * (X * X - Z * Z) - 2 * 119 * (X * Z)))
      - 42486 * ((X * X + Z * Z) * (X * X + Z * Z))
      = Q4 (-42480) (-2856) 254880 2856 (-42480) X Z :=
  calc _ = Q4 (6 * 1 * 1 - 42486) (-4 * 6 * 1 * 119) (6 * (4 * 119 * 119 - 2 * 1 * 1) - 2 * 42486) (4 * 6 * 1 * 119)
          (6 * 1 * 1 - 42486) X Z := q4_circ 6 42486 1 119 X Z
    _ = Q4 (-42480) (-2856) 254880 2856 (-42480) X Z := rfl

/-- **Class (−1, −6) is empty.** -/
theorem link6 (a b c k : Int) (hX : 14162 * k + 1 * b + 119 * c ≠ 0)
    (r1 : b * b + c * c = 14162 * (k * k)) (r2 : a * a + 42486 * (k * k) = 6 * (b * b)) : False := by
  have e := circ_sq 14162 6 42486 a b c k (14162 * k + 1 * b + 119 * c) (1 * c - 119 * b) 1 119 rfl rfl rfl r1 r2
  rw [c6_model] at e
  obtain ⟨X, Z, y, u, v, huv, hy⟩ := cop_reduce2 _ _ _ _ _ _ _ _ (Or.inl hX) e.symm
  exact Cover6None.cover6_none X Z y u v huv (by rw [hy, c6_q4])

end CoverLink6

#print axioms CoverLink6.scale3
#print axioms CoverLink6.eqA
#print axioms CoverLink6.eqB
#print axioms CoverLink6.c6_q4
#print axioms CoverLink6.c6_model
#print axioms CoverLink6.link6

bsd/CoverLink7.lean

lean_all/bsd/CoverLink7.lean

/-
  bsd/CoverLink7.lean — T39 (goal G289e-6d): a point of the 2-descent class (−1, −438) of E_42486 gives a coprime point on
  the covering C7 (none exist, bsd/Cover7None).  Class (−1, −438):  r1 : b² + c² = 194·k²,  r2 : a² + n·k² = 438·b²;
  from (b₀, c₀) = (13, 5): X₀ = 194k + 13b + 5c, Z₀ = 13c − 5b, and 438·B² − n·S² = 4·C7(X₀, −Z₀) = (388·a·X₀)²
  (the diagonal link found by tools/g289e6_c7pt.py).  Generic identities (bsd/QuartGen), numerals by rfl.
  Lean 4 core plus bsd/CircParam, bsd/QuartGen, bsd/CopReduce2, bsd/Cover7None.
-/
import bsd.CircParam
import bsd.QuartGen
import bsd.CopReduce2
import bsd.Cover7None

namespace CoverLink7
open LibGcd LibInt SqRes CopReduce CopReduce2 CircParam QuartGen

/-- symbolic outer coefficient (lib_int on large literal products is slow in the kernel) -/
theorem scale3 (c A A' B B' : Int) (hA : A = A') (hB : B = B') : c * A * B = c * A' * B' := by rw [hA, hB]

theorem eqA (X Z : Int) : ResDiv.H1 X Z = 2 * X * X + 9 * X * Z + -2 * Z * Z := by unfold ResDiv.H1; lib_int

theorem eqB (X Z : Int) : ResDiv.H2 X Z = 9 * X * X + -8 * X * Z + -9 * Z * Z := by unfold ResDiv.H2; lib_int

theorem c7_q4 (X Z : Int) :
    Q4 7884 28470 (-47304) (-28470) 7884 X Z = 438 * ResDiv.H1 X Z * ResDiv.H2 X Z :=
  calc Q4 7884 28470 (-47304) (-28470) 7884 X Z
      = Q4 (438 * 2 * 9) (438 * (2 * -8 + 9 * 9)) (438 * (2 * -9 + 9 * -8 + -2 * 9)) (438 * (9 * -9 + -2 * -8))
          (438 * -2 * -9) X Z := rfl
    _ = 438 * (2 * X * X + 9 * X * Z + -2 * Z * Z) * (9 * X * X + -8 * X * Z + -9 * Z * Z) := (q4_prod _ _ _ _ _ _ _ X Z).symm
    _ = 438 * ResDiv.H1 X Z * ResDiv.H2 X Z := scale3 438 _ _ _ _ (eqA X Z).symm (eqB X Z).symm

/-- the natural model of the class (−1, −438) is 4·C7(X, −Z) -/
theorem c7_model (X Z : Int) :
    438 * ((13 * (X * X - Z * Z) - 2 * 5 * (X * Z)) * (13 * (X * X - Z * Z) - 2 * 5 * (X * Z)))
      - 42486 * ((X * X + Z * Z) * (X * X + Z * Z))
      = 4 * Q4 7884 28470 (-47304) (-28470) 7884 X (-Z) :=
  calc _ = Q4 (438 * 13 * 13 - 42486) (-4 * 438 * 13 * 5) (438 * (4 * 5 * 5 - 2 * 13 * 13) - 2 * 42486) (4 * 438 * 13 * 5)
          (438 * 13 * 13 - 42486) X Z := q4_circ 438 42486 13 5 X Z
    _ = Q4 (4 * 7884) (4 * -28470) (4 * -47304) (4 * - -28470) (4 * 7884) X Z := rfl
    _ = 4 * Q4 7884 (-28470) (-47304) (- -28470) 7884 X Z := (q4_smul 4 _ _ _ _ _ X Z).symm
    _ = 4 * Q4 7884 28470 (-47304) (-28470) 7884 X (-Z) := by rw [q4_negZ]

/-- **Class (−1, −438) is empty.** -/
theorem link7 (a b c k : Int) (hX : 194 * k + 13 * b + 5 * c ≠ 0)
    (r1 : b * b + c * c = 194 * (k * k)) (r2 : a * a + 42486 * (k * k) = 438 * (b * b)) : False := by
  have e := circ_sq 194 438 42486 a b c k (194 * k + 13 * b + 5 * c) (13 * c - 5 * b) 13 5 rfl rfl rfl r1 r2
  rw [c7_model, sq_scale] at e
  obtain ⟨X, Z, y, u, v, huv, hy⟩ := cop_reduce2 _ _ _ _ _ _ _ _ (Or.inl hX) (cancel4 e).symm
  exact Cover7None.cover7_none X Z y u v huv (by rw [hy, c7_q4])

end CoverLink7

#print axioms CoverLink7.scale3
#print axioms CoverLink7.eqA
#print axioms CoverLink7.eqB
#print axioms CoverLink7.c7_q4
#print axioms CoverLink7.c7_model
#print axioms CoverLink7.link7

bsd/CubeCount.lean

lean_all/bsd/CubeCount.lean

/-
  bsd/CubeCount.lean — T39 cycle 68: #E(F_p) = p + 1 for y² = x³ + D at every prime p ≡ 5 (mod 6), every D.

  Lean 4 core plus bsd/CubeRoot (cube_count). Swap the double sum and count, for each y, the unique cube
  root of y² − D:
    sum_swap     Σ_x Σ_y f = Σ_y Σ_x f
    shift_iff    y² ≡ x³ + D  ⇔  x³ ≡ y² + (p − 1)D
    nE_cm3       #{(x, y) : y² = x³ + D} + 1 = p + 1      (a_p = 0; CM by Z[ζ₃], e.g. 27a, 36a, 108a, 243b)
-/
import bsd.CubeRoot
import lib.Semi

namespace CubeCount
open FTAChain FrobChain QRChain ESChain CubeRoot

theorem sum_swap (m : Nat) (f : Nat → Nat → Nat) : ∀ n,
    sumTo n (fun x => sumTo m (fun y => f x y)) = sumTo m (fun y => sumTo n (fun x => f x y))
  | 0 => (sum_zero m _ (fun _ _ => rfl)).symm
  | n + 1 => by
    show sumTo n (fun x => sumTo m (fun y => f x y)) + sumTo m (fun y => f n y)
      = sumTo m (fun y => sumTo n (fun x => f x y) + f n y)
    rw [sum_swap m f n, sum_add]

theorem shift_iff (m' D a b : Nat) :
    rem (m' + 1) b = rem (m' + 1) (a + D) ↔ rem (m' + 1) a = rem (m' + 1) (b + m' * D) := by
  constructor
  · intro e
    have k := rem_add_congr m' _ _ (m' * D) e
    rw [k, show a + D + m' * D = D * (m' + 1) + a by lib_nat]
    exact (rem_add_mul m' a D).symm
  · intro e
    have k := rem_add_congr m' _ _ D e
    rw [k, show b + m' * D + D = D * (m' + 1) + b by lib_nat]
    exact (rem_add_mul m' b D).symm

def affC (p D : Nat) : Nat :=
  sumTo p (fun x => sumTo p (fun y => b2n (Nat.beq (rem p (y * y)) (rem p (x * x * x + D)))))

/-- **a_p = 0 for y² = x³ + D**, p ≡ 5 (mod 6). -/
theorem nE_cm3 (j D : Nat) (hp : Pr ((3 * j + 2) + (3 * j + 2) + 1)) :
    affC ((3 * j + 2) + (3 * j + 2) + 1) D + 1 = ((3 * j + 2) + (3 * j + 2) + 1) + 1 := by
  let h := 3 * j + 2
  show affC (h + h + 1) D + 1 = h + h + 1 + 1
  unfold affC
  rw [sum_swap]
  have e : sumTo (h + h + 1) (fun y => sumTo (h + h + 1) (fun x =>
      b2n (Nat.beq (rem (h + h + 1) (y * y)) (rem (h + h + 1) (x * x * x + D)))))
      = sumTo (h + h + 1) (fun _ => 1) := by
    apply sum_ext; intro y _
    refine Eq.trans ?_ (cube_count j (y * y + (h + h) * D) hp)
    apply sum_ext; intro x _
    rw [b2n_beq, b2n_beq]
    exact ite_iff (shift_iff (h + h) D (x * x * x) (y * y))
  rw [e, sum_const1]

end CubeCount

#print axioms CubeCount.sum_swap
#print axioms CubeCount.shift_iff
#print axioms CubeCount.nE_cm3

bsd/CubeRoot.lean

lean_all/bsd/CubeRoot.lean

/-
  bsd/CubeRoot.lean — T39 cycle 68: cubing is a bijection of F_p for p ≡ 5 (mod 6) (piece 1 of a_p = 0 for
  y² = x³ + D).

  Lean 4 core plus ESChain, QRChain (fermat1, pow_add'), bsd/Congruent2pE (mul_pow'), lib/Semi.
  p = h + h + 1, h = 3j + 2 (p = 6j + 5), e = 4j + 3 (3e = 2(p − 1) + 1):
    pow3e       x^{3e} ≡ x                 (Fermat)
    cube_inv    (x³)^e ≡ x
    cube_count  #{x < p : x³ ≡ c} = 1  for every c
-/
import ESChain
import bsd.Congruent2pE
import lib.Semi

namespace CubeRoot
open FTAChain FrobChain QRChain ESChain Congruent2pE

theorem pow3e (j x : Nat) (hp : Pr ((3 * j + 2) + (3 * j + 2) + 1)) :
    rem ((3 * j + 2) + (3 * j + 2) + 1) (x ^ (4 * j + 3) * x ^ (4 * j + 3) * x ^ (4 * j + 3))
      = rem ((3 * j + 2) + (3 * j + 2) + 1) x := by
  let h := 3 * j + 2
  have ex : x ^ (4 * j + 3) * x ^ (4 * j + 3) * x ^ (4 * j + 3) = x ^ (h + h) * x ^ (h + h) * x := by
    rw [← pow_add', ← pow_add']
    have e : 4 * j + 3 + (4 * j + 3) + (4 * j + 3) = (h + h) + (h + h) + 1 := by
      show _ = (3 * j + 2) + (3 * j + 2) + ((3 * j + 2) + (3 * j + 2)) + 1; lib_nat
    rw [e, pow_add', pow_add', Nat.pow_succ, Nat.pow_zero, Nat.one_mul]
  show rem (h + h + 1) _ = rem (h + h + 1) x
  rw [ex]
  match Nat.decEq (rem (h + h + 1) x) 0 with
  | isTrue z =>
    rw [z]
    exact rem_zero_of_dv _ _ (dv_mul_left _ _ _ (dv_of_rem_zero _ _ z))
  | isFalse nz =>
    have f := fermat1 h x hp (fun d => nz (rem_zero_of_dv _ _ d))
    have one : rem (h + h + 1) (x ^ (h + h) * x ^ (h + h)) = rem (h + h + 1) 1 := by
      rw [rem_mul_congr2 (h + h) _ 1 _ 1 (f.trans (rem_one _ (hh_pos h hp)).symm)
        (f.trans (rem_one _ (hh_pos h hp)).symm)]
    rw [rem_mul_congr (h + h) _ 1 x one, Nat.one_mul]

theorem cube_inv (j x : Nat) (hp : Pr ((3 * j + 2) + (3 * j + 2) + 1)) :
    rem ((3 * j + 2) + (3 * j + 2) + 1) ((x * x * x) ^ (4 * j + 3)) = rem ((3 * j + 2) + (3 * j + 2) + 1) x := by
  rw [mul_pow', mul_pow']; exact pow3e j x hp

theorem cube_count (j c : Nat) (hp : Pr ((3 * j + 2) + (3 * j + 2) + 1)) :
    sumTo ((3 * j + 2) + (3 * j + 2) + 1)
      (fun x => b2n (Nat.beq (rem ((3 * j + 2) + (3 * j + 2) + 1) (x * x * x)) (rem ((3 * j + 2) + (3 * j + 2) + 1) c)))
      = 1 := by
  let h := 3 * j + 2
  let y0 := rem (h + h + 1) (c ^ (4 * j + 3))
  have hy0 : y0 < h + h + 1 := rem_lt' _ _
  have r0 : rem (h + h + 1) (y0 * y0 * y0) = rem (h + h + 1) c := by
    have k := rem_mul_congr2 (h + h) _ _ _ _
      (rem_mul_congr2 (h + h) _ _ _ _ (rem_idem (h + h) (c ^ (4 * j + 3))) (rem_idem (h + h) (c ^ (4 * j + 3))))
      (rem_idem (h + h) (c ^ (4 * j + 3)))
    exact k.trans (pow3e j c hp)
  show sumTo (h + h + 1) (fun x => b2n (Nat.beq (rem (h + h + 1) (x * x * x)) (rem (h + h + 1) c))) = 1
  rw [sum_ext _ _ (fun x => eqI x y0) (fun x hx => by
    rw [b2n_beq]
    match Nat.decEq (rem (h + h + 1) (x * x * x)) (rem (h + h + 1) c) with
    | isTrue e =>
      have ex : x = y0 := by
        have a1 := cube_inv j x hp
        have a2 := cube_inv j y0 hp
        rw [rem_pow_congr (h + h) _ _ (e.trans r0.symm)] at a1
        have := a1.symm.trans a2
        rw [rem_of_lt _ _ hx, rem_of_lt _ _ hy0] at this
        exact this
      rw [ite_eq_left e, show eqI x y0 = 1 from ite_eq_left ex]
    | isFalse n =>
      rw [ite_eq_right n, show eqI x y0 = 0 from ite_eq_right (fun ex => n (by rw [ex]; exact r0))])]
  exact sum_eqI y0 _ hy0

end CubeRoot

#print axioms CubeRoot.pow3e
#print axioms CubeRoot.cube_inv
#print axioms CubeRoot.cube_count

bsd/DblCls.lean

lean_all/bsd/DblCls.lean

/-
  bsd/DblCls.lean — T39 (goal G289e-7b3): the doubled point 2P of a rational point P of E_42486 (2y ≠ 0) lies away
  from E[2] and has the trivial 2-descent class.  x₂ − eᵢ = (gᵢ·w)² for each root (bsd/DoublingGen.dbl_sq with the
  roots permuted); x₂ = 0, n, −n would make −n, n or −n a rational square, which the class bits forbid (bits_of_eq).
    x2_perm12, x2_perm13, f_perm12, f_perm13     symmetry of x₂ and f in the roots
    dbl_sq1, dbl_sq2, dbl_sq3                     x₂ − eᵢ is a square, i = 1, 2, 3
    cq0, no_sq                                    cq 0 = 1; castQ(cls κ) is not a square for κ ≠ 0
    dbl_nd_cls                                    ND (x₂) and class (0, 0)
  Lean 4 core plus bsd/TransStep2, bsd/Kernel2.
-/
import bsd.TransStep2
import bsd.Kernel2

namespace DblCls
open DetChain LibRing TrianglePoint

section gen
variable {R : Type} (K : CRing R)

theorem x2_perm12 (e1 e2 e3 x w : R) : DoublingGen.x2 K e1 e2 e3 x w = DoublingGen.x2 K e2 e1 e3 x w := by
  unfold DoublingGen.x2 DoublingGen.f' TrianglePoint.sq TrianglePoint.two; lib_ring

theorem x2_perm13 (e1 e2 e3 x w : R) : DoublingGen.x2 K e1 e2 e3 x w = DoublingGen.x2 K e3 e2 e1 x w := by
  unfold DoublingGen.x2 DoublingGen.f' TrianglePoint.sq TrianglePoint.two; lib_ring

theorem f_perm12 (e1 e2 e3 x : R) : DescentHomFull.f K e1 e2 e3 x = DoublingGen.f K e2 e1 e3 x := by
  unfold DescentHomFull.f DoublingGen.f LibRing.sub; lib_ring

theorem f_perm13 (e1 e2 e3 x : R) : DescentHomFull.f K e1 e2 e3 x = DoublingGen.f K e3 e2 e1 x := by
  unfold DescentHomFull.f DoublingGen.f LibRing.sub; lib_ring

theorem dbl_sq1 (e1 e2 e3 x y w : R) (hy : K.mul y y = DescentHomFull.f K e1 e2 e3 x)
    (hw : K.mul (two K y) w = K.one) :
    sub K (DoublingGen.x2 K e1 e2 e3 x w) e1 = sq K (K.mul (DoublingGen.g K e1 e2 e3 x) w) :=
  DoublingGen.dbl_sq K e1 e2 e3 x y w (hy.trans (Kernel2.f_bridge K e1 e2 e3 x).symm) hw

theorem dbl_sq2 (e1 e2 e3 x y w : R) (hy : K.mul y y = DescentHomFull.f K e1 e2 e3 x)
    (hw : K.mul (two K y) w = K.one) :
    sub K (DoublingGen.x2 K e1 e2 e3 x w) e2 = sq K (K.mul (DoublingGen.g K e2 e1 e3 x) w) := by
  have h := DoublingGen.dbl_sq K e2 e1 e3 x y w (hy.trans (f_perm12 K e1 e2 e3 x)) hw
  rw [← x2_perm12 K e1 e2 e3 x w] at h
  exact h

theorem dbl_sq3 (e1 e2 e3 x y w : R) (hy : K.mul y y = DescentHomFull.f K e1 e2 e3 x)
    (hw : K.mul (two K y) w = K.one) :
    sub K (DoublingGen.x2 K e1 e2 e3 x w) e3 = sq K (K.mul (DoublingGen.g K e3 e2 e1 x) w) := by
  have h := DoublingGen.dbl_sq K e3 e2 e1 x y w (hy.trans (f_perm13 K e1 e2 e3 x)) hw
  rw [← x2_perm13 K e1 e2 e3 x w] at h
  exact h

end gen

open LibRat QModel QCls B5S TransStep TransStep2

def z5 : B5 := ⟨false, false, false, false, false⟩

theorem cq0_one : cq z5 = ratR.one := rfl

theorem cq0 (a : Q) : ratR.mul (cq z5) a = a := by
  rw [cq0_one]; lib_ring

theorem no_sq (κ : B5) (hκ : κ ≠ z5) (T : Q) (h : castQ (κ.cls * (1 * 1)) = ratR.mul T T) : False :=
  hκ (bits_of_eq κ z5 1 one_ne T (h.trans (cq0 _).symm)).symm

theorem KT0_ne : KT0 ≠ z5 := fun h => Bool.noConfusion (congrArg B5.s h)
theorem KN_ne : KN ≠ z5 := fun h => Bool.noConfusion (congrArg B5.a h)

/-- **2P is away from E[2] with the trivial class.** -/
theorem dbl_nd_cls (x y w : Q) (o : OnE x y) (hw : ratR.mul (two ratR y) w = ratR.one) :
    ND (DoublingGen.x2 ratR zeroQ nQ (negQ nQ) x w) ∧ HC (DoublingGen.x2 ratR zeroQ nQ (negQ nQ) x w) z5 z5 := by
  have h0 := dbl_sq1 ratR zeroQ nQ (negQ nQ) x y w o hw
  have hn := dbl_sq2 ratR zeroQ nQ (negQ nQ) x y w o hw
  have hm := dbl_sq3 ratR zeroQ nQ (negQ nQ) x y w o hw
  generalize DoublingGen.x2 ratR zeroQ nQ (negQ nQ) x w = X at h0 hn hm ⊢
  have nx : X ≠ zeroQ := fun h => by
    rw [h] at hn
    exact no_sq KT0 KT0_ne _ (tor_0n.symm.trans hn)
  have nxn : sub ratR X nQ ≠ zeroQ := fun h => by
    have e := LibVieta.sub_zero_eq ratR _ _ h
    rw [e] at h0
    exact no_sq KN KN_ne _ (tor_n0.symm.trans h0)
  have nxm : sub ratR X (negQ nQ) ≠ zeroQ := fun h => by
    have e := LibVieta.sub_zero_eq ratR _ _ h
    rw [e] at h0
    exact no_sq KT0 KT0_ne _ (tor_m0.symm.trans h0)
  refine ⟨⟨nx, nxn, nxm⟩, ?_⟩
  have h0' : sub ratR X zeroQ ≠ zeroQ := fun h => nx ((sub0 X).symm.trans h)
  unfold HC HasCls
  refine ⟨ratR.mul (DoublingGen.g ratR zeroQ nQ (negQ nQ) x) w, ratR.mul (DoublingGen.g ratR nQ zeroQ (negQ nQ) x) w,
    T_ne z5 _ _ h0' (h0.trans (cq0 _).symm), T_ne z5 _ _ nxn (hn.trans (cq0 _).symm),
    (sub0 X).symm.trans (h0.trans (cq0 _).symm), hn.trans (cq0 _).symm⟩

end DblCls

#print axioms DblCls.x2_perm12
#print axioms DblCls.x2_perm13
#print axioms DblCls.f_perm12
#print axioms DblCls.f_perm13
#print axioms DblCls.dbl_sq1
#print axioms DblCls.dbl_sq2
#print axioms DblCls.dbl_sq3
#print axioms DblCls.cq0_one
#print axioms DblCls.cq0
#print axioms DblCls.no_sq
#print axioms DblCls.KT0_ne
#print axioms DblCls.KN_ne
#print axioms DblCls.dbl_nd_cls

bsd/DblClsN.lean

lean_all/bsd/DblClsN.lean

/-
  bsd/DblClsN.lean — T39 (goal G289f-4d): the doubled point 2P of a rational point P of E_n (n a rational parameter,
  2y ≠ 0) lies away from E[2] and has the trivial class over any prime list (bsd/DblCls fixes n = 42486).
  Hypotheses: 0 − n, n − 0 and −n − 0 are not rational squares (n and −n are not squares).
    zL, prodL_zL, cqL_zL      the trivial class has value 1
    dbl_nd_clsN               NDn n x₂ and class (0, 0)
  Lean 4 core plus bsd/StepN, bsd/DblCls.
-/
import bsd.StepN
import bsd.DblCls

namespace DblClsN
open DetChain LibRing LibRat LibInt QModel QCls B5S SqClass SqUniqueL TransStepL QModelN TrianglePoint

def zL : List Nat → List Bool
  | [] => []
  | _ :: ps => false :: zL ps

theorem zL_len : ∀ ps : List Nat, (zL ps).length = ps.length
  | [] => rfl
  | _ :: ps => congrArg Nat.succ (zL_len ps)

theorem one_mul' (a : Int) : 1 * a = a := by lib_int

theorem prodL_zL : ∀ ps : List Nat, prodL ps (zL ps) = 1
  | [] => rfl
  | _ :: ps => (one_mul' _).trans (prodL_zL ps)

theorem cqL_zL (ps : List Nat) : cqL ps false (zL ps) = ratR.one := by
  unfold cqL clsL
  rw [prodL_zL ps]
  rfl

theorem one_mulQ (ps : List Nat) (a : Q) : ratR.mul (cqL ps false (zL ps)) a = a := by
  rw [cqL_zL]; lib_ring

/-- **2P is away from E[2] with the trivial class (general n).** -/
theorem dbl_nd_clsN (n : Q) (ps : List Nat) (x y w : Q) (o : OnEn n x y) (hw : ratR.mul (two ratR y) w = ratR.one)
    (h0n : ∀ T : Q, sub ratR zeroQ n ≠ ratR.mul T T) (hn0 : ∀ T : Q, sub ratR n zeroQ ≠ ratR.mul T T)
    (hm0 : ∀ T : Q, sub ratR (negQ n) zeroQ ≠ ratR.mul T T) :
    NDn n (DoublingGen.x2 ratR zeroQ n (negQ n) x w) ∧
      HCn n ps (DoublingGen.x2 ratR zeroQ n (negQ n) x w) false (zL ps) false (zL ps) := by
  have h0 := DblCls.dbl_sq1 ratR zeroQ n (negQ n) x y w o hw
  have hn := DblCls.dbl_sq2 ratR zeroQ n (negQ n) x y w o hw
  have hm := DblCls.dbl_sq3 ratR zeroQ n (negQ n) x y w o hw
  generalize DoublingGen.x2 ratR zeroQ n (negQ n) x w = X at h0 hn hm ⊢
  have nx : X ≠ zeroQ := fun h => by
    rw [h] at hn
    exact h0n _ hn
  have nxn : sub ratR X n ≠ zeroQ := fun h => by
    have e := LibVieta.sub_zero_eq ratR _ _ h
    rw [e] at h0
    exact hn0 _ h0
  have nxm : sub ratR X (negQ n) ≠ zeroQ := fun h => by
    have e := LibVieta.sub_zero_eq ratR _ _ h
    rw [e] at h0
    exact hm0 _ h0
  refine ⟨⟨nx, nxn, nxm⟩, ?_⟩
  have h0' : sub ratR X zeroQ ≠ zeroQ := fun h => nx ((TransStep.sub0 X).symm.trans h)
  exact ⟨ratR.mul (DoublingGen.g ratR zeroQ n (negQ n) x) w, ratR.mul (DoublingGen.g ratR n zeroQ (negQ n) x) w,
    StepN.T_neQ _ _ _ h0' (h0.trans (one_mulQ ps _).symm), StepN.T_neQ _ _ _ nxn (hn.trans (one_mulQ ps _).symm),
    (TransStep.sub0 X).symm.trans (h0.trans (one_mulQ ps _).symm), hn.trans (one_mulQ ps _).symm⟩

end DblClsN

#print axioms DblClsN.zL_len
#print axioms DblClsN.one_mul'
#print axioms DblClsN.prodL_zL
#print axioms DblClsN.cqL_zL
#print axioms DblClsN.one_mulQ
#print axioms DblClsN.dbl_nd_clsN

bsd/DblOn.lean

lean_all/bsd/DblOn.lean

/-
  bsd/DblOn.lean — T39 (goal G289e-7b2): the tangent (doubling) point lies on the curve, over any commutative ring.
  With y² = f(x), 2y·w = 1, λ = f'(x)·w and x₂ = λ² + e₁ + e₂ + e₃ − 2x (bsd/DoublingGen.x2):
      y₂ = −(λ(x₂ − x) + y)  satisfies  y₂² = f(x₂).
    ident        f(t) − (l(t − x) + y)² = (f(x) − y²) + (f'(x) − 2yl)(t − x) + (t − x)²(t − (l² + s₁ − 2x))
    dbl_on       the doubled point is on the curve
    sq_cases     a² = b² ⇒ a = b ∨ a = −b             (no zero divisors)
    two_ne_of    a = b, a ≠ −b, 2 ≠ 0 ⇒ 2a ≠ 0
  Lean 4 core plus bsd/DoublingGen, bsd/DescentHomFull.
-/
import bsd.DoublingGen
import bsd.DescentHomFull

namespace DblOn
open DetChain LibRing TrianglePoint

variable {R : Type} (K : CRing R)

def lam (e1 e2 e3 x w : R) : R := K.mul (DoublingGen.f' K e1 e2 e3 x) w

def yD (e1 e2 e3 x y w : R) : R :=
  K.neg (K.add (K.mul (lam K e1 e2 e3 x w) (sub K (DoublingGen.x2 K e1 e2 e3 x w) x)) y)

theorem ident (e1 e2 e3 x y l t : R) :
    DescentHomFull.f K e1 e2 e3 t
      = K.add (K.mul (K.add (K.mul l (sub K t x)) y) (K.add (K.mul l (sub K t x)) y))
          (K.add (K.add (DescentHomFull.f K e1 e2 e3 x) (K.neg (K.mul y y)))
            (K.add (K.mul (K.add (DoublingGen.f' K e1 e2 e3 x) (K.neg (K.mul (two K y) l))) (sub K t x))
              (K.mul (K.mul (sub K t x) (sub K t x))
                (sub K t (K.add (K.add (K.mul l l) (K.add (K.add e1 e2) e3)) (K.neg (two K x))))))) := by
  unfold DescentHomFull.f DoublingGen.f' TrianglePoint.two LibRing.sub; lib_ring

/-- **The doubled point is on the curve.** -/
theorem dbl_on (e1 e2 e3 x y w : R) (hy : K.mul y y = DescentHomFull.f K e1 e2 e3 x)
    (hw : K.mul (two K y) w = K.one) :
    K.mul (yD K e1 e2 e3 x y w) (yD K e1 e2 e3 x y w)
      = DescentHomFull.f K e1 e2 e3 (DoublingGen.x2 K e1 e2 e3 x w) := by
  have I := ident K e1 e2 e3 x y (lam K e1 e2 e3 x w) (DoublingGen.x2 K e1 e2 e3 x w)
  have z1 : K.add (DescentHomFull.f K e1 e2 e3 x) (K.neg (K.mul y y)) = K.zero := by
    rw [hy]; lib_ring
  have z2 : K.add (DoublingGen.f' K e1 e2 e3 x) (K.neg (K.mul (two K y) (lam K e1 e2 e3 x w))) = K.zero := by
    unfold lam
    rw [show K.mul (two K y) (K.mul (DoublingGen.f' K e1 e2 e3 x) w)
        = K.mul (DoublingGen.f' K e1 e2 e3 x) (K.mul (two K y) w) by lib_ring, hw]
    lib_ring
  have z3 : sub K (DoublingGen.x2 K e1 e2 e3 x w)
      (K.add (K.add (K.mul (lam K e1 e2 e3 x w) (lam K e1 e2 e3 x w)) (K.add (K.add e1 e2) e3))
        (K.neg (two K x))) = K.zero := by
    unfold DoublingGen.x2 TrianglePoint.sq lam LibRing.sub; lib_ring
  rw [z1, z2, z3] at I
  rw [I]; unfold yD; lib_ring

theorem sq_cases (hK : NoZD K) (a b : R) (h : K.mul a a = K.mul b b) : a = b ∨ a = K.neg b := by
  have e : K.mul (sub K a b) (K.add a b) = K.zero := by
    calc K.mul (sub K a b) (K.add a b) = K.add (K.mul a a) (K.neg (K.mul b b)) := by
          unfold LibRing.sub; lib_ring
      _ = K.add (K.mul b b) (K.neg (K.mul b b)) := by rw [h]
      _ = K.zero := by lib_ring
  cases hK _ _ e with
  | inl h1 => exact Or.inl (by
      calc a = K.add (sub K a b) b := by unfold LibRing.sub; lib_ring
        _ = K.add K.zero b := by rw [h1]
        _ = b := by lib_ring)
  | inr h1 => exact Or.inr (by
      calc a = K.add (K.add a b) (K.neg b) := by lib_ring
        _ = K.add K.zero (K.neg b) := by rw [h1]
        _ = K.neg b := by lib_ring)

theorem two_ne_of (hK : NoZD K) (h2 : two K K.one ≠ K.zero) (a b : R) (hab : a = b) (hne : a ≠ K.neg b) :
    two K a ≠ K.zero := fun h => by
  have e : K.mul (two K K.one) a = K.zero := by
    calc K.mul (two K K.one) a = two K a := by unfold TrianglePoint.two; lib_ring
      _ = K.zero := h
  cases hK _ _ e with
  | inl h1 => exact h2 h1
  | inr h1 =>
    apply hne
    calc a = K.zero := h1
      _ = K.neg K.zero := by lib_ring
      _ = K.neg a := by rw [h1]
      _ = K.neg b := by rw [hab]

end DblOn

#print axioms DblOn.ident
#print axioms DblOn.dbl_on
#print axioms DblOn.sq_cases
#print axioms DblOn.two_ne_of

bsd/Dep4.lean

lean_all/bsd/Dep4.lean

/-
  bsd/Dep4.lean — T39 (goal G289e-7a): the descent classes modulo the classes of E[2] form a group of order 8, so any
  four classes are dependent there.  On the first halves (bits of x: sign, 2, 3, 73, 97) the classes of E[2] are
  0, T0 = (1,0,0,0,0), T1 = (0,1,1,1,1) and T0 ⊕ T1; the map q(s, a, b, c, d) = (a ⊕ b, a ⊕ c, a ⊕ d) has exactly
  these as kernel.
    dep         any four vectors of F₂³ have a nonempty subset with zero sum (all 2¹² cases, rfl, with a chooser)
    sum_a…sum_d the bits of the subset sum of four B5 classes
    lin         the subset sum commutes with xor of two coordinates
    dep_B5      for any four classes β₁…β₄ some nonempty subset sum is (s, t, t, t, t), i.e. s·T0 ⊕ t·T1
  Lean 4 core plus bsd/B5, bsd/VSet.
-/
import bsd.B5
import bsd.VSet

namespace Dep4
open B5S

theorem and_left : ∀ {a b : Bool}, (a && b) = true → a = true
  | true, _, _ => rfl
  | false, _, h => Bool.noConfusion h

theorem and_right : ∀ {a b : Bool}, (a && b) = true → b = true
  | _, true, _ => rfl
  | true, false, h => Bool.noConfusion h
  | false, false, h => Bool.noConfusion h

theorem not_true : ∀ {a : Bool}, (!a) = true → a = false
  | false, _ => rfl
  | true, h => Bool.noConfusion h

theorem xor_false : ∀ {a b : Bool}, Bool.xor a b = false → b = a
  | true, true, _ => rfl
  | false, false, _ => rfl
  | true, false, h => Bool.noConfusion h
  | false, true, h => Bool.noConfusion h

theorem all2_app (f : Bool → Bool) (h : VSet.all2 f = true) : ∀ b, f b = true
  | true => and_left h
  | false => and_right h

/-- a vector of F₂³ -/
structure T3 where
  x : Bool
  y : Bool
  z : Bool

/-- a subset of {1, 2, 3, 4} -/
structure E4 where
  e1 : Bool
  e2 : Bool
  e3 : Bool
  e4 : Bool

def comb (c : E4) (x1 x2 x3 x4 : Bool) : Bool :=
  Bool.xor (Bool.xor (c.e1 && x1) (c.e2 && x2)) (Bool.xor (c.e3 && x3) (c.e4 && x4))

def nz (c : E4) : Bool := c.e1 || c.e2 || c.e3 || c.e4

def good (c : E4) (u1 u2 u3 u4 : T3) : Bool :=
  nz c && !(comb c u1.x u2.x u3.x u4.x) && !(comb c u1.y u2.y u3.y u4.y) && !(comb c u1.z u2.z u3.z u4.z)

def tryE (c : E4) (u1 u2 u3 u4 : T3) (k : E4) : E4 :=
  match good c u1 u2 u3 u4 with
  | true => c
  | false => k

/-- the first nonempty subset with zero sum (in a fixed order of the 15 subsets) -/
def pick (u1 u2 u3 u4 : T3) : E4 :=
  tryE ⟨true, false, false, false⟩ u1 u2 u3 u4 <| tryE ⟨false, true, false, false⟩ u1 u2 u3 u4 <|
  tryE ⟨false, false, true, false⟩ u1 u2 u3 u4 <| tryE ⟨false, false, false, true⟩ u1 u2 u3 u4 <|
  tryE ⟨true, true, false, false⟩ u1 u2 u3 u4 <| tryE ⟨true, false, true, false⟩ u1 u2 u3 u4 <|
  tryE ⟨true, false, false, true⟩ u1 u2 u3 u4 <| tryE ⟨false, true, true, false⟩ u1 u2 u3 u4 <|
  tryE ⟨false, true, false, true⟩ u1 u2 u3 u4 <| tryE ⟨false, false, true, true⟩ u1 u2 u3 u4 <|
  tryE ⟨true, true, true, false⟩ u1 u2 u3 u4 <| tryE ⟨true, true, false, true⟩ u1 u2 u3 u4 <|
  tryE ⟨true, false, true, true⟩ u1 u2 u3 u4 <| tryE ⟨false, true, true, true⟩ u1 u2 u3 u4 <|
  ⟨true, true, true, true⟩

def allT3 (f : T3 → Bool) : Bool :=
  VSet.all2 fun x => VSet.all2 fun y => VSet.all2 fun z => f ⟨x, y, z⟩

theorem allT3_app (f : T3 → Bool) (h : allT3 f = true) : ∀ u, f u = true
  | ⟨x, y, z⟩ => all2_app _ (all2_app _ (all2_app _ h x) y) z

def depChk : Bool :=
  allT3 fun u1 => allT3 fun u2 => allT3 fun u3 => allT3 fun u4 => good (pick u1 u2 u3 u4) u1 u2 u3 u4

theorem depChk_true : depChk = true := rfl

/-- **Four vectors of F₂³ are dependent.** -/
theorem dep (u1 u2 u3 u4 : T3) : ∃ c : E4, good c u1 u2 u3 u4 = true :=
  ⟨pick u1 u2 u3 u4, allT3_app _ (allT3_app _ (allT3_app _ (allT3_app _ depChk_true u1) u2) u3) u4⟩

def linChk : Bool :=
  VSet.all2 fun e1 => VSet.all2 fun e2 => VSet.all2 fun e3 => VSet.all2 fun e4 =>
  VSet.all2 fun a1 => VSet.all2 fun a2 => VSet.all2 fun a3 => VSet.all2 fun a4 =>
  VSet.all2 fun b1 => VSet.all2 fun b2 => VSet.all2 fun b3 => VSet.all2 fun b4 =>
    VSet.beqB (Bool.xor (comb ⟨e1, e2, e3, e4⟩ a1 a2 a3 a4) (comb ⟨e1, e2, e3, e4⟩ b1 b2 b3 b4))
      (comb ⟨e1, e2, e3, e4⟩ (Bool.xor a1 b1) (Bool.xor a2 b2) (Bool.xor a3 b3) (Bool.xor a4 b4))

theorem linChk_true : linChk = true := rfl

theorem beqB_eq : ∀ {a b : Bool}, VSet.beqB a b = true → a = b
  | true, true, _ => rfl
  | false, false, _ => rfl
  | true, false, h => Bool.noConfusion h
  | false, true, h => Bool.noConfusion h

/-- the subset sum commutes with xor of two coordinates -/
theorem lin (c : E4) (a1 a2 a3 a4 b1 b2 b3 b4 : Bool) :
    Bool.xor (comb c a1 a2 a3 a4) (comb c b1 b2 b3 b4)
      = comb c (Bool.xor a1 b1) (Bool.xor a2 b2) (Bool.xor a3 b3) (Bool.xor a4 b4) := by
  cases c with
  | mk e1 e2 e3 e4 =>
    exact beqB_eq (all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _ (all2_app _
      (all2_app _ (all2_app _ (all2_app _ (all2_app _ linChk_true e1) e2) e3) e4) a1) a2) a3) a4) b1) b2) b3) b4)

def zB : B5 := ⟨false, false, false, false, false⟩

def selB (e : Bool) (β : B5) : B5 :=
  match e with
  | true => β
  | false => zB

def sum4 (c : E4) (β1 β2 β3 β4 : B5) : B5 :=
  ((selB c.e1 β1).xor (selB c.e2 β2)).xor ((selB c.e3 β3).xor (selB c.e4 β4))

theorem sum_a (c : E4) (β1 β2 β3 β4 : B5) : (sum4 c β1 β2 β3 β4).a = comb c β1.a β2.a β3.a β4.a := by
  cases c with
  | mk e1 e2 e3 e4 => cases e1 <;> cases e2 <;> cases e3 <;> cases e4 <;> rfl

theorem sum_b (c : E4) (β1 β2 β3 β4 : B5) : (sum4 c β1 β2 β3 β4).b = comb c β1.b β2.b β3.b β4.b := by
  cases c with
  | mk e1 e2 e3 e4 => cases e1 <;> cases e2 <;> cases e3 <;> cases e4 <;> rfl

theorem sum_c (c : E4) (β1 β2 β3 β4 : B5) : (sum4 c β1 β2 β3 β4).c = comb c β1.c β2.c β3.c β4.c := by
  cases c with
  | mk e1 e2 e3 e4 => cases e1 <;> cases e2 <;> cases e3 <;> cases e4 <;> rfl

theorem sum_d (c : E4) (β1 β2 β3 β4 : B5) : (sum4 c β1 β2 β3 β4).d = comb c β1.d β2.d β3.d β4.d := by
  cases c with
  | mk e1 e2 e3 e4 => cases e1 <;> cases e2 <;> cases e3 <;> cases e4 <;> rfl

/-- the quotient map B5 → F₂³ with kernel {0, T0, T1, T0 ⊕ T1} (first halves) -/
def q (β : B5) : T3 := ⟨Bool.xor β.a β.b, Bool.xor β.a β.c, Bool.xor β.a β.d⟩

/-- **Four descent classes are dependent modulo E[2].** For any β₁…β₄ some nonempty subset sum is
    (s, t, t, t, t) = s·T0 ⊕ t·T1. -/
theorem dep_B5 (β1 β2 β3 β4 : B5) :
    ∃ c : E4, nz c = true ∧ ∃ s t : Bool, sum4 c β1 β2 β3 β4 = ⟨s, t, t, t, t⟩ := by
  obtain ⟨c, hg⟩ := dep (q β1) (q β2) (q β3) (q β4)
  have h123 := and_left hg
  have hz := not_true (and_right hg)
  have h12 := and_left h123
  have hy := not_true (and_right h123)
  have hn := and_left h12
  have hx := not_true (and_right h12)
  refine ⟨c, hn, (sum4 c β1 β2 β3 β4).s, (sum4 c β1 β2 β3 β4).a, ?_⟩
  have eb : Bool.xor (sum4 c β1 β2 β3 β4).a (sum4 c β1 β2 β3 β4).b = false := by
    rw [sum_a, sum_b, lin]; exact hx
  have ec : Bool.xor (sum4 c β1 β2 β3 β4).a (sum4 c β1 β2 β3 β4).c = false := by
    rw [sum_a, sum_c, lin]; exact hy
  have ed : Bool.xor (sum4 c β1 β2 β3 β4).a (sum4 c β1 β2 β3 β4).d = false := by
    rw [sum_a, sum_d, lin]; exact hz
  have hb := xor_false eb
  have hc := xor_false ec
  have hd := xor_false ed
  generalize sum4 c β1 β2 β3 β4 = γ at hb hc hd ⊢
  calc γ = ⟨γ.s, γ.a, γ.b, γ.c, γ.d⟩ := rfl
    _ = ⟨γ.s, γ.a, γ.a, γ.a, γ.a⟩ := by rw [hb, hc, hd]

end Dep4

#print axioms Dep4.and_left
#print axioms Dep4.and_right
#print axioms Dep4.not_true
#print axioms Dep4.xor_false
#print axioms Dep4.all2_app
#print axioms Dep4.allT3_app
#print axioms Dep4.depChk_true
#print axioms Dep4.dep
#print axioms Dep4.linChk_true
#print axioms Dep4.beqB_eq
#print axioms Dep4.lin
#print axioms Dep4.sum_a
#print axioms Dep4.sum_b
#print axioms Dep4.sum_c
#print axioms Dep4.sum_d
#print axioms Dep4.dep_B5

bsd/DepGraph.lean

lean_all/bsd/DepGraph.lean

/-
  bsd/DepGraph.lean — T39 (goal G289f-4h-5e2, tool): the dependency input of Rank3FinalN.rank_le3N for a set V of
  classes over four primes that is closed under ⊕ and is the graph of a function (the second coordinate is determined
  by the first), when the classes of E[2] have first coordinates (1, 0000) and (0, 1111) (2 ∣ n, ps the primes of n).
    toC, len4', shape, ps4, sum4C_toC   list classes ↔ B5 (bsd/B5), four-element lists
    dep1                      any four first coordinates have a nonempty subset sum (s, t, t, t, t) (bsd/Dep4.dep_B5)
    wf_sel, wf_sum4, sel_inV   well-formedness and V-membership of subset sums
    dep_graph                  the statement used by rank_le3N
  Lean 4 core plus bsd/Rank3FinalN, bsd/Dep4.
-/
import bsd.Rank3FinalN
import bsd.Dep4

namespace DepGraph
open DetChain B5S PtClsN Rank3FinalN Dep4 StepN

def toC (β : B5) : CL := ⟨β.s, [β.a, β.b, β.c, β.d]⟩

theorem len4' : ∀ b : List Bool, b.length = 4 → ∃ b0 b1 b2 b3 : Bool, b = [b0, b1, b2, b3]
  | [b0, b1, b2, b3], _ => ⟨b0, b1, b2, b3, rfl⟩
  | [], h => Nat.noConfusion h
  | [_], h => Nat.noConfusion (Nat.succ.inj h)
  | [_, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj h))
  | [_, _, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h)))
  | _ :: _ :: _ :: _ :: _ :: _, h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h))))

theorem shape (ps : List Nat) (hl : ps.length = 4) (β : CL) (w : WF ps β) : ∃ B : B5, β = toC B := by
  cases β with
  | mk s b =>
    obtain ⟨b0, b1, b2, b3, e⟩ := len4' b (w.trans hl)
    subst e
    exact ⟨⟨s, b0, b1, b2, b3⟩, rfl⟩

theorem ps4 : ∀ ps : List Nat, ps.length = 4 → ∃ a b c d : Nat, ps = [a, b, c, d]
  | [a, b, c, d], _ => ⟨a, b, c, d, rfl⟩
  | [], h => Nat.noConfusion h
  | [_], h => Nat.noConfusion (Nat.succ.inj h)
  | [_, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj h))
  | [_, _, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h)))
  | _ :: _ :: _ :: _ :: _ :: _, h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h))))

theorem sum4C_toC (ps : List Nat) (hl : ps.length = 4) (c : E4) (B1 B2 B3 B4 : B5) :
    sum4C ps c (toC B1) (toC B2) (toC B3) (toC B4) = toC (sum4 c B1 B2 B3 B4) := by
  obtain ⟨a, b, c', d, e⟩ := ps4 ps hl
  subst e
  cases c with
  | mk e1 e2 e3 e4 => cases e1 <;> cases e2 <;> cases e3 <;> cases e4 <;> rfl

/-- **First coordinates of four classes are dependent modulo E[2].** -/
theorem dep1 (ps : List Nat) (hl : ps.length = 4) (β1 β2 β3 β4 : CL) (w1 : WF ps β1) (w2 : WF ps β2)
    (w3 : WF ps β3) (w4 : WF ps β4) :
    ∃ c : E4, nz c = true ∧ ∃ s t : Bool, sum4C ps c β1 β2 β3 β4 = ⟨s, [t, t, t, t]⟩ := by
  obtain ⟨B1, e1⟩ := shape ps hl β1 w1
  obtain ⟨B2, e2⟩ := shape ps hl β2 w2
  obtain ⟨B3, e3⟩ := shape ps hl β3 w3
  obtain ⟨B4, e4⟩ := shape ps hl β4 w4
  subst e1; subst e2; subst e3; subst e4
  obtain ⟨c, hn, s, t, e⟩ := dep_B5 B1 B2 B3 B4
  refine ⟨c, hn, s, t, ?_⟩
  rw [sum4C_toC ps hl, e]
  rfl

theorem wf_sel (ps : List Nat) (e : Bool) (β : CL) (w : WF ps β) : WF ps (selC ps e β) := by
  cases e with
  | true => exact w
  | false => exact wf_zc ps

theorem wf_sum4 (ps : List Nat) (c : E4) (β1 β2 β3 β4 : CL) (w1 : WF ps β1) (w2 : WF ps β2)
    (w3 : WF ps β3) (w4 : WF ps β4) : WF ps (sum4C ps c β1 β2 β3 β4) :=
  wf_cxor ps _ _ (wf_cxor ps _ _ (wf_sel ps _ _ w1) (wf_sel ps _ _ w2))
    (wf_cxor ps _ _ (wf_sel ps _ _ w3) (wf_sel ps _ _ w4))

theorem sel_inV (ps : List Nat) (inV : CL → CL → Bool) (hz : inV (zc ps) (zc ps) = true) (e : Bool) (β β' : CL)
    (h : inV β β' = true) : inV (selC ps e β) (selC ps e β') = true := by
  cases e with
  | true => exact h
  | false => exact hz

/-- **The dependency input of rank_le3N for a closed graph V.** -/
theorem dep_graph (ps : List Nat) (hl : ps.length = 4) (n : LibRat.Q) (D : TorData n ps) (inV : CL → CL → Bool)
    (hz : inV (zc ps) (zc ps) = true)
    (hwf : ∀ β β' : CL, inV β β' = true → WF ps β ∧ WF ps β')
    (hcl : ∀ β β' γ γ' : CL, inV β β' = true → inV γ γ' = true → inV (cxor β γ) (cxor β' γ') = true)
    (hfun : ∀ β β1 β2 : CL, inV β β1 = true → inV β β2 = true → β1 = β2)
    (vtor : ∀ s t : Bool, inV (tcA ps D s t) (tcB ps D s t) = true)
    (hT : ∀ s t : Bool, tcA ps D s t = ⟨s, [t, t, t, t]⟩)
    (β1 β2 β3 β4 β1' β2' β3' β4' : CL) (h1 : inV β1 β1' = true) (h2 : inV β2 β2' = true)
    (h3 : inV β3 β3' = true) (h4 : inV β4 β4' = true) :
    ∃ c : E4, nz c = true ∧ ∃ s t : Bool,
      sum4C ps c β1 β2 β3 β4 = tcA ps D s t ∧ sum4C ps c β1' β2' β3' β4' = tcB ps D s t := by
  obtain ⟨c, hn, s, t, e⟩ := dep1 ps hl β1 β2 β3 β4 (hwf _ _ h1).1 (hwf _ _ h2).1 (hwf _ _ h3).1 (hwf _ _ h4).1
  refine ⟨c, hn, s, t, e.trans (hT s t).symm, ?_⟩
  have hs : inV (sum4C ps c β1 β2 β3 β4) (sum4C ps c β1' β2' β3' β4') = true :=
    hcl _ _ _ _ (hcl _ _ _ _ (sel_inV ps inV hz _ _ _ h1) (sel_inV ps inV hz _ _ _ h2))
      (hcl _ _ _ _ (sel_inV ps inV hz _ _ _ h3) (sel_inV ps inV hz _ _ _ h4))
  rw [e, ← hT s t] at hs
  exact hfun _ _ _ hs (vtor s t)

end DepGraph

#print axioms DepGraph.len4'
#print axioms DepGraph.shape
#print axioms DepGraph.ps4
#print axioms DepGraph.sum4C_toC
#print axioms DepGraph.dep1
#print axioms DepGraph.wf_sel
#print axioms DepGraph.wf_sum4
#print axioms DepGraph.sel_inV
#print axioms DepGraph.dep_graph

bsd/DescentCert.lean

lean_all/bsd/DescentCert.lean

/-
  bsd/DescentCert.lean — T39 cycle 260 (goal G12): for 29 rank-1 congruent curves E_n (801 ≤ n ≤ 1000) the found point
  is not in E[2] + 2E(Q): its 2-descent image differs from all four torsion images modulo squares.

  Lean 4 core, rfl. A point x = X/b² (X = ±a) has descent image (x, x − n) ≡ (X, X − nb²) modulo squares; the torsion
  images are (1, 1), (−1, −n), (n, 2), (−n, −2n) (TorsionImage). cert checks, for each row and each torsion image (u, v),
  that X·u or (X − nb²)·v is not a perfect square (isqrt by bisection). With the descent map a homomorphism on
  E(Q)/2E(Q) (DescentHomFull, TorsionShift) and E_n(Q)_tors = E[2] (classical), this gives rank E_n(Q) ≥ 1 without
  Nagell–Lutz. For n = 806, 957, 966 the found point is a double and its half Q is used (HalfCheck5).
-/
namespace DescentCert

/-- floor square root by bisection: lo² ≤ k < hi² is kept -/
def isqrtGo (k : Nat) : Nat → Nat → Nat → Nat
  | 0, lo, _ => lo
  | f + 1, lo, hi => if hi ≤ lo + 1 then lo else
      let mid := (lo + hi) / 2
      if mid * mid ≤ k then isqrtGo k f mid hi else isqrtGo k f lo mid

def isSqN (k : Nat) : Bool := let r := isqrtGo k 256 0 (k + 1); Nat.beq (r * r) k

def isSqI : Int → Bool
  | Int.ofNat k => isSqN k
  | Int.negSucc _ => false

def rows : List (Nat × Bool × Nat × Nat) :=
  [(942, false, 3570843, 73),
   (830, true, 2790045, 29),
   (943, true, 1413721, 20),
   (813, true, 220323, 11),
   (869, true, 8383419, 49),
   (949, true, 900601, 30),
   (973, true, 38332, 3),
   (814, true, 60236, 5),
   (870, true, 21025, 2),
   (894, false, 8283750, 97),
   (951, true, 100489, 5),
   (839, true, 1719636199801, 12079),
   (871, true, 339333241, 85),
   (895, true, 714025, 22),
   (821, true, 552056430025, 6118),
   (901, true, 48841, 4),
   (934, false, 74498, 9),
   (854, true, 185150, 13),
   (902, false, 10082, 153),
   (935, true, 83521, 3),
   (959, true, 9409, 1),
   (861, true, 105861, 1),
   (885, true, 5991360, 59),
   (910, true, 4225, 2),
   (806, true, 3038, 1),
   (966, true, 11109, 1),
   (957, true, 27753, 2),
   (807, true, 122761831260084025, 11180341),
   (815, true, 38250380530932025, 1497249)]

def certRow (r : Nat × Bool × Nat × Nat) : Bool :=
  let n : Int := r.1
  let X : Int := if r.2.1 then r.2.2.1 else - (r.2.2.1 : Int)
  let b : Int := r.2.2.2
  let Y := X - n * b * b
  [((1 : Int), (1 : Int)), (-1, -n), (n, 2), (-n, -2 * n)].all (fun (u, v) => !(isSqI (X * u)) || !(isSqI (Y * v)))

theorem cert : rows.all certRow = true := rfl
theorem count : rows.length = 29 := rfl

/-- the checker discriminates: 1285² is a square, and the double P = 2Q at n = 806 (trivial image) fails -/
theorem sanity : isSqN 1651225 = true ∧ certRow (806, true, 1651225, 42) = false := ⟨rfl, rfl⟩

end DescentCert

#print axioms DescentCert.cert
#print axioms DescentCert.count
#print axioms DescentCert.sanity

bsd/DescentHom.lean

lean_all/bsd/DescentHom.lean

/-
  bsd/DescentHom.lean — T39 cycle 44: the homomorphism property of the descent map, collinear form.

  Lean 4 core plus lib/Vieta3 (shared library: vieta3, lib_ring). For the curve y² = x³ + a x² + b x over
  an integral domain, three points with distinct x-coordinates on one line y = λx + ν have
      x₁ x₂ x₃ = ν²,
  i.e. the map P ↦ x(P) mod squares sends P + Q + R = O (collinear points) to 1: α is a homomorphism
  (on points with x ≠ 0 and distinct x, the generic case of the descent exact sequence; Silverman
  AEC X.4.9 cites exactly this computation).
    on_line_root   (λx+ν)² = x³ + a x² + b x  ⇔  x is a root of t³ + (a−λ²)t² + (b−2λν)t − ν²
    collinear_square   x₁x₂x₃ = ν²
-/
import lib.Vieta3

namespace DescentHom
open DetChain LibRing LibVieta

variable {R : Type} (K : CRing R)

theorem on_line_root (a b lam nu x : R)
    (h : K.mul (K.add (K.mul lam x) nu) (K.add (K.mul lam x) nu)
      = K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x)) :
    cubic K (sub K a (K.mul lam lam)) (sub K b (K.mul (K.add lam lam) nu)) (K.neg (K.mul nu nu)) x = K.zero := by
  have e : cubic K (sub K a (K.mul lam lam)) (sub K b (K.mul (K.add lam lam) nu)) (K.neg (K.mul nu nu)) x
      = sub K (K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x))
          (K.mul (K.add (K.mul lam x) nu) (K.add (K.mul lam x) nu)) := by
    unfold cubic; lib_ring
  rw [e, h]
  have z : sub K (K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x))
      (K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x)) = K.zero := by lib_ring
  exact z

/-- **Collinear points have x₁x₂x₃ = ν².** -/
theorem collinear_square (hK : NoZD K) (a b lam nu x1 x2 x3 : R)
    (h12 : x1 ≠ x2) (h13 : x1 ≠ x3) (h23 : x2 ≠ x3)
    (p1 : K.mul (K.add (K.mul lam x1) nu) (K.add (K.mul lam x1) nu)
      = K.add (K.add (pw K x1 3) (K.mul a (pw K x1 2))) (K.mul b x1))
    (p2 : K.mul (K.add (K.mul lam x2) nu) (K.add (K.mul lam x2) nu)
      = K.add (K.add (pw K x2 3) (K.mul a (pw K x2 2))) (K.mul b x2))
    (p3 : K.mul (K.add (K.mul lam x3) nu) (K.add (K.mul lam x3) nu)
      = K.add (K.add (pw K x3 3) (K.mul a (pw K x3 2))) (K.mul b x3)) :
    K.mul (K.mul x1 x2) x3 = K.mul nu nu := by
  have v := (vieta3 K hK _ _ _ x1 x2 x3 h12 h13 h23 (on_line_root K a b lam nu x1 p1)
    (on_line_root K a b lam nu x2 p2) (on_line_root K a b lam nu x3 p3)).2.2
  -- −ν² = −x₁x₂x₃
  have e : K.mul nu nu = K.neg (K.neg (K.mul nu nu)) := (neg_neg' K _).symm
  rw [e, v, neg_neg' K]

end DescentHom

#print axioms DescentHom.on_line_root
#print axioms DescentHom.collinear_square

bsd/DescentHomFull.lean

lean_all/bsd/DescentHomFull.lean

/-
  bsd/DescentHomFull.lean — T39 cycle 178: the full 2-descent map is a homomorphism (collinear form), every
  curve y² = (x − e₁)(x − e₂)(x − e₃) over an integral domain.

  Lean 4 core plus lib/Vieta3 (factor3), lib/RingTac. Three points with distinct x-coordinates x₁, x₂, x₃ on one
  line y = λx + ν (P + Q + R = O) satisfy, for every root e of the cubic (e ∈ {e₁, e₂, e₃}),
      (x₁ − e)(x₂ − e)(x₃ − e) = (λe + ν)² ,
  so each coordinate x ↦ x − eᵢ of the descent map sends P + Q + R = O to a square (DescentHom: the case e = 0
  of y² = x³ + ax² + bx). With DoublingGen and Halving: the map E(K)/2E(K) → (K*/K*²)³ is a well-defined
  homomorphism with kernel 2E on the generic points.
-/
import lib.Vieta3

namespace DescentHomFull
open DetChain LibRing LibVieta

variable {R : Type} (K : CRing R)

def f (e1 e2 e3 x : R) : R :=
  K.mul (K.mul (sub K x e1) (sub K x e2)) (sub K x e3)

def c2 (e1 e2 e3 l : R) : R := K.neg (K.add (K.add (K.add e1 e2) e3) (K.mul l l))
def c1 (e1 e2 e3 l n : R) : R :=
  sub K (K.add (K.add (K.mul e1 e2) (K.mul e1 e3)) (K.mul e2 e3)) (K.add (K.mul l n) (K.mul l n))
def c0 (e1 e2 e3 n : R) : R := K.neg (K.add (K.mul (K.mul e1 e2) e3) (K.mul n n))

theorem cubic_eq (e1 e2 e3 l n t : R) :
    cubic K (c2 K e1 e2 e3 l) (c1 K e1 e2 e3 l n) (c0 K e1 e2 e3 n) t
      = sub K (f K e1 e2 e3 t) (K.mul (K.add (K.mul l t) n) (K.add (K.mul l t) n)) := by
  unfold cubic c2 c1 c0 f; lib_ring

theorem root_of_on (e1 e2 e3 l n x y : R) (hl : y = K.add (K.mul l x) n) (hc : K.mul y y = f K e1 e2 e3 x) :
    cubic K (c2 K e1 e2 e3 l) (c1 K e1 e2 e3 l n) (c0 K e1 e2 e3 n) x = K.zero := by
  rw [cubic_eq, ← hl, ← hc]; lib_ring

/-- **Collinear points: product of the descent images is a square, at every root.** -/
theorem collinear_sq (hK : NoZD K) (e1 e2 e3 l n x1 x2 x3 y1 y2 y3 : R)
    (h12 : x1 ≠ x2) (h13 : x1 ≠ x3) (h23 : x2 ≠ x3)
    (l1 : y1 = K.add (K.mul l x1) n) (l2 : y2 = K.add (K.mul l x2) n) (l3 : y3 = K.add (K.mul l x3) n)
    (o1 : K.mul y1 y1 = f K e1 e2 e3 x1) (o2 : K.mul y2 y2 = f K e1 e2 e3 x2) (o3 : K.mul y3 y3 = f K e1 e2 e3 x3)
    (e : R) (he : e = e1 ∨ e = e2 ∨ e = e3) :
    K.mul (K.mul (sub K x1 e) (sub K x2 e)) (sub K x3 e) = K.mul (K.add (K.mul l e) n) (K.add (K.mul l e) n) := by
  have fac := factor3 K hK _ _ _ x1 x2 x3 h12 h13 h23 (root_of_on K e1 e2 e3 l n x1 y1 l1 o1)
    (root_of_on K e1 e2 e3 l n x2 y2 l2 o2) (root_of_on K e1 e2 e3 l n x3 y3 l3 o3) e
  rw [cubic_eq] at fac
  have f0 : f K e1 e2 e3 e = K.zero := by
    rcases he with h | h | h <;> (rw [h]; unfold f; lib_ring)
  rw [f0] at fac
  -- 0 − (λe+ν)² = (e − x₁)(e − x₂)(e − x₃)
  have g : K.mul (K.mul (sub K x1 e) (sub K x2 e)) (sub K x3 e)
      = K.neg (K.mul (K.mul (sub K e x1) (sub K e x2)) (sub K e x3)) := by lib_ring
  rw [g, ← fac]; lib_ring

end DescentHomFull

#print axioms DescentHomFull.cubic_eq
#print axioms DescentHomFull.root_of_on
#print axioms DescentHomFull.collinear_sq

bsd/DescentTorsion.lean

lean_all/bsd/DescentTorsion.lean

/-
  bsd/DescentTorsion.lean — T39 cycle 52: the descent map at the 2-torsion point (0, 0).

  Lean 4 core plus lib/Vieta3 (vieta2). On y² = x(x² + ax + b), α(0,0) := b mod squares. A line through
  (0,0) is y = λx; its two further intersection points have x ≠ 0 and are roots of t² + (a − λ²)t + b:
    line_root     x ≠ 0, (λx)² = x³ + ax² + bx  ⇒  quad(a − λ², b)(x) = 0     (integral domain)
    torsion_hom   two distinct such x₂, x₃:  x₂ x₃ = b
  so α(0,0)·α(P₂)·α(P₃) = b·b, a square: the homomorphism property including the torsion point.
  With DescentHom (generic collinear triples) α is a homomorphism on every collinear triple with
  distinct x-coordinates.
-/
import lib.Vieta3

namespace DescentTorsion
open DetChain LibRing LibVieta

variable {R : Type} (K : CRing R)

theorem line_root (hK : NoZD K) (a b lam x : R) (hx : x ≠ K.zero)
    (h : K.mul (K.mul lam x) (K.mul lam x) = K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x)) :
    quad K (sub K a (K.mul lam lam)) b x = K.zero := by
  have e : K.mul x (quad K (sub K a (K.mul lam lam)) b x)
      = sub K (K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x)) (K.mul (K.mul lam x) (K.mul lam x)) := by
    unfold quad; lib_ring
  rw [h] at e
  have z : sub K (K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x))
      (K.add (K.add (pw K x 3) (K.mul a (pw K x 2))) (K.mul b x)) = K.zero := by lib_ring
  exact cancel_left K hK _ _ hx (e.trans z)

/-- **Torsion case of the homomorphism property**: x₂x₃ = b. -/
theorem torsion_hom (hK : NoZD K) (a b lam x2 x3 : R) (h2 : x2 ≠ K.zero) (h3 : x3 ≠ K.zero) (h23 : x2 ≠ x3)
    (p2 : K.mul (K.mul lam x2) (K.mul lam x2) = K.add (K.add (pw K x2 3) (K.mul a (pw K x2 2))) (K.mul b x2))
    (p3 : K.mul (K.mul lam x3) (K.mul lam x3) = K.add (K.add (pw K x3 3) (K.mul a (pw K x3 2))) (K.mul b x3)) :
    K.mul x2 x3 = b :=
  ((vieta2 K hK _ b x2 x3 h23 (line_root K hK a b lam x2 h2 p2) (line_root K hK a b lam x3 h3 p3)).2).symm

end DescentTorsion

#print axioms DescentTorsion.line_root
#print axioms DescentTorsion.torsion_hom

bsd/DivBits.lean

lean_all/bsd/DivBits.lean

/-
  bsd/DivBits.lean — T39 (goal G289e-6c): a divisor of p²·M is p^bit·(divisor of M)·m², by bsd/DivSplit twice.
    fbN p b           p if b, else 1 (naturals)
    split_p1          g ∣ p·M   ⇒  g = fbN p bit · g′,          g′ ∣ M
    split_p2          g ∣ p²·M  ⇒  g = fbN p bit · g′ · m²,     g′ ∣ M
    prime2, prime3    the divisors of 2, 3 are 1 and themselves (finite table, rfl)
  Lean 4 core plus bsd/DivSplit, bsd/SqRes (dvd_tab, or_cases), lib/Gcd.
-/
import bsd.DivSplit
import bsd.SqRes

namespace DivBits
open LibGcd LibInt SqRes Res97b

def fbN (p : Nat) : Bool → Nat
  | true => p
  | false => 1

theorem split_p1 {p g M : Nat} (hp : ∀ d, d ∣ p → d = 1 ∨ d = p) (hp0 : 0 < p) (h : g ∣ p * M) :
    ∃ bit : Bool, ∃ g' : Nat, g = fbN p bit * g' ∧ g' ∣ M := by
  cases DivSplit.dvd_prime_mul hp hp0 h with
  | inl h1 => exact ⟨false, g, by show g = 1 * g; lib_nat, h1⟩
  | inr h1 =>
    obtain ⟨g1, e1, h2⟩ := h1
    exact ⟨true, g1, by rw [e1]; rfl, h2⟩

theorem split_p2 {p g M : Nat} (hp : ∀ d, d ∣ p → d = 1 ∨ d = p) (hp0 : 0 < p) (h : g ∣ p * (p * M)) :
    ∃ bit : Bool, ∃ g' m : Nat, g = fbN p bit * g' * (m * m) ∧ g' ∣ M := by
  cases DivSplit.dvd_prime_mul hp hp0 h with
  | inl h1 =>
    cases DivSplit.dvd_prime_mul hp hp0 h1 with
    | inl h2 => exact ⟨false, g, 1, by show g = 1 * g * (1 * 1); lib_nat, h2⟩
    | inr h2 =>
      obtain ⟨g1, e1, h3⟩ := h2
      exact ⟨true, g1, 1, by rw [e1]; show p * g1 = p * g1 * (1 * 1); lib_nat, h3⟩
  | inr h1 =>
    obtain ⟨g1, e1, h2⟩ := h1
    cases DivSplit.dvd_prime_mul hp hp0 h2 with
    | inl h3 => exact ⟨true, g1, 1, by rw [e1]; show p * g1 = p * g1 * (1 * 1); lib_nat, h3⟩
    | inr h3 =>
      obtain ⟨g2, e2, h4⟩ := h3
      exact ⟨false, g2, p, by rw [e1, e2]; show p * (p * g2) = 1 * g2 * (p * p); lib_nat, h4⟩

theorem prime2_ok : allBelow (fun k => imp (Nat.beq (2 % k) 0) (Nat.beq k 1 || Nat.beq k 2)) (2 + 1) = true := rfl
theorem prime3_ok : allBelow (fun k => imp (Nat.beq (3 % k) 0) (Nat.beq k 1 || Nat.beq k 3)) (3 + 1) = true := rfl

theorem prime2 : ∀ d, d ∣ 2 → d = 1 ∨ d = 2 := fun d hd => by
  have h : (Nat.beq d 1 || Nat.beq d 2) = true :=
    dvd_tab 2 (Nat.succ_pos 1) (fun k => Nat.beq k 1 || Nat.beq k 2) prime2_ok d hd
  cases or_cases h with
  | inl h1 => exact Or.inl (LibMod.beq_true h1)
  | inr h2 => exact Or.inr (LibMod.beq_true h2)

theorem prime3 : ∀ d, d ∣ 3 → d = 1 ∨ d = 3 := fun d hd => by
  have h : (Nat.beq d 1 || Nat.beq d 3) = true :=
    dvd_tab 3 (Nat.succ_pos 2) (fun k => Nat.beq k 1 || Nat.beq k 3) prime3_ok d hd
  cases or_cases h with
  | inl h1 => exact Or.inl (LibMod.beq_true h1)
  | inr h2 => exact Or.inr (LibMod.beq_true h2)

end DivBits

#print axioms DivBits.split_p1
#print axioms DivBits.split_p2
#print axioms DivBits.prime2_ok
#print axioms DivBits.prime3_ok
#print axioms DivBits.prime2
#print axioms DivBits.prime3

bsd/DivSplit.lean

lean_all/bsd/DivSplit.lean

/-
  bsd/DivSplit.lean — T39 (goal G289e-2): divisors of p·M for a prime p,
    dvd_prime_mul   n ∣ p·M ⇒ n ∣ M, or n = p·n′ with n′ ∣ M,
  applied repeatedly it lists the divisors of an explicit product of primes (the 24 divisors of c·Res = 2·3·97·73²
  in the second descent on the coverings of E_42486).
  Lean 4 core plus lib/Gcd, lib/Burnside (nat_cancel), lib/Semi (lib_nat).
-/
import lib.Gcd
import lib.Burnside
import lib.Semi

namespace DivSplit
open LibGcd LibBurnside

/-- **n ∣ p·M ⇒ n ∣ M or n = p·n′, n′ ∣ M** -/
theorem dvd_prime_mul {p n M : Nat} (hp : ∀ d, d ∣ p → d = 1 ∨ d = p) (hp0 : 0 < p) (h : n ∣ p * M) :
    n ∣ M ∨ ∃ n', n = p * n' ∧ n' ∣ M := by
  obtain ⟨g, hgn, hgp, hgmax, _⟩ := bezout n p
  cases hp g hgp with
  | inl g1 =>
    left
    have hc : ∀ d, d ∣ n → d ∣ p → d = 1 := fun d hdn hdp => by
      have := hgmax d hdn hdp
      rw [g1] at this
      exact dvd_one' this
    exact gauss hc (show n ∣ M * p by obtain ⟨k, hk⟩ := h; exact ⟨k, by rw [← hk]; lib_nat⟩)
  | inr gp =>
    right
    rw [gp] at hgn
    obtain ⟨n', hn'⟩ := hgn
    refine ⟨n', hn', ?_⟩
    obtain ⟨k, hk⟩ := h
    have e : M * p = (n' * k) * p := by
      rw [show M * p = p * M by lib_nat, hk, hn']; lib_nat
    exact ⟨k, nat_cancel hp0 M (n' * k) e⟩

end DivSplit

#print axioms DivSplit.dvd_prime_mul

bsd/Doubling.lean

lean_all/bsd/Doubling.lean

/-
  bsd/Doubling.lean — T39 cycle 163: the doubling map on E_n : y² = x³ − n²x lands in the squares.

  Lean 4 core plus DetChain (CRing), lib/RingTac. With y² = x³ − n²x and w·2y = 1 (y ≠ 0, any field), the
  doubled point has x₂ = ((x² + n²) w)², and
      x₂ − n = ((x² − 2nx − n²) w)²,     x₂ + n = ((x² + 2nx − n²) w)²
  (the polynomial core: (x² + n²)² ∓ 4n y² = (x² ∓ 2nx − n²)²). So x₂, x₂ − n, x₂ + n are squares: the image
  of 2E(K) under the descent map (x, x − n, x + n) mod squares is trivial — the step that makes the 2-descent
  map a homomorphism on E/2E (Silverman AEC X.1, cited for the rest).
-/
import lib.RingTac

namespace Doubling
open DetChain LibRing

variable {R : Type} (K : CRing R)

def sq (x : R) : R := K.mul x x
def two (x : R) : R := K.add x x

theorem core (x y n e : R) (hy : K.mul y y = K.add (K.mul x (K.mul x x)) (K.neg (K.mul (K.mul n n) x)))
    (he : K.mul e e = K.mul n n) :
    K.add (sq K (K.add (K.mul x x) (K.mul n n))) (K.neg (K.mul (two K (two K e)) (K.mul y y)))
      = sq K (K.add (K.add (K.mul x x) (K.neg (K.mul (two K e) x))) (K.neg (K.mul n n))) := by
  rw [hy]
  have h2 : K.mul n n = K.mul e e := he.symm
  rw [h2]; unfold sq two; lib_ring

theorem shift (x y n e w : R) (hy : K.mul y y = K.add (K.mul x (K.mul x x)) (K.neg (K.mul (K.mul n n) x)))
    (he : K.mul e e = K.mul n n) (hw : K.mul (two K y) w = K.one) :
    K.add (sq K (K.mul (K.add (K.mul x x) (K.mul n n)) w)) (K.neg e)
      = sq K (K.mul (K.add (K.add (K.mul x x) (K.neg (K.mul (two K e) x))) (K.neg (K.mul n n))) w) := by
  have c := core K x y n e hy he
  have e1 : K.add (sq K (K.mul (K.add (K.mul x x) (K.mul n n)) w)) (K.neg e)
      = K.add (K.mul (K.mul w w) (K.add (sq K (K.add (K.mul x x) (K.mul n n))) (K.neg (K.mul (two K (two K e)) (K.mul y y)))))
          (K.mul (K.neg e) (K.add K.one (K.neg (K.mul (K.mul (two K y) w) (K.mul (two K y) w))))) := by
    unfold sq two; lib_ring
  rw [e1, c, hw]
  unfold sq; lib_ring

/-- **Both shifts of the doubled x are squares** (e = n and e = −n). -/
theorem double_sq (x y n w : R) (hy : K.mul y y = K.add (K.mul x (K.mul x x)) (K.neg (K.mul (K.mul n n) x)))
    (hw : K.mul (two K y) w = K.one) :
    K.add (sq K (K.mul (K.add (K.mul x x) (K.mul n n)) w)) (K.neg n)
        = sq K (K.mul (K.add (K.add (K.mul x x) (K.neg (K.mul (two K n) x))) (K.neg (K.mul n n))) w) ∧
    K.add (sq K (K.mul (K.add (K.mul x x) (K.mul n n)) w)) (K.neg (K.neg n))
        = sq K (K.mul (K.add (K.add (K.mul x x) (K.neg (K.mul (two K (K.neg n)) x))) (K.neg (K.mul n n))) w) :=
  ⟨shift K x y n n w hy rfl hw,
   shift K x y n (K.neg n) w hy (by lib_ring) hw⟩

end Doubling

#print axioms Doubling.core
#print axioms Doubling.shift
#print axioms Doubling.double_sq

bsd/DoublingGen.lean

lean_all/bsd/DoublingGen.lean

/-
  bsd/DoublingGen.lean — T39 cycle 172: the doubling map lands in the squares, every curve with full
  2-torsion y² = (x − e₁)(x − e₂)(x − e₃), every commutative ring.

  Lean 4 core plus bsd/TrianglePoint (sq, two), lib/RingTac. With λ = f′(x)·w, w·2y = 1 and
  x₂ = λ² + (e₁ + e₂ + e₃) − 2x (the tangent construction):
      x₂ − e₁ = (((x − e₁)² − (e₁ − e₂)(e₁ − e₃)) · w)²
  (core: f′(x)² + 4(e₁ + e₂ + e₃ − 2x − e₁) f(x) = ((x − e₁)² − (e₁ − e₂)(e₁ − e₃))²). By symmetry the same holds
  for e₂, e₃: the 2-descent map x ↦ (x − e₁, x − e₂, x − e₃) mod squares kills 2E(K). Generalises Doubling
  (e = 0, ±n).
-/
import bsd.TrianglePoint

namespace DoublingGen
open DetChain LibRing TrianglePoint

variable {R : Type} (K : CRing R)

def f (e1 e2 e3 x : R) : R :=
  K.mul (K.add x (K.neg e1)) (K.mul (K.add x (K.neg e2)) (K.add x (K.neg e3)))
def f' (e1 e2 e3 x : R) : R :=
  K.add (K.add (K.mul (K.add x (K.neg e2)) (K.add x (K.neg e3))) (K.mul (K.add x (K.neg e1)) (K.add x (K.neg e3))))
    (K.mul (K.add x (K.neg e1)) (K.add x (K.neg e2)))
def x2 (e1 e2 e3 x w : R) : R :=
  K.add (sq K (K.mul (f' K e1 e2 e3 x) w)) (K.add (K.add (K.add e1 e2) e3) (K.neg (two K x)))
def g (e1 e2 e3 x : R) : R :=
  K.add (sq K (K.add x (K.neg e1))) (K.neg (K.mul (K.add e1 (K.neg e2)) (K.add e1 (K.neg e3))))

theorem core (e1 e2 e3 x : R) :
    K.add (sq K (f' K e1 e2 e3 x))
      (K.mul (two K (two K (K.add (K.add (K.add e1 e2) e3) (K.add (K.neg (two K x)) (K.neg e1))))) (f K e1 e2 e3 x))
      = sq K (g K e1 e2 e3 x) := by
  unfold f f' g sq two; lib_ring

/-- **x₂ − e₁ is a square.** -/
theorem dbl_sq (e1 e2 e3 x y w : R) (hy : K.mul y y = f K e1 e2 e3 x) (hw : K.mul (two K y) w = K.one) :
    K.add (x2 K e1 e2 e3 x w) (K.neg e1) = sq K (K.mul (g K e1 e2 e3 x) w) := by
  have e : K.add (x2 K e1 e2 e3 x w) (K.neg e1)
      = K.add (sq K (K.mul (f' K e1 e2 e3 x) w))
          (K.mul (K.add (K.add (K.add e1 e2) e3) (K.add (K.neg (two K x)) (K.neg e1)))
            (K.mul (K.mul (two K y) w) (K.mul (two K y) w))) := by
    rw [hw]; unfold x2; lib_ring
  rw [e]
  have e2 : K.add (sq K (K.mul (f' K e1 e2 e3 x) w))
        (K.mul (K.add (K.add (K.add e1 e2) e3) (K.add (K.neg (two K x)) (K.neg e1)))
          (K.mul (K.mul (two K y) w) (K.mul (two K y) w)))
      = K.mul (K.mul w w) (K.add (sq K (f' K e1 e2 e3 x))
          (K.mul (two K (two K (K.add (K.add (K.add e1 e2) e3) (K.add (K.neg (two K x)) (K.neg e1))))) (K.mul y y))) := by
    unfold sq two; lib_ring
  rw [e2, hy, core]
  unfold sq; lib_ring

end DoublingGen

#print axioms DoublingGen.core
#print axioms DoublingGen.dbl_sq

bsd/DualImage.lean

lean_all/bsd/DualImage.lean

/-
  bsd/DualImage.lean — T39 cycle 47: image ⊆ kernel in the 2-isogeny descent.

  Lean 4 core plus lib/RingTac (shared normaliser). E : y² = x(x² + ax + b), the isogenous
  E' : Y² = X(X² − 2aX + c) with c = a² − 4b, and the dual isogeny φ' : E' → E,
      (X, Y) ↦ (x, y) = (Y²/(2X)², Y(c − X²)/(2X)³ · X)  (weighted form: x = x'/z², y = y'/z³, z = 2X).
    core_identity   Y² = X(X² − 2aX + c)  ⇒  X²(c − X²)² = Y⁴ + 4aY²X² + 16bX⁴
    dual_on_curve   the weighted point (x', y', z) = (Y², Y(c − X²)X, 2X) satisfies
                    y'² = x'³ + a x'² z² + b x' z⁴
  Since x' = Y² is a square, x(φ'(Q)) = (Y/2X)² is a square: α ∘ φ' = 1, i.e. image(φ') ⊆ ker(α) — the
  first half of exactness at E(Q) in the descent sequence (with DescentHom: α is a homomorphism).
-/
import lib.RingTac

namespace DualImage
open DetChain LibRing

variable {R : Type} (K : CRing R)

/-- c = a² − 4b. -/
def cc (a b : R) : R := sub K (K.mul a a) (K.mul (castN K 4) b)

theorem core_identity (a b X Y : R)
    (h : K.mul Y Y = K.mul X (K.add (sub K (K.mul X X) (K.mul (K.add a a) X)) (cc K a b))) :
    K.mul (K.mul (K.mul X X) (sub K (cc K a b) (K.mul X X))) (sub K (cc K a b) (K.mul X X))
      = K.add (K.add (K.mul (K.mul Y Y) (K.mul Y Y)) (K.mul (K.mul (castN K 4) a) (K.mul (K.mul Y Y) (K.mul X X))))
          (K.mul (K.mul (castN K 16) b) (K.mul (K.mul X X) (K.mul X X))) := by
  rw [h]; unfold cc; lib_ring

/-- **The dual isogeny lands on E, with a square x-numerator.** -/
theorem dual_on_curve (a b X Y : R)
    (h : K.mul Y Y = K.mul X (K.add (sub K (K.mul X X) (K.mul (K.add a a) X)) (cc K a b))) :
    K.mul (K.mul (K.mul Y (sub K (cc K a b) (K.mul X X))) X) (K.mul (K.mul Y (sub K (cc K a b) (K.mul X X))) X)
      = K.add (K.add (K.mul (K.mul (K.mul Y Y) (K.mul Y Y)) (K.mul Y Y))
          (K.mul (K.mul a (K.mul (K.mul Y Y) (K.mul Y Y))) (K.mul (K.add X X) (K.add X X))))
          (K.mul (K.mul b (K.mul Y Y)) (K.mul (K.mul (K.add X X) (K.add X X)) (K.mul (K.add X X) (K.add X X)))) := by
  have e : K.mul (K.mul (K.mul Y (sub K (cc K a b) (K.mul X X))) X) (K.mul (K.mul Y (sub K (cc K a b) (K.mul X X))) X)
      = K.mul (K.mul Y Y) (K.mul (K.mul (K.mul X X) (sub K (cc K a b) (K.mul X X))) (sub K (cc K a b) (K.mul X X))) := by
    lib_ring
  rw [e, core_identity K a b X Y h]
  lib_ring

end DualImage

#print axioms DualImage.core_identity
#print axioms DualImage.dual_on_curve

bsd/DualPreimage.lean

lean_all/bsd/DualPreimage.lean

/-
  bsd/DualPreimage.lean — T39 cycle 54: the preimage is exact as a point (both coordinates).

  Lean 4 core plus bsd/KernelImage (T, XX, YY) and lib/RingTac. φ'(X, Y) = (Y²/(2X)², Y(c − X²)/(8X²)).
  For w² = T = u⁴ + au² + b, X = a + 2u² + 2w, Y = 2uX:
    y_numerator    Y(c − X²) = (−uw)·8X²            so φ'(X, Y) = (u², −uw)
    exact_point    with w := −w' (w'² = T, y = uw'):  φ'(X, Y) = (u², uw') = P
  (computed first on y² = x³ + 3x and y² = x³ + x² + 2x: the sign choice X = a + 2u² − 2w' is the one
  mapping to P, the other to −P). Together with KernelImage: P = φ'(Q) exactly, so ker α = im φ'
  at E(Q) for P ≠ (0,0) with x(P) a nonzero square.
-/
import bsd.KernelImage

namespace DualPreimage
open DetChain LibRing DualImage KernelImage

variable {R : Type} (K : CRing R)

theorem y_numerator (a b u w : R) (h : K.mul w w = T K a b u) :
    K.mul (YY K a u w) (sub K (cc K a b) (K.mul (XX K a u w) (XX K a u w)))
      = K.mul (K.neg (K.mul u w)) (K.mul (castN K 8) (K.mul (XX K a u w) (XX K a u w))) := by
  have e : K.mul (YY K a u w) (sub K (cc K a b) (K.mul (XX K a u w) (XX K a u w)))
      = K.add (K.mul (K.neg (K.mul u w)) (K.mul (castN K 8) (K.mul (XX K a u w) (XX K a u w))))
          (K.mul (K.mul (castN K 8) (K.mul u (XX K a u w))) (sub K (K.mul w w) (KernelImage.T K a b u))) := by
    unfold YY XX KernelImage.T cc; lib_ring
  rw [e, h]
  unfold XX KernelImage.T; lib_ring

/-- **φ'(Q) = P exactly**: with the sign X = a + 2u² − 2w', the y-numerator is (uw')·8X². -/
theorem exact_point (a b u w' : R) (h : K.mul w' w' = T K a b u) :
    K.mul (YY K a u (K.neg w')) (sub K (cc K a b) (K.mul (XX K a u (K.neg w')) (XX K a u (K.neg w'))))
      = K.mul (K.mul u w') (K.mul (castN K 8) (K.mul (XX K a u (K.neg w')) (XX K a u (K.neg w')))) := by
  have h' : K.mul (K.neg w') (K.neg w') = T K a b u := by
    rw [← h]; lib_ring
  rw [y_numerator K a b u (K.neg w') h']
  lib_ring

end DualPreimage

#print axioms DualPreimage.y_numerator
#print axioms DualPreimage.exact_point

bsd/EvenCount.lean

lean_all/bsd/EvenCount.lean

/-
  bsd/EvenCount.lean — T39 cycle 124: #E_n(F_p) is even for y² = x³ + Dx with three distinct roots.

  Lean 4 core plus bsd/SqCount (sq_count), bsd/Supersingular2 (legV_congr), QRChain (roots_le).
  For p = h + h + 1 prime and f(x) = x³ + Dx having the three distinct roots 0, r, s in [0, p)
  (D ≡ −n², r = ⟨n⟩, s = p − r for the congruent curves), and no other:
    legV_split    legV(c) = [c ≡ 0] + 2k                 (values 1 / 0, 2)
    count_even    #{x : f(x) ≡ 0} = 3  ⇒  #{(x,y) : y² = f(x)} + 1 is even   (rational 2-torsion E[2])
  (the root count = 3 for D ≡ −n², p ∤ 2n is the next piece)
-/
import bsd.SqCount
import bsd.Supersingular2
import lib.Semi

namespace EvenCount
open FTAChain FrobChain QRChain ESChain SqCount Supersingular2

def par2 (n : Nat) : Nat := n % 2

/-- odd indicator of legV: 1 iff legV = 1 iff c ≡ 0 -/
def zi (p c : Nat) : Nat := if rem p c = 0 then 1 else 0

theorem legV_split (p c : Nat) : ∃ k, legV p c = zi p c + 2 * k := by
  unfold legV zi
  by_cases h : rem p c = 0
  · exact ⟨0, by rw [ite_eq_left h, ite_eq_left h]⟩
  · rw [Supersingular.ite_no _ _ _ h, Supersingular.ite_no _ _ _ h]
    cases legB p c
    · exact ⟨0, rfl⟩
    · exact ⟨1, rfl⟩

theorem sum_split (p : Nat) (f : Nat → Nat) : ∀ n, ∃ k, sumTo n (fun x => legV p (f x)) = sumTo n (fun x => zi p (f x)) + 2 * k
  | 0 => ⟨0, rfl⟩
  | n + 1 => by
    have ⟨k, hk⟩ := sum_split p f n
    have ⟨j, hj⟩ := legV_split p (f n)
    refine ⟨k + j, ?_⟩
    show sumTo n (fun x => legV p (f x)) + legV p (f n) = sumTo n (fun x => zi p (f x)) + zi p (f n) + 2 * (k + j)
    rw [hk, hj]; lib_nat

/-- With exactly three roots, the affine count is odd, so #E is even. -/
theorem count_even (h D : Nat) (hp : Pr (h + h + 1))
    (h3 : sumTo (h + h + 1) (fun x => zi (h + h + 1) (x * x * x + D * x)) = 3) :
    ∃ k, sumTo (h + h + 1) (fun x => sqCnt (h + h + 1) (x * x * x + D * x)) + 1 = 2 * k := by
  have e : sumTo (h + h + 1) (fun x => sqCnt (h + h + 1) (x * x * x + D * x))
      = sumTo (h + h + 1) (fun x => legV (h + h + 1) (x * x * x + D * x)) :=
    sum_ext _ _ _ (fun x _ => sq_count h _ hp)
  have ⟨k, hk⟩ := sum_split (h + h + 1) (fun x => x * x * x + D * x) (h + h + 1)
  refine ⟨k + 2, ?_⟩
  rw [e, hk, h3]; lib_nat

end EvenCount

#print axioms EvenCount.legV_split
#print axioms EvenCount.sum_split
#print axioms EvenCount.count_even

bsd/EvenCount2.lean

lean_all/bsd/EvenCount2.lean

/-
  bsd/EvenCount2.lean — T39 cycle 125: piece 2 — x³ + Dx with D ≡ −n² has exactly three roots mod p, and
  #E_n(F_p) is even for every odd prime p ∤ n (congruent number curves).

  Lean 4 core plus bsd/EvenCount, QRChain (roots_le), lib/Semi.
-/
import bsd.EvenCount
import lib.Semi

namespace EvenCount2
open FTAChain FrobChain QRChain ESChain SqCount EvenCount

theorem poly_root3 (P D y : Nat) (e : rem (P + 1) (y * y * y + D * y) = 0) :
    rem (P + 1) (ev y [1, 0, D, 0]) = 0 := by
  have : ev y [1, 0, D, 0] = y * y * y + D * y := by
    show 1 * y ^ 3 + (0 * y ^ 2 + (D * y ^ 1 + (0 * y ^ 0 + 0))) = y * y * y + D * y
    lib_nat
  rw [this]; exact e

theorem is_root (h D x n : Nat) (hD : rem (h + h + 1) (D + n * n) = 0) (hx : rem (h + h + 1) (x * x) = rem (h + h + 1) (n * n)) :
    rem (h + h + 1) (x * x * x + D * x) = 0 := by
  have e : x * x * x + D * x = x * (x * x + D) := by
    rw [nleft_distrib, nmul_comm x (x * x), nmul_comm D x]
  rw [e]
  apply rem_zero_of_dv
  apply dv_mul_left
  apply dv_of_rem_zero
  rw [rem_add_congr (h + h) _ _ D hx, nadd_comm (n * n) D]; exact hD

/-- **Exactly three roots** 0, r, s (r = ⟨n⟩ ≠ 0, s = p − r). -/
theorem root_count (h D n r s : Nat) (hp : Pr (h + h + 1)) (hD : rem (h + h + 1) (D + n * n) = 0)
    (hr : rem (h + h + 1) n = r) (hr0 : r ≠ 0) (hrs : r + s = h + h + 1) :
    sumTo (h + h + 1) (fun x => zi (h + h + 1) (x * x * x + D * x)) = 3 := by
  have hrlt : r < h + h + 1 := by rw [← hr]; exact rem_lt' _ _
  have hs0 : s ≠ 0 := fun e => by rw [e, Nat.add_zero] at hrs; exact Nat.lt_irrefl _ (hrs ▸ hrlt)
  have hslt : s < h + h + 1 := by
    rw [← hrs]; cases r with
    | zero => exact absurd rfl hr0
    | succ r' => exact Nat.lt_of_lt_of_le (Nat.lt_succ_self s) (by rw [Nat.succ_add]; exact Nat.succ_le_succ (Nat.le_add_left s r'))
  have hrne : r ≠ s := fun e => by
    rw [← e] at hrs
    exact absurd (congrArg par hrs) (by rw [par_double, par_p]; exact Bool.noConfusion)
  -- the three are roots
  have rr : rem (h + h + 1) (r * r) = rem (h + h + 1) (n * n) := by
    rw [← hr]; exact rem_mul_congr2 (h + h) _ _ _ _ (rem_idem _ _) (rem_idem _ _)
  have ss : rem (h + h + 1) (s * s) = rem (h + h + 1) (n * n) := (SqCount.partner2 h (n * n) r s hrs rr)
  have z0 : rem (h + h + 1) (0 * 0 * 0 + D * 0) = 0 := by
    rw [Nat.mul_zero, Nat.mul_zero]; exact rem_of_lt _ _ (Nat.zero_lt_succ _)
  have zr := is_root h D r n hD rr
  have zs := is_root h D s n hD ss
  -- pointwise
  have pt : ∀ x, x < h + h + 1 → zi (h + h + 1) (x * x * x + D * x) = eqI x 0 + eqI x r + eqI x s := by
    intro x hx
    unfold zi
    by_cases hz : rem (h + h + 1) (x * x * x + D * x) = 0
    · rw [ite_eq_left hz]
      -- x is one of 0, r, s
      by_cases a0 : x = 0
      · rw [show eqI x 0 = 1 from ite_eq_left a0, show eqI x r = 0 from ite_eq_right (fun e => hr0 (by rw [← e, a0])),
          show eqI x s = 0 from ite_eq_right (fun e => hs0 (by rw [← e, a0]))]
      · by_cases ar : x = r
        · rw [show eqI x 0 = 0 from ite_eq_right a0, show eqI x r = 1 from ite_eq_left ar,
            show eqI x s = 0 from ite_eq_right (fun e => hrne (by rw [← ar, e]))]
        · by_cases as : x = s
          · rw [show eqI x 0 = 0 from ite_eq_right a0, show eqI x r = 0 from ite_eq_right ar,
              show eqI x s = 1 from ite_eq_left as]
          · exfalso
            have hle := roots_le (h + h) hp 1 [0, D, 0] [x, 0, r, s]
              (not_dv_of_lt _ 1 Nat.zero_lt_one (Nat.succ_lt_succ (hh_pos h hp)))
              ⟨fun m => match m with
                | Or.inl e => a0 e
                | Or.inr (Or.inl e) => ar e
                | Or.inr (Or.inr (Or.inl e)) => as e,
               fun m => match m with
                | Or.inl e => hr0 e.symm
                | Or.inr (Or.inl e) => hs0 e.symm,
               fun m => match m with
                | Or.inl e => hrne e,
               fun m => m, True.intro⟩
              ⟨⟨hx, poly_root3 _ D x hz⟩, ⟨Nat.zero_lt_succ _, poly_root3 _ D 0 z0⟩,
               ⟨hrlt, poly_root3 _ D r zr⟩, ⟨hslt, poly_root3 _ D s zs⟩, True.intro⟩
            exact absurd hle (Nat.not_succ_le_self 3)
    · rw [ite_eq_right hz,
        show eqI x 0 = 0 from ite_eq_right (fun e => hz (by rw [e]; exact z0)),
        show eqI x r = 0 from ite_eq_right (fun e => hz (by rw [e]; exact zr)),
        show eqI x s = 0 from ite_eq_right (fun e => hz (by rw [e]; exact zs))]
  rw [sum_ext _ _ _ pt, sum_add, sum_add, sum_eqI 0 _ (Nat.zero_lt_succ _), sum_eqI r _ hrlt, sum_eqI s _ hslt]

/-- **#E(F_p) is even** for y² = x³ + Dx, D ≡ −n², p ∤ n odd prime. -/
theorem congruent_even (h D n r s : Nat) (hp : Pr (h + h + 1)) (hD : rem (h + h + 1) (D + n * n) = 0)
    (hr : rem (h + h + 1) n = r) (hr0 : r ≠ 0) (hrs : r + s = h + h + 1) :
    ∃ k, sumTo (h + h + 1) (fun x => sqCnt (h + h + 1) (x * x * x + D * x)) + 1 = 2 * k :=
  count_even h D hp (root_count h D n r s hp hD hr hr0 hrs)

end EvenCount2

#print axioms EvenCount2.poly_root3
#print axioms EvenCount2.is_root
#print axioms EvenCount2.root_count
#print axioms EvenCount2.congruent_even

bsd/Fin1254.lean

lean_all/bsd/Fin1254.lean

/-
  bsd/Fin1254.lean — T39 (goal G289f-4h-5e5): no rational point of E_1254 has a descent class (1, d) outside the image V
  (bsd/TP1254): for each of the 32 values of d either (1, d) ∈ V, or d < 0 (FinObs.fin_neg), or a local table
  at 2 (bsd/Adic2) or at an odd prime (bsd/OddObs) forces p ∣ U and p ∣ T against gcd(X, T) = 1 (FinObs.fin_gen).
  Generated by tools/g289f4h_fin.py (the choice of table is a computation; every table is checked here by rfl).
  Lean 4 core plus bsd/TP1254, bsd/IntDataN, bsd/FinObs, bsd/OddObs, bsd/Adic2Inst.
-/
import bsd.TP1254
import bsd.IntDataN
import bsd.FinObs
import bsd.OddObs
import bsd.Adic2Inst

set_option maxRecDepth 200000

namespace Fin1254
open DetChain LibRing LibRat LibInt LibGcd QModel QCls SqUniqueL SqClassL TransStepL StepN DblClsN PtClsN Rank3FinalN QModelZ
  Tor1254 AssembleN TP1254 Adic2Inst

theorem two_le (k : Nat) : 2 ≤ k + 2 := Nat.succ_le_succ (Nat.succ_le_succ (Nat.zero_le k))

/-- the class (1, d) with d fixed: X = U², X − NT² = d·V² -/
def Obs (d : Int) : Prop := ∀ X T Y u v U V : Int, X = U * U → X - Int.ofNat 1254 * (T * T) = d * (V * V) →
  Y * Y = X * ((X - Int.ofNat 1254 * (T * T)) * (X + Int.ofNat 1254 * (T * T))) → u * X + v * T = 1 →
  X ≠ 0 → X - Int.ofNat 1254 * (T * T) ≠ 0 → X + Int.ofNat 1254 * (T * T) ≠ 0 → False

-- d = 1 (in V or unobstructed)

-- d = 19
theorem obs1 : Obs (19) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (19) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 5 3 2 7 (Int.ofNat 1254) (19) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 11
theorem obs2 : Obs (11) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (11) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 5 3 2 7 (Int.ofNat 1254) (11) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 209
theorem obs3 : Obs (209) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (209) X T Y u v U V hX hXm hY huv h0 h1
    (fun _ e1 _ => ⟨3, (two_le 1), OddObs.case_a 3 1 1 (Nat.succ_pos 2) rfl rfl (418) (209) (idvM 3 _ rfl) (idvM 3 _ rfl) U V T (e1 : U * U - (Int.ofNat 3 * 418) * (T * T) = (209) * (V * V))⟩)

-- d = 3
theorem obs4 : Obs (3) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (3) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 5 3 2 7 (Int.ofNat 1254) (3) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 57
theorem obs5 : Obs (57) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (57) X T Y u v U V hX hXm hY huv h0 h1
    (fun _ e1 _ => ⟨3, (two_le 1), OddObs.case_b1 3 1 1 (Nat.succ_pos 2) rfl rfl (418) (19) (idvM 3 _ rfl) (idvM 3 _ rfl) U V T (e1 : U * U - (Int.ofNat 3 * 418) * (T * T) = (Int.ofNat 3 * 19) * (V * V))⟩)

-- d = 33
theorem obs6 : Obs (33) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (33) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨3, (two_le 1), OddObs.case_b2 3 2 2 (Nat.succ_pos 2) rfl rfl (418) (11) (idvM 3 _ rfl) (idvM 3 _ rfl) U V W T (e1 : U * U - (Int.ofNat 3 * 418) * (T * T) = (Int.ofNat 3 * 11) * (V * V)) (e2 : (Int.ofNat 3 * 11) * (U * U + (Int.ofNat 3 * 418) * (T * T)) = W * W)⟩)

-- d = 627
theorem obs7 : Obs (627) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (627) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 5 3 2 7 (Int.ofNat 1254) (627) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 2
theorem obs8 : Obs (2) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (2) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 14 2 12 15 (Int.ofNat 1254) (2) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 38
theorem obs9 : Obs (38) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (38) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 10 6 4 15 (Int.ofNat 1254) (38) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 22
theorem obs10 : Obs (22) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (22) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 10 6 4 15 (Int.ofNat 1254) (22) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 418
theorem obs11 : Obs (418) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (418) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 14 2 12 15 (Int.ofNat 1254) (418) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 6
theorem obs12 : Obs (6) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (6) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 10 6 4 15 (Int.ofNat 1254) (6) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 114
theorem obs13 : Obs (114) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (114) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 14 2 12 15 (Int.ofNat 1254) (114) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 66
theorem obs14 : Obs (66) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (66) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 14 2 12 15 (Int.ofNat 1254) (66) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 1254
theorem obs15 : Obs (1254) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 1254 (1254) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 10 10 6 4 15 (Int.ofNat 1254) (1254) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

theorem obs16 : Obs (-1) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 1 X T Y U V hX hXm hY h0 h1 h2

theorem obs17 : Obs (-19) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 19 X T Y U V hX hXm hY h0 h1 h2

theorem obs18 : Obs (-11) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 11 X T Y U V hX hXm hY h0 h1 h2

theorem obs19 : Obs (-209) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 209 X T Y U V hX hXm hY h0 h1 h2

theorem obs20 : Obs (-3) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 3 X T Y U V hX hXm hY h0 h1 h2

theorem obs21 : Obs (-57) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 57 X T Y U V hX hXm hY h0 h1 h2

theorem obs22 : Obs (-33) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 33 X T Y U V hX hXm hY h0 h1 h2

theorem obs23 : Obs (-627) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 627 X T Y U V hX hXm hY h0 h1 h2

theorem obs24 : Obs (-2) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 2 X T Y U V hX hXm hY h0 h1 h2

theorem obs25 : Obs (-38) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 38 X T Y U V hX hXm hY h0 h1 h2

theorem obs26 : Obs (-22) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 22 X T Y U V hX hXm hY h0 h1 h2

theorem obs27 : Obs (-418) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 418 X T Y U V hX hXm hY h0 h1 h2

theorem obs28 : Obs (-6) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 6 X T Y U V hX hXm hY h0 h1 h2

theorem obs29 : Obs (-114) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 114 X T Y U V hX hXm hY h0 h1 h2

theorem obs30 : Obs (-66) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 66 X T Y U V hX hXm hY h0 h1 h2

theorem obs31 : Obs (-1254) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 1254 1254 X T Y U V hX hXm hY h0 h1 h2

theorem len4 : ∀ b : List Bool, b.length = 4 → ∃ b0 b1 b2 b3 : Bool, b = [b0, b1, b2, b3]
  | [b0, b1, b2, b3], _ => ⟨b0, b1, b2, b3, rfl⟩
  | [], h => Nat.noConfusion h
  | [_], h => Nat.noConfusion (Nat.succ.inj h)
  | [_, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj h))
  | [_, _, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h)))
  | _ :: _ :: _ :: _ :: _ :: _, h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h))))

theorem hN : 1254 * 1254 ∣ ClsIntL.prodSq [2, 3, 11, 19] := ⟨1, rfl⟩

/-- **No point of E_1254 has a class (1, β′) outside V.** -/
theorem hfin1254 (x y : Q) (β' : CL) (hs : St n1254 P1254 inV1254 x y (zc P1254) β') : False := by
  obtain ⟨o, nd, hc, _, w', hv⟩ := hs
  obtain ⟨nd0, nd1, nd2⟩ := nd
  have hx0 : x.num ≠ 0 := fun h => nd0 (Assemble3.num_zero x h)
  have hxn : x.num - Int.ofNat 1254 * Int.ofNat x.den ≠ 0 := fun h => nd1 (by
    rw [show n1254 = nz (Int.ofNat 1254) from rfl, e_nz x (Int.ofNat 1254)]; exact Assemble3.normQ_zero _ _ _ ((Assemble3.sub_form _ x.num _).trans h))
  obtain ⟨t, Y, u, v, U, V, s1, s2, b1, b2, _, hq, huv, hY, l1, l2, hU, hV, hcl⟩ :=
    IntDataN.int_dataN [3, 11, 19] rfl 1254 hN x y o hx0 hxn
  obtain ⟨e1, e2⟩ := hc_uniqueN n1254 P1254 chk_1254 pos_1254 x ⟨s1, b1⟩ ⟨s2, b2⟩ (zc P1254) β' l1 l2 (wf_zc P1254) w' hcl hc
  have es1 : s1 = false := congrArg CL.s e1
  have eb1 : b1 = zL P1254 := congrArg CL.b e1
  rw [es1, eb1] at hU
  have c1L : clsL false [2, 3, 11, 19] (zL P1254) = 1 := rfl
  have hX : x.num = U * U := by rw [hU, c1L]; lib_int
  have h0 : x.num ≠ 0 := hx0
  have h1 : x.num - Int.ofNat 1254 * (Int.ofNat t * Int.ofNat t) ≠ 0 := fun h => hxn (by
    rw [hq]; exact (sub_sq (Int.ofNat 1254) x.num t).trans h)
  have h2 : x.num + Int.ofNat 1254 * (Int.ofNat t * Int.ofNat t) ≠ 0 := fun h => nd2 (by
    rw [show negQ n1254 = negQ (nz (Int.ofNat 1254)) from rfl, e_mnz x (Int.ofNat 1254)]; apply Assemble3.normQ_zero
    rw [hq]; exact (Assemble3.add_form (Int.ofNat 1254) x.num t).trans h)
  rw [← e2] at hv
  have hXm := hV
  obtain ⟨c0, c1, c2, c3, ec⟩ := len4 b2 l2
  rw [ec] at hXm hv
  cases s2 <;> cases c0 <;> cases c1 <;> cases c2 <;> cases c3
  all_goals first | exact Bool.noConfusion hv | exact obs1 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs2 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs3 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs4 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs5 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs6 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs7 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | ex  -- (+1217 chars; full line in the Zenodo source)

end Fin1254
#print axioms Fin1254.obs1
#print axioms Fin1254.obs2
#print axioms Fin1254.obs3
#print axioms Fin1254.obs4
#print axioms Fin1254.obs5
#print axioms Fin1254.obs6
#print axioms Fin1254.obs7
#print axioms Fin1254.obs8
#print axioms Fin1254.obs9
#print axioms Fin1254.obs10
#print axioms Fin1254.obs11
#print axioms Fin1254.obs12
#print axioms Fin1254.obs13
#print axioms Fin1254.obs14
#print axioms Fin1254.obs15
#print axioms Fin1254.obs16
#print axioms Fin1254.obs17
#print axioms Fin1254.obs18
#print axioms Fin1254.obs19
#print axioms Fin1254.obs20
#print axioms Fin1254.obs21
#print axioms Fin1254.obs22
#print axioms Fin1254.obs23
#print axioms Fin1254.obs24
#print axioms Fin1254.obs25
#print axioms Fin1254.obs26
#print axioms Fin1254.obs27
#print axioms Fin1254.obs28
#print axioms Fin1254.obs29
#print axioms Fin1254.obs30
#print axioms Fin1254.obs31
#print axioms Fin1254.len4
#print axioms Fin1254.hN
#print axioms Fin1254.hfin1254

bsd/Fin48622.lean

lean_all/bsd/Fin48622.lean

/-
  bsd/Fin48622.lean — T39 (goal G289f-4h-5e5): no rational point of E_48622 has a descent class (1, d) outside the image V
  (bsd/TP48622): for each of the 32 values of d either (1, d) ∈ V, or d < 0 (FinObs.fin_neg), or a local table
  at 2 (bsd/Adic2) or at an odd prime (bsd/OddObs) forces p ∣ U and p ∣ T against gcd(X, T) = 1 (FinObs.fin_gen).
  Generated by tools/g289f4h_fin.py (the choice of table is a computation; every table is checked here by rfl).
  Lean 4 core plus bsd/TP48622, bsd/IntDataN, bsd/FinObs, bsd/OddObs, bsd/Adic2Inst.
-/
import bsd.TP48622
import bsd.IntDataN
import bsd.FinObs
import bsd.OddObs
import bsd.Adic2Inst

set_option maxRecDepth 200000

namespace Fin48622
open DetChain LibRing LibRat LibInt LibGcd QModel QCls SqUniqueL SqClassL TransStepL StepN DblClsN PtClsN Rank3FinalN QModelZ
  Tor48622 AssembleN TP48622 Adic2Inst

theorem two_le (k : Nat) : 2 ≤ k + 2 := Nat.succ_le_succ (Nat.succ_le_succ (Nat.zero_le k))

/-- the class (1, d) with d fixed: X = U², X − NT² = d·V² -/
def Obs (d : Int) : Prop := ∀ X T Y u v U V : Int, X = U * U → X - Int.ofNat 48622 * (T * T) = d * (V * V) →
  Y * Y = X * ((X - Int.ofNat 48622 * (T * T)) * (X + Int.ofNat 48622 * (T * T))) → u * X + v * T = 1 →
  X ≠ 0 → X - Int.ofNat 48622 * (T * T) ≠ 0 → X + Int.ofNat 48622 * (T * T) ≠ 0 → False

-- d = 1 (in V or unobstructed)

-- d = 151
theorem obs1 : Obs (151) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (151) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 1 7 2 7 (Int.ofNat 48622) (151) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 23
theorem obs2 : Obs (23) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (23) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 1 7 2 7 (Int.ofNat 48622) (23) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 3473
theorem obs3 : Obs (3473) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (3473) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨23, (two_le 21), OddObs.case_b2 23 20 22 (Nat.succ_pos 22) rfl rfl (2114) (151) (idvM 23 _ rfl) (idvM 23 _ rfl) U V W T (e1 : U * U - (Int.ofNat 23 * 2114) * (T * T) = (Int.ofNat 23 * 151) * (V * V)) (e2 : (Int.ofNat 23 * 151) * (U * U + (Int.ofNat 23 * 2114) * (T * T)) = W * W)⟩)

-- d = 7
theorem obs4 : Obs (7) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (7) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 1 7 2 7 (Int.ofNat 48622) (7) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 1057
theorem obs5 : Obs (1057) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (1057) X T Y u v U V hX hXm hY huv h0 h1
    (fun _ e1 _ => ⟨7, (two_le 5), OddObs.case_b1 7 2 4 (Nat.succ_pos 6) rfl rfl (6946) (151) (idvM 7 _ rfl) (idvM 7 _ rfl) U V T (e1 : U * U - (Int.ofNat 7 * 6946) * (T * T) = (Int.ofNat 7 * 151) * (V * V))⟩)

-- d = 161
theorem obs6 : Obs (161) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (161) X T Y u v U V hX hXm hY huv h0 h1
    (fun _ e1 _ => ⟨7, (two_le 5), OddObs.case_b1 7 2 2 (Nat.succ_pos 6) rfl rfl (6946) (23) (idvM 7 _ rfl) (idvM 7 _ rfl) U V T (e1 : U * U - (Int.ofNat 7 * 6946) * (T * T) = (Int.ofNat 7 * 23) * (V * V))⟩)

-- d = 24311
theorem obs7 : Obs (24311) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (24311) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 8 4 2 1 7 2 7 (Int.ofNat 48622) (24311) (Nat.succ_pos 7) rfl (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) (idvM 8 _ rfl) rfl U V W T e1 e2⟩)

-- d = 2
theorem obs8 : Obs (2) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (2) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 14 2 12 15 (Int.ofNat 48622) (2) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 302
theorem obs9 : Obs (302) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (302) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 2 14 4 15 (Int.ofNat 48622) (302) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 46
theorem obs10 : Obs (46) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (46) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 2 14 4 15 (Int.ofNat 48622) (46) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 6946
theorem obs11 : Obs (6946) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (6946) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 14 2 12 15 (Int.ofNat 48622) (6946) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 14
theorem obs12 : Obs (14) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (14) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 2 14 4 15 (Int.ofNat 48622) (14) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 2114
theorem obs13 : Obs (2114) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (2114) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 14 2 12 15 (Int.ofNat 48622) (2114) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 322
theorem obs14 : Obs (322) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (322) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 14 2 12 15 (Int.ofNat 48622) (322) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

-- d = 48622
theorem obs15 : Obs (48622) := fun X T Y u v U V hX hXm hY huv h0 h1 _ =>
  FinObs.fin_gen 48622 (48622) X T Y u v U V hX hXm hY huv h0 h1
    (fun W e1 e2 => ⟨2, two_le 0, Adic2.adic2 16 8 2 2 14 4 15 (Int.ofNat 48622) (48622) (Nat.succ_pos 15) rfl (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) (idvM 16 _ rfl) rfl U V W T e1 e2⟩)

theorem obs16 : Obs (-1) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 1 X T Y U V hX hXm hY h0 h1 h2

theorem obs17 : Obs (-151) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 151 X T Y U V hX hXm hY h0 h1 h2

theorem obs18 : Obs (-23) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 23 X T Y U V hX hXm hY h0 h1 h2

theorem obs19 : Obs (-3473) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 3473 X T Y U V hX hXm hY h0 h1 h2

theorem obs20 : Obs (-7) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 7 X T Y U V hX hXm hY h0 h1 h2

theorem obs21 : Obs (-1057) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 1057 X T Y U V hX hXm hY h0 h1 h2

theorem obs22 : Obs (-161) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 161 X T Y U V hX hXm hY h0 h1 h2

theorem obs23 : Obs (-24311) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 24311 X T Y U V hX hXm hY h0 h1 h2

theorem obs24 : Obs (-2) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 2 X T Y U V hX hXm hY h0 h1 h2

theorem obs25 : Obs (-302) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 302 X T Y U V hX hXm hY h0 h1 h2

theorem obs26 : Obs (-46) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 46 X T Y U V hX hXm hY h0 h1 h2

theorem obs27 : Obs (-6946) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 6946 X T Y U V hX hXm hY h0 h1 h2

theorem obs28 : Obs (-14) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 14 X T Y U V hX hXm hY h0 h1 h2

theorem obs29 : Obs (-2114) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 2114 X T Y U V hX hXm hY h0 h1 h2

theorem obs30 : Obs (-322) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 322 X T Y U V hX hXm hY h0 h1 h2

theorem obs31 : Obs (-48622) := fun X T Y _ _ U V hX hXm hY _ h0 h1 h2 =>
  FinObs.fin_neg 48622 48622 X T Y U V hX hXm hY h0 h1 h2

theorem len4 : ∀ b : List Bool, b.length = 4 → ∃ b0 b1 b2 b3 : Bool, b = [b0, b1, b2, b3]
  | [b0, b1, b2, b3], _ => ⟨b0, b1, b2, b3, rfl⟩
  | [], h => Nat.noConfusion h
  | [_], h => Nat.noConfusion (Nat.succ.inj h)
  | [_, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj h))
  | [_, _, _], h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h)))
  | _ :: _ :: _ :: _ :: _ :: _, h => Nat.noConfusion (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj (Nat.succ.inj h))))

theorem hN : 48622 * 48622 ∣ ClsIntL.prodSq [2, 7, 23, 151] := ⟨1, rfl⟩

/-- **No point of E_48622 has a class (1, β′) outside V.** -/
theorem hfin48622 (x y : Q) (β' : CL) (hs : St n48622 P48622 inV48622 x y (zc P48622) β') : False := by
  obtain ⟨o, nd, hc, _, w', hv⟩ := hs
  obtain ⟨nd0, nd1, nd2⟩ := nd
  have hx0 : x.num ≠ 0 := fun h => nd0 (Assemble3.num_zero x h)
  have hxn : x.num - Int.ofNat 48622 * Int.ofNat x.den ≠ 0 := fun h => nd1 (by
    rw [show n48622 = nz (Int.ofNat 48622) from rfl, e_nz x (Int.ofNat 48622)]; exact Assemble3.normQ_zero _ _ _ ((Assemble3.sub_form _ x.num _).trans h))
  obtain ⟨t, Y, u, v, U, V, s1, s2, b1, b2, _, hq, huv, hY, l1, l2, hU, hV, hcl⟩ :=
    IntDataN.int_dataN [7, 23, 151] rfl 48622 hN x y o hx0 hxn
  obtain ⟨e1, e2⟩ := hc_uniqueN n48622 P48622 chk_48622 pos_48622 x ⟨s1, b1⟩ ⟨s2, b2⟩ (zc P48622) β' l1 l2 (wf_zc P48622) w' hcl hc
  have es1 : s1 = false := congrArg CL.s e1
  have eb1 : b1 = zL P48622 := congrArg CL.b e1
  rw [es1, eb1] at hU
  have c1L : clsL false [2, 7, 23, 151] (zL P48622) = 1 := rfl
  have hX : x.num = U * U := by rw [hU, c1L]; lib_int
  have h0 : x.num ≠ 0 := hx0
  have h1 : x.num - Int.ofNat 48622 * (Int.ofNat t * Int.ofNat t) ≠ 0 := fun h => hxn (by
    rw [hq]; exact (sub_sq (Int.ofNat 48622) x.num t).trans h)
  have h2 : x.num + Int.ofNat 48622 * (Int.ofNat t * Int.ofNat t) ≠ 0 := fun h => nd2 (by
    rw [show negQ n48622 = negQ (nz (Int.ofNat 48622)) from rfl, e_mnz x (Int.ofNat 48622)]; apply Assemble3.normQ_zero
    rw [hq]; exact (Assemble3.add_form (Int.ofNat 48622) x.num t).trans h)
  rw [← e2] at hv
  have hXm := hV
  obtain ⟨c0, c1, c2, c3, ec⟩ := len4 b2 l2
  rw [ec] at hXm hv
  cases s2 <;> cases c0 <;> cases c1 <;> cases c2 <;> cases c3
  all_goals first | exact Bool.noConfusion hv | exact obs1 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs2 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs3 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs4 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs5 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs6 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | exact obs7 _ _ _ _ _ _ _ hX hXm hY huv h0 h1 h2 | ex  -- (+1217 chars; full line in the Zenodo source)

end Fin48622
#print axioms Fin48622.obs1
#print axioms Fin48622.obs2
#print axioms Fin48622.obs3
#print axioms Fin48622.obs4
#print axioms Fin48622.obs5
#print axioms Fin48622.obs6
#print axioms Fin48622.obs7
#print axioms Fin48622.obs8
#print axioms Fin48622.obs9
#print axioms Fin48622.obs10
#print axioms Fin48622.obs11
#print axioms Fin48622.obs12
#print axioms Fin48622.obs13
#print axioms Fin48622.obs14
#print axioms Fin48622.obs15
#print axioms Fin48622.obs16
#print axioms Fin48622.obs17
#print axioms Fin48622.obs18
#print axioms Fin48622.obs19
#print axioms Fin48622.obs20
#print axioms Fin48622.obs21
#print axioms Fin48622.obs22
#print axioms Fin48622.obs23
#print axioms Fin48622.obs24
#print axioms Fin48622.obs25
#print axioms Fin48622.obs26
#print axioms Fin48622.obs27
#print axioms Fin48622.obs28
#print axioms Fin48622.obs29
#print axioms Fin48622.obs30
#print axioms Fin48622.obs31
#print axioms Fin48622.len4
#print axioms Fin48622.hN
#print axioms Fin48622.hfin48622

bsd/FinObs.lean

lean_all/bsd/FinObs.lean

/-
  bsd/FinObs.lean — T39 (goal G289f-4h-5d, final step): the classes (1, d) of E_N, N natural, are excluded by a local
  obstruction (bsd/Assemble3 is the case N = 42486). For integers with
      X = U²,  X − NT² = d·V²,  Y² = X(X − NT²)(X + NT²),  u·X + v·T = 1,  X ≠ 0,  X − NT² ≠ 0:
    sign_obsN     d = −D (D ≥ 0)  ⇒  X(X − NT²)(X + NT²) = 0
    p_ndvd_one    p ≥ 2, p ∣ U and p ∣ T contradict u·X + v·T = 1
    fin_gen       if every W with U² − NT² = dV², d(U² + NT²) = W² forces p ∣ U and p ∣ T for some p ≥ 2: False
    fin_neg       d = −D: False
  Lean 4 core plus bsd/Assemble3 (isq_dvd), bsd/SqRes.
-/
import bsd.Assemble3

set_option maxRecDepth 100000

namespace FinObs
open LibGcd LibInt SqRes Assemble3

theorem sign_obsN (N : Nat) (X Z Y U V : Int) (D : Nat) (hX : X = U * U)
    (hXm : X - Int.ofNat N * (Z * Z) = -Int.ofNat D * (V * V))
    (h : Y * Y = X * ((X - Int.ofNat N * (Z * Z)) * (X + Int.ofNat N * (Z * Z)))) :
    X * ((X - Int.ofNat N * (Z * Z)) * (X + Int.ofNat N * (Z * Z))) = 0 := by
  obtain ⟨un, hu⟩ := pm_exists U
  obtain ⟨vn, hv⟩ := pm_exists V
  obtain ⟨zn, hz⟩ := pm_exists Z
  obtain ⟨yn, hy⟩ := pm_exists Y
  have eU := pm_sq hu
  have eV := pm_sq hv
  have eZ := pm_sq hz
  have hXp : X + Int.ofNat N * (Z * Z) = Int.ofNat (un * un + N * (zn * zn)) := by
    rw [hX, eU, eZ]; lib_int
  have e : Int.ofNat (yn * yn) = -Int.ofNat (un * un * (D * (vn * vn) * (un * un + N * (zn * zn)))) := by
    rw [← pm_sq hy, h, hXp, hXm, hX, eU, eV]; lib_int
  obtain ⟨e1, _⟩ := neg_zero e
  rw [← h, pm_sq hy, e1]; rfl

theorem two_le_ne (p : Nat) (hp : 2 ≤ p) (k : Int) (e : (1 : Int) = Int.ofNat p * k) : False := by
  obtain ⟨kn, hk⟩ := pm_exists k
  have h2 : PM (Int.ofNat p * k) (p * kn) := pm_mul (Or.inl rfl) hk
  rw [← e] at h2
  have e2 : 1 = p * kn := pm_unique (Or.inl rfl) h2
  cases p with
  | zero => exact Nat.not_succ_le_zero 1 hp
  | succ p1 =>
    cases p1 with
    | zero => exact Nat.not_succ_le_self 1 hp
    | succ p2 =>
      cases kn with
      | zero => exact Nat.noConfusion e2
      | succ k' => exact Nat.noConfusion (Nat.succ.inj e2)

theorem p_ndvd_one (p : Nat) (hp : 2 ≤ p) (X T u v U : Int) (hX : X = U * U) (huv : u * X + v * T = 1)
    (h : IDv (Int.ofNat p) U ∧ IDv (Int.ofNat p) T) : False := by
  obtain ⟨⟨a, ha⟩, ⟨b, hb⟩⟩ := h
  have e : (1 : Int) = Int.ofNat p * (u * a * U + v * b) :=
    calc (1 : Int) = u * X + v * T := huv.symm
      _ = u * (U * U) + v * (Int.ofNat p * b) := by rw [hX, hb]
      _ = u * ((Int.ofNat p * a) * U) + v * (Int.ofNat p * b) := by
          rw [show U * U = (Int.ofNat p * a) * U from congrArg (· * U) ha]
      _ = Int.ofNat p * (u * a * U + v * b) := by lib_int
  exact two_le_ne p hp _ e

/-- **A local obstruction at some prime excludes the class (1, d).** -/
theorem fin_gen (N : Nat) (d X T Y u v U V : Int) (hX : X = U * U)
    (hXm : X - Int.ofNat N * (T * T) = d * (V * V))
    (hY : Y * Y = X * ((X - Int.ofNat N * (T * T)) * (X + Int.ofNat N * (T * T)))) (huv : u * X + v * T = 1)
    (h0 : X ≠ 0) (h1 : X - Int.ofNat N * (T * T) ≠ 0)
    (hobs : ∀ W : Int, U * U - Int.ofNat N * (T * T) = d * (V * V) → d * (U * U + Int.ofNat N * (T * T)) = W * W →
      ∃ p : Nat, 2 ≤ p ∧ IDv (Int.ofNat p) U ∧ IDv (Int.ofNat p) T) : False := by
  have hU : U ≠ 0 := fun h => h0 (by rw [hX, h] <;> lib_int)
  have hV : V ≠ 0 := fun h => h1 (by rw [hXm, h] <;> lib_int)
  have e : Y * Y = (U * V) * (U * V) * (d * (U * U + Int.ofNat N * (T * T))) := by
    rw [hY, hXm, hX]; lib_int
  obtain ⟨W, _, hW⟩ := isq_dvd (U * V) Y _ (SqClass.mul_ne_zero' hU hV) e
  have e1 : U * U - Int.ofNat N * (T * T) = d * (V * V) := by rw [← hX]; exact hXm
  obtain ⟨p, hp, hd⟩ := hobs W e1 hW.symm
  exact p_ndvd_one p hp X T u v U hX huv hd

/-- **The sign obstruction excludes the classes (1, −D).** -/
theorem fin_neg (N D : Nat) (X T Y U V : Int) (hX : X = U * U)
    (hXm : X - Int.ofNat N * (T * T) = -Int.ofNat D * (V * V))
    (hY : Y * Y = X * ((X - Int.ofNat N * (T * T)) * (X + Int.ofNat N * (T * T))))
    (h0 : X ≠ 0) (h1 : X - Int.ofNat N * (T * T) ≠ 0) (h2 : X + Int.ofNat N * (T * T) ≠ 0) : False :=
  SqClass.mul_ne_zero' h0 (SqClass.mul_ne_zero' h1 h2) (sign_obsN N X T Y U V D hX hXm hY)

end FinObs

#print axioms FinObs.sign_obsN
#print axioms FinObs.two_le_ne
#print axioms FinObs.p_ndvd_one
#print axioms FinObs.fin_gen
#print axioms FinObs.fin_neg

bsd/Gap397.lean

lean_all/bsd/Gap397.lean

/-
  bsd/Gap397.lean — T39 cycle 193: the three squarefree n never computed before, n = 397, 398, 399.

  Lean 4 core plus bsd/MonskyCheck (s2), rfl. a2_cong397 (NUMERIC_BSD_CONGRUENT_GAP.jsonl): analytic rank 1 for all
  three (n ≡ 5, 6, 7 mod 8: root number −1). Checked here:
    parity_gap    r = 1 odd and n mod 8 ∈ {5, 6, 7}
    tunnell_gap   A = 2B (both 0, as TunnellMod8 predicts), i.e. L(E_n, 1) = 0
    monsky_gap    s₂(n) = 1 = r (rank ≤ s₂, same parity; Ш[2] = 0 if the rank is 1)
  With ParityCheck, ParityCheck2 the parity check now covers all 608 squarefree n ≤ 1000.
-/
import bsd.MonskyCheck

namespace Gap397
open MonskyCheck

def w (x : Nat) : Nat := if x = 0 then 1 else 2

def isqrt (n : Nat) : Nat := go n (n + 1)
where go (n : Nat) : Nat → Nat
  | 0 => 0
  | f + 1 => if (f + 1) * (f + 1) ≤ n then f + 1 else go n f

/-- #{(x, y, z) ∈ ℤ³ : x² + b y² + c z² = n} -/
def cnt (n b c : Nat) : Nat :=
  let r := isqrt n + 1
  (List.range r).foldl (fun s x => (List.range r).foldl (fun s y => (List.range r).foldl (fun s z =>
    if x * x + b * (y * y) + c * (z * z) = n then s + w x * w y * w z else s) s) s) 0

def tA (n : Nat) : Nat := if n % 2 = 1 then cnt n 2 8 else cnt (n / 2) 4 8
def tB (n : Nat) : Nat := if n % 2 = 1 then cnt n 2 32 else cnt (n / 2) 4 32

def gap : List (Nat × Nat) := [(397, 1), (398, 1), (399, 1)]

def odd8 (n : Nat) : Bool := Nat.beq (n % 8) 5 || Nat.beq (n % 8) 6 || Nat.beq (n % 8) 7

theorem parity_gap : gap.all (fun (n, r) => Bool.beq (Nat.beq (r % 2) 1) (odd8 n)) = true := rfl

set_option maxRecDepth 100000 in
theorem tunnell_gap : gap.all (fun (n, _) => Nat.beq (tA n) (2 * tB n)) = true := rfl

set_option maxRecDepth 100000 in
theorem monsky_gap : gap.all (fun (n, r) => Nat.beq (s2 n) r) = true := rfl

end Gap397

#print axioms Gap397.parity_gap
#print axioms Gap397.tunnell_gap
#print axioms Gap397.monsky_gap

bsd/Genocchi1.lean

lean_all/bsd/Genocchi1.lean

/-
  bsd/Genocchi1.lean — T39 cycle 83: Genocchi family, piece (1): the classes d = ±p (and ±q by symmetry) on
  E : y² = x³ − (pq)²x, obstructed at 2.

  Lean 4 core plus bsd/Mod16 (Z16, r16, p4, odd16, r16_q4). For p, q ≡ 3 (mod 8):
    tbl_pos   v² + p q² w⁴ ≢ p z⁴  (mod 16) unless z, w are both even
    tbl_neg   v² + p z⁴ ≢ p q² w⁴   (mod 16) unless z, w are both even
    r16_38    p = 8j + 3 ⇒ p ≡ 3 or 11 (mod 16)
    desc_p    N² + pq²e⁴ = pM⁴  ⇒ M, e both even          (d = p)
    desc_mp   N² + pM⁴ = pq²e⁴  ⇒ M, e both even          (d = −p)
  (a primitive solution has M, e not both even, so these classes are empty).
-/
import bsd.Mod16

namespace Genocchi1
open Mod16

set_option maxHeartbeats 0 in
theorem tbl_pos (z w u s v : Z16) (hu : u = Z16.r3 ∨ u = Z16.r11) (hs : s = Z16.r3 ∨ s = Z16.r11)
    (hzw : odd16 z = true ∨ odd16 w = true) :
    (v.mul v).add ((u.mul (s.mul s)).mul (p4 w)) ≠ u.mul (p4 z) := by
  cases hu with
  | inl h => subst h; cases hs with
    | inl h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
    | inr h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
  | inr h => subst h; cases hs with
    | inl h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
    | inr h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))

set_option maxHeartbeats 0 in
theorem tbl_neg (z w u s v : Z16) (hu : u = Z16.r3 ∨ u = Z16.r11) (hs : s = Z16.r3 ∨ s = Z16.r11)
    (hzw : odd16 z = true ∨ odd16 w = true) :
    (v.mul v).add (u.mul (p4 z)) ≠ (u.mul (s.mul s)).mul (p4 w) := by
  cases hu with
  | inl h => subst h; cases hs with
    | inl h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
    | inr h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
  | inr h => subst h; cases hs with
    | inl h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
    | inr h2 => subst h2; cases hzw with
      | inl hz => cases z <;> first | exact Bool.noConfusion hz | (cases w <;> cases v <;> (intro e; exact Z16.noConfusion e))
      | inr hw => cases w <;> first | exact Bool.noConfusion hw | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))

theorem r16_38 (j : Nat) :
    r16 ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) = Z16.r3 ∨
    r16 ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) = Z16.r11 := by
  repeat rw [r16_add]
  cases r16 j <;> first | exact Or.inl rfl | exact Or.inr rfl

/-- **d = p**: N² + pq²e⁴ = pM⁴ forces M, e both even. -/
theorem desc_p (P Q N M e : Nat) (hP : r16 P = Z16.r3 ∨ r16 P = Z16.r11) (hQ : r16 Q = Z16.r3 ∨ r16 Q = Z16.r11)
    (eq : N * N + P * (Q * Q) * q4 e = P * q4 M) :
    odd16 (r16 M) = false ∧ odd16 (r16 e) = false := by
  have k := congrArg r16 eq
  rw [r16_add, r16_mul, r16_mul, r16_mul, r16_mul, r16_mul, r16_q4, r16_q4] at k
  cases hM : odd16 (r16 M) with
  | true => exact absurd k (tbl_pos _ _ _ _ _ hP hQ (Or.inl hM))
  | false =>
    cases he : odd16 (r16 e) with
    | true => exact absurd k (tbl_pos _ _ _ _ _ hP hQ (Or.inr he))
    | false => exact ⟨rfl, rfl⟩

/-- **d = −p**: N² + pM⁴ = pq²e⁴ forces M, e both even. -/
theorem desc_mp (P Q N M e : Nat) (hP : r16 P = Z16.r3 ∨ r16 P = Z16.r11) (hQ : r16 Q = Z16.r3 ∨ r16 Q = Z16.r11)
    (eq : N * N + P * q4 M = P * (Q * Q) * q4 e) :
    odd16 (r16 M) = false ∧ odd16 (r16 e) = false := by
  have k := congrArg r16 eq
  rw [r16_add, r16_mul, r16_mul, r16_mul, r16_mul, r16_mul, r16_q4, r16_q4] at k
  cases hM : odd16 (r16 M) with
  | true => exact absurd k (tbl_neg _ _ _ _ _ hP hQ (Or.inl hM))
  | false =>
    cases he : odd16 (r16 e) with
    | true => exact absurd k (tbl_neg _ _ _ _ _ hP hQ (Or.inr he))
    | false => exact ⟨rfl, rfl⟩

end Genocchi1

#print axioms Genocchi1.tbl_pos
#print axioms Genocchi1.tbl_neg
#print axioms Genocchi1.r16_38
#print axioms Genocchi1.desc_p
#print axioms Genocchi1.desc_mp

bsd/Genocchi2.lean

lean_all/bsd/Genocchi2.lean

/-
  bsd/Genocchi2.lean — T39 cycle 81: Genocchi family n = pq, p ≡ q ≡ 3 (mod 8), piece (2): the class d = 2 on
  E' : y² = x³ + 4n²x.

  Lean 4 core plus bsd/CongruentFamily (two_nonres, nonres_dv, dv_sq, q4). p = 8j + 3:
    desc2_w     N² = 2M⁴ + 2p²w²  ⇒  p ∣ M and p ∣ w          (2 is a non-residue mod p, twice)
    desc2_pq    N² = 2M⁴ + 2(pq)²e⁴, p ∤ q  ⇒  p ∣ M and p ∣ e
  So d = 2 has no solution with p ∤ gcd(M, e): the class dies at p (one level below mod p²).
-/
import bsd.CongruentFamily
import lib.Semi

namespace Genocchi2
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent CongruentFamily

theorem desc2_w (j : Nat) (hp : Pr ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1)) (N M w : Nat)
    (eq : N * N = 2 * q4 M + 2 * (((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) *
      ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1)) * (w * w)) :
    Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) M ∧
      Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) w := by
  let h := j + j + (j + j) + 1
  let P := h + h + 1
  have hP : 0 < P := Nat.zero_lt_succ _
  have hPP : 0 < P * P := Nat.mul_le_mul hP hP
  have dvPP : ∀ x, Dv P (x * (P * P)) := fun x => ⟨x * P, by rw [nmul_assoc]⟩
  have r1 : rem P (N * N) = rem P (2 * (M * M * (M * M))) := by
    rw [eq]
    apply rem_add_dv
    exact dv_mul_right _ _ (w * w) (dv_mul_left 2 _ _ ⟨P, rfl⟩)
  have hM : Dv P M := dv_sq P M hp (nonres_dv h hp 2 N (M * M) (two_nonres j hp) r1)
  have hN : Dv P N := by
    apply dv_sq P N hp
    apply dv_of_rem_zero
    rw [r1]
    apply rem_zero_of_dv
    exact dv_mul_left _ _ _ (dv_mul_left _ _ _ (dv_mul_left _ _ _ hM))
  refine ⟨hM, ?_⟩
  cases hN with
  | intro c hc =>
    cases hM with
    | intro b hb =>
      have e1 : (P * P) * (c * c) = (P * P) * (2 * (q4 b * (P * P)) + 2 * (w * w)) := by
        have l : N * N = (P * P) * (c * c) := by rw [hc, mul4, nmul_comm]
        have m : q4 M = q4 b * ((P * P) * (P * P)) := by
          unfold q4; rw [hb, mul4 b P b P, mul4 (b * b) (P * P) (b * b) (P * P)]
        rw [← l, eq, m]
        generalize P * P = Q
        generalize q4 b = X
        generalize w * w = Y
        rw [nleft_distrib Q]
        have t1 : Q * (2 * (X * Q)) = 2 * (X * (Q * Q)) := by
          rw [← nmul_assoc Q 2, nmul_comm Q 2, nmul_assoc 2, ← nmul_assoc Q X Q, nmul_comm Q X,
            nmul_assoc X]
        have t2 : Q * (2 * Y) = 2 * Q * Y := by rw [← nmul_assoc, nmul_comm Q 2]
        rw [t1, t2]
      have e2 := Nat.eq_of_mul_eq_mul_left hPP e1
      have r2 : rem P (c * c) = rem P (2 * (w * w)) := by
        rw [e2, nadd_comm]
        apply rem_add_dv
        exact dv_mul_left _ _ _ (dvPP _)
      exact nonres_dv h hp 2 c w (two_nonres j hp) r2

/-- **d = 2 for n = pq.** -/
theorem desc2_pq (j q : Nat) (hp : Pr ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1))
    (hne : ¬ Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) q) (N M e : Nat)
    (eq : N * N = 2 * q4 M + 2 * ((((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) * q) *
      (((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) * q)) * q4 e) :
    Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) M ∧
      Dv ((j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1) e := by
  let P := (j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1
  have eq' : N * N = 2 * q4 M + 2 * (P * P) * ((q * (e * e)) * (q * (e * e))) := by
    have key : ∀ A : Nat, 2 * q4 M + 2 * ((A * q) * (A * q)) * q4 e
        = 2 * q4 M + 2 * (A * A) * ((q * (e * e)) * (q * (e * e))) := fun A => by unfold q4; lib_nat
    rw [eq]; exact key P
  have ⟨hM, hw⟩ := desc2_w j hp N M (q * (e * e)) eq'
  refine ⟨hM, ?_⟩
  cases euclid _ _ _ hp hw with
  | inl d => exact absurd d hne
  | inr d => exact dv_sq P e hp d

end Genocchi2

#print axioms Genocchi2.desc2_w
#print axioms Genocchi2.desc2_pq

bsd/Genocchi3.lean

lean_all/bsd/Genocchi3.lean

/-
  bsd/Genocchi3.lean — T39 cycle 82: Genocchi family, piece (3): the classes of E' : y² = x³ + 4(pq)²x that
  contain p (d = p, 2p, pq, 2pq; those with q are the same with p and q exchanged).

  Lean 4 core plus bsd/CongruentDescent (neg1_nonres, nonres_dv, shift_neg, dv_sq, cancel_square), lib/Semi.
  p = 4n + 3 prime:
    sum2sq     p ∣ X² + Y²  ⇒  p ∣ X and p ∣ Y                  ((−1 | p) = −1)
    core       p ∣ K·(M⁴ + (Ze²)²), p ∤ K, p ∤ Z  ⇒  p ∣ M and p ∣ e
    class_p    N² = pM⁴ + 4pq²e⁴        ⇒ p ∣ M, p ∣ e   (p ∤ 2q)
    class_2p   N² = 2pM⁴ + 2pq²e⁴       ⇒ p ∣ M, p ∣ e
    class_pq   N² = pqM⁴ + 4pqe⁴        ⇒ p ∣ M, p ∣ e
    class_2pq  N² = 2pqM⁴ + 2pqe⁴       ⇒ p ∣ M, p ∣ e
-/
import bsd.CongruentDescent
import lib.Semi

namespace Genocchi3
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent

theorem sum2sq (n X Y : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1))
    (e : rem ((n + n + 1) + (n + n + 1) + 1) (X * X + Y * Y) = 0) :
    Dv ((n + n + 1) + (n + n + 1) + 1) X ∧ Dv ((n + n + 1) + (n + n + 1) + 1) Y := by
  have s := shift_neg (n + n + 1) (X * X) (Y * Y) e
  have hY := nonres_dv (n + n + 1) hp _ X Y (neg1_nonres n hp) s
  refine ⟨?_, hY⟩
  apply dv_sq _ X hp
  apply dv_of_rem_zero
  rw [s]
  exact rem_zero_of_dv _ _ (dv_mul_left _ _ _ (dv_mul_left _ _ _ hY))

theorem core (n K Z M e : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1))
    (hK : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) K) (hZ : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) Z)
    (h : Dv ((n + n + 1) + (n + n + 1) + 1) (K * ((M * M) * (M * M) + (Z * (e * e)) * (Z * (e * e))))) :
    Dv ((n + n + 1) + (n + n + 1) + 1) M ∧ Dv ((n + n + 1) + (n + n + 1) + 1) e := by
  have h2 : Dv ((n + n + 1) + (n + n + 1) + 1) ((M * M) * (M * M) + (Z * (e * e)) * (Z * (e * e))) :=
    match euclid _ _ _ hp h with
    | Or.inl d => absurd d hK
    | Or.inr d => d
  have ⟨a, b⟩ := sum2sq n _ _ hp (rem_zero_of_dv _ _ h2)
  refine ⟨dv_sq _ M hp a, ?_⟩
  cases euclid _ _ _ hp b with
  | inl d => exact absurd d hZ
  | inr d => exact dv_sq _ e hp d

/-- From N² = P·Y to P ∣ Y. -/
theorem dv_of_sq_eq (n N Y : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1))
    (e : N * N = ((n + n + 1) + (n + n + 1) + 1) * Y) : Dv ((n + n + 1) + (n + n + 1) + 1) Y := by
  have hN : Dv ((n + n + 1) + (n + n + 1) + 1) N := dv_sq _ N hp ⟨Y, by rw [e, nmul_comm]⟩
  have ⟨c, hc⟩ := cancel_square _ N Y (Nat.zero_lt_succ _) hN e
  exact ⟨c * c, by rw [← hc, nmul_comm]⟩

theorem one_nd (n : Nat) : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) 1 :=
  fun d => not_dv_of_lt _ 1 Nat.zero_lt_one (Nat.succ_lt_succ (Nat.zero_lt_succ _)) d

theorem class_p (n q N M e : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1))
    (h2 : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) 2) (hq : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) q)
    (eq : N * N = ((n + n + 1) + (n + n + 1) + 1) * (M * M * (M * M))
      + 4 * ((n + n + 1) + (n + n + 1) + 1) * (q * q) * (e * e * (e * e))) :
    Dv ((n + n + 1) + (n + n + 1) + 1) M ∧ Dv ((n + n + 1) + (n + n + 1) + 1) e := by
  have key : ∀ P : Nat, P * (M * M * (M * M)) + 4 * P * (q * q) * (e * e * (e * e))
      = P * ((1) * ((M * M) * (M * M) + ((2 * q) * (e * e)) * ((2 * q) * (e * e)))) := fun P => by lib_nat
  rw [key] at eq
  exact core n (1) (2 * q) M e hp (one_nd n) (fun d => (euclid _ _ _ hp d).elim h2 hq) (dv_of_sq_eq n N _ hp eq)

theorem class_2p (n q N M e : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1))
    (h2 : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) 2) (hq : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) q)
    (eq : N * N = 2 * ((n + n + 1) + (n + n + 1) + 1) * (M * M * (M * M))
      + 2 * ((n + n + 1) + (n + n + 1) + 1) * (q * q) * (e * e * (e * e))) :
    Dv ((n + n + 1) + (n + n + 1) + 1) M ∧ Dv ((n + n + 1) + (n + n + 1) + 1) e := by
  have key : ∀ P : Nat, 2 * P * (M * M * (M * M)) + 2 * P * (q * q) * (e * e * (e * e))
      = P * ((2) * ((M * M) * (M * M) + ((q) * (e * e)) * ((q) * (e * e)))) := fun P => by lib_nat
  rw [key] at eq
  exact core n (2) (q) M e hp h2 hq (dv_of_sq_eq n N _ hp eq)

theorem class_pq (n q N M e : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1))
    (h2 : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) 2) (hq : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) q)
    (eq : N * N = ((n + n + 1) + (n + n + 1) + 1) * q * (M * M * (M * M))
      + 4 * ((n + n + 1) + (n + n + 1) + 1) * q * (e * e * (e * e))) :
    Dv ((n + n + 1) + (n + n + 1) + 1) M ∧ Dv ((n + n + 1) + (n + n + 1) + 1) e := by
  have key : ∀ P : Nat, P * q * (M * M * (M * M)) + 4 * P * q * (e * e * (e * e))
      = P * ((q) * ((M * M) * (M * M) + ((2) * (e * e)) * ((2) * (e * e)))) := fun P => by lib_nat
  rw [key] at eq
  exact core n (q) (2) M e hp hq h2 (dv_of_sq_eq n N _ hp eq)

theorem class_2pq (n q N M e : Nat) (hp : Pr ((n + n + 1) + (n + n + 1) + 1))
    (h2 : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) 2) (hq : ¬ Dv ((n + n + 1) + (n + n + 1) + 1) q)
    (eq : N * N = 2 * ((n + n + 1) + (n + n + 1) + 1) * q * (M * M * (M * M))
      + 2 * ((n + n + 1) + (n + n + 1) + 1) * q * (e * e * (e * e))) :
    Dv ((n + n + 1) + (n + n + 1) + 1) M ∧ Dv ((n + n + 1) + (n + n + 1) + 1) e := by
  have key : ∀ P : Nat, 2 * P * q * (M * M * (M * M)) + 2 * P * q * (e * e * (e * e))
      = P * ((2 * q) * ((M * M) * (M * M) + ((1) * (e * e)) * ((1) * (e * e)))) := fun P => by lib_nat
  rw [key] at eq
  exact core n (2 * q) (1) M e hp (fun d => (euclid _ _ _ hp d).elim h2 hq) (one_nd n) (dv_of_sq_eq n N _ hp eq)


end Genocchi3

#print axioms Genocchi3.sum2sq
#print axioms Genocchi3.core
#print axioms Genocchi3.dv_of_sq_eq
#print axioms Genocchi3.one_nd
#print axioms Genocchi3.class_p
#print axioms Genocchi3.class_2p
#print axioms Genocchi3.class_pq
#print axioms Genocchi3.class_2pq

bsd/GenocchiFamily.lean

lean_all/bsd/GenocchiFamily.lean

/-
  bsd/GenocchiFamily.lean — T39 cycle 84: assembly of the Genocchi family n = pq, p ≡ q ≡ 3 (mod 8).

  Lean 4 core plus bsd/Genocchi1, Genocchi2, Genocchi3. For primes P = 8j + 3, Q = 8k + 3, P ≠ Q, every
  descent class outside the torsion images ({±1, ±PQ} on E, {1} on E') has no primitive solution:
    E : y² = x³ − (PQ)²x   d = ±P, ±Q          M, e both even                     (Genocchi1, mod 16)
    E': y² = x³ + 4(PQ)²x  d = 2                P ∣ M and P ∣ e                     (Genocchi2)
                           d = P, 2P, PQ, 2PQ  P ∣ M and P ∣ e                     (Genocchi3)
                           d = Q, 2Q           Q ∣ M and Q ∣ e                     (Genocchi3, roles exchanged)
                           d < 0               no real solution                     (BSDChain.real_insoluble)
  With the cited exact sequence 0 → E'(Q)/φE(Q) → Q*/Q*² … (Silverman X.4.9) this is rank E_{PQ}(Q) = 0:
  PQ is not a congruent number (Genocchi). The local content above is all in Lean.
-/
import bsd.Genocchi1
import bsd.Genocchi2
import bsd.Genocchi3

namespace GenocchiFamily
open FTAChain FrobChain QRChain ESChain BSDChain CongruentDescent Mod16

def P8 (j : Nat) : Nat := (j + j + (j + j) + 1) + (j + j + (j + j) + 1) + 1

theorem two_nd (j : Nat) : ¬ Dv (P8 j) 2 := fun d =>
  not_dv_of_lt _ 2 (Nat.zero_lt_succ 1)
    (Nat.lt_succ_of_le (Nat.add_le_add (Nat.le_add_left 1 _) (Nat.le_add_left 1 _))) d

/-- **The Genocchi family: every non-torsion class is empty (locally).** -/
theorem genocchi (j k : Nat) (hp : Pr (P8 j)) (hq : Pr (P8 k))
    (hpq : ¬ Dv (P8 j) (P8 k)) (hqp : ¬ Dv (P8 k) (P8 j)) (N M e : Nat) :
    -- E side, d = P and d = −P (and the same with Q)
    (N * N + P8 j * (P8 k * P8 k) * Mod16.q4 e = P8 j * Mod16.q4 M → odd16 (r16 M) = false ∧ odd16 (r16 e) = false) ∧
    (N * N + P8 j * Mod16.q4 M = P8 j * (P8 k * P8 k) * Mod16.q4 e → odd16 (r16 M) = false ∧ odd16 (r16 e) = false) ∧
    (N * N + P8 k * (P8 j * P8 j) * Mod16.q4 e = P8 k * Mod16.q4 M → odd16 (r16 M) = false ∧ odd16 (r16 e) = false) ∧
    (N * N + P8 k * Mod16.q4 M = P8 k * (P8 j * P8 j) * Mod16.q4 e → odd16 (r16 M) = false ∧ odd16 (r16 e) = false) ∧
    -- E' side, d = 2
    (N * N = 2 * BSDChain.q4 M + 2 * ((P8 j * P8 k) * (P8 j * P8 k)) * BSDChain.q4 e → Dv (P8 j) M ∧ Dv (P8 j) e) ∧
    -- E' side, d = P, 2P, PQ, 2PQ
    (N * N = P8 j * (M * M * (M * M)) + 4 * P8 j * (P8 k * P8 k) * (e * e * (e * e)) → Dv (P8 j) M ∧ Dv (P8 j) e) ∧
    (N * N = 2 * P8 j * (M * M * (M * M)) + 2 * P8 j * (P8 k * P8 k) * (e * e * (e * e)) → Dv (P8 j) M ∧ Dv (P8 j) e) ∧
    (N * N = P8 j * P8 k * (M * M * (M * M)) + 4 * P8 j * P8 k * (e * e * (e * e)) → Dv (P8 j) M ∧ Dv (P8 j) e) ∧
    (N * N = 2 * P8 j * P8 k * (M * M * (M * M)) + 2 * P8 j * P8 k * (e * e * (e * e)) → Dv (P8 j) M ∧ Dv (P8 j) e) ∧
    -- E' side, d = Q, 2Q
    (N * N = P8 k * (M * M * (M * M)) + 4 * P8 k * (P8 j * P8 j) * (e * e * (e * e)) → Dv (P8 k) M ∧ Dv (P8 k) e) ∧
    (N * N = 2 * P8 k * (M * M * (M * M)) + 2 * P8 k * (P8 j * P8 j) * (e * e * (e * e)) → Dv (P8 k) M ∧ Dv (P8 k) e) :=
  ⟨fun h => Genocchi1.desc_p _ _ N M e (Genocchi1.r16_38 j) (Genocchi1.r16_38 k) h,
   fun h => Genocchi1.desc_mp _ _ N M e (Genocchi1.r16_38 j) (Genocchi1.r16_38 k) h,
   fun h => Genocchi1.desc_p _ _ N M e (Genocchi1.r16_38 k) (Genocchi1.r16_38 j) h,
   fun h => Genocchi1.desc_mp _ _ N M e (Genocchi1.r16_38 k) (Genocchi1.r16_38 j) h,
   fun h => Genocchi2.desc2_pq j (P8 k) hp hpq N M e h,
   fun h => Genocchi3.class_p (j + j) (P8 k) N M e hp (two_nd j) hpq h,
   fun h => Genocchi3.class_2p (j + j) (P8 k) N M e hp (two_nd j) hpq h,
   fun h => Genocchi3.class_pq (j + j) (P8 k) N M e hp (two_nd j) hpq h,
   fun h => Genocchi3.class_2pq (j + j) (P8 k) N M e hp (two_nd j) hpq h,
   fun h => Genocchi3.class_p (k + k) (P8 j) N M e hq (two_nd k) hqp h,
   fun h => Genocchi3.class_2p (k + k) (P8 j) N M e hq (two_nd k) hqp h⟩

end GenocchiFamily

#print axioms GenocchiFamily.two_nd
#print axioms GenocchiFamily.genocchi

bsd/HalfCheck5.lean

lean_all/bsd/HalfCheck5.lean

/-
  bsd/HalfCheck5.lean — T39 cycle 199: the halves of cycle 196 double back to the found points.

  Lean 4 core plus lib/RingTac, rfl. On y² = x³ − n²x, the tangent slope λ = (3x² − n²)/(2y) gives
  x(2Q) = λ² − 2x, and
      dbl_x     (3x² − n²)² − 8x·y² = (x² + n²)²     (every commutative ring, from y² = x³ − n²x)
  so x(2Q) = (x² + n²)² / (4y²). With Q = (a_Q/b_Q², c_Q/b_Q³) and P = (a_P/b_P²) this is the integer identity
      (a_Q² + n² b_Q⁴)² · b_P² = a_P · 4 c_Q² b_Q²                                          (dbl_ok)
  checked for n = 806, 957, 966: P = 2Q, so the generators have ĥ(Q) = ĥ(P)/4 and #Ш_an = 1 (BSD_LOG cycle 196).
-/
import lib.RingTac

namespace HalfCheck5
open DetChain LibRing

variable {R : Type} (K : CRing R)

/-- **Doubling on the congruent curve, x-coordinate.** -/
theorem dbl_x (x y n : R) (h : K.mul y y = sub K (K.mul x (K.mul x x)) (K.mul (K.mul n n) x)) :
    sub K (K.mul (sub K (K.mul (K.add K.one (K.add K.one K.one)) (K.mul x x)) (K.mul n n))
               (sub K (K.mul (K.add K.one (K.add K.one K.one)) (K.mul x x)) (K.mul n n)))
          (K.mul (K.add (K.add K.one K.one) (K.add (K.add K.one K.one) (K.add (K.add K.one K.one) (K.add K.one K.one))))
            (K.mul x (K.mul y y)))
      = K.mul (K.add (K.mul x x) (K.mul n n)) (K.add (K.mul x x) (K.mul n n)) := by
  rw [h]; lib_ring

def rows : List (Nat × Nat × Nat × Nat × Nat × Nat) :=
  [(806, 1651225, 42, 3038, 1, 161448), (966, 284089, 10, 11109, 1, 1166445), (957, 734449, 20, 27753, 2, 4579245)]

theorem dbl_ok : rows.all (fun (n, aP, bP, aQ, bQ, cQ) =>
    Nat.beq ((aQ * aQ + n * n * (bQ * bQ * bQ * bQ)) * (aQ * aQ + n * n * (bQ * bQ * bQ * bQ)) * (bP * bP))
      (aP * (4 * (cQ * cQ) * (bQ * bQ)))) = true := rfl

end HalfCheck5

#print axioms HalfCheck5.dbl_x
#print axioms HalfCheck5.dbl_ok

bsd/HalfPoint.lean

lean_all/bsd/HalfPoint.lean

/-
  bsd/HalfPoint.lean — T39 cycle 169: the triangle point is explicitly a double, every commutative ring.

  Lean 4 core plus bsd/TrianglePoint (sq, two), lib/RingTac. For a² + b² = c² and N = 2ab, on Y² = X³ − N²X put
      Q = (x_Q, y_Q) = (2a(a + c), 4a²(a + c)).
    half_on     y_Q² = x_Q³ − N² x_Q                     (Q is on the curve)
    half_dbl    x_Q² + N² = c · 2y_Q                     (so x(2Q) = ((x_Q² + N²)/(2y_Q))² = c² = X(P))
  i.e. the triangle point P = (c², c(b² − a²)) of TrianglePoint is ±2Q: congruent-number points coming from
  triangles are divisible by 2 in E(Q) (consistent with Doubling: X, X ∓ N are squares).
-/
import bsd.TrianglePoint

namespace HalfPoint
open DetChain LibRing TrianglePoint

variable {R : Type} (K : CRing R)

def xQ (a c : R) : R := two K (K.mul a (K.add a c))
def yQ (a c : R) : R := two K (two K (K.mul (sq K a) (K.add a c)))

theorem half_on (a b c : R) (h : K.add (sq K a) (sq K b) = sq K c) :
    sq K (yQ K a c) = K.add (K.mul (xQ K a c) (sq K (xQ K a c)))
      (K.neg (K.mul (sq K (two K (K.mul a b))) (xQ K a c))) := by
  -- difference = 8 a³ (a + c) · (c² − a² − b²)
  have e : K.add (K.mul (xQ K a c) (sq K (xQ K a c))) (K.neg (K.mul (sq K (two K (K.mul a b))) (xQ K a c)))
      = K.add (sq K (yQ K a c))
          (K.mul (two K (two K (two K (K.mul (K.mul a (sq K a)) (K.add a c)))))
            (K.add (sq K c) (K.neg (K.add (sq K a) (sq K b))))) := by
    unfold xQ yQ sq two; lib_ring
  rw [e, h]; unfold sq two; lib_ring

theorem half_dbl (a b c : R) (h : K.add (sq K a) (sq K b) = sq K c) :
    K.add (sq K (xQ K a c)) (sq K (two K (K.mul a b))) = K.mul c (two K (yQ K a c)) := by
  -- difference = 4a² (a² + b² − c²)
  have e : K.add (sq K (xQ K a c)) (sq K (two K (K.mul a b)))
      = K.add (K.mul c (two K (yQ K a c)))
          (K.mul (two K (two K (sq K a))) (K.add (K.add (sq K a) (sq K b)) (K.neg (sq K c)))) := by
    unfold xQ yQ sq two; lib_ring
  rw [e, h]; unfold sq two; lib_ring

end HalfPoint

#print axioms HalfPoint.half_on
#print axioms HalfPoint.half_dbl

bsd/Halving.lean

lean_all/bsd/Halving.lean

/-
  bsd/Halving.lean — T39 cycle 175: if x − e₁, x − e₂, x − e₃ are squares then x is the x-coordinate of a
  double, every commutative ring (converse of DoublingGen: kernel of the 2-descent map = 2E, x-level).

  Lean 4 core plus bsd/DoublingGen (f, f', x2, g, dbl_sq), lib/RingTac. Put eᵢ = x − rᵢ² and
      x_Q = x + r₁r₂ + r₁r₃ + r₂r₃,   y_Q = (r₁ + r₂)(r₁ + r₃)(r₂ + r₃).
    half_on    y_Q² = f(x_Q)                       (x_Q − eᵢ = (rᵢ + rⱼ)(rᵢ + rₖ))
    half_g     g(x_Q) = r₁ · 2y_Q                  ((x_Q − e₁)² − (e₁ − e₂)(e₁ − e₃) = 2r₁(r₁+r₂)(r₁+r₃)(r₂+r₃))
    halving    2y_Q·w = 1  ⇒  x₂(Q) = x            (with dbl_sq: x₂ − e₁ = (r₁·2y_Q·w)² = r₁²)
-/
import bsd.DoublingGen

namespace Halving
open DetChain LibRing TrianglePoint DoublingGen

variable {R : Type} (K : CRing R)

def e (x r : R) : R := K.add x (K.neg (sq K r))
def xQ (x r1 r2 r3 : R) : R := K.add (K.add (K.add x (K.mul r1 r2)) (K.mul r1 r3)) (K.mul r2 r3)
def yQ (r1 r2 r3 : R) : R := K.mul (K.mul (K.add r1 r2) (K.add r1 r3)) (K.add r2 r3)

theorem half_on (x r1 r2 r3 : R) :
    K.mul (yQ K r1 r2 r3) (yQ K r1 r2 r3) = f K (e K x r1) (e K x r2) (e K x r3) (xQ K x r1 r2 r3) := by
  unfold yQ f e xQ sq; lib_ring

theorem half_g (x r1 r2 r3 : R) :
    g K (e K x r1) (e K x r2) (e K x r3) (xQ K x r1 r2 r3) = K.mul r1 (two K (yQ K r1 r2 r3)) := by
  unfold g e xQ yQ sq two; lib_ring

/-- **Halving.** -/
theorem halving (x r1 r2 r3 w : R) (hw : K.mul (two K (yQ K r1 r2 r3)) w = K.one) :
    x2 K (e K x r1) (e K x r2) (e K x r3) (xQ K x r1 r2 r3) w = x := by
  have d := dbl_sq K (e K x r1) (e K x r2) (e K x r3) (xQ K x r1 r2 r3) (yQ K r1 r2 r3) w (half_on K x r1 r2 r3) hw
  rw [half_g K x r1 r2 r3,
    show sq K (K.mul (K.mul r1 (two K (yQ K r1 r2 r3))) w)
      = K.mul (sq K r1) (sq K (K.mul (two K (yQ K r1 r2 r3)) w)) by unfold sq; lib_ring,
    show sq K (K.mul (two K (yQ K r1 r2 r3)) w) = K.one by unfold sq; rw [hw]; lib_ring] at d
  -- d : x₂ − (x − r₁²) = r₁² · 1
  have e2 : x2 K (e K x r1) (e K x r2) (e K x r3) (xQ K x r1 r2 r3) w
      = K.add (K.add (x2 K (e K x r1) (e K x r2) (e K x r3) (xQ K x r1 r2 r3) w) (K.neg (e K x r1)))
          (e K x r1) := by lib_ring
  rw [e2, d]; unfold e; lib_ring

end Halving

#print axioms Halving.half_on
#print axioms Halving.half_g
#print axioms Halving.halving

bsd/HasseCM.lean

lean_all/bsd/HasseCM.lean

/-
  bsd/HasseCM.lean — T39 cycle 101: the Hasse bound for the two CM families at every small prime, split
  primes included: for every prime 5 ≤ p ≤ 97 and every D ∈ [1, p),
      y² = x³ + Dx  and  y² = x³ + D  have  (p − N)² ≤ 4p,   N = #{(x, y) ∈ F_p²}
  (a_p = p − N; #E(F_p) = N + 1). Checked by rfl (Kamiak). At the inert primes this is a_p = 0 (proved for
  all p in SupersingularCount, CubeCount); at the split primes it is the Hasse bound (cited for all p).
-/
namespace HasseCM

def cnt (p : Nat) (f : Nat → Nat) : Nat :=
  (List.range p).foldl (fun s x => (List.range p).foldl (fun s y =>
    if (y * y) % p = (f x) % p then s + 1 else s) s) 0

def sq (n : Nat) : Nat := n * n
def hasseOK (p N : Nat) : Bool := Nat.ble (sq (p - N)) (4 * p) && Nat.ble (sq (N - p)) (4 * p)

def famOK (p : Nat) : Bool :=
  (List.range p).all (fun D => Nat.beq D 0 ||
    (hasseOK p (cnt p (fun x => x * x * x + D * x)) && hasseOK p (cnt p (fun x => x * x * x + D))))

def primes : List Nat := [5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_5 : famOK 5 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_7 : famOK 7 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_11 : famOK 11 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_13 : famOK 13 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_17 : famOK 17 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_19 : famOK 19 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_23 : famOK 23 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_29 : famOK 29 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_31 : famOK 31 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_37 : famOK 37 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_41 : famOK 41 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_43 : famOK 43 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_47 : famOK 47 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_53 : famOK 53 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_59 : famOK 59 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_61 : famOK 61 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_67 : famOK 67 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_71 : famOK 71 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_73 : famOK 73 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_79 : famOK 79 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_83 : famOK 83 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_89 : famOK 89 = true := rfl
set_option maxRecDepth 1000000 in
set_option maxHeartbeats 0 in
theorem hasse_97 : famOK 97 = true := rfl

end HasseCM

#print axioms HasseCM.hasse_5
#print axioms HasseCM.hasse_7
#print axioms HasseCM.hasse_11
#print axioms HasseCM.hasse_13
#print axioms HasseCM.hasse_17
#print axioms HasseCM.hasse_19
#print axioms HasseCM.hasse_23
#print axioms HasseCM.hasse_29
#print axioms HasseCM.hasse_31
#print axioms HasseCM.hasse_37
#print axioms HasseCM.hasse_41
#print axioms HasseCM.hasse_43
#print axioms HasseCM.hasse_47
#print axioms HasseCM.hasse_53
#print axioms HasseCM.hasse_59
#print axioms HasseCM.hasse_61
#print axioms HasseCM.hasse_67
#print axioms HasseCM.hasse_71
#print axioms HasseCM.hasse_73
#print axioms HasseCM.hasse_79
#print axioms HasseCM.hasse_83
#print axioms HasseCM.hasse_89
#print axioms HasseCM.hasse_97

bsd/HasseConverse.lean

lean_all/bsd/HasseConverse.lean

/-
  bsd/HasseConverse.lean — T39 cycle 157: the converse of HasseDeg, every ordered commutative ring.

  Lean 4 core plus bsd/HasseDeg (two, hasse_from_deg), lib/RingTac. With Q(m, n) = m² − a m n + p n²:
      4·Q(m, n) = (2m − a n)² + (4p − a²) n²
  so 4p − a² ≥ 0 ⇒ 4Q(m, n) ≥ 0 for all m, n (with hasse_from_deg: the two conditions are equivalent up to 4).
  Reading: the Hasse bound is exactly the nonnegativity of the degree form on Z[φ] (up to the factor 4).
-/
import bsd.HasseDeg
import lib.RingTac

namespace HasseConverse
open DetChain NSChain LibRing HasseDeg

variable {R : Type} (K : CRing R)

def form (a p m n : R) : R := K.add (K.add (K.mul m m) (K.neg (K.mul (K.mul a m) n))) (K.mul p (K.mul n n))

theorem four_form (a p m n : R) :
    K.mul (K.mul (two K) (two K)) (form K a p m n)
      = K.add (K.mul (K.add (K.mul (two K) m) (K.neg (K.mul a n))) (K.add (K.mul (two K) m) (K.neg (K.mul a n))))
              (K.mul (K.add (K.mul (K.mul (two K) (two K)) p) (K.neg (K.mul a a))) (K.mul n n)) := by
  unfold form two; lib_ring

/-- **Converse of Hasse from the degree.** -/
theorem deg_from_hasse (P : Cone K) (a p : R)
    (h : P.nn (K.add (K.mul (K.mul (two K) (two K)) p) (K.neg (K.mul a a)))) (m n : R) :
    P.nn (K.mul (K.mul (two K) (two K)) (form K a p m n)) := by
  rw [four_form K a p m n]
  exact P.nn_add _ _ (P.nn_sq _) (P.nn_mul _ _ h (P.nn_sq n))

end HasseConverse

#print axioms HasseConverse.four_form
#print axioms HasseConverse.deg_from_hasse

bsd/HasseDeg.lean

lean_all/bsd/HasseDeg.lean

/-
  bsd/HasseDeg.lean — T39 cycle 2: Hasse's bound from the positivity of the degree.

  Lean 4 core plus NSChain (CRing, Cone). If the quadratic form
      deg(m − nφ) = m² − a m n + p n²
  is nonnegative for all m, n (it is the degree of the isogeny m − nφ, φ = Frobenius with
  φ² − aφ + p = 0), then 4p − a² ≥ 0, i.e. a² ≤ 4p (Hasse). Every ordered commutative ring.
  Remaining for Hasse at every p (OPEN_LEMMAS_BSD): hasse_H1 (general point count),
  hasse_H2 (φ² − aφ + p = 0, checked in Zeta2 for small p), and deg ≥ 0 on Z[φ].
-/
import NSChain

namespace HasseDeg
open DetChain NSChain

section Ring
variable {R : Type} (K : CRing R)

def two : R := K.add K.one K.one

theorem mul_two (x : R) : K.mul x (two K) = K.add x x := by
  unfold two
  rw [K.distrib, K.mul_comm x K.one, K.one_mul]

theorem neg_add2 (x y : R) : K.neg (K.add x y) = K.add (K.neg x) (K.neg y) := by
  apply (neg_unique K _ _ _).symm
  rw [add_mid4 K, add_neg' K, add_neg' K, K.zero_add]

/-- The form at (m, n) = (a, 2) equals 4p − a² (with 4 = 2·2). -/
theorem form_at_a_two (a p : R) :
    K.add (K.add (K.mul a a) (K.neg (K.mul (K.mul a a) (two K)))) (K.mul p (K.mul (two K) (two K)))
      = K.add (K.mul (K.mul (two K) (two K)) p) (K.neg (K.mul a a)) := by
  rw [mul_two K (K.mul a a), neg_add2 K, ← K.add_assoc, K.add_neg, K.zero_add, K.add_comm,
    K.mul_comm p]

/-- **Hasse from the degree.** If m² − a m n + p n² ≥ 0 for all m, n, then 4p − a² ≥ 0. -/
theorem hasse_from_deg (P : Cone K) (a p : R)
    (hdeg : ∀ m n, P.nn (K.add (K.add (K.mul m m) (K.neg (K.mul (K.mul a m) n))) (K.mul p (K.mul n n)))) :
    P.nn (K.add (K.mul (K.mul (two K) (two K)) p) (K.neg (K.mul a a))) := by
  have h := hdeg a (two K)
  rw [form_at_a_two K a p] at h
  exact h

end Ring

end HasseDeg

#print axioms HasseDeg.mul_two
#print axioms HasseDeg.neg_add2
#print axioms HasseDeg.form_at_a_two
#print axioms HasseDeg.hasse_from_deg

bsd/HeegnerPoints1.lean

lean_all/bsd/HeegnerPoints1.lean

/-
  bsd/HeegnerPoints1.lean — T39 goals G5, G16 (cycle 1754): points for rank-1 congruent curves in 801–1000 that had none
  (n = 823, 829, 838, 853, 862, 863, 877, 878, 886, 887, 893, 911, 917, 926, 933, 941, 958, 967, 974, 982, 983, 991, 997, 998), found as Heegner points by PARI/GP ellheegner on Kamiak (tools/pari_heegner.gp, used only as a
  search tool; every point is checked here by rfl). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace HeegnerPoints1
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (823, false, 983793518673219282218527754809557373751835697796320530227592777338308490673601407, 1800731922098507686862624200977450853996, 77809483145160893210618939963059390521890855476991021634567354825865607191999137493403788726607917258092912041634815582655),
   (829, true, 853915794659501498081216127654229957150114830160155025, 13332313139036257353598962, 777245193800375611412584474164118865698596833574407956663799393309989861552559215),
   (838, true, 107515734811615277992812349100, 1735885783193, 35244246372913522320220475822979423491785140),
   (853, true, 1760288930136150667002264583394473225, 41407411349159166, 1299694906922848193541878521344295931798476163473334365),
   (862, false, 36473764579462929506753780685678790420418, 63174159162348542281, 656979913481436328687057544867036473323779045146980221344479840),
   (863, false, 1604129362329770063370154193066856727786585487, 1365999649102602102024, 5649533501347876741704534324040817096154926698640875344109846410505),
   (877, true, 7389623029217213388859299993364686384330470157028225, 285144044108203957571958, 635203973073572116292210718176249838825436274484540400053846401415579054584665),
   (878, false, 216151927059362, 3088539, 123093627054821594506160),
   (886, true, 5820121433842508, 2229703, 290216070544420482628452),
   (887, false, 333714491363957279946619492199751811152981328855118023344337886571503, 2129987769776435785528571874098484, 73259998963258452213956841440069150619003235258760666248843236400032885138346223621514470969745161299705),
   (893, true, 4651877333881180892, 13026563, 10027942591844925009014396910),
   (911, false, 9338696505170962789722851517439493419541231208558460740680111, 101674006024983403715286392160, 3716595911645337402478136618336676148597019726314104081653687581806647380974920500112536537),
   (917, false, 643594540773541475, 32894159, 605830197108302511320075220),
   (926, false, 76069879778364065891388155631938, 301368226926009, 312832842773372539508504612120558467358183956064),
   (933, false, 255375274768316201709258191, 627284421900, 4214790706599880632101890590001040743127),
   (941, true, 42763940927072399368663975601761, 212353330183010, 34703082831088567697135130999739762751503283241),
   (958, false, 661753073646189231218464611894532802, 125553507953992609, 12273087467081395615272874738423209565234939752272088960),
   (967, false, 959202473127235583465177431440375978668768376661521903, 40855341363101303203686796, 1271386324930544092243542825132345298516220809925483700971734851585649101791629305),
   (974, false, 2725207023067073545916931842, 1748390721771, 62603024743706152561579397176971127653392),
   (982, true, 22192377853519631276259243375005900, 1361998041016823, 3294865574933269013774302688952929789735456279563620),
   (983, false, 27125895936687409415892452004764130049729830829558461648293327012447, 185740717578841861123185796050396, 106008801962199820500017931881332825816516459333834142527024163258064463136778203038725324577767080305),
   (991, false, 124964797266165785083483311, 372979863880, 650842043475907891510805866682188513113),
   (997, true, 42087068639002591629171370600692398061735364478066797970794343533666050813568741133565300696323580025, 1939472939861978131500861593607331562307144802554, 8599871410067908733276160630493906227000805975146383260559169523812717275200104334049524764899308155516300755950501801164348459883249667168499947810555),
   (998, true, 98819472466079682387240771979568739981100, 6759000852285855817, 27560568382229411342514116394908521664894558589489195867025740)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 24 := rfl

end HeegnerPoints1

#print axioms HeegnerPoints1.on_curve
#print axioms HeegnerPoints1.indep
#print axioms HeegnerPoints1.count

bsd/HeegnerPoints2.lean

lean_all/bsd/HeegnerPoints2.lean

/-
  bsd/HeegnerPoints2.lean — T39 goal G853 (cycle 1854): points for rank-1 congruent curves that had none in Lean
  (n = 1013, 1031, 1039, 1061, 1063, 1069, 1070, 1087, 1093, 1102, 1109, 1117, 1141, 1142, 1149, 1157, 1167, 1174, 1181, 1182, 1198, 1207, 1213, 1214, 2013, 2029, 2037, 3013, 3022, 4006, 4007, 8006), found by the PARI/GP Heegner point search on Kamiak (a2_heeg 31953221,
  partial output; PARI is a search tool only, every point is checked here by rfl). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  With DescentHomFull/TorsionShift/TorsionImage, NoFour/NoThree and Mazur's list (cited): rank ≥ 1, n congruent.
-/
import bsd.Rank2Cert

namespace HeegnerPoints2
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1013, true, 2502951075338445409757770796834906568433468961634263046281997122934514958254857400376083954100909211882025, 1539047290369842415694578216336519335269926954672006, 35635600335380115126037277690393190026606326528339729697141054293297975749038505335088345147931746903464838290582187601034838250566318891615017518211279168205),
   (1031, false, 101605842640926350179003507780511, 553773154545780, 3017946948779134201494377789114183909308269925487),
   (1039, false, 224208530624508196959, 19222641880, 5748674116666107064326993851053839),
   (1061, true, 136636999134828734118712790926273494361, 52393391142142750, 1596811999548872863079233356466079714966362264541310789141),
   (1063, false, 8492614284063194197225980457137176590095320137135556077817703815811674026103032283414746729037949520086207, 10725677237117568141158119246503015557998294829156644, 11242258754606696404225261176270488088111677238137552774566935311180434431455530553422642838694568443713697101776410622086159220347079954194882463050185070356895),
   (1069, true, 4181442750465160303514670935570936801878216887783237487341025, 51708334116202952823517594038, 6240979077005856198271081954938301656742312146140947366698582545047066098671972141553549335),
   (1070, true, 97108641630405, 256331, 660117811738102118925),
   (1087, false, 277076331439047802231549967522279351795074364819458635903, 534490229096555257177885984, 2333951928276058595091244189788260823247490530638137374101210095907769341072110009535),
   (1093, true, 11379348041455565898138587086046051648532988107228025, 2751019878962156476774554, 833591103100498326487312143443849522482085374041129627781465498370857891013755),
   (1102, true, 3445238120414102, 1013701, 190986552433230177113160),
   (1109, true, 57983183618455116096777691089799299404278599924514769601843549389929, 204572032807508201402799884373170, 264661784453983048344773712692295519460990577416432752686960940230906312333206163083137906945044412717),
   (1117, true, 30369553171577500597082030724335436319067749241597820866402183282264977193466277939142150182466766077756703694225, 577304721194427460132580000741979919818762438950044038, 5292062587057245576121866366441122127256216129801339442560763835362585061456150840330061311450446442360125334967461605164608322237644475037040387805868269615856902367215),
   (1141, true, 10865158447199963083, 95750047, 9679916164664366263500091968),
   (1142, true, 27949051256968108855407533322537100, 3101671470103703, 4296379047079321432791728132983674588950273680778940),
   (1149, false, 112212237442738607, 10180232, 13349884443861489966537767),
   (1157, true, 13844280440739876495882255625, 1997676115478, 1535677444987083304492951896058193244776925),
   (1167, true, 4358390472368550913387525422025, 23600951906791, 8997140669013067122297875551090109305732962380),
   (1174, true, 282598518426621813447692, 5524968023, 149016539699906763129838162243611204),
   (1181, true, 25015302419142050375768980410832683318897298299025, 45379011928758889502638, 124522110277869907813021107128557657935919452034152134752805510217470530065),
   (1182, true, 22130360617806150, 4313453, 367367524837109621957880),
   (1198, false, 14939331717985057899070562, 112742881691, 11400557603672799199869610938823089840),
   (1207, false, 121304568979753983, 11643884, 38256110973624973489115775),
   (1213, true, 12992153398809874544230382310780195109000474022475298335008869456089652029753075025, 824649228950267164454475967874597909166, 1477898377435018999286444063713001560674824657359813215965469158560356611238536491488073062639631053270126938346342215716145),
   (1214, false, 608090644892992802, 28437369, 601026164061176154863193632),
   (2013, true, 439830337827, 9661, 263741246959363020),
   (2029, true, 9429734157104908886009768810958668410095327930895070334467530737758562279428449, 67953514061167819488647963780570371290, 3273828150412988915282164337507822981618518427647358451972206092234603438772946482938777797744564882984197938070794793),
   (2037, true, 97027820764, 5265, 24578304507170162),
   (3013, true, 759934320638948236257573367472219538370428381302972397006875, 15609345254858048123592699553, 171191155798300292066102772763777996960090570820236316711015429241571799786544810011616600),
   (3022, false, 21502105761114520814242335305818091281727882029725365378, 219587771389800468805011851, 668299036166843217061535398835641616317401537270860343499872420945839050227740215440),
   (4006, true, 11087255145070257932, 16993921, 36716290533015950469091107684),
   (4007, false, 667453582424321826059458340303, 13613297143836, 265910740072311047469393994740204637200744745),
   (8006, true, 99462986744167681981508607700492, 88970007018721, 764540123929310694626220624339720668887476812196)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 32 := rfl

end HeegnerPoints2

#print axioms HeegnerPoints2.on_curve
#print axioms HeegnerPoints2.indep
#print axioms HeegnerPoints2.count

bsd/HeegnerPoints3.lean

lean_all/bsd/HeegnerPoints3.lean

/-
  bsd/HeegnerPoints3.lean — T39 goal G853 (cycle 2178): points for rank-1 congruent curves that had none in Lean,
  67 values of n from 1229 to 1686 (PARI/GP ellheegner output of a2_heeg 31953221; PARI is a search tool
  only, every point is checked here by rfl; all tested integers are below 2^255, inside the isqrtGo fuel). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  n: 1229, 1231, 1237, 1238, 1247, 1253, 1255, 1262, 1263, 1270, 1279, 1286, 1293, 1294, 1301, 1310, 1317, 1318, 1319, 1342, 1343, 1349, 1357, 1366, 1367, 1374, 1381, 1382, 1389, 1390, 1399, 1407, 1414, 1423, 1437, 1438, 1439, 1454, 1461, 1471, 1477, 1478, 1486, 1487, 1502, 1509, 1527, 1533, 1535, 1549, 1558, 1559, 1574, 1589, 1606, 1621, 1622, 1623, 1639, 1646, 1654, 1655, 1661, 1671, 1678, 1685,  -- (+5 chars; full line in the Zenodo source)
-/
import bsd.Rank2Cert

namespace HeegnerPoints3
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1229, true, 15196334502427391400726368561298411169, 22661957001363890, 59187955908241086690315666862443827928772517143164675447),
   (1231, false, 318662795171246752584834196344888228766428591, 1093893124029377517040, 25672342965828929109891060279850217352267872005513560647880325043673),
   (1237, true, 2020893165747792295942050661898111495590428489947747679393579311442025, 1197111985155393718793684230722006, 43619287869189224763402639802855827057980010834752353351238381342819614165891333924556303862364688367955),
   (1238, true, 4501967865454096124848815428556062295947500, 46475988164511988127, 7684519520729550949280585605386265008745938620653332317572638900),
   (1247, false, 280894785884196561, 130579045, 11268013722372107506769976012),
   (1253, true, 1070526062086875, 379279, 34526371857865898272200),
   (1255, false, 1451229765531880324, 130143077, 25546971059924108255150682126),
   (1262, false, 32888290635125753930695749290420241257750340747913849780377712898, 8938004985234589601990662619811, 17283400939021927772744368613425789751106220875434984537980880464020308038320703199967153069628240),
   (1263, true, 930946629408112212289, 805599790, 13466339337106866459369529174087),
   (1270, true, 196509365045, 5381, 85572546552548475),
   (1279, false, 1879930591322863010414239166815138843671685883199, 73978703287659341689600, 9244819956193877968682349476608875240810291702097177791050447863615766049),
   (1286, true, 280812545001524635200696479692, 10529188863199, 128201960654082170620863492877659820498774716),
   (1293, false, 3717954266633269184111, 1697884540, 16234928825659382954269266891463),
   (1294, false, 59010816035465378, 7025843, 5939137167202178471991984),
   (1301, true, 16446816010749841606752445265795154025, 77237364746203922, 58805761526504522416957583095256720596514170945687998765),
   (1310, true, 554649732453610, 223317, 12971627950622723831800),
   (1317, true, 1989260760420475580688490865017162792636, 1207522452142291655, 23153328023625070507283701102751573791168970376598597829866),
   (1318, true, 5375732675820250647358525100, 592793094313, 392679873560699201755235485517312907699060),
   (1319, false, 2869083803016147041883553082779856314649965919, 2483679569975131134420, 407826114453028618007859657808112162842875822588837572840075375039729),
   (1342, true, 915965274738918118, 13739277, 842440822602472597528315720),
   (1343, false, 10194804727258807967, 1513392816, 9821242155061189055191539974255),
   (1349, false, 209662150681373306975, 572172984, 5628235577680543515510518355185),
   (1357, true, 4433210725632275, 105247, 295171937847479739619320),
   (1366, true, 15395197185253971808691116018028, 276597312593, 60405694754570355041810598099135676551630845172),
   (1367, false, 1631567570104607317896470258503509481549954904473343, 2210029442288216604321564, 261515239208896053228123062917628337377263869391330835443785977786735623989505),
   (1374, true, 980908502882412, 518017, 28468695321151597491876),
   (1381, true, 65890477639377468894580252344025, 85358642942118, 528579223997966836464598154693592867510196899115),
   (1382, true, 287688811112496270068907444942866529402723355701019849129969900, 443880202411469409259932564953, 1574791003465327262942298419351293103586042497025117034424742962177660430021191603093825710380),
   (1389, true, 388366810301121628, 15288133, 132833564743371694809461198),
   (1390, true, 6823802519632810, 830561, 558096309285173531067000),
   (1399, false, 838514298758732559, 140108980, 25136358907561801184363314761),
   (1407, true, 692362944028, 9411, 566695828384043050),
   (1414, false, 7252676276, 2329, 212492262848580),
   (1423, false, 63734441110809034120894207795893559122644917423688835087798983967, 7846891217457546585817785748936, 15179093217784214976911061103694877848045725552889378058560843872446113075466126424615904670274095),
   (1437, false, 160989081605023959311, 359821900, 1183300272318213130033826183863),
   (1438, false, 3687983454569217058210243615202, 73316139451489, 13045492615279083455236239225218538465214985280),
   (1439, false, 1326637938189196780628724449033145896945997224784959, 1008014492965566903395280, 22391676288574247091714345497970625538778322173170383445718545624679022557089),
   (1454, false, 7918600120802, 92091, 26599329659062406512),
   (1461, true, 42247540252, 2233, 8553572927274626),
   (1471, false, 4660122118056976292079714536610380871062645917254153148431, 1928596035670269313433517160, 195708173450097094927309245126489276162105727906738265148263271981175909933610792408247),
   (1477, true, 2501746311604193801313206875, 1117351472639, 84563703231952357653286959780720495192600),
   (1478, true, 25854009653866586736717698707448701260771790479321100, 3248080101148784034363167, 3315939681683670919912120503130842165499017048834765631964884623396258566269860),
   (1486, false, 170679564152425076688277538, 339097976291, 105732026745247361375352852566142037584),
   (1487, false, 2592278635054518749077314552239857352922659663, 4658308462162163630976, 1637579097574121676940061552888605573598160360678485529453639406885015),
   (1502, false, 12218172126112777169858, 2885914089, 296630466709072004038906804277920),
   (1509, false, 19269522647751157216223, 58309238416, 712190855270681636894911076341969999),
   (1527, true, 344621273367855260217112660716025, 85378057441277, 6394203766971068446630477022946833936682158103620),
   (1533, true, 408156469084, 5805, 258662426024986802),
   (1535, false, 83797725678115363797768561, 377768735429, 1852766326635347086003550174981360807412),
   (1549, true, 720092867015962030006651814509435977225787833409, 5720080258970138361930, 609543067912510847933097915150804784490642482844214585944733236948360327),
   (1558, true, 1813560687500, 20113, 2290066421883586500),
   (1559, false, 2619620470285140219962365235920292704995145295215694399, 46558955761464766823805420, 3455697111500299674934351865922994782340799162215942448149279716402527252326557151),
   (1574, true, 6023000862296942218215409458724886576676268, 47843539066278780521, 11845254093635417068812654414805987985996748262394204267713873932),
   (1589, false, 395994938747539446083, 918265327, 25471669777882786770053800097124),
   (1606, true, 16536535532, 1751, 2030046987856404),
   (1621, true, 560611841117252301268336823523295501711083602254106046121, 585328126210222943113669950, 1811064989484973783001811302437498089691720548002038185320204584177473085390353458419),
   (1622, true, 307721350029196620639437630321106453055268609147196819782029032489100, 224415638269959745810272994427657, 5204372247681799955039878396759090166785729817150027652648800942556596466327261658848479473815354966660),
   (1623, true, 196307973931834249, 8400690, 70638118200850641088769443),
   (1639, true, 1336488335300125023990649, 27589396779, 554166113724000753135601871914225300),
   (1646, false, 111581824802, 19323, 201881802896679248),
   (1654, true, 86024976326532728260652, 7191812593, 2651998350174495977593957257394476),
   (1655, false, 278138019261002826365764, 15944597077, 166499796878401106267914945511568066),
   (1661, false, 192409296977170343791, 449674700, 3818601520773829507115051210823),
   (1671, true, 24705261701160534820225, 25523887, 3883150184598458658387998319251980),
   (1678, false, 1234703997256910681158725692662562, 4310134717343411, 1094495893066010613386059828025814240313105918734000),
   (1685, true, 329946638285932658556493225, 323265236278, 5068478837354170854807015870090147609075),
   (1686, true, 3073973363628, 9553, 5382765130376389932)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 67 := rfl

end HeegnerPoints3

#print axioms HeegnerPoints3.on_curve
#print axioms HeegnerPoints3.indep
#print axioms HeegnerPoints3.count

bsd/HeegnerPoints4.lean

lean_all/bsd/HeegnerPoints4.lean

/-
  bsd/HeegnerPoints4.lean — T39 goal G853 (cycle 2178): points for rank-1 congruent curves that had none in Lean,
  67 values of n from 1687 to 2165 (PARI/GP ellheegner output of a2_heeg 31953221; PARI is a search tool
  only, every point is checked here by rfl; all tested integers are below 2^255, inside the isqrtGo fuel). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  n: 1687, 1702, 1703, 1709, 1718, 1726, 1741, 1742, 1743, 1757, 1758, 1765, 1766, 1767, 1781, 1783, 1789, 1790, 1797, 1798, 1814, 1821, 1822, 1823, 1829, 1831, 1837, 1838, 1853, 1861, 1879, 1893, 1894, 1895, 1902, 1909, 1934, 1941, 1942, 1949, 1957, 1959, 1966, 1982, 1990, 2039, 2062, 2069, 2071, 2077, 2078, 2087, 2095, 2101, 2102, 2103, 2109, 2110, 2117, 2118, 2126, 2127, 2143, 2149, 2157, 2158,  -- (+5 chars; full line in the Zenodo source)
-/
import bsd.Rank2Cert

namespace HeegnerPoints4
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (1687, false, 345647123507537790671065556223, 20020795748764, 341690896414278409058273797570176416032231425),
   (1702, false, 9984248622845300692, 83377711, 20061995112099516544830816780),
   (1703, false, 30511720667006470116, 136174385, 44977246843926360624782857098),
   (1709, true, 9455825592252812497729, 1914111430, 689017285291434991451001941741817),
   (1718, true, 9049111336734815340858861100, 432593825023, 860269694096917881751695516612737559862740),
   (1726, false, 112585633579470964351379066556317225009327138, 387892266709363836601, 2483111323564629803831576429079011580044013764000271213700619500704),
   (1741, true, 24960665711939716863457177726572234137476206394583426770123681, 111647406086060058734153575890, 61609014247749198411445889091838143558691760257541148287360136111246092632006804270488135671),
   (1742, true, 5979312903158466157, 15946527, 14580815474232261088920664865),
   (1743, false, 3179605438797543, 3041032, 891061912726648443958275),
   (1757, false, 5626174695708273069275, 3921985519, 1982758524717695568750600491602860),
   (1758, true, 107888781802218677095302150, 47597892691, 1119871781202886318757633095885179742920),
   (1765, true, 12038295177191376025, 29034642, 41448099475682807301757508725),
   (1766, true, 5441129687301124009132, 748018649, 394685621238896164040938916267124),
   (1767, true, 21537727054257, 30439, 99664716878235929700),
   (1781, true, 13106718317061177865225, 1800656762, 1347028970824462852798826022962595),
   (1783, false, 31605923891527014053490576239897603400178176379799467257192040405802127, 4792743876089805249498502926760516, 4630754709312900633184262180800246401594721338999636261606140595371137694015727930294958246887871996663305),
   (1789, true, 145774942626968080619838942645939271453893649, 215344777190685021390, 1447218996448208120524238724777579702496131919589968774089026029393),
   (1790, true, 1008002144847610, 276681, 31706023332687135117400),
   (1797, false, 10711370612233113853871, 5264857000, 5034572387633964963604583572313383),
   (1798, true, 3318075316603200269, 7818425, 6040751576885162385083911647),
   (1814, true, 3804657257995372, 931217, 213681017441780061671436),
   (1821, true, 265961068556092, 220917, 4088053251934902624374),
   (1822, false, 114809611298, 34129, 718039250133905280),
   (1823, false, 91212675418231645689072991310828775125689419606808954304356484393541887, 7761300340225847160065004009945984, 18467994001476003092042516176086889092639453981091836326158213274531798666527424838974183255080678543371905),
   (1829, true, 5037849911646894699, 25219063, 11001970882918983021725945400),
   (1831, false, 15386904861801580916271, 3565715500, 2167039269547538513395480842462567),
   (1837, false, 45949429045387043768071149799465202106762505583, 5108970913302858726096, 2936934834465721387554591822518229314894195427028686571758176021172025),
   (1838, false, 422990800879072571562722159763251139309923522, 1187742610448476569891, 52613668278273902359795952193438845277157505388232268587343276677840),
   (1853, true, 6046476578492230205332225, 56375498794, 3369057197263082553907909877354003865),
   (1861, true, 33127796649805262996289587322516806412645319801, 3640545828080902677210, 4025244363811938804727239442463951862462647874903600066711239139916549),
   (1879, false, 2703668405434688255679, 4130777980, 1661183338094456919656678851734369),
   (1893, true, 26919316727288869716260229630844, 64269514053185, 133645954377397615662054201260182621720369816922),
   (1894, true, 397864320652133202074203628, 213795376151, 7745868005119189570105849505803701300012),
   (1895, false, 351711999152979440948359565557179097924, 515999955498346073, 6784549710994729214777710980082660086474011766125613272274),
   (1902, true, 8031956503833346063353192150, 799447245533, 711541659088976316676834556569188915456120),
   (1909, false, 1787011487458403, 969217, 6332663579172730013676),
   (1934, false, 285914682818, 255627, 67575152442320348336),
   (1941, false, 822521640503198792451764297807, 22087563983576, 425531037044236915899622059636551097084666857),
   (1942, true, 63254140676729771379021674850692573900, 89779252381023607, 487428678335464193849941674052977650578870487691536821020),
   (1949, true, 16963127127790990492190814453222077559025, 2629849534041791042, 1341251118203178764301613503117634453739939749523286786193185),
   (1957, false, 5750221351643487, 3285772, 1541690571330425820069135),
   (1959, true, 2126682409612635706131996003361, 17429716026095, 2977460938282957719083372496507168127022200484),
   (1966, false, 100878958788388097953501202733661870178, 721854522022877339, 10239228358341354973978141986609028302566037592791870511344),
   (1982, false, 881601352243543747298, 670445481, 3812568379788428808576046852960),
   (1990, false, 69133317028628978410, 221869571, 577058908174195113127265454000),
   (2039, false, 2848459490400822282577838399, 2444823353820, 632439744124290100795294004142707743058849),
   (2062, false, 15911461442358818, 7035731, 12718043508708069671998320),
   (2069, true, 2926703098162999650925574840634196504009, 994977901924372870, 113093825989238972705356304065129536833971970638903096110723),
   (2071, true, 113896759152981293491249, 3472540687, 37503191364775390757686927667290380),
   (2077, true, 27987456489003403779833187637307859283, 73336253666535689, 135757919786535517277143679244214963454273589847931684880),
   (2078, false, 125764629436181365549111946283989139687099450242, 564331449845064626827881, 234689306127761913989725238973376301975738697535199793306925339982923440160),
   (2087, false, 4157961691892623687589461265024363237863339902662775722243423, 56031484843927911560122210836, 10325740769061906418993326732185032483373484723331818461448524889595015218347811432719299825),
   (2095, false, 1113628242094796164, 86041993, 16324980476006495973187952466),
   (2101, true, 107445813084, 2015, 35108409228247698),
   (2102, true, 110156894199327872892996456485683065345182399470587608909206759785100, 108090300585223392328454118806137, 1127060001142696302649998601321105849623679627061535465237337544288342287989739111457003666031071337660),
   (2103, true, 6687506221076170575143521977935677047461867674599780025, 50549567793334278033056189, 10294180133153475229754947770054902375861477201511889866463988642217425590116543580),
   (2109, false, 19357280787, 11593, 39343708829100312),
   (2110, true, 540996878520010, 25573, 12583189186591854316200),
   (2117, true, 1198949062952355625, 14882978, 1208234120901919216111166925),
   (2118, true, 22829043475733100, 1889447, 3254612010613821891750060),
   (2126, false, 856464293803284217058, 2128878099, 280864570235068993217118422750864),
   (2127, true, 68545633826991332514268647468688853984401, 366171674248973670, 17945928616199395217343000905655770240204974837802597261410351),
   (2143, false, 2523833731442130327213027107703023875954342960496515974559034983478847, 1091713901476886259672469601826064, 19698642010539025662303688096457720979808632297056181025363999713904561065050283222172774193345016607905),
   (2149, false, 14581641143763939187, 2127205631, 37132832463873282070331300429868),
   (2157, false, 76816057995163573518384524341865329895702870013150188639, 345296629429536410277115700, 2151141294449781141821575217986220934951196814574296580124507981825548033940216745359),
   (2158, true, 8578045193078939773, 58891837, 12275053127520836249628710055),
   (2165, true, 30849682453883412025, 95351806, 131934026580386827746773506725)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 67 := rfl

end HeegnerPoints4

#print axioms HeegnerPoints4.on_curve
#print axioms HeegnerPoints4.indep
#print axioms HeegnerPoints4.count

bsd/HeegnerPoints5.lean

lean_all/bsd/HeegnerPoints5.lean

/-
  bsd/HeegnerPoints5.lean — T39 goal G853 (cycle 2178): points for rank-1 congruent curves that had none in Lean,
  67 values of n from 2167 to 3118 (PARI/GP ellheegner output of a2_heeg 31953221; PARI is a search tool
  only, every point is checked here by rfl; all tested integers are below 2^255, inside the isqrtGo fuel). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  n: 2167, 2173, 2174, 2181, 2182, 2183, 2198, 2206, 2215, 2221, 2222, 2229, 2230, 2231, 2246, 2247, 2253, 2263, 2270, 2279, 2285, 2294, 2302, 2309, 2311, 2317, 2318, 2326, 2327, 2333, 2335, 2342, 2351, 2374, 2381, 2382, 2390, 2391, 2398, 2399, 2407, 2413, 2414, 2422, 2429, 2438, 2446, 2453, 3023, 3031, 3039, 3046, 3047, 3054, 3061, 3062, 3071, 3077, 3079, 3086, 3095, 3101, 3103, 3109, 3110, 3117,  -- (+5 chars; full line in the Zenodo source)
-/
import bsd.Rank2Cert

namespace HeegnerPoints5
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (2167, true, 12150583324374367903265924498174886384387172441, 355167060352270375155, 1339015984520768069235813111483783634987432482407039503709295117108364),
   (2173, true, 3044242429122559438225, 762549798, 152813134675522538946026354690065),
   (2174, false, 262259853827665504035614102018, 11344313255073, 49905058095627709116211996348784735817871616),
   (2181, true, 167322125715949895068, 22933209, 2164311936679408479195865466302),
   (2182, true, 3356733745088604304142186038600377786157100, 33708193018061224937, 4145993149313491670495377642610626134961361582360853063066300660),
   (2183, false, 33746712751731407762383908049080269753203875625, 5983597723304160260197, 12950688094084359926962980674742613421532875078331561715466584502840700),
   (2198, false, 46158921011579671188, 145269559, 31071798992423215174783401780),
   (2206, false, 7108916855013552031240828454228907763504288064738, 165347933653098327713761, 159685968586453711748036094005586606992913638283332585181758738347822461504),
   (2215, false, 1659390613844056703370054009, 6814440495229, 4189400955133014774038174887128634149417036),
   (2221, true, 11114873750930142934168120225, 1003378355238, 1147851721340663818200272795054341953172855),
   (2222, true, 10123591036993365053488102, 28230874321, 31714179396837660365589721211925793800),
   (2229, false, 245070074605449983, 12813284, 134544730143171595329222911),
   (2230, true, 68376352820405, 74299, 556165101724833471675),
   (2231, false, 567058321039775, 1416828, 105788432670986050813295),
   (2246, true, 213996516346699586058917401636096634129546188, 245065832275970564783, 2430269983767264898770349718218344327542426829212009037926199664452),
   (2247, true, 454343570023, 6403, 299888948637352900),
   (2253, true, 7273811974295902664216988756555004, 648379457741995, 615077236832560505105529518581076065625603652011258),
   (2263, false, 59355307227875458472268853478586271050205101807, 13521897599945677589356, 99764167931388760168921634848293495401419101059937687388648948757264775),
   (2270, true, 1371250843605, 11981, 1559746589524189275),
   (2279, true, 7731843173564296709473321, 58137963026, 1852992536442126923163235412227436685),
   (2285, true, 23403023792825824225, 75583198, 93967871941861661025973086825),
   (2294, false, 9992825172, 6121, 8533495886993748),
   (2302, false, 19114230931846963779370986090875845874831359424961052231423298, 485428446540105184696230848401, 2370087550228740907018663612315858755890117774970091730905283478465015330926553594532410793920),
   (2309, true, 497825101333048184062523786552015321448025, 4838953563781568038, 349171426223377105430630858296263282487864328696696530334264085),
   (2311, false, 14781769697576060638520513369465610814129038294111, 80914059139614823376020, 12414097111827177361086985738325716903748655683703041807493774638891737713),
   (2317, true, 188895600383139929613439193344938789397534043727475, 93342068376101021820799, 2581299361757257075425316305537257888958684428549568117666635972477804333040),
   (2318, true, 577016387328827500, 5276221, 435561316137402999577529700),
   (2326, true, 3952246823881742960232628887924951228998732, 38010098387864824151, 4135426951933137718739858068184803540159023223048739291817742044),
   (2327, false, 9607290332233681476, 109297085, 80852189255970092725296605982),
   (2333, true, 145974137832336115382081044467349737742225, 6509640822058163398, 41033884730692862379333838338762941196456993400335718131506415),
   (2335, false, 755398659313180994237361, 50996303381, 5236797850133383591470630837971191812),
   (2342, true, 13914943852845425031579561883036532775273100, 76896771063333713807, 5066021569334581697151734143501715189128635099807584687807733540),
   (2351, false, 5643124430675958585900232271, 1754954995920, 340818542915255757948230973628417535500567),
   (2374, true, 618458189612, 10633, 438177529854227724),
   (2381, true, 40967513638669612842221026290885072479216899429984412680864225, 131062051744664557063241837758, 15152114570602763940691153396354473907468863552755717314698561039439498781444046484199274345),
   (2382, true, 78912337448112766268268, 5682651493, 4948760309349822875945510952898980),
   (2390, false, 115156507210, 12841, 127896540899596800),
   (2391, true, 8004100919540881, 95265, 716089387872452831261596),
   (2398, true, 676686893542, 2373, 556538431369425560),
   (2399, false, 51005614189801853933772613724941258715557439, 297013121954950843920, 1466885087585657910344584759954305259407408698291655485612620644191),
   (2407, false, 221396841948100, 2435921, 212488785969094709881170),
   (2413, false, 7475341414850311785903, 11039119388, 25415655725532595579881490849858905),
   (2414, false, 166836858580322, 265131, 400293521792865687952),
   (2422, false, 519891437908728789229508948, 594771293447, 15528240225826723987130203415813558914860),
   (2429, true, 292109053504917987, 9380113, 107622690262751409148319904),
   (2438, false, 428079092, 1847, 171851557684380),
   (2446, false, 1774139834941922, 3023747, 939010347935532116396208),
   (2453, true, 4372716133772185578972739028234797740508, 1290329553627709719, 103305277888341013042007428889911778769328517348859045612370),
   (3023, false, 1292419718419168866770347487, 1151702346984, 136458730427839729521700664004399200868175),
   (3031, false, 6284959228485341775, 45536788, 97174341436404574678103145),
   (3039, true, 62412808700224581744962569, 140281923585, 141052174831003669871741454430373311628),
   (3046, true, 13024818202689906572, 64653631, 9901929807704354140094477916),
   (3047, true, 82683712068026325981361850966305081, 1107409812629995, 23751224040668997922019606062162002777940314149672604),
   (3054, true, 8259022980150, 13627, 23679184482049035960),
   (3061, true, 187652859859378745419757189992609102727338379854876920757609225, 237460787387917135165171712958, 1008685922985541667733160093725576846945220704886703675062611725824668772472597855306096196445),
   (3062, true, 6006492381954722765984505100, 1108937402953, 362680677061606170027330376322237373074940),
   (3071, false, 8928234200614674328904303011143684, 3722698951946677, 3931926377169405687044557825650137272415481665344290),
   (3077, true, 19980713889490157185096347927097173185442409225, 2257487104562084999578, 1750328212093607235747587123028017154967565564704678368774403842534435),
   (3079, false, 24226783281294424517826740067421455723260799, 155931661708696530580, 348662559028473235197900521854822180998459963608372982242383668801),
   (3086, false, 67430405378, 37659, 1136343995667936496),
   (3095, false, 477912628803215730631877985712659598247671358404, 307552616292037115326937, 202382604098480587717832437849505457017443665279041737865582054247109512594),
   (3101, true, 6118146630142947, 1002031, 411946589633608221754344),
   (3103, false, 289811903635944876943346242185387756761942873038470823444900, 9721055876586280005040412801, 24033172829371652335607675173057393640511800284430976960162640562315123305969105153731210),
   (3109, true, 353770759549630273229719333769313318578925625, 331586715723167881998, 1713915959738884907016083084641067555268550629684656420402865852325),
   (3110, false, 23846071282995477610, 87580013, 3097180381997398582615766400),
   (3117, true, 1459490762525631878125204178102748616669044104096707808343057243598991644, 18266906207747780142138637164752315, 1236952783458442471777846839615180128069572976454601579274768724006178992404451064309439406392806860778694978),
   (3118, false, 40830722144470822380966195287570275649660875526682769908002, 5266320020577757332751753931, 15403191182703602441924483087563147465241494501937481771529574005523239196114020556426160)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 67 := rfl

end HeegnerPoints5

#print axioms HeegnerPoints5.on_curve
#print axioms HeegnerPoints5.indep
#print axioms HeegnerPoints5.count

bsd/HeegnerPoints6.lean

lean_all/bsd/HeegnerPoints6.lean

/-
  bsd/HeegnerPoints6.lean — T39 goal G853 (cycle 2178): points for rank-1 congruent curves that had none in Lean,
  67 values of n from 3119 to 17006 (PARI/GP ellheegner output of a2_heeg 31953221; PARI is a search tool
  only, every point is checked here by rfl; all tested integers are below 2^255, inside the isqrtGo fuel). Lean 4 core, rfl.
    on_curve   y² = x³ − n²x  (x = ±a/b², y = c/b³, CongruentPoints5.onC)
    indep      the 2-descent image (X, X − nb²) differs from every torsion image (Rank2Cert.nontriv)
  n: 3119, 3126, 3127, 3133, 3134, 3149, 3151, 3166, 3167, 3181, 3182, 3189, 3197, 3207, 3214, 3215, 3223, 4022, 4029, 4031, 4037, 4039, 4047, 4054, 4055, 4062, 4085, 4087, 4093, 4094, 4101, 4109, 4110, 4117, 5007, 5014, 5021, 5029, 5030, 5038, 5039, 5053, 5061, 5062, 5063, 5071, 5077, 5079, 5086, 6013, 6023, 7021, 7030, 7037, 8007, 8014, 8021, 8022, 8023, 8030, 11013, 11014, 12013, 13006, 14006,   -- (+12 chars; full line in the Zenodo source)
-/
import bsd.Rank2Cert

namespace HeegnerPoints6
open CongruentPoints5 DescentCert Rank2Cert

def pts : List (Nat × Bool × Nat × Nat × Nat) := [
   (3119, false, 713058970915048487049664976849866073314356742621136639, 27680950357558332581955000, 1926167692464334723760357108134843745307021803541750436624933166697084118141727359),
   (3126, true, 226155954560748, 139753, 3274764626489613339852),
   (3127, false, 43113192704511556, 4035545, 5627782973815517213307378),
   (3133, true, 33524682534430593025, 88246146, 133126886252510225640507765095),
   (3134, false, 8411780154879529704813704553680969316040200385647702135371399201762, 65981560242313570077439460805129, 31156746599483469370969250555518105715486200454443579524968484673314045520102899251386034509258194848),
   (3149, false, 653587858323194153857945122769640523, 18607770896408767, 705558220497157141348583017071879889202210074432136196),
   (3151, false, 156943234804017751551, 434907400, 7202913092481464619504474611457),
   (3166, false, 70971788258, 6289, 27483788026012416),
   (3167, false, 209140861466268286272514012474992929536578731434548944783, 260543192079759791611449624, 719971333544133346242819879277363935315242604871680249726664859861385616709984740855),
   (3181, true, 1721594688193858954060369118641135708594607739366621196225, 145559738700169335517684482, 71377825719276647671054833550690405612807125321403623566317634161084453481346632910905),
   (3182, true, 2063670386755872411026052822973, 25378741166919, 347252976135735878412996158517585945822864665),
   (3189, true, 646400108765713736533038293232892, 52506139679039, 16432814683308504326788386836563307921733901317274),
   (3197, true, 69766817178060736833437276039970456769276305097178275, 1110712549072843850855297, 18398324398718240688064565391259459577451868409169282118100394015298781607233880),
   (3207, true, 2767560082832881939442744351241632690783318421190881907972813587382583569, 28711387211938426105167114056531550, 1362115936555244927628531708556396691526043972998480855346097337729565515358383983198649979213136329273732753),
   (3214, false, 2684925741218, 34067, 4242731393978559216),
   (3215, false, 1731467422482841284709689, 25772846009, 1644820797128616230997891548765003484),
   (3223, true, 197912660275611419064303399683117451862388778049, 7601098495689790646745, 29821995584800446660494600174212277919352057623567271069082083339212532),
   (4022, true, 352011655659498117531981100, 192305599087, 5985887271947600774672167839167846991060),
   (4029, true, 491879339013, 241, 344975157813860028),
   (4031, false, 77360530096512100, 4750993, 13321797678406349735899590),
   (4037, true, 1376872544779101112449121372, 555683097441, 21695777831470997485549959355573497360910),
   (4039, false, 92069456733739085952962560501187257019602239, 245611198801646525380, 2164572668463528148814229629180267567267017751831540973078211022241),
   (4047, false, 416963617258511, 325660, 2077993569093075134263),
   (4054, true, 114328448386544880784287212, 82160108513, 1186915468924833199661373880753639929804),
   (4055, false, 202825522429685116084419035065850025044521924, 2159941186870159959325, 269408348863387545586249930438064979713847160223226982335857495764926),
   (4062, true, 1436504151854291404579350, 14410437697, 1393622982244965565543803458388033960),
   (4085, true, 3632846156491, 23393, 5458080441048292464),
   (4087, false, 2248510788829975394161439715241, 24572679372125, 1524949969625194372828171561004952682492812348),
   (4093, true, 130438417432989963025, 33083394, 1488853603786563415265959639855),
   (4094, false, 5815079865602, 103521, 104865837669353545568),
   (4101, false, 273312678193201343, 9294268, 117830653589754548542998431),
   (4109, false, 13481255228736255853284124907, 1943126175151, 891515064823243907857802974590732312580932),
   (4110, false, 3594920415, 1088, 196553228093775),
   (4117, true, 1736532351509086717300496796865683275, 20200210060214383, 579463114278609718986596985532950615991348956925026720),
   (5007, true, 4583405711217075441452122368537774801591418368327338813699632007041, 17988375390850495153106650339970, 9179059112879998236832509934769487532593357033598976465844930037467123311284198531964116623933624089),
   (5014, false, 29135251232022964, 6449393, 35249391618696476526944100),
   (5021, true, 15543862028948695854930961, 20615464870, 60702536047223720792784751166277919791),
   (5029, false, 38834644307, 11569, 132421618227238572),
   (5030, true, 10094189924266805, 322411, 1012800257041884175700325),
   (5038, true, 110976167555154529100, 66499963, 1145279653541281716255642999660),
   (5039, false, 3453093617487743160547163718784356022559, 2019807086739046920, 1190839665732963280530428810209516000630514663134722129601489),
   (5053, true, 12448950531221136517385551336595043677882803, 33341518740227991193, 39198111100973972031844228781306230392237429337324400804676265800),
   (5061, true, 303777293256892, 64823, 5281607481449416100074),
   (5062, true, 9182885870021843399526037100, 64088139017, 879969595769024421742560987496698982690860),
   (5063, false, 238481262426607595614711348729060324957511044681664100, 12811895955118956848967377, 388777838148321837595375806351920990649846347155784130981775080103341127928196330),
   (5071, true, 81431113607591523140534832834544321, 3356827776828243, 16555568662962458330897552313523070610291331391802940),
   (5077, true, 6128895550525704743472635401305262304046151271978356692909797757855625, 1003503270889837972433025615141114, 264610125725932997351461574519270911747006101064278083869144493804118910382737579311886251185370995768675),
   (5079, true, 25327873760429589264887608880357748769864122241, 1376110362913897550602, 3728925192026777139742820609073151156683302233765541631082960339729895),
   (5086, false, 8578167934395746191588359384209772234846304683502949282, 73940920080501469104585313, 77468828248202709090192829254148105922344694609285349017877821638925632880319547968),
   (6013, false, 3671031492673810153639609898639035188949168769332560475, 36898237647980288197360031, 14019994578567802285272662028140751282041399243033401882559748466821408355652976420),
   (6023, true, 46841330030263256358793679113619276786786871075168106000551416279041, 22475663756161732849765143303855, 319908462225145214771099318208101599379279600372957327959293503967400521156315236864582956098247822036),
   (7021, false, 622719946111637771, 9421649, 20017789143675678249834780),
   (7030, false, 21979295, 2186, 157493424504975),
   (7037, true, 719772373545440409707324320561856936260606880787, 9421028849794982149193, 303505785561257066024491792391265575668065950213311697868678000386267400),
   (8007, true, 916870221585565350453025, 8792990886, 647591024070976100385479301556160905),
   (8014, false, 3671376335672204265218, 684072203, 46340624291033412105610690010256),
   (8021, true, 924471720694998267946665114095159611363225, 8150663783061191746, 726362127113080657098873992020645002532439116630967576270704395),
   (8022, true, 29155169438661, 60265, 5874520228957890909),
   (8023, false, 32608681876685087176144632153327, 66051424333924, 72650293761800628868048281170616414522080632185),
   (8030, false, 39476672455, 2344, 3914313759910125),
   (11013, false, 108373293941799014881125799944877373379939371290192399216772639, 657894339675946215232558020400, 49609723081571470207068394781705729782968597159577822066908577188914158472164741000644880617391),
   (11014, true, 23037756768450541340172600172680010744092328921759138721364414638717228, 1052786874312090619633176177560489, 2965446533914556454203738224519726492587542162479921136181850652580342643037425084370649671062342981954188),
   (12013, true, 301800720071175140350874336782196087973025, 4776411812814407766, 69427856442148228265652665619252980845902499396149808864750345),
   (13006, false, 2364155968424642, 891323, 489075392215980416714448),
   (14006, true, 411270097919242, 125969, 7017749710134808964256),
   (17005, false, 49969844010838826000644, 1832959745, 6191379042055659815402358898948746),
   (17006, true, 263847808488977060872657100, 52033649221, 4220020890884494134526347159127487729580)]

set_option maxRecDepth 100000 in
theorem on_curve : pts.all (fun (n, s, a, b, c) => onC n s a b c) = true := rfl
set_option maxRecDepth 100000 in
theorem indep : pts.all (fun (n, s, a, b, c) => nontriv n (img n (s, a, b, c))) = true := rfl
set_option maxRecDepth 100000 in
theorem count : pts.length = 67 := rfl

end HeegnerPoints6

#print axioms HeegnerPoints6.on_curve
#print axioms HeegnerPoints6.indep
#print axioms HeegnerPoints6.count

bsd/IntDataN.lean

lean_all/bsd/IntDataN.lean

/-
  bsd/IntDataN.lean — T39 (goal G289f-4h-5c): the integral data of a rational point of E_N (N natural) with classes over
  a prime list 2 :: qs (bsd/QCls.int_data is the case N = 42486): x = X/t², gcd(X, t) = 1 (Bezout u, v),
  Y² = X(X − Nt²)(X + Nt²), X = clsL s₁·U², X − Nt² = clsL s₂·V², and the class statement HCn.
  Lean 4 core plus bsd/QModelZ, bsd/ClsIntL, bsd/TransStepL.
-/
import bsd.QModelZ
import bsd.ClsIntL
import bsd.TransStepL

namespace IntDataN
open LibRat LibInt QModel QCls QModelN QModelZ SqUniqueL ClsIntL TransStepL

/-- **The integral data of a rational point of E_N, prime-list classes.** -/
theorem int_dataN (qs : List Nat) (hk : okL (2 :: qs) = true) (N : Nat) (hN : N * N ∣ prodSq (2 :: qs))
    (x y : Q) (h : OnEn (nz (Int.ofNat N)) x y) (hx0 : x.num ≠ 0)
    (hxn : x.num - Int.ofNat N * Int.ofNat x.den ≠ 0) :
    ∃ t : Nat, ∃ Y u v U V : Int, ∃ s1 s2 : Bool, ∃ b1 b2 : List Bool,
      0 < t ∧ x.den = t * t ∧ u * x.num + v * Int.ofNat t = 1 ∧
      Y * Y = x.num * ((x.num - Int.ofNat N * (Int.ofNat t * Int.ofNat t)) * (x.num + Int.ofNat N * (Int.ofNat t * Int.ofNat t))) ∧
      b1.length = (2 :: qs).length ∧ b2.length = (2 :: qs).length ∧
      x.num = clsL s1 (2 :: qs) b1 * (U * U) ∧
      x.num - Int.ofNat N * (Int.ofNat t * Int.ofNat t) = clsL s2 (2 :: qs) b2 * (V * V) ∧
      HCn (nz (Int.ofNat N)) (2 :: qs) x s1 b1 s2 b2 := by
  obtain ⟨t, Y, hq, hY⟩ := q_modelZ (Int.ofNat N) x y h
  have ht : 0 < t := by
    cases t with
    | zero => have h0 := x.den_pos; rw [hq] at h0; exact absurd h0 (Nat.lt_irrefl 0)
    | succ t' => exact Nat.succ_pos t'
  -- Bezout for (X, t)
  have hcop : ∀ d, d ∣ absN x.num → d ∣ t → d = 1 := fun d h1 h2 =>
    x.red d h1 (by rw [hq]; obtain ⟨k, hk⟩ := h2; exact ⟨k * t, by rw [hk]; lib_nat⟩)
  obtain ⟨a, b, hab⟩ := LibGcd.coprime_bezout hcop
  have hu : ∃ u : Int, u * x.num = a * Int.ofNat (absN x.num) := by
    cases IntModel.absN_pm x.num with
    | inl e => exact ⟨a, by rw [e]⟩
    | inr e => exact ⟨-a, by rw [e]; lib_int⟩
  obtain ⟨u, hu⟩ := hu
  have huv : u * x.num + b * Int.ofNat t = 1 := by rw [hu]; exact hab
  have hY' : Y * Y = x.num * ((x.num - Int.ofNat N * (Int.ofNat t * Int.ofNat t)) * (x.num + Int.ofNat N * (Int.ofNat t * Int.ofNat t))) := by
    rw [hY, show Int.ofNat (t * t) = Int.ofNat t * Int.ofNat t by lib_int]
    exact gen3 (Int.ofNat N) _ _
  obtain ⟨s1, b1, l1, U, hU⟩ := cls_XL (2 :: qs) hk N hN _ _ _ _ _ huv hY'
  obtain ⟨s2, b2, l2, V, hV⟩ := cls_XmL qs hk N hN _ _ _ _ _ huv hY'
  refine ⟨t, Y, u, b, U, V, s1, s2, b1, b2, ht, hq, huv, hY', l1, l2, hU, hV, ?_⟩
  unfold HCn
  refine ⟨normQ U t ht, normQ V t ht, ?_, ?_, ?_, ?_⟩
  · exact normQ_ne_zero ht (fun h0 => hx0 (by rw [hU, h0]; lib_int))
  · refine normQ_ne_zero ht (fun h0 => hxn ?_)
    have e : x.num - Int.ofNat N * Int.ofNat x.den = x.num - Int.ofNat N * (Int.ofNat t * Int.ofNat t) := by
      rw [hq]; exact sub_sq (Int.ofNat N) x.num t
    rw [e, hV, h0]; lib_int
  · calc x = normQ x.num x.den x.den_pos := self_norm x
      _ = normQ (clsL s1 (2 :: qs) b1 * (U * U)) (1 * (t * t)) (mul_pos' (Nat.succ_pos 0) (mul_pos' ht ht)) :=
          (normQ_eq_iff _ _ _ _ _ _).2 (by rw [hq, hU]; lib_int)
      _ = ratR.mul (normQ (clsL s1 (2 :: qs) b1) 1 (Nat.succ_pos 0)) (normQ (U * U) (t * t) (mul_pos' ht ht)) :=
          (rmul _ _ _ _ _ _).symm
      _ = ratR.mul (castQ (clsL s1 (2 :: qs) b1)) (ratR.mul (normQ U t ht) (normQ U t ht)) :=
          congrArg (ratR.mul _) (rmul U U t t ht ht).symm
  · calc LibRing.sub ratR x (nz (Int.ofNat N))
        = normQ (x.num * Int.ofNat 1 + -Int.ofNat N * Int.ofNat x.den) (x.den * 1) (mul_pos' x.den_pos one_pos') := e_nz x (Int.ofNat N)
      _ = normQ (clsL s2 (2 :: qs) b2 * (V * V)) (1 * (t * t)) (mul_pos' (Nat.succ_pos 0) (mul_pos' ht ht)) := by
          apply (normQ_eq_iff _ _ _ _ _ _).2
          have e : x.num * Int.ofNat 1 + -Int.ofNat N * Int.ofNat x.den = x.num - Int.ofNat N * (Int.ofNat t * Int.ofNat t) := by
            rw [hq]; exact sub_sq1 (Int.ofNat N) x.num t
          rw [e, hV, hq]; lib_int
      _ = ratR.mul (normQ (clsL s2 (2 :: qs) b2) 1 (Nat.succ_pos 0)) (normQ (V * V) (t * t) (mul_pos' ht ht)) :=
          (rmul _ _ _ _ _ _).symm
      _ = ratR.mul (castQ (clsL s2 (2 :: qs) b2)) (ratR.mul (normQ V t ht) (normQ V t ht)) :=
          congrArg (ratR.mul _) (rmul V V t t ht ht).symm

end IntDataN

#print axioms IntDataN.int_dataN

bsd/IntDivMod.lean

lean_all/bsd/IntDivMod.lean

/-
  bsd/IntDivMod.lean — T39 (goal G289e-5, piece b): integer division with a natural remainder, without the core `%`
  lemmas (lib/ModN: md, dv, spec, md_lt):
    neg_succ     negSucc n = −(n + 1),
    int_divmod   0 < p ⇒ every integer X = p·q + r with r a natural number < p.
  Lean 4 core plus lib/ModN, lib/Gcd (le_dest, le_add'), lib/IntRing (lib_int).
-/
import lib.ModN
import lib.Gcd

namespace IntDivMod
open LibGcd LibInt

theorem neg_succ (n : Nat) : Int.negSucc n = -(Int.ofNat n + 1) := rfl

/-- **X = p·q + r, 0 ≤ r < p** -/
theorem int_divmod (p : Nat) (hp : 0 < p) :
    ∀ X : Int, ∃ q : Int, ∃ r : Nat, r < p ∧ X = Int.ofNat p * q + Int.ofNat r
  | Int.ofNat n => ⟨Int.ofNat (LibMod.dv p n), LibMod.md p n, LibMod.md_lt hp n,
      (congrArg Int.ofNat (LibMod.spec p n)).trans rfl⟩
  | Int.negSucc n => by
    have hlt : LibMod.md p n + 1 ≤ p := LibMod.md_lt hp n
    obtain ⟨r', hr'⟩ := le_dest hlt
    refine ⟨-(Int.ofNat (LibMod.dv p n) + 1), r', ?_, ?_⟩
    · show r' + 1 ≤ p
      have h := le_add' (r' + 1) (LibMod.md p n)
      rw [hr', show LibMod.md p n + 1 + r' = r' + 1 + LibMod.md p n by lib_nat]
      exact h
    · have hn : Int.ofNat n = Int.ofNat p * Int.ofNat (LibMod.dv p n) + Int.ofNat (LibMod.md p n) :=
        (congrArg Int.ofNat (LibMod.spec p n)).trans rfl
      have hp' : Int.ofNat p = Int.ofNat (LibMod.md p n) + 1 + Int.ofNat r' := (congrArg Int.ofNat hr').trans rfl
      rw [neg_succ, hn, hp']
      lib_int

end IntDivMod

#print axioms IntDivMod.neg_succ
#print axioms IntDivMod.int_divmod

bsd/IntModel.lean

lean_all/bsd/IntModel.lean

/-
  bsd/IntModel.lean — T39 (goal G289e-6c): the denominator of x on y² = x³ − K·x is a square.
  If x = p/q (q > 0, gcd(|p|, q) = 1) and y = r/s satisfy y² = x³ − K·x, i.e. r²·q³ = s²·p(p² − K·q²), then q = t² and
  p(p² − K·t⁴) = Y² for an integer Y (the coprime integral model x = X/Z², X = p, Z = t).
    absN_pm        |p| = ±p
    cop_of_bez     u·m + v·n = 1 (integers)  ⇒  m, n coprime
    bez_cube       u·m + v·n = 1  ⇒  u′·m³ + v′·n = 1
    cop_cube       u·q + v·A = 1, A = ±a  ⇒  q³, a coprime
    int_model      the statement above
  Proof: gcd(q, A) = 1 for A = p(p² − Kq²) (A ≡ p³ mod q), so q³·A = (r q³/s)² = m² with q³, A coprime gives
  q³ = u² (bsd/CoprimeSq), then q ∣ u (bsd/SqDvd) and q = t²; finally A·(t³)² = m² gives A = Y² (bsd/SqNat).
  Lean 4 core plus lib/Gcd, lib/RatBase (absN), bsd/SqRes, bsd/SqDvd, bsd/CoprimeSq, bsd/SqNat, bsd/CopReduce.
-/
import bsd.SqNat
import bsd.CopReduce
import lib.RatBase

namespace IntModel
open LibGcd LibInt LibBurnside SqRes

theorem absN_pm : ∀ p : Int, Int.ofNat (LibRat.absN p) = p ∨ Int.ofNat (LibRat.absN p) = -p
  | Int.ofNat _ => Or.inl rfl
  | Int.negSucc _ => Or.inr rfl

theorem cop_of_bez {m n : Nat} {a b : Int} (h : a * Int.ofNat m + b * Int.ofNat n = 1) :
    ∀ d, d ∣ m → d ∣ n → d = 1 := fun d ⟨k1, h1⟩ ⟨k2, h2⟩ => by
  apply dvd_one'
  apply idv_nat
  refine ⟨a * Int.ofNat k1 + b * Int.ofNat k2, ?_⟩
  calc Int.ofNat 1 = a * Int.ofNat m + b * Int.ofNat n := h.symm
    _ = a * Int.ofNat (d * k1) + b * Int.ofNat (d * k2) := by rw [h1, h2]
    _ = Int.ofNat d * (a * Int.ofNat k1 + b * Int.ofNat k2) := by lib_int

theorem bez_cube {u v m n : Int} (h : u * m + v * n = 1) :
    (u * u * u) * (m * m * m) + (3 * u * u * v * m * m + 3 * u * v * v * m * n + v * v * v * n * n) * n = 1 := by
  calc (u * u * u) * (m * m * m) + (3 * u * u * v * m * m + 3 * u * v * v * m * n + v * v * v * n * n) * n
      = (u * m + v * n) * (u * m + v * n) * (u * m + v * n) := by lib_int
    _ = 1 := by rw [h]; lib_int

theorem pm_coef {A : Int} {a : Nat} (hA : PM A a) (W : Int) : ∃ W' : Int, W * A = W' * Int.ofNat a := by
  cases hA with
  | inl e => exact ⟨W, by rw [e]⟩
  | inr e => exact ⟨-W, by rw [e]; lib_int⟩

theorem cop_cube {q : Nat} {A : Int} {an : Nat} (hA : PM A an) {u v : Int} (h : u * Int.ofNat q + v * A = 1) :
    ∀ d, d ∣ q * q * q → d ∣ an → d = 1 := by
  have h3 := bez_cube h
  obtain ⟨W', hW'⟩ := pm_coef hA
    (3 * u * u * v * Int.ofNat q * Int.ofNat q + 3 * u * v * v * Int.ofNat q * A + v * v * v * A * A)
  rw [hW'] at h3
  exact cop_of_bez (a := u * u * u) (b := W')
    ((by lib_int : u * u * u * Int.ofNat (q * q * q) + W' * Int.ofNat an
        = (u * u * u) * (Int.ofNat q * Int.ofNat q * Int.ofNat q) + W' * Int.ofNat an).trans h3)

/-- **The denominator of x is a square.** -/
theorem int_model (K p r : Int) (q s : Nat) (hq : 0 < q) (hs : 0 < s)
    (hpq : ∀ d, d ∣ LibRat.absN p → d ∣ q → d = 1)
    (h : r * r * (Int.ofNat q * Int.ofNat q * Int.ofNat q)
      = Int.ofNat s * Int.ofNat s * (p * (p * p - K * (Int.ofNat q * Int.ofNat q)))) :
    ∃ t : Nat, ∃ Y : Int, q = t * t ∧
      Y * Y = p * (p * p - K * (Int.ofNat (t * t) * Int.ofNat (t * t))) := by
  -- Bezout for (p, q), then for (q, A), then for (q³, A)
  obtain ⟨a, b, hab⟩ := coprime_bezout hpq
  have hap : ∃ a' : Int, a * Int.ofNat (LibRat.absN p) = a' * p := by
    cases absN_pm p with
    | inl e => exact ⟨a, by rw [e]⟩
    | inr e => exact ⟨-a, by rw [e]; lib_int⟩
  obtain ⟨a', ha'⟩ := hap
  have hb1 : a' * p + b * Int.ofNat q = 1 := by rw [← ha']; exact hab
  -- (a′p + bq)³ = 1 and p³ = A + K·p·q²
  have hb2 : (a' * a' * a') * (p * (p * p - K * (Int.ofNat q * Int.ofNat q)))
      + ((a' * a' * a') * K * p * Int.ofNat q + 3 * a' * a' * b * p * p + 3 * a' * b * b * p * Int.ofNat q
          + b * b * b * Int.ofNat q * Int.ofNat q) * Int.ofNat q = 1 := by
    calc (a' * a' * a') * (p * (p * p - K * (Int.ofNat q * Int.ofNat q)))
          + ((a' * a' * a') * K * p * Int.ofNat q + 3 * a' * a' * b * p * p + 3 * a' * b * b * p * Int.ofNat q
            + b * b * b * Int.ofNat q * Int.ofNat q) * Int.ofNat q
        = (a' * p + b * Int.ofNat q) * (a' * p + b * Int.ofNat q) * (a' * p + b * Int.ofNat q) := by lib_int
      _ = 1 := by rw [hb1]; lib_int
  obtain ⟨an, hA⟩ := pm_exists (p * (p * p - K * (Int.ofNat q * Int.ofNat q)))
  have hb2' : ((a' * a' * a') * K * p * Int.ofNat q + 3 * a' * a' * b * p * p + 3 * a' * b * b * p * Int.ofNat q
          + b * b * b * Int.ofNat q * Int.ofNat q) * Int.ofNat q
        + (a' * a' * a') * (p * (p * p - K * (Int.ofNat q * Int.ofNat q))) = 1 := by
    rw [← hb2]; lib_int
  have hcop : ∀ d, d ∣ q * q * q → d ∣ an → d = 1 := cop_cube hA hb2'
  -- q³·A is a square
  have hsq : (Int.ofNat q * Int.ofNat q * Int.ofNat q * (p * (p * p - K * (Int.ofNat q * Int.ofNat q))))
      * (Int.ofNat s * Int.ofNat s)
      = (r * (Int.ofNat q * Int.ofNat q * Int.ofNat q)) * (r * (Int.ofNat q * Int.ofNat q * Int.ofNat q)) := by
    calc (Int.ofNat q * Int.ofNat q * Int.ofNat q * (p * (p * p - K * (Int.ofNat q * Int.ofNat q))))
          * (Int.ofNat s * Int.ofNat s)
        = (Int.ofNat q * Int.ofNat q * Int.ofNat q)
          * (Int.ofNat s * Int.ofNat s * (p * (p * p - K * (Int.ofNat q * Int.ofNat q)))) := by lib_int
      _ = (Int.ofNat q * Int.ofNat q * Int.ofNat q) * (r * r * (Int.ofNat q * Int.ofNat q * Int.ofNat q)) := by rw [h]
      _ = _ := by lib_int
  have hs0 : Int.ofNat s ≠ 0 := CopReduce.ofNat_ne_zero hs
  obtain ⟨m, hm⟩ := SqNat.int_sq_of_mul_sq _ _ _ hs0 hsq
  obtain ⟨mn, hmn⟩ := pm_exists m
  have hQ : PM (Int.ofNat q * Int.ofNat q * Int.ofNat q) (q * q * q) := Or.inl (by lib_int)
  have hnat : (q * q * q) * an = mn * mn := pm_nat_sq hQ hA hmn hm
  obtain ⟨u, hu⟩ := CoprimeSq.coprime_sq (q * q * q) an mn hcop hnat
  -- q ∣ u, q = t²
  have hd : q * q ∣ u * u := ⟨q, by rw [← hu]⟩
  obtain ⟨t, ht⟩ := SqDvd.dvd_of_sq_dvd q u hd
  have hqq : 0 < q * q := CopReduce.nat_pos_mul hq hq
  have hqt : q = t * t := by
    have e : q * (q * q) = (t * t) * (q * q) := by
      rw [show q * (q * q) = q * q * q by lib_nat, hu, ht]; lib_nat
    exact nat_cancel hqq _ _ e
  refine ⟨t, ?_⟩
  -- A·(t³)² = m²
  have ht0 : 0 < t := by
    cases t with
    | zero => rw [hqt] at hq; exact absurd hq (Nat.lt_irrefl 0)
    | succ t' => exact Nat.succ_pos t'
  have ht3 : Int.ofNat (t * t * t) ≠ 0 := CopReduce.ofNat_ne_zero (CopReduce.nat_pos_mul (CopReduce.nat_pos_mul ht0 ht0) ht0)
  have hA2 : (p * (p * p - K * (Int.ofNat (t * t) * Int.ofNat (t * t)))) * (Int.ofNat (t * t * t) * Int.ofNat (t * t * t))
      = m * m := by
    rw [← hm, hqt]; lib_int
  obtain ⟨Y, hY⟩ := SqNat.int_sq_of_mul_sq _ _ _ ht3 hA2
  exact ⟨Y, hqt, hY.symm⟩

end IntModel

#print axioms IntModel.absN_pm
#print axioms IntModel.cop_of_bez
#print axioms IntModel.bez_cube
#print axioms IntModel.pm_coef
#print axioms IntModel.cop_cube
#print axioms IntModel.int_model

bsd/IskraCheck.lean

lean_all/bsd/IskraCheck.lean

/-
  bsd/IskraCheck.lean — T39 cycle 117: Iskra's family checked by Monsky's matrix (three primes).

  Iskra (1996): n = p₁⋯p_k with every pᵢ ≡ 3 (mod 8) and (p_j | p_i) = −1 for i < j is not congruent. For the
  30 smallest such products of three primes < 200 (n = 2739 = 3·11·83, …), the Monsky matrix has full rank
  (s₂(n) = 0), computed by rfl from the given prime factors — with Monsky's theorem (cited): rank 0, Ш[2] = 0.
-/
import bsd.MonskyCheck

namespace IskraCheck
open MonskyCheck

def monskyP (ps : List Nat) (even : Bool) : List (List Nat) :=
  let k := ps.length
  let idx := List.range k
  let A := idx.map (fun i => idx.map (fun j =>
    if i = j then (idx.foldl (fun s j' => if j' = i then s else s + nonres (natAt ps j' 1) (natAt ps i 1)) 0) % 2
    else nonres (natAt ps j 1) (natAt ps i 1)))
  let D := fun (u : Nat) => idx.map (fun i => idx.map (fun j => if i = j then nonres u (natAt ps i 1) else 0))
  let add := fun (X Y : List (List Nat)) => (X.zip Y).map (fun (r, s) => xorRow r s)
  let T := fun (X : List (List Nat)) => idx.map (fun j => idx.map (fun i => bitAt (rowAt X i) j))
  let D2 := D 2
  let Dm2 := D ((ps.foldl (fun s p => s * p) 1) * 4 - 2)
  let Dm1 := D ((ps.foldl (fun s p => s * p) 1) * 4 - 1)
  if even then
    ((D2.zip (add A D2)).map (fun (r, s) => r ++ s)) ++ (((add (T A) D2).zip Dm1).map (fun (r, s) => r ++ s))
  else
    (((add A D2).zip D2).map (fun (r, s) => r ++ s)) ++ ((D2.zip (add A Dm2)).map (fun (r, s) => r ++ s))


def s2P (ps : List Nat) : Nat := 2 * ps.length - rankF2 (4 * ps.length + 2) (monskyP ps false) 0

/-- the primes ≡ 3 mod 8 and the pairwise Legendre condition, checked -/
def iskraOK (ps : List Nat) : Bool :=
  ps.all (fun p => isPrime p && Nat.beq (p % 8) 3) &&
  (List.range ps.length).all (fun i => (List.range ps.length).all (fun j =>
    !(Nat.blt i j) || Nat.beq (nonres (natAt ps j 1) (natAt ps i 1)) 1))

def triples : List (List Nat) := [[3, 11, 83], [3, 11, 107], [3, 11, 131], [3, 59, 83], [11, 19, 107], [3, 59, 131], [3, 83, 107], [3, 59, 179], [3, 107, 131], [3, 83, 179], [3, 107, 179], [11, 43, 131], [19, 59, 67], [11, 83, 107], [11, 83, 139], [11, 107, 131], [11, 107, 139], [11, 131, 139], [19, 59, 179], [19, 67, 179], [19, 107, 179], [59, 67, 179], [59, 83, 179], [43, 131, 163], [83, 107, 13  -- (+85 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem iskra3 : triples.all (fun ps => iskraOK ps && Nat.beq (s2P ps) 0) = true := rfl

end IskraCheck

#print axioms IskraCheck.iskra3

bsd/Kernel2.lean

lean_all/bsd/Kernel2.lean

/-
  bsd/Kernel2.lean — T39 (goal G289e-7c): the kernel of the 2-descent map on E : y² = x(x − n)(x + n) is 2E at the
  x-level.  If x and x − n are squares (the trivial class) then so is x + n, and x is the x-coordinate of the double
  of a point Q with 2y_Q ≠ 0 (bsd/Halving with r₁ = s, r₂ = r, r₃ = u, u = y/(sr)).  Proved over any commutative ring
  without zero divisors, with an inverse on nonzero elements and 2 ≠ 0, for a symbolic n ≠ 0; then instantiated
  for ℚ and n = 42486 by application only (no rewriting with literals).
    f_bridge     DoublingGen.f = DescentHomFull.f
    kernel_gen   x = s², x − n = r², x(x − n) ≠ 0, y² = f(x)  ⇒  ∃ Q on E, 2y_Q·w = 1, x₂(Q) = x
    kernel_Q     the same for E_42486 over ℚ (QModel.OnE)
  Lean 4 core plus bsd/Halving, bsd/QCls, lib/RatField.
-/
import bsd.Halving
import bsd.QCls
import lib.RatField

namespace Kernel2
open DetChain LibRing TrianglePoint

section gen
variable {R : Type} (K : CRing R)

theorem f_bridge (e1 e2 e3 x : R) : DoublingGen.f K e1 e2 e3 x = DescentHomFull.f K e1 e2 e3 x := by
  unfold DoublingGen.f DescentHomFull.f LibRing.sub; lib_ring

theorem ne_of_sq (x s : R) (hx : x ≠ K.zero) (hs : x = K.mul s s) : s ≠ K.zero := fun h => hx (by
  rw [hs, h]; lib_ring)

theorem mul_ne_gen (hK : NoZD K) (a b : R) (ha : a ≠ K.zero) (hb : b ≠ K.zero) : K.mul a b ≠ K.zero :=
  fun h => (hK a b h).elim ha hb

/-- **The trivial class is 2E (x-level), generic.** -/
theorem kernel_gen (hK : NoZD K) (inv : R → R) (hinv : ∀ a, a ≠ K.zero → K.mul a (inv a) = K.one)
    (h2 : two K K.one ≠ K.zero) (n x y s r : R) (hn : n ≠ K.zero)
    (o : K.mul y y = DescentHomFull.f K K.zero n (K.neg n) x)
    (hs : x = K.mul s s) (hr : sub K x n = K.mul r r) (hx : x ≠ K.zero) (hxn : sub K x n ≠ K.zero) :
    ∃ xq yq w : R, K.mul yq yq = DescentHomFull.f K K.zero n (K.neg n) xq ∧ K.mul (two K yq) w = K.one ∧
      DoublingGen.x2 K K.zero n (K.neg n) xq w = x := by
  have hs0 := ne_of_sq K x s hx hs
  have hr0 := ne_of_sq K (sub K x n) r hxn hr
  have hsr := mul_ne_gen K hK s r hs0 hr0
  have hi := hinv (K.mul s r) hsr
  have hx0 : sub K x K.zero = K.mul s s := by
    rw [← hs]; unfold LibRing.sub; lib_ring
  have e2 : DescentHomFull.f K K.zero n (K.neg n) x
      = K.mul (K.mul (K.mul s s) (K.mul r r)) (sub K x (K.neg n)) := by
    unfold DescentHomFull.f; rw [hx0, hr]
  have e1 : K.mul (K.mul y (inv (K.mul s r))) (K.mul y (inv (K.mul s r)))
      = K.mul (K.mul y y) (K.mul (inv (K.mul s r)) (inv (K.mul s r))) := by lib_ring
  have hu : sub K x (K.neg n) = K.mul (K.mul y (inv (K.mul s r))) (K.mul y (inv (K.mul s r))) := by
    calc sub K x (K.neg n)
        = K.mul (sub K x (K.neg n))
            (K.mul (K.mul (K.mul s r) (inv (K.mul s r))) (K.mul (K.mul s r) (inv (K.mul s r)))) := by
          rw [hi]; lib_ring
      _ = K.mul (K.mul (K.mul (K.mul s s) (K.mul r r)) (sub K x (K.neg n)))
            (K.mul (inv (K.mul s r)) (inv (K.mul s r))) := by lib_ring
      _ = K.mul (K.mul y y) (K.mul (inv (K.mul s r)) (inv (K.mul s r))) := by rw [← e2, ← o]
      _ = _ := e1.symm
  generalize K.mul y (inv (K.mul s r)) = u at hu
  have e1' : Halving.e K x s = K.zero := by
    unfold Halving.e TrianglePoint.sq; rw [← hs]; lib_ring
  have e2' : Halving.e K x r = n := by
    unfold Halving.e TrianglePoint.sq; rw [← hr]; unfold LibRing.sub; lib_ring
  have e3' : Halving.e K x u = K.neg n := by
    unfold Halving.e TrianglePoint.sq; rw [← hu]; unfold LibRing.sub; lib_ring
  have f1 : K.add s r ≠ K.zero := fun h => hn (by
    calc n = K.add x (K.neg (sub K x n)) := by unfold LibRing.sub; lib_ring
      _ = K.add (K.mul s s) (K.neg (K.mul r r)) := by rw [hr, ← hs]
      _ = K.mul (K.add s r) (K.add s (K.neg r)) := by lib_ring
      _ = K.zero := by rw [h]; lib_ring)
  have f2 : K.add s u ≠ K.zero := fun h => hn (by
    calc n = K.add (sub K x (K.neg n)) (K.neg x) := by unfold LibRing.sub; lib_ring
      _ = K.add (K.mul u u) (K.neg (K.mul s s)) := by rw [hu, ← hs]
      _ = K.mul (K.add s u) (K.add u (K.neg s)) := by lib_ring
      _ = K.zero := by rw [h]; lib_ring)
  have f3 : K.add r u ≠ K.zero := fun h => by
    have h2n : K.mul (two K K.one) n = K.zero := by
      calc K.mul (two K K.one) n = K.add (sub K x (K.neg n)) (K.neg (sub K x n)) := by
            unfold TrianglePoint.two LibRing.sub; lib_ring
        _ = K.add (K.mul u u) (K.neg (K.mul r r)) := by rw [hu, hr]
        _ = K.mul (K.add r u) (K.add u (K.neg r)) := by lib_ring
        _ = K.zero := by rw [h]; lib_ring
    exact (hK _ _ h2n).elim h2 hn
  have hyQ : Halving.yQ K s r u ≠ K.zero := mul_ne_gen K hK _ _ (mul_ne_gen K hK _ _ f1 f2) f3
  have h2y : two K (Halving.yQ K s r u) ≠ K.zero := fun h => by
    have et : K.mul (two K K.one) (Halving.yQ K s r u) = two K (Halving.yQ K s r u) := by
      unfold TrianglePoint.two; lib_ring
    exact (hK _ _ (et.trans h)).elim h2 hyQ
  refine ⟨Halving.xQ K x s r u, Halving.yQ K s r u, inv (two K (Halving.yQ K s r u)), ?_, hinv _ h2y, ?_⟩
  · have h := Halving.half_on K x s r u
    rw [e1', e2', e3'] at h
    exact h.trans (f_bridge K _ _ _ _)
  · have h := Halving.halving K x s r u (inv (two K (Halving.yQ K s r u))) (hinv _ h2y)
    rw [e1', e2', e3'] at h
    exact h

end gen

open LibRat QModel

theorem n_lit_ne : (42486 : Int) ≠ 0 := fun h => Nat.noConfusion (Int.ofNat.inj h)

theorem nQ_ne : nQ ≠ zeroQ := QCls.normQ_ne_zero (Nat.succ_pos 0) n_lit_ne

theorem two_one_ne : two ratR ratR.one ≠ ratR.zero := fun h => by
  have e1 : (two ratR ratR.one).num = 0 := num_eq_zero_of _ h
  have e2 : (two ratR ratR.one).num = 2 := rfl
  exact Nat.noConfusion (Int.ofNat.inj (e2.symm.trans e1))

/-- **The trivial class of E_42486 is 2E (x-level).** -/
theorem kernel_Q (x y s r : Q) (o : OnE x y) (hs : x = ratR.mul s s) (hr : sub ratR x nQ = ratR.mul r r)
    (hx : x ≠ zeroQ) (hxn : sub ratR x nQ ≠ zeroQ) :
    ∃ xq yq w : Q, OnE xq yq ∧ ratR.mul (two ratR yq) w = ratR.one ∧
      DoublingGen.x2 ratR zeroQ nQ (negQ nQ) xq w = x :=
  kernel_gen ratR rat_noZD invQ mul_invQ two_one_ne nQ x y s r nQ_ne o hs hr hx hxn

end Kernel2

#print axioms Kernel2.f_bridge
#print axioms Kernel2.ne_of_sq
#print axioms Kernel2.mul_ne_gen
#print axioms Kernel2.kernel_gen
#print axioms Kernel2.n_lit_ne
#print axioms Kernel2.nQ_ne
#print axioms Kernel2.two_one_ne
#print axioms Kernel2.kernel_Q

bsd/Kernel3.lean

lean_all/bsd/Kernel3.lean

/-
  bsd/Kernel3.lean — T39 (goal G289e-7c): a point whose 2-descent class equals the class of T0 = (0, 0) becomes 2E
  after translation by T0 (x-level).  On y² = x(x − n)(x + n): if x = −s² and x − n = −n·r², then P + T0 has
  x' = (n s v)² and x' − n = (y r⁻¹ v)² (v = x⁻¹, bsd/TorTrans), so bsd/Kernel2 applies to P + T0.
  Generic over a commutative ring with no zero divisors, inverses and 2 ≠ 0, symbolic n ≠ 0; then for E_42486.
    one_ne, ne_of_inv     1 ≠ 0; a·b = 1 ⇒ a, b ≠ 0
    kernel_T0_gen         class(P) = class(T0) ⇒ x(P + T0) = x₂(Q) for some Q with 2y_Q invertible
    kernel_T0_Q           the same for E_42486 over ℚ
  Lean 4 core plus bsd/Kernel2, bsd/TorTrans.
-/
import bsd.Kernel2
import bsd.TorTrans

namespace Kernel3
open DetChain LibRing TrianglePoint

section gen
variable {R : Type} (K : CRing R)

theorem one_ne (h2 : two K K.one ≠ K.zero) : K.one ≠ K.zero := fun h => h2 (by
  unfold TrianglePoint.two; rw [h]; lib_ring)

theorem ne_of_inv_l (h2 : two K K.one ≠ K.zero) (a b : R) (h : K.mul a b = K.one) : a ≠ K.zero := fun ha =>
  one_ne K h2 (h.symm.trans (by rw [ha]; lib_ring))

theorem ne_of_inv_r (h2 : two K K.one ≠ K.zero) (a b : R) (h : K.mul a b = K.one) : b ≠ K.zero := fun hb =>
  one_ne K h2 (h.symm.trans (by rw [hb]; lib_ring))

/-- **Class of T0 ⇒ P + T0 ∈ 2E (x-level), generic.** -/
theorem kernel_T0_gen (hK : NoZD K) (inv : R → R) (hinv : ∀ a, a ≠ K.zero → K.mul a (inv a) = K.one)
    (h2 : two K K.one ≠ K.zero) (n x y s r : R) (hn : n ≠ K.zero)
    (o : K.mul y y = DescentHomFull.f K K.zero n (K.neg n) x)
    (hs : x = K.neg (K.mul s s)) (hr : sub K x n = K.mul (K.neg n) (K.mul r r))
    (hx : x ≠ K.zero) (hxn : sub K x n ≠ K.zero) (hxm : sub K x (K.neg n) ≠ K.zero) :
    ∃ xq yq w : R, K.mul yq yq = DescentHomFull.f K K.zero n (K.neg n) xq ∧ K.mul (two K yq) w = K.one ∧
      DoublingGen.x2 K K.zero n (K.neg n) xq w = TorTrans.xT K K.zero n (K.neg n) (inv (sub K x K.zero)) := by
  have hx0 : sub K x K.zero ≠ K.zero := fun h => hx (by
    calc x = sub K x K.zero := by unfold LibRing.sub; lib_ring
      _ = K.zero := h)
  have hv := hinv (sub K x K.zero) hx0
  generalize inv (sub K x K.zero) = v at hv ⊢
  have hv0 := ne_of_inv_r K h2 _ _ hv
  have hs0 : s ≠ K.zero := fun h => hx (by rw [hs, h]; lib_ring)
  have hr0 : r ≠ K.zero := fun h => hxn (by rw [hr, h]; lib_ring)
  have hir := hinv r hr0
  have o' := TorTrans.tor_on K K.zero n (K.neg n) x y v o hv
  -- x' is a square
  have hs' : TorTrans.xT K K.zero n (K.neg n) v
      = K.mul (K.mul (K.mul n s) v) (K.mul (K.mul n s) v) := by
    have d1 := TorTrans.tor_d1 K K.zero n (K.neg n) x v hv
    calc TorTrans.xT K K.zero n (K.neg n) v = sub K (TorTrans.xT K K.zero n (K.neg n) v) K.zero := by
          unfold LibRing.sub; lib_ring
      _ = K.mul (K.mul (TorTrans.A K K.zero n (K.neg n)) (sub K x K.zero)) (K.mul v v) := d1
      _ = K.mul (K.mul (TorTrans.A K K.zero n (K.neg n)) (sub K (K.neg (K.mul s s)) K.zero)) (K.mul v v) := by
          rw [← hs]
      _ = _ := by unfold TorTrans.A LibRing.sub; lib_ring
  -- x' − n is a square
  have hr' : sub K (TorTrans.xT K K.zero n (K.neg n) v) n
      = K.mul (K.mul (K.mul y (inv r)) v) (K.mul (K.mul y (inv r)) v) := by
    have d2 := TorTrans.tor_d2 K K.zero n (K.neg n) x v hv
    have ef : DescentHomFull.f K K.zero n (K.neg n) x
        = K.mul (K.mul (sub K x K.zero) (K.mul (K.neg n) (K.mul r r))) (sub K x (K.neg n)) := by
      unfold DescentHomFull.f; rw [hr]
    calc sub K (TorTrans.xT K K.zero n (K.neg n) v) n
        = K.mul (K.mul (K.mul (sub K K.zero n) (sub K x (K.neg n))) (sub K x K.zero)) (K.mul v v) := d2
      _ = K.mul (K.mul (K.mul (K.mul (sub K x K.zero) (K.mul (K.neg n) (K.mul r r))) (sub K x (K.neg n)))
            (K.mul (inv r) (inv r))) (K.mul v v) := by
          rw [show K.mul (K.mul (K.mul (sub K x K.zero) (K.mul (K.neg n) (K.mul r r))) (sub K x (K.neg n)))
                (K.mul (inv r) (inv r))
              = K.mul (K.mul (K.mul (sub K x K.zero) (K.neg n)) (sub K x (K.neg n)))
                  (K.mul (K.mul r (inv r)) (K.mul r (inv r))) by lib_ring, hir]
          unfold LibRing.sub; lib_ring
      _ = K.mul (K.mul (K.mul y y) (K.mul (inv r) (inv r))) (K.mul v v) := by rw [← ef, ← o]
      _ = _ := by lib_ring
  -- nonvanishing
  have hy : y ≠ K.zero := fun h => by
    have e : DescentHomFull.f K K.zero n (K.neg n) x = K.zero := o.symm.trans (by rw [h]; lib_ring)
    unfold DescentHomFull.f at e
    cases hK _ _ e with
    | inl h' => cases hK _ _ h' with
      | inl h'' => exact hx0 h''
      | inr h'' => exact hxn h''
    | inr h' => exact hxm h'
  have hs1 : K.mul (K.mul n s) v ≠ K.zero :=
    Kernel2.mul_ne_gen K hK _ _ (Kernel2.mul_ne_gen K hK _ _ hn hs0) hv0
  have hr1 : K.mul (K.mul y (inv r)) v ≠ K.zero :=
    Kernel2.mul_ne_gen K hK _ _ (Kernel2.mul_ne_gen K hK _ _ hy (ne_of_inv_r K h2 _ _ hir)) hv0
  have hx' : TorTrans.xT K K.zero n (K.neg n) v ≠ K.zero := by
    rw [hs']; exact Kernel2.mul_ne_gen K hK _ _ hs1 hs1
  have hxn' : sub K (TorTrans.xT K K.zero n (K.neg n) v) n ≠ K.zero := by
    rw [hr']; exact Kernel2.mul_ne_gen K hK _ _ hr1 hr1
  exact Kernel2.kernel_gen K hK inv hinv h2 n _ _ _ _ hn o' hs' hr' hx' hxn'

end gen

open LibRat QModel

/-- **Class of T0 ⇒ P + T0 ∈ 2E for E_42486 (x-level).** -/
theorem kernel_T0_Q (x y s r : Q) (o : OnE x y) (hs : x = ratR.neg (ratR.mul s s))
    (hr : sub ratR x nQ = ratR.mul (ratR.neg nQ) (ratR.mul r r))
    (hx : x ≠ zeroQ) (hxn : sub ratR x nQ ≠ zeroQ) (hxm : sub ratR x (negQ nQ) ≠ zeroQ) :
    ∃ xq yq w : Q, OnE xq yq ∧ ratR.mul (two ratR yq) w = ratR.one ∧
      DoublingGen.x2 ratR zeroQ nQ (negQ nQ) xq w = TorTrans.xT ratR zeroQ nQ (negQ nQ) (invQ (sub ratR x zeroQ)) :=
  kernel_T0_gen ratR rat_noZD invQ mul_invQ Kernel2.two_one_ne nQ x y s r Kernel2.nQ_ne o hs hr hx hxn hxm

end Kernel3

#print axioms Kernel3.one_ne
#print axioms Kernel3.ne_of_inv_l
#print axioms Kernel3.ne_of_inv_r
#print axioms Kernel3.kernel_T0_gen
#print axioms Kernel3.kernel_T0_Q

bsd/Kernel4.lean

lean_all/bsd/Kernel4.lean

/-
  bsd/Kernel4.lean — T39 (goal G289e-7c): the same as bsd/Kernel3 for T1 = (n, 0) and T2 = (−n, 0) on
  y² = x(x − n)(x + n).  The classes of T1 and T2 are (n, 2) and (−n, −2n):
    kernel_T1_gen   x = n·s², x − n = 2·r²       ⇒ x(P + T1) = x₂(Q)   (v = (x − n)⁻¹; x' = (y s⁻¹ v)², x' − n = (2nrv)²)
    kernel_T2_gen   x = −n·s², x − n = −2n·r²    ⇒ x(P + T2) = x₂(Q)   (v = (x + n)⁻¹; x' = (y s⁻¹ v)², x' − n = (y r⁻¹ v)²)
    kernel_T1_Q, kernel_T2_Q   the same for E_42486 over ℚ
  Lean 4 core plus bsd/Kernel3.
-/
import bsd.Kernel3

namespace Kernel4
open DetChain LibRing TrianglePoint

section gen
variable {R : Type} (K : CRing R)

theorem perm1 (n x : R) : DescentHomFull.f K K.zero n (K.neg n) x = DescentHomFull.f K n K.zero (K.neg n) x := by
  unfold DescentHomFull.f LibRing.sub; lib_ring

theorem perm2 (n x : R) : DescentHomFull.f K K.zero n (K.neg n) x = DescentHomFull.f K (K.neg n) K.zero n x := by
  unfold DescentHomFull.f LibRing.sub; lib_ring

theorem y_ne (hK : NoZD K) (n x y : R) (o : K.mul y y = DescentHomFull.f K K.zero n (K.neg n) x)
    (hx0 : sub K x K.zero ≠ K.zero) (hxn : sub K x n ≠ K.zero) (hxm : sub K x (K.neg n) ≠ K.zero) :
    y ≠ K.zero := fun h => by
  have e : DescentHomFull.f K K.zero n (K.neg n) x = K.zero := o.symm.trans (by rw [h]; lib_ring)
  unfold DescentHomFull.f at e
  cases hK _ _ e with
  | inl h' => cases hK _ _ h' with
    | inl h'' => exact hx0 h''
    | inr h'' => exact hxn h''
  | inr h' => exact hxm h'

theorem sub0_ne (x : R) (hx : x ≠ K.zero) : sub K x K.zero ≠ K.zero := fun h => hx (by
  calc x = sub K x K.zero := by unfold LibRing.sub; lib_ring
    _ = K.zero := h)

/-- **Class of T1 ⇒ P + T1 ∈ 2E (x-level), generic.** -/
theorem kernel_T1_gen (hK : NoZD K) (inv : R → R) (hinv : ∀ a, a ≠ K.zero → K.mul a (inv a) = K.one)
    (h2 : two K K.one ≠ K.zero) (n x y s r : R) (hn : n ≠ K.zero)
    (o : K.mul y y = DescentHomFull.f K K.zero n (K.neg n) x)
    (hs : x = K.mul n (K.mul s s)) (hr : sub K x n = K.mul (two K K.one) (K.mul r r))
    (hx : x ≠ K.zero) (hxn : sub K x n ≠ K.zero) (hxm : sub K x (K.neg n) ≠ K.zero) :
    ∃ xq yq w : R, K.mul yq yq = DescentHomFull.f K K.zero n (K.neg n) xq ∧ K.mul (two K yq) w = K.one ∧
      DoublingGen.x2 K K.zero n (K.neg n) xq w = TorTrans.xT K n K.zero (K.neg n) (inv (sub K x n)) := by
  have hy := y_ne K hK n x y o (sub0_ne K x hx) hxn hxm
  have hv := hinv (sub K x n) hxn
  generalize inv (sub K x n) = v at hv ⊢
  have hv0 := Kernel3.ne_of_inv_r K h2 _ _ hv
  have hs0 : s ≠ K.zero := fun h => hx (by rw [hs, h]; lib_ring)
  have hr0 : r ≠ K.zero := fun h => hxn (by rw [hr, h]; lib_ring)
  have his := hinv s hs0
  have o' : K.mul (TorTrans.yT K n K.zero (K.neg n) y v) (TorTrans.yT K n K.zero (K.neg n) y v)
      = DescentHomFull.f K K.zero n (K.neg n) (TorTrans.xT K n K.zero (K.neg n) v) :=
    (TorTrans.tor_on K n K.zero (K.neg n) x y v (o.trans (perm1 K n x)) hv).trans (perm1 K n _).symm
  have hr' : sub K (TorTrans.xT K n K.zero (K.neg n) v) n
      = K.mul (K.mul (K.mul (K.mul (two K K.one) n) r) v) (K.mul (K.mul (K.mul (two K K.one) n) r) v) := by
    calc sub K (TorTrans.xT K n K.zero (K.neg n) v) n
        = K.mul (K.mul (TorTrans.A K n K.zero (K.neg n)) (sub K x n)) (K.mul v v) :=
          TorTrans.tor_d1 K n K.zero (K.neg n) x v hv
      _ = K.mul (K.mul (TorTrans.A K n K.zero (K.neg n)) (K.mul (two K K.one) (K.mul r r))) (K.mul v v) := by
          rw [hr]
      _ = _ := by unfold TorTrans.A TrianglePoint.two LibRing.sub; lib_ring
  have hx0s : sub K x K.zero = K.mul n (K.mul s s) := by
    rw [← hs]; unfold LibRing.sub; lib_ring
  have ef : DescentHomFull.f K K.zero n (K.neg n) x
      = K.mul (K.mul (sub K x K.zero) (sub K x n)) (sub K x (K.neg n)) := rfl
  have hs' : TorTrans.xT K n K.zero (K.neg n) v
      = K.mul (K.mul (K.mul y (inv s)) v) (K.mul (K.mul y (inv s)) v) := by
    calc TorTrans.xT K n K.zero (K.neg n) v = sub K (TorTrans.xT K n K.zero (K.neg n) v) K.zero := by
          unfold LibRing.sub; lib_ring
      _ = K.mul (K.mul (K.mul (sub K n K.zero) (sub K x (K.neg n))) (sub K x n)) (K.mul v v) :=
          TorTrans.tor_d2 K n K.zero (K.neg n) x v hv
      _ = K.mul (K.mul (K.mul (K.mul (K.mul n (K.mul s s)) (sub K x n)) (sub K x (K.neg n)))
            (K.mul (inv s) (inv s))) (K.mul v v) := by
          rw [show K.mul (K.mul (K.mul (K.mul n (K.mul s s)) (sub K x n)) (sub K x (K.neg n)))
                (K.mul (inv s) (inv s))
              = K.mul (K.mul (K.mul n (sub K x n)) (sub K x (K.neg n)))
                  (K.mul (K.mul s (inv s)) (K.mul s (inv s))) by lib_ring, his]
          unfold LibRing.sub; lib_ring
      _ = K.mul (K.mul (K.mul (K.mul (sub K x K.zero) (sub K x n)) (sub K x (K.neg n)))
            (K.mul (inv s) (inv s))) (K.mul v v) := by rw [hx0s]
      _ = K.mul (K.mul (K.mul y y) (K.mul (inv s) (inv s))) (K.mul v v) := by rw [← ef, ← o]
      _ = _ := by lib_ring
  have hs1 : K.mul (K.mul y (inv s)) v ≠ K.zero :=
    Kernel2.mul_ne_gen K hK _ _ (Kernel2.mul_ne_gen K hK _ _ hy (Kernel3.ne_of_inv_r K h2 _ _ his)) hv0
  have hr1 : K.mul (K.mul (K.mul (two K K.one) n) r) v ≠ K.zero :=
    Kernel2.mul_ne_gen K hK _ _ (Kernel2.mul_ne_gen K hK _ _ (Kernel2.mul_ne_gen K hK _ _ h2 hn) hr0) hv0
  have hx' : TorTrans.xT K n K.zero (K.neg n) v ≠ K.zero := by
    rw [hs']; exact Kernel2.mul_ne_gen K hK _ _ hs1 hs1
  have hxn' : sub K (TorTrans.xT K n K.zero (K.neg n) v) n ≠ K.zero := by
    rw [hr']; exact Kernel2.mul_ne_gen K hK _ _ hr1 hr1
  exact Kernel2.kernel_gen K hK inv hinv h2 n _ _ _ _ hn o' hs' hr' hx' hxn'

/-- **Class of T2 ⇒ P + T2 ∈ 2E (x-level), generic.** -/
theorem kernel_T2_gen (hK : NoZD K) (inv : R → R) (hinv : ∀ a, a ≠ K.zero → K.mul a (inv a) = K.one)
    (h2 : two K K.one ≠ K.zero) (n x y s r : R) (hn : n ≠ K.zero)
    (o : K.mul y y = DescentHomFull.f K K.zero n (K.neg n) x)
    (hs : x = K.mul (K.neg n) (K.mul s s)) (hr : sub K x n = K.mul (K.neg (K.add n n)) (K.mul r r))
    (hx : x ≠ K.zero) (hxn : sub K x n ≠ K.zero) (hxm : sub K x (K.neg n) ≠ K.zero) :
    ∃ xq yq w : R, K.mul yq yq = DescentHomFull.f K K.zero n (K.neg n) xq ∧ K.mul (two K yq) w = K.one ∧
      DoublingGen.x2 K K.zero n (K.neg n) xq w = TorTrans.xT K (K.neg n) K.zero n (inv (sub K x (K.neg n))) := by
  have hy := y_ne K hK n x y o (sub0_ne K x hx) hxn hxm
  have hv := hinv (sub K x (K.neg n)) hxm
  generalize inv (sub K x (K.neg n)) = v at hv ⊢
  have hv0 := Kernel3.ne_of_inv_r K h2 _ _ hv
  have hs0 : s ≠ K.zero := fun h => hx (by rw [hs, h]; lib_ring)
  have hr0 : r ≠ K.zero := fun h => hxn (by rw [hr, h]; lib_ring)
  have his := hinv s hs0
  have hir := hinv r hr0
  have o' : K.mul (TorTrans.yT K (K.neg n) K.zero n y v) (TorTrans.yT K (K.neg n) K.zero n y v)
      = DescentHomFull.f K K.zero n (K.neg n) (TorTrans.xT K (K.neg n) K.zero n v) :=
    (TorTrans.tor_on K (K.neg n) K.zero n x y v (o.trans (perm2 K n x)) hv).trans (perm2 K n _).symm
  have hx0s : sub K x K.zero = K.mul (K.neg n) (K.mul s s) := by
    rw [← hs]; unfold LibRing.sub; lib_ring
  have ef : DescentHomFull.f K K.zero n (K.neg n) x
      = K.mul (K.mul (sub K x K.zero) (sub K x n)) (sub K x (K.neg n)) := rfl
  have hs' : TorTrans.xT K (K.neg n) K.zero n v
      = K.mul (K.mul (K.mul y (inv s)) v) (K.mul (K.mul y (inv s)) v) := by
    calc TorTrans.xT K (K.neg n) K.zero n v = sub K (TorTrans.xT K (K.neg n) K.zero n v) K.zero := by
          unfold LibRing.sub; lib_ring
      _ = K.mul (K.mul (K.mul (sub K (K.neg n) K.zero) (sub K x n)) (sub K x (K.neg n))) (K.mul v v) :=
          TorTrans.tor_d2 K (K.neg n) K.zero n x v hv
      _ = K.mul (K.mul (K.mul (K.mul (K.mul (K.neg n) (K.mul s s)) (sub K x n)) (sub K x (K.neg n)))
            (K.mul (inv s) (inv s))) (K.mul v v) := by
          rw [show K.mul (K.mul (K.mul (K.mul (K.neg n) (K.mul s s)) (sub K x n)) (sub K x (K.neg n)))
                (K.mul (inv s) (inv s))
              = K.mul (K.mul (K.mul (K.neg n) (sub K x n)) (sub K x (K.neg n)))
                  (K.mul (K.mul s (inv s)) (K.mul s (inv s))) by lib_ring, his]
          unfold LibRing.sub; lib_ring
      _ = K.mul (K.mul (K.mul (K.mul (sub K x K.zero) (sub K x n)) (sub K x (K.neg n)))
            (K.mul (inv s) (inv s))) (K.mul v v) := by rw [hx0s]
      _ = K.mul (K.mul (K.mul y y) (K.mul (inv s) (inv s))) (K.mul v v) := by rw [← ef, ← o]
      _ = _ := by lib_ring
  have hr' : sub K (TorTrans.xT K (K.neg n) K.zero n v) n
      = K.mul (K.mul (K.mul y (inv r)) v) (K.mul (K.mul y (inv r)) v) := by
    calc sub K (TorTrans.xT K (K.neg n) K.zero n v) n
        = K.mul (K.mul (K.mul (sub K (K.neg n) n) (sub K x K.zero)) (sub K x (K.neg n))) (K.mul v v) :=
          TorTrans.tor_d3 K (K.neg n) K.zero n x v hv
      _ = K.mul (K.mul (K.mul (K.mul (sub K x K.zero) (K.mul (K.neg (K.add n n)) (K.mul r r)))
            (sub K x (K.neg n))) (K.mul (inv r) (inv r))) (K.mul v v) := by
          rw [show K.mul (K.mul (K.mul (sub K x K.zero) (K.mul (K.neg (K.add n n)) (K.mul r r)))
                (sub K x (K.neg n))) (K.mul (inv r) (inv r))
              = K.mul (K.mul (K.mul (sub K x K.zero) (K.neg (K.add n n))) (sub K x (K.neg n)))
                  (K.mul (K.mul r (inv r)) (K.mul r (inv r))) by lib_ring, hir]
          unfold LibRing.sub; lib_ring
      _ = K.mul (K.mul (K.mul (K.mul (sub K x K.zero) (sub K x n)) (sub K x (K.neg n)))
            (K.mul (inv r) (inv r))) (K.mul v v) := by rw [hr]
      _ = K.mul (K.mul (K.mul y y) (K.mul (inv r) (inv r))) (K.mul v v) := by rw [← ef, ← o]
      _ = _ := by lib_ring
  have hs1 : K.mul (K.mul y (inv s)) v ≠ K.zero :=
    Kernel2.mul_ne_gen K hK _ _ (Kernel2.mul_ne_gen K hK _ _ hy (Kernel3.ne_of_inv_r K h2 _ _ his)) hv0
  have hr1 : K.mul (K.mul y (inv r)) v ≠ K.zero :=
    Kernel2.mul_ne_gen K hK _ _ (Kernel2.mul_ne_gen K hK _ _ hy (Kernel3.ne_of_inv_r K h2 _ _ hir)) hv0
  have hx' : TorTrans.xT K (K.neg n) K.zero n v ≠ K.zero := by
    rw [hs']; exact Kernel2.mul_ne_gen K hK _ _ hs1 hs1
  have hxn' : sub K (TorTrans.xT K (K.neg n) K.zero n v) n ≠ K.zero := by
    rw [hr']; exact Kernel2.mul_ne_gen K hK _ _ hr1 hr1
  exact Kernel2.kernel_gen K hK inv hinv h2 n _ _ _ _ hn o' hs' hr' hx' hxn'

end gen

open LibRat QModel

/-- **Class of T1 ⇒ P + T1 ∈ 2E for E_42486 (x-level).** -/
theorem kernel_T1_Q (x y s r : Q) (o : OnE x y) (hs : x = ratR.mul nQ (ratR.mul s s))
    (hr : sub ratR x nQ = ratR.mul (two ratR ratR.one) (ratR.mul r r))
    (hx : x ≠ zeroQ) (hxn : sub ratR x nQ ≠ zeroQ) (hxm : sub ratR x (negQ nQ) ≠ zeroQ) :
    ∃ xq yq w : Q, OnE xq yq ∧ ratR.mul (two ratR yq) w = ratR.one ∧
      DoublingGen.x2 ratR zeroQ nQ (negQ nQ) xq w = TorTrans.xT ratR nQ zeroQ (negQ nQ) (invQ (sub ratR x nQ)) :=
  kernel_T1_gen ratR rat_noZD invQ mul_invQ Kernel2.two_one_ne nQ x y s r Kernel2.nQ_ne o hs hr hx hxn hxm

/-- **Class of T2 ⇒ P + T2 ∈ 2E for E_42486 (x-level).** -/
theorem kernel_T2_Q (x y s r : Q) (o : OnE x y) (hs : x = ratR.mul (negQ nQ) (ratR.mul s s))
    (hr : sub ratR x nQ = ratR.mul (ratR.neg (ratR.add nQ nQ)) (ratR.mul r r))
    (hx : x ≠ zeroQ) (hxn : sub ratR x nQ ≠ zeroQ) (hxm : sub ratR x (negQ nQ) ≠ zeroQ) :
    ∃ xq yq w : Q, OnE xq yq ∧ ratR.mul (two ratR yq) w = ratR.one ∧
      DoublingGen.x2 ratR zeroQ nQ (negQ nQ) xq w
        = TorTrans.xT ratR (negQ nQ) zeroQ nQ (invQ (sub ratR x (negQ nQ))) :=
  kernel_T2_gen ratR rat_noZD invQ mul_invQ Kernel2.two_one_ne nQ x y s r Kernel2.nQ_ne o hs hr hx hxn hxm

end Kernel4

#print axioms Kernel4.perm1
#print axioms Kernel4.perm2
#print axioms Kernel4.y_ne
#print axioms Kernel4.sub0_ne
#print axioms Kernel4.kernel_T1_gen
#print axioms Kernel4.kernel_T2_gen
#print axioms Kernel4.kernel_T1_Q
#print axioms Kernel4.kernel_T2_Q

bsd/KernelImage.lean

lean_all/bsd/KernelImage.lean

/-
  bsd/KernelImage.lean — T39 cycle 50: kernel ⊆ image at E(Q) in the 2-isogeny descent.

  Lean 4 core plus bsd/DualImage (cc) and lib/RingTac. E : y² = x(x² + ax + b), E' : Y² = X(X² − 2aX + c),
  c = a² − 4b. If P = (x, y) ∈ E has x = u² with u ≠ 0, put w = y/u (so w² = u⁴ + au² + b). Then
      X = a + 2u² + 2w,   Y = 2uX
  is a point of E' with Y/(2X) = u, i.e. φ'(X, Y) has x = u² — the explicit preimage.
    preimage_on_curve   w² = u⁴ + au² + b  ⇒  Y² = X(X² − 2aX + c)
  With DualImage (image ⊆ kernel) and DescentHom (α is a homomorphism): exactness at E(Q) in the generic
  case (u ≠ 0, i.e. P ≠ (0,0); the 2-torsion point (0,0) is handled by α(0,0) = b).
-/
import bsd.DualImage

namespace KernelImage
open DetChain LibRing DualImage

variable {R : Type} (K : CRing R)

def T (a b u : R) : R := K.add (K.add (K.mul (K.mul u u) (K.mul u u)) (K.mul a (K.mul u u))) b
def XX (a u w : R) : R := K.add (K.add a (K.add (K.mul u u) (K.mul u u))) (K.add w w)
def YY (a u w : R) : R := K.mul (K.add u u) (XX K a u w)

theorem preimage_on_curve (a b u w : R) (h : K.mul w w = T K a b u) :
    K.mul (YY K a u w) (YY K a u w)
      = K.mul (XX K a u w) (K.add (sub K (K.mul (XX K a u w) (XX K a u w)) (K.mul (K.add a a) (XX K a u w))) (cc K a b)) := by
  have e : K.mul (YY K a u w) (YY K a u w)
      = K.add (K.mul (XX K a u w) (K.add (sub K (K.mul (XX K a u w) (XX K a u w)) (K.mul (K.add a a) (XX K a u w))) (cc K a b)))
          (K.mul (K.neg (K.mul (castN K 4) (XX K a u w))) (sub K (K.mul w w) (T K a b u))) := by
    unfold YY XX T cc; lib_ring
  rw [e, h]
  unfold XX T cc; lib_ring

/-- φ' of the preimage: Y = 2u·X, so Y/(2X) = u and x(φ'(X, Y)) = u². -/
theorem preimage_slope (a u w : R) : YY K a u w = K.mul (K.add u u) (XX K a u w) := rfl

end KernelImage

#print axioms KernelImage.preimage_on_curve
#print axioms KernelImage.preimage_slope

bsd/Mod16.lean

lean_all/bsd/Mod16.lean

/-
  bsd/Mod16.lean — T39 cycle 21: residues mod 16 as a ring homomorphism ℕ → Z16, and the 2-adic
  congruences of the descent for the congruent numbers n = 2p, p ≡ 5 (mod 8).

  Lean 4 core. Tables generated mechanically; every law checked by case analysis and rfl.

    r16_add, r16_mul     r16 (a + b) = r16 a + r16 b, r16 (a b) = r16 a · r16 b
    fourth_odd           r16 (x⁴) = 1 for odd x, 0 for even x
    case_odd             M odd, p ≡ 5 (mod 8): M⁴ + 16e⁴ ≢ pN² (mod 16)
    case_reduced         e odd, p ≡ 5 (mod 8): M⁴ + e⁴ ≢ pN² (mod 16)
-/
namespace Mod16
inductive Z16 where
  | r0
  | r1
  | r2
  | r3
  | r4
  | r5
  | r6
  | r7
  | r8
  | r9
  | r10
  | r11
  | r12
  | r13
  | r14
  | r15
open Z16
def Z16.add : Z16 → Z16 → Z16
  | r0, r0 => r0
  | r0, r1 => r1
  | r0, r2 => r2
  | r0, r3 => r3
  | r0, r4 => r4
  | r0, r5 => r5
  | r0, r6 => r6
  | r0, r7 => r7
  | r0, r8 => r8
  | r0, r9 => r9
  | r0, r10 => r10
  | r0, r11 => r11
  | r0, r12 => r12
  | r0, r13 => r13
  | r0, r14 => r14
  | r0, r15 => r15
  | r1, r0 => r1
  | r1, r1 => r2
  | r1, r2 => r3
  | r1, r3 => r4
  | r1, r4 => r5
  | r1, r5 => r6
  | r1, r6 => r7
  | r1, r7 => r8
  | r1, r8 => r9
  | r1, r9 => r10
  | r1, r10 => r11
  | r1, r11 => r12
  | r1, r12 => r13
  | r1, r13 => r14
  | r1, r14 => r15
  | r1, r15 => r0
  | r2, r0 => r2
  | r2, r1 => r3
  | r2, r2 => r4
  | r2, r3 => r5
  | r2, r4 => r6
  | r2, r5 => r7
  | r2, r6 => r8
  | r2, r7 => r9
  | r2, r8 => r10
  | r2, r9 => r11
  | r2, r10 => r12
  | r2, r11 => r13
  | r2, r12 => r14
  | r2, r13 => r15
  | r2, r14 => r0
  | r2, r15 => r1
  | r3, r0 => r3
  | r3, r1 => r4
  | r3, r2 => r5
  | r3, r3 => r6
  | r3, r4 => r7
  | r3, r5 => r8
  | r3, r6 => r9
  | r3, r7 => r10
  | r3, r8 => r11
  | r3, r9 => r12
  | r3, r10 => r13
  | r3, r11 => r14
  | r3, r12 => r15
  | r3, r13 => r0
  | r3, r14 => r1
  | r3, r15 => r2
  | r4, r0 => r4
  | r4, r1 => r5
  | r4, r2 => r6
  | r4, r3 => r7
  | r4, r4 => r8
  | r4, r5 => r9
  | r4, r6 => r10
  | r4, r7 => r11
  | r4, r8 => r12
  | r4, r9 => r13
  | r4, r10 => r14
  | r4, r11 => r15
  | r4, r12 => r0
  | r4, r13 => r1
  | r4, r14 => r2
  | r4, r15 => r3
  | r5, r0 => r5
  | r5, r1 => r6
  | r5, r2 => r7
  | r5, r3 => r8
  | r5, r4 => r9
  | r5, r5 => r10
  | r5, r6 => r11
  | r5, r7 => r12
  | r5, r8 => r13
  | r5, r9 => r14
  | r5, r10 => r15
  | r5, r11 => r0
  | r5, r12 => r1
  | r5, r13 => r2
  | r5, r14 => r3
  | r5, r15 => r4
  | r6, r0 => r6
  | r6, r1 => r7
  | r6, r2 => r8
  | r6, r3 => r9
  | r6, r4 => r10
  | r6, r5 => r11
  | r6, r6 => r12
  | r6, r7 => r13
  | r6, r8 => r14
  | r6, r9 => r15
  | r6, r10 => r0
  | r6, r11 => r1
  | r6, r12 => r2
  | r6, r13 => r3
  | r6, r14 => r4
  | r6, r15 => r5
  | r7, r0 => r7
  | r7, r1 => r8
  | r7, r2 => r9
  | r7, r3 => r10
  | r7, r4 => r11
  | r7, r5 => r12
  | r7, r6 => r13
  | r7, r7 => r14
  | r7, r8 => r15
  | r7, r9 => r0
  | r7, r10 => r1
  | r7, r11 => r2
  | r7, r12 => r3
  | r7, r13 => r4
  | r7, r14 => r5
  | r7, r15 => r6
  | r8, r0 => r8
  | r8, r1 => r9
  | r8, r2 => r10
  | r8, r3 => r11
  | r8, r4 => r12
  | r8, r5 => r13
  | r8, r6 => r14
  | r8, r7 => r15
  | r8, r8 => r0
  | r8, r9 => r1
  | r8, r10 => r2
  | r8, r11 => r3
  | r8, r12 => r4
  | r8, r13 => r5
  | r8, r14 => r6
  | r8, r15 => r7
  | r9, r0 => r9
  | r9, r1 => r10
  | r9, r2 => r11
  | r9, r3 => r12
  | r9, r4 => r13
  | r9, r5 => r14
  | r9, r6 => r15
  | r9, r7 => r0
  | r9, r8 => r1
  | r9, r9 => r2
  | r9, r10 => r3
  | r9, r11 => r4
  | r9, r12 => r5
  | r9, r13 => r6
  | r9, r14 => r7
  | r9, r15 => r8
  | r10, r0 => r10
  | r10, r1 => r11
  | r10, r2 => r12
  | r10, r3 => r13
  | r10, r4 => r14
  | r10, r5 => r15
  | r10, r6 => r0
  | r10, r7 => r1
  | r10, r8 => r2
  | r10, r9 => r3
  | r10, r10 => r4
  | r10, r11 => r5
  | r10, r12 => r6
  | r10, r13 => r7
  | r10, r14 => r8
  | r10, r15 => r9
  | r11, r0 => r11
  | r11, r1 => r12
  | r11, r2 => r13
  | r11, r3 => r14
  | r11, r4 => r15
  | r11, r5 => r0
  | r11, r6 => r1
  | r11, r7 => r2
  | r11, r8 => r3
  | r11, r9 => r4
  | r11, r10 => r5
  | r11, r11 => r6
  | r11, r12 => r7
  | r11, r13 => r8
  | r11, r14 => r9
  | r11, r15 => r10
  | r12, r0 => r12
  | r12, r1 => r13
  | r12, r2 => r14
  | r12, r3 => r15
  | r12, r4 => r0
  | r12, r5 => r1
  | r12, r6 => r2
  | r12, r7 => r3
  | r12, r8 => r4
  | r12, r9 => r5
  | r12, r10 => r6
  | r12, r11 => r7
  | r12, r12 => r8
  | r12, r13 => r9
  | r12, r14 => r10
  | r12, r15 => r11
  | r13, r0 => r13
  | r13, r1 => r14
  | r13, r2 => r15
  | r13, r3 => r0
  | r13, r4 => r1
  | r13, r5 => r2
  | r13, r6 => r3
  | r13, r7 => r4
  | r13, r8 => r5
  | r13, r9 => r6
  | r13, r10 => r7
  | r13, r11 => r8
  | r13, r12 => r9
  | r13, r13 => r10
  | r13, r14 => r11
  | r13, r15 => r12
  | r14, r0 => r14
  | r14, r1 => r15
  | r14, r2 => r0
  | r14, r3 => r1
  | r14, r4 => r2
  | r14, r5 => r3
  | r14, r6 => r4
  | r14, r7 => r5
  | r14, r8 => r6
  | r14, r9 => r7
  | r14, r10 => r8
  | r14, r11 => r9
  | r14, r12 => r10
  | r14, r13 => r11
  | r14, r14 => r12
  | r14, r15 => r13
  | r15, r0 => r15
  | r15, r1 => r0
  | r15, r2 => r1
  | r15, r3 => r2
  | r15, r4 => r3
  | r15, r5 => r4
  | r15, r6 => r5
  | r15, r7 => r6
  | r15, r8 => r7
  | r15, r9 => r8
  | r15, r10 => r9
  | r15, r11 => r10
  | r15, r12 => r11
  | r15, r13 => r12
  | r15, r14 => r13
  | r15, r15 => r14
def Z16.mul : Z16 → Z16 → Z16
  | r0, r0 => r0
  | r0, r1 => r0
  | r0, r2 => r0
  | r0, r3 => r0
  | r0, r4 => r0
  | r0, r5 => r0
  | r0, r6 => r0
  | r0, r7 => r0
  | r0, r8 => r0
  | r0, r9 => r0
  | r0, r10 => r0
  | r0, r11 => r0
  | r0, r12 => r0
  | r0, r13 => r0
  | r0, r14 => r0
  | r0, r15 => r0
  | r1, r0 => r0
  | r1, r1 => r1
  | r1, r2 => r2
  | r1, r3 => r3
  | r1, r4 => r4
  | r1, r5 => r5
  | r1, r6 => r6
  | r1, r7 => r7
  | r1, r8 => r8
  | r1, r9 => r9
  | r1, r10 => r10
  | r1, r11 => r11
  | r1, r12 => r12
  | r1, r13 => r13
  | r1, r14 => r14
  | r1, r15 => r15
  | r2, r0 => r0
  | r2, r1 => r2
  | r2, r2 => r4
  | r2, r3 => r6
  | r2, r4 => r8
  | r2, r5 => r10
  | r2, r6 => r12
  | r2, r7 => r14
  | r2, r8 => r0
  | r2, r9 => r2
  | r2, r10 => r4
  | r2, r11 => r6
  | r2, r12 => r8
  | r2, r13 => r10
  | r2, r14 => r12
  | r2, r15 => r14
  | r3, r0 => r0
  | r3, r1 => r3
  | r3, r2 => r6
  | r3, r3 => r9
  | r3, r4 => r12
  | r3, r5 => r15
  | r3, r6 => r2
  | r3, r7 => r5
  | r3, r8 => r8
  | r3, r9 => r11
  | r3, r10 => r14
  | r3, r11 => r1
  | r3, r12 => r4
  | r3, r13 => r7
  | r3, r14 => r10
  | r3, r15 => r13
  | r4, r0 => r0
  | r4, r1 => r4
  | r4, r2 => r8
  | r4, r3 => r12
  | r4, r4 => r0
  | r4, r5 => r4
  | r4, r6 => r8
  | r4, r7 => r12
  | r4, r8 => r0
  | r4, r9 => r4
  | r4, r10 => r8
  | r4, r11 => r12
  | r4, r12 => r0
  | r4, r13 => r4
  | r4, r14 => r8
  | r4, r15 => r12
  | r5, r0 => r0
  | r5, r1 => r5
  | r5, r2 => r10
  | r5, r3 => r15
  | r5, r4 => r4
  | r5, r5 => r9
  | r5, r6 => r14
  | r5, r7 => r3
  | r5, r8 => r8
  | r5, r9 => r13
  | r5, r10 => r2
  | r5, r11 => r7
  | r5, r12 => r12
  | r5, r13 => r1
  | r5, r14 => r6
  | r5, r15 => r11
  | r6, r0 => r0
  | r6, r1 => r6
  | r6, r2 => r12
  | r6, r3 => r2
  | r6, r4 => r8
  | r6, r5 => r14
  | r6, r6 => r4
  | r6, r7 => r10
  | r6, r8 => r0
  | r6, r9 => r6
  | r6, r10 => r12
  | r6, r11 => r2
  | r6, r12 => r8
  | r6, r13 => r14
  | r6, r14 => r4
  | r6, r15 => r10
  | r7, r0 => r0
  | r7, r1 => r7
  | r7, r2 => r14
  | r7, r3 => r5
  | r7, r4 => r12
  | r7, r5 => r3
  | r7, r6 => r10
  | r7, r7 => r1
  | r7, r8 => r8
  | r7, r9 => r15
  | r7, r10 => r6
  | r7, r11 => r13
  | r7, r12 => r4
  | r7, r13 => r11
  | r7, r14 => r2
  | r7, r15 => r9
  | r8, r0 => r0
  | r8, r1 => r8
  | r8, r2 => r0
  | r8, r3 => r8
  | r8, r4 => r0
  | r8, r5 => r8
  | r8, r6 => r0
  | r8, r7 => r8
  | r8, r8 => r0
  | r8, r9 => r8
  | r8, r10 => r0
  | r8, r11 => r8
  | r8, r12 => r0
  | r8, r13 => r8
  | r8, r14 => r0
  | r8, r15 => r8
  | r9, r0 => r0
  | r9, r1 => r9
  | r9, r2 => r2
  | r9, r3 => r11
  | r9, r4 => r4
  | r9, r5 => r13
  | r9, r6 => r6
  | r9, r7 => r15
  | r9, r8 => r8
  | r9, r9 => r1
  | r9, r10 => r10
  | r9, r11 => r3
  | r9, r12 => r12
  | r9, r13 => r5
  | r9, r14 => r14
  | r9, r15 => r7
  | r10, r0 => r0
  | r10, r1 => r10
  | r10, r2 => r4
  | r10, r3 => r14
  | r10, r4 => r8
  | r10, r5 => r2
  | r10, r6 => r12
  | r10, r7 => r6
  | r10, r8 => r0
  | r10, r9 => r10
  | r10, r10 => r4
  | r10, r11 => r14
  | r10, r12 => r8
  | r10, r13 => r2
  | r10, r14 => r12
  | r10, r15 => r6
  | r11, r0 => r0
  | r11, r1 => r11
  | r11, r2 => r6
  | r11, r3 => r1
  | r11, r4 => r12
  | r11, r5 => r7
  | r11, r6 => r2
  | r11, r7 => r13
  | r11, r8 => r8
  | r11, r9 => r3
  | r11, r10 => r14
  | r11, r11 => r9
  | r11, r12 => r4
  | r11, r13 => r15
  | r11, r14 => r10
  | r11, r15 => r5
  | r12, r0 => r0
  | r12, r1 => r12
  | r12, r2 => r8
  | r12, r3 => r4
  | r12, r4 => r0
  | r12, r5 => r12
  | r12, r6 => r8
  | r12, r7 => r4
  | r12, r8 => r0
  | r12, r9 => r12
  | r12, r10 => r8
  | r12, r11 => r4
  | r12, r12 => r0
  | r12, r13 => r12
  | r12, r14 => r8
  | r12, r15 => r4
  | r13, r0 => r0
  | r13, r1 => r13
  | r13, r2 => r10
  | r13, r3 => r7
  | r13, r4 => r4
  | r13, r5 => r1
  | r13, r6 => r14
  | r13, r7 => r11
  | r13, r8 => r8
  | r13, r9 => r5
  | r13, r10 => r2
  | r13, r11 => r15
  | r13, r12 => r12
  | r13, r13 => r9
  | r13, r14 => r6
  | r13, r15 => r3
  | r14, r0 => r0
  | r14, r1 => r14
  | r14, r2 => r12
  | r14, r3 => r10
  | r14, r4 => r8
  | r14, r5 => r6
  | r14, r6 => r4
  | r14, r7 => r2
  | r14, r8 => r0
  | r14, r9 => r14
  | r14, r10 => r12
  | r14, r11 => r10
  | r14, r12 => r8
  | r14, r13 => r6
  | r14, r14 => r4
  | r14, r15 => r2
  | r15, r0 => r0
  | r15, r1 => r15
  | r15, r2 => r14
  | r15, r3 => r13
  | r15, r4 => r12
  | r15, r5 => r11
  | r15, r6 => r10
  | r15, r7 => r9
  | r15, r8 => r8
  | r15, r9 => r7
  | r15, r10 => r6
  | r15, r11 => r5
  | r15, r12 => r4
  | r15, r13 => r3
  | r15, r14 => r2
  | r15, r15 => r1

set_option maxHeartbeats 0 in
theorem Z16.add_assoc (a b c : Z16) : (a.add b).add c = a.add (b.add c) := by
  cases a <;> cases b <;> cases c <;> rfl

set_option maxHeartbeats 0 in
theorem Z16.distrib1 (a b : Z16) : a.mul (b.add r1) = (a.mul b).add a := by
  cases a <;> cases b <;> rfl

theorem Z16.add_zero (a : Z16) : a.add r0 = a := by cases a <;> rfl
theorem Z16.mul_zero (a : Z16) : a.mul r0 = r0 := by cases a <;> rfl

def r16 : Nat → Z16
  | 0 => r0
  | n + 1 => (r16 n).add r1

theorem r16_add (a : Nat) : ∀ b, r16 (a + b) = (r16 a).add (r16 b)
  | 0 => (Z16.add_zero _).symm
  | b + 1 => by
    show (r16 (a + b)).add r1 = (r16 a).add ((r16 b).add r1)
    rw [r16_add a b, Z16.add_assoc]

theorem r16_mul (a : Nat) : ∀ b, r16 (a * b) = (r16 a).mul (r16 b)
  | 0 => (Z16.mul_zero _).symm
  | b + 1 => by
    show r16 (a * b + a) = (r16 a).mul ((r16 b).add r1)
    rw [r16_add, r16_mul a b, Z16.distrib1]

def q4 (x : Nat) : Nat := x * x * (x * x)
def odd16 (z : Z16) : Bool := match z with
  | r0 => false
  | r1 => true
  | r2 => false
  | r3 => true
  | r4 => false
  | r5 => true
  | r6 => false
  | r7 => true
  | r8 => false
  | r9 => true
  | r10 => false
  | r11 => true
  | r12 => false
  | r13 => true
  | r14 => false
  | r15 => true

def p4 (z : Z16) : Z16 := (z.mul z).mul (z.mul z)

theorem r16_q4 (x : Nat) : r16 (q4 x) = p4 (r16 x) := by
  unfold q4 p4; rw [r16_mul, r16_mul]

/-- The table fact behind case_odd: for z odd, w any, u ∈ {5, 13}, v any:
    z⁴ + 16w⁴ (≡ z⁴) ≠ u·v². -/
theorem table_odd (z u v : Z16) (hz : odd16 z = true) (hu : u = r5 ∨ u = r13) :
    p4 z ≠ u.mul (v.mul v) := by
  cases hu with
  | inl h => subst h; cases z <;> cases v <;> first | exact Z16.noConfusion | exact (Bool.noConfusion hz) | (intro e; exact Z16.noConfusion e)
  | inr h => subst h; cases z <;> cases v <;> first | exact Z16.noConfusion | exact (Bool.noConfusion hz) | (intro e; exact Z16.noConfusion e)

theorem table_reduced (z w u v : Z16) (hw : odd16 w = true) (hu : u = r5 ∨ u = r13) :
    (p4 z).add (p4 w) ≠ u.mul (v.mul v) := by
  cases hu with
  | inl h => subst h; cases w <;> first | exact (Bool.noConfusion hw) | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))
  | inr h => subst h; cases w <;> first | exact (Bool.noConfusion hw) | (cases z <;> cases v <;> (intro e; exact Z16.noConfusion e))

/-- M odd: M⁴ + 16e⁴ ≠ pN² (as natural numbers) when p ≡ 5 (mod 8). -/
theorem case_odd (M e N p : Nat) (hM : odd16 (r16 M) = true) (hp : r16 p = r5 ∨ r16 p = r13) :
    q4 M + 16 * q4 e ≠ p * (N * N) := by
  intro h
  have k := congrArg r16 h
  rw [r16_add, r16_mul 16, r16_mul p, r16_mul N, r16_q4] at k
  have z : (r16 16).mul (r16 (q4 e)) = r0 := by
    show r0.mul _ = r0
    cases r16 (q4 e) <;> rfl
  rw [z, Z16.add_zero] at k
  exact table_odd _ _ _ hM hp k

/-- e odd: M⁴ + e⁴ ≠ pN² when p ≡ 5 (mod 8). -/
theorem case_reduced (M e N p : Nat) (he : odd16 (r16 e) = true) (hp : r16 p = r5 ∨ r16 p = r13) :
    q4 M + q4 e ≠ p * (N * N) := by
  intro h
  have k := congrArg r16 h
  rw [r16_add, r16_mul p, r16_mul N, r16_q4, r16_q4] at k
  exact table_reduced _ _ _ _ he hp k

end Mod16

#print axioms Mod16.Z16.add_assoc
#print axioms Mod16.Z16.distrib1
#print axioms Mod16.Z16.add_zero
#print axioms Mod16.Z16.mul_zero
#print axioms Mod16.r16_add
#print axioms Mod16.r16_mul
#print axioms Mod16.r16_q4
#print axioms Mod16.table_odd
#print axioms Mod16.table_reduced
#print axioms Mod16.case_odd
#print axioms Mod16.case_reduced

bsd/ModLink.lean

lean_all/bsd/ModLink.lean

/-
  bsd/ModLink.lean — T39 (goal G289e-5, piece c): the core `%` (fast in rfl tables) agrees with the axiom-free
  remainder of lib/ModN, so table facts about n % p become divisibility facts:
    mod_eq_md     0 < p ⇒ n % p = md p n           (hodge/ModHand: add_mul_mod', mod_lt'),
    dvd_of_mod    n % p = 0 ⇒ p ∣ n,      mod_of_dvd   p ∣ n ⇒ n % p = 0,
    mod_spec      n = p·(dv p n) + n % p.
  (Core Nat.mod_add_div depends on propext; Nat.mod_lt does not.)
  Lean 4 core plus lib/ModN, hodge/ModHand.
-/
import lib.ModN
import hodge.ModHand

namespace ModLink

theorem mod_eq_md (p : Nat) (hp : 0 < p) (n : Nat) : n % p = LibMod.md p n := by
  have e : n = LibMod.md p n + LibMod.dv p n * p := by
    have h := LibMod.spec p n
    rw [show LibMod.md p n + LibMod.dv p n * p = p * LibMod.dv p n + LibMod.md p n by lib_nat]
    exact h
  calc n % p = (LibMod.md p n + LibMod.dv p n * p) % p := congrArg (· % p) e
    _ = LibMod.md p n % p := ModHand.add_mul_mod' _ _ hp _
    _ = LibMod.md p n := ModHand.mod_lt' _ _ (LibMod.md_lt hp n)

theorem dvd_of_mod (p : Nat) (hp : 0 < p) (n : Nat) (h : n % p = 0) : p ∣ n :=
  LibMod.dvd_of_md_zero ((mod_eq_md p hp n).symm.trans h)

theorem mod_of_dvd (p : Nat) (hp : 0 < p) (n : Nat) (h : p ∣ n) : n % p = 0 :=
  (mod_eq_md p hp n).trans (LibMod.md_zero_of_dvd hp h)

theorem mod_spec (p : Nat) (hp : 0 < p) (n : Nat) : n = p * LibMod.dv p n + n % p := by
  rw [mod_eq_md p hp n]; exact LibMod.spec p n

end ModLink

#print axioms ModLink.mod_eq_md
#print axioms ModLink.dvd_of_mod
#print axioms ModLink.mod_of_dvd
#print axioms ModLink.mod_spec

bsd/MonskyCheck.lean

lean_all/bsd/MonskyCheck.lean

/-
  bsd/MonskyCheck.lean — T39 cycle 115: Monsky's 2-Selmer matrix computed in Lean.

  For squarefree n ≤ 200 (n = p₁…p_k or 2p₁…p_k), Monsky's 2k × 2k matrix over F₂ (Heath-Brown 1994,
  appendix) built from Legendre symbols (p_j | p_i), (2 | p_i), (−1 | p_i), (−2 | p_i). Its F₂-rank is computed
  by Gaussian elimination on bit-rows, all by rfl:
    sel_zero   rank = 2k (s₂(n) = 0) for the 38 n listed — by Monsky's theorem (cited) the 2-Selmer groups
               are trivial, so rank E_n(Q) = 0 and Ш(E_n)[2] = 0 for each.
  The values agree with monsky.py and with the computed analytic ranks (BSD_LOG cycle 112).
-/
namespace MonskyCheck

def powmod (a e p : Nat) : Nat → Nat
  | 0 => 1 % p
  | f + 1 => if e = 0 then 1 % p else
      let h := powmod a (e / 2) p f
      let h2 := (h * h) % p
      if e % 2 = 1 then (h2 * (a % p)) % p else h2

/-- 1 iff (a | p) = −1 (p odd prime, p ∤ a) -/
def nonres (a p : Nat) : Nat := if powmod a ((p - 1) / 2) p 64 = p - 1 then 1 else 0

def isPrime (p : Nat) : Bool := Nat.blt 1 p && (List.range p).all (fun d => d < 2 || !(Nat.beq (p % d) 0))
def oddPrimes (m : Nat) : List Nat := (List.range (m + 1)).filter (fun p => Nat.blt 2 p && Nat.beq (m % p) 0 && isPrime p)

/-- row of bits as a list of 0/1 -/
def xorRow : List Nat → List Nat → List Nat
  | [], _ => []
  | a :: as, bs => match bs with
    | [] => []
    | b :: bs' => ((a + b) % 2) :: xorRow as bs'

def bitAt : List Nat → Nat → Nat
  | [], _ => 0
  | a :: _, 0 => a
  | _ :: as, i + 1 => bitAt as i

/-- split off the first row with bit c set: (pivot, the other rows) -/
def takePiv (c : Nat) : List (List Nat) → Option (List Nat) × List (List Nat)
  | [] => (none, [])
  | r :: rs => if Nat.beq (bitAt r c) 1 then (some r, rs) else
      let p := takePiv c rs
      (p.1, r :: p.2)

def rankF2 : Nat → List (List Nat) → Nat → Nat
  | 0, _, _ => 0
  | f + 1, rows, c =>
    match takePiv c rows with
    | (none, _) => if c < (rows.headD []).length then rankF2 f rows (c + 1) else 0
    | (some piv, rest) =>
      1 + rankF2 f (rest.map (fun r => if Nat.beq (bitAt r c) 1 then xorRow r piv else r)) (c + 1)

def rowAt : List (List Nat) → Nat → List Nat
  | [], _ => []
  | r :: _, 0 => r
  | _ :: rs, i + 1 => rowAt rs i

def natAt (l : List Nat) (i : Nat) (dflt : Nat) : Nat :=
  match l, i with
  | [], _ => dflt
  | a :: _, 0 => a
  | _ :: as, i + 1 => natAt as i dflt

def monsky (n : Nat) : List (List Nat) :=
  let even := Nat.beq (n % 2) 0
  let m := if even then n / 2 else n
  let ps := oddPrimes m
  let k := ps.length
  let idx := List.range k
  let A := idx.map (fun i => idx.map (fun j =>
    if i = j then (idx.foldl (fun s j' => if j' = i then s else s + nonres (natAt ps j' 1) (natAt ps i 1)) 0) % 2
    else nonres (natAt ps j 1) (natAt ps i 1)))
  let D := fun (u : Nat) => idx.map (fun i => idx.map (fun j => if i = j then nonres u (natAt ps i 1) else 0))
  let add := fun (X Y : List (List Nat)) => (X.zip Y).map (fun (r, s) => xorRow r s)
  let T := fun (X : List (List Nat)) => idx.map (fun j => idx.map (fun i => bitAt (rowAt X i) j))
  let D2 := D 2
  let Dm2 := D ((ps.foldl (fun s p => s * p) 1) * 4 - 2)
  let Dm1 := D ((ps.foldl (fun s p => s * p) 1) * 4 - 1)
  if even then
    ((D2.zip (add A D2)).map (fun (r, s) => r ++ s)) ++ (((add (T A) D2).zip Dm1).map (fun (r, s) => r ++ s))
  else
    (((add A D2).zip D2).map (fun (r, s) => r ++ s)) ++ ((D2.zip (add A Dm2)).map (fun (r, s) => r ++ s))

def s2 (n : Nat) : Nat :=
  let M := monsky n
  2 * (oddPrimes (if Nat.beq (n % 2) 0 then n / 2 else n)).length - rankF2 (2 * M.length + 2) M 0

def selZeroList : List Nat := [1, 2, 3, 10, 11, 19, 26, 33, 35, 42, 43, 51, 57, 58, 59, 66, 67, 74, 83, 91, 105, 106, 107, 114, 115, 122, 123, 129, 130, 131, 139, 163, 170, 177, 179, 186, 187, 195]

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero : selZeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl

def selPos : List (Nat × Nat) := [(5, 1), (6, 1), (7, 1), (13, 1), (14, 1), (15, 1), (17, 2), (21, 1), (22, 1), (23, 1), (29, 1), (30, 1), (31, 1), (34, 2), (37, 1), (38, 1), (39, 1), (41, 2), (46, 1), (47, 1), (53, 1), (55, 1), (61, 1), (62, 1), (65, 2), (69, 1), (70, 1), (71, 1), (73, 2), (77, 1), (78, 1), (79, 1), (82, 2), (85, 1), (86, 1), (87, 1), (89, 2), (93, 1), (94, 1), (95, 1), (97, 2),   -- (+429 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos : selPos.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck

#print axioms MonskyCheck.sel_zero
#print axioms MonskyCheck.sel_pos

bsd/MonskyCheck10.lean

lean_all/bsd/MonskyCheck10.lean

/-
  bsd/MonskyCheck10.lean — T39 cycle 328 (goal G63): Monsky's 2-Selmer matrix for squarefree 1801 ≤ n ≤ 2000, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 82 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck10
open MonskyCheck

def zeroList : List Nat := [1810, 1811, 1819, 1826, 1833, 1834, 1835, 1842, 1843, 1851, 1857, 1867, 1882, 1883, 1891, 1898, 1905, 1907, 1914, 1915, 1923, 1929, 1930, 1931, 1938, 1946, 1947, 1955, 1963, 1969, 1970, 1977, 1978, 1979, 1986, 1987, 1994]
def posList : List (Nat × Nat) := [(1801, 2), (1802, 2), (1803, 2), (1806, 1), (1807, 1), (1814, 1), (1817, 2), (1821, 1), (1822, 1), (1823, 1), (1829, 1), (1830, 1), (1831, 1), (1837, 1), (1838, 1), (1839, 1), (1841, 2), (1846, 1), (1847, 1), (1853, 1), (1855, 1), (1858, 2), (1861, 1), (1865, 2), (1866, 2), (1869, 1), (1870, 1), (1871, 1), (1873, 2), (1874, 2), (1877, 1), (1878, 3), (1879, 1), (1  -- (+536 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero10 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos10 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck10

#print axioms MonskyCheck10.sel_zero10
#print axioms MonskyCheck10.sel_pos10

bsd/MonskyCheck100.lean

lean_all/bsd/MonskyCheck100.lean

/-
  bsd/MonskyCheck100.lean — T39 cycle 446 (goal G163): Monsky's 2-Selmer matrix for squarefree 19801 ≤ n ≤ 20000, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck100
open MonskyCheck

def zeroList : List Nat := [19802, 19803, 19811, 19819, 19833, 19834, 19835, 19842, 19843, 19851, 19857, 19867, 19874, 19882, 19883, 19891, 19898, 19905, 19906, 19914, 19921, 19923, 19929, 19930, 19938, 19946, 19954, 19955, 19963, 19969, 19970, 19977, 19978, 19979, 19985, 19986, 19994]
def posList : List (Nat × Nat) := [(19801, 2), (19805, 1), (19806, 1), (19807, 1), (19810, 2), (19813, 1), (19814, 1), (19815, 3), (19817, 2), (19821, 1), (19822, 1), (19823, 1), (19826, 2), (19829, 1), (19830, 1), (19831, 1), (19837, 1), (19838, 1), (19839, 1), (19841, 2), (19846, 1), (19847, 3), (19849, 2), (19853, 1), (19858, 2), (19859, 2), (19861, 1), (19862, 1), (19865, 2), (19866, 2), (1986  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero100 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos100 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck100

#print axioms MonskyCheck100.sel_zero100
#print axioms MonskyCheck100.sel_pos100

bsd/MonskyCheck101.lean

lean_all/bsd/MonskyCheck101.lean

/-
  bsd/MonskyCheck101.lean — T39 cycle 448 (goal G165): Monsky's 2-Selmer matrix for squarefree 20001 ≤ n ≤ 20200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck101
open MonskyCheck

def zeroList : List Nat := [20010, 20011, 20027, 20035, 20042, 20049, 20051, 20058, 20067, 20073, 20074, 20081, 20082, 20083, 20098, 20099, 20107, 20121, 20122, 20123, 20138, 20145, 20147, 20163, 20170, 20179, 20185, 20186, 20193, 20195]
def posList : List (Nat × Nat) := [(20001, 2), (20002, 4), (20003, 2), (20005, 3), (20006, 1), (20009, 2), (20013, 1), (20014, 1), (20015, 1), (20017, 2), (20018, 2), (20019, 2), (20021, 1), (20022, 3), (20023, 1), (20026, 2), (20029, 1), (20030, 1), (20031, 1), (20033, 2), (20037, 1), (20038, 1), (20039, 1), (20045, 1), (20046, 1), (20047, 1), (20053, 1), (20054, 1), (20055, 1), (20057, 2), (2005  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero101 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos101 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck101

#print axioms MonskyCheck101.sel_zero101
#print axioms MonskyCheck101.sel_pos101

bsd/MonskyCheck102.lean

lean_all/bsd/MonskyCheck102.lean

/-
  bsd/MonskyCheck102.lean — T39 cycle 449 (goal G166): Monsky's 2-Selmer matrix for squarefree 20201 ≤ n ≤ 20400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck102
open MonskyCheck

def zeroList : List Nat := [20202, 20211, 20217, 20219, 20226, 20227, 20234, 20242, 20265, 20266, 20273, 20274, 20282, 20283, 20289, 20290, 20291, 20298, 20299, 20323, 20330, 20337, 20346, 20347, 20361, 20362, 20370, 20371, 20387]
def posList : List (Nat × Nat) := [(20201, 2), (20203, 2), (20206, 1), (20209, 2), (20210, 2), (20213, 1), (20215, 3), (20218, 2), (20221, 1), (20222, 1), (20229, 1), (20231, 1), (20233, 2), (20235, 2), (20238, 1), (20239, 1), (20243, 2), (20245, 3), (20246, 1), (20247, 1), (20249, 2), (20251, 2), (20253, 1), (20254, 1), (20255, 1), (20257, 2), (20258, 2), (20261, 1), (20262, 3), (20263, 1), (2026  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero102 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos102 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck102

#print axioms MonskyCheck102.sel_zero102
#print axioms MonskyCheck102.sel_pos102

bsd/MonskyCheck103.lean

lean_all/bsd/MonskyCheck103.lean

/-
  bsd/MonskyCheck103.lean — T39 cycle 450 (goal G167): Monsky's 2-Selmer matrix for squarefree 20401 ≤ n ≤ 20600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck103
open MonskyCheck

def zeroList : List Nat := [20409, 20411, 20418, 20419, 20426, 20427, 20435, 20443, 20451, 20458, 20459, 20467, 20473, 20481, 20483, 20490, 20498, 20499, 20505, 20506, 20507, 20515, 20522, 20530, 20537, 20545, 20554, 20562, 20563, 20569, 20571, 20585, 20587, 20595]
def posList : List (Nat × Nat) := [(20401, 2), (20405, 1), (20406, 1), (20407, 1), (20410, 2), (20413, 1), (20414, 1), (20415, 1), (20417, 2), (20422, 1), (20423, 1), (20429, 1), (20431, 1), (20434, 2), (20437, 1), (20438, 3), (20441, 2), (20442, 2), (20445, 1), (20446, 1), (20447, 3), (20453, 1), (20454, 1), (20455, 1), (20461, 1), (20462, 1), (20463, 1), (20465, 2), (20469, 1), (20470, 1), (2047  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero103 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos103 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck103

#print axioms MonskyCheck103.sel_zero103
#print axioms MonskyCheck103.sel_pos103

bsd/MonskyCheck104.lean

lean_all/bsd/MonskyCheck104.lean

/-
  bsd/MonskyCheck104.lean — T39 cycle 451 (goal G168): Monsky's 2-Selmer matrix for squarefree 20601 ≤ n ≤ 20800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck104
open MonskyCheck

def zeroList : List Nat := [20602, 20611, 20627, 20635, 20649, 20657, 20666, 20683, 20690, 20697, 20699, 20706, 20707, 20713, 20714, 20721, 20722, 20723, 20729, 20730, 20731, 20746, 20747, 20755, 20762, 20769, 20771, 20778, 20779, 20786, 20794]
def posList : List (Nat × Nat) := [(20603, 2), (20605, 1), (20606, 1), (20607, 1), (20609, 2), (20613, 1), (20614, 1), (20615, 1), (20617, 2), (20621, 1), (20622, 1), (20623, 1), (20626, 2), (20630, 1), (20633, 2), (20634, 2), (20638, 1), (20639, 1), (20641, 2), (20642, 2), (20643, 2), (20645, 3), (20647, 1), (20651, 2), (20653, 1), (20654, 3), (20658, 2), (20659, 2), (20661, 1), (20662, 1), (2066  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero104 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos104 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck104

#print axioms MonskyCheck104.sel_zero104
#print axioms MonskyCheck104.sel_pos104

bsd/MonskyCheck105.lean

lean_all/bsd/MonskyCheck105.lean

/-
  bsd/MonskyCheck105.lean — T39 cycle 452 (goal G169): Monsky's 2-Selmer matrix for squarefree 20801 ≤ n ≤ 21000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck105
open MonskyCheck

def zeroList : List Nat := [20801, 20802, 20827, 20833, 20834, 20841, 20843, 20858, 20881, 20882, 20891, 20899, 20906, 20913, 20931, 20937, 20939, 20946, 20947, 20954, 20963, 20971, 20977, 20987, 20994, 20995]
def posList : List (Nat × Nat) := [(20803, 2), (20805, 1), (20806, 1), (20807, 1), (20809, 2), (20810, 2), (20811, 2), (20813, 1), (20814, 1), (20815, 1), (20818, 2), (20819, 2), (20821, 1), (20822, 1), (20823, 1), (20829, 1), (20830, 1), (20831, 1), (20837, 1), (20838, 1), (20839, 1), (20842, 2), (20845, 1), (20846, 1), (20847, 1), (20849, 2), (20851, 2), (20854, 1), (20855, 1), (20857, 2), (2085  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero105 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos105 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck105

#print axioms MonskyCheck105.sel_zero105
#print axioms MonskyCheck105.sel_pos105

bsd/MonskyCheck106.lean

lean_all/bsd/MonskyCheck106.lean

/-
  bsd/MonskyCheck106.lean — T39 cycle 453 (goal G170): Monsky's 2-Selmer matrix for squarefree 21001 ≤ n ≤ 21200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck106
open MonskyCheck

def zeroList : List Nat := [21002, 21003, 21010, 21011, 21018, 21019, 21027, 21035, 21043, 21057, 21059, 21065, 21066, 21067, 21081, 21082, 21083, 21091, 21106, 21107, 21113, 21122, 21129, 21130, 21131, 21139, 21153, 21163, 21178, 21179, 21185, 21187, 21194]
def posList : List (Nat × Nat) := [(21001, 2), (21005, 3), (21007, 1), (21009, 2), (21013, 1), (21014, 1), (21017, 2), (21022, 1), (21023, 1), (21026, 2), (21029, 3), (21030, 1), (21031, 1), (21034, 2), (21037, 3), (21038, 1), (21039, 1), (21041, 2), (21045, 1), (21046, 1), (21047, 1), (21049, 2), (21053, 1), (21055, 1), (21058, 2), (21061, 1), (21062, 1), (21063, 1), (21071, 1), (21073, 2), (2107  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero106 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos106 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck106

#print axioms MonskyCheck106.sel_zero106
#print axioms MonskyCheck106.sel_pos106

bsd/MonskyCheck107.lean

lean_all/bsd/MonskyCheck107.lean

/-
  bsd/MonskyCheck107.lean — T39 cycle 454 (goal G171): Monsky's 2-Selmer matrix for squarefree 21201 ≤ n ≤ 21400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck107
open MonskyCheck

def zeroList : List Nat := [21201, 21210, 21211, 21219, 21226, 21227, 21234, 21235, 21241, 21242, 21259, 21273, 21282, 21283, 21291, 21297, 21306, 21307, 21323, 21331, 21337, 21338, 21345, 21346, 21347, 21353, 21354, 21362, 21363, 21370, 21379, 21394]
def posList : List (Nat × Nat) := [(21202, 2), (21203, 2), (21205, 3), (21206, 1), (21207, 1), (21209, 2), (21214, 1), (21215, 1), (21221, 1), (21223, 1), (21229, 1), (21230, 1), (21233, 4), (21237, 1), (21238, 1), (21239, 1), (21243, 4), (21245, 1), (21246, 1), (21247, 1), (21251, 2), (21253, 1), (21254, 1), (21255, 1), (21257, 2), (21261, 1), (21262, 1), (21263, 1), (21265, 2), (21269, 1), (2127  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero107 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos107 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck107

#print axioms MonskyCheck107.sel_zero107
#print axioms MonskyCheck107.sel_pos107

bsd/MonskyCheck108.lean

lean_all/bsd/MonskyCheck108.lean

/-
  bsd/MonskyCheck108.lean — T39 cycle 455 (goal G172): Monsky's 2-Selmer matrix for squarefree 21401 ≤ n ≤ 21600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck108
open MonskyCheck

def zeroList : List Nat := [21410, 21418, 21419, 21426, 21434, 21441, 21451, 21457, 21466, 21467, 21482, 21489, 21491, 21498, 21499, 21514, 21515, 21523, 21530, 21539, 21547, 21554, 21561, 21562, 21563, 21578, 21579, 21586, 21587, 21593, 21594, 21595]
def posList : List (Nat × Nat) := [(21401, 2), (21403, 2), (21405, 1), (21406, 1), (21407, 1), (21409, 2), (21414, 3), (21415, 1), (21421, 1), (21422, 1), (21423, 1), (21427, 2), (21430, 1), (21431, 1), (21433, 2), (21435, 2), (21437, 1), (21439, 1), (21442, 2), (21443, 2), (21445, 3), (21446, 1), (21449, 2), (21453, 1), (21454, 3), (21455, 1), (21458, 2), (21459, 2), (21461, 1), (21469, 1), (2147  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero108 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos108 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck108

#print axioms MonskyCheck108.sel_zero108
#print axioms MonskyCheck108.sel_pos108

bsd/MonskyCheck109.lean

lean_all/bsd/MonskyCheck109.lean

/-
  bsd/MonskyCheck109.lean — T39 cycle 456 (goal G173): Monsky's 2-Selmer matrix for squarefree 21601 ≤ n ≤ 21800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck109
open MonskyCheck

def zeroList : List Nat := [21603, 21611, 21626, 21633, 21634, 21635, 21642, 21643, 21651, 21657, 21665, 21666, 21667, 21674, 21682, 21683, 21691, 21698, 21705, 21706, 21722, 21723, 21729, 21730, 21739, 21746, 21747, 21769, 21779, 21786, 21787, 21793, 21795]
def posList : List (Nat × Nat) := [(21601, 2), (21602, 2), (21605, 3), (21606, 1), (21607, 1), (21610, 2), (21613, 1), (21614, 1), (21615, 1), (21617, 2), (21619, 2), (21621, 1), (21622, 1), (21623, 3), (21629, 1), (21630, 1), (21631, 1), (21637, 1), (21638, 1), (21639, 1), (21641, 2), (21646, 1), (21647, 1), (21649, 2), (21653, 1), (21655, 1), (21661, 1), (21662, 1), (21669, 1), (21670, 1), (2167  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero109 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos109 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck109

#print axioms MonskyCheck109.sel_zero109
#print axioms MonskyCheck109.sel_pos109

bsd/MonskyCheck11.lean

lean_all/bsd/MonskyCheck11.lean

/-
  bsd/MonskyCheck11.lean — T39 cycle 329 (goal G64): Monsky's 2-Selmer matrix for squarefree 2001 ≤ n ≤ 2200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck11
open MonskyCheck

def zeroList : List Nat := [2002, 2003, 2010, 2011, 2026, 2027, 2033, 2042, 2049, 2051, 2065, 2073, 2074, 2082, 2083, 2090, 2091, 2099, 2121, 2122, 2123, 2131, 2138, 2146, 2147, 2171, 2179, 2185, 2186, 2193]
def posList : List (Nat × Nat) := [(2001, 2), (2005, 3), (2006, 3), (2013, 1), (2014, 1), (2015, 1), (2017, 2), (2018, 2), (2019, 2), (2021, 1), (2022, 3), (2029, 1), (2030, 1), (2031, 1), (2035, 2), (2037, 1), (2038, 1), (2039, 1), (2041, 2), (2045, 3), (2046, 1), (2047, 1), (2053, 1), (2054, 1), (2055, 1), (2059, 2), (2062, 1), (2063, 1), (2066, 2), (2067, 2), (2069, 1), (2071, 1), (2077, 1), (2  -- (+646 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero11 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos11 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck11

#print axioms MonskyCheck11.sel_zero11
#print axioms MonskyCheck11.sel_pos11

bsd/MonskyCheck110.lean

lean_all/bsd/MonskyCheck110.lean

/-
  bsd/MonskyCheck110.lean — T39 cycle 457 (goal G174): Monsky's 2-Selmer matrix for squarefree 21801 ≤ n ≤ 22000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck110
open MonskyCheck

def zeroList : List Nat := [21802, 21803, 21818, 21842, 21849, 21851, 21857, 21858, 21859, 21882, 21890, 21898, 21899, 21907, 21914, 21921, 21923, 21930, 21931, 21946, 21954, 21962, 21971, 21979, 21993, 21994, 21995]
def posList : List (Nat × Nat) := [(21806, 1), (21809, 2), (21810, 2), (21811, 2), (21813, 1), (21814, 1), (21815, 1), (21817, 2), (21819, 2), (21821, 1), (21822, 1), (21823, 1), (21826, 2), (21827, 2), (21829, 1), (21830, 1), (21831, 1), (21833, 2), (21835, 2), (21837, 1), (21838, 1), (21839, 1), (21841, 2), (21845, 1), (21846, 1), (21847, 1), (21855, 1), (21862, 1), (21863, 1), (21865, 2), (2186  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero110 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos110 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck110

#print axioms MonskyCheck110.sel_zero110
#print axioms MonskyCheck110.sel_pos110

bsd/MonskyCheck111.lean

lean_all/bsd/MonskyCheck111.lean

/-
  bsd/MonskyCheck111.lean — T39 cycle 458 (goal G175): Monsky's 2-Selmer matrix for squarefree 22001 ≤ n ≤ 22200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck111
open MonskyCheck

def zeroList : List Nat := [22002, 22003, 22011, 22018, 22027, 22033, 22035, 22043, 22051, 22066, 22067, 22074, 22082, 22089, 22091, 22097, 22115, 22121, 22123, 22130, 22138, 22145, 22146, 22147, 22154, 22155, 22170, 22171, 22177, 22178, 22186, 22195]
def posList : List (Nat × Nat) := [(22006, 1), (22007, 1), (22009, 2), (22010, 2), (22013, 1), (22015, 1), (22017, 2), (22019, 2), (22026, 2), (22029, 1), (22030, 1), (22031, 1), (22034, 2), (22037, 1), (22038, 3), (22039, 1), (22042, 2), (22045, 3), (22046, 1), (22047, 1), (22049, 2), (22053, 1), (22054, 1), (22055, 3), (22057, 2), (22058, 2), (22061, 1), (22062, 1), (22063, 1), (22065, 2), (2206  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero111 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos111 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck111

#print axioms MonskyCheck111.sel_zero111
#print axioms MonskyCheck111.sel_pos111

bsd/MonskyCheck112.lean

lean_all/bsd/MonskyCheck112.lean

/-
  bsd/MonskyCheck112.lean — T39 cycle 459 (goal G176): Monsky's 2-Selmer matrix for squarefree 22201 ≤ n ≤ 22400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck112
open MonskyCheck

def zeroList : List Nat := [22202, 22209, 22210, 22233, 22234, 22235, 22242, 22249, 22259, 22267, 22283, 22290, 22291, 22297, 22298, 22299, 22305, 22306, 22307, 22315, 22331, 22346, 22353, 22355, 22361, 22362, 22363, 22370, 22371, 22377, 22378, 22379, 22394, 22395]
def posList : List (Nat × Nat) := [(22205, 3), (22206, 1), (22207, 1), (22211, 2), (22213, 3), (22214, 1), (22215, 1), (22217, 2), (22219, 2), (22222, 3), (22223, 3), (22226, 2), (22227, 2), (22229, 1), (22231, 1), (22237, 3), (22238, 1), (22241, 2), (22243, 2), (22245, 1), (22247, 1), (22251, 2), (22254, 1), (22255, 1), (22258, 2), (22261, 1), (22262, 1), (22263, 1), (22265, 2), (22269, 1), (2227  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero112 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos112 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck112

#print axioms MonskyCheck112.sel_zero112
#print axioms MonskyCheck112.sel_pos112

bsd/MonskyCheck113.lean

lean_all/bsd/MonskyCheck113.lean

/-
  bsd/MonskyCheck113.lean — T39 cycle 460 (goal G177): Monsky's 2-Selmer matrix for squarefree 22401 ≤ n ≤ 22600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck113
open MonskyCheck

def zeroList : List Nat := [22403, 22411, 22418, 22426, 22427, 22434, 22443, 22449, 22458, 22459, 22483, 22489, 22497, 22499, 22505, 22507, 22521, 22522, 22530, 22531, 22539, 22553, 22555, 22561, 22562, 22569, 22571, 22577, 22578, 22579, 22587, 22593]
def posList : List (Nat × Nat) := [(22402, 2), (22405, 3), (22406, 3), (22407, 1), (22409, 2), (22413, 1), (22414, 1), (22415, 1), (22417, 2), (22421, 1), (22422, 1), (22423, 1), (22429, 1), (22430, 1), (22431, 1), (22433, 2), (22435, 2), (22438, 1), (22439, 1), (22441, 2), (22447, 1), (22451, 2), (22453, 1), (22454, 1), (22457, 2), (22461, 1), (22462, 1), (22463, 1), (22465, 2), (22466, 2), (2246  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero113 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos113 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck113

#print axioms MonskyCheck113.sel_zero113
#print axioms MonskyCheck113.sel_pos113

bsd/MonskyCheck114.lean

lean_all/bsd/MonskyCheck114.lean

/-
  bsd/MonskyCheck114.lean — T39 cycle 461 (goal G178): Monsky's 2-Selmer matrix for squarefree 22601 ≤ n ≤ 22800, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 100 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck114
open MonskyCheck

def zeroList : List Nat := [22610, 22619, 22634, 22641, 22643, 22651, 22657, 22667, 22674, 22690, 22691, 22699, 22722, 22730, 22731, 22739, 22746, 22755, 22771, 22778, 22787, 22794, 22795]
def posList : List (Nat × Nat) := [(22601, 2), (22602, 2), (22603, 2), (22605, 1), (22606, 1), (22607, 1), (22609, 2), (22611, 2), (22613, 1), (22614, 3), (22615, 1), (22618, 2), (22621, 1), (22622, 1), (22623, 1), (22629, 1), (22630, 1), (22631, 1), (22633, 2), (22637, 1), (22639, 1), (22642, 2), (22645, 1), (22647, 1), (22649, 2), (22654, 3), (22655, 1), (22658, 2), (22659, 2), (22661, 1), (2266  -- (+834 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero114 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos114 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck114

#print axioms MonskyCheck114.sel_zero114
#print axioms MonskyCheck114.sel_pos114

bsd/MonskyCheck115.lean

lean_all/bsd/MonskyCheck115.lean

/-
  bsd/MonskyCheck115.lean — T39 cycle 462 (goal G179): Monsky's 2-Selmer matrix for squarefree 22801 ≤ n ≤ 23000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck115
open MonskyCheck

def zeroList : List Nat := [22802, 22803, 22809, 22811, 22818, 22826, 22835, 22841, 22858, 22859, 22874, 22881, 22891, 22899, 22907, 22913, 22915, 22922, 22929, 22930, 22938, 22947, 22963, 22970, 22971, 22979, 22987]
def posList : List (Nat × Nat) := [(22805, 3), (22807, 1), (22810, 2), (22813, 1), (22814, 1), (22817, 2), (22819, 2), (22821, 1), (22822, 1), (22823, 1), (22827, 2), (22829, 3), (22830, 1), (22837, 1), (22838, 1), (22839, 1), (22843, 2), (22845, 1), (22846, 1), (22847, 1), (22849, 2), (22853, 1), (22854, 1), (22855, 1), (22857, 2), (22861, 1), (22862, 3), (22863, 1), (22865, 2), (22866, 2), (2286  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero115 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos115 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck115

#print axioms MonskyCheck115.sel_zero115
#print axioms MonskyCheck115.sel_pos115

bsd/MonskyCheck116.lean

lean_all/bsd/MonskyCheck116.lean

/-
  bsd/MonskyCheck116.lean — T39 cycle 463 (goal G180): Monsky's 2-Selmer matrix for squarefree 23001 ≤ n ≤ 23200, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck116
open MonskyCheck

def zeroList : List Nat := [23002, 23003, 23009, 23011, 23018, 23019, 23026, 23027, 23034, 23051, 23059, 23065, 23073, 23074, 23082, 23083, 23089, 23090, 23091, 23097, 23098, 23099, 23106, 23114, 23122, 23131, 23145, 23146, 23147, 23161, 23162, 23163, 23169, 23170, 23171, 23179, 23187, 23194]
def posList : List (Nat × Nat) := [(23001, 2), (23005, 1), (23006, 1), (23007, 1), (23010, 2), (23014, 1), (23015, 1), (23017, 2), (23021, 1), (23023, 1), (23029, 1), (23033, 2), (23035, 2), (23037, 1), (23038, 1), (23039, 1), (23041, 2), (23042, 2), (23043, 2), (23045, 1), (23046, 3), (23047, 1), (23053, 1), (23054, 1), (23055, 1), (23057, 2), (23061, 1), (23062, 1), (23063, 1), (23066, 2), (2306  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero116 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos116 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck116

#print axioms MonskyCheck116.sel_zero116
#print axioms MonskyCheck116.sel_pos116

bsd/MonskyCheck117.lean

lean_all/bsd/MonskyCheck117.lean

/-
  bsd/MonskyCheck117.lean — T39 cycle 464 (goal G181): Monsky's 2-Selmer matrix for squarefree 23201 ≤ n ≤ 23400, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck117
open MonskyCheck

def zeroList : List Nat := [23203, 23210, 23227, 23242, 23249, 23251, 23289, 23290, 23291, 23298, 23306, 23313, 23315, 23323, 23330, 23339, 23347, 23354, 23363, 23370, 23371, 23379, 23387, 23394]
def posList : List (Nat × Nat) := [(23201, 2), (23205, 1), (23206, 3), (23207, 1), (23209, 2), (23213, 1), (23214, 1), (23215, 1), (23217, 2), (23218, 2), (23219, 2), (23221, 1), (23222, 1), (23223, 1), (23230, 1), (23231, 1), (23233, 2), (23234, 2), (23235, 2), (23237, 1), (23239, 1), (23241, 2), (23243, 2), (23245, 3), (23246, 1), (23253, 1), (23254, 3), (23255, 1), (23257, 2), (23258, 2), (2325  -- (+822 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero117 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos117 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck117

#print axioms MonskyCheck117.sel_zero117
#print axioms MonskyCheck117.sel_pos117

bsd/MonskyCheck118.lean

lean_all/bsd/MonskyCheck118.lean

/-
  bsd/MonskyCheck118.lean — T39 cycle 465 (goal G182): Monsky's 2-Selmer matrix for squarefree 23401 ≤ n ≤ 23600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck118
open MonskyCheck

def zeroList : List Nat := [23402, 23403, 23410, 23411, 23419, 23433, 23434, 23441, 23442, 23443, 23449, 23451, 23458, 23459, 23467, 23482, 23489, 23505, 23514, 23515, 23521, 23522, 23523, 23530, 23531, 23538, 23539, 23546, 23555, 23563, 23570, 23577, 23578, 23586]
def posList : List (Nat × Nat) := [(23401, 2), (23405, 3), (23406, 1), (23407, 3), (23413, 1), (23414, 1), (23415, 1), (23417, 2), (23421, 1), (23423, 1), (23426, 2), (23429, 1), (23430, 1), (23431, 1), (23435, 2), (23437, 1), (23438, 1), (23439, 3), (23446, 3), (23447, 1), (23453, 1), (23455, 1), (23457, 2), (23461, 1), (23462, 1), (23466, 2), (23469, 1), (23470, 1), (23473, 2), (23477, 3), (2347  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero118 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos118 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck118

#print axioms MonskyCheck118.sel_zero118
#print axioms MonskyCheck118.sel_pos118

bsd/MonskyCheck119.lean

lean_all/bsd/MonskyCheck119.lean

/-
  bsd/MonskyCheck119.lean — T39 cycle 466 (goal G183): Monsky's 2-Selmer matrix for squarefree 23601 ≤ n ≤ 23800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck119
open MonskyCheck

def zeroList : List Nat := [23601, 23603, 23610, 23611, 23617, 23626, 23627, 23635, 23642, 23649, 23651, 23658, 23659, 23674, 23682, 23683, 23691, 23707, 23721, 23722, 23731, 23738, 23739, 23745, 23747, 23754, 23770, 23777, 23786, 23793]
def posList : List (Nat × Nat) := [(23602, 2), (23605, 3), (23606, 1), (23609, 2), (23613, 1), (23614, 1), (23615, 1), (23619, 2), (23621, 3), (23622, 1), (23623, 1), (23629, 1), (23630, 1), (23631, 1), (23633, 2), (23637, 1), (23638, 1), (23639, 1), (23641, 2), (23645, 3), (23646, 1), (23647, 1), (23653, 3), (23654, 1), (23655, 1), (23657, 2), (23662, 1), (23663, 1), (23665, 2), (23666, 2), (2366  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero119 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos119 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck119

#print axioms MonskyCheck119.sel_zero119
#print axioms MonskyCheck119.sel_pos119

bsd/MonskyCheck12.lean

lean_all/bsd/MonskyCheck12.lean

/-
  bsd/MonskyCheck12.lean — T39 cycle 330 (goal G65): Monsky's 2-Selmer matrix for squarefree 2201 ≤ n ≤ 2400, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck12
open MonskyCheck

def zeroList : List Nat := [2202, 2203, 2210, 2211, 2217, 2218, 2226, 2227, 2234, 2235, 2242, 2243, 2251, 2266, 2267, 2274, 2283, 2290, 2291, 2314, 2315, 2321, 2330, 2339, 2345, 2346, 2347, 2354, 2355, 2361, 2362, 2363, 2370, 2371, 2378, 2387]
def posList : List (Nat × Nat) := [(2201, 2), (2206, 1), (2207, 1), (2213, 1), (2215, 1), (2219, 2), (2221, 1), (2222, 1), (2229, 1), (2230, 1), (2231, 1), (2233, 2), (2237, 1), (2238, 1), (2239, 1), (2245, 3), (2246, 1), (2247, 1), (2249, 2), (2253, 1), (2255, 1), (2257, 2), (2258, 2), (2261, 1), (2262, 1), (2263, 1), (2265, 2), (2269, 1), (2270, 1), (2271, 1), (2273, 2), (2278, 3), (2279, 1), (2  -- (+591 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero12 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos12 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck12

#print axioms MonskyCheck12.sel_zero12
#print axioms MonskyCheck12.sel_pos12

bsd/MonskyCheck120.lean

lean_all/bsd/MonskyCheck120.lean

/-
  bsd/MonskyCheck120.lean — T39 cycle 467 (goal G184): Monsky's 2-Selmer matrix for squarefree 23801 ≤ n ≤ 24000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck120
open MonskyCheck

def zeroList : List Nat := [23802, 23803, 23810, 23811, 23817, 23818, 23819, 23827, 23835, 23851, 23866, 23867, 23881, 23882, 23889, 23890, 23898, 23899, 23905, 23914, 23915, 23921, 23923, 23930, 23939, 23947, 23954, 23955, 23962, 23963, 23969, 23971, 23978, 23986]
def posList : List (Nat × Nat) := [(23801, 2), (23806, 1), (23807, 1), (23809, 2), (23813, 1), (23815, 1), (23821, 1), (23822, 1), (23830, 1), (23831, 1), (23833, 2), (23834, 2), (23838, 1), (23839, 3), (23842, 2), (23843, 2), (23845, 1), (23846, 1), (23847, 1), (23849, 2), (23853, 1), (23854, 1), (23855, 1), (23857, 2), (23858, 2), (23861, 1), (23862, 1), (23865, 2), (23869, 1), (23870, 1), (2387  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero120 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos120 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck120

#print axioms MonskyCheck120.sel_zero120
#print axioms MonskyCheck120.sel_pos120

bsd/MonskyCheck121.lean

lean_all/bsd/MonskyCheck121.lean

/-
  bsd/MonskyCheck121.lean — T39 cycle 468 (goal G185): Monsky's 2-Selmer matrix for squarefree 24001 ≤ n ≤ 24200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck121
open MonskyCheck

def zeroList : List Nat := [24002, 24009, 24018, 24019, 24026, 24027, 24033, 24034, 24035, 24043, 24058, 24067, 24073, 24074, 24083, 24090, 24091, 24105, 24106, 24107, 24114, 24115, 24123, 24130, 24131, 24153, 24154, 24162, 24163, 24170, 24177, 24178, 24179, 24185, 24186, 24195]
def posList : List (Nat × Nat) := [(24001, 2), (24005, 3), (24006, 1), (24007, 1), (24011, 2), (24013, 1), (24014, 1), (24015, 1), (24017, 2), (24022, 1), (24023, 1), (24029, 1), (24031, 1), (24038, 1), (24041, 2), (24042, 2), (24045, 1), (24046, 1), (24047, 1), (24049, 2), (24051, 2), (24053, 1), (24054, 1), (24055, 1), (24061, 1), (24062, 1), (24063, 1), (24065, 2), (24069, 1), (24070, 1), (2407  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero121 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos121 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck121

#print axioms MonskyCheck121.sel_zero121
#print axioms MonskyCheck121.sel_pos121

bsd/MonskyCheck122.lean

lean_all/bsd/MonskyCheck122.lean

/-
  bsd/MonskyCheck122.lean — T39 cycle 469 (goal G186): Monsky's 2-Selmer matrix for squarefree 24201 ≤ n ≤ 24400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck122
open MonskyCheck

def zeroList : List Nat := [24202, 24203, 24209, 24218, 24227, 24233, 24234, 24235, 24243, 24249, 24251, 24265, 24266, 24274, 24289, 24290, 24298, 24306, 24314, 24330, 24331, 24338, 24339, 24347, 24369, 24370, 24371, 24377, 24379, 24394]
def posList : List (Nat × Nat) := [(24205, 1), (24207, 1), (24211, 2), (24213, 1), (24214, 1), (24215, 1), (24217, 2), (24221, 1), (24222, 1), (24223, 1), (24226, 2), (24229, 1), (24230, 1), (24231, 1), (24238, 1), (24239, 1), (24241, 2), (24242, 2), (24245, 1), (24247, 1), (24253, 1), (24254, 1), (24257, 2), (24258, 2), (24259, 2), (24261, 1), (24262, 1), (24263, 1), (24267, 2), (24269, 1), (2427  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero122 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos122 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck122

#print axioms MonskyCheck122.sel_zero122
#print axioms MonskyCheck122.sel_pos122

bsd/MonskyCheck123.lean

lean_all/bsd/MonskyCheck123.lean

/-
  bsd/MonskyCheck123.lean — T39 cycle 470 (goal G187): Monsky's 2-Selmer matrix for squarefree 24401 ≤ n ≤ 24600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck123
open MonskyCheck

def zeroList : List Nat := [24418, 24419, 24427, 24434, 24441, 24443, 24466, 24499, 24506, 24513, 24515, 24523, 24529, 24531, 24537, 24538, 24539, 24546, 24547, 24553, 24554, 24555, 24571, 24585, 24586, 24587, 24594]
def posList : List (Nat × Nat) := [(24401, 2), (24403, 2), (24405, 1), (24406, 1), (24407, 1), (24409, 2), (24410, 2), (24411, 2), (24413, 1), (24414, 3), (24415, 1), (24421, 1), (24422, 1), (24423, 1), (24429, 1), (24430, 1), (24431, 1), (24433, 2), (24437, 1), (24438, 1), (24439, 1), (24445, 3), (24446, 1), (24447, 1), (24449, 2), (24454, 1), (24455, 1), (24457, 2), (24458, 2), (24459, 2), (2446  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero123 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos123 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck123

#print axioms MonskyCheck123.sel_zero123
#print axioms MonskyCheck123.sel_pos123

bsd/MonskyCheck124.lean

lean_all/bsd/MonskyCheck124.lean

/-
  bsd/MonskyCheck124.lean — T39 cycle 471 (goal G188): Monsky's 2-Selmer matrix for squarefree 24601 ≤ n ≤ 24800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck124
open MonskyCheck

def zeroList : List Nat := [24602, 24603, 24609, 24611, 24618, 24619, 24635, 24657, 24659, 24666, 24667, 24673, 24681, 24683, 24691, 24698, 24706, 24707, 24715, 24721, 24729, 24730, 24731, 24738, 24739, 24746, 24747, 24761, 24763, 24770, 24779, 24787]
def posList : List (Nat × Nat) := [(24601, 2), (24605, 1), (24607, 1), (24610, 2), (24613, 1), (24614, 1), (24617, 2), (24621, 1), (24622, 1), (24623, 1), (24626, 2), (24627, 2), (24629, 1), (24630, 1), (24631, 1), (24634, 2), (24637, 1), (24638, 1), (24639, 1), (24641, 2), (24643, 2), (24645, 1), (24646, 1), (24653, 3), (24654, 1), (24655, 1), (24658, 2), (24661, 1), (24662, 3), (24663, 1), (2466  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero124 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos124 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck124

#print axioms MonskyCheck124.sel_zero124
#print axioms MonskyCheck124.sel_pos124

bsd/MonskyCheck125.lean

lean_all/bsd/MonskyCheck125.lean

/-
  bsd/MonskyCheck125.lean — T39 cycle 472 (goal G189): Monsky's 2-Selmer matrix for squarefree 24801 ≤ n ≤ 25000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck125
open MonskyCheck

def zeroList : List Nat := [24801, 24803, 24810, 24811, 24819, 24826, 24827, 24833, 24834, 24835, 24842, 24851, 24859, 24873, 24874, 24881, 24883, 24890, 24891, 24898, 24906, 24907, 24915, 24923, 24937, 24945, 24954, 24955, 24963, 24969, 24970, 24971, 24978, 24979, 24985]
def posList : List (Nat × Nat) := [(24802, 2), (24806, 1), (24807, 1), (24809, 2), (24814, 1), (24815, 1), (24817, 2), (24818, 2), (24821, 1), (24823, 1), (24829, 1), (24830, 1), (24837, 1), (24838, 1), (24839, 1), (24841, 2), (24845, 3), (24846, 1), (24847, 1), (24853, 3), (24855, 1), (24857, 2), (24861, 1), (24862, 1), (24865, 2), (24866, 2), (24869, 1), (24870, 1), (24871, 1), (24877, 1), (2487  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero125 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos125 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck125

#print axioms MonskyCheck125.sel_zero125
#print axioms MonskyCheck125.sel_pos125

bsd/MonskyCheck126.lean

lean_all/bsd/MonskyCheck126.lean

/-
  bsd/MonskyCheck126.lean — T39 cycle 474 (goal G191): Monsky's 2-Selmer matrix for squarefree 25001 ≤ n ≤ 25200, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck126
open MonskyCheck

def zeroList : List Nat := [25003, 25017, 25034, 25041, 25042, 25051, 25058, 25066, 25082, 25089, 25099, 25107, 25114, 25115, 25123, 25130, 25145, 25147, 25161, 25163, 25171, 25178, 25179, 25185, 25193]
def posList : List (Nat × Nat) := [(25001, 2), (25005, 1), (25006, 1), (25007, 3), (25009, 2), (25010, 2), (25013, 1), (25014, 1), (25015, 1), (25018, 2), (25019, 2), (25021, 1), (25022, 1), (25023, 1), (25026, 2), (25027, 2), (25030, 1), (25031, 1), (25033, 2), (25035, 2), (25037, 1), (25043, 2), (25045, 3), (25046, 1), (25049, 2), (25053, 1), (25054, 1), (25055, 1), (25057, 2), (25059, 2), (2506  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero126 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos126 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck126

#print axioms MonskyCheck126.sel_zero126
#print axioms MonskyCheck126.sel_pos126

bsd/MonskyCheck127.lean

lean_all/bsd/MonskyCheck127.lean

/-
  bsd/MonskyCheck127.lean — T39 cycle 475 (goal G192): Monsky's 2-Selmer matrix for squarefree 25201 ≤ n ≤ 25400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck127
open MonskyCheck

def zeroList : List Nat := [25201, 25219, 25226, 25241, 25242, 25243, 25257, 25266, 25274, 25305, 25306, 25307, 25314, 25323, 25329, 25330, 25338, 25339, 25346, 25347, 25354, 25370, 25377, 25386, 25387, 25393, 25395]
def posList : List (Nat × Nat) := [(25202, 2), (25203, 2), (25206, 3), (25207, 1), (25210, 2), (25211, 2), (25213, 1), (25214, 3), (25217, 2), (25221, 3), (25222, 1), (25223, 1), (25229, 1), (25231, 3), (25233, 2), (25234, 2), (25237, 1), (25238, 1), (25239, 1), (25246, 1), (25247, 1), (25249, 2), (25251, 2), (25253, 1), (25255, 1), (25258, 2), (25259, 2), (25261, 1), (25262, 1), (25265, 2), (2526  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero127 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos127 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck127

#print axioms MonskyCheck127.sel_zero127
#print axioms MonskyCheck127.sel_pos127

bsd/MonskyCheck128.lean

lean_all/bsd/MonskyCheck128.lean

/-
  bsd/MonskyCheck128.lean — T39 cycle 476 (goal G193): Monsky's 2-Selmer matrix for squarefree 25401 ≤ n ≤ 25600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck128
open MonskyCheck

def zeroList : List Nat := [25401, 25402, 25411, 25435, 25451, 25458, 25465, 25466, 25481, 25482, 25483, 25490, 25491, 25499, 25507, 25514, 25521, 25523, 25539, 25545, 25554, 25562, 25570, 25571, 25579, 25585, 25586]
def posList : List (Nat × Nat) := [(25403, 2), (25405, 3), (25406, 1), (25409, 2), (25413, 1), (25414, 1), (25415, 1), (25417, 2), (25418, 2), (25419, 2), (25421, 1), (25422, 1), (25423, 1), (25426, 2), (25427, 2), (25429, 1), (25430, 1), (25433, 2), (25437, 1), (25438, 3), (25439, 1), (25441, 2), (25442, 2), (25445, 1), (25446, 1), (25447, 1), (25449, 2), (25453, 1), (25454, 1), (25455, 1), (2545  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero128 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos128 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck128

#print axioms MonskyCheck128.sel_zero128
#print axioms MonskyCheck128.sel_pos128

bsd/MonskyCheck129.lean

lean_all/bsd/MonskyCheck129.lean

/-
  bsd/MonskyCheck129.lean — T39 cycle 477 (goal G194): Monsky's 2-Selmer matrix for squarefree 25601 ≤ n ≤ 25800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck129
open MonskyCheck

def zeroList : List Nat := [25602, 25603, 25611, 25617, 25635, 25642, 25643, 25658, 25665, 25667, 25689, 25698, 25699, 25706, 25714, 25723, 25729, 25730, 25737, 25746, 25747, 25753, 25755, 25761, 25762, 25763, 25770, 25771, 25786]
def posList : List (Nat × Nat) := [(25601, 2), (25606, 1), (25607, 1), (25609, 2), (25610, 2), (25613, 1), (25615, 1), (25618, 2), (25619, 2), (25621, 1), (25622, 1), (25626, 2), (25629, 1), (25630, 1), (25633, 2), (25634, 2), (25637, 1), (25638, 3), (25639, 1), (25645, 1), (25646, 1), (25647, 1), (25649, 2), (25651, 2), (25653, 1), (25654, 1), (25655, 1), (25657, 2), (25661, 1), (25662, 1), (2566  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero129 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos129 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck129

#print axioms MonskyCheck129.sel_zero129
#print axioms MonskyCheck129.sel_pos129

bsd/MonskyCheck13.lean

lean_all/bsd/MonskyCheck13.lean

/-
  bsd/MonskyCheck13.lean — T39 cycle 332 (goal G67): Monsky's 2-Selmer matrix for squarefree 2401 ≤ n ≤ 2600, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck13
open MonskyCheck

def zeroList : List Nat := [2409, 2411, 2426, 2427, 2433, 2435, 2442, 2443, 2451, 2458, 2459, 2467, 2474, 2481, 2489, 2490, 2497, 2505, 2507, 2514, 2515, 2522, 2531, 2537, 2539, 2546, 2553, 2554, 2555, 2563, 2570, 2571, 2577, 2579, 2585, 2595]
def posList : List (Nat × Nat) := [(2402, 2), (2405, 1), (2406, 1), (2407, 1), (2410, 2), (2413, 1), (2414, 1), (2415, 1), (2417, 2), (2418, 2), (2419, 2), (2422, 1), (2423, 1), (2429, 1), (2431, 1), (2434, 2), (2437, 1), (2438, 1), (2441, 2), (2445, 1), (2446, 1), (2447, 1), (2449, 2), (2453, 1), (2454, 3), (2455, 1), (2461, 1), (2462, 1), (2463, 1), (2465, 2), (2469, 1), (2470, 1), (2471, 1), (2  -- (+580 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero13 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos13 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck13

#print axioms MonskyCheck13.sel_zero13
#print axioms MonskyCheck13.sel_pos13

bsd/MonskyCheck130.lean

lean_all/bsd/MonskyCheck130.lean

/-
  bsd/MonskyCheck130.lean — T39 cycle 478 (goal G195): Monsky's 2-Selmer matrix for squarefree 25801 ≤ n ≤ 26000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck130
open MonskyCheck

def zeroList : List Nat := [25802, 25810, 25817, 25819, 25826, 25827, 25833, 25834, 25835, 25842, 25843, 25859, 25865, 25867, 25881, 25882, 25890, 25891, 25897, 25898, 25905, 25907, 25914, 25922, 25930, 25931, 25939, 25946, 25954, 25962, 25963, 25977, 25986, 25994, 25995]
def posList : List (Nat × Nat) := [(25801, 2), (25805, 1), (25806, 1), (25807, 1), (25809, 2), (25811, 2), (25813, 1), (25814, 1), (25815, 1), (25818, 2), (25822, 1), (25829, 1), (25831, 1), (25837, 1), (25838, 1), (25841, 2), (25845, 1), (25846, 1), (25847, 1), (25849, 2), (25851, 2), (25853, 1), (25854, 1), (25855, 1), (25858, 2), (25861, 1), (25862, 3), (25863, 1), (25869, 1), (25870, 1), (2587  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero130 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos130 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck130

#print axioms MonskyCheck130.sel_zero130
#print axioms MonskyCheck130.sel_pos130

bsd/MonskyCheck131.lean

lean_all/bsd/MonskyCheck131.lean

/-
  bsd/MonskyCheck131.lean — T39 cycle 479 (goal G196): Monsky's 2-Selmer matrix for squarefree 26001 ≤ n ≤ 26200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck131
open MonskyCheck

def zeroList : List Nat := [26003, 26034, 26042, 26043, 26058, 26074, 26081, 26083, 26097, 26099, 26105, 26106, 26107, 26114, 26121, 26122, 26137, 26138, 26169, 26170, 26171, 26178, 26179, 26186, 26187, 26193]
def posList : List (Nat × Nat) := [(26002, 2), (26005, 1), (26006, 1), (26007, 1), (26009, 2), (26013, 3), (26014, 1), (26017, 2), (26018, 2), (26021, 1), (26022, 1), (26023, 1), (26027, 2), (26029, 1), (26030, 1), (26031, 1), (26033, 2), (26035, 2), (26038, 1), (26039, 1), (26041, 2), (26045, 3), (26049, 2), (26051, 2), (26053, 1), (26054, 1), (26057, 2), (26059, 2), (26061, 1), (26062, 1), (2606  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero131 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos131 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck131

#print axioms MonskyCheck131.sel_zero131
#print axioms MonskyCheck131.sel_pos131

bsd/MonskyCheck132.lean

lean_all/bsd/MonskyCheck132.lean

/-
  bsd/MonskyCheck132.lean — T39 cycle 480 (goal G197): Monsky's 2-Selmer matrix for squarefree 26201 ≤ n ≤ 26400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck132
open MonskyCheck

def zeroList : List Nat := [26202, 26203, 26210, 26218, 26227, 26234, 26241, 26251, 26258, 26259, 26266, 26267, 26273, 26274, 26314, 26322, 26323, 26330, 26337, 26338, 26339, 26347, 26355, 26363, 26371, 26387, 26394]
def posList : List (Nat × Nat) := [(26201, 2), (26205, 1), (26206, 1), (26207, 3), (26209, 2), (26211, 2), (26213, 1), (26214, 1), (26219, 2), (26221, 1), (26222, 3), (26223, 1), (26229, 1), (26230, 1), (26231, 3), (26233, 2), (26237, 1), (26238, 1), (26239, 1), (26242, 2), (26243, 2), (26245, 3), (26246, 3), (26247, 3), (26249, 2), (26254, 1), (26255, 1), (26261, 1), (26263, 1), (26265, 2), (2626  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero132 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos132 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck132

#print axioms MonskyCheck132.sel_zero132
#print axioms MonskyCheck132.sel_pos132

bsd/MonskyCheck133.lean

lean_all/bsd/MonskyCheck133.lean

/-
  bsd/MonskyCheck133.lean — T39 cycle 481 (goal G198): Monsky's 2-Selmer matrix for squarefree 26401 ≤ n ≤ 26600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck133
open MonskyCheck

def zeroList : List Nat := [26402, 26409, 26410, 26418, 26419, 26435, 26457, 26458, 26459, 26466, 26481, 26490, 26507, 26515, 26521, 26522, 26529, 26530, 26538, 26539, 26546, 26547, 26553, 26554, 26555, 26562, 26563, 26570, 26571, 26579, 26587]
def posList : List (Nat × Nat) := [(26401, 2), (26403, 2), (26405, 3), (26407, 1), (26413, 1), (26414, 1), (26417, 2), (26421, 1), (26422, 1), (26423, 1), (26426, 2), (26427, 2), (26429, 1), (26430, 1), (26431, 1), (26434, 2), (26437, 1), (26438, 1), (26439, 1), (26441, 4), (26443, 2), (26445, 1), (26446, 1), (26447, 1), (26449, 2), (26453, 1), (26454, 1), (26455, 1), (26461, 1), (26462, 1), (2646  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero133 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos133 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck133

#print axioms MonskyCheck133.sel_zero133
#print axioms MonskyCheck133.sel_pos133

bsd/MonskyCheck134.lean

lean_all/bsd/MonskyCheck134.lean

/-
  bsd/MonskyCheck134.lean — T39 cycle 482 (goal G199): Monsky's 2-Selmer matrix for squarefree 26601 ≤ n ≤ 26800, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck134
open MonskyCheck

def zeroList : List Nat := [26601, 26609, 26610, 26611, 26617, 26618, 26627, 26635, 26642, 26643, 26657, 26659, 26666, 26673, 26682, 26683, 26690, 26691, 26698, 26699, 26706, 26707, 26723, 26731, 26738, 26745, 26746, 26747, 26762, 26769, 26770, 26771, 26785, 26786, 26794, 26795]
def posList : List (Nat × Nat) := [(26602, 2), (26603, 2), (26605, 1), (26606, 1), (26614, 1), (26615, 1), (26619, 2), (26621, 1), (26623, 3), (26626, 2), (26629, 1), (26630, 1), (26633, 2), (26634, 4), (26637, 1), (26638, 1), (26639, 1), (26641, 2), (26646, 3), (26647, 1), (26651, 2), (26653, 1), (26654, 1), (26655, 1), (26661, 1), (26662, 1), (26663, 1), (26665, 2), (26669, 1), (26670, 1), (2667  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero134 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos134 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck134

#print axioms MonskyCheck134.sel_zero134
#print axioms MonskyCheck134.sel_pos134

bsd/MonskyCheck135.lean

lean_all/bsd/MonskyCheck135.lean

/-
  bsd/MonskyCheck135.lean — T39 cycle 483 (goal G200): Monsky's 2-Selmer matrix for squarefree 26801 ≤ n ≤ 27000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck135
open MonskyCheck

def zeroList : List Nat := [26817, 26841, 26842, 26851, 26857, 26858, 26867, 26873, 26889, 26891, 26898, 26899, 26907, 26913, 26915, 26922, 26923, 26930, 26938, 26947, 26954, 26961, 26962, 26963, 26971, 26987, 26994]
def posList : List (Nat × Nat) := [(26801, 2), (26805, 1), (26806, 1), (26807, 1), (26809, 2), (26810, 2), (26813, 1), (26814, 1), (26815, 3), (26818, 2), (26819, 2), (26821, 1), (26822, 1), (26823, 1), (26826, 2), (26827, 2), (26830, 1), (26831, 3), (26833, 2), (26834, 2), (26835, 2), (26837, 1), (26839, 1), (26843, 2), (26845, 1), (26846, 1), (26849, 2), (26853, 1), (26854, 1), (26855, 3), (2685  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero135 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos135 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck135

#print axioms MonskyCheck135.sel_zero135
#print axioms MonskyCheck135.sel_pos135

bsd/MonskyCheck136.lean

lean_all/bsd/MonskyCheck136.lean

/-
  bsd/MonskyCheck136.lean — T39 cycle 484 (goal G201): Monsky's 2-Selmer matrix for squarefree 27001 ≤ n ≤ 27200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck136
open MonskyCheck

def zeroList : List Nat := [27001, 27010, 27011, 27019, 27033, 27034, 27035, 27042, 27043, 27049, 27051, 27057, 27058, 27059, 27066, 27067, 27083, 27091, 27105, 27107, 27113, 27114, 27115, 27123, 27129, 27130, 27131, 27137, 27138, 27139, 27170, 27177, 27179, 27194]
def posList : List (Nat × Nat) := [(27002, 2), (27003, 2), (27005, 1), (27006, 1), (27007, 3), (27013, 1), (27014, 1), (27015, 3), (27017, 2), (27021, 1), (27022, 1), (27023, 1), (27026, 2), (27029, 1), (27030, 1), (27031, 1), (27037, 1), (27038, 1), (27039, 1), (27041, 2), (27046, 1), (27047, 1), (27053, 3), (27055, 1), (27061, 1), (27062, 1), (27065, 2), (27069, 1), (27070, 1), (27071, 1), (2707  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero136 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos136 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck136

#print axioms MonskyCheck136.sel_zero136
#print axioms MonskyCheck136.sel_pos136

bsd/MonskyCheck137.lean

lean_all/bsd/MonskyCheck137.lean

/-
  bsd/MonskyCheck137.lean — T39 cycle 485 (goal G202): Monsky's 2-Selmer matrix for squarefree 27201 ≤ n ≤ 27400, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 102 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck137
open MonskyCheck

def zeroList : List Nat := [27201, 27210, 27211, 27219, 27226, 27227, 27242, 27251, 27259, 27273, 27282, 27283, 27291, 27299, 27305, 27321, 27322, 27331, 27338, 27345, 27371, 27379, 27386]
def posList : List (Nat × Nat) := [(27202, 2), (27203, 2), (27205, 3), (27206, 1), (27213, 1), (27214, 1), (27215, 1), (27217, 2), (27218, 2), (27221, 1), (27222, 1), (27223, 3), (27229, 3), (27230, 1), (27231, 3), (27233, 4), (27235, 2), (27237, 3), (27238, 1), (27239, 1), (27241, 2), (27245, 3), (27246, 1), (27247, 1), (27249, 2), (27253, 1), (27254, 1), (27255, 1), (27257, 2), (27258, 2), (2726  -- (+858 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero137 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos137 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck137

#print axioms MonskyCheck137.sel_zero137
#print axioms MonskyCheck137.sel_pos137

bsd/MonskyCheck138.lean

lean_all/bsd/MonskyCheck138.lean

/-
  bsd/MonskyCheck138.lean — T39 cycle 486 (goal G203): Monsky's 2-Selmer matrix for squarefree 27401 ≤ n ≤ 27600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck138
open MonskyCheck

def zeroList : List Nat := [27402, 27403, 27410, 27411, 27417, 27418, 27426, 27427, 27434, 27435, 27443, 27473, 27474, 27483, 27490, 27499, 27507, 27514, 27515, 27530, 27539, 27545, 27546, 27553, 27561, 27562, 27563, 27569, 27570, 27571, 27577, 27578, 27579, 27586]
def posList : List (Nat × Nat) := [(27401, 2), (27406, 1), (27407, 1), (27409, 2), (27413, 1), (27415, 1), (27419, 2), (27421, 3), (27422, 1), (27429, 1), (27430, 1), (27431, 1), (27433, 2), (27437, 1), (27438, 1), (27439, 1), (27442, 2), (27445, 1), (27446, 1), (27447, 1), (27449, 2), (27451, 2), (27453, 1), (27454, 1), (27457, 2), (27458, 2), (27461, 1), (27462, 1), (27463, 1), (27465, 2), (2746  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero138 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos138 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck138

#print axioms MonskyCheck138.sel_zero138
#print axioms MonskyCheck138.sel_pos138

bsd/MonskyCheck139.lean

lean_all/bsd/MonskyCheck139.lean

/-
  bsd/MonskyCheck139.lean — T39 cycle 487 (goal G204): Monsky's 2-Selmer matrix for squarefree 27601 ≤ n ≤ 27800, by rfl.
  s₂(n) = 0 for 39 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck139
open MonskyCheck

def zeroList : List Nat := [27602, 27609, 27610, 27611, 27618, 27619, 27626, 27627, 27633, 27635, 27641, 27642, 27649, 27658, 27659, 27665, 27667, 27681, 27690, 27691, 27698, 27705, 27706, 27714, 27715, 27721, 27722, 27730, 27731, 27739, 27754, 27755, 27763, 27770, 27771, 27779, 27786, 27794, 27795]
def posList : List (Nat × Nat) := [(27601, 2), (27605, 3), (27606, 3), (27607, 1), (27613, 3), (27614, 1), (27615, 1), (27617, 2), (27622, 1), (27623, 1), (27629, 1), (27631, 1), (27634, 4), (27637, 3), (27638, 1), (27643, 2), (27645, 1), (27646, 3), (27647, 1), (27651, 2), (27653, 1), (27654, 1), (27655, 1), (27661, 1), (27662, 1), (27663, 1), (27669, 1), (27670, 1), (27671, 1), (27673, 2), (2767  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero139 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos139 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck139

#print axioms MonskyCheck139.sel_zero139
#print axioms MonskyCheck139.sel_pos139

bsd/MonskyCheck14.lean

lean_all/bsd/MonskyCheck14.lean

/-
  bsd/MonskyCheck14.lean — T39 cycle 333 (goal G68): Monsky's 2-Selmer matrix for squarefree 2601 ≤ n ≤ 2800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck14
open MonskyCheck

def zeroList : List Nat := [2602, 2618, 2626, 2634, 2635, 2641, 2643, 2649, 2651, 2658, 2659, 2666, 2683, 2690, 2697, 2699, 2707, 2721, 2731, 2739, 2746, 2747, 2761, 2762, 2769, 2770, 2771, 2778, 2779, 2787, 2795]
def posList : List (Nat × Nat) := [(2603, 2), (2605, 3), (2606, 1), (2607, 1), (2609, 2), (2611, 2), (2613, 1), (2614, 1), (2615, 1), (2617, 2), (2621, 1), (2622, 1), (2623, 1), (2627, 2), (2629, 1), (2630, 1), (2631, 1), (2633, 2), (2638, 1), (2639, 1), (2642, 2), (2647, 1), (2653, 1), (2654, 1), (2657, 2), (2661, 1), (2663, 1), (2665, 2), (2667, 2), (2669, 3), (2670, 1), (2671, 1), (2674, 2), (2  -- (+613 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero14 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos14 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck14

#print axioms MonskyCheck14.sel_zero14
#print axioms MonskyCheck14.sel_pos14

bsd/MonskyCheck140.lean

lean_all/bsd/MonskyCheck140.lean

/-
  bsd/MonskyCheck140.lean — T39 cycle 488 (goal G205): Monsky's 2-Selmer matrix for squarefree 27801 ≤ n ≤ 28000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck140
open MonskyCheck

def zeroList : List Nat := [27802, 27803, 27818, 27827, 27834, 27835, 27841, 27843, 27849, 27851, 27858, 27859, 27866, 27874, 27883, 27890, 27899, 27906, 27907, 27914, 27923, 27929, 27931, 27937, 27938, 27939, 27947, 27962, 27969, 27970, 27971, 27978, 27993, 27994]
def posList : List (Nat × Nat) := [(27805, 1), (27806, 1), (27807, 1), (27809, 2), (27811, 2), (27813, 3), (27814, 1), (27815, 1), (27817, 2), (27821, 1), (27822, 1), (27823, 1), (27826, 2), (27829, 1), (27831, 1), (27833, 2), (27838, 1), (27839, 1), (27842, 2), (27845, 3), (27847, 1), (27853, 1), (27854, 1), (27857, 2), (27861, 1), (27862, 1), (27863, 1), (27865, 2), (27867, 2), (27870, 1), (2787  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero140 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos140 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck140

#print axioms MonskyCheck140.sel_zero140
#print axioms MonskyCheck140.sel_pos140

bsd/MonskyCheck141.lean

lean_all/bsd/MonskyCheck141.lean

/-
  bsd/MonskyCheck141.lean — T39 cycle 489 (goal G206): Monsky's 2-Selmer matrix for squarefree 28001 ≤ n ≤ 28200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck141
open MonskyCheck

def zeroList : List Nat := [28002, 28003, 28019, 28027, 28034, 28043, 28051, 28058, 28059, 28073, 28082, 28083, 28099, 28113, 28115, 28122, 28123, 28131, 28137, 28138, 28139, 28146, 28147, 28155, 28163, 28171, 28177, 28187, 28194]
def posList : List (Nat × Nat) := [(28001, 2), (28005, 1), (28006, 3), (28007, 3), (28009, 2), (28010, 2), (28011, 2), (28013, 1), (28014, 1), (28015, 1), (28018, 2), (28021, 1), (28022, 1), (28023, 1), (28029, 1), (28030, 1), (28031, 1), (28038, 1), (28039, 1), (28041, 2), (28042, 2), (28045, 3), (28046, 1), (28047, 1), (28049, 2), (28055, 1), (28057, 2), (28061, 1), (28063, 1), (28065, 2), (2806  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero141 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos141 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck141

#print axioms MonskyCheck141.sel_zero141
#print axioms MonskyCheck141.sel_pos141

bsd/MonskyCheck142.lean

lean_all/bsd/MonskyCheck142.lean

/-
  bsd/MonskyCheck142.lean — T39 cycle 490 (goal G207): Monsky's 2-Selmer matrix for squarefree 28201 ≤ n ≤ 28400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck142
open MonskyCheck

def zeroList : List Nat := [28202, 28209, 28210, 28211, 28219, 28226, 28235, 28257, 28259, 28267, 28274, 28283, 28290, 28298, 28307, 28330, 28331, 28337, 28338, 28346, 28347, 28355, 28362, 28369, 28370, 28379, 28385, 28387, 28394]
def posList : List (Nat × Nat) := [(28201, 2), (28203, 2), (28205, 3), (28207, 1), (28213, 3), (28214, 1), (28217, 2), (28218, 2), (28221, 3), (28222, 3), (28229, 1), (28230, 1), (28231, 3), (28234, 2), (28237, 1), (28238, 3), (28239, 1), (28241, 2), (28243, 2), (28245, 1), (28246, 1), (28247, 3), (28249, 2), (28253, 1), (28254, 1), (28255, 1), (28258, 2), (28261, 1), (28262, 1), (28263, 1), (2826  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero142 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos142 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck142

#print axioms MonskyCheck142.sel_zero142
#print axioms MonskyCheck142.sel_pos142

bsd/MonskyCheck143.lean

lean_all/bsd/MonskyCheck143.lean

/-
  bsd/MonskyCheck143.lean — T39 cycle 491 (goal G208): Monsky's 2-Selmer matrix for squarefree 28401 ≤ n ≤ 28600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck143
open MonskyCheck

def zeroList : List Nat := [28401, 28402, 28403, 28410, 28411, 28418, 28419, 28426, 28442, 28443, 28466, 28473, 28474, 28481, 28483, 28490, 28491, 28499, 28507, 28514, 28515, 28522, 28523, 28531, 28547, 28554, 28563, 28569, 28570, 28571, 28579, 28586, 28595]
def posList : List (Nat × Nat) := [(28405, 1), (28406, 1), (28407, 1), (28409, 2), (28414, 1), (28415, 1), (28417, 2), (28421, 3), (28423, 1), (28427, 2), (28429, 1), (28430, 1), (28433, 2), (28434, 2), (28437, 1), (28438, 3), (28439, 1), (28441, 2), (28445, 3), (28446, 1), (28447, 1), (28451, 2), (28453, 1), (28454, 1), (28455, 1), (28457, 2), (28459, 2), (28461, 1), (28462, 1), (28463, 1), (2846  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero143 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos143 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck143

#print axioms MonskyCheck143.sel_zero143
#print axioms MonskyCheck143.sel_pos143

bsd/MonskyCheck144.lean

lean_all/bsd/MonskyCheck144.lean

/-
  bsd/MonskyCheck144.lean — T39 cycle 493 (goal G210): Monsky's 2-Selmer matrix for squarefree 28601 ≤ n ≤ 28800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck144
open MonskyCheck

def zeroList : List Nat := [28603, 28609, 28610, 28617, 28619, 28626, 28627, 28635, 28641, 28643, 28651, 28659, 28666, 28682, 28689, 28698, 28699, 28707, 28713, 28715, 28722, 28723, 28754, 28761, 28762, 28771, 28778, 28779, 28785, 28786, 28787, 28795]
def posList : List (Nat × Nat) := [(28601, 2), (28605, 1), (28606, 1), (28607, 1), (28613, 1), (28614, 3), (28615, 1), (28618, 2), (28621, 1), (28622, 1), (28623, 1), (28630, 1), (28631, 1), (28633, 2), (28634, 2), (28637, 1), (28639, 1), (28642, 2), (28645, 1), (28646, 1), (28649, 2), (28653, 1), (28654, 1), (28655, 3), (28657, 2), (28658, 2), (28661, 1), (28662, 1), (28663, 1), (28667, 2), (2866  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero144 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos144 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck144

#print axioms MonskyCheck144.sel_zero144
#print axioms MonskyCheck144.sel_pos144

bsd/MonskyCheck145.lean

lean_all/bsd/MonskyCheck145.lean

/-
  bsd/MonskyCheck145.lean — T39 cycle 494 (goal G211): Monsky's 2-Selmer matrix for squarefree 28801 ≤ n ≤ 29000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck145
open MonskyCheck

def zeroList : List Nat := [28801, 28810, 28834, 28842, 28843, 28851, 28857, 28859, 28865, 28867, 28874, 28906, 28915, 28922, 28923, 28929, 28930, 28931, 28937, 28939, 28945, 28969, 28970, 28977, 28979, 28985, 28986, 28987, 28994, 28995]
def posList : List (Nat × Nat) := [(28802, 2), (28803, 2), (28805, 1), (28806, 3), (28807, 1), (28811, 2), (28813, 1), (28814, 1), (28815, 3), (28817, 2), (28819, 2), (28821, 1), (28822, 1), (28823, 1), (28826, 2), (28829, 1), (28831, 1), (28833, 2), (28835, 2), (28837, 1), (28838, 1), (28839, 1), (28841, 2), (28846, 1), (28847, 1), (28849, 2), (28853, 1), (28855, 3), (28858, 2), (28862, 1), (2886  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero145 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos145 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck145

#print axioms MonskyCheck145.sel_zero145
#print axioms MonskyCheck145.sel_pos145

bsd/MonskyCheck146.lean

lean_all/bsd/MonskyCheck146.lean

/-
  bsd/MonskyCheck146.lean — T39 cycle 495 (goal G212): Monsky's 2-Selmer matrix for squarefree 29001 ≤ n ≤ 29200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck146
open MonskyCheck

def zeroList : List Nat := [29002, 29003, 29011, 29019, 29027, 29035, 29042, 29049, 29051, 29059, 29066, 29067, 29073, 29082, 29083, 29089, 29090, 29098, 29099, 29114, 29123, 29131, 29139, 29145, 29146, 29147, 29170, 29171, 29177, 29179]
def posList : List (Nat × Nat) := [(29001, 2), (29005, 3), (29006, 1), (29009, 2), (29010, 2), (29013, 1), (29014, 1), (29015, 1), (29017, 2), (29018, 2), (29021, 1), (29022, 1), (29023, 1), (29026, 2), (29029, 1), (29030, 1), (29031, 1), (29033, 2), (29037, 1), (29038, 1), (29039, 3), (29041, 4), (29045, 1), (29046, 1), (29047, 3), (29053, 3), (29054, 1), (29055, 3), (29058, 2), (29062, 3), (2906  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero146 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos146 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck146

#print axioms MonskyCheck146.sel_zero146
#print axioms MonskyCheck146.sel_pos146

bsd/MonskyCheck147.lean

lean_all/bsd/MonskyCheck147.lean

/-
  bsd/MonskyCheck147.lean — T39 cycle 497 (goal G213): Monsky's 2-Selmer matrix for squarefree 29201 ≤ n ≤ 29400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck147
open MonskyCheck

def zeroList : List Nat := [29202, 29203, 29217, 29227, 29235, 29242, 29243, 29249, 29251, 29258, 29283, 29290, 29291, 29306, 29315, 29329, 29338, 29339, 29347, 29354, 29355, 29361, 29362, 29363, 29369, 29378, 29386, 29387, 29393]
def posList : List (Nat × Nat) := [(29201, 2), (29206, 3), (29207, 1), (29209, 2), (29210, 2), (29211, 2), (29213, 1), (29215, 1), (29218, 2), (29219, 2), (29221, 1), (29222, 3), (29226, 2), (29229, 1), (29230, 1), (29231, 1), (29233, 4), (29234, 2), (29238, 1), (29239, 1), (29245, 3), (29246, 1), (29247, 1), (29254, 1), (29255, 1), (29257, 4), (29261, 3), (29262, 1), (29263, 1), (29265, 2), (2926  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero147 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos147 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck147

#print axioms MonskyCheck147.sel_zero147
#print axioms MonskyCheck147.sel_pos147

bsd/MonskyCheck148.lean

lean_all/bsd/MonskyCheck148.lean

/-
  bsd/MonskyCheck148.lean — T39 cycle 498 (goal G214): Monsky's 2-Selmer matrix for squarefree 29401 ≤ n ≤ 29600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck148
open MonskyCheck

def zeroList : List Nat := [29409, 29411, 29418, 29419, 29433, 29434, 29441, 29442, 29443, 29458, 29467, 29482, 29483, 29490, 29491, 29499, 29505, 29507, 29513, 29515, 29522, 29530, 29531, 29539, 29546, 29553, 29555, 29570, 29571, 29577, 29578, 29586, 29587, 29594, 29595]
def posList : List (Nat × Nat) := [(29401, 2), (29402, 2), (29405, 3), (29407, 3), (29410, 2), (29413, 1), (29414, 1), (29415, 1), (29417, 2), (29422, 1), (29423, 1), (29426, 2), (29427, 2), (29429, 1), (29431, 1), (29437, 1), (29438, 3), (29445, 1), (29446, 1), (29447, 1), (29451, 2), (29453, 1), (29454, 1), (29455, 1), (29459, 2), (29461, 3), (29462, 1), (29463, 1), (29465, 2), (29469, 1), (2947  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero148 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos148 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck148

#print axioms MonskyCheck148.sel_zero148
#print axioms MonskyCheck148.sel_pos148

bsd/MonskyCheck149.lean

lean_all/bsd/MonskyCheck149.lean

/-
  bsd/MonskyCheck149.lean — T39 cycle 499 (goal G215): Monsky's 2-Selmer matrix for squarefree 29601 ≤ n ≤ 29800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck149
open MonskyCheck

def zeroList : List Nat := [29611, 29618, 29626, 29634, 29635, 29642, 29649, 29651, 29666, 29667, 29674, 29681, 29683, 29689, 29706, 29713, 29714, 29715, 29721, 29723, 29730, 29737, 29738, 29746, 29747, 29769, 29777, 29778, 29785, 29787, 29793]
def posList : List (Nat × Nat) := [(29603, 2), (29605, 3), (29606, 3), (29607, 1), (29609, 2), (29613, 1), (29614, 3), (29615, 1), (29617, 2), (29621, 1), (29622, 1), (29623, 1), (29627, 2), (29629, 1), (29630, 1), (29631, 1), (29633, 2), (29638, 1), (29639, 1), (29641, 2), (29643, 2), (29647, 3), (29653, 1), (29654, 1), (29657, 2), (29658, 2), (29659, 2), (29661, 1), (29662, 1), (29663, 1), (2966  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero149 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos149 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck149

#print axioms MonskyCheck149.sel_zero149
#print axioms MonskyCheck149.sel_pos149

bsd/MonskyCheck15.lean

lean_all/bsd/MonskyCheck15.lean

/-
  bsd/MonskyCheck15.lean — T39 cycle 334 (goal G69): Monsky's 2-Selmer matrix for squarefree 2801 ≤ n ≤ 3000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck15
open MonskyCheck

def zeroList : List Nat := [2802, 2803, 2819, 2834, 2841, 2843, 2851, 2858, 2859, 2881, 2882, 2899, 2905, 2906, 2913, 2922, 2923, 2930, 2931, 2937, 2939, 2946, 2955, 2963, 2971, 2986, 2994]
def posList : List (Nat × Nat) := [(2801, 2), (2805, 1), (2806, 1), (2807, 3), (2810, 2), (2811, 2), (2813, 1), (2814, 1), (2815, 1), (2818, 2), (2821, 1), (2822, 3), (2823, 1), (2827, 2), (2829, 1), (2830, 1), (2831, 1), (2833, 2), (2837, 1), (2838, 3), (2839, 1), (2845, 3), (2846, 1), (2847, 1), (2849, 2), (2854, 1), (2855, 1), (2857, 2), (2861, 1), (2863, 1), (2865, 2), (2866, 2), (2867, 2), (2  -- (+679 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero15 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos15 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck15

#print axioms MonskyCheck15.sel_zero15
#print axioms MonskyCheck15.sel_pos15

bsd/MonskyCheck150.lean

lean_all/bsd/MonskyCheck150.lean

/-
  bsd/MonskyCheck150.lean — T39 cycle 500 (goal G216): Monsky's 2-Selmer matrix for squarefree 29801 ≤ n ≤ 30000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck150
open MonskyCheck

def zeroList : List Nat := [29803, 29811, 29818, 29819, 29827, 29834, 29842, 29843, 29849, 29851, 29867, 29874, 29882, 29891, 29906, 29914, 29922, 29931, 29937, 29946, 29947, 29955, 29962, 29987, 29994, 29995]
def posList : List (Nat × Nat) := [(29801, 4), (29802, 2), (29805, 1), (29806, 3), (29807, 1), (29809, 2), (29810, 2), (29813, 1), (29814, 3), (29815, 3), (29821, 1), (29822, 1), (29823, 1), (29829, 1), (29830, 1), (29831, 3), (29833, 2), (29837, 1), (29838, 1), (29839, 1), (29845, 1), (29846, 1), (29847, 1), (29854, 1), (29855, 1), (29857, 2), (29858, 2), (29859, 2), (29861, 3), (29863, 1), (2986  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero150 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos150 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck150

#print axioms MonskyCheck150.sel_zero150
#print axioms MonskyCheck150.sel_pos150

bsd/MonskyCheck151.lean

lean_all/bsd/MonskyCheck151.lean

/-
  bsd/MonskyCheck151.lean — T39 cycle 502 (goal G218): Monsky's 2-Selmer matrix for squarefree 30001 ≤ n ≤ 30200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck151
open MonskyCheck

def zeroList : List Nat := [30001, 30011, 30018, 30026, 30035, 30041, 30058, 30059, 30065, 30066, 30067, 30074, 30090, 30091, 30098, 30106, 30115, 30121, 30122, 30130, 30138, 30139, 30147, 30154, 30155, 30162, 30170, 30171, 30179, 30187]
def posList : List (Nat × Nat) := [(30002, 2), (30003, 2), (30005, 1), (30007, 1), (30009, 2), (30010, 2), (30013, 1), (30014, 1), (30017, 2), (30019, 2), (30021, 1), (30022, 3), (30023, 1), (30027, 2), (30029, 1), (30030, 1), (30031, 1), (30034, 2), (30038, 1), (30039, 1), (30043, 2), (30045, 1), (30046, 1), (30047, 1), (30049, 2), (30053, 3), (30054, 1), (30055, 1), (30057, 2), (30061, 1), (3006  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero151 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos151 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck151

#print axioms MonskyCheck151.sel_zero151
#print axioms MonskyCheck151.sel_pos151

bsd/MonskyCheck152.lean

lean_all/bsd/MonskyCheck152.lean

/-
  bsd/MonskyCheck152.lean — T39 cycle 503 (goal G219): Monsky's 2-Selmer matrix for squarefree 30201 ≤ n ≤ 30400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck152
open MonskyCheck

def zeroList : List Nat := [30201, 30202, 30203, 30210, 30211, 30219, 30235, 30243, 30259, 30266, 30273, 30281, 30290, 30297, 30298, 30306, 30307, 30314, 30323, 30346, 30347, 30354, 30355, 30369, 30370, 30378, 30385]
def posList : List (Nat × Nat) := [(30205, 1), (30206, 1), (30207, 1), (30209, 4), (30214, 1), (30215, 1), (30217, 2), (30218, 2), (30221, 1), (30223, 1), (30226, 2), (30227, 2), (30229, 1), (30230, 1), (30234, 2), (30237, 1), (30238, 1), (30239, 1), (30241, 2), (30242, 2), (30245, 1), (30247, 3), (30253, 1), (30254, 1), (30255, 1), (30257, 2), (30261, 1), (30262, 1), (30263, 1), (30265, 2), (3026  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero152 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos152 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck152

#print axioms MonskyCheck152.sel_zero152
#print axioms MonskyCheck152.sel_pos152

bsd/MonskyCheck153.lean

lean_all/bsd/MonskyCheck153.lean

/-
  bsd/MonskyCheck153.lean — T39 cycle 504 (goal G220): Monsky's 2-Selmer matrix for squarefree 30401 ≤ n ≤ 30600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck153
open MonskyCheck

def zeroList : List Nat := [30401, 30403, 30417, 30418, 30426, 30427, 30441, 30442, 30457, 30458, 30459, 30467, 30489, 30491, 30498, 30499, 30507, 30514, 30538, 30539, 30554, 30562, 30563, 30569, 30571, 30579, 30594]
def posList : List (Nat × Nat) := [(30405, 1), (30406, 1), (30407, 1), (30409, 2), (30410, 2), (30413, 3), (30414, 1), (30415, 1), (30419, 2), (30421, 3), (30422, 1), (30423, 1), (30430, 1), (30431, 1), (30433, 2), (30434, 2), (30435, 2), (30437, 1), (30439, 1), (30443, 2), (30445, 3), (30446, 1), (30449, 2), (30451, 2), (30453, 1), (30454, 1), (30455, 1), (30461, 1), (30462, 1), (30463, 3), (3046  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero153 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos153 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck153

#print axioms MonskyCheck153.sel_zero153
#print axioms MonskyCheck153.sel_pos153

bsd/MonskyCheck154.lean

lean_all/bsd/MonskyCheck154.lean

/-
  bsd/MonskyCheck154.lean — T39 cycle 505 (goal G221): Monsky's 2-Selmer matrix for squarefree 30601 ≤ n ≤ 30800, by rfl.
  s₂(n) = 0 for 22 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck154
open MonskyCheck

def zeroList : List Nat := [30610, 30611, 30633, 30635, 30642, 30643, 30651, 30657, 30666, 30698, 30706, 30707, 30714, 30715, 30729, 30738, 30746, 30761, 30763, 30777, 30785, 30795]
def posList : List (Nat × Nat) := [(30601, 2), (30602, 2), (30605, 3), (30606, 1), (30607, 1), (30614, 1), (30615, 1), (30617, 4), (30619, 2), (30621, 1), (30622, 1), (30623, 1), (30626, 2), (30629, 3), (30630, 1), (30631, 1), (30637, 1), (30638, 1), (30639, 1), (30641, 2), (30646, 1), (30647, 1), (30649, 2), (30653, 3), (30655, 1), (30658, 2), (30659, 2), (30661, 1), (30662, 1), (30665, 2), (3066  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero154 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos154 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck154

#print axioms MonskyCheck154.sel_zero154
#print axioms MonskyCheck154.sel_pos154

bsd/MonskyCheck155.lean

lean_all/bsd/MonskyCheck155.lean

/-
  bsd/MonskyCheck155.lean — T39 cycle 506 (goal G222): Monsky's 2-Selmer matrix for squarefree 30801 ≤ n ≤ 31000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck155
open MonskyCheck

def zeroList : List Nat := [30801, 30803, 30811, 30818, 30826, 30827, 30833, 30835, 30842, 30849, 30851, 30857, 30858, 30859, 30867, 30873, 30874, 30882, 30905, 30913, 30921, 30922, 30931, 30938, 30939, 30945, 30954, 30971, 30986, 30993]
def posList : List (Nat × Nat) := [(30802, 2), (30805, 3), (30806, 3), (30809, 2), (30810, 2), (30813, 1), (30814, 3), (30815, 1), (30817, 2), (30819, 2), (30822, 1), (30823, 1), (30829, 1), (30830, 1), (30831, 1), (30837, 1), (30838, 1), (30839, 1), (30841, 2), (30845, 3), (30846, 3), (30847, 1), (30853, 1), (30854, 1), (30862, 1), (30863, 1), (30865, 2), (30866, 2), (30869, 1), (30871, 1), (3087  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero155 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos155 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck155

#print axioms MonskyCheck155.sel_zero155
#print axioms MonskyCheck155.sel_pos155

bsd/MonskyCheck156.lean

lean_all/bsd/MonskyCheck156.lean

/-
  bsd/MonskyCheck156.lean — T39 cycle 507 (goal G223): Monsky's 2-Selmer matrix for squarefree 31001 ≤ n ≤ 31200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck156
open MonskyCheck

def zeroList : List Nat := [31002, 31003, 31009, 31010, 31011, 31019, 31026, 31027, 31034, 31035, 31042, 31051, 31058, 31074, 31082, 31089, 31090, 31091, 31099, 31123, 31130, 31137, 31139, 31147, 31154, 31155, 31161, 31162, 31163, 31170, 31171, 31178, 31179, 31187, 31195]
def posList : List (Nat × Nat) := [(31001, 2), (31006, 1), (31007, 1), (31013, 1), (31015, 1), (31018, 2), (31021, 1), (31022, 1), (31029, 1), (31030, 1), (31031, 1), (31033, 2), (31037, 1), (31038, 1), (31039, 1), (31043, 2), (31045, 1), (31047, 1), (31049, 2), (31053, 1), (31054, 1), (31055, 1), (31057, 2), (31061, 1), (31062, 1), (31063, 1), (31065, 2), (31067, 2), (31069, 1), (31070, 1), (3107  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero156 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos156 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck156

#print axioms MonskyCheck156.sel_zero156
#print axioms MonskyCheck156.sel_pos156

bsd/MonskyCheck157.lean

lean_all/bsd/MonskyCheck157.lean

/-
  bsd/MonskyCheck157.lean — T39 cycle 508 (goal G224): Monsky's 2-Selmer matrix for squarefree 31201 ≤ n ≤ 31400, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck157
open MonskyCheck

def zeroList : List Nat := [31209, 31217, 31219, 31226, 31233, 31235, 31242, 31251, 31258, 31259, 31267, 31273, 31274, 31281, 31283, 31289, 31299, 31305, 31306, 31307, 31314, 31315, 31322, 31323, 31330, 31331, 31361, 31362, 31370, 31371, 31377, 31378, 31379, 31387, 31394, 31395]
def posList : List (Nat × Nat) := [(31201, 4), (31202, 2), (31206, 1), (31207, 1), (31210, 2), (31214, 1), (31215, 1), (31222, 1), (31223, 1), (31227, 2), (31229, 1), (31231, 1), (31234, 2), (31237, 1), (31238, 1), (31241, 2), (31243, 2), (31245, 1), (31246, 3), (31247, 1), (31249, 2), (31253, 1), (31254, 3), (31255, 1), (31261, 1), (31263, 1), (31269, 1), (31270, 1), (31271, 1), (31277, 1), (3127  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero157 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos157 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck157

#print axioms MonskyCheck157.sel_zero157
#print axioms MonskyCheck157.sel_pos157

bsd/MonskyCheck158.lean

lean_all/bsd/MonskyCheck158.lean

/-
  bsd/MonskyCheck158.lean — T39 cycle 509 (goal G225): Monsky's 2-Selmer matrix for squarefree 31401 ≤ n ≤ 31600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck158
open MonskyCheck

def zeroList : List Nat := [31402, 31403, 31411, 31426, 31427, 31435, 31443, 31451, 31457, 31459, 31465, 31466, 31467, 31497, 31498, 31499, 31521, 31523, 31530, 31531, 31538, 31546, 31547, 31553, 31562, 31570, 31571, 31577, 31578, 31587, 31593, 31594]
def posList : List (Nat × Nat) := [(31405, 1), (31406, 1), (31413, 1), (31414, 3), (31415, 1), (31417, 2), (31418, 2), (31421, 3), (31422, 1), (31429, 3), (31430, 3), (31431, 1), (31438, 1), (31439, 1), (31441, 2), (31442, 2), (31445, 1), (31447, 1), (31449, 2), (31453, 1), (31454, 1), (31461, 1), (31462, 1), (31463, 1), (31469, 1), (31470, 1), (31471, 1), (31474, 2), (31477, 1), (31478, 1), (3147  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero158 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos158 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck158

#print axioms MonskyCheck158.sel_zero158
#print axioms MonskyCheck158.sel_pos158

bsd/MonskyCheck159.lean

lean_all/bsd/MonskyCheck159.lean

/-
  bsd/MonskyCheck159.lean — T39 cycle 510 (goal G226): Monsky's 2-Selmer matrix for squarefree 31601 ≤ n ≤ 31800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck159
open MonskyCheck

def zeroList : List Nat := [31602, 31610, 31611, 31627, 31642, 31643, 31651, 31658, 31659, 31667, 31673, 31683, 31691, 31699, 31706, 31714, 31715, 31722, 31723, 31730, 31737, 31738, 31739, 31745, 31754, 31771, 31777, 31794]
def posList : List (Nat × Nat) := [(31601, 2), (31606, 1), (31607, 1), (31609, 2), (31613, 1), (31614, 1), (31615, 1), (31618, 2), (31619, 2), (31621, 1), (31622, 3), (31623, 1), (31629, 1), (31630, 1), (31631, 1), (31633, 2), (31634, 2), (31637, 3), (31638, 1), (31639, 1), (31641, 2), (31645, 3), (31646, 1), (31647, 1), (31649, 2), (31655, 1), (31657, 2), (31661, 1), (31663, 1), (31665, 2), (3166  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero159 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos159 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck159

#print axioms MonskyCheck159.sel_zero159
#print axioms MonskyCheck159.sel_pos159

bsd/MonskyCheck16.lean

lean_all/bsd/MonskyCheck16.lean

/-
  bsd/MonskyCheck16.lean — T39 cycle 336 (goal G70): Monsky's 2-Selmer matrix for squarefree 3001 ≤ n ≤ 3200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck16
open MonskyCheck

def zeroList : List Nat := [3009, 3010, 3011, 3019, 3035, 3057, 3058, 3066, 3067, 3074, 3082, 3083, 3091, 3097, 3098, 3107, 3113, 3115, 3130, 3138, 3139, 3147, 3153, 3154, 3162, 3163, 3170, 3178, 3187, 3194]
def posList : List (Nat × Nat) := [(3001, 2), (3002, 2), (3003, 2), (3005, 3), (3007, 3), (3013, 1), (3014, 3), (3017, 2), (3018, 2), (3021, 1), (3022, 1), (3023, 1), (3026, 4), (3027, 2), (3029, 3), (3030, 1), (3031, 1), (3034, 2), (3037, 1), (3039, 1), (3041, 2), (3043, 2), (3045, 1), (3046, 1), (3047, 1), (3049, 2), (3053, 1), (3054, 1), (3055, 1), (3059, 2), (3061, 1), (3062, 1), (3063, 1), (3  -- (+657 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero16 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos16 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck16

#print axioms MonskyCheck16.sel_zero16
#print axioms MonskyCheck16.sel_pos16

bsd/MonskyCheck160.lean

lean_all/bsd/MonskyCheck160.lean

/-
  bsd/MonskyCheck160.lean — T39 cycle 511 (goal G227): Monsky's 2-Selmer matrix for squarefree 31801 ≤ n ≤ 32000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck160
open MonskyCheck

def zeroList : List Nat := [31802, 31803, 31810, 31819, 31835, 31843, 31859, 31866, 31881, 31883, 31889, 31891, 31907, 31922, 31929, 31938, 31946, 31953, 31954, 31955, 31962, 31963, 31970, 31978, 31994]
def posList : List (Nat × Nat) := [(31805, 3), (31807, 3), (31809, 2), (31811, 2), (31813, 3), (31814, 1), (31817, 2), (31818, 2), (31821, 1), (31822, 1), (31826, 2), (31829, 1), (31830, 1), (31831, 1), (31834, 2), (31837, 1), (31838, 1), (31839, 1), (31841, 2), (31845, 1), (31846, 1), (31847, 1), (31849, 2), (31853, 1), (31854, 1), (31855, 1), (31857, 2), (31858, 4), (31861, 1), (31862, 3), (3186  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero160 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos160 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck160

#print axioms MonskyCheck160.sel_zero160
#print axioms MonskyCheck160.sel_pos160

bsd/MonskyCheck161.lean

lean_all/bsd/MonskyCheck161.lean

/-
  bsd/MonskyCheck161.lean — T39 cycle 512 (goal G228): Monsky's 2-Selmer matrix for squarefree 32001 ≤ n ≤ 32200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck161
open MonskyCheck

def zeroList : List Nat := [32001, 32003, 32011, 32019, 32027, 32035, 32043, 32051, 32059, 32073, 32082, 32083, 32091, 32098, 32099, 32107, 32115, 32122, 32123, 32131, 32138, 32145, 32147, 32153, 32162, 32169, 32170, 32178, 32179, 32195]
def posList : List (Nat × Nat) := [(32002, 2), (32005, 1), (32006, 1), (32007, 1), (32009, 2), (32010, 2), (32014, 1), (32015, 1), (32017, 2), (32018, 2), (32021, 1), (32023, 3), (32026, 2), (32029, 1), (32030, 1), (32033, 2), (32034, 2), (32037, 1), (32038, 3), (32039, 3), (32042, 2), (32045, 1), (32047, 3), (32053, 1), (32054, 1), (32055, 1), (32057, 2), (32061, 1), (32062, 1), (32063, 1), (3206  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero161 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos161 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck161

#print axioms MonskyCheck161.sel_zero161
#print axioms MonskyCheck161.sel_pos161

bsd/MonskyCheck162.lean

lean_all/bsd/MonskyCheck162.lean

/-
  bsd/MonskyCheck162.lean — T39 cycle 513 (goal G229): Monsky's 2-Selmer matrix for squarefree 32201 ≤ n ≤ 32400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck162
open MonskyCheck

def zeroList : List Nat := [32203, 32210, 32217, 32218, 32219, 32226, 32227, 32234, 32235, 32241, 32251, 32266, 32273, 32281, 32282, 32289, 32290, 32298, 32299, 32305, 32306, 32313, 32314, 32315, 32322, 32323, 32329, 32339, 32361, 32363, 32370, 32371, 32378, 32387]
def posList : List (Nat × Nat) := [(32201, 2), (32205, 1), (32206, 1), (32207, 1), (32209, 2), (32213, 1), (32214, 1), (32215, 1), (32221, 1), (32222, 1), (32223, 1), (32230, 1), (32231, 1), (32233, 2), (32237, 1), (32239, 3), (32243, 2), (32245, 3), (32246, 1), (32249, 2), (32253, 1), (32254, 1), (32255, 1), (32257, 2), (32259, 2), (32261, 1), (32262, 1), (32263, 1), (32267, 2), (32270, 1), (3227  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero162 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos162 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck162

#print axioms MonskyCheck162.sel_zero162
#print axioms MonskyCheck162.sel_pos162

bsd/MonskyCheck163.lean

lean_all/bsd/MonskyCheck163.lean

/-
  bsd/MonskyCheck163.lean — T39 cycle 514 (goal G230): Monsky's 2-Selmer matrix for squarefree 32401 ≤ n ≤ 32600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck163
open MonskyCheck

def zeroList : List Nat := [32411, 32419, 32426, 32435, 32442, 32443, 32458, 32459, 32467, 32482, 32491, 32506, 32507, 32514, 32515, 32522, 32530, 32531, 32538, 32539, 32545, 32547, 32554, 32555, 32563, 32570, 32577, 32578, 32579, 32586, 32587, 32593, 32594]
def posList : List (Nat × Nat) := [(32401, 2), (32402, 4), (32403, 2), (32405, 3), (32406, 1), (32407, 3), (32410, 2), (32413, 1), (32414, 1), (32415, 3), (32417, 2), (32421, 1), (32422, 1), (32423, 1), (32429, 1), (32430, 1), (32431, 3), (32433, 2), (32434, 2), (32437, 1), (32439, 1), (32441, 2), (32446, 1), (32447, 1), (32449, 2), (32451, 2), (32453, 1), (32455, 1), (32457, 2), (32461, 1), (3246  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero163 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos163 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck163

#print axioms MonskyCheck163.sel_zero163
#print axioms MonskyCheck163.sel_pos163

bsd/MonskyCheck164.lean

lean_all/bsd/MonskyCheck164.lean

/-
  bsd/MonskyCheck164.lean — T39 cycle 515 (goal G231): Monsky's 2-Selmer matrix for squarefree 32601 ≤ n ≤ 32800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck164
open MonskyCheck

def zeroList : List Nat := [32601, 32602, 32603, 32611, 32619, 32626, 32642, 32649, 32658, 32659, 32665, 32666, 32667, 32673, 32681, 32682, 32691, 32698, 32707, 32721, 32723, 32731, 32737, 32747, 32762, 32763, 32771, 32779, 32795]
def posList : List (Nat × Nat) := [(32605, 3), (32606, 3), (32609, 2), (32610, 2), (32613, 1), (32614, 1), (32615, 1), (32618, 2), (32621, 1), (32622, 1), (32623, 3), (32627, 2), (32629, 1), (32630, 1), (32631, 3), (32633, 2), (32635, 2), (32637, 1), (32638, 1), (32639, 1), (32641, 2), (32645, 3), (32646, 1), (32647, 1), (32651, 2), (32653, 1), (32654, 1), (32655, 1), (32662, 1), (32663, 3), (3266  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero164 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos164 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck164

#print axioms MonskyCheck164.sel_zero164
#print axioms MonskyCheck164.sel_pos164

bsd/MonskyCheck165.lean

lean_all/bsd/MonskyCheck165.lean

/-
  bsd/MonskyCheck165.lean — T39 cycle 516 (goal G232): Monsky's 2-Selmer matrix for squarefree 32801 ≤ n ≤ 33000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck165
open MonskyCheck

def zeroList : List Nat := [32803, 32810, 32811, 32817, 32818, 32827, 32842, 32843, 32849, 32865, 32874, 32881, 32890, 32897, 32898, 32899, 32906, 32923, 32930, 32937, 32939, 32947, 32954, 32961, 32963, 32971, 32978, 32986, 32987]
def posList : List (Nat × Nat) := [(32801, 2), (32802, 2), (32806, 1), (32807, 1), (32809, 2), (32813, 1), (32815, 1), (32819, 2), (32821, 1), (32822, 1), (32826, 2), (32829, 1), (32831, 1), (32833, 2), (32834, 2), (32835, 2), (32837, 1), (32838, 1), (32839, 1), (32845, 3), (32846, 1), (32847, 1), (32853, 1), (32854, 1), (32855, 1), (32857, 2), (32858, 2), (32861, 1), (32862, 1), (32863, 1), (3286  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero165 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos165 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck165

#print axioms MonskyCheck165.sel_zero165
#print axioms MonskyCheck165.sel_pos165

bsd/MonskyCheck166.lean

lean_all/bsd/MonskyCheck166.lean

/-
  bsd/MonskyCheck166.lean — T39 cycle 518 (goal G234): Monsky's 2-Selmer matrix for squarefree 33001 ≤ n ≤ 33200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck166
open MonskyCheck

def zeroList : List Nat := [33002, 33009, 33010, 33018, 33027, 33034, 33035, 33042, 33043, 33059, 33081, 33082, 33083, 33090, 33091, 33098, 33099, 33105, 33107, 33115, 33121, 33130, 33139, 33145, 33146, 33162, 33171, 33177, 33178, 33179, 33186, 33193, 33194, 33195]
def posList : List (Nat × Nat) := [(33001, 2), (33005, 1), (33006, 1), (33007, 1), (33011, 2), (33013, 1), (33014, 3), (33015, 1), (33017, 2), (33019, 2), (33022, 1), (33023, 1), (33029, 1), (33031, 1), (33037, 1), (33038, 1), (33041, 2), (33045, 1), (33046, 1), (33047, 1), (33049, 2), (33051, 2), (33053, 1), (33054, 1), (33055, 1), (33058, 2), (33061, 1), (33062, 1), (33063, 1), (33065, 2), (3306  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero166 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos166 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck166

#print axioms MonskyCheck166.sel_zero166
#print axioms MonskyCheck166.sel_pos166

bsd/MonskyCheck167.lean

lean_all/bsd/MonskyCheck167.lean

/-
  bsd/MonskyCheck167.lean — T39 cycle 519 (goal G235): Monsky's 2-Selmer matrix for squarefree 33201 ≤ n ≤ 33400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck167
open MonskyCheck

def zeroList : List Nat := [33202, 33203, 33209, 33211, 33217, 33226, 33227, 33234, 33242, 33243, 33249, 33297, 33322, 33330, 33331, 33338, 33347, 33355, 33370, 33378, 33385, 33386, 33387, 33393, 33394]
def posList : List (Nat × Nat) := [(33205, 3), (33206, 1), (33207, 1), (33213, 1), (33214, 1), (33215, 3), (33218, 4), (33221, 1), (33223, 1), (33229, 1), (33230, 1), (33231, 1), (33233, 2), (33238, 1), (33239, 1), (33241, 2), (33245, 3), (33247, 1), (33251, 2), (33253, 1), (33254, 1), (33257, 2), (33258, 2), (33259, 2), (33261, 1), (33262, 1), (33263, 1), (33265, 2), (33266, 2), (33267, 2), (3326  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero167 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos167 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck167

#print axioms MonskyCheck167.sel_zero167
#print axioms MonskyCheck167.sel_pos167

bsd/MonskyCheck168.lean

lean_all/bsd/MonskyCheck168.lean

/-
  bsd/MonskyCheck168.lean — T39 cycle 520 (goal G236): Monsky's 2-Selmer matrix for squarefree 33401 ≤ n ≤ 33600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck168
open MonskyCheck

def zeroList : List Nat := [33402, 33403, 33410, 33427, 33433, 33434, 33443, 33449, 33465, 33466, 33473, 33482, 33497, 33499, 33506, 33513, 33514, 33515, 33522, 33531, 33539, 33547, 33554, 33555, 33562, 33563, 33571, 33587]
def posList : List (Nat × Nat) := [(33401, 2), (33405, 1), (33406, 1), (33407, 1), (33409, 2), (33411, 2), (33413, 1), (33414, 3), (33415, 3), (33419, 2), (33421, 1), (33422, 1), (33423, 1), (33429, 1), (33430, 1), (33431, 1), (33437, 3), (33438, 1), (33439, 3), (33441, 2), (33442, 2), (33445, 3), (33446, 1), (33447, 1), (33451, 2), (33454, 1), (33455, 1), (33457, 2), (33458, 2), (33459, 2), (3346  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero168 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos168 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck168

#print axioms MonskyCheck168.sel_zero168
#print axioms MonskyCheck168.sel_pos168

bsd/MonskyCheck169.lean

lean_all/bsd/MonskyCheck169.lean

/-
  bsd/MonskyCheck169.lean — T39 cycle 521 (goal G237): Monsky's 2-Selmer matrix for squarefree 33601 ≤ n ≤ 33800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck169
open MonskyCheck

def zeroList : List Nat := [33602, 33609, 33611, 33618, 33619, 33626, 33627, 33634, 33643, 33657, 33658, 33659, 33667, 33681, 33682, 33689, 33690, 33698, 33707, 33715, 33729, 33730, 33731, 33737, 33738, 33739, 33747, 33753, 33754, 33755, 33762, 33763, 33770, 33794]
def posList : List (Nat × Nat) := [(33601, 2), (33603, 2), (33605, 1), (33607, 1), (33610, 2), (33613, 1), (33617, 2), (33621, 1), (33622, 1), (33623, 1), (33629, 1), (33630, 1), (33637, 1), (33639, 1), (33641, 2), (33645, 1), (33646, 1), (33647, 1), (33649, 2), (33653, 3), (33654, 1), (33655, 1), (33661, 3), (33662, 1), (33665, 2), (33666, 2), (33670, 1), (33671, 1), (33673, 2), (33674, 2), (3367  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero169 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos169 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck169

#print axioms MonskyCheck169.sel_zero169
#print axioms MonskyCheck169.sel_pos169

bsd/MonskyCheck17.lean

lean_all/bsd/MonskyCheck17.lean

/-
  bsd/MonskyCheck17.lean — T39 cycle 338 (goal G71): Monsky's 2-Selmer matrix for squarefree 3201 ≤ n ≤ 3400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck17
open MonskyCheck

def zeroList : List Nat := [3203, 3210, 3219, 3226, 3227, 3235, 3242, 3251, 3259, 3273, 3274, 3282, 3291, 3297, 3299, 3306, 3307, 3315, 3323, 3331, 3338, 3345, 3347, 3354, 3363, 3369, 3370, 3371, 3377, 3378, 3386, 3395]
def posList : List (Nat × Nat) := [(3201, 2), (3202, 2), (3205, 3), (3206, 1), (3207, 1), (3209, 2), (3214, 1), (3215, 1), (3217, 2), (3218, 2), (3221, 1), (3223, 1), (3229, 1), (3230, 1), (3233, 2), (3237, 1), (3238, 1), (3239, 1), (3241, 2), (3243, 2), (3245, 1), (3246, 1), (3247, 3), (3253, 1), (3254, 1), (3255, 1), (3257, 2), (3261, 1), (3262, 3), (3263, 1), (3265, 2), (3266, 2), (3269, 1), (3  -- (+646 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero17 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos17 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck17

#print axioms MonskyCheck17.sel_zero17
#print axioms MonskyCheck17.sel_pos17

bsd/MonskyCheck170.lean

lean_all/bsd/MonskyCheck170.lean

/-
  bsd/MonskyCheck170.lean — T39 cycle 523 (goal G238): Monsky's 2-Selmer matrix for squarefree 33801 ≤ n ≤ 34000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck170
open MonskyCheck

def zeroList : List Nat := [33801, 33802, 33811, 33818, 33819, 33826, 33827, 33835, 33841, 33843, 33851, 33866, 33873, 33882, 33890, 33891, 33897, 33898, 33906, 33907, 33913, 33923, 33931, 33945, 33946, 33953, 33954, 33962, 33963, 33970, 33978, 33985, 33995]
def posList : List (Nat × Nat) := [(33803, 2), (33805, 3), (33806, 1), (33807, 1), (33809, 2), (33814, 1), (33815, 1), (33817, 2), (33821, 1), (33823, 1), (33829, 1), (33830, 1), (33833, 2), (33834, 2), (33837, 1), (33838, 3), (33839, 1), (33842, 2), (33845, 1), (33846, 3), (33847, 1), (33853, 1), (33854, 1), (33855, 1), (33857, 2), (33861, 1), (33862, 1), (33863, 1), (33865, 4), (33869, 1), (3387  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero170 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos170 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck170

#print axioms MonskyCheck170.sel_zero170
#print axioms MonskyCheck170.sel_pos170

bsd/MonskyCheck171.lean

lean_all/bsd/MonskyCheck171.lean

/-
  bsd/MonskyCheck171.lean — T39 cycle 525 (goal G239): Monsky's 2-Selmer matrix for squarefree 34001 ≤ n ≤ 34200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck171
open MonskyCheck

def zeroList : List Nat := [34003, 34010, 34017, 34019, 34027, 34034, 34042, 34051, 34058, 34067, 34089, 34091, 34098, 34106, 34107, 34114, 34115, 34123, 34130, 34139, 34147, 34154, 34162, 34170, 34171, 34177, 34179, 34186, 34187, 34194, 34195]
def posList : List (Nat × Nat) := [(34005, 1), (34007, 1), (34009, 2), (34013, 1), (34014, 1), (34015, 1), (34018, 2), (34021, 3), (34022, 1), (34023, 1), (34026, 2), (34030, 3), (34031, 1), (34033, 2), (34035, 2), (34037, 1), (34039, 1), (34041, 2), (34043, 2), (34045, 1), (34046, 1), (34049, 2), (34053, 1), (34054, 1), (34057, 2), (34059, 2), (34061, 1), (34062, 1), (34063, 3), (34066, 2), (3406  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero171 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos171 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck171

#print axioms MonskyCheck171.sel_zero171
#print axioms MonskyCheck171.sel_pos171

bsd/MonskyCheck172.lean

lean_all/bsd/MonskyCheck172.lean

/-
  bsd/MonskyCheck172.lean — T39 cycle 526 (goal G240): Monsky's 2-Selmer matrix for squarefree 34201 ≤ n ≤ 34400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck172
open MonskyCheck

def zeroList : List Nat := [34210, 34211, 34219, 34226, 34233, 34234, 34235, 34242, 34257, 34259, 34265, 34267, 34282, 34283, 34305, 34315, 34323, 34329, 34330, 34331, 34338, 34339, 34346, 34370, 34377, 34378, 34379, 34386, 34387, 34393, 34395]
def posList : List (Nat × Nat) := [(34201, 2), (34203, 2), (34205, 3), (34206, 1), (34207, 3), (34213, 1), (34214, 1), (34215, 3), (34217, 2), (34221, 1), (34222, 1), (34223, 1), (34229, 1), (34230, 1), (34231, 1), (34237, 1), (34238, 3), (34239, 1), (34241, 4), (34246, 1), (34247, 1), (34249, 2), (34253, 1), (34255, 1), (34258, 2), (34261, 1), (34262, 1), (34266, 2), (34269, 1), (34270, 1), (3427  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero172 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos172 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck172

#print axioms MonskyCheck172.sel_zero172
#print axioms MonskyCheck172.sel_pos172

bsd/MonskyCheck173.lean

lean_all/bsd/MonskyCheck173.lean

/-
  bsd/MonskyCheck173.lean — T39 cycle 527 (goal G241): Monsky's 2-Selmer matrix for squarefree 34401 ≤ n ≤ 34600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck173
open MonskyCheck

def zeroList : List Nat := [34401, 34403, 34409, 34410, 34411, 34419, 34427, 34435, 34442, 34449, 34458, 34466, 34467, 34473, 34474, 34482, 34483, 34489, 34499, 34505, 34507, 34521, 34522, 34531, 34538, 34554, 34561, 34562, 34563, 34570, 34571, 34586, 34595]
def posList : List (Nat × Nat) := [(34402, 2), (34405, 1), (34406, 1), (34413, 1), (34414, 1), (34415, 1), (34417, 2), (34418, 2), (34421, 1), (34422, 3), (34423, 1), (34426, 2), (34429, 1), (34430, 1), (34431, 1), (34433, 2), (34437, 1), (34438, 3), (34439, 1), (34441, 2), (34446, 1), (34451, 2), (34453, 1), (34454, 1), (34455, 1), (34457, 2), (34459, 2), (34462, 1), (34463, 1), (34465, 2), (3446  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero173 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos173 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck173

#print axioms MonskyCheck173.sel_zero173
#print axioms MonskyCheck173.sel_pos173

bsd/MonskyCheck174.lean

lean_all/bsd/MonskyCheck174.lean

/-
  bsd/MonskyCheck174.lean — T39 cycle 528 (goal G242): Monsky's 2-Selmer matrix for squarefree 34601 ≤ n ≤ 34800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck174
open MonskyCheck

def zeroList : List Nat := [34603, 34610, 34617, 34619, 34626, 34633, 34634, 34635, 34651, 34666, 34667, 34674, 34682, 34690, 34723, 34730, 34737, 34738, 34739, 34746, 34747, 34755, 34761, 34762, 34763, 34770, 34771, 34777, 34778, 34793]
def posList : List (Nat × Nat) := [(34601, 2), (34602, 2), (34607, 1), (34609, 2), (34611, 2), (34613, 1), (34615, 1), (34618, 2), (34621, 1), (34622, 3), (34627, 2), (34629, 1), (34630, 1), (34631, 1), (34637, 1), (34638, 1), (34639, 1), (34642, 2), (34646, 3), (34647, 1), (34649, 2), (34653, 1), (34654, 1), (34655, 3), (34657, 2), (34658, 2), (34661, 1), (34662, 1), (34663, 3), (34665, 2), (3466  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero174 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos174 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck174

#print axioms MonskyCheck174.sel_zero174
#print axioms MonskyCheck174.sel_pos174

bsd/MonskyCheck175.lean

lean_all/bsd/MonskyCheck175.lean

/-
  bsd/MonskyCheck175.lean — T39 cycle 529 (goal G243): Monsky's 2-Selmer matrix for squarefree 34801 ≤ n ≤ 35000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck175
open MonskyCheck

def zeroList : List Nat := [34809, 34811, 34819, 34835, 34843, 34858, 34865, 34867, 34873, 34882, 34883, 34889, 34890, 34899, 34905, 34907, 34915, 34922, 34930, 34939, 34946, 34953, 34954, 34962, 34963, 34970, 34971, 34977, 34995]
def posList : List (Nat × Nat) := [(34801, 2), (34802, 2), (34805, 3), (34806, 1), (34807, 1), (34813, 1), (34815, 1), (34817, 2), (34818, 2), (34822, 1), (34823, 1), (34826, 2), (34827, 2), (34829, 1), (34831, 1), (34833, 2), (34834, 2), (34837, 1), (34838, 1), (34841, 2), (34842, 2), (34845, 1), (34846, 1), (34847, 1), (34849, 2), (34851, 2), (34853, 1), (34854, 1), (34855, 1), (34859, 2), (3486  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero175 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos175 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck175

#print axioms MonskyCheck175.sel_zero175
#print axioms MonskyCheck175.sel_pos175

bsd/MonskyCheck176.lean

lean_all/bsd/MonskyCheck176.lean

/-
  bsd/MonskyCheck176.lean — T39 cycle 531 (goal G245): Monsky's 2-Selmer matrix for squarefree 35001 ≤ n ≤ 35200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck176
open MonskyCheck

def zeroList : List Nat := [35002, 35003, 35011, 35018, 35026, 35027, 35034, 35041, 35043, 35049, 35051, 35057, 35058, 35059, 35066, 35074, 35083, 35097, 35099, 35105, 35106, 35107, 35114, 35130, 35146, 35162, 35169, 35170, 35171, 35178, 35179, 35193, 35194]
def posList : List (Nat × Nat) := [(35005, 3), (35006, 3), (35007, 1), (35009, 2), (35013, 1), (35014, 1), (35015, 1), (35021, 1), (35022, 1), (35023, 1), (35029, 1), (35030, 1), (35031, 1), (35033, 2), (35038, 1), (35039, 1), (35042, 2), (35045, 1), (35047, 1), (35053, 1), (35054, 1), (35061, 1), (35062, 1), (35063, 3), (35065, 2), (35067, 2), (35069, 1), (35070, 1), (35071, 1), (35077, 1), (3507  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero176 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos176 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck176

#print axioms MonskyCheck176.sel_zero176
#print axioms MonskyCheck176.sel_pos176

bsd/MonskyCheck177.lean

lean_all/bsd/MonskyCheck177.lean

/-
  bsd/MonskyCheck177.lean — T39 cycle 532 (goal G246): Monsky's 2-Selmer matrix for squarefree 35201 ≤ n ≤ 35400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck177
open MonskyCheck

def zeroList : List Nat := [35202, 35203, 35227, 35233, 35242, 35243, 35251, 35259, 35266, 35267, 35283, 35291, 35299, 35305, 35306, 35313, 35323, 35330, 35331, 35337, 35338, 35339, 35347, 35354, 35355, 35363, 35385]
def posList : List (Nat × Nat) := [(35201, 2), (35205, 1), (35206, 1), (35207, 1), (35209, 4), (35210, 2), (35213, 1), (35214, 1), (35215, 1), (35218, 2), (35219, 2), (35221, 1), (35222, 1), (35223, 1), (35229, 1), (35230, 1), (35234, 2), (35237, 1), (35238, 1), (35239, 1), (35241, 2), (35245, 1), (35246, 1), (35247, 1), (35249, 2), (35254, 1), (35255, 3), (35257, 2), (35261, 3), (35263, 1), (3526  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero177 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos177 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck177

#print axioms MonskyCheck177.sel_zero177
#print axioms MonskyCheck177.sel_pos177

bsd/MonskyCheck178.lean

lean_all/bsd/MonskyCheck178.lean

/-
  bsd/MonskyCheck178.lean — T39 cycle 533 (goal G247): Monsky's 2-Selmer matrix for squarefree 35401 ≤ n ≤ 35600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck178
open MonskyCheck

def zeroList : List Nat := [35402, 35403, 35410, 35417, 35419, 35435, 35441, 35459, 35473, 35481, 35491, 35497, 35498, 35507, 35515, 35530, 35531, 35538, 35546, 35553, 35554, 35555, 35561, 35563, 35570, 35578, 35579, 35585]
def posList : List (Nat × Nat) := [(35401, 2), (35405, 1), (35407, 1), (35409, 2), (35411, 2), (35413, 1), (35414, 1), (35418, 2), (35421, 1), (35422, 3), (35423, 1), (35426, 2), (35429, 1), (35430, 1), (35431, 1), (35434, 2), (35437, 1), (35438, 1), (35439, 1), (35445, 1), (35446, 1), (35447, 1), (35449, 2), (35454, 1), (35455, 1), (35457, 2), (35458, 2), (35461, 1), (35462, 1), (35463, 1), (3546  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero178 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos178 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck178

#print axioms MonskyCheck178.sel_zero178
#print axioms MonskyCheck178.sel_pos178

bsd/MonskyCheck179.lean

lean_all/bsd/MonskyCheck179.lean

/-
  bsd/MonskyCheck179.lean — T39 cycle 534 (goal G248): Monsky's 2-Selmer matrix for squarefree 35601 ≤ n ≤ 35800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck179
open MonskyCheck

def zeroList : List Nat := [35601, 35603, 35610, 35611, 35618, 35634, 35635, 35665, 35674, 35690, 35691, 35697, 35698, 35706, 35707, 35715, 35722, 35731, 35745, 35746, 35747, 35754, 35761, 35763, 35769, 35771, 35777, 35778, 35779, 35786, 35794]
def posList : List (Nat × Nat) := [(35602, 2), (35605, 3), (35606, 3), (35607, 1), (35609, 2), (35614, 1), (35615, 1), (35617, 2), (35619, 2), (35621, 1), (35626, 2), (35627, 2), (35629, 1), (35630, 1), (35633, 2), (35637, 1), (35638, 1), (35639, 1), (35641, 2), (35642, 2), (35645, 3), (35646, 1), (35647, 1), (35651, 2), (35653, 1), (35654, 1), (35655, 1), (35657, 2), (35661, 1), (35662, 1), (3566  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero179 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos179 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck179

#print axioms MonskyCheck179.sel_zero179
#print axioms MonskyCheck179.sel_pos179

bsd/MonskyCheck18.lean

lean_all/bsd/MonskyCheck18.lean

/-
  bsd/MonskyCheck18.lean — T39 cycle 339 (goal G72): Monsky's 2-Selmer matrix for squarefree 3401 ≤ n ≤ 3600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck18
open MonskyCheck

def zeroList : List Nat := [3401, 3410, 3417, 3418, 3426, 3427, 3441, 3451, 3466, 3467, 3482, 3489, 3490, 3491, 3499, 3513, 3514, 3515, 3522, 3523, 3530, 3531, 3538, 3539, 3547, 3553, 3561, 3562, 3563, 3569, 3571, 3578, 3579, 3586, 3587]
def posList : List (Nat × Nat) := [(3403, 2), (3405, 1), (3406, 1), (3407, 1), (3409, 2), (3413, 1), (3414, 1), (3415, 1), (3419, 2), (3421, 1), (3422, 1), (3423, 1), (3431, 1), (3433, 2), (3434, 2), (3435, 2), (3437, 1), (3439, 1), (3442, 2), (3443, 2), (3445, 1), (3446, 1), (3449, 2), (3453, 1), (3454, 1), (3455, 1), (3457, 2), (3458, 2), (3459, 2), (3461, 1), (3462, 3), (3463, 1), (3469, 1), (3  -- (+580 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero18 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos18 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck18

#print axioms MonskyCheck18.sel_zero18
#print axioms MonskyCheck18.sel_pos18

bsd/MonskyCheck180.lean

lean_all/bsd/MonskyCheck180.lean

/-
  bsd/MonskyCheck180.lean — T39 cycle 535 (goal G249): Monsky's 2-Selmer matrix for squarefree 35801 ≤ n ≤ 36000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck180
open MonskyCheck

def zeroList : List Nat := [35803, 35810, 35817, 35818, 35834, 35843, 35849, 35851, 35866, 35867, 35891, 35899, 35905, 35906, 35907, 35913, 35914, 35922, 35923, 35929, 35930, 35939, 35947, 35961, 35962, 35963, 35971, 35978, 35979, 35986, 35994, 35995]
def posList : List (Nat × Nat) := [(35801, 2), (35805, 1), (35806, 1), (35807, 1), (35809, 2), (35813, 1), (35814, 1), (35815, 1), (35821, 3), (35822, 1), (35823, 1), (35826, 2), (35827, 2), (35830, 1), (35831, 1), (35833, 2), (35835, 2), (35837, 1), (35839, 1), (35841, 2), (35842, 2), (35845, 1), (35846, 1), (35853, 1), (35854, 1), (35855, 3), (35857, 2), (35858, 2), (35859, 2), (35861, 1), (3586  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero180 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos180 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck180

#print axioms MonskyCheck180.sel_zero180
#print axioms MonskyCheck180.sel_pos180

bsd/MonskyCheck181.lean

lean_all/bsd/MonskyCheck181.lean

/-
  bsd/MonskyCheck181.lean — T39 cycle 536 (goal G250): Monsky's 2-Selmer matrix for squarefree 36001 ≤ n ≤ 36200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck181
open MonskyCheck

def zeroList : List Nat := [36003, 36011, 36019, 36026, 36033, 36034, 36035, 36042, 36049, 36066, 36067, 36074, 36083, 36091, 36105, 36106, 36107, 36122, 36123, 36129, 36130, 36131, 36138, 36154, 36155, 36170, 36177, 36187, 36195]
def posList : List (Nat × Nat) := [(36001, 2), (36002, 2), (36005, 1), (36006, 1), (36007, 1), (36010, 2), (36013, 1), (36014, 1), (36017, 2), (36021, 1), (36022, 1), (36023, 1), (36029, 1), (36030, 3), (36031, 3), (36037, 1), (36038, 1), (36039, 1), (36041, 2), (36043, 2), (36046, 1), (36047, 1), (36051, 2), (36053, 1), (36055, 1), (36057, 2), (36059, 2), (36061, 1), (36062, 1), (36065, 2), (3606  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero181 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos181 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck181

#print axioms MonskyCheck181.sel_zero181
#print axioms MonskyCheck181.sel_pos181

bsd/MonskyCheck182.lean

lean_all/bsd/MonskyCheck182.lean

/-
  bsd/MonskyCheck182.lean — T39 cycle 537 (goal G251): Monsky's 2-Selmer matrix for squarefree 36201 ≤ n ≤ 36400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck182
open MonskyCheck

def zeroList : List Nat := [36202, 36203, 36226, 36227, 36233, 36235, 36249, 36251, 36258, 36266, 36289, 36290, 36298, 36299, 36307, 36321, 36330, 36339, 36345, 36347, 36354, 36362, 36370, 36377, 36379, 36385, 36394]
def posList : List (Nat × Nat) := [(36201, 2), (36205, 1), (36206, 1), (36209, 2), (36210, 2), (36213, 1), (36214, 1), (36215, 1), (36217, 2), (36218, 2), (36219, 2), (36221, 1), (36222, 1), (36223, 1), (36229, 1), (36230, 1), (36231, 1), (36237, 1), (36238, 1), (36239, 3), (36241, 2), (36242, 2), (36245, 1), (36246, 1), (36247, 1), (36253, 1), (36254, 1), (36255, 1), (36257, 2), (36259, 2), (3626  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero182 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos182 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck182

#print axioms MonskyCheck182.sel_zero182
#print axioms MonskyCheck182.sel_pos182

bsd/MonskyCheck183.lean

lean_all/bsd/MonskyCheck183.lean

/-
  bsd/MonskyCheck183.lean — T39 cycle 538 (goal G252): Monsky's 2-Selmer matrix for squarefree 36401 ≤ n ≤ 36600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck183
open MonskyCheck

def zeroList : List Nat := [36402, 36410, 36418, 36419, 36426, 36443, 36451, 36458, 36465, 36467, 36474, 36483, 36489, 36491, 36499, 36506, 36507, 36515, 36521, 36523, 36530, 36538, 36539, 36546, 36553, 36555, 36561, 36562, 36563, 36571, 36579, 36587, 36593, 36595]
def posList : List (Nat × Nat) := [(36401, 4), (36403, 2), (36406, 1), (36409, 2), (36411, 2), (36413, 1), (36415, 1), (36417, 2), (36422, 1), (36427, 2), (36429, 1), (36430, 1), (36431, 3), (36433, 2), (36434, 2), (36435, 2), (36437, 1), (36438, 3), (36439, 1), (36442, 2), (36445, 1), (36446, 1), (36447, 1), (36449, 2), (36453, 1), (36454, 1), (36455, 1), (36457, 2), (36462, 1), (36463, 3), (3646  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero183 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos183 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck183

#print axioms MonskyCheck183.sel_zero183
#print axioms MonskyCheck183.sel_pos183

bsd/MonskyCheck184.lean

lean_all/bsd/MonskyCheck184.lean

/-
  bsd/MonskyCheck184.lean — T39 cycle 539 (goal G253): Monsky's 2-Selmer matrix for squarefree 36601 ≤ n ≤ 36800, by rfl.
  s₂(n) = 0 for 41 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck184
open MonskyCheck

def zeroList : List Nat := [36602, 36609, 36611, 36619, 36627, 36633, 36634, 36635, 36641, 36643, 36649, 36651, 36667, 36674, 36681, 36682, 36683, 36689, 36690, 36691, 36698, 36699, 36705, 36714, 36715, 36722, 36730, 36731, 36739, 36746, 36753, 36762, 36769, 36770, 36771, 36779, 36785, 36786, 36787, 36794, 36795]
def posList : List (Nat × Nat) := [(36601, 2), (36605, 3), (36606, 1), (36607, 1), (36610, 2), (36613, 1), (36614, 1), (36615, 1), (36617, 2), (36618, 2), (36622, 1), (36623, 1), (36626, 2), (36629, 1), (36631, 3), (36637, 1), (36638, 1), (36642, 2), (36645, 1), (36646, 3), (36647, 1), (36653, 1), (36654, 1), (36655, 1), (36658, 2), (36659, 2), (36661, 3), (36662, 1), (36665, 2), (36669, 1), (3667  -- (+630 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero184 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos184 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck184

#print axioms MonskyCheck184.sel_zero184
#print axioms MonskyCheck184.sel_pos184

bsd/MonskyCheck185.lean

lean_all/bsd/MonskyCheck185.lean

/-
  bsd/MonskyCheck185.lean — T39 cycle 540 (goal G254): Monsky's 2-Selmer matrix for squarefree 36801 ≤ n ≤ 37000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck185
open MonskyCheck

def zeroList : List Nat := [36803, 36811, 36817, 36826, 36834, 36835, 36843, 36849, 36859, 36898, 36899, 36906, 36907, 36915, 36922, 36923, 36930, 36931, 36937, 36938, 36947, 36969, 36970, 36971, 36978, 36979, 36986, 36987, 36993, 36994]
def posList : List (Nat × Nat) := [(36802, 2), (36805, 1), (36806, 3), (36807, 1), (36809, 2), (36813, 1), (36814, 1), (36815, 1), (36818, 4), (36821, 1), (36823, 1), (36827, 2), (36829, 3), (36830, 1), (36831, 1), (36833, 2), (36838, 3), (36839, 1), (36841, 2), (36845, 3), (36847, 1), (36851, 2), (36853, 1), (36854, 1), (36857, 2), (36858, 2), (36861, 1), (36862, 3), (36863, 3), (36865, 2), (3686  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero185 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos185 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck185

#print axioms MonskyCheck185.sel_zero185
#print axioms MonskyCheck185.sel_pos185

bsd/MonskyCheck186.lean

lean_all/bsd/MonskyCheck186.lean

/-
  bsd/MonskyCheck186.lean — T39 cycle 542 (goal G256): Monsky's 2-Selmer matrix for squarefree 37001 ≤ n ≤ 37200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck186
open MonskyCheck

def zeroList : List Nat := [37001, 37002, 37003, 37010, 37019, 37034, 37041, 37043, 37059, 37066, 37073, 37074, 37081, 37082, 37090, 37091, 37113, 37114, 37123, 37129, 37130, 37131, 37137, 37139, 37145, 37146, 37154, 37155, 37162, 37163, 37171, 37178, 37194, 37195]
def posList : List (Nat × Nat) := [(37005, 1), (37006, 1), (37007, 1), (37009, 2), (37013, 1), (37014, 1), (37015, 1), (37018, 2), (37021, 1), (37022, 1), (37023, 1), (37027, 2), (37029, 1), (37031, 1), (37033, 2), (37037, 1), (37038, 1), (37039, 1), (37042, 2), (37045, 3), (37046, 1), (37047, 1), (37049, 2), (37051, 2), (37054, 3), (37055, 1), (37057, 2), (37058, 2), (37061, 1), (37063, 1), (3706  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero186 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos186 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck186

#print axioms MonskyCheck186.sel_zero186
#print axioms MonskyCheck186.sel_pos186

bsd/MonskyCheck187.lean

lean_all/bsd/MonskyCheck187.lean

/-
  bsd/MonskyCheck187.lean — T39 cycle 543 (goal G257): Monsky's 2-Selmer matrix for squarefree 37201 ≤ n ≤ 37400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck187
open MonskyCheck

def zeroList : List Nat := [37202, 37203, 37209, 37211, 37218, 37219, 37226, 37235, 37243, 37257, 37259, 37266, 37267, 37274, 37283, 37290, 37291, 37297, 37307, 37315, 37322, 37330, 37331, 37339, 37345, 37353, 37362, 37363, 37370, 37378, 37379]
def posList : List (Nat × Nat) := [(37201, 2), (37205, 1), (37207, 1), (37213, 1), (37214, 3), (37217, 2), (37221, 1), (37222, 1), (37223, 1), (37227, 2), (37229, 1), (37230, 1), (37231, 1), (37234, 2), (37237, 1), (37238, 1), (37239, 1), (37241, 2), (37245, 1), (37246, 1), (37247, 1), (37253, 1), (37254, 1), (37255, 1), (37258, 2), (37261, 1), (37262, 1), (37263, 1), (37265, 2), (37270, 1), (3727  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero187 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos187 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck187

#print axioms MonskyCheck187.sel_zero187
#print axioms MonskyCheck187.sel_pos187

bsd/MonskyCheck188.lean

lean_all/bsd/MonskyCheck188.lean

/-
  bsd/MonskyCheck188.lean — T39 cycle 544 (goal G258): Monsky's 2-Selmer matrix for squarefree 37401 ≤ n ≤ 37600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck188
open MonskyCheck

def zeroList : List Nat := [37402, 37410, 37418, 37419, 37427, 37433, 37434, 37435, 37451, 37459, 37465, 37473, 37482, 37483, 37490, 37491, 37498, 37506, 37507, 37514, 37545, 37546, 37547, 37555, 37563, 37571, 37579, 37594, 37595]
def posList : List (Nat × Nat) := [(37401, 2), (37403, 2), (37405, 3), (37406, 1), (37407, 3), (37409, 2), (37411, 2), (37414, 1), (37415, 1), (37417, 2), (37421, 1), (37423, 1), (37426, 2), (37429, 1), (37430, 1), (37437, 1), (37438, 1), (37439, 1), (37441, 2), (37442, 4), (37443, 2), (37445, 3), (37447, 1), (37453, 1), (37454, 1), (37455, 1), (37457, 2), (37461, 1), (37462, 1), (37463, 1), (3746  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero188 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos188 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck188

#print axioms MonskyCheck188.sel_zero188
#print axioms MonskyCheck188.sel_pos188

bsd/MonskyCheck189.lean

lean_all/bsd/MonskyCheck189.lean

/-
  bsd/MonskyCheck189.lean — T39 cycle 545 (goal G259): Monsky's 2-Selmer matrix for squarefree 37601 ≤ n ≤ 37800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck189
open MonskyCheck

def zeroList : List Nat := [37601, 37617, 37619, 37626, 37635, 37641, 37642, 37643, 37666, 37667, 37682, 37689, 37691, 37697, 37698, 37699, 37707, 37713, 37714, 37721, 37723, 37738, 37747, 37753, 37754, 37761, 37769, 37771, 37778, 37787, 37794]
def posList : List (Nat × Nat) := [(37603, 2), (37605, 1), (37606, 1), (37607, 1), (37609, 2), (37610, 2), (37613, 1), (37614, 1), (37615, 1), (37618, 2), (37621, 1), (37622, 1), (37623, 1), (37627, 2), (37630, 1), (37633, 2), (37634, 2), (37637, 1), (37639, 1), (37645, 3), (37646, 3), (37649, 2), (37651, 2), (37653, 1), (37654, 1), (37655, 1), (37657, 2), (37658, 2), (37659, 2), (37661, 1), (3766  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero189 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos189 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck189

#print axioms MonskyCheck189.sel_zero189
#print axioms MonskyCheck189.sel_pos189

bsd/MonskyCheck19.lean

lean_all/bsd/MonskyCheck19.lean

/-
  bsd/MonskyCheck19.lean — T39 cycle 343 (goal G73): Monsky's 2-Selmer matrix for squarefree 3601 ≤ n ≤ 3800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck19
open MonskyCheck

def zeroList : List Nat := [3611, 3619, 3633, 3635, 3641, 3642, 3643, 3651, 3657, 3659, 3666, 3667, 3683, 3691, 3706, 3707, 3714, 3715, 3722, 3723, 3729, 3730, 3731, 3738, 3739, 3745, 3754, 3763, 3770, 3777, 3779, 3786, 3795]
def posList : List (Nat × Nat) := [(3601, 2), (3602, 2), (3603, 2), (3605, 1), (3606, 3), (3607, 1), (3613, 1), (3614, 1), (3615, 3), (3617, 2), (3621, 1), (3622, 1), (3623, 1), (3629, 1), (3631, 1), (3634, 2), (3637, 1), (3638, 1), (3639, 1), (3646, 1), (3647, 1), (3649, 2), (3653, 1), (3655, 1), (3658, 2), (3661, 1), (3662, 1), (3665, 2), (3669, 1), (3670, 1), (3671, 1), (3673, 2), (3674, 2), (3  -- (+558 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero19 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos19 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck19

#print axioms MonskyCheck19.sel_zero19
#print axioms MonskyCheck19.sel_pos19

bsd/MonskyCheck190.lean

lean_all/bsd/MonskyCheck190.lean

/-
  bsd/MonskyCheck190.lean — T39 cycle 546 (goal G260): Monsky's 2-Selmer matrix for squarefree 37801 ≤ n ≤ 38000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck190
open MonskyCheck

def zeroList : List Nat := [37810, 37811, 37833, 37834, 37835, 37842, 37843, 37851, 37857, 37874, 37898, 37906, 37907, 37915, 37922, 37923, 37930, 37931, 37937, 37938, 37939, 37946, 37947, 37961, 37963, 37969, 37970, 37977, 37978, 37979, 37987, 37995]
def posList : List (Nat × Nat) := [(37801, 2), (37802, 2), (37803, 2), (37805, 3), (37806, 1), (37807, 1), (37813, 1), (37814, 1), (37815, 3), (37817, 2), (37819, 2), (37821, 3), (37822, 1), (37823, 1), (37826, 2), (37829, 1), (37830, 1), (37831, 1), (37837, 1), (37838, 1), (37839, 1), (37841, 2), (37846, 1), (37847, 1), (37849, 2), (37853, 1), (37855, 1), (37858, 2), (37861, 1), (37862, 3), (3786  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero190 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos190 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck190

#print axioms MonskyCheck190.sel_zero190
#print axioms MonskyCheck190.sel_pos190

bsd/MonskyCheck191.lean

lean_all/bsd/MonskyCheck191.lean

/-
  bsd/MonskyCheck191.lean — T39 cycle 547 (goal G261): Monsky's 2-Selmer matrix for squarefree 38001 ≤ n ≤ 38200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck191
open MonskyCheck

def zeroList : List Nat := [38001, 38003, 38010, 38011, 38019, 38026, 38035, 38042, 38051, 38057, 38058, 38059, 38065, 38067, 38074, 38083, 38098, 38107, 38121, 38129, 38130, 38137, 38138, 38139, 38145, 38147, 38155, 38170, 38185, 38186]
def posList : List (Nat × Nat) := [(38002, 2), (38005, 1), (38006, 1), (38009, 2), (38013, 1), (38014, 1), (38015, 1), (38017, 2), (38018, 2), (38021, 3), (38022, 3), (38023, 1), (38027, 2), (38029, 1), (38030, 1), (38031, 1), (38033, 2), (38037, 1), (38038, 1), (38039, 1), (38041, 2), (38045, 1), (38046, 1), (38047, 1), (38049, 2), (38053, 1), (38054, 1), (38055, 1), (38062, 1), (38063, 1), (3806  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero191 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos191 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck191

#print axioms MonskyCheck191.sel_zero191
#print axioms MonskyCheck191.sel_pos191

bsd/MonskyCheck192.lean

lean_all/bsd/MonskyCheck192.lean

/-
  bsd/MonskyCheck192.lean — T39 cycle 548 (goal G262): Monsky's 2-Selmer matrix for squarefree 38201 ≤ n ≤ 38400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck192
open MonskyCheck

def zeroList : List Nat := [38202, 38203, 38209, 38210, 38217, 38219, 38235, 38251, 38257, 38258, 38267, 38274, 38282, 38289, 38290, 38298, 38299, 38305, 38306, 38314, 38323, 38330, 38337, 38338, 38339, 38346, 38355, 38361, 38362, 38370, 38371, 38378, 38379, 38395]
def posList : List (Nat × Nat) := [(38201, 2), (38206, 1), (38207, 1), (38211, 2), (38213, 1), (38215, 1), (38218, 2), (38221, 3), (38222, 1), (38226, 2), (38227, 2), (38229, 1), (38230, 1), (38231, 1), (38233, 2), (38234, 2), (38237, 1), (38238, 1), (38239, 1), (38242, 2), (38243, 2), (38245, 3), (38246, 1), (38247, 1), (38249, 2), (38253, 1), (38254, 3), (38255, 1), (38261, 1), (38262, 1), (3826  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero192 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos192 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck192

#print axioms MonskyCheck192.sel_zero192
#print axioms MonskyCheck192.sel_pos192

bsd/MonskyCheck193.lean

lean_all/bsd/MonskyCheck193.lean

/-
  bsd/MonskyCheck193.lean — T39 cycle 549 (goal G263): Monsky's 2-Selmer matrix for squarefree 38401 ≤ n ≤ 38600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck193
open MonskyCheck

def zeroList : List Nat := [38401, 38402, 38411, 38418, 38426, 38427, 38433, 38434, 38435, 38442, 38458, 38459, 38474, 38481, 38489, 38490, 38491, 38499, 38507, 38513, 38515, 38522, 38530, 38539, 38553, 38562, 38579, 38586, 38587]
def posList : List (Nat × Nat) := [(38405, 3), (38406, 1), (38407, 3), (38409, 2), (38410, 2), (38413, 1), (38414, 1), (38415, 3), (38417, 2), (38419, 2), (38422, 1), (38423, 1), (38429, 1), (38431, 1), (38438, 1), (38441, 2), (38443, 2), (38445, 1), (38446, 1), (38447, 1), (38449, 2), (38451, 2), (38453, 1), (38454, 1), (38455, 1), (38461, 1), (38462, 1), (38463, 1), (38467, 2), (38469, 1), (3847  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero193 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos193 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck193

#print axioms MonskyCheck193.sel_zero193
#print axioms MonskyCheck193.sel_pos193

bsd/MonskyCheck194.lean

lean_all/bsd/MonskyCheck194.lean

/-
  bsd/MonskyCheck194.lean — T39 cycle 550 (goal G264): Monsky's 2-Selmer matrix for squarefree 38601 ≤ n ≤ 38800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 82 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck194
open MonskyCheck

def zeroList : List Nat := [38602, 38603, 38611, 38618, 38634, 38635, 38643, 38651, 38657, 38659, 38665, 38666, 38674, 38697, 38699, 38706, 38707, 38714, 38715, 38721, 38722, 38723, 38730, 38746, 38747, 38753, 38755, 38761, 38762, 38769, 38770, 38778, 38786, 38794]
def posList : List (Nat × Nat) := [(38605, 1), (38606, 1), (38607, 1), (38609, 2), (38613, 1), (38614, 1), (38615, 1), (38621, 1), (38622, 1), (38623, 1), (38626, 2), (38629, 1), (38630, 1), (38631, 1), (38633, 2), (38638, 1), (38639, 1), (38641, 2), (38645, 1), (38647, 1), (38649, 2), (38653, 1), (38654, 1), (38658, 2), (38662, 1), (38667, 2), (38669, 1), (38670, 1), (38671, 1), (38677, 1), (3867  -- (+618 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero194 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos194 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck194

#print axioms MonskyCheck194.sel_zero194
#print axioms MonskyCheck194.sel_pos194

bsd/MonskyCheck195.lean

lean_all/bsd/MonskyCheck195.lean

/-
  bsd/MonskyCheck195.lean — T39 cycle 551 (goal G265): Monsky's 2-Selmer matrix for squarefree 38801 ≤ n ≤ 39000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck195
open MonskyCheck

def zeroList : List Nat := [38802, 38803, 38811, 38818, 38842, 38843, 38851, 38858, 38859, 38867, 38874, 38881, 38891, 38899, 38913, 38923, 38929, 38930, 38931, 38937, 38938, 38939, 38946, 38947, 38954, 38963, 38969, 38971, 38994]
def posList : List (Nat × Nat) := [(38801, 2), (38805, 1), (38806, 1), (38807, 1), (38810, 2), (38813, 1), (38814, 1), (38815, 1), (38819, 2), (38821, 1), (38822, 1), (38823, 1), (38827, 2), (38830, 1), (38831, 3), (38833, 2), (38834, 2), (38837, 1), (38838, 1), (38839, 1), (38845, 1), (38846, 1), (38847, 1), (38849, 2), (38854, 1), (38855, 1), (38861, 1), (38863, 1), (38865, 2), (38866, 2), (3886  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero195 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos195 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck195

#print axioms MonskyCheck195.sel_zero195
#print axioms MonskyCheck195.sel_pos195

bsd/MonskyCheck196.lean

lean_all/bsd/MonskyCheck196.lean

/-
  bsd/MonskyCheck196.lean — T39 cycle 553 (goal G267): Monsky's 2-Selmer matrix for squarefree 39001 ≤ n ≤ 39200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck196
open MonskyCheck

def zeroList : List Nat := [39001, 39002, 39003, 39009, 39010, 39017, 39018, 39019, 39043, 39058, 39059, 39081, 39082, 39091, 39107, 39115, 39129, 39131, 39139, 39147, 39162, 39163, 39170, 39171, 39178, 39193, 39194]
def posList : List (Nat × Nat) := [(39005, 3), (39007, 1), (39011, 2), (39013, 1), (39014, 1), (39021, 1), (39022, 1), (39023, 1), (39026, 2), (39027, 2), (39029, 1), (39030, 1), (39031, 3), (39034, 2), (39035, 2), (39037, 1), (39038, 1), (39041, 2), (39045, 1), (39046, 1), (39047, 1), (39049, 4), (39054, 1), (39055, 1), (39057, 2), (39061, 1), (39062, 1), (39063, 1), (39065, 4), (39066, 2), (3906  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero196 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos196 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck196

#print axioms MonskyCheck196.sel_zero196
#print axioms MonskyCheck196.sel_pos196

bsd/MonskyCheck197.lean

lean_all/bsd/MonskyCheck197.lean

/-
  bsd/MonskyCheck197.lean — T39 cycle 554 (goal G268): Monsky's 2-Selmer matrix for squarefree 39201 ≤ n ≤ 39400, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck197
open MonskyCheck

def zeroList : List Nat := [39201, 39203, 39210, 39226, 39227, 39235, 39242, 39251, 39259, 39266, 39273, 39281, 39282, 39283, 39291, 39297, 39299, 39305, 39307, 39314, 39315, 39322, 39323, 39329, 39337, 39345, 39354, 39355, 39363, 39369, 39370, 39371, 39378, 39386, 39387]
def posList : List (Nat × Nat) := [(39202, 2), (39205, 3), (39206, 1), (39207, 1), (39209, 2), (39211, 2), (39214, 3), (39215, 1), (39217, 2), (39218, 2), (39219, 2), (39221, 1), (39223, 1), (39229, 1), (39230, 1), (39233, 2), (39234, 2), (39237, 1), (39238, 1), (39239, 1), (39241, 2), (39243, 2), (39245, 1), (39246, 1), (39247, 1), (39253, 1), (39254, 3), (39255, 1), (39257, 2), (39261, 1), (3926  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero197 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos197 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck197

#print axioms MonskyCheck197.sel_zero197
#print axioms MonskyCheck197.sel_pos197

bsd/MonskyCheck198.lean

lean_all/bsd/MonskyCheck198.lean

/-
  bsd/MonskyCheck198.lean — T39 cycle 555 (goal G269): Monsky's 2-Selmer matrix for squarefree 39401 ≤ n ≤ 39600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck198
open MonskyCheck

def zeroList : List Nat := [39403, 39418, 39419, 39426, 39434, 39441, 39442, 39443, 39451, 39458, 39466, 39467, 39489, 39499, 39513, 39523, 39530, 39538, 39539, 39561, 39562, 39563, 39577, 39579, 39585, 39587]
def posList : List (Nat × Nat) := [(39405, 1), (39406, 1), (39407, 1), (39409, 2), (39410, 2), (39413, 1), (39414, 1), (39415, 1), (39417, 2), (39421, 1), (39422, 3), (39423, 1), (39427, 2), (39430, 1), (39431, 1), (39433, 2), (39435, 2), (39437, 1), (39439, 1), (39449, 2), (39453, 1), (39454, 1), (39455, 1), (39457, 2), (39459, 2), (39461, 1), (39462, 3), (39463, 1), (39469, 1), (39470, 1), (3947  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero198 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos198 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck198

#print axioms MonskyCheck198.sel_zero198
#print axioms MonskyCheck198.sel_pos198

bsd/MonskyCheck199.lean

lean_all/bsd/MonskyCheck199.lean

/-
  bsd/MonskyCheck199.lean — T39 cycle 556 (goal G270): Monsky's 2-Selmer matrix for squarefree 39601 ≤ n ≤ 39800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck199
open MonskyCheck

def zeroList : List Nat := [39603, 39610, 39611, 39619, 39626, 39633, 39634, 39635, 39642, 39651, 39657, 39658, 39659, 39666, 39667, 39683, 39689, 39691, 39705, 39706, 39707, 39714, 39721, 39722, 39723, 39729, 39731, 39738, 39763, 39770, 39777, 39779, 39786, 39794, 39795]
def posList : List (Nat × Nat) := [(39602, 2), (39606, 1), (39607, 1), (39613, 1), (39614, 1), (39615, 1), (39617, 2), (39621, 1), (39622, 1), (39623, 1), (39629, 1), (39630, 3), (39631, 1), (39637, 1), (39638, 1), (39639, 3), (39643, 2), (39646, 1), (39647, 1), (39649, 2), (39653, 1), (39655, 1), (39661, 3), (39662, 1), (39665, 2), (39669, 1), (39670, 1), (39671, 1), (39673, 2), (39674, 2), (3967  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero199 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos199 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck199

#print axioms MonskyCheck199.sel_zero199
#print axioms MonskyCheck199.sel_pos199

bsd/MonskyCheck2.lean

lean_all/bsd/MonskyCheck2.lean

/-
  bsd/MonskyCheck2.lean — T39 cycle 129: Monsky's 2-Selmer matrix for squarefree 201 ≤ n ≤ 400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values
  as listed. Agreement with the computed ranks: BSD_LOG cycle 121.
-/
import bsd.MonskyCheck

namespace MonskyCheck2
open MonskyCheck

def zeroList : List Nat := [201, 202, 209, 211, 218, 227, 235, 249, 251, 258, 266, 267, 273, 283, 290, 298, 307, 314, 321, 331, 339, 345, 346, 347, 354, 362, 370, 379, 385, 393, 394]
def posList : List (Nat × Nat) := [(203, 2), (205, 3), (206, 1), (210, 2), (213, 1), (214, 1), (215, 1), (217, 2), (219, 2), (221, 3), (222, 1), (223, 1), (226, 2), (229, 1), (230, 1), (231, 1), (233, 2), (237, 1), (238, 1), (239, 1), (241, 2), (246, 1), (247, 1), (253, 1), (254, 1), (255, 1), (257, 2), (259, 2), (262, 1), (263, 1), (265, 2), (269, 1), (271, 1), (274, 2), (277, 1), (278, 1), (281,  -- (+504 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero2 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos2 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck2

#print axioms MonskyCheck2.sel_zero2
#print axioms MonskyCheck2.sel_pos2

bsd/MonskyCheck20.lean

lean_all/bsd/MonskyCheck20.lean

/-
  bsd/MonskyCheck20.lean — T39 cycle 344 (goal G74): Monsky's 2-Selmer matrix for squarefree 3801 ≤ n ≤ 4000, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck20
open MonskyCheck

def zeroList : List Nat := [3801, 3802, 3803, 3811, 3817, 3818, 3819, 3827, 3835, 3849, 3851, 3858, 3859, 3866, 3867, 3873, 3874, 3890, 3898, 3907, 3913, 3921, 3922, 3923, 3931, 3938, 3945, 3946, 3947, 3953, 3954, 3955, 3962, 3970, 3994, 3995]
def posList : List (Nat × Nat) := [(3805, 3), (3806, 1), (3809, 2), (3810, 2), (3813, 1), (3814, 1), (3815, 1), (3821, 1), (3823, 1), (3826, 2), (3829, 1), (3830, 1), (3831, 1), (3833, 2), (3837, 1), (3838, 1), (3839, 1), (3841, 2), (3842, 2), (3845, 3), (3846, 1), (3847, 1), (3853, 1), (3854, 1), (3855, 1), (3857, 2), (3862, 1), (3863, 1), (3865, 2), (3869, 1), (3877, 1), (3878, 1), (3881, 2), (3  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero20 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos20 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck20

#print axioms MonskyCheck20.sel_zero20
#print axioms MonskyCheck20.sel_pos20

bsd/MonskyCheck200.lean

lean_all/bsd/MonskyCheck200.lean

/-
  bsd/MonskyCheck200.lean — T39 cycle 557 (goal G271): Monsky's 2-Selmer matrix for squarefree 39801 ≤ n ≤ 40000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck200
open MonskyCheck

def zeroList : List Nat := [39801, 39811, 39827, 39842, 39858, 39865, 39866, 39867, 39873, 39881, 39883, 39890, 39898, 39905, 39907, 39923, 39938, 39939, 39945, 39946, 39947, 39954, 39962, 39970, 39971, 39979, 39985, 39993, 39994]
def posList : List (Nat × Nat) := [(39802, 2), (39803, 2), (39805, 1), (39806, 1), (39810, 2), (39813, 3), (39814, 3), (39815, 1), (39817, 2), (39818, 2), (39819, 2), (39821, 1), (39822, 1), (39823, 1), (39826, 2), (39829, 1), (39830, 3), (39831, 1), (39833, 2), (39835, 2), (39838, 1), (39839, 1), (39841, 2), (39845, 1), (39846, 1), (39847, 1), (39849, 2), (39851, 2), (39853, 1), (39854, 1), (3985  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero200 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos200 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck200

#print axioms MonskyCheck200.sel_zero200
#print axioms MonskyCheck200.sel_pos200

bsd/MonskyCheck201.lean

lean_all/bsd/MonskyCheck201.lean

/-
  bsd/MonskyCheck201.lean — T39 cycle 558 (goal G272): Monsky's 2-Selmer matrix for squarefree 40001 ≤ n ≤ 40200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck201
open MonskyCheck

def zeroList : List Nat := [40003, 40011, 40017, 40019, 40026, 40027, 40034, 40035, 40042, 40058, 40066, 40067, 40073, 40074, 40083, 40089, 40090, 40098, 40099, 40107, 40115, 40123, 40130, 40139, 40145, 40146, 40155, 40162, 40163, 40170, 40179, 40186]
def posList : List (Nat × Nat) := [(40001, 2), (40002, 2), (40006, 3), (40007, 1), (40009, 2), (40010, 2), (40013, 1), (40015, 1), (40018, 2), (40021, 1), (40022, 1), (40029, 1), (40030, 1), (40031, 1), (40037, 1), (40038, 3), (40039, 1), (40043, 2), (40045, 3), (40046, 1), (40047, 1), (40049, 2), (40054, 1), (40055, 1), (40057, 2), (40061, 1), (40062, 1), (40063, 1), (40065, 2), (40069, 1), (4007  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero201 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos201 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck201

#print axioms MonskyCheck201.sel_zero201
#print axioms MonskyCheck201.sel_pos201

bsd/MonskyCheck202.lean

lean_all/bsd/MonskyCheck202.lean

/-
  bsd/MonskyCheck202.lean — T39 cycle 559 (goal G273): Monsky's 2-Selmer matrix for squarefree 40201 ≤ n ≤ 40400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck202
open MonskyCheck

def zeroList : List Nat := [40202, 40210, 40211, 40217, 40218, 40219, 40227, 40233, 40234, 40235, 40242, 40249, 40259, 40274, 40282, 40283, 40290, 40291, 40297, 40298, 40305, 40313, 40315, 40331, 40346, 40353, 40355, 40371, 40377, 40378, 40379, 40387, 40395]
def posList : List (Nat × Nat) := [(40201, 2), (40205, 1), (40206, 1), (40207, 1), (40209, 2), (40213, 1), (40214, 1), (40215, 1), (40223, 1), (40226, 2), (40231, 1), (40237, 1), (40238, 1), (40241, 2), (40243, 2), (40245, 1), (40246, 1), (40247, 1), (40251, 2), (40253, 1), (40254, 1), (40255, 1), (40258, 2), (40261, 1), (40262, 3), (40263, 1), (40265, 2), (40267, 2), (40269, 1), (40270, 1), (4027  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero202 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos202 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck202

#print axioms MonskyCheck202.sel_zero202
#print axioms MonskyCheck202.sel_pos202

bsd/MonskyCheck203.lean

lean_all/bsd/MonskyCheck203.lean

/-
  bsd/MonskyCheck203.lean — T39 cycle 560 (goal G274): Monsky's 2-Selmer matrix for squarefree 40401 ≤ n ≤ 40600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck203
open MonskyCheck

def zeroList : List Nat := [40403, 40426, 40427, 40434, 40435, 40442, 40449, 40458, 40459, 40483, 40489, 40497, 40499, 40507, 40513, 40515, 40522, 40531, 40538, 40546, 40553, 40569, 40570, 40578, 40579, 40595]
def posList : List (Nat × Nat) := [(40402, 2), (40405, 3), (40406, 3), (40407, 1), (40409, 2), (40411, 2), (40413, 1), (40415, 1), (40417, 2), (40418, 2), (40421, 1), (40422, 1), (40423, 1), (40429, 1), (40430, 1), (40431, 1), (40433, 2), (40438, 1), (40439, 3), (40441, 2), (40443, 2), (40445, 3), (40447, 1), (40451, 2), (40453, 1), (40454, 1), (40457, 2), (40461, 1), (40462, 1), (40463, 1), (4046  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero203 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos203 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck203

#print axioms MonskyCheck203.sel_zero203
#print axioms MonskyCheck203.sel_pos203

bsd/MonskyCheck204.lean

lean_all/bsd/MonskyCheck204.lean

/-
  bsd/MonskyCheck204.lean — T39 cycle 561 (goal G275): Monsky's 2-Selmer matrix for squarefree 40601 ≤ n ≤ 40800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck204
open MonskyCheck

def zeroList : List Nat := [40601, 40602, 40627, 40633, 40641, 40658, 40659, 40666, 40674, 40682, 40690, 40691, 40699, 40705, 40714, 40715, 40721, 40722, 40730, 40731, 40739, 40753, 40755, 40762, 40763, 40769, 40771, 40778, 40787, 40794]
def posList : List (Nat × Nat) := [(40603, 2), (40605, 1), (40606, 3), (40607, 1), (40609, 2), (40610, 2), (40611, 2), (40613, 3), (40614, 1), (40615, 1), (40618, 2), (40619, 2), (40622, 1), (40623, 1), (40629, 1), (40630, 1), (40631, 1), (40634, 2), (40637, 1), (40638, 1), (40639, 1), (40642, 2), (40643, 2), (40645, 1), (40646, 1), (40647, 1), (40649, 2), (40651, 2), (40654, 1), (40655, 1), (4065  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero204 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos204 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck204

#print axioms MonskyCheck204.sel_zero204
#print axioms MonskyCheck204.sel_pos204

bsd/MonskyCheck205.lean

lean_all/bsd/MonskyCheck205.lean

/-
  bsd/MonskyCheck205.lean — T39 cycle 562 (goal G276): Monsky's 2-Selmer matrix for squarefree 40801 ≤ n ≤ 41000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck205
open MonskyCheck

def zeroList : List Nat := [40809, 40810, 40818, 40819, 40826, 40835, 40843, 40857, 40859, 40865, 40867, 40881, 40883, 40891, 40906, 40913, 40929, 40930, 40937, 40938, 40939, 40946, 40947, 40953, 40954, 40962, 40963, 40970, 40979, 40985, 40987]
def posList : List (Nat × Nat) := [(40801, 2), (40802, 2), (40803, 2), (40805, 3), (40807, 1), (40811, 2), (40813, 1), (40814, 1), (40821, 1), (40822, 1), (40823, 1), (40827, 2), (40829, 1), (40830, 1), (40831, 1), (40834, 2), (40837, 3), (40838, 1), (40839, 1), (40841, 2), (40845, 1), (40846, 1), (40847, 1), (40849, 2), (40853, 1), (40854, 1), (40855, 1), (40858, 2), (40861, 1), (40862, 1), (4086  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero205 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos205 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck205

#print axioms MonskyCheck205.sel_zero205
#print axioms MonskyCheck205.sel_pos205

bsd/MonskyCheck206.lean

lean_all/bsd/MonskyCheck206.lean

/-
  bsd/MonskyCheck206.lean — T39 cycle 564 (goal G278): Monsky's 2-Selmer matrix for squarefree 41001 ≤ n ≤ 41200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck206
open MonskyCheck

def zeroList : List Nat := [41001, 41002, 41003, 41010, 41011, 41018, 41034, 41051, 41059, 41066, 41073, 41074, 41082, 41083, 41091, 41098, 41099, 41106, 41114, 41115, 41122, 41129, 41131, 41138, 41145, 41146, 41162, 41163, 41169, 41170, 41171, 41179, 41194, 41195]
def posList : List (Nat × Nat) := [(41005, 1), (41006, 1), (41007, 1), (41009, 2), (41014, 1), (41015, 1), (41017, 2), (41021, 3), (41023, 1), (41026, 2), (41027, 2), (41029, 3), (41030, 1), (41033, 2), (41035, 2), (41037, 1), (41039, 1), (41041, 2), (41042, 2), (41043, 2), (41045, 3), (41046, 3), (41047, 1), (41053, 1), (41054, 1), (41055, 1), (41057, 2), (41061, 1), (41063, 1), (41065, 2), (4106  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero206 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos206 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck206

#print axioms MonskyCheck206.sel_zero206
#print axioms MonskyCheck206.sel_pos206

bsd/MonskyCheck207.lean

lean_all/bsd/MonskyCheck207.lean

/-
  bsd/MonskyCheck207.lean — T39 cycle 565 (goal G279): Monsky's 2-Selmer matrix for squarefree 41201 ≤ n ≤ 41400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck207
open MonskyCheck

def zeroList : List Nat := [41203, 41217, 41218, 41219, 41226, 41227, 41234, 41242, 41243, 41249, 41251, 41259, 41267, 41289, 41298, 41299, 41306, 41313, 41315, 41330, 41338, 41347, 41370, 41371, 41379, 41386, 41387, 41393, 41394, 41395]
def posList : List (Nat × Nat) := [(41201, 2), (41205, 3), (41206, 3), (41207, 3), (41210, 2), (41213, 1), (41214, 1), (41215, 1), (41221, 1), (41222, 1), (41223, 1), (41230, 3), (41231, 1), (41233, 2), (41235, 2), (41237, 1), (41239, 1), (41241, 2), (41245, 1), (41246, 1), (41253, 1), (41254, 1), (41255, 1), (41257, 2), (41263, 1), (41266, 2), (41269, 1), (41270, 1), (41271, 1), (41273, 2), (4127  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero207 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos207 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck207

#print axioms MonskyCheck207.sel_zero207
#print axioms MonskyCheck207.sel_pos207

bsd/MonskyCheck208.lean

lean_all/bsd/MonskyCheck208.lean

/-
  bsd/MonskyCheck208.lean — T39 cycle 566 (goal G280): Monsky's 2-Selmer matrix for squarefree 41401 ≤ n ≤ 41600, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck208
open MonskyCheck

def zeroList : List Nat := [41401, 41410, 41411, 41417, 41419, 41426, 41433, 41434, 41435, 41442, 41443, 41458, 41459, 41467, 41473, 41483, 41491, 41498, 41505, 41507, 41514, 41522, 41523, 41529, 41530, 41531, 41539, 41545, 41546, 41547, 41569, 41570, 41577, 41578, 41579, 41587, 41594]
def posList : List (Nat × Nat) := [(41402, 2), (41403, 2), (41406, 1), (41407, 1), (41413, 1), (41414, 1), (41415, 1), (41421, 1), (41422, 1), (41423, 1), (41429, 1), (41430, 1), (41431, 1), (41437, 1), (41438, 1), (41439, 1), (41441, 2), (41446, 1), (41447, 3), (41449, 2), (41451, 2), (41453, 1), (41455, 1), (41457, 2), (41461, 1), (41462, 1), (41465, 2), (41466, 2), (41469, 3), (41470, 1), (4147  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero208 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos208 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck208

#print axioms MonskyCheck208.sel_zero208
#print axioms MonskyCheck208.sel_pos208

bsd/MonskyCheck209.lean

lean_all/bsd/MonskyCheck209.lean

/-
  bsd/MonskyCheck209.lean — T39 cycle 567 (goal G281): Monsky's 2-Selmer matrix for squarefree 41601 ≤ n ≤ 41800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck209
open MonskyCheck

def zeroList : List Nat := [41603, 41610, 41611, 41626, 41627, 41642, 41649, 41651, 41659, 41666, 41667, 41673, 41682, 41683, 41690, 41707, 41713, 41721, 41722, 41730, 41731, 41738, 41739, 41747, 41753, 41755, 41770, 41771, 41779, 41786, 41793, 41795]
def posList : List (Nat × Nat) := [(41602, 2), (41605, 1), (41606, 1), (41609, 2), (41613, 1), (41614, 1), (41615, 1), (41617, 2), (41618, 2), (41619, 2), (41621, 1), (41622, 1), (41623, 1), (41629, 1), (41630, 1), (41631, 1), (41633, 2), (41635, 2), (41637, 1), (41638, 1), (41639, 1), (41641, 2), (41645, 3), (41646, 1), (41647, 1), (41653, 1), (41654, 1), (41655, 1), (41657, 2), (41658, 2), (4166  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero209 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos209 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck209

#print axioms MonskyCheck209.sel_zero209
#print axioms MonskyCheck209.sel_pos209

bsd/MonskyCheck21.lean

lean_all/bsd/MonskyCheck21.lean

/-
  bsd/MonskyCheck21.lean — T39 cycle 345 (goal G75): Monsky's 2-Selmer matrix for squarefree 4001 ≤ n ≤ 4200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck21
open MonskyCheck

def zeroList : List Nat := [4003, 4009, 4011, 4019, 4026, 4027, 4035, 4042, 4051, 4058, 4066, 4074, 4082, 4083, 4089, 4091, 4098, 4099, 4106, 4115, 4138, 4139, 4146, 4147, 4155, 4163, 4169, 4170, 4186, 4187]
def posList : List (Nat × Nat) := [(4001, 2), (4002, 2), (4006, 1), (4007, 1), (4010, 2), (4013, 1), (4015, 1), (4017, 2), (4021, 1), (4022, 1), (4029, 1), (4030, 1), (4031, 1), (4033, 2), (4034, 2), (4037, 1), (4038, 3), (4039, 1), (4043, 2), (4045, 3), (4047, 1), (4049, 2), (4053, 3), (4054, 1), (4055, 1), (4057, 2), (4061, 1), (4062, 1), (4063, 3), (4065, 2), (4069, 3), (4070, 1), (4071, 1), (4  -- (+646 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero21 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos21 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck21

#print axioms MonskyCheck21.sel_zero21
#print axioms MonskyCheck21.sel_pos21

bsd/MonskyCheck210.lean

lean_all/bsd/MonskyCheck210.lean

/-
  bsd/MonskyCheck210.lean — T39 cycle 568 (goal G282): Monsky's 2-Selmer matrix for squarefree 41801 ≤ n ≤ 42000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck210
open MonskyCheck

def zeroList : List Nat := [41802, 41803, 41817, 41826, 41827, 41833, 41835, 41843, 41851, 41857, 41867, 41882, 41889, 41890, 41891, 41899, 41914, 41915, 41921, 41930, 41938, 41946, 41947, 41954, 41955, 41961, 41962, 41963, 41970, 41995]
def posList : List (Nat × Nat) := [(41801, 2), (41806, 1), (41807, 3), (41809, 2), (41810, 2), (41811, 2), (41813, 1), (41815, 1), (41818, 2), (41819, 2), (41821, 1), (41822, 1), (41829, 1), (41830, 3), (41831, 1), (41834, 2), (41837, 1), (41838, 1), (41839, 1), (41842, 2), (41845, 3), (41847, 1), (41849, 2), (41853, 1), (41854, 1), (41855, 1), (41858, 2), (41861, 3), (41862, 1), (41863, 1), (4186  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero210 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos210 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck210

#print axioms MonskyCheck210.sel_zero210
#print axioms MonskyCheck210.sel_pos210

bsd/MonskyCheck211.lean

lean_all/bsd/MonskyCheck211.lean

/-
  bsd/MonskyCheck211.lean — T39 cycle 569 (goal G283): Monsky's 2-Selmer matrix for squarefree 42001 ≤ n ≤ 42200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck211
open MonskyCheck

def zeroList : List Nat := [42009, 42019, 42026, 42027, 42033, 42043, 42051, 42059, 42065, 42082, 42083, 42097, 42099, 42105, 42106, 42107, 42114, 42115, 42122, 42123, 42131, 42139, 42146, 42153, 42162, 42170, 42171, 42179, 42186, 42187]
def posList : List (Nat × Nat) := [(42001, 2), (42002, 2), (42005, 3), (42006, 1), (42007, 1), (42010, 2), (42011, 2), (42013, 1), (42014, 1), (42015, 1), (42017, 2), (42018, 2), (42022, 1), (42023, 1), (42029, 3), (42031, 1), (42034, 2), (42035, 2), (42037, 1), (42038, 1), (42041, 4), (42045, 1), (42046, 1), (42047, 1), (42049, 2), (42053, 1), (42054, 1), (42055, 1), (42058, 2), (42061, 1), (4206  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero211 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos211 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck211

#print axioms MonskyCheck211.sel_zero211
#print axioms MonskyCheck211.sel_pos211

bsd/MonskyCheck212.lean

lean_all/bsd/MonskyCheck212.lean

/-
  bsd/MonskyCheck212.lean — T39 cycle 570 (goal G284): Monsky's 2-Selmer matrix for squarefree 42201 ≤ n ≤ 42400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck212
open MonskyCheck

def zeroList : List Nat := [42202, 42226, 42227, 42234, 42235, 42243, 42249, 42251, 42258, 42259, 42283, 42290, 42297, 42298, 42299, 42306, 42307, 42313, 42314, 42321, 42323, 42331, 42339, 42355, 42361, 42362, 42370, 42371, 42379, 42393, 42394]
def posList : List (Nat × Nat) := [(42203, 2), (42205, 1), (42206, 1), (42207, 1), (42209, 2), (42211, 4), (42213, 1), (42214, 1), (42215, 1), (42217, 2), (42218, 2), (42221, 1), (42222, 1), (42223, 1), (42230, 3), (42231, 1), (42233, 2), (42239, 1), (42241, 2), (42242, 2), (42245, 1), (42247, 1), (42253, 1), (42254, 1), (42257, 2), (42261, 1), (42262, 1), (42263, 1), (42265, 2), (42266, 2), (4226  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero212 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos212 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck212

#print axioms MonskyCheck212.sel_zero212
#print axioms MonskyCheck212.sel_pos212

bsd/MonskyCheck213.lean

lean_all/bsd/MonskyCheck213.lean

/-
  bsd/MonskyCheck213.lean — T39 cycle 571 (goal G285): Monsky's 2-Selmer matrix for squarefree 42401 ≤ n ≤ 42600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck213
open MonskyCheck

def zeroList : List Nat := [42402, 42403, 42411, 42427, 42441, 42442, 42443, 42451, 42459, 42465, 42467, 42482, 42491, 42497, 42499, 42506, 42513, 42514, 42523, 42530, 42531, 42538, 42545, 42547, 42554, 42555, 42562, 42571, 42578, 42586, 42595]
def posList : List (Nat × Nat) := [(42401, 2), (42405, 1), (42406, 3), (42407, 1), (42409, 2), (42410, 2), (42413, 1), (42414, 1), (42415, 1), (42418, 2), (42421, 1), (42422, 1), (42423, 1), (42429, 1), (42430, 1), (42431, 1), (42433, 2), (42437, 1), (42438, 1), (42445, 1), (42446, 1), (42447, 1), (42449, 2), (42454, 1), (42455, 1), (42457, 2), (42458, 2), (42461, 1), (42463, 1), (42466, 4), (4246  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero213 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos213 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck213

#print axioms MonskyCheck213.sel_zero213
#print axioms MonskyCheck213.sel_pos213

bsd/MonskyCheck214.lean

lean_all/bsd/MonskyCheck214.lean

/-
  bsd/MonskyCheck214.lean — T39 cycle 572 (goal G286): Monsky's 2-Selmer matrix for squarefree 42601 ≤ n ≤ 42800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck214
open MonskyCheck

def zeroList : List Nat := [42603, 42609, 42610, 42611, 42617, 42619, 42634, 42635, 42643, 42659, 42665, 42666, 42667, 42673, 42674, 42682, 42683, 42698, 42699, 42706, 42715, 42729, 42730, 42731, 42745, 42746, 42747, 42753, 42755, 42763, 42769, 42771, 42779, 42787, 42794]
def posList : List (Nat × Nat) := [(42601, 2), (42602, 2), (42605, 3), (42607, 3), (42613, 1), (42614, 1), (42618, 2), (42621, 1), (42622, 1), (42623, 1), (42626, 2), (42627, 2), (42629, 1), (42631, 3), (42637, 1), (42638, 1), (42639, 1), (42641, 2), (42645, 1), (42646, 1), (42647, 1), (42649, 2), (42653, 1), (42654, 1), (42655, 1), (42657, 2), (42658, 2), (42661, 1), (42662, 1), (42663, 1), (4267  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero214 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos214 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck214

#print axioms MonskyCheck214.sel_zero214
#print axioms MonskyCheck214.sel_pos214

bsd/MonskyCheck215.lean

lean_all/bsd/MonskyCheck215.lean

/-
  bsd/MonskyCheck215.lean — T39 cycle 573 (goal G287): Monsky's 2-Selmer matrix for squarefree 42801 ≤ n ≤ 43000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck215
open MonskyCheck

def zeroList : List Nat := [42801, 42803, 42810, 42811, 42819, 42827, 42859, 42873, 42874, 42883, 42899, 42907, 42914, 42915, 42922, 42923, 42945, 42946, 42947, 42954, 42963, 42969, 42970, 42971, 42977, 42978, 42979, 42986, 42987, 42994]
def posList : List (Nat × Nat) := [(42802, 2), (42805, 1), (42806, 3), (42807, 1), (42809, 2), (42814, 1), (42815, 1), (42817, 2), (42818, 2), (42821, 1), (42823, 1), (42829, 1), (42830, 1), (42833, 2), (42835, 2), (42837, 1), (42838, 1), (42839, 1), (42841, 2), (42842, 2), (42843, 2), (42845, 3), (42846, 1), (42847, 1), (42851, 2), (42853, 1), (42854, 1), (42855, 1), (42857, 2), (42861, 1), (4286  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero215 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos215 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck215

#print axioms MonskyCheck215.sel_zero215
#print axioms MonskyCheck215.sel_pos215

bsd/MonskyCheck216.lean

lean_all/bsd/MonskyCheck216.lean

/-
  bsd/MonskyCheck216.lean — T39 cycle 576 (goal G290): Monsky's 2-Selmer matrix for squarefree 43001 ≤ n ≤ 43200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck216
open MonskyCheck

def zeroList : List Nat := [43003, 43017, 43018, 43019, 43034, 43041, 43051, 43067, 43073, 43081, 43082, 43090, 43091, 43107, 43114, 43115, 43121, 43122, 43123, 43130, 43131, 43139, 43153, 43161, 43162, 43163, 43171, 43178, 43179, 43186, 43187, 43195]
def posList : List (Nat × Nat) := [(43001, 2), (43005, 1), (43006, 1), (43007, 1), (43009, 2), (43010, 2), (43013, 1), (43014, 3), (43015, 1), (43021, 1), (43023, 1), (43026, 2), (43027, 2), (43030, 1), (43031, 1), (43033, 2), (43035, 2), (43037, 1), (43039, 1), (43042, 2), (43043, 2), (43045, 3), (43046, 1), (43049, 2), (43053, 1), (43054, 1), (43055, 1), (43057, 2), (43058, 2), (43059, 2), (4306  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero216 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos216 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck216

#print axioms MonskyCheck216.sel_zero216
#print axioms MonskyCheck216.sel_pos216

bsd/MonskyCheck217.lean

lean_all/bsd/MonskyCheck217.lean

/-
  bsd/MonskyCheck217.lean — T39 cycle 577 (goal G291): Monsky's 2-Selmer matrix for squarefree 43201 ≤ n ≤ 43400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck217
open MonskyCheck

def zeroList : List Nat := [43210, 43211, 43219, 43226, 43233, 43235, 43241, 43242, 43257, 43259, 43266, 43283, 43291, 43305, 43314, 43315, 43322, 43329, 43331, 43338, 43361, 43370, 43377, 43387, 43394]
def posList : List (Nat × Nat) := [(43201, 2), (43202, 2), (43203, 2), (43205, 3), (43206, 1), (43207, 1), (43213, 1), (43214, 1), (43215, 1), (43217, 2), (43221, 1), (43222, 1), (43223, 1), (43229, 1), (43230, 1), (43231, 1), (43234, 2), (43237, 1), (43238, 1), (43239, 1), (43243, 2), (43246, 3), (43247, 1), (43249, 2), (43251, 2), (43253, 1), (43255, 1), (43258, 2), (43261, 1), (43262, 1), (4326  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero217 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos217 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck217

#print axioms MonskyCheck217.sel_zero217
#print axioms MonskyCheck217.sel_pos217

bsd/MonskyCheck218.lean

lean_all/bsd/MonskyCheck218.lean

/-
  bsd/MonskyCheck218.lean — T39 cycle 578 (goal G292): Monsky's 2-Selmer matrix for squarefree 43401 ≤ n ≤ 43600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck218
open MonskyCheck

def zeroList : List Nat := [43402, 43403, 43409, 43411, 43417, 43419, 43427, 43451, 43458, 43459, 43466, 43467, 43483, 43490, 43499, 43505, 43514, 43529, 43531, 43538, 43539, 43545, 43546, 43547, 43570, 43571, 43579, 43585, 43586, 43594]
def posList : List (Nat × Nat) := [(43401, 2), (43405, 3), (43406, 1), (43410, 2), (43413, 1), (43415, 1), (43418, 2), (43421, 1), (43422, 1), (43423, 1), (43426, 2), (43429, 1), (43430, 1), (43431, 1), (43435, 4), (43437, 1), (43438, 1), (43441, 2), (43442, 2), (43445, 3), (43446, 1), (43447, 3), (43449, 2), (43453, 1), (43454, 1), (43455, 1), (43457, 2), (43462, 1), (43465, 2), (43469, 1), (4347  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero218 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos218 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck218

#print axioms MonskyCheck218.sel_zero218
#print axioms MonskyCheck218.sel_pos218

bsd/MonskyCheck219.lean

lean_all/bsd/MonskyCheck219.lean

/-
  bsd/MonskyCheck219.lean — T39 cycle 579 (goal G293): Monsky's 2-Selmer matrix for squarefree 43601 ≤ n ≤ 43800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck219
open MonskyCheck

def zeroList : List Nat := [43601, 43603, 43611, 43626, 43627, 43635, 43642, 43651, 43667, 43674, 43683, 43689, 43690, 43691, 43698, 43699, 43707, 43714, 43715, 43723, 43730, 43738, 43739, 43747, 43754, 43755, 43761, 43763, 43770, 43778, 43786, 43787]
def posList : List (Nat × Nat) := [(43606, 1), (43607, 1), (43609, 2), (43613, 1), (43615, 1), (43617, 2), (43618, 2), (43619, 2), (43621, 3), (43622, 3), (43629, 1), (43630, 1), (43631, 1), (43633, 2), (43634, 2), (43637, 1), (43638, 1), (43643, 2), (43645, 1), (43646, 1), (43647, 1), (43649, 2), (43653, 1), (43654, 1), (43655, 1), (43657, 2), (43658, 2), (43661, 1), (43662, 1), (43663, 3), (4366  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero219 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos219 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck219

#print axioms MonskyCheck219.sel_zero219
#print axioms MonskyCheck219.sel_pos219

bsd/MonskyCheck22.lean

lean_all/bsd/MonskyCheck22.lean

/-
  bsd/MonskyCheck22.lean — T39 cycle 346 (goal G76): Monsky's 2-Selmer matrix for squarefree 4201 ≤ n ≤ 4400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck22
open MonskyCheck

def zeroList : List Nat := [4202, 4209, 4210, 4211, 4219, 4227, 4233, 4234, 4243, 4259, 4281, 4282, 4283, 4298, 4299, 4307, 4313, 4315, 4323, 4330, 4331, 4339, 4346, 4353, 4355, 4362, 4363, 4371, 4377, 4378, 4386, 4395]
def posList : List (Nat × Nat) := [(4201, 2), (4206, 1), (4207, 1), (4213, 1), (4215, 1), (4217, 2), (4218, 2), (4222, 1), (4223, 3), (4226, 2), (4229, 1), (4231, 1), (4237, 1), (4238, 1), (4241, 2), (4242, 2), (4245, 1), (4246, 1), (4247, 1), (4249, 2), (4251, 2), (4253, 1), (4254, 1), (4255, 1), (4258, 2), (4261, 1), (4262, 1), (4265, 2), (4267, 2), (4269, 1), (4270, 1), (4271, 1), (4273, 2), (4  -- (+624 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero22 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos22 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck22

#print axioms MonskyCheck22.sel_zero22
#print axioms MonskyCheck22.sel_pos22

bsd/MonskyCheck220.lean

lean_all/bsd/MonskyCheck220.lean

/-
  bsd/MonskyCheck220.lean — T39 cycle 580 (goal G294): Monsky's 2-Selmer matrix for squarefree 43801 ≤ n ≤ 44000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck220
open MonskyCheck

def zeroList : List Nat := [43809, 43810, 43811, 43817, 43819, 43827, 43842, 43843, 43867, 43881, 43891, 43898, 43899, 43905, 43906, 43914, 43915, 43939, 43946, 43962, 43963, 43970, 43971, 43977, 43985, 43986, 43987, 43994, 43995]
def posList : List (Nat × Nat) := [(43801, 2), (43805, 3), (43807, 3), (43813, 1), (43814, 1), (43815, 1), (43818, 2), (43822, 1), (43823, 1), (43826, 2), (43829, 1), (43831, 1), (43833, 2), (43834, 2), (43835, 2), (43837, 1), (43838, 1), (43841, 2), (43845, 1), (43846, 1), (43847, 1), (43849, 2), (43851, 2), (43853, 1), (43854, 1), (43858, 2), (43859, 2), (43861, 1), (43862, 1), (43863, 1), (4386  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero220 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos220 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck220

#print axioms MonskyCheck220.sel_zero220
#print axioms MonskyCheck220.sel_pos220

bsd/MonskyCheck221.lean

lean_all/bsd/MonskyCheck221.lean

/-
  bsd/MonskyCheck221.lean — T39 cycle 581 (goal G295): Monsky's 2-Selmer matrix for squarefree 44001 ≤ n ≤ 44200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck221
open MonskyCheck

def zeroList : List Nat := [44011, 44018, 44026, 44027, 44033, 44035, 44043, 44049, 44058, 44059, 44065, 44066, 44074, 44083, 44097, 44099, 44106, 44121, 44122, 44123, 44130, 44131, 44153, 44169, 44170, 44171, 44179, 44186, 44193, 44194]
def posList : List (Nat × Nat) := [(44003, 2), (44005, 1), (44006, 1), (44007, 1), (44009, 2), (44013, 1), (44014, 1), (44015, 1), (44017, 2), (44021, 1), (44022, 1), (44023, 1), (44029, 1), (44030, 1), (44031, 1), (44034, 2), (44038, 3), (44039, 1), (44041, 2), (44045, 1), (44047, 1), (44053, 1), (44054, 1), (44057, 2), (44061, 1), (44062, 1), (44063, 1), (44067, 2), (44069, 1), (44070, 1), (4407  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero221 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos221 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck221

#print axioms MonskyCheck221.sel_zero221
#print axioms MonskyCheck221.sel_pos221

bsd/MonskyCheck222.lean

lean_all/bsd/MonskyCheck222.lean

/-
  bsd/MonskyCheck222.lean — T39 cycle 582 (goal G296): Monsky's 2-Selmer matrix for squarefree 44201 ≤ n ≤ 44400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck222
open MonskyCheck

def zeroList : List Nat := [44202, 44203, 44209, 44210, 44218, 44219, 44241, 44242, 44243, 44259, 44266, 44267, 44282, 44283, 44297, 44299, 44313, 44314, 44315, 44323, 44330, 44331, 44337, 44339, 44346, 44354, 44355, 44363, 44371, 44378, 44385, 44395]
def posList : List (Nat × Nat) := [(44201, 2), (44205, 1), (44207, 1), (44211, 2), (44213, 1), (44214, 3), (44215, 1), (44221, 1), (44222, 1), (44223, 1), (44227, 2), (44229, 1), (44230, 1), (44231, 1), (44233, 2), (44234, 2), (44237, 1), (44238, 1), (44239, 1), (44245, 3), (44246, 1), (44249, 2), (44251, 4), (44254, 1), (44255, 1), (44257, 2), (44258, 2), (44261, 1), (44263, 1), (44265, 2), (4426  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero222 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos222 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck222

#print axioms MonskyCheck222.sel_zero222
#print axioms MonskyCheck222.sel_pos222

bsd/MonskyCheck223.lean

lean_all/bsd/MonskyCheck223.lean

/-
  bsd/MonskyCheck223.lean — T39 cycle 583 (goal G297): Monsky's 2-Selmer matrix for squarefree 44401 ≤ n ≤ 44600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck223
open MonskyCheck

def zeroList : List Nat := [44409, 44411, 44418, 44427, 44434, 44435, 44441, 44457, 44458, 44466, 44481, 44483, 44490, 44491, 44498, 44499, 44507, 44515, 44522, 44529, 44530, 44531, 44538, 44547, 44553, 44554, 44561, 44562, 44563, 44570, 44571, 44579, 44587, 44593, 44594]
def posList : List (Nat × Nat) := [(44401, 2), (44405, 1), (44410, 2), (44413, 1), (44414, 1), (44417, 2), (44419, 2), (44421, 1), (44422, 1), (44423, 3), (44426, 2), (44429, 1), (44430, 1), (44431, 1), (44437, 1), (44438, 3), (44439, 1), (44445, 1), (44446, 3), (44449, 2), (44453, 1), (44454, 1), (44455, 1), (44459, 2), (44461, 3), (44462, 1), (44463, 1), (44465, 2), (44467, 2), (44470, 1), (4447  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero223 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos223 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck223

#print axioms MonskyCheck223.sel_zero223
#print axioms MonskyCheck223.sel_pos223

bsd/MonskyCheck224.lean

lean_all/bsd/MonskyCheck224.lean

/-
  bsd/MonskyCheck224.lean — T39 cycle 584 (goal G298): Monsky's 2-Selmer matrix for squarefree 44601 ≤ n ≤ 44800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck224
open MonskyCheck

def zeroList : List Nat := [44601, 44602, 44603, 44610, 44611, 44626, 44634, 44635, 44651, 44659, 44666, 44673, 44681, 44682, 44683, 44690, 44691, 44697, 44698, 44699, 44706, 44707, 44715, 44722, 44723, 44745, 44746, 44754, 44762, 44763, 44769, 44771, 44778, 44779, 44794]
def posList : List (Nat × Nat) := [(44605, 1), (44606, 1), (44607, 1), (44609, 2), (44614, 1), (44615, 1), (44617, 2), (44618, 2), (44619, 2), (44621, 1), (44623, 1), (44627, 2), (44629, 3), (44630, 1), (44633, 2), (44637, 1), (44638, 1), (44641, 2), (44642, 2), (44643, 2), (44645, 3), (44646, 1), (44647, 1), (44653, 1), (44654, 1), (44655, 1), (44657, 2), (44661, 1), (44662, 1), (44663, 1), (4466  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero224 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos224 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck224

#print axioms MonskyCheck224.sel_zero224
#print axioms MonskyCheck224.sel_pos224

bsd/MonskyCheck225.lean

lean_all/bsd/MonskyCheck225.lean

/-
  bsd/MonskyCheck225.lean — T39 cycle 585 (goal G299): Monsky's 2-Selmer matrix for squarefree 44801 ≤ n ≤ 45000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck225
open MonskyCheck

def zeroList : List Nat := [44817, 44819, 44826, 44827, 44833, 44834, 44841, 44843, 44851, 44858, 44859, 44867, 44889, 44897, 44905, 44906, 44907, 44915, 44923, 44929, 44930, 44931, 44938, 44939, 44961, 44963, 44971, 44978, 44979, 44987, 44994]
def posList : List (Nat × Nat) := [(44801, 2), (44803, 2), (44805, 1), (44806, 1), (44807, 1), (44809, 2), (44810, 2), (44813, 1), (44814, 1), (44815, 1), (44818, 2), (44821, 1), (44822, 1), (44823, 1), (44830, 1), (44831, 3), (44837, 3), (44839, 1), (44842, 2), (44845, 3), (44846, 1), (44849, 2), (44853, 1), (44854, 1), (44855, 1), (44857, 2), (44861, 1), (44862, 1), (44863, 1), (44866, 2), (4486  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero225 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos225 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck225

#print axioms MonskyCheck225.sel_zero225
#print axioms MonskyCheck225.sel_pos225

bsd/MonskyCheck226.lean

lean_all/bsd/MonskyCheck226.lean

/-
  bsd/MonskyCheck226.lean — T39 cycle 587 (goal G301): Monsky's 2-Selmer matrix for squarefree 45001 ≤ n ≤ 45200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck226
open MonskyCheck

def zeroList : List Nat := [45001, 45002, 45019, 45033, 45034, 45035, 45042, 45043, 45049, 45051, 45058, 45059, 45067, 45082, 45083, 45089, 45091, 45098, 45106, 45114, 45122, 45130, 45131, 45138, 45139, 45146, 45147, 45154, 45163, 45170, 45179, 45185, 45186, 45193, 45194]
def posList : List (Nat × Nat) := [(45003, 2), (45005, 3), (45006, 1), (45007, 1), (45010, 2), (45011, 2), (45013, 1), (45014, 1), (45015, 3), (45017, 2), (45021, 1), (45022, 1), (45023, 1), (45026, 2), (45029, 3), (45030, 1), (45037, 3), (45038, 3), (45039, 1), (45041, 2), (45046, 1), (45047, 1), (45053, 1), (45055, 1), (45057, 2), (45061, 1), (45062, 1), (45065, 2), (45066, 2), (45069, 1), (4507  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero226 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos226 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck226

#print axioms MonskyCheck226.sel_zero226
#print axioms MonskyCheck226.sel_pos226

bsd/MonskyCheck227.lean

lean_all/bsd/MonskyCheck227.lean

/-
  bsd/MonskyCheck227.lean — T39 cycle 588 (goal G302): Monsky's 2-Selmer matrix for squarefree 45201 ≤ n ≤ 45400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck227
open MonskyCheck

def zeroList : List Nat := [45203, 45210, 45226, 45242, 45249, 45251, 45258, 45259, 45265, 45266, 45273, 45274, 45282, 45298, 45307, 45314, 45321, 45322, 45323, 45331, 45338, 45345, 45347, 45353, 45355, 45362, 45371, 45393, 45395]
def posList : List (Nat × Nat) := [(45201, 2), (45202, 2), (45205, 3), (45206, 1), (45209, 2), (45211, 2), (45213, 1), (45214, 1), (45215, 1), (45217, 2), (45218, 2), (45219, 2), (45221, 1), (45222, 3), (45223, 3), (45229, 1), (45230, 1), (45231, 1), (45233, 2), (45235, 2), (45237, 1), (45238, 1), (45239, 1), (45241, 2), (45245, 3), (45246, 1), (45247, 1), (45255, 1), (45257, 2), (45262, 1), (4526  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero227 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos227 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck227

#print axioms MonskyCheck227.sel_zero227
#print axioms MonskyCheck227.sel_pos227

bsd/MonskyCheck228.lean

lean_all/bsd/MonskyCheck228.lean

/-
  bsd/MonskyCheck228.lean — T39 cycle 589 (goal G303): Monsky's 2-Selmer matrix for squarefree 45401 ≤ n ≤ 45600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck228
open MonskyCheck

def zeroList : List Nat := [45401, 45402, 45403, 45409, 45410, 45411, 45417, 45418, 45427, 45434, 45435, 45457, 45465, 45467, 45482, 45483, 45489, 45490, 45491, 45506, 45507, 45514, 45515, 45523, 45529, 45537, 45546, 45555, 45561, 45562, 45571, 45578, 45587]
def posList : List (Nat × Nat) := [(45406, 3), (45407, 3), (45413, 1), (45415, 3), (45419, 2), (45421, 3), (45422, 1), (45426, 2), (45429, 1), (45430, 1), (45431, 1), (45433, 2), (45437, 1), (45438, 1), (45439, 1), (45442, 2), (45443, 2), (45445, 3), (45446, 1), (45447, 1), (45449, 2), (45451, 2), (45453, 1), (45454, 1), (45455, 1), (45458, 2), (45462, 1), (45463, 1), (45466, 2), (45469, 3), (4547  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero228 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos228 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck228

#print axioms MonskyCheck228.sel_zero228
#print axioms MonskyCheck228.sel_pos228

bsd/MonskyCheck229.lean

lean_all/bsd/MonskyCheck229.lean

/-
  bsd/MonskyCheck229.lean — T39 cycle 590 (goal G304): Monsky's 2-Selmer matrix for squarefree 45601 ≤ n ≤ 45800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck229
open MonskyCheck

def zeroList : List Nat := [45609, 45611, 45618, 45633, 45635, 45659, 45667, 45674, 45681, 45683, 45689, 45690, 45691, 45699, 45706, 45707, 45722, 45745, 45753, 45754, 45761, 45762, 45763, 45777, 45779, 45786, 45793]
def posList : List (Nat × Nat) := [(45601, 2), (45605, 1), (45606, 1), (45607, 1), (45610, 2), (45613, 1), (45614, 1), (45615, 1), (45622, 1), (45623, 1), (45626, 2), (45627, 2), (45629, 1), (45631, 1), (45634, 2), (45637, 1), (45638, 3), (45641, 2), (45642, 2), (45643, 2), (45645, 1), (45646, 1), (45647, 3), (45649, 2), (45651, 2), (45653, 1), (45654, 1), (45655, 1), (45658, 2), (45661, 1), (4566  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero229 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos229 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck229

#print axioms MonskyCheck229.sel_zero229
#print axioms MonskyCheck229.sel_pos229

bsd/MonskyCheck23.lean

lean_all/bsd/MonskyCheck23.lean

/-
  bsd/MonskyCheck23.lean — T39 cycle 347 (goal G77): Monsky's 2-Selmer matrix for squarefree 4401 ≤ n ≤ 4600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck23
open MonskyCheck

def zeroList : List Nat := [4403, 4426, 4433, 4434, 4435, 4442, 4443, 4449, 4451, 4465, 4474, 4483, 4497, 4498, 4499, 4506, 4507, 4514, 4515, 4521, 4522, 4523, 4530, 4538, 4539, 4547, 4569, 4570, 4578, 4579, 4585, 4586, 4593]
def posList : List (Nat × Nat) := [(4402, 2), (4405, 3), (4406, 1), (4407, 1), (4409, 2), (4411, 2), (4413, 1), (4414, 1), (4415, 1), (4417, 2), (4421, 1), (4422, 1), (4423, 1), (4427, 2), (4429, 1), (4430, 1), (4431, 1), (4438, 1), (4439, 3), (4441, 2), (4445, 1), (4447, 1), (4453, 3), (4454, 1), (4457, 2), (4458, 2), (4461, 1), (4462, 1), (4463, 1), (4466, 2), (4467, 2), (4469, 1), (4470, 1), (4  -- (+591 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero23 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos23 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck23

#print axioms MonskyCheck23.sel_zero23
#print axioms MonskyCheck23.sel_pos23

bsd/MonskyCheck230.lean

lean_all/bsd/MonskyCheck230.lean

/-
  bsd/MonskyCheck230.lean — T39 cycle 591 (goal G305): Monsky's 2-Selmer matrix for squarefree 45801 ≤ n ≤ 46000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck230
open MonskyCheck

def zeroList : List Nat := [45802, 45809, 45818, 45826, 45827, 45834, 45835, 45858, 45897, 45899, 45906, 45907, 45921, 45930, 45931, 45946, 45947, 45955, 45961, 45969, 45970, 45971, 45979, 45987, 45993, 45994]
def posList : List (Nat × Nat) := [(45803, 2), (45805, 3), (45806, 1), (45807, 1), (45811, 2), (45813, 1), (45814, 1), (45817, 2), (45821, 1), (45822, 1), (45823, 1), (45829, 1), (45830, 1), (45831, 1), (45833, 2), (45838, 1), (45839, 1), (45841, 2), (45842, 2), (45843, 2), (45845, 1), (45849, 2), (45851, 2), (45853, 1), (45854, 1), (45857, 2), (45861, 1), (45862, 1), (45863, 1), (45865, 2), (4586  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero230 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos230 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck230

#print axioms MonskyCheck230.sel_zero230
#print axioms MonskyCheck230.sel_pos230

bsd/MonskyCheck231.lean

lean_all/bsd/MonskyCheck231.lean

/-
  bsd/MonskyCheck231.lean — T39 cycle 592 (goal G306): Monsky's 2-Selmer matrix for squarefree 46001 ≤ n ≤ 46200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck231
open MonskyCheck

def zeroList : List Nat := [46003, 46009, 46010, 46027, 46042, 46051, 46057, 46058, 46059, 46074, 46090, 46091, 46099, 46106, 46113, 46115, 46122, 46129, 46130, 46131, 46139, 46146, 46147, 46155, 46163, 46171, 46178, 46187, 46194]
def posList : List (Nat × Nat) := [(46001, 2), (46002, 2), (46005, 1), (46006, 1), (46007, 1), (46013, 3), (46014, 1), (46015, 1), (46018, 2), (46019, 2), (46021, 1), (46022, 1), (46029, 1), (46030, 1), (46031, 3), (46033, 2), (46034, 2), (46037, 1), (46038, 1), (46039, 3), (46041, 2), (46043, 2), (46045, 3), (46046, 1), (46047, 1), (46049, 2), (46054, 1), (46055, 1), (46061, 1), (46063, 1), (4606  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero231 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos231 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck231

#print axioms MonskyCheck231.sel_zero231
#print axioms MonskyCheck231.sel_pos231

bsd/MonskyCheck232.lean

lean_all/bsd/MonskyCheck232.lean

/-
  bsd/MonskyCheck232.lean — T39 cycle 593 (goal G307): Monsky's 2-Selmer matrix for squarefree 46201 ≤ n ≤ 46400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck232
open MonskyCheck

def zeroList : List Nat := [46203, 46210, 46211, 46219, 46226, 46227, 46234, 46235, 46258, 46259, 46265, 46266, 46281, 46297, 46298, 46299, 46307, 46315, 46321, 46329, 46331, 46338, 46339, 46345, 46346, 46347, 46353, 46355, 46363, 46370, 46371, 46378, 46394]
def posList : List (Nat × Nat) := [(46201, 2), (46202, 2), (46205, 3), (46209, 2), (46213, 3), (46214, 1), (46217, 2), (46218, 2), (46221, 1), (46223, 3), (46229, 1), (46230, 1), (46231, 1), (46237, 1), (46238, 1), (46239, 1), (46241, 2), (46243, 2), (46245, 1), (46246, 3), (46247, 1), (46249, 2), (46253, 1), (46254, 1), (46257, 2), (46261, 1), (46262, 1), (46263, 1), (46267, 2), (46270, 1), (4627  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero232 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos232 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck232

#print axioms MonskyCheck232.sel_zero232
#print axioms MonskyCheck232.sel_pos232

bsd/MonskyCheck233.lean

lean_all/bsd/MonskyCheck233.lean

/-
  bsd/MonskyCheck233.lean — T39 cycle 594 (goal G308): Monsky's 2-Selmer matrix for squarefree 46401 ≤ n ≤ 46600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck233
open MonskyCheck

def zeroList : List Nat := [46401, 46409, 46410, 46411, 46417, 46419, 46426, 46427, 46433, 46435, 46443, 46451, 46474, 46482, 46491, 46497, 46498, 46499, 46507, 46514, 46522, 46523, 46538, 46545, 46554, 46570, 46571, 46579, 46586, 46587]
def posList : List (Nat × Nat) := [(46402, 2), (46405, 3), (46406, 1), (46407, 1), (46414, 1), (46415, 1), (46418, 2), (46421, 1), (46423, 1), (46429, 3), (46430, 1), (46434, 2), (46437, 3), (46438, 3), (46439, 1), (46441, 2), (46442, 2), (46445, 1), (46446, 1), (46447, 1), (46453, 1), (46454, 1), (46455, 1), (46457, 2), (46459, 2), (46461, 1), (46462, 1), (46463, 3), (46465, 2), (46466, 2), (4646  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero233 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos233 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck233

#print axioms MonskyCheck233.sel_zero233
#print axioms MonskyCheck233.sel_pos233

bsd/MonskyCheck234.lean

lean_all/bsd/MonskyCheck234.lean

/-
  bsd/MonskyCheck234.lean — T39 cycle 595 (goal G309): Monsky's 2-Selmer matrix for squarefree 46601 ≤ n ≤ 46800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck234
open MonskyCheck

def zeroList : List Nat := [46603, 46610, 46617, 46618, 46619, 46626, 46634, 46643, 46651, 46666, 46667, 46673, 46689, 46691, 46698, 46699, 46707, 46713, 46714, 46715, 46721, 46723, 46729, 46730, 46747, 46761, 46762, 46763, 46771, 46779, 46786, 46787, 46794]
def posList : List (Nat × Nat) := [(46601, 2), (46605, 1), (46606, 3), (46607, 1), (46609, 2), (46613, 1), (46614, 3), (46615, 1), (46621, 1), (46622, 1), (46623, 1), (46627, 2), (46630, 1), (46631, 1), (46633, 2), (46635, 2), (46637, 1), (46639, 1), (46641, 2), (46642, 2), (46645, 1), (46646, 1), (46649, 2), (46653, 1), (46654, 1), (46655, 1), (46657, 2), (46658, 4), (46659, 2), (46661, 1), (4666  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero234 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos234 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck234

#print axioms MonskyCheck234.sel_zero234
#print axioms MonskyCheck234.sel_pos234

bsd/MonskyCheck235.lean

lean_all/bsd/MonskyCheck235.lean

/-
  bsd/MonskyCheck235.lean — T39 cycle 596 (goal G310): Monsky's 2-Selmer matrix for squarefree 46801 ≤ n ≤ 47000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck235
open MonskyCheck

def zeroList : List Nat := [46811, 46819, 46826, 46835, 46842, 46843, 46849, 46851, 46857, 46859, 46865, 46866, 46867, 46873, 46874, 46882, 46883, 46891, 46898, 46905, 46906, 46913, 46914, 46915, 46922, 46923, 46929, 46931, 46937, 46939, 46963, 46978, 46986, 46987, 46995]
def posList : List (Nat × Nat) := [(46801, 4), (46802, 2), (46803, 2), (46805, 1), (46806, 1), (46807, 1), (46810, 2), (46814, 3), (46815, 3), (46817, 2), (46821, 1), (46822, 1), (46823, 3), (46829, 1), (46830, 1), (46831, 1), (46833, 2), (46834, 2), (46837, 1), (46838, 1), (46839, 1), (46841, 2), (46846, 1), (46847, 3), (46853, 1), (46855, 1), (46858, 2), (46861, 1), (46862, 1), (46869, 1), (4687  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero235 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos235 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck235

#print axioms MonskyCheck235.sel_zero235
#print axioms MonskyCheck235.sel_pos235

bsd/MonskyCheck236.lean

lean_all/bsd/MonskyCheck236.lean

/-
  bsd/MonskyCheck236.lean — T39 cycle 598 (goal G311): Monsky's 2-Selmer matrix for squarefree 47001 ≤ n ≤ 47200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck236
open MonskyCheck

def zeroList : List Nat := [47001, 47002, 47011, 47018, 47042, 47049, 47051, 47058, 47059, 47067, 47082, 47091, 47098, 47113, 47114, 47121, 47123, 47131, 47139, 47145, 47146, 47147, 47162, 47171, 47179, 47193]
def posList : List (Nat × Nat) := [(47003, 2), (47005, 1), (47006, 1), (47009, 2), (47010, 2), (47013, 1), (47014, 3), (47015, 1), (47017, 2), (47019, 2), (47021, 3), (47022, 1), (47023, 1), (47026, 2), (47027, 2), (47029, 1), (47030, 1), (47031, 1), (47033, 2), (47035, 2), (47037, 1), (47038, 1), (47039, 3), (47041, 2), (47046, 1), (47047, 1), (47053, 1), (47054, 3), (47055, 1), (47057, 2), (4706  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero236 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos236 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck236

#print axioms MonskyCheck236.sel_zero236
#print axioms MonskyCheck236.sel_pos236

bsd/MonskyCheck237.lean

lean_all/bsd/MonskyCheck237.lean

/-
  bsd/MonskyCheck237.lean — T39 cycle 599 (goal G312): Monsky's 2-Selmer matrix for squarefree 47201 ≤ n ≤ 47400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck237
open MonskyCheck

def zeroList : List Nat := [47202, 47211, 47217, 47226, 47227, 47234, 47243, 47251, 47257, 47258, 47267, 47274, 47283, 47289, 47298, 47315, 47330, 47337, 47338, 47339, 47346, 47347, 47354, 47361, 47363, 47369, 47370, 47371, 47379, 47386, 47387, 47393]
def posList : List (Nat × Nat) := [(47201, 2), (47203, 2), (47206, 1), (47207, 1), (47209, 2), (47210, 2), (47213, 1), (47215, 1), (47218, 2), (47219, 2), (47221, 1), (47222, 1), (47229, 1), (47230, 1), (47231, 1), (47233, 2), (47235, 2), (47237, 1), (47238, 3), (47239, 3), (47242, 2), (47245, 1), (47246, 1), (47247, 1), (47249, 2), (47253, 1), (47254, 1), (47255, 1), (47261, 1), (47262, 1), (4726  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero237 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos237 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck237

#print axioms MonskyCheck237.sel_zero237
#print axioms MonskyCheck237.sel_pos237

bsd/MonskyCheck238.lean

lean_all/bsd/MonskyCheck238.lean

/-
  bsd/MonskyCheck238.lean — T39 cycle 600 (goal G313): Monsky's 2-Selmer matrix for squarefree 47401 ≤ n ≤ 47600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck238
open MonskyCheck

def zeroList : List Nat := [47401, 47409, 47411, 47419, 47427, 47435, 47442, 47443, 47458, 47459, 47465, 47467, 47482, 47490, 47491, 47505, 47507, 47515, 47531, 47546, 47554, 47562, 47563, 47570, 47577, 47578, 47587, 47593, 47595]
def posList : List (Nat × Nat) := [(47402, 2), (47405, 1), (47406, 1), (47407, 1), (47410, 2), (47413, 3), (47414, 1), (47415, 1), (47417, 2), (47418, 2), (47422, 1), (47423, 1), (47426, 2), (47429, 1), (47431, 1), (47433, 2), (47434, 2), (47437, 1), (47438, 1), (47441, 2), (47445, 1), (47446, 1), (47447, 1), (47449, 2), (47451, 2), (47453, 1), (47454, 1), (47455, 1), (47461, 1), (47462, 1), (4746  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero238 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos238 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck238

#print axioms MonskyCheck238.sel_zero238
#print axioms MonskyCheck238.sel_pos238

bsd/MonskyCheck239.lean

lean_all/bsd/MonskyCheck239.lean

/-
  bsd/MonskyCheck239.lean — T39 cycle 601 (goal G314): Monsky's 2-Selmer matrix for squarefree 47601 ≤ n ≤ 47800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck239
open MonskyCheck

def zeroList : List Nat := [47611, 47618, 47626, 47633, 47634, 47635, 47641, 47642, 47643, 47659, 47683, 47690, 47699, 47705, 47706, 47721, 47722, 47723, 47729, 47731, 47738, 47762, 47769, 47771, 47778, 47779, 47785, 47786, 47793]
def posList : List (Nat × Nat) := [(47602, 2), (47603, 2), (47605, 3), (47606, 1), (47607, 1), (47609, 2), (47613, 1), (47614, 1), (47615, 3), (47617, 4), (47621, 1), (47622, 1), (47623, 1), (47627, 2), (47629, 1), (47630, 1), (47631, 1), (47638, 1), (47639, 1), (47645, 1), (47647, 1), (47649, 2), (47651, 2), (47653, 1), (47654, 1), (47657, 2), (47661, 1), (47662, 1), (47663, 1), (47665, 2), (4766  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero239 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos239 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck239

#print axioms MonskyCheck239.sel_zero239
#print axioms MonskyCheck239.sel_pos239

bsd/MonskyCheck24.lean

lean_all/bsd/MonskyCheck24.lean

/-
  bsd/MonskyCheck24.lean — T39 cycle 348 (goal G78): Monsky's 2-Selmer matrix for squarefree 4601 ≤ n ≤ 4800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck24
open MonskyCheck

def zeroList : List Nat := [4601, 4602, 4603, 4609, 4610, 4611, 4618, 4627, 4642, 4643, 4651, 4659, 4666, 4667, 4682, 4690, 4691, 4697, 4706, 4713, 4714, 4722, 4723, 4730, 4737, 4739, 4746, 4755, 4762, 4769, 4778, 4785, 4787, 4795]
def posList : List (Nat × Nat) := [(4605, 1), (4607, 3), (4613, 1), (4614, 3), (4615, 1), (4619, 2), (4621, 1), (4622, 1), (4623, 1), (4629, 1), (4630, 1), (4631, 1), (4633, 4), (4634, 2), (4637, 1), (4638, 1), (4639, 1), (4641, 2), (4645, 3), (4646, 1), (4647, 1), (4649, 2), (4654, 1), (4657, 2), (4658, 4), (4661, 1), (4663, 1), (4665, 2), (4669, 3), (4670, 1), (4673, 2), (4674, 2), (4677, 1), (4  -- (+624 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero24 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos24 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck24

#print axioms MonskyCheck24.sel_zero24
#print axioms MonskyCheck24.sel_pos24

bsd/MonskyCheck240.lean

lean_all/bsd/MonskyCheck240.lean

/-
  bsd/MonskyCheck240.lean — T39 cycle 602 (goal G315): Monsky's 2-Selmer matrix for squarefree 47801 ≤ n ≤ 48000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck240
open MonskyCheck

def zeroList : List Nat := [47802, 47810, 47818, 47819, 47834, 47841, 47842, 47843, 47849, 47866, 47867, 47874, 47883, 47890, 47891, 47897, 47899, 47913, 47914, 47923, 47930, 47931, 47938, 47939, 47945, 47946, 47947, 47955, 47962, 47963, 47985, 47993]
def posList : List (Nat × Nat) := [(47801, 2), (47803, 2), (47805, 1), (47806, 1), (47807, 1), (47809, 2), (47811, 2), (47813, 1), (47814, 1), (47815, 1), (47821, 1), (47822, 1), (47823, 1), (47829, 1), (47830, 1), (47831, 3), (47833, 2), (47837, 1), (47838, 1), (47839, 1), (47845, 1), (47846, 1), (47847, 1), (47851, 2), (47854, 1), (47855, 1), (47857, 2), (47858, 2), (47859, 2), (47861, 1), (4786  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero240 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos240 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck240

#print axioms MonskyCheck240.sel_zero240
#print axioms MonskyCheck240.sel_pos240

bsd/MonskyCheck241.lean

lean_all/bsd/MonskyCheck241.lean

/-
  bsd/MonskyCheck241.lean — T39 cycle 604 (goal G317): Monsky's 2-Selmer matrix for squarefree 48001 ≤ n ≤ 48200, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck241
open MonskyCheck

def zeroList : List Nat := [48003, 48019, 48035, 48043, 48058, 48066, 48081, 48082, 48089, 48090, 48091, 48106, 48115, 48122, 48130, 48131, 48138, 48154, 48163, 48170, 48178, 48179, 48185, 48187]
def posList : List (Nat × Nat) := [(48001, 2), (48002, 2), (48005, 3), (48007, 1), (48009, 2), (48010, 2), (48011, 2), (48014, 1), (48017, 2), (48018, 2), (48021, 1), (48022, 1), (48023, 1), (48026, 2), (48027, 2), (48029, 1), (48030, 1), (48031, 1), (48034, 2), (48038, 1), (48039, 1), (48041, 2), (48045, 1), (48046, 1), (48047, 1), (48049, 2), (48053, 3), (48054, 1), (48055, 1), (48057, 2), (4805  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero241 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos241 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck241

#print axioms MonskyCheck241.sel_zero241
#print axioms MonskyCheck241.sel_pos241

bsd/MonskyCheck242.lean

lean_all/bsd/MonskyCheck242.lean

/-
  bsd/MonskyCheck242.lean — T39 cycle 605 (goal G318): Monsky's 2-Selmer matrix for squarefree 48201 ≤ n ≤ 48400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck242
open MonskyCheck

def zeroList : List Nat := [48201, 48210, 48211, 48218, 48219, 48227, 48233, 48235, 48241, 48257, 48259, 48266, 48273, 48289, 48291, 48299, 48306, 48307, 48315, 48322, 48354, 48362, 48369, 48371, 48378, 48379, 48386, 48394]
def posList : List (Nat × Nat) := [(48202, 2), (48203, 2), (48205, 3), (48206, 1), (48207, 1), (48209, 2), (48214, 1), (48215, 1), (48217, 2), (48221, 1), (48226, 2), (48229, 3), (48230, 1), (48234, 2), (48237, 1), (48238, 3), (48239, 1), (48242, 2), (48243, 2), (48245, 3), (48246, 1), (48247, 1), (48251, 2), (48253, 3), (48254, 1), (48255, 1), (48261, 1), (48262, 1), (48269, 1), (48270, 3), (4827  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero242 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos242 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck242

#print axioms MonskyCheck242.sel_zero242
#print axioms MonskyCheck242.sel_pos242

bsd/MonskyCheck243.lean

lean_all/bsd/MonskyCheck243.lean

/-
  bsd/MonskyCheck243.lean — T39 cycle 606 (goal G319): Monsky's 2-Selmer matrix for squarefree 48401 ≤ n ≤ 48600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck243
open MonskyCheck

def zeroList : List Nat := [48403, 48417, 48418, 48426, 48427, 48433, 48434, 48442, 48443, 48458, 48459, 48466, 48467, 48489, 48491, 48498, 48506, 48513, 48515, 48523, 48530, 48539, 48545, 48561, 48563, 48571, 48578, 48579]
def posList : List (Nat × Nat) := [(48401, 2), (48405, 1), (48406, 1), (48407, 1), (48409, 2), (48410, 2), (48413, 1), (48414, 1), (48415, 1), (48419, 2), (48421, 3), (48422, 1), (48423, 1), (48430, 1), (48431, 1), (48435, 2), (48437, 1), (48439, 1), (48441, 2), (48445, 3), (48446, 1), (48449, 2), (48451, 2), (48453, 1), (48454, 1), (48455, 3), (48457, 2), (48462, 1), (48463, 1), (48469, 1), (4847  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero243 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos243 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck243

#print axioms MonskyCheck243.sel_zero243
#print axioms MonskyCheck243.sel_pos243

bsd/MonskyCheck244.lean

lean_all/bsd/MonskyCheck244.lean

/-
  bsd/MonskyCheck244.lean — T39 cycle 607 (goal G320): Monsky's 2-Selmer matrix for squarefree 48601 ≤ n ≤ 48800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck244
open MonskyCheck

def zeroList : List Nat := [48602, 48603, 48610, 48611, 48619, 48634, 48635, 48643, 48651, 48659, 48682, 48683, 48697, 48707, 48715, 48721, 48723, 48729, 48731, 48738, 48746, 48754, 48770, 48779, 48785, 48787, 48793, 48794, 48795]
def posList : List (Nat × Nat) := [(48601, 2), (48605, 3), (48606, 1), (48607, 1), (48613, 1), (48614, 1), (48615, 1), (48617, 2), (48621, 1), (48622, 3), (48623, 1), (48626, 2), (48629, 1), (48630, 1), (48631, 1), (48633, 2), (48637, 1), (48638, 1), (48639, 1), (48641, 2), (48646, 1), (48647, 1), (48649, 2), (48653, 1), (48655, 1), (48658, 2), (48661, 1), (48662, 1), (48665, 2), (48666, 2), (4866  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero244 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos244 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck244

#print axioms MonskyCheck244.sel_zero244
#print axioms MonskyCheck244.sel_pos244

bsd/MonskyCheck245.lean

lean_all/bsd/MonskyCheck245.lean

/-
  bsd/MonskyCheck245.lean — T39 cycle 608 (goal G321): Monsky's 2-Selmer matrix for squarefree 48801 ≤ n ≤ 49000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck245
open MonskyCheck

def zeroList : List Nat := [48801, 48802, 48803, 48810, 48826, 48835, 48842, 48851, 48858, 48859, 48866, 48874, 48882, 48883, 48891, 48907, 48914, 48921, 48922, 48938, 48939, 48945, 48947, 48954, 48961, 48963, 48970, 48986]
def posList : List (Nat × Nat) := [(48805, 1), (48806, 1), (48809, 2), (48811, 2), (48813, 1), (48814, 1), (48815, 3), (48817, 2), (48818, 2), (48819, 2), (48821, 1), (48822, 1), (48823, 1), (48827, 2), (48829, 1), (48830, 1), (48831, 1), (48833, 2), (48837, 3), (48838, 1), (48839, 1), (48845, 3), (48846, 1), (48847, 1), (48849, 2), (48854, 1), (48855, 1), (48857, 2), (48862, 1), (48863, 1), (4886  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero245 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos245 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck245

#print axioms MonskyCheck245.sel_zero245
#print axioms MonskyCheck245.sel_pos245

bsd/MonskyCheck246.lean

lean_all/bsd/MonskyCheck246.lean

/-
  bsd/MonskyCheck246.lean — T39 cycle 609 (goal G322): Monsky's 2-Selmer matrix for squarefree 49001 ≤ n ≤ 49200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck246
open MonskyCheck

def zeroList : List Nat := [49001, 49002, 49003, 49017, 49018, 49019, 49026, 49027, 49034, 49035, 49043, 49051, 49058, 49066, 49067, 49074, 49082, 49083, 49089, 49090, 49091, 49099, 49106, 49115, 49123, 49139, 49146, 49161, 49163, 49170, 49171, 49187]
def posList : List (Nat × Nat) := [(49006, 1), (49007, 3), (49009, 2), (49013, 1), (49015, 1), (49021, 3), (49022, 1), (49029, 1), (49030, 1), (49031, 1), (49033, 2), (49037, 1), (49038, 1), (49039, 1), (49042, 4), (49045, 1), (49046, 1), (49047, 1), (49053, 1), (49054, 1), (49055, 1), (49057, 2), (49061, 1), (49062, 1), (49063, 1), (49065, 2), (49069, 1), (49070, 1), (49071, 1), (49073, 2), (4907  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero246 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos246 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck246

#print axioms MonskyCheck246.sel_zero246
#print axioms MonskyCheck246.sel_pos246

bsd/MonskyCheck247.lean

lean_all/bsd/MonskyCheck247.lean

/-
  bsd/MonskyCheck247.lean — T39 cycle 610 (goal G323): Monsky's 2-Selmer matrix for squarefree 49201 ≤ n ≤ 49400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck247
open MonskyCheck

def zeroList : List Nat := [49209, 49210, 49211, 49226, 49233, 49242, 49265, 49274, 49281, 49290, 49299, 49307, 49313, 49314, 49321, 49323, 49330, 49331, 49339, 49346, 49353, 49354, 49362, 49363, 49370, 49377, 49385]
def posList : List (Nat × Nat) := [(49201, 2), (49202, 2), (49205, 1), (49206, 1), (49207, 1), (49213, 1), (49214, 1), (49215, 1), (49217, 2), (49218, 2), (49219, 2), (49222, 1), (49223, 1), (49227, 2), (49229, 1), (49231, 1), (49234, 2), (49235, 2), (49237, 3), (49238, 1), (49241, 2), (49243, 2), (49246, 1), (49249, 2), (49251, 2), (49253, 1), (49254, 3), (49255, 1), (49258, 2), (49259, 2), (4926  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero247 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos247 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck247

#print axioms MonskyCheck247.sel_zero247
#print axioms MonskyCheck247.sel_pos247

bsd/MonskyCheck248.lean

lean_all/bsd/MonskyCheck248.lean

/-
  bsd/MonskyCheck248.lean — T39 cycle 611 (goal G324): Monsky's 2-Selmer matrix for squarefree 49401 ≤ n ≤ 49600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck248
open MonskyCheck

def zeroList : List Nat := [49411, 49418, 49426, 49427, 49434, 49435, 49442, 49443, 49451, 49458, 49459, 49466, 49467, 49474, 49483, 49497, 49498, 49499, 49506, 49513, 49514, 49521, 49522, 49523, 49530, 49531, 49547, 49555, 49562, 49570, 49577, 49578, 49585, 49587, 49595]
def posList : List (Nat × Nat) := [(49402, 2), (49403, 2), (49405, 5), (49406, 3), (49407, 1), (49409, 2), (49413, 1), (49414, 1), (49415, 1), (49417, 2), (49421, 1), (49422, 1), (49423, 1), (49429, 1), (49430, 1), (49431, 1), (49433, 2), (49438, 1), (49439, 1), (49445, 1), (49447, 1), (49449, 2), (49453, 3), (49454, 3), (49461, 1), (49462, 1), (49463, 1), (49465, 2), (49469, 1), (49470, 1), (4947  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero248 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos248 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck248

#print axioms MonskyCheck248.sel_zero248
#print axioms MonskyCheck248.sel_pos248

bsd/MonskyCheck249.lean

lean_all/bsd/MonskyCheck249.lean

/-
  bsd/MonskyCheck249.lean — T39 cycle 612 (goal G325): Monsky's 2-Selmer matrix for squarefree 49601 ≤ n ≤ 49800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck249
open MonskyCheck

def zeroList : List Nat := [49603, 49627, 49634, 49641, 49642, 49649, 49651, 49658, 49659, 49665, 49666, 49667, 49674, 49691, 49722, 49723, 49730, 49737, 49738, 49739, 49746, 49747, 49753, 49754, 49755, 49762, 49771, 49777, 49786, 49787, 49795]
def posList : List (Nat × Nat) := [(49601, 4), (49602, 2), (49605, 1), (49606, 1), (49607, 3), (49609, 2), (49611, 2), (49613, 1), (49614, 1), (49615, 1), (49618, 2), (49621, 1), (49622, 1), (49623, 1), (49629, 1), (49630, 1), (49631, 3), (49633, 2), (49638, 1), (49639, 1), (49643, 2), (49645, 3), (49646, 1), (49647, 1), (49654, 1), (49655, 1), (49657, 2), (49661, 3), (49663, 1), (49669, 1), (4967  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero249 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos249 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck249

#print axioms MonskyCheck249.sel_zero249
#print axioms MonskyCheck249.sel_pos249

bsd/MonskyCheck25.lean

lean_all/bsd/MonskyCheck25.lean

/-
  bsd/MonskyCheck25.lean — T39 cycle 351 (goal G79): Monsky's 2-Selmer matrix for squarefree 4801 ≤ n ≤ 5000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck25
open MonskyCheck

def zeroList : List Nat := [4803, 4809, 4811, 4818, 4819, 4835, 4857, 4859, 4865, 4866, 4873, 4874, 4881, 4883, 4890, 4897, 4906, 4915, 4922, 4929, 4931, 4938, 4945, 4947, 4954, 4962, 4970, 4978, 4979, 4987, 4994]
def posList : List (Nat × Nat) := [(4801, 2), (4807, 1), (4810, 2), (4813, 1), (4814, 1), (4817, 2), (4821, 1), (4822, 1), (4823, 1), (4826, 2), (4827, 2), (4829, 1), (4830, 1), (4831, 1), (4834, 2), (4837, 1), (4838, 3), (4839, 1), (4841, 2), (4843, 2), (4845, 1), (4846, 1), (4847, 1), (4849, 2), (4853, 1), (4854, 1), (4855, 1), (4858, 2), (4861, 1), (4862, 1), (4863, 1), (4867, 2), (4870, 1), (4  -- (+624 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero25 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos25 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck25

#print axioms MonskyCheck25.sel_zero25
#print axioms MonskyCheck25.sel_pos25

bsd/MonskyCheck250.lean

lean_all/bsd/MonskyCheck250.lean

/-
  bsd/MonskyCheck250.lean — T39 cycle 613 (goal G326): Monsky's 2-Selmer matrix for squarefree 49801 ≤ n ≤ 50000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck250
open MonskyCheck

def zeroList : List Nat := [49809, 49810, 49811, 49819, 49827, 49834, 49835, 49843, 49857, 49859, 49866, 49874, 49881, 49883, 49891, 49898, 49907, 49922, 49930, 49938, 49939, 49945, 49947, 49953, 49955, 49962, 49969, 49978, 49979]
def posList : List (Nat × Nat) := [(49801, 2), (49802, 2), (49803, 2), (49805, 1), (49807, 1), (49813, 3), (49814, 1), (49817, 2), (49821, 1), (49822, 1), (49823, 1), (49826, 2), (49829, 1), (49830, 1), (49831, 1), (49837, 1), (49838, 1), (49839, 1), (49841, 2), (49845, 1), (49846, 1), (49847, 3), (49849, 2), (49853, 1), (49854, 1), (49858, 2), (49861, 1), (49862, 3), (49863, 1), (49865, 2), (4986  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero250 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos250 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck250

#print axioms MonskyCheck250.sel_zero250
#print axioms MonskyCheck250.sel_pos250

bsd/MonskyCheck251.lean

lean_all/bsd/MonskyCheck251.lean

/-
  bsd/MonskyCheck251.lean — T39 cycle 615 (goal G328): Monsky's 2-Selmer matrix for squarefree 50001 ≤ n ≤ 50200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck251
open MonskyCheck

def zeroList : List Nat := [50009, 50010, 50017, 50019, 50026, 50035, 50041, 50042, 50051, 50065, 50073, 50074, 50082, 50083, 50097, 50098, 50106, 50107, 50115, 50123, 50131, 50138, 50145, 50147, 50155, 50163, 50170, 50171, 50178, 50186]
def posList : List (Nat × Nat) := [(50001, 2), (50002, 2), (50003, 2), (50005, 1), (50006, 1), (50007, 1), (50011, 2), (50014, 3), (50015, 1), (50018, 2), (50021, 1), (50023, 1), (50027, 2), (50030, 1), (50033, 2), (50034, 2), (50037, 1), (50038, 1), (50039, 1), (50043, 2), (50045, 3), (50046, 1), (50047, 1), (50053, 1), (50054, 1), (50055, 1), (50057, 2), (50059, 2), (50061, 3), (50062, 1), (5006  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero251 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos251 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck251

#print axioms MonskyCheck251.sel_zero251
#print axioms MonskyCheck251.sel_pos251

bsd/MonskyCheck252.lean

lean_all/bsd/MonskyCheck252.lean

/-
  bsd/MonskyCheck252.lean — T39 cycle 616 (goal G329): Monsky's 2-Selmer matrix for squarefree 50201 ≤ n ≤ 50400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck252
open MonskyCheck

def zeroList : List Nat := [50203, 50209, 50210, 50217, 50218, 50219, 50227, 50234, 50241, 50243, 50258, 50259, 50267, 50289, 50291, 50298, 50299, 50322, 50331, 50339, 50353, 50361, 50363, 50370, 50371, 50378, 50387, 50394]
def posList : List (Nat × Nat) := [(50201, 2), (50205, 1), (50206, 1), (50207, 1), (50213, 3), (50214, 1), (50221, 1), (50222, 1), (50223, 1), (50226, 2), (50230, 1), (50231, 1), (50233, 2), (50235, 2), (50237, 1), (50239, 3), (50242, 2), (50245, 1), (50246, 1), (50249, 2), (50251, 2), (50253, 1), (50254, 1), (50257, 2), (50261, 1), (50262, 3), (50263, 1), (50266, 2), (50269, 3), (50270, 1), (5027  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero252 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos252 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck252

#print axioms MonskyCheck252.sel_zero252
#print axioms MonskyCheck252.sel_pos252

bsd/MonskyCheck253.lean

lean_all/bsd/MonskyCheck253.lean

/-
  bsd/MonskyCheck253.lean — T39 cycle 617 (goal G330): Monsky's 2-Selmer matrix for squarefree 50401 ≤ n ≤ 50600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck253
open MonskyCheck

def zeroList : List Nat := [50402, 50403, 50411, 50426, 50433, 50435, 50443, 50451, 50458, 50459, 50474, 50482, 50491, 50505, 50506, 50514, 50515, 50521, 50522, 50529, 50539, 50563, 50570, 50577, 50579, 50586, 50587, 50595]
def posList : List (Nat × Nat) := [(50401, 2), (50405, 1), (50406, 1), (50407, 1), (50413, 1), (50414, 1), (50415, 3), (50417, 2), (50419, 2), (50422, 3), (50423, 1), (50429, 1), (50431, 1), (50434, 2), (50437, 1), (50438, 1), (50439, 1), (50441, 2), (50442, 2), (50446, 1), (50447, 1), (50449, 2), (50453, 1), (50455, 1), (50461, 1), (50462, 3), (50465, 2), (50466, 2), (50467, 2), (50469, 1), (5047  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero253 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos253 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck253

#print axioms MonskyCheck253.sel_zero253
#print axioms MonskyCheck253.sel_pos253

bsd/MonskyCheck254.lean

lean_all/bsd/MonskyCheck254.lean

/-
  bsd/MonskyCheck254.lean — T39 cycle 618 (goal G331): Monsky's 2-Selmer matrix for squarefree 50601 ≤ n ≤ 50800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck254
open MonskyCheck

def zeroList : List Nat := [50601, 50602, 50603, 50611, 50618, 50627, 50633, 50635, 50649, 50651, 50657, 50658, 50659, 50667, 50673, 50674, 50681, 50683, 50690, 50698, 50707, 50713, 50714, 50721, 50723, 50730, 50731, 50745, 50746, 50754, 50762, 50770, 50785, 50786, 50793]
def posList : List (Nat × Nat) := [(50605, 3), (50606, 1), (50609, 4), (50610, 2), (50613, 1), (50614, 1), (50615, 1), (50619, 2), (50621, 1), (50622, 1), (50623, 3), (50626, 2), (50629, 3), (50630, 1), (50631, 1), (50637, 1), (50638, 1), (50639, 3), (50641, 2), (50642, 2), (50645, 1), (50646, 1), (50647, 1), (50654, 1), (50655, 1), (50662, 3), (50663, 1), (50665, 2), (50669, 1), (50671, 1), (5067  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero254 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos254 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck254

#print axioms MonskyCheck254.sel_zero254
#print axioms MonskyCheck254.sel_pos254

bsd/MonskyCheck255.lean

lean_all/bsd/MonskyCheck255.lean

/-
  bsd/MonskyCheck255.lean — T39 cycle 619 (goal G332): Monsky's 2-Selmer matrix for squarefree 50801 ≤ n ≤ 51000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck255
open MonskyCheck

def zeroList : List Nat := [50802, 50803, 50811, 50819, 50826, 50835, 50842, 50843, 50866, 50867, 50883, 50889, 50891, 50897, 50899, 50906, 50923, 50937, 50938, 50945, 50946, 50947, 50961, 50962, 50970, 50971, 50977, 50986]
def posList : List (Nat × Nat) := [(50801, 2), (50806, 1), (50809, 2), (50810, 2), (50815, 1), (50817, 2), (50818, 2), (50821, 1), (50822, 1), (50827, 2), (50829, 1), (50830, 1), (50831, 1), (50833, 2), (50834, 2), (50837, 3), (50838, 1), (50839, 1), (50845, 3), (50846, 1), (50847, 1), (50849, 2), (50851, 2), (50853, 1), (50854, 1), (50855, 1), (50857, 2), (50858, 2), (50861, 3), (50863, 1), (5086  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero255 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos255 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck255

#print axioms MonskyCheck255.sel_zero255
#print axioms MonskyCheck255.sel_pos255

bsd/MonskyCheck256.lean

lean_all/bsd/MonskyCheck256.lean

/-
  bsd/MonskyCheck256.lean — T39 cycle 620 (goal G333): Monsky's 2-Selmer matrix for squarefree 51001 ≤ n ≤ 51200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck256
open MonskyCheck

def zeroList : List Nat := [51002, 51010, 51011, 51027, 51033, 51035, 51041, 51042, 51043, 51059, 51065, 51067, 51073, 51081, 51082, 51090, 51091, 51098, 51099, 51105, 51106, 51114, 51115, 51130, 51131, 51139, 51146, 51155, 51161, 51162, 51170, 51171, 51178, 51194, 51195]
def posList : List (Nat × Nat) := [(51001, 2), (51006, 1), (51007, 1), (51013, 1), (51014, 1), (51015, 1), (51017, 4), (51018, 2), (51019, 2), (51022, 1), (51023, 3), (51026, 2), (51029, 1), (51031, 1), (51034, 2), (51037, 3), (51045, 1), (51046, 1), (51047, 1), (51049, 2), (51051, 2), (51053, 1), (51054, 1), (51055, 1), (51061, 1), (51063, 1), (51069, 1), (51070, 1), (51071, 1), (51074, 2), (5107  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero256 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos256 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck256

#print axioms MonskyCheck256.sel_zero256
#print axioms MonskyCheck256.sel_pos256

bsd/MonskyCheck257.lean

lean_all/bsd/MonskyCheck257.lean

/-
  bsd/MonskyCheck257.lean — T39 cycle 621 (goal G334): Monsky's 2-Selmer matrix for squarefree 51201 ≤ n ≤ 51400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck257
open MonskyCheck

def zeroList : List Nat := [51203, 51226, 51233, 51234, 51235, 51242, 51243, 51274, 51281, 51283, 51297, 51298, 51299, 51306, 51307, 51321, 51323, 51337, 51338, 51347, 51362, 51369, 51377, 51378, 51386, 51387, 51393]
def posList : List (Nat × Nat) := [(51202, 2), (51206, 1), (51209, 2), (51211, 2), (51213, 1), (51214, 1), (51215, 1), (51217, 2), (51218, 2), (51221, 1), (51222, 1), (51223, 1), (51227, 2), (51229, 1), (51230, 1), (51231, 1), (51238, 3), (51239, 1), (51241, 2), (51245, 1), (51247, 1), (51249, 2), (51251, 2), (51253, 1), (51257, 2), (51258, 2), (51259, 2), (51261, 1), (51263, 1), (51265, 2), (5126  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero257 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos257 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck257

#print axioms MonskyCheck257.sel_zero257
#print axioms MonskyCheck257.sel_pos257

bsd/MonskyCheck258.lean

lean_all/bsd/MonskyCheck258.lean

/-
  bsd/MonskyCheck258.lean — T39 cycle 622 (goal G335): Monsky's 2-Selmer matrix for squarefree 51401 ≤ n ≤ 51600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck258
open MonskyCheck

def zeroList : List Nat := [51402, 51410, 51418, 51419, 51427, 51433, 51434, 51441, 51443, 51458, 51459, 51465, 51466, 51474, 51482, 51490, 51513, 51514, 51515, 51523, 51530, 51531, 51537, 51539, 51547, 51554, 51563, 51571, 51578, 51594, 51595]
def posList : List (Nat × Nat) := [(51403, 2), (51405, 1), (51406, 1), (51407, 1), (51409, 2), (51411, 2), (51413, 1), (51414, 3), (51415, 1), (51421, 1), (51422, 1), (51423, 1), (51429, 1), (51430, 1), (51431, 1), (51437, 1), (51438, 1), (51439, 1), (51445, 3), (51446, 1), (51447, 1), (51449, 2), (51451, 2), (51454, 1), (51455, 3), (51457, 2), (51461, 1), (51463, 1), (51467, 2), (51469, 1), (5147  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero258 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos258 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck258

#print axioms MonskyCheck258.sel_zero258
#print axioms MonskyCheck258.sel_pos258

bsd/MonskyCheck259.lean

lean_all/bsd/MonskyCheck259.lean

/-
  bsd/MonskyCheck259.lean — T39 cycle 623 (goal G336): Monsky's 2-Selmer matrix for squarefree 51601 ≤ n ≤ 51800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck259
open MonskyCheck

def zeroList : List Nat := [51601, 51603, 51609, 51611, 51618, 51619, 51634, 51657, 51658, 51659, 51681, 51683, 51690, 51691, 51699, 51706, 51707, 51715, 51729, 51730, 51738, 51739, 51747, 51754, 51762, 51770, 51787]
def posList : List (Nat × Nat) := [(51602, 2), (51605, 3), (51607, 1), (51610, 2), (51613, 1), (51614, 1), (51617, 2), (51621, 1), (51622, 1), (51626, 2), (51627, 2), (51629, 1), (51630, 1), (51631, 1), (51635, 2), (51637, 1), (51638, 1), (51639, 1), (51641, 2), (51643, 2), (51645, 1), (51647, 1), (51649, 2), (51653, 1), (51654, 1), (51655, 1), (51661, 1), (51662, 1), (51663, 1), (51665, 2), (5166  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero259 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos259 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck259

#print axioms MonskyCheck259.sel_zero259
#print axioms MonskyCheck259.sel_pos259

bsd/MonskyCheck26.lean

lean_all/bsd/MonskyCheck26.lean

/-
  bsd/MonskyCheck26.lean — T39 cycle 352 (goal G80): Monsky's 2-Selmer matrix for squarefree 5001 ≤ n ≤ 5200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck26
open MonskyCheck

def zeroList : List Nat := [5001, 5003, 5010, 5011, 5018, 5019, 5027, 5035, 5051, 5059, 5074, 5090, 5091, 5097, 5098, 5099, 5106, 5107, 5114, 5122, 5123, 5131, 5137, 5146, 5147, 5154, 5162, 5163, 5169, 5171, 5179, 5187]
def posList : List (Nat × Nat) := [(5002, 2), (5005, 1), (5006, 1), (5007, 1), (5009, 2), (5014, 1), (5015, 1), (5017, 2), (5021, 1), (5023, 1), (5026, 2), (5029, 1), (5030, 1), (5033, 2), (5034, 2), (5037, 3), (5038, 1), (5039, 1), (5042, 2), (5045, 3), (5053, 1), (5055, 1), (5057, 2), (5061, 1), (5062, 1), (5063, 1), (5065, 2), (5066, 2), (5069, 3), (5071, 1), (5073, 2), (5077, 1), (5078, 1), (5  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero26 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos26 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck26

#print axioms MonskyCheck26.sel_zero26
#print axioms MonskyCheck26.sel_pos26

bsd/MonskyCheck260.lean

lean_all/bsd/MonskyCheck260.lean

/-
  bsd/MonskyCheck260.lean — T39 cycle 624 (goal G337): Monsky's 2-Selmer matrix for squarefree 51801 ≤ n ≤ 52000, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck260
open MonskyCheck

def zeroList : List Nat := [51801, 51802, 51803, 51810, 51811, 51819, 51827, 51834, 51843, 51851, 51859, 51865, 51866, 51873, 51874, 51882, 51889, 51890, 51897, 51899, 51905, 51907, 51914, 51915, 51922, 51931, 51945, 51947, 51953, 51961, 51962, 51963, 51969, 51970, 51971, 51979, 51987, 51994]
def posList : List (Nat × Nat) := [(51805, 1), (51806, 1), (51807, 1), (51809, 2), (51814, 1), (51815, 1), (51817, 2), (51818, 2), (51821, 1), (51823, 1), (51826, 2), (51829, 1), (51830, 1), (51833, 2), (51835, 2), (51837, 1), (51838, 1), (51839, 1), (51841, 2), (51845, 3), (51846, 3), (51847, 1), (51853, 1), (51854, 1), (51855, 1), (51857, 2), (51861, 1), (51862, 1), (51863, 1), (51869, 1), (5187  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero260 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos260 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck260

#print axioms MonskyCheck260.sel_zero260
#print axioms MonskyCheck260.sel_pos260

bsd/MonskyCheck261.lean

lean_all/bsd/MonskyCheck261.lean

/-
  bsd/MonskyCheck261.lean — T39 cycle 625 (goal G338): Monsky's 2-Selmer matrix for squarefree 52001 ≤ n ≤ 52200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck261
open MonskyCheck

def zeroList : List Nat := [52017, 52019, 52027, 52041, 52042, 52043, 52051, 52058, 52067, 52073, 52089, 52097, 52106, 52113, 52115, 52129, 52130, 52139, 52147, 52154, 52161, 52162, 52163, 52179, 52187, 52194]
def posList : List (Nat × Nat) := [(52001, 2), (52003, 2), (52005, 1), (52006, 1), (52007, 1), (52009, 2), (52010, 2), (52013, 3), (52014, 1), (52015, 1), (52018, 2), (52021, 1), (52023, 1), (52026, 2), (52031, 1), (52033, 2), (52034, 2), (52035, 2), (52037, 3), (52039, 1), (52045, 1), (52046, 1), (52049, 2), (52053, 1), (52054, 3), (52055, 1), (52057, 2), (52059, 2), (52061, 1), (52062, 1), (5206  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero261 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos261 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck261

#print axioms MonskyCheck261.sel_zero261
#print axioms MonskyCheck261.sel_pos261

bsd/MonskyCheck262.lean

lean_all/bsd/MonskyCheck262.lean

/-
  bsd/MonskyCheck262.lean — T39 cycle 626 (goal G339): Monsky's 2-Selmer matrix for squarefree 52201 ≤ n ≤ 52400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck262
open MonskyCheck

def zeroList : List Nat := [52219, 52233, 52235, 52242, 52251, 52257, 52258, 52259, 52266, 52267, 52274, 52282, 52291, 52298, 52305, 52314, 52315, 52323, 52329, 52330, 52355, 52363, 52370, 52378, 52379, 52386, 52387, 52394, 52395]
def posList : List (Nat × Nat) := [(52201, 2), (52202, 2), (52203, 2), (52205, 1), (52206, 1), (52207, 1), (52210, 2), (52211, 2), (52213, 1), (52214, 1), (52217, 2), (52222, 1), (52223, 1), (52226, 2), (52229, 1), (52230, 1), (52231, 1), (52237, 1), (52238, 1), (52239, 1), (52241, 2), (52243, 2), (52246, 1), (52247, 1), (52249, 2), (52253, 1), (52255, 1), (52261, 1), (52262, 1), (52265, 2), (5226  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero262 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos262 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck262

#print axioms MonskyCheck262.sel_zero262
#print axioms MonskyCheck262.sel_pos262

bsd/MonskyCheck263.lean

lean_all/bsd/MonskyCheck263.lean

/-
  bsd/MonskyCheck263.lean — T39 cycle 627 (goal G340): Monsky's 2-Selmer matrix for squarefree 52401 ≤ n ≤ 52600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck263
open MonskyCheck

def zeroList : List Nat := [52401, 52402, 52410, 52411, 52417, 52419, 52435, 52442, 52449, 52458, 52459, 52465, 52466, 52467, 52473, 52474, 52482, 52490, 52507, 52522, 52531, 52537, 52538, 52547, 52554, 52555, 52570, 52571, 52579, 52586, 52593, 52595]
def posList : List (Nat × Nat) := [(52403, 2), (52405, 1), (52406, 1), (52409, 2), (52413, 1), (52414, 3), (52415, 1), (52418, 2), (52421, 1), (52422, 3), (52423, 1), (52426, 2), (52427, 2), (52429, 1), (52431, 1), (52433, 2), (52437, 1), (52438, 1), (52439, 3), (52445, 1), (52446, 1), (52447, 1), (52451, 2), (52453, 1), (52454, 1), (52455, 1), (52457, 2), (52462, 3), (52463, 3), (52469, 1), (5247  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero263 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos263 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck263

#print axioms MonskyCheck263.sel_zero263
#print axioms MonskyCheck263.sel_pos263

bsd/MonskyCheck264.lean

lean_all/bsd/MonskyCheck264.lean

/-
  bsd/MonskyCheck264.lean — T39 cycle 628 (goal G341): Monsky's 2-Selmer matrix for squarefree 52601 ≤ n ≤ 52800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck264
open MonskyCheck

def zeroList : List Nat := [52603, 52610, 52617, 52618, 52619, 52627, 52634, 52649, 52651, 52657, 52667, 52674, 52681, 52689, 52691, 52705, 52714, 52715, 52723, 52729, 52730, 52737, 52745, 52746, 52747, 52754, 52755, 52761, 52763, 52770, 52778, 52793]
def posList : List (Nat × Nat) := [(52601, 2), (52602, 2), (52606, 1), (52607, 1), (52609, 2), (52611, 2), (52613, 1), (52615, 1), (52621, 3), (52622, 1), (52629, 1), (52630, 1), (52631, 1), (52633, 2), (52637, 1), (52638, 1), (52639, 1), (52642, 2), (52643, 2), (52645, 3), (52646, 1), (52647, 1), (52653, 1), (52654, 3), (52655, 1), (52658, 4), (52661, 1), (52662, 3), (52663, 1), (52665, 2), (5266  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero264 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos264 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck264

#print axioms MonskyCheck264.sel_zero264
#print axioms MonskyCheck264.sel_pos264

bsd/MonskyCheck265.lean

lean_all/bsd/MonskyCheck265.lean

/-
  bsd/MonskyCheck265.lean — T39 cycle 629 (goal G342): Monsky's 2-Selmer matrix for squarefree 52801 ≤ n ≤ 53000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck265
open MonskyCheck

def zeroList : List Nat := [52801, 52809, 52818, 52826, 52827, 52835, 52843, 52859, 52874, 52881, 52883, 52890, 52891, 52905, 52906, 52914, 52922, 52953, 52955, 52961, 52962, 52963, 52970, 52971, 52977, 52987, 52995]
def posList : List (Nat × Nat) := [(52802, 2), (52805, 1), (52806, 1), (52807, 1), (52810, 2), (52811, 2), (52813, 1), (52814, 1), (52815, 1), (52817, 2), (52819, 2), (52823, 1), (52829, 1), (52831, 1), (52833, 2), (52834, 2), (52837, 1), (52838, 1), (52841, 2), (52842, 2), (52845, 1), (52846, 1), (52847, 1), (52849, 4), (52851, 2), (52853, 3), (52854, 3), (52858, 2), (52861, 1), (52862, 1), (5286  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero265 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos265 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck265

#print axioms MonskyCheck265.sel_zero265
#print axioms MonskyCheck265.sel_pos265

bsd/MonskyCheck266.lean

lean_all/bsd/MonskyCheck266.lean

/-
  bsd/MonskyCheck266.lean — T39 cycle 630 (goal G343): Monsky's 2-Selmer matrix for squarefree 53001 ≤ n ≤ 53200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck266
open MonskyCheck

def zeroList : List Nat := [53002, 53003, 53009, 53011, 53034, 53035, 53041, 53042, 53043, 53049, 53051, 53058, 53083, 53090, 53098, 53106, 53114, 53121, 53130, 53131, 53146, 53147, 53169, 53170, 53171, 53178, 53185, 53186, 53187, 53194]
def posList : List (Nat × Nat) := [(53005, 3), (53006, 1), (53007, 1), (53013, 1), (53014, 1), (53015, 1), (53017, 2), (53021, 3), (53022, 1), (53023, 3), (53026, 2), (53027, 2), (53029, 1), (53030, 1), (53031, 1), (53033, 2), (53038, 3), (53039, 1), (53047, 1), (53053, 1), (53054, 3), (53057, 2), (53059, 2), (53061, 1), (53062, 3), (53063, 3), (53065, 2), (53069, 1), (53070, 1), (53071, 3), (5307  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero266 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos266 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck266

#print axioms MonskyCheck266.sel_zero266
#print axioms MonskyCheck266.sel_pos266

bsd/MonskyCheck267.lean

lean_all/bsd/MonskyCheck267.lean

/-
  bsd/MonskyCheck267.lean — T39 cycle 631 (goal G344): Monsky's 2-Selmer matrix for squarefree 53201 ≤ n ≤ 53400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck267
open MonskyCheck

def zeroList : List Nat := [53202, 53203, 53210, 53218, 53219, 53234, 53241, 53257, 53258, 53267, 53274, 53299, 53305, 53306, 53313, 53315, 53322, 53323, 53330, 53337, 53338, 53339, 53345, 53346, 53347, 53354, 53355, 53363, 53369, 53378, 53386, 53387, 53393]
def posList : List (Nat × Nat) := [(53201, 2), (53205, 1), (53206, 1), (53207, 1), (53209, 2), (53211, 2), (53213, 1), (53215, 1), (53221, 1), (53222, 1), (53223, 1), (53227, 2), (53229, 1), (53230, 1), (53231, 1), (53233, 2), (53237, 1), (53238, 3), (53239, 1), (53242, 2), (53243, 2), (53245, 1), (53246, 3), (53247, 1), (53249, 2), (53251, 2), (53254, 1), (53255, 1), (53259, 2), (53261, 1), (5326  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero267 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos267 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck267

#print axioms MonskyCheck267.sel_zero267
#print axioms MonskyCheck267.sel_pos267

bsd/MonskyCheck268.lean

lean_all/bsd/MonskyCheck268.lean

/-
  bsd/MonskyCheck268.lean — T39 cycle 632 (goal G345): Monsky's 2-Selmer matrix for squarefree 53401 ≤ n ≤ 53600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck268
open MonskyCheck

def zeroList : List Nat := [53402, 53403, 53411, 53417, 53418, 53419, 53427, 53434, 53435, 53449, 53457, 53466, 53467, 53481, 53499, 53507, 53513, 53515, 53538, 53546, 53547, 53553, 53561, 53562, 53578, 53585]
def posList : List (Nat × Nat) := [(53401, 2), (53405, 1), (53407, 1), (53409, 2), (53413, 1), (53414, 1), (53421, 1), (53422, 1), (53423, 3), (53426, 2), (53430, 1), (53431, 1), (53437, 1), (53438, 1), (53439, 1), (53441, 2), (53443, 2), (53445, 1), (53446, 1), (53447, 1), (53453, 1), (53454, 1), (53455, 1), (53458, 2), (53461, 3), (53462, 1), (53463, 1), (53470, 1), (53471, 1), (53473, 2), (5347  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero268 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos268 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck268

#print axioms MonskyCheck268.sel_zero268
#print axioms MonskyCheck268.sel_pos268

bsd/MonskyCheck269.lean

lean_all/bsd/MonskyCheck269.lean

/-
  bsd/MonskyCheck269.lean — T39 cycle 633 (goal G346): Monsky's 2-Selmer matrix for squarefree 53601 ≤ n ≤ 53800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck269
open MonskyCheck

def zeroList : List Nat := [53610, 53611, 53626, 53627, 53642, 53651, 53659, 53673, 53682, 53699, 53705, 53707, 53713, 53714, 53715, 53722, 53731, 53738, 53745, 53746, 53747, 53755, 53763, 53769, 53778, 53786, 53794]
def posList : List (Nat × Nat) := [(53601, 2), (53602, 2), (53605, 3), (53607, 1), (53609, 2), (53614, 1), (53615, 1), (53617, 2), (53618, 2), (53619, 2), (53623, 1), (53629, 1), (53630, 1), (53633, 2), (53634, 2), (53635, 2), (53637, 1), (53638, 1), (53639, 1), (53641, 2), (53643, 2), (53645, 3), (53646, 1), (53647, 1), (53653, 1), (53654, 3), (53657, 2), (53661, 3), (53662, 3), (53663, 1), (5366  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero269 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos269 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck269

#print axioms MonskyCheck269.sel_zero269
#print axioms MonskyCheck269.sel_pos269

bsd/MonskyCheck27.lean

lean_all/bsd/MonskyCheck27.lean

/-
  bsd/MonskyCheck27.lean — T39 cycle 353 (goal G81): Monsky's 2-Selmer matrix for squarefree 5201 ≤ n ≤ 5400, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck27
open MonskyCheck

def zeroList : List Nat := [5227, 5241, 5242, 5251, 5267, 5282, 5289, 5291, 5298, 5307, 5313, 5315, 5323, 5330, 5339, 5347, 5354, 5361, 5369, 5377, 5379, 5386, 5387, 5395]
def posList : List (Nat × Nat) := [(5201, 2), (5205, 1), (5206, 3), (5207, 3), (5209, 2), (5210, 2), (5213, 1), (5214, 1), (5215, 1), (5217, 2), (5218, 2), (5219, 2), (5221, 1), (5222, 1), (5223, 1), (5226, 2), (5230, 1), (5231, 1), (5233, 2), (5234, 2), (5235, 2), (5237, 1), (5245, 3), (5246, 1), (5249, 2), (5253, 1), (5254, 1), (5255, 1), (5257, 2), (5258, 2), (5259, 2), (5261, 1), (5262, 1), (5  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero27 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos27 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck27

#print axioms MonskyCheck27.sel_zero27
#print axioms MonskyCheck27.sel_pos27

bsd/MonskyCheck270.lean

lean_all/bsd/MonskyCheck270.lean

/-
  bsd/MonskyCheck270.lean — T39 cycle 634 (goal G347): Monsky's 2-Selmer matrix for squarefree 53801 ≤ n ≤ 54000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck270
open MonskyCheck

def zeroList : List Nat := [53801, 53810, 53817, 53819, 53826, 53827, 53834, 53835, 53866, 53867, 53891, 53899, 53913, 53915, 53922, 53923, 53930, 53938, 53939, 53953, 53954, 53961, 53962, 53963, 53987]
def posList : List (Nat × Nat) := [(53803, 2), (53805, 1), (53806, 1), (53807, 1), (53809, 2), (53813, 1), (53814, 1), (53815, 1), (53818, 2), (53821, 1), (53822, 3), (53823, 1), (53830, 1), (53831, 1), (53833, 2), (53837, 1), (53839, 1), (53841, 2), (53842, 2), (53843, 2), (53846, 1), (53849, 2), (53853, 1), (53854, 1), (53855, 1), (53857, 2), (53858, 2), (53859, 2), (53861, 1), (53862, 3), (5386  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero270 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos270 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck270

#print axioms MonskyCheck270.sel_zero270
#print axioms MonskyCheck270.sel_pos270

bsd/MonskyCheck271.lean

lean_all/bsd/MonskyCheck271.lean

/-
  bsd/MonskyCheck271.lean — T39 cycle 636 (goal G349): Monsky's 2-Selmer matrix for squarefree 54001 ≤ n ≤ 54200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck271
open MonskyCheck

def zeroList : List Nat := [54002, 54010, 54011, 54017, 54019, 54026, 54042, 54051, 54057, 54058, 54059, 54065, 54066, 54074, 54083, 54091, 54098, 54105, 54107, 54114, 54115, 54122, 54123, 54129, 54130, 54137, 54138, 54139, 54154, 54163, 54169, 54170, 54177, 54186, 54187, 54195]
def posList : List (Nat × Nat) := [(54001, 2), (54003, 2), (54005, 1), (54006, 3), (54007, 1), (54013, 1), (54014, 3), (54015, 1), (54021, 1), (54022, 1), (54023, 3), (54029, 3), (54030, 3), (54031, 1), (54033, 2), (54034, 2), (54035, 2), (54037, 1), (54038, 1), (54039, 1), (54041, 2), (54046, 1), (54049, 2), (54053, 1), (54055, 1), (54061, 1), (54062, 1), (54067, 2), (54069, 1), (54070, 1), (5407  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero271 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos271 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck271

#print axioms MonskyCheck271.sel_zero271
#print axioms MonskyCheck271.sel_pos271

bsd/MonskyCheck272.lean

lean_all/bsd/MonskyCheck272.lean

/-
  bsd/MonskyCheck272.lean — T39 cycle 637 (goal G350): Monsky's 2-Selmer matrix for squarefree 54201 ≤ n ≤ 54400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck272
open MonskyCheck

def zeroList : List Nat := [54201, 54203, 54211, 54218, 54219, 54226, 54235, 54241, 54242, 54251, 54258, 54259, 54267, 54273, 54274, 54282, 54290, 54322, 54323, 54331, 54337, 54338, 54339, 54345, 54347, 54354, 54355, 54370, 54371, 54379, 54393, 54394]
def posList : List (Nat × Nat) := [(54202, 2), (54205, 1), (54206, 1), (54209, 2), (54210, 2), (54213, 1), (54214, 1), (54215, 1), (54217, 2), (54221, 1), (54222, 1), (54223, 1), (54227, 2), (54229, 1), (54230, 1), (54231, 1), (54233, 2), (54237, 1), (54238, 1), (54239, 1), (54245, 1), (54246, 1), (54247, 1), (54253, 1), (54254, 1), (54255, 1), (54257, 2), (54262, 1), (54263, 1), (54265, 2), (5426  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero272 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos272 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck272

#print axioms MonskyCheck272.sel_zero272
#print axioms MonskyCheck272.sel_pos272

bsd/MonskyCheck273.lean

lean_all/bsd/MonskyCheck273.lean

/-
  bsd/MonskyCheck273.lean — T39 cycle 638 (goal G351): Monsky's 2-Selmer matrix for squarefree 54401 ≤ n ≤ 54600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck273
open MonskyCheck

def zeroList : List Nat := [54402, 54403, 54411, 54419, 54435, 54442, 54443, 54451, 54457, 54481, 54483, 54489, 54498, 54499, 54506, 54515, 54523, 54530, 54538, 54539, 54546, 54547, 54554, 54555, 54561, 54563, 54570, 54578, 54579]
def posList : List (Nat × Nat) := [(54401, 2), (54406, 3), (54407, 1), (54409, 2), (54410, 2), (54413, 1), (54415, 1), (54417, 2), (54421, 1), (54422, 1), (54426, 2), (54427, 2), (54429, 1), (54430, 1), (54431, 1), (54433, 2), (54434, 2), (54437, 1), (54438, 1), (54445, 3), (54446, 3), (54447, 1), (54449, 2), (54453, 1), (54454, 1), (54455, 1), (54458, 2), (54461, 1), (54462, 3), (54463, 1), (5446  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero273 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos273 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck273

#print axioms MonskyCheck273.sel_zero273
#print axioms MonskyCheck273.sel_pos273

bsd/MonskyCheck274.lean

lean_all/bsd/MonskyCheck274.lean

/-
  bsd/MonskyCheck274.lean — T39 cycle 639 (goal G352): Monsky's 2-Selmer matrix for squarefree 54601 ≤ n ≤ 54800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck274
open MonskyCheck

def zeroList : List Nat := [54602, 54609, 54611, 54618, 54619, 54626, 54633, 54659, 54667, 54681, 54690, 54691, 54697, 54699, 54707, 54714, 54715, 54731, 54746, 54753, 54755, 54762, 54769, 54770, 54771, 54779, 54787, 54794]
def posList : List (Nat × Nat) := [(54601, 2), (54605, 1), (54606, 1), (54607, 1), (54610, 2), (54613, 1), (54614, 1), (54615, 1), (54617, 2), (54622, 1), (54623, 1), (54627, 2), (54629, 1), (54631, 1), (54634, 2), (54637, 1), (54638, 3), (54641, 2), (54642, 2), (54643, 2), (54645, 1), (54646, 3), (54647, 1), (54649, 2), (54651, 2), (54653, 3), (54654, 1), (54655, 1), (54658, 2), (54661, 1), (5466  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero274 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos274 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck274

#print axioms MonskyCheck274.sel_zero274
#print axioms MonskyCheck274.sel_pos274

bsd/MonskyCheck275.lean

lean_all/bsd/MonskyCheck275.lean

/-
  bsd/MonskyCheck275.lean — T39 cycle 640 (goal G353): Monsky's 2-Selmer matrix for squarefree 54801 ≤ n ≤ 55000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck275
open MonskyCheck

def zeroList : List Nat := [54802, 54803, 54811, 54827, 54835, 54849, 54851, 54857, 54858, 54859, 54874, 54883, 54889, 54890, 54906, 54907, 54915, 54921, 54922, 54923, 54930, 54931, 54938, 54946, 54947, 54953, 54970, 54971, 54979, 54985, 54987, 54993, 54995]
def posList : List (Nat × Nat) := [(54805, 1), (54806, 1), (54807, 1), (54809, 2), (54814, 1), (54815, 1), (54817, 2), (54818, 2), (54821, 1), (54822, 1), (54823, 1), (54826, 2), (54829, 1), (54830, 1), (54833, 2), (54834, 2), (54838, 1), (54839, 1), (54841, 2), (54842, 2), (54843, 2), (54845, 1), (54847, 1), (54853, 1), (54854, 1), (54861, 1), (54862, 1), (54863, 1), (54865, 2), (54866, 2), (5486  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero275 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos275 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck275

#print axioms MonskyCheck275.sel_zero275
#print axioms MonskyCheck275.sel_pos275

bsd/MonskyCheck276.lean

lean_all/bsd/MonskyCheck276.lean

/-
  bsd/MonskyCheck276.lean — T39 cycle 642 (goal G354): Monsky's 2-Selmer matrix for squarefree 55001 ≤ n ≤ 55200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck276
open MonskyCheck

def zeroList : List Nat := [55002, 55003, 55010, 55011, 55018, 55033, 55041, 55051, 55059, 55067, 55081, 55082, 55083, 55105, 55106, 55113, 55114, 55115, 55121, 55122, 55123, 55130, 55131, 55137, 55138, 55146, 55147, 55155, 55162, 55163, 55169, 55171, 55178, 55187, 55194, 55195]
def posList : List (Nat × Nat) := [(55001, 2), (55005, 1), (55006, 3), (55007, 1), (55009, 2), (55013, 1), (55014, 1), (55015, 1), (55019, 2), (55021, 1), (55022, 1), (55023, 1), (55029, 1), (55030, 1), (55031, 1), (55034, 2), (55037, 1), (55038, 1), (55039, 3), (55042, 2), (55043, 2), (55045, 3), (55046, 3), (55047, 1), (55049, 2), (55054, 1), (55057, 2), (55058, 2), (55061, 1), (55063, 1), (5506  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero276 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos276 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck276

#print axioms MonskyCheck276.sel_zero276
#print axioms MonskyCheck276.sel_pos276

bsd/MonskyCheck277.lean

lean_all/bsd/MonskyCheck277.lean

/-
  bsd/MonskyCheck277.lean — T39 cycle 643 (goal G355): Monsky's 2-Selmer matrix for squarefree 55201 ≤ n ≤ 55400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck277
open MonskyCheck

def zeroList : List Nat := [55203, 55209, 55211, 55218, 55219, 55227, 55235, 55243, 55257, 55258, 55259, 55265, 55281, 55282, 55283, 55291, 55298, 55306, 55307, 55329, 55330, 55331, 55338, 55339, 55347, 55353, 55362, 55363, 55379, 55385]
def posList : List (Nat × Nat) := [(55201, 2), (55202, 2), (55205, 3), (55207, 1), (55210, 2), (55213, 1), (55214, 1), (55217, 2), (55221, 1), (55222, 1), (55226, 2), (55229, 1), (55230, 1), (55231, 1), (55234, 2), (55237, 1), (55238, 1), (55239, 1), (55241, 2), (55245, 1), (55246, 1), (55247, 1), (55249, 2), (55253, 1), (55254, 1), (55255, 1), (55261, 3), (55262, 1), (55266, 2), (55267, 2), (5527  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero277 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos277 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck277

#print axioms MonskyCheck277.sel_zero277
#print axioms MonskyCheck277.sel_pos277

bsd/MonskyCheck278.lean

lean_all/bsd/MonskyCheck278.lean

/-
  bsd/MonskyCheck278.lean — T39 cycle 644 (goal G356): Monsky's 2-Selmer matrix for squarefree 55401 ≤ n ≤ 55600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck278
open MonskyCheck

def zeroList : List Nat := [55401, 55402, 55403, 55409, 55410, 55411, 55427, 55435, 55442, 55459, 55466, 55482, 55483, 55490, 55491, 55497, 55498, 55499, 55513, 55515, 55523, 55537, 55546, 55547, 55561, 55562, 55563, 55569, 55570, 55578, 55579]
def posList : List (Nat × Nat) := [(55405, 1), (55406, 1), (55407, 1), (55414, 1), (55415, 1), (55417, 2), (55421, 3), (55423, 1), (55426, 2), (55429, 1), (55430, 1), (55433, 2), (55434, 2), (55437, 1), (55438, 1), (55439, 1), (55441, 2), (55443, 2), (55445, 1), (55446, 3), (55453, 1), (55454, 1), (55455, 1), (55457, 2), (55461, 1), (55462, 1), (55463, 1), (55465, 2), (55469, 1), (55471, 3), (5547  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero278 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos278 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck278

#print axioms MonskyCheck278.sel_zero278
#print axioms MonskyCheck278.sel_pos278

bsd/MonskyCheck279.lean

lean_all/bsd/MonskyCheck279.lean

/-
  bsd/MonskyCheck279.lean — T39 cycle 645 (goal G357): Monsky's 2-Selmer matrix for squarefree 55601 ≤ n ≤ 55800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck279
open MonskyCheck

def zeroList : List Nat := [55603, 55610, 55617, 55619, 55649, 55651, 55658, 55666, 55667, 55682, 55691, 55698, 55706, 55707, 55722, 55730, 55739, 55747, 55754, 55761, 55763, 55771, 55779, 55786, 55787]
def posList : List (Nat × Nat) := [(55605, 1), (55606, 1), (55607, 1), (55609, 2), (55613, 1), (55614, 3), (55618, 2), (55621, 1), (55622, 1), (55623, 1), (55626, 2), (55627, 2), (55630, 1), (55631, 1), (55633, 2), (55634, 2), (55635, 2), (55637, 3), (55639, 1), (55641, 2), (55642, 2), (55643, 2), (55645, 3), (55646, 1), (55653, 1), (55654, 1), (55655, 1), (55657, 2), (55659, 2), (55661, 1), (5566  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero279 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos279 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck279

#print axioms MonskyCheck279.sel_zero279
#print axioms MonskyCheck279.sel_pos279

bsd/MonskyCheck28.lean

lean_all/bsd/MonskyCheck28.lean

/-
  bsd/MonskyCheck28.lean — T39 cycle 356 (goal G82): Monsky's 2-Selmer matrix for squarefree 5401 ≤ n ≤ 5600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck28
open MonskyCheck

def zeroList : List Nat := [5401, 5410, 5411, 5419, 5433, 5434, 5435, 5442, 5443, 5451, 5459, 5482, 5483, 5489, 5498, 5505, 5507, 5514, 5515, 5522, 5523, 5529, 5530, 5531, 5538, 5539, 5561, 5563, 5570, 5578, 5579, 5594, 5595]
def posList : List (Nat × Nat) := [(5402, 2), (5403, 2), (5405, 1), (5406, 1), (5407, 1), (5413, 1), (5414, 1), (5417, 2), (5421, 1), (5422, 1), (5423, 1), (5426, 2), (5429, 1), (5430, 1), (5431, 1), (5437, 1), (5438, 1), (5441, 2), (5446, 1), (5447, 1), (5449, 2), (5453, 1), (5455, 1), (5457, 2), (5458, 2), (5461, 1), (5462, 1), (5465, 2), (5466, 2), (5467, 2), (5469, 1), (5470, 1), (5471, 1), (5  -- (+580 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero28 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos28 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck28

#print axioms MonskyCheck28.sel_zero28
#print axioms MonskyCheck28.sel_pos28

bsd/MonskyCheck280.lean

lean_all/bsd/MonskyCheck280.lean

/-
  bsd/MonskyCheck280.lean — T39 cycle 646 (goal G358): Monsky's 2-Selmer matrix for squarefree 55801 ≤ n ≤ 56000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck280
open MonskyCheck

def zeroList : List Nat := [55802, 55803, 55810, 55819, 55833, 55834, 55841, 55843, 55851, 55857, 55858, 55873, 55882, 55883, 55891, 55905, 55907, 55914, 55929, 55930, 55931, 55937, 55938, 55945, 55947, 55954, 55961, 55978, 55979, 55987, 55994, 55995]
def posList : List (Nat × Nat) := [(55801, 4), (55805, 3), (55806, 1), (55807, 1), (55813, 1), (55814, 1), (55817, 2), (55821, 1), (55822, 1), (55823, 1), (55826, 2), (55829, 1), (55830, 1), (55831, 1), (55835, 2), (55837, 1), (55838, 1), (55839, 1), (55842, 2), (55846, 1), (55847, 1), (55849, 2), (55853, 1), (55855, 1), (55859, 2), (55861, 1), (55862, 1), (55865, 2), (55866, 2), (55867, 2), (5586  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero280 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos280 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck280

#print axioms MonskyCheck280.sel_zero280
#print axioms MonskyCheck280.sel_pos280

bsd/MonskyCheck281.lean

lean_all/bsd/MonskyCheck281.lean

/-
  bsd/MonskyCheck281.lean — T39 cycle 647 (goal G359): Monsky's 2-Selmer matrix for squarefree 56001 ≤ n ≤ 56200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck281
open MonskyCheck

def zeroList : List Nat := [56001, 56003, 56010, 56011, 56017, 56018, 56026, 56027, 56035, 56042, 56051, 56058, 56067, 56073, 56089, 56099, 56107, 56123, 56131, 56138, 56139, 56145, 56146, 56147, 56170, 56171, 56177, 56179, 56193]
def posList : List (Nat × Nat) := [(56002, 2), (56005, 1), (56006, 1), (56009, 2), (56013, 1), (56014, 3), (56015, 1), (56019, 2), (56021, 1), (56022, 3), (56029, 1), (56030, 1), (56031, 1), (56033, 4), (56037, 1), (56038, 1), (56039, 1), (56041, 2), (56045, 1), (56046, 1), (56047, 1), (56049, 2), (56053, 1), (56054, 1), (56055, 1), (56057, 2), (56059, 2), (56062, 1), (56063, 3), (56065, 2), (5606  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero281 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos281 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck281

#print axioms MonskyCheck281.sel_zero281
#print axioms MonskyCheck281.sel_pos281

bsd/MonskyCheck282.lean

lean_all/bsd/MonskyCheck282.lean

/-
  bsd/MonskyCheck282.lean — T39 cycle 648 (goal G360): Monsky's 2-Selmer matrix for squarefree 56201 ≤ n ≤ 56400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck282
open MonskyCheck

def zeroList : List Nat := [56201, 56202, 56210, 56211, 56217, 56218, 56226, 56235, 56242, 56251, 56267, 56274, 56282, 56290, 56291, 56297, 56298, 56299, 56315, 56323, 56329, 56339, 56346, 56353, 56354, 56361, 56362, 56363, 56370, 56371, 56387]
def posList : List (Nat × Nat) := [(56206, 1), (56207, 1), (56209, 2), (56213, 1), (56215, 1), (56219, 2), (56221, 1), (56222, 1), (56227, 2), (56229, 1), (56230, 1), (56231, 3), (56233, 2), (56234, 2), (56237, 1), (56238, 1), (56239, 1), (56243, 2), (56245, 1), (56246, 1), (56247, 1), (56249, 2), (56253, 1), (56254, 1), (56255, 1), (56257, 2), (56258, 2), (56261, 1), (56262, 1), (56263, 1), (5626  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero282 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos282 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck282

#print axioms MonskyCheck282.sel_zero282
#print axioms MonskyCheck282.sel_pos282

bsd/MonskyCheck283.lean

lean_all/bsd/MonskyCheck283.lean

/-
  bsd/MonskyCheck283.lean — T39 cycle 649 (goal G361): Monsky's 2-Selmer matrix for squarefree 56401 ≤ n ≤ 56600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck283
open MonskyCheck

def zeroList : List Nat := [56409, 56418, 56434, 56435, 56441, 56443, 56449, 56458, 56465, 56467, 56483, 56490, 56505, 56506, 56514, 56515, 56522, 56523, 56530, 56531, 56545, 56553, 56554, 56561, 56563, 56570, 56577, 56579]
def posList : List (Nat × Nat) := [(56401, 2), (56402, 2), (56405, 3), (56406, 3), (56407, 1), (56410, 2), (56411, 2), (56413, 1), (56414, 1), (56415, 1), (56417, 2), (56419, 2), (56422, 1), (56423, 3), (56426, 2), (56427, 2), (56429, 1), (56431, 1), (56433, 2), (56437, 1), (56438, 1), (56442, 4), (56445, 1), (56447, 1), (56451, 2), (56453, 1), (56455, 1), (56459, 2), (56461, 1), (56462, 1), (5646  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero283 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos283 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck283

#print axioms MonskyCheck283.sel_zero283
#print axioms MonskyCheck283.sel_pos283

bsd/MonskyCheck284.lean

lean_all/bsd/MonskyCheck284.lean

/-
  bsd/MonskyCheck284.lean — T39 cycle 650 (goal G362): Monsky's 2-Selmer matrix for squarefree 56601 ≤ n ≤ 56800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck284
open MonskyCheck

def zeroList : List Nat := [56611, 56617, 56618, 56634, 56643, 56659, 56665, 56674, 56689, 56690, 56697, 56698, 56706, 56714, 56723, 56731, 56738, 56746, 56747, 56771, 56778, 56779, 56793, 56795]
def posList : List (Nat × Nat) := [(56602, 2), (56605, 3), (56606, 1), (56607, 1), (56609, 2), (56613, 1), (56614, 1), (56621, 1), (56622, 1), (56623, 3), (56626, 2), (56627, 2), (56629, 1), (56630, 3), (56631, 1), (56633, 2), (56635, 2), (56638, 1), (56639, 1), (56641, 2), (56642, 2), (56645, 3), (56647, 1), (56649, 2), (56651, 2), (56653, 3), (56654, 1), (56657, 2), (56658, 2), (56661, 3), (5666  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero284 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos284 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck284

#print axioms MonskyCheck284.sel_zero284
#print axioms MonskyCheck284.sel_pos284

bsd/MonskyCheck285.lean

lean_all/bsd/MonskyCheck285.lean

/-
  bsd/MonskyCheck285.lean — T39 cycle 651 (goal G363): Monsky's 2-Selmer matrix for squarefree 56801 ≤ n ≤ 57000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck285
open MonskyCheck

def zeroList : List Nat := [56802, 56810, 56811, 56827, 56834, 56841, 56843, 56858, 56881, 56883, 56891, 56906, 56913, 56914, 56915, 56922, 56923, 56930, 56931, 56937, 56939, 56945, 56946, 56954, 56955, 56962, 56963, 56969, 56977, 56985, 56986]
def posList : List (Nat × Nat) := [(56801, 2), (56803, 2), (56805, 1), (56806, 1), (56807, 1), (56809, 2), (56813, 1), (56814, 1), (56815, 1), (56818, 2), (56819, 2), (56821, 1), (56822, 1), (56823, 1), (56829, 1), (56830, 1), (56831, 1), (56833, 2), (56837, 1), (56838, 1), (56839, 3), (56842, 2), (56845, 3), (56846, 1), (56847, 1), (56849, 2), (56851, 2), (56854, 1), (56855, 1), (56857, 2), (5685  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero285 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos285 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck285

#print axioms MonskyCheck285.sel_zero285
#print axioms MonskyCheck285.sel_pos285

bsd/MonskyCheck286.lean

lean_all/bsd/MonskyCheck286.lean

/-
  bsd/MonskyCheck286.lean — T39 cycle 652 (goal G364): Monsky's 2-Selmer matrix for squarefree 57001 ≤ n ≤ 57200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck286
open MonskyCheck

def zeroList : List Nat := [57003, 57009, 57010, 57011, 57017, 57018, 57019, 57034, 57035, 57057, 57059, 57066, 57081, 57082, 57098, 57107, 57115, 57129, 57130, 57131, 57138, 57139, 57146, 57153, 57162, 57163, 57170, 57171, 57178, 57179, 57187, 57194]
def posList : List (Nat × Nat) := [(57001, 2), (57002, 2), (57005, 1), (57007, 1), (57013, 1), (57014, 1), (57021, 1), (57022, 1), (57023, 3), (57026, 2), (57027, 2), (57029, 1), (57030, 1), (57031, 1), (57037, 1), (57039, 1), (57041, 2), (57043, 4), (57045, 1), (57046, 1), (57047, 1), (57049, 4), (57053, 1), (57054, 1), (57055, 1), (57058, 2), (57061, 1), (57062, 1), (57063, 1), (57065, 2), (5706  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero286 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos286 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck286

#print axioms MonskyCheck286.sel_zero286
#print axioms MonskyCheck286.sel_pos286

bsd/MonskyCheck287.lean

lean_all/bsd/MonskyCheck287.lean

/-
  bsd/MonskyCheck287.lean — T39 cycle 653 (goal G365): Monsky's 2-Selmer matrix for squarefree 57201 ≤ n ≤ 57400, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck287
open MonskyCheck

def zeroList : List Nat := [57202, 57203, 57209, 57210, 57218, 57219, 57234, 57235, 57242, 57251, 57259, 57273, 57274, 57282, 57283, 57289, 57290, 57297, 57299, 57307, 57315, 57322, 57323, 57331, 57338, 57345, 57346, 57347, 57353, 57361, 57362, 57363, 57369, 57370, 57371, 57378, 57385, 57395]
def posList : List (Nat × Nat) := [(57201, 2), (57205, 1), (57206, 1), (57207, 1), (57211, 2), (57214, 1), (57215, 1), (57217, 2), (57221, 1), (57223, 1), (57226, 2), (57227, 2), (57229, 1), (57230, 1), (57237, 1), (57238, 1), (57239, 1), (57241, 2), (57243, 2), (57246, 1), (57247, 1), (57253, 1), (57254, 1), (57255, 1), (57257, 2), (57261, 1), (57262, 1), (57263, 1), (57265, 4), (57266, 2), (5726  -- (+630 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero287 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos287 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck287

#print axioms MonskyCheck287.sel_zero287
#print axioms MonskyCheck287.sel_pos287

bsd/MonskyCheck288.lean

lean_all/bsd/MonskyCheck288.lean

/-
  bsd/MonskyCheck288.lean — T39 cycle 654 (goal G366): Monsky's 2-Selmer matrix for squarefree 57401 ≤ n ≤ 57600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck288
open MonskyCheck

def zeroList : List Nat := [57409, 57410, 57417, 57419, 57426, 57427, 57435, 57441, 57443, 57459, 57466, 57467, 57489, 57490, 57497, 57505, 57513, 57514, 57515, 57522, 57530, 57538, 57539, 57547, 57553, 57562, 57563, 57571, 57578, 57579, 57587, 57594]
def posList : List (Nat × Nat) := [(57401, 2), (57403, 2), (57405, 3), (57406, 1), (57407, 1), (57413, 1), (57414, 1), (57415, 1), (57418, 2), (57421, 1), (57422, 1), (57423, 1), (57430, 1), (57431, 1), (57433, 2), (57437, 1), (57439, 1), (57442, 2), (57445, 3), (57446, 1), (57449, 2), (57451, 2), (57453, 1), (57454, 1), (57455, 1), (57457, 2), (57458, 2), (57461, 3), (57462, 1), (57463, 1), (5746  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero288 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos288 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck288

#print axioms MonskyCheck288.sel_zero288
#print axioms MonskyCheck288.sel_pos288

bsd/MonskyCheck289.lean

lean_all/bsd/MonskyCheck289.lean

/-
  bsd/MonskyCheck289.lean — T39 cycle 655 (goal G367): Monsky's 2-Selmer matrix for squarefree 57601 ≤ n ≤ 57800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck289
open MonskyCheck

def zeroList : List Nat := [57602, 57603, 57611, 57619, 57626, 57633, 57635, 57643, 57651, 57657, 57659, 57665, 57666, 57667, 57674, 57683, 57705, 57706, 57714, 57729, 57731, 57746, 57754, 57761, 57777, 57785, 57786, 57787, 57794, 57795]
def posList : List (Nat × Nat) := [(57601, 2), (57605, 3), (57606, 3), (57607, 1), (57610, 2), (57613, 1), (57614, 1), (57615, 1), (57617, 2), (57621, 1), (57622, 1), (57623, 1), (57630, 3), (57631, 3), (57634, 2), (57637, 1), (57638, 3), (57639, 1), (57641, 2), (57642, 2), (57646, 1), (57647, 3), (57649, 2), (57653, 1), (57655, 1), (57658, 2), (57662, 1), (57669, 1), (57670, 1), (57671, 1), (5767  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero289 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos289 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck289

#print axioms MonskyCheck289.sel_zero289
#print axioms MonskyCheck289.sel_pos289

bsd/MonskyCheck29.lean

lean_all/bsd/MonskyCheck29.lean

/-
  bsd/MonskyCheck29.lean — T39 cycle 357 (goal G83): Monsky's 2-Selmer matrix for squarefree 5601 ≤ n ≤ 5800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck29
open MonskyCheck

def zeroList : List Nat := [5601, 5603, 5611, 5626, 5633, 5649, 5651, 5659, 5665, 5667, 5673, 5674, 5682, 5683, 5705, 5721, 5722, 5723, 5739, 5745, 5753, 5754, 5762, 5763, 5770, 5779, 5793]
def posList : List (Nat × Nat) := [(5602, 2), (5605, 1), (5606, 1), (5609, 2), (5610, 2), (5613, 1), (5614, 3), (5615, 1), (5617, 2), (5619, 2), (5621, 1), (5622, 3), (5623, 1), (5627, 2), (5629, 3), (5630, 1), (5631, 1), (5637, 1), (5638, 1), (5639, 1), (5641, 2), (5642, 2), (5645, 3), (5646, 1), (5647, 1), (5653, 1), (5654, 3), (5655, 1), (5657, 2), (5658, 2), (5662, 1), (5663, 3), (5666, 2), (5  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero29 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos29 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck29

#print axioms MonskyCheck29.sel_zero29
#print axioms MonskyCheck29.sel_pos29

bsd/MonskyCheck290.lean

lean_all/bsd/MonskyCheck290.lean

/-
  bsd/MonskyCheck290.lean — T39 cycle 656 (goal G368): Monsky's 2-Selmer matrix for squarefree 57801 ≤ n ≤ 58000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck290
open MonskyCheck

def zeroList : List Nat := [57801, 57802, 57803, 57810, 57818, 57826, 57858, 57859, 57866, 57867, 57873, 57874, 57882, 57890, 57898, 57899, 57914, 57923, 57937, 57938, 57945, 57947, 57954, 57955, 57970, 57971, 57979, 57993, 57994, 57995]
def posList : List (Nat × Nat) := [(57805, 1), (57806, 1), (57809, 2), (57811, 2), (57813, 1), (57814, 3), (57815, 3), (57817, 2), (57819, 2), (57821, 1), (57822, 1), (57823, 1), (57827, 2), (57829, 1), (57830, 1), (57831, 1), (57833, 2), (57835, 2), (57837, 1), (57839, 1), (57841, 2), (57842, 2), (57845, 1), (57846, 1), (57847, 1), (57849, 2), (57851, 2), (57853, 1), (57854, 1), (57855, 1), (5785  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero290 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos290 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck290

#print axioms MonskyCheck290.sel_zero290
#print axioms MonskyCheck290.sel_pos290

bsd/MonskyCheck291.lean

lean_all/bsd/MonskyCheck291.lean

/-
  bsd/MonskyCheck291.lean — T39 cycle 658 (goal G370): Monsky's 2-Selmer matrix for squarefree 58001 ≤ n ≤ 58200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck291
open MonskyCheck

def zeroList : List Nat := [58002, 58026, 58027, 58033, 58042, 58043, 58051, 58058, 58067, 58074, 58083, 58098, 58099, 58130, 58137, 58138, 58139, 58146, 58147, 58154, 58155, 58161, 58162, 58170, 58171, 58178, 58179, 58187, 58195]
def posList : List (Nat × Nat) := [(58001, 2), (58003, 2), (58006, 1), (58007, 1), (58009, 2), (58010, 2), (58011, 2), (58013, 1), (58015, 3), (58017, 2), (58018, 2), (58019, 2), (58021, 3), (58022, 1), (58030, 1), (58031, 1), (58034, 2), (58035, 2), (58037, 1), (58038, 1), (58039, 3), (58045, 1), (58046, 1), (58047, 1), (58049, 2), (58053, 1), (58054, 1), (58055, 1), (58057, 2), (58061, 1), (5806  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero291 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos291 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck291

#print axioms MonskyCheck291.sel_zero291
#print axioms MonskyCheck291.sel_pos291

bsd/MonskyCheck292.lean

lean_all/bsd/MonskyCheck292.lean

/-
  bsd/MonskyCheck292.lean — T39 cycle 659 (goal G371): Monsky's 2-Selmer matrix for squarefree 58201 ≤ n ≤ 58400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck292
open MonskyCheck

def zeroList : List Nat := [58202, 58209, 58210, 58211, 58218, 58227, 58241, 58243, 58259, 58267, 58273, 58281, 58283, 58298, 58299, 58315, 58330, 58345, 58346, 58354, 58362, 58363, 58370, 58371, 58379]
def posList : List (Nat × Nat) := [(58205, 1), (58206, 1), (58207, 1), (58213, 1), (58214, 1), (58215, 1), (58217, 2), (58219, 2), (58222, 1), (58223, 1), (58226, 2), (58229, 1), (58231, 1), (58233, 2), (58234, 2), (58235, 2), (58237, 1), (58238, 1), (58242, 2), (58245, 1), (58246, 1), (58247, 1), (58249, 2), (58251, 2), (58253, 3), (58254, 1), (58255, 1), (58258, 2), (58262, 1), (58263, 1), (5826  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero292 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos292 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck292

#print axioms MonskyCheck292.sel_zero292
#print axioms MonskyCheck292.sel_pos292

bsd/MonskyCheck293.lean

lean_all/bsd/MonskyCheck293.lean

/-
  bsd/MonskyCheck293.lean — T39 cycle 660 (goal G372): Monsky's 2-Selmer matrix for squarefree 58401 ≤ n ≤ 58600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck293
open MonskyCheck

def zeroList : List Nat := [58403, 58411, 58427, 58434, 58435, 58442, 58449, 58451, 58465, 58498, 58513, 58515, 58521, 58523, 58529, 58530, 58531, 58538, 58547, 58553, 58569, 58570, 58571, 58577, 58578, 58579, 58586, 58587, 58593]
def posList : List (Nat × Nat) := [(58402, 2), (58405, 3), (58406, 1), (58407, 1), (58409, 2), (58413, 1), (58414, 1), (58415, 1), (58417, 2), (58418, 2), (58421, 1), (58422, 1), (58423, 1), (58426, 2), (58429, 1), (58430, 1), (58431, 1), (58433, 2), (58438, 1), (58439, 1), (58441, 2), (58445, 3), (58447, 1), (58453, 1), (58454, 1), (58458, 2), (58459, 2), (58461, 1), (58462, 1), (58463, 1), (5846  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero293 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos293 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck293

#print axioms MonskyCheck293.sel_zero293
#print axioms MonskyCheck293.sel_pos293

bsd/MonskyCheck294.lean

lean_all/bsd/MonskyCheck294.lean

/-
  bsd/MonskyCheck294.lean — T39 cycle 661 (goal G373): Monsky's 2-Selmer matrix for squarefree 58601 ≤ n ≤ 58800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck294
open MonskyCheck

def zeroList : List Nat := [58603, 58609, 58610, 58627, 58634, 58641, 58642, 58658, 58659, 58666, 58681, 58690, 58699, 58706, 58713, 58714, 58715, 58722, 58723, 58731, 58738, 58739, 58747, 58754, 58755, 58762, 58763, 58771, 58778, 58787, 58794]
def posList : List (Nat × Nat) := [(58601, 2), (58602, 2), (58605, 1), (58606, 1), (58607, 1), (58611, 2), (58613, 1), (58614, 3), (58615, 1), (58618, 2), (58622, 1), (58623, 1), (58629, 1), (58630, 1), (58631, 1), (58633, 4), (58637, 1), (58638, 1), (58639, 1), (58645, 1), (58646, 1), (58647, 1), (58649, 2), (58651, 2), (58654, 1), (58655, 1), (58657, 2), (58661, 1), (58663, 1), (58665, 2), (5866  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero294 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos294 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck294

#print axioms MonskyCheck294.sel_zero294
#print axioms MonskyCheck294.sel_pos294

bsd/MonskyCheck295.lean

lean_all/bsd/MonskyCheck295.lean

/-
  bsd/MonskyCheck295.lean — T39 cycle 662 (goal G374): Monsky's 2-Selmer matrix for squarefree 58801 ≤ n ≤ 59000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck295
open MonskyCheck

def zeroList : List Nat := [58803, 58809, 58817, 58818, 58819, 58826, 58858, 58866, 58874, 58882, 58883, 58890, 58891, 58899, 58906, 58907, 58915, 58938, 58953, 58955, 58962, 58963, 58970, 58971, 58978, 58979, 58985, 58994]
def posList : List (Nat × Nat) := [(58801, 2), (58802, 2), (58805, 1), (58807, 3), (58810, 2), (58811, 2), (58813, 1), (58814, 3), (58821, 1), (58822, 1), (58823, 1), (58827, 2), (58829, 1), (58830, 1), (58831, 1), (58834, 2), (58837, 1), (58838, 1), (58839, 1), (58841, 2), (58845, 1), (58846, 1), (58847, 1), (58853, 1), (58854, 3), (58855, 1), (58857, 2), (58859, 2), (58861, 1), (58862, 1), (5886  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero295 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos295 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck295

#print axioms MonskyCheck295.sel_zero295
#print axioms MonskyCheck295.sel_pos295

bsd/MonskyCheck296.lean

lean_all/bsd/MonskyCheck296.lean

/-
  bsd/MonskyCheck296.lean — T39 cycle 663 (goal G375): Monsky's 2-Selmer matrix for squarefree 59001 ≤ n ≤ 59200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck296
open MonskyCheck

def zeroList : List Nat := [59002, 59011, 59026, 59033, 59035, 59042, 59051, 59066, 59073, 59081, 59082, 59083, 59090, 59091, 59097, 59098, 59099, 59106, 59107, 59114, 59115, 59123, 59145, 59146, 59147, 59154, 59161, 59162, 59163, 59170, 59178, 59186, 59194]
def posList : List (Nat × Nat) := [(59001, 2), (59003, 2), (59005, 3), (59006, 1), (59007, 1), (59009, 2), (59010, 2), (59014, 1), (59015, 1), (59017, 2), (59018, 2), (59019, 2), (59021, 1), (59023, 1), (59027, 2), (59029, 1), (59030, 1), (59034, 2), (59037, 1), (59038, 1), (59039, 1), (59041, 2), (59043, 2), (59046, 1), (59047, 1), (59053, 1), (59054, 1), (59055, 1), (59057, 4), (59059, 2), (5906  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero296 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos296 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck296

#print axioms MonskyCheck296.sel_zero296
#print axioms MonskyCheck296.sel_pos296

bsd/MonskyCheck297.lean

lean_all/bsd/MonskyCheck297.lean

/-
  bsd/MonskyCheck297.lean — T39 cycle 664 (goal G376): Monsky's 2-Selmer matrix for squarefree 59201 ≤ n ≤ 59400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck297
open MonskyCheck

def zeroList : List Nat := [59217, 59218, 59219, 59226, 59227, 59242, 59243, 59249, 59251, 59257, 59258, 59267, 59289, 59298, 59306, 59307, 59315, 59330, 59338, 59347, 59353, 59361, 59362, 59363, 59378, 59379, 59387, 59395]
def posList : List (Nat × Nat) := [(59201, 2), (59203, 2), (59205, 1), (59206, 1), (59207, 1), (59209, 2), (59210, 2), (59213, 1), (59214, 1), (59215, 3), (59221, 1), (59222, 1), (59223, 1), (59230, 1), (59231, 1), (59233, 2), (59234, 2), (59235, 2), (59237, 3), (59239, 1), (59246, 1), (59253, 1), (59254, 1), (59255, 1), (59259, 2), (59261, 1), (59262, 1), (59263, 1), (59266, 2), (59269, 1), (5927  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero297 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos297 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck297

#print axioms MonskyCheck297.sel_zero297
#print axioms MonskyCheck297.sel_pos297

bsd/MonskyCheck298.lean

lean_all/bsd/MonskyCheck298.lean

/-
  bsd/MonskyCheck298.lean — T39 cycle 665 (goal G377): Monsky's 2-Selmer matrix for squarefree 59401 ≤ n ≤ 59600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck298
open MonskyCheck

def zeroList : List Nat := [59419, 59426, 59433, 59434, 59435, 59442, 59443, 59457, 59465, 59466, 59467, 59474, 59482, 59483, 59505, 59507, 59514, 59515, 59521, 59523, 59529, 59530, 59531, 59538, 59539, 59546, 59554, 59555, 59570, 59578, 59579, 59586, 59594]
def posList : List (Nat × Nat) := [(59401, 2), (59402, 2), (59403, 2), (59406, 1), (59407, 1), (59410, 2), (59413, 1), (59414, 1), (59415, 3), (59417, 2), (59421, 1), (59422, 1), (59423, 1), (59429, 1), (59430, 1), (59431, 1), (59438, 1), (59439, 1), (59441, 2), (59446, 1), (59447, 1), (59449, 2), (59451, 2), (59453, 1), (59455, 1), (59458, 2), (59459, 2), (59461, 3), (59462, 1), (59469, 1), (5947  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero298 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos298 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck298

#print axioms MonskyCheck298.sel_zero298
#print axioms MonskyCheck298.sel_pos298

bsd/MonskyCheck299.lean

lean_all/bsd/MonskyCheck299.lean

/-
  bsd/MonskyCheck299.lean — T39 cycle 666 (goal G378): Monsky's 2-Selmer matrix for squarefree 59601 ≤ n ≤ 59800, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck299
open MonskyCheck

def zeroList : List Nat := [59601, 59603, 59609, 59610, 59611, 59618, 59626, 59627, 59635, 59641, 59642, 59649, 59651, 59658, 59659, 59667, 59673, 59674, 59683, 59691, 59698, 59699, 59707, 59713, 59721, 59723, 59738, 59739, 59745, 59747, 59755, 59763, 59770, 59771, 59779, 59785, 59793]
def posList : List (Nat × Nat) := [(59602, 4), (59605, 1), (59606, 1), (59613, 1), (59614, 1), (59615, 1), (59617, 2), (59619, 2), (59621, 1), (59622, 1), (59623, 1), (59629, 1), (59630, 3), (59631, 1), (59637, 1), (59638, 1), (59639, 1), (59645, 3), (59646, 1), (59647, 3), (59654, 1), (59655, 1), (59662, 3), (59663, 1), (59665, 2), (59666, 2), (59669, 1), (59671, 1), (59677, 1), (59678, 1), (5968  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero299 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos299 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck299

#print axioms MonskyCheck299.sel_zero299
#print axioms MonskyCheck299.sel_pos299

bsd/MonskyCheck3.lean

lean_all/bsd/MonskyCheck3.lean

/-
  bsd/MonskyCheck3.lean — T39 cycle 143: Monsky's 2-Selmer matrix for squarefree 401 ≤ n ≤ 600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values
  as listed. Agreement with the computed ranks: BSD_LOG cycle 136.
-/
import bsd.MonskyCheck

namespace MonskyCheck3
open MonskyCheck

def zeroList : List Nat := [402, 403, 411, 417, 418, 419, 427, 435, 443, 451, 458, 467, 473, 474, 483, 489, 491, 498, 499, 506, 515, 523, 530, 537, 538, 547, 554, 555, 563, 570, 571, 586, 587, 595]
def posList : List (Nat × Nat) := [(401, 2), (406, 1), (407, 1), (409, 2), (410, 2), (413, 1), (415, 1), (421, 1), (422, 1), (426, 2), (429, 1), (430, 1), (431, 1), (433, 2), (434, 2), (437, 1), (438, 3), (439, 1), (442, 2), (445, 3), (446, 1), (447, 1), (449, 2), (453, 1), (454, 1), (455, 1), (457, 2), (461, 1), (462, 1), (463, 1), (465, 2), (466, 2), (469, 1), (470, 1), (471, 1), (478, 1), (479,  -- (+524 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero3 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos3 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck3

#print axioms MonskyCheck3.sel_zero3
#print axioms MonskyCheck3.sel_pos3

bsd/MonskyCheck30.lean

lean_all/bsd/MonskyCheck30.lean

/-
  bsd/MonskyCheck30.lean — T39 cycle 358 (goal G84): Monsky's 2-Selmer matrix for squarefree 5801 ≤ n ≤ 6000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck30
open MonskyCheck

def zeroList : List Nat := [5802, 5803, 5811, 5818, 5826, 5827, 5833, 5834, 5835, 5843, 5851, 5858, 5866, 5867, 5874, 5882, 5889, 5891, 5899, 5907, 5914, 5923, 5930, 5937, 5939, 5946, 5954, 5955, 5961, 5970, 5971, 5977, 5987]
def posList : List (Nat × Nat) := [(5801, 2), (5806, 1), (5807, 1), (5809, 2), (5810, 2), (5813, 1), (5815, 1), (5817, 2), (5821, 1), (5822, 1), (5829, 1), (5830, 1), (5837, 1), (5838, 1), (5839, 1), (5842, 2), (5845, 1), (5846, 1), (5847, 1), (5849, 2), (5853, 1), (5854, 1), (5855, 1), (5857, 2), (5861, 1), (5862, 1), (5863, 1), (5865, 2), (5869, 1), (5870, 1), (5871, 1), (5873, 2), (5878, 1), (5  -- (+613 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero30 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos30 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck30

#print axioms MonskyCheck30.sel_zero30
#print axioms MonskyCheck30.sel_pos30

bsd/MonskyCheck300.lean

lean_all/bsd/MonskyCheck300.lean

/-
  bsd/MonskyCheck300.lean — T39 cycle 667 (goal G379): Monsky's 2-Selmer matrix for squarefree 59801 ≤ n ≤ 60000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck300
open MonskyCheck

def zeroList : List Nat := [59802, 59810, 59811, 59819, 59834, 59835, 59851, 59866, 59873, 59874, 59882, 59883, 59889, 59890, 59898, 59907, 59914, 59915, 59923, 59937, 59955, 59961, 59962, 59963, 59969, 59970, 59971, 59978, 59987]
def posList : List (Nat × Nat) := [(59801, 2), (59803, 2), (59806, 3), (59807, 1), (59809, 2), (59813, 1), (59815, 1), (59817, 2), (59818, 2), (59821, 1), (59822, 1), (59827, 2), (59830, 1), (59831, 1), (59833, 2), (59837, 3), (59838, 1), (59839, 1), (59842, 2), (59843, 2), (59845, 3), (59846, 1), (59847, 1), (59849, 4), (59853, 1), (59854, 1), (59855, 1), (59857, 2), (59861, 1), (59862, 1), (5986  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero300 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos300 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck300

#print axioms MonskyCheck300.sel_zero300
#print axioms MonskyCheck300.sel_pos300

bsd/MonskyCheck301.lean

lean_all/bsd/MonskyCheck301.lean

/-
  bsd/MonskyCheck301.lean — T39 cycle 669 (goal G381): Monsky's 2-Selmer matrix for squarefree 60001 ≤ n ≤ 60200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck301
open MonskyCheck

def zeroList : List Nat := [60002, 60010, 60011, 60018, 60026, 60027, 60033, 60034, 60035, 60043, 60049, 60058, 60059, 60067, 60081, 60082, 60083, 60090, 60091, 60097, 60099, 60105, 60107, 60121, 60122, 60131, 60139, 60145, 60153, 60154, 60155, 60162, 60163, 60170, 60186, 60195]
def posList : List (Nat × Nat) := [(60001, 2), (60005, 1), (60006, 3), (60007, 1), (60009, 2), (60013, 1), (60014, 1), (60015, 1), (60017, 2), (60019, 2), (60022, 1), (60023, 3), (60029, 1), (60031, 1), (60037, 1), (60038, 3), (60041, 2), (60042, 2), (60045, 1), (60046, 1), (60047, 1), (60051, 2), (60053, 1), (60054, 3), (60055, 1), (60061, 1), (60062, 1), (60063, 1), (60065, 2), (60069, 1), (6007  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero301 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos301 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck301

#print axioms MonskyCheck301.sel_zero301
#print axioms MonskyCheck301.sel_pos301

bsd/MonskyCheck302.lean

lean_all/bsd/MonskyCheck302.lean

/-
  bsd/MonskyCheck302.lean — T39 cycle 670 (goal G382): Monsky's 2-Selmer matrix for squarefree 60201 ≤ n ≤ 60400, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck302
open MonskyCheck

def zeroList : List Nat := [60203, 60211, 60218, 60227, 60233, 60234, 60235, 60241, 60242, 60243, 60249, 60251, 60259, 60266, 60283, 60290, 60297, 60298, 60299, 60305, 60307, 60313, 60314, 60321, 60329, 60330, 60331, 60362, 60369, 60370, 60386, 60387, 60393, 60394, 60395]
def posList : List (Nat × Nat) := [(60202, 2), (60205, 3), (60206, 1), (60207, 1), (60209, 2), (60213, 1), (60214, 1), (60215, 1), (60217, 2), (60222, 1), (60223, 1), (60226, 2), (60229, 3), (60230, 1), (60231, 1), (60238, 1), (60239, 1), (60245, 3), (60247, 1), (60253, 1), (60254, 1), (60257, 2), (60261, 1), (60262, 1), (60263, 1), (60265, 2), (60267, 2), (60269, 1), (60271, 1), (60274, 2), (6027  -- (+630 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero302 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos302 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck302

#print axioms MonskyCheck302.sel_zero302
#print axioms MonskyCheck302.sel_pos302

bsd/MonskyCheck303.lean

lean_all/bsd/MonskyCheck303.lean

/-
  bsd/MonskyCheck303.lean — T39 cycle 671 (goal G383): Monsky's 2-Selmer matrix for squarefree 60401 ≤ n ≤ 60600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck303
open MonskyCheck

def zeroList : List Nat := [60402, 60403, 60419, 60427, 60441, 60443, 60458, 60459, 60465, 60467, 60499, 60506, 60522, 60530, 60531, 60538, 60539, 60546, 60547, 60553, 60555, 60562, 60571, 60577, 60585, 60586, 60587, 60594]
def posList : List (Nat × Nat) := [(60405, 1), (60406, 1), (60407, 1), (60409, 2), (60410, 2), (60411, 2), (60413, 1), (60414, 1), (60415, 3), (60418, 4), (60421, 1), (60422, 1), (60423, 1), (60429, 1), (60430, 1), (60431, 1), (60433, 2), (60434, 2), (60437, 1), (60438, 1), (60439, 1), (60442, 2), (60445, 1), (60446, 1), (60447, 1), (60449, 2), (60451, 2), (60454, 1), (60455, 1), (60457, 2), (6046  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero303 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos303 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck303

#print axioms MonskyCheck303.sel_zero303
#print axioms MonskyCheck303.sel_pos303

bsd/MonskyCheck304.lean

lean_all/bsd/MonskyCheck304.lean

/-
  bsd/MonskyCheck304.lean — T39 cycle 672 (goal G384): Monsky's 2-Selmer matrix for squarefree 60601 ≤ n ≤ 60800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck304
open MonskyCheck

def zeroList : List Nat := [60603, 60609, 60610, 60611, 60657, 60658, 60659, 60665, 60666, 60682, 60683, 60698, 60715, 60730, 60731, 60738, 60746, 60747, 60753, 60754, 60763, 60769, 60770, 60778, 60779, 60787, 60794]
def posList : List (Nat × Nat) := [(60601, 2), (60602, 2), (60605, 1), (60607, 1), (60614, 1), (60617, 2), (60618, 2), (60619, 2), (60622, 3), (60623, 1), (60626, 2), (60627, 2), (60629, 1), (60630, 1), (60631, 1), (60634, 2), (60635, 2), (60637, 1), (60638, 1), (60639, 3), (60641, 2), (60643, 2), (60645, 1), (60646, 1), (60647, 1), (60649, 2), (60653, 1), (60654, 1), (60655, 1), (60661, 1), (6066  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero304 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos304 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck304

#print axioms MonskyCheck304.sel_zero304
#print axioms MonskyCheck304.sel_pos304

bsd/MonskyCheck305.lean

lean_all/bsd/MonskyCheck305.lean

/-
  bsd/MonskyCheck305.lean — T39 cycle 673 (goal G385): Monsky's 2-Selmer matrix for squarefree 60801 ≤ n ≤ 61000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck305
open MonskyCheck

def zeroList : List Nat := [60802, 60803, 60810, 60811, 60834, 60841, 60843, 60851, 60857, 60859, 60866, 60873, 60882, 60891, 60897, 60899, 60915, 60923, 60929, 60938, 60947, 60954, 60955, 60969, 60978, 60986, 60987]
def posList : List (Nat × Nat) := [(60801, 2), (60805, 3), (60806, 1), (60807, 1), (60814, 1), (60815, 1), (60817, 2), (60818, 2), (60819, 2), (60821, 1), (60823, 3), (60826, 2), (60827, 2), (60829, 1), (60830, 1), (60833, 2), (60837, 1), (60838, 3), (60839, 1), (60842, 2), (60845, 1), (60846, 1), (60847, 3), (60853, 1), (60854, 1), (60855, 1), (60861, 1), (60862, 1), (60865, 2), (60869, 1), (6087  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero305 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos305 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck305

#print axioms MonskyCheck305.sel_zero305
#print axioms MonskyCheck305.sel_pos305

bsd/MonskyCheck306.lean

lean_all/bsd/MonskyCheck306.lean

/-
  bsd/MonskyCheck306.lean — T39 cycle 674 (goal G386): Monsky's 2-Selmer matrix for squarefree 61001 ≤ n ≤ 61200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck306
open MonskyCheck

def zeroList : List Nat := [61010, 61018, 61026, 61027, 61034, 61035, 61041, 61043, 61051, 61066, 61090, 61091, 61097, 61099, 61107, 61113, 61114, 61115, 61130, 61131, 61138, 61145, 61177, 61179, 61187, 61193, 61194]
def posList : List (Nat × Nat) := [(61001, 2), (61003, 2), (61006, 1), (61007, 1), (61013, 1), (61014, 1), (61015, 1), (61019, 2), (61021, 1), (61022, 1), (61023, 1), (61030, 1), (61031, 1), (61033, 2), (61037, 1), (61039, 1), (61042, 2), (61045, 3), (61046, 3), (61049, 2), (61053, 1), (61055, 1), (61057, 2), (61058, 2), (61059, 2), (61061, 1), (61062, 3), (61063, 1), (61067, 2), (61069, 1), (6107  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero306 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos306 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck306

#print axioms MonskyCheck306.sel_zero306
#print axioms MonskyCheck306.sel_pos306

bsd/MonskyCheck307.lean

lean_all/bsd/MonskyCheck307.lean

/-
  bsd/MonskyCheck307.lean — T39 cycle 675 (goal G387): Monsky's 2-Selmer matrix for squarefree 61201 ≤ n ≤ 61400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck307
open MonskyCheck

def zeroList : List Nat := [61211, 61233, 61235, 61242, 61251, 61257, 61266, 61274, 61282, 61283, 61291, 61305, 61313, 61314, 61315, 61322, 61323, 61329, 61330, 61331, 61337, 61339, 61346, 61354, 61355, 61361, 61363, 61369, 61379, 61387, 61395]
def posList : List (Nat × Nat) := [(61202, 2), (61203, 2), (61205, 3), (61207, 3), (61210, 2), (61213, 1), (61214, 1), (61215, 1), (61217, 2), (61219, 2), (61221, 1), (61222, 1), (61223, 1), (61229, 1), (61230, 1), (61231, 1), (61234, 4), (61237, 1), (61238, 3), (61239, 1), (61241, 2), (61243, 2), (61246, 1), (61247, 3), (61249, 2), (61253, 1), (61255, 1), (61258, 2), (61259, 2), (61261, 1), (6126  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero307 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos307 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck307

#print axioms MonskyCheck307.sel_zero307
#print axioms MonskyCheck307.sel_pos307

bsd/MonskyCheck308.lean

lean_all/bsd/MonskyCheck308.lean

/-
  bsd/MonskyCheck308.lean — T39 cycle 676 (goal G388): Monsky's 2-Selmer matrix for squarefree 61401 ≤ n ≤ 61600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck308
open MonskyCheck

def zeroList : List Nat := [61401, 61403, 61410, 61419, 61427, 61435, 61449, 61451, 61458, 61465, 61466, 61467, 61483, 61498, 61507, 61514, 61521, 61522, 61523, 61530, 61531, 61538, 61539, 61546, 61547, 61554, 61555, 61562, 61570, 61577, 61586, 61595]
def posList : List (Nat × Nat) := [(61402, 2), (61405, 3), (61406, 1), (61409, 2), (61411, 2), (61413, 1), (61414, 1), (61415, 1), (61417, 2), (61418, 2), (61421, 3), (61422, 1), (61423, 3), (61426, 2), (61429, 1), (61430, 1), (61431, 1), (61433, 2), (61437, 1), (61438, 1), (61439, 1), (61441, 2), (61442, 2), (61445, 3), (61447, 1), (61453, 1), (61454, 1), (61455, 1), (61457, 2), (61459, 2), (6146  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero308 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos308 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck308

#print axioms MonskyCheck308.sel_zero308
#print axioms MonskyCheck308.sel_pos308

bsd/MonskyCheck309.lean

lean_all/bsd/MonskyCheck309.lean

/-
  bsd/MonskyCheck309.lean — T39 cycle 677 (goal G389): Monsky's 2-Selmer matrix for squarefree 61601 ≤ n ≤ 61800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck309
open MonskyCheck

def zeroList : List Nat := [61602, 61603, 61610, 61627, 61633, 61635, 61643, 61651, 61658, 61666, 61667, 61674, 61689, 61699, 61705, 61706, 61707, 61714, 61715, 61721, 61723, 61730, 61738, 61746, 61763, 61769, 61771, 61777, 61786, 61787, 61795]
def posList : List (Nat × Nat) := [(61601, 2), (61606, 1), (61607, 1), (61609, 2), (61611, 2), (61613, 1), (61615, 1), (61617, 2), (61618, 2), (61619, 2), (61621, 1), (61622, 1), (61626, 2), (61629, 1), (61630, 1), (61631, 1), (61634, 2), (61637, 1), (61638, 3), (61639, 1), (61645, 3), (61646, 1), (61647, 1), (61649, 2), (61653, 1), (61654, 1), (61655, 3), (61657, 2), (61661, 3), (61662, 1), (6166  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero309 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos309 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck309

#print axioms MonskyCheck309.sel_zero309
#print axioms MonskyCheck309.sel_pos309

bsd/MonskyCheck31.lean

lean_all/bsd/MonskyCheck31.lean

/-
  bsd/MonskyCheck31.lean — T39 cycle 361 (goal G85): Monsky's 2-Selmer matrix for squarefree 6001 ≤ n ≤ 6200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck31
open MonskyCheck

def zeroList : List Nat := [6009, 6011, 6017, 6018, 6019, 6033, 6035, 6042, 6043, 6059, 6067, 6074, 6081, 6091, 6097, 6099, 6105, 6107, 6114, 6115, 6122, 6130, 6131, 6153, 6154, 6162, 6163, 6170, 6179, 6193, 6194, 6195]
def posList : List (Nat × Nat) := [(6001, 4), (6002, 2), (6005, 3), (6006, 1), (6007, 1), (6010, 2), (6013, 1), (6014, 3), (6015, 1), (6022, 1), (6023, 1), (6026, 2), (6029, 1), (6031, 1), (6034, 2), (6037, 1), (6038, 1), (6041, 2), (6045, 1), (6046, 1), (6047, 1), (6049, 2), (6051, 2), (6053, 1), (6054, 3), (6055, 1), (6058, 2), (6061, 1), (6062, 1), (6063, 1), (6065, 2), (6070, 1), (6071, 1), (6  -- (+657 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero31 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos31 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck31

#print axioms MonskyCheck31.sel_zero31
#print axioms MonskyCheck31.sel_pos31

bsd/MonskyCheck310.lean

lean_all/bsd/MonskyCheck310.lean

/-
  bsd/MonskyCheck310.lean — T39 cycle 678 (goal G390): Monsky's 2-Selmer matrix for squarefree 61801 ≤ n ≤ 62000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck310
open MonskyCheck

def zeroList : List Nat := [61802, 61810, 61818, 61819, 61826, 61827, 61833, 61834, 61835, 61841, 61842, 61843, 61851, 61858, 61859, 61881, 61882, 61883, 61890, 61897, 61898, 61905, 61906, 61907, 61914, 61915, 61921, 61930, 61931, 61963, 61970, 61979, 61986, 61987, 61995]
def posList : List (Nat × Nat) := [(61801, 2), (61805, 1), (61806, 1), (61807, 1), (61809, 2), (61811, 2), (61813, 1), (61814, 1), (61815, 3), (61817, 2), (61822, 1), (61823, 1), (61829, 3), (61837, 1), (61845, 1), (61847, 1), (61849, 2), (61853, 1), (61855, 3), (61861, 1), (61862, 1), (61863, 1), (61865, 2), (61867, 2), (61869, 1), (61870, 1), (61871, 1), (61873, 2), (61874, 2), (61877, 1), (6187  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero310 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos310 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck310

#print axioms MonskyCheck310.sel_zero310
#print axioms MonskyCheck310.sel_pos310

bsd/MonskyCheck311.lean

lean_all/bsd/MonskyCheck311.lean

/-
  bsd/MonskyCheck311.lean — T39 cycle 679 (goal G391): Monsky's 2-Selmer matrix for squarefree 62001 ≤ n ≤ 62200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck311
open MonskyCheck

def zeroList : List Nat := [62002, 62003, 62009, 62011, 62018, 62026, 62027, 62043, 62049, 62067, 62074, 62097, 62098, 62099, 62106, 62113, 62114, 62115, 62121, 62122, 62131, 62138, 62147, 62153, 62161, 62170, 62171, 62178, 62187, 62193, 62195]
def posList : List (Nat × Nat) := [(62005, 3), (62006, 1), (62007, 1), (62013, 1), (62014, 1), (62015, 1), (62017, 2), (62021, 1), (62022, 1), (62029, 1), (62030, 1), (62031, 1), (62033, 2), (62035, 2), (62038, 1), (62039, 1), (62041, 2), (62042, 2), (62045, 3), (62047, 1), (62051, 2), (62053, 1), (62054, 1), (62057, 2), (62058, 2), (62059, 2), (62061, 1), (62062, 1), (62063, 1), (62065, 2), (6206  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero311 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos311 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck311

#print axioms MonskyCheck311.sel_zero311
#print axioms MonskyCheck311.sel_pos311

bsd/MonskyCheck312.lean

lean_all/bsd/MonskyCheck312.lean

/-
  bsd/MonskyCheck312.lean — T39 cycle 680 (goal G392): Monsky's 2-Selmer matrix for squarefree 62201 ≤ n ≤ 62400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck312
open MonskyCheck

def zeroList : List Nat := [62202, 62210, 62211, 62219, 62241, 62243, 62249, 62251, 62259, 62274, 62290, 62291, 62299, 62313, 62314, 62322, 62323, 62330, 62331, 62339, 62347, 62355, 62362, 62363, 62378, 62387, 62393, 62394]
def posList : List (Nat × Nat) := [(62201, 2), (62203, 2), (62205, 1), (62206, 1), (62207, 1), (62209, 2), (62213, 1), (62214, 3), (62215, 1), (62218, 2), (62221, 1), (62222, 1), (62223, 1), (62227, 2), (62229, 1), (62231, 1), (62233, 2), (62237, 1), (62238, 1), (62239, 1), (62242, 2), (62245, 1), (62246, 1), (62247, 1), (62254, 1), (62255, 1), (62257, 2), (62258, 2), (62261, 1), (62263, 1), (6226  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero312 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos312 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck312

#print axioms MonskyCheck312.sel_zero312
#print axioms MonskyCheck312.sel_pos312

bsd/MonskyCheck313.lean

lean_all/bsd/MonskyCheck313.lean

/-
  bsd/MonskyCheck313.lean — T39 cycle 682 (goal G394): Monsky's 2-Selmer matrix for squarefree 62401 ≤ n ≤ 62600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck313
open MonskyCheck

def zeroList : List Nat := [62411, 62419, 62434, 62435, 62443, 62458, 62459, 62466, 62467, 62474, 62483, 62490, 62499, 62506, 62507, 62513, 62515, 62538, 62539, 62545, 62546, 62547, 62554, 62562, 62563, 62570, 62578, 62579]
def posList : List (Nat × Nat) := [(62401, 2), (62402, 4), (62403, 2), (62405, 1), (62407, 3), (62409, 2), (62413, 3), (62414, 1), (62417, 2), (62418, 2), (62421, 1), (62423, 1), (62427, 2), (62429, 1), (62430, 1), (62431, 1), (62437, 3), (62438, 1), (62439, 1), (62441, 4), (62445, 1), (62446, 1), (62447, 1), (62449, 2), (62454, 1), (62455, 1), (62457, 2), (62461, 1), (62462, 1), (62463, 1), (6247  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero313 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos313 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck313

#print axioms MonskyCheck313.sel_zero313
#print axioms MonskyCheck313.sel_pos313

bsd/MonskyCheck314.lean

lean_all/bsd/MonskyCheck314.lean

/-
  bsd/MonskyCheck314.lean — T39 cycle 683 (goal G395): Monsky's 2-Selmer matrix for squarefree 62601 ≤ n ≤ 62800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck314
open MonskyCheck

def zeroList : List Nat := [62603, 62610, 62611, 62618, 62619, 62626, 62627, 62635, 62643, 62659, 62666, 62673, 62681, 62682, 62683, 62689, 62690, 62691, 62697, 62706, 62707, 62714, 62722, 62723, 62731, 62737, 62745, 62746, 62754, 62762, 62763, 62770, 62771, 62779, 62794]
def posList : List (Nat × Nat) := [(62601, 2), (62602, 2), (62605, 1), (62606, 3), (62607, 1), (62609, 2), (62614, 1), (62615, 1), (62617, 2), (62621, 1), (62623, 1), (62629, 1), (62630, 1), (62633, 2), (62634, 2), (62637, 1), (62638, 1), (62639, 1), (62641, 2), (62642, 2), (62645, 1), (62646, 1), (62647, 1), (62651, 2), (62653, 1), (62654, 1), (62655, 1), (62657, 2), (62661, 1), (62662, 1), (6266  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero314 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos314 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck314

#print axioms MonskyCheck314.sel_zero314
#print axioms MonskyCheck314.sel_pos314

bsd/MonskyCheck315.lean

lean_all/bsd/MonskyCheck315.lean

/-
  bsd/MonskyCheck315.lean — T39 cycle 684 (goal G396): Monsky's 2-Selmer matrix for squarefree 62801 ≤ n ≤ 63000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck315
open MonskyCheck

def zeroList : List Nat := [62803, 62809, 62810, 62817, 62819, 62827, 62833, 62841, 62843, 62851, 62881, 62889, 62890, 62891, 62905, 62906, 62913, 62914, 62915, 62923, 62931, 62938, 62939, 62953, 62954, 62961, 62963, 62971, 62985, 62986, 62987, 62994, 62995]
def posList : List (Nat × Nat) := [(62801, 2), (62805, 1), (62806, 1), (62807, 1), (62813, 1), (62815, 1), (62821, 1), (62822, 1), (62823, 1), (62826, 2), (62830, 1), (62831, 1), (62834, 2), (62835, 2), (62837, 1), (62839, 3), (62842, 2), (62845, 3), (62849, 4), (62853, 1), (62854, 1), (62855, 1), (62857, 2), (62858, 2), (62859, 2), (62861, 1), (62862, 1), (62863, 1), (62869, 1), (62870, 1), (6287  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero315 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos315 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck315

#print axioms MonskyCheck315.sel_zero315
#print axioms MonskyCheck315.sel_pos315

bsd/MonskyCheck316.lean

lean_all/bsd/MonskyCheck316.lean

/-
  bsd/MonskyCheck316.lean — T39 cycle 685 (goal G397): Monsky's 2-Selmer matrix for squarefree 63001 ≤ n ≤ 63200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck316
open MonskyCheck

def zeroList : List Nat := [63010, 63011, 63019, 63033, 63034, 63051, 63057, 63059, 63067, 63074, 63082, 63083, 63098, 63105, 63106, 63107, 63114, 63122, 63123, 63131, 63137, 63146, 63154, 63155, 63163, 63170, 63177, 63178, 63179, 63186, 63187, 63195]
def posList : List (Nat × Nat) := [(63003, 2), (63005, 3), (63006, 1), (63007, 1), (63013, 3), (63015, 3), (63017, 2), (63021, 1), (63022, 1), (63023, 1), (63026, 2), (63029, 1), (63030, 1), (63031, 1), (63035, 2), (63038, 1), (63039, 1), (63042, 2), (63043, 2), (63046, 1), (63047, 1), (63049, 2), (63053, 1), (63055, 1), (63058, 4), (63061, 1), (63062, 1), (63065, 2), (63066, 2), (63069, 1), (6307  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero316 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos316 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck316

#print axioms MonskyCheck316.sel_zero316
#print axioms MonskyCheck316.sel_pos316

bsd/MonskyCheck317.lean

lean_all/bsd/MonskyCheck317.lean

/-
  bsd/MonskyCheck317.lean — T39 cycle 691 (goal G404): Monsky's 2-Selmer matrix for squarefree 63201 ≤ n ≤ 63400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck317
open MonskyCheck

def zeroList : List Nat := [63201, 63203, 63211, 63226, 63235, 63242, 63249, 63267, 63282, 63289, 63299, 63307, 63321, 63331, 63339, 63345, 63346, 63347, 63362, 63370, 63379, 63385, 63386, 63393, 63394]
def posList : List (Nat × Nat) := [(63202, 2), (63205, 3), (63209, 2), (63213, 1), (63214, 1), (63215, 1), (63217, 2), (63218, 2), (63219, 2), (63221, 1), (63222, 1), (63223, 3), (63227, 2), (63229, 1), (63230, 1), (63231, 1), (63233, 2), (63237, 1), (63238, 1), (63239, 1), (63241, 2), (63245, 1), (63246, 1), (63247, 1), (63251, 2), (63253, 1), (63254, 1), (63255, 1), (63258, 2), (63262, 1), (6326  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero317 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos317 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck317

#print axioms MonskyCheck317.sel_zero317
#print axioms MonskyCheck317.sel_pos317

bsd/MonskyCheck318.lean

lean_all/bsd/MonskyCheck318.lean

/-
  bsd/MonskyCheck318.lean — T39 cycle 692 (goal G405): Monsky's 2-Selmer matrix for squarefree 63401 ≤ n ≤ 63600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck318
open MonskyCheck

def zeroList : List Nat := [63402, 63403, 63410, 63411, 63417, 63418, 63419, 63435, 63443, 63449, 63451, 63467, 63474, 63482, 63489, 63490, 63498, 63499, 63514, 63515, 63523, 63530, 63537, 63547, 63554, 63555, 63561, 63562, 63569, 63571, 63578, 63587, 63593, 63595]
def posList : List (Nat × Nat) := [(63401, 2), (63407, 1), (63409, 2), (63413, 1), (63415, 1), (63421, 1), (63422, 1), (63427, 2), (63429, 1), (63430, 1), (63431, 1), (63433, 2), (63434, 2), (63437, 1), (63438, 3), (63439, 1), (63442, 2), (63445, 3), (63446, 1), (63447, 1), (63453, 1), (63454, 1), (63457, 2), (63458, 2), (63461, 1), (63462, 1), (63463, 1), (63465, 2), (63466, 2), (63469, 1), (6347  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero318 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos318 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck318

#print axioms MonskyCheck318.sel_zero318
#print axioms MonskyCheck318.sel_pos318

bsd/MonskyCheck319.lean

lean_all/bsd/MonskyCheck319.lean

/-
  bsd/MonskyCheck319.lean — T39 cycle 693 (goal G406): Monsky's 2-Selmer matrix for squarefree 63601 ≤ n ≤ 63800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck319
open MonskyCheck

def zeroList : List Nat := [63609, 63611, 63633, 63635, 63659, 63667, 63681, 63683, 63690, 63691, 63705, 63706, 63714, 63715, 63722, 63723, 63730, 63739, 63762, 63769, 63770, 63771, 63777, 63787, 63795]
def posList : List (Nat × Nat) := [(63601, 2), (63605, 3), (63606, 1), (63607, 1), (63610, 2), (63613, 1), (63614, 3), (63615, 1), (63617, 2), (63618, 2), (63619, 2), (63622, 1), (63623, 1), (63626, 2), (63627, 2), (63629, 1), (63631, 1), (63634, 2), (63637, 1), (63638, 1), (63641, 2), (63642, 2), (63643, 2), (63645, 1), (63647, 1), (63649, 2), (63653, 1), (63655, 3), (63658, 2), (63661, 1), (6366  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero319 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos319 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck319

#print axioms MonskyCheck319.sel_zero319
#print axioms MonskyCheck319.sel_pos319

bsd/MonskyCheck32.lean

lean_all/bsd/MonskyCheck32.lean

/-
  bsd/MonskyCheck32.lean — T39 cycle 366 (goal G89): Monsky's 2-Selmer matrix for squarefree 6201 ≤ n ≤ 6400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck32
open MonskyCheck

def zeroList : List Nat := [6203, 6211, 6218, 6226, 6227, 6234, 6235, 6243, 6249, 6258, 6259, 6265, 6266, 6281, 6289, 6297, 6298, 6299, 6306, 6313, 6314, 6322, 6323, 6330, 6331, 6362, 6369, 6378, 6379, 6387, 6393]
def posList : List (Nat × Nat) := [(6202, 2), (6205, 1), (6206, 1), (6207, 1), (6209, 2), (6213, 1), (6214, 1), (6215, 1), (6217, 2), (6221, 1), (6222, 1), (6229, 1), (6230, 1), (6231, 1), (6233, 2), (6238, 1), (6239, 1), (6242, 2), (6245, 3), (6247, 1), (6251, 2), (6254, 1), (6257, 2), (6261, 1), (6262, 1), (6263, 1), (6267, 2), (6269, 1), (6270, 1), (6271, 1), (6274, 2), (6277, 1), (6278, 1), (6  -- (+613 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero32 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos32 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck32

#print axioms MonskyCheck32.sel_zero32
#print axioms MonskyCheck32.sel_pos32

bsd/MonskyCheck320.lean

lean_all/bsd/MonskyCheck320.lean

/-
  bsd/MonskyCheck320.lean — T39 cycle 694 (goal G407): Monsky's 2-Selmer matrix for squarefree 63801 ≤ n ≤ 64000, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck320
open MonskyCheck

def zeroList : List Nat := [63803, 63818, 63827, 63833, 63834, 63835, 63849, 63874, 63890, 63906, 63907, 63914, 63923, 63930, 63931, 63946, 63947, 63962, 63969, 63970, 63971, 63978, 63986, 63987]
def posList : List (Nat × Nat) := [(63802, 2), (63805, 1), (63806, 1), (63807, 1), (63809, 2), (63811, 2), (63813, 1), (63814, 1), (63815, 1), (63817, 2), (63821, 1), (63822, 1), (63823, 1), (63826, 2), (63829, 1), (63830, 1), (63831, 1), (63838, 1), (63839, 1), (63841, 2), (63842, 2), (63843, 2), (63851, 2), (63853, 1), (63854, 3), (63857, 2), (63858, 2), (63859, 2), (63861, 1), (63862, 1), (6386  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero320 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos320 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck320

#print axioms MonskyCheck320.sel_zero320
#print axioms MonskyCheck320.sel_pos320

bsd/MonskyCheck321.lean

lean_all/bsd/MonskyCheck321.lean

/-
  bsd/MonskyCheck321.lean — T39 cycle 696 (goal G409): Monsky's 2-Selmer matrix for squarefree 64001 ≤ n ≤ 64200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck321
open MonskyCheck

def zeroList : List Nat := [64002, 64003, 64011, 64019, 64027, 64034, 64041, 64042, 64049, 64058, 64067, 64074, 64083, 64090, 64091, 64097, 64106, 64113, 64115, 64122, 64123, 64131, 64137, 64138, 64139, 64146, 64154, 64155, 64163, 64171, 64185, 64186, 64187, 64194, 64195]
def posList : List (Nat × Nat) := [(64001, 2), (64005, 1), (64006, 1), (64007, 1), (64010, 2), (64013, 1), (64014, 1), (64015, 1), (64018, 2), (64021, 3), (64022, 1), (64023, 1), (64029, 3), (64030, 1), (64031, 1), (64033, 2), (64037, 1), (64038, 1), (64039, 1), (64045, 3), (64046, 3), (64047, 1), (64054, 1), (64055, 1), (64057, 2), (64059, 2), (64063, 1), (64065, 2), (64066, 2), (64069, 1), (6407  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero321 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos321 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck321

#print axioms MonskyCheck321.sel_zero321
#print axioms MonskyCheck321.sel_pos321

bsd/MonskyCheck322.lean

lean_all/bsd/MonskyCheck322.lean

/-
  bsd/MonskyCheck322.lean — T39 cycle 697 (goal G410): Monsky's 2-Selmer matrix for squarefree 64201 ≤ n ≤ 64400, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck322
open MonskyCheck

def zeroList : List Nat := [64203, 64209, 64210, 64211, 64218, 64234, 64235, 64241, 64243, 64257, 64266, 64273, 64282, 64283, 64306, 64307, 64315, 64321, 64322, 64329, 64330, 64331, 64338, 64339, 64346, 64347, 64353, 64361, 64362, 64363, 64369, 64370, 64371, 64378, 64379, 64394]
def posList : List (Nat × Nat) := [(64201, 2), (64202, 2), (64205, 3), (64207, 1), (64213, 1), (64214, 1), (64217, 2), (64219, 2), (64221, 1), (64222, 1), (64223, 1), (64226, 4), (64227, 2), (64229, 1), (64230, 1), (64231, 1), (64237, 1), (64238, 1), (64245, 1), (64246, 1), (64247, 3), (64249, 2), (64253, 1), (64254, 1), (64255, 1), (64259, 2), (64261, 1), (64262, 1), (64263, 1), (64265, 2), (6426  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero322 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos322 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck322

#print axioms MonskyCheck322.sel_zero322
#print axioms MonskyCheck322.sel_pos322

bsd/MonskyCheck323.lean

lean_all/bsd/MonskyCheck323.lean

/-
  bsd/MonskyCheck323.lean — T39 cycle 698 (goal G411): Monsky's 2-Selmer matrix for squarefree 64401 ≤ n ≤ 64600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck323
open MonskyCheck

def zeroList : List Nat := [64401, 64402, 64403, 64410, 64411, 64426, 64434, 64451, 64457, 64459, 64473, 64474, 64482, 64483, 64497, 64499, 64506, 64507, 64515, 64522, 64523, 64531, 64537, 64546, 64562, 64563, 64569, 64578, 64579]
def posList : List (Nat × Nat) := [(64405, 1), (64406, 1), (64407, 1), (64409, 2), (64414, 1), (64415, 3), (64417, 2), (64418, 2), (64419, 2), (64421, 1), (64423, 3), (64427, 2), (64429, 1), (64430, 1), (64433, 2), (64437, 3), (64438, 1), (64439, 1), (64441, 2), (64442, 2), (64443, 2), (64445, 3), (64446, 1), (64453, 1), (64454, 1), (64455, 1), (64461, 1), (64462, 1), (64463, 3), (64465, 2), (6446  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero323 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos323 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck323

#print axioms MonskyCheck323.sel_zero323
#print axioms MonskyCheck323.sel_pos323

bsd/MonskyCheck324.lean

lean_all/bsd/MonskyCheck324.lean

/-
  bsd/MonskyCheck324.lean — T39 cycle 701 (goal G414): Monsky's 2-Selmer matrix for squarefree 64601 ≤ n ≤ 64800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck324
open MonskyCheck

def zeroList : List Nat := [64603, 64618, 64626, 64627, 64634, 64641, 64651, 64657, 64658, 64667, 64682, 64689, 64690, 64691, 64698, 64699, 64707, 64714, 64730, 64745, 64747, 64761, 64762, 64763, 64771, 64777, 64786, 64787]
def posList : List (Nat × Nat) := [(64601, 2), (64605, 1), (64606, 1), (64609, 2), (64610, 2), (64613, 1), (64615, 1), (64617, 2), (64621, 1), (64622, 1), (64623, 1), (64630, 1), (64633, 2), (64635, 2), (64637, 3), (64639, 1), (64642, 2), (64643, 2), (64645, 1), (64646, 1), (64649, 2), (64653, 1), (64654, 1), (64655, 1), (64659, 2), (64661, 1), (64662, 1), (64663, 1), (64666, 2), (64669, 1), (6467  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero324 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos324 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck324

#print axioms MonskyCheck324.sel_zero324
#print axioms MonskyCheck324.sel_pos324

bsd/MonskyCheck325.lean

lean_all/bsd/MonskyCheck325.lean

/-
  bsd/MonskyCheck325.lean — T39 cycle 702 (goal G415): Monsky's 2-Selmer matrix for squarefree 64801 ≤ n ≤ 65000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck325
open MonskyCheck

def zeroList : List Nat := [64801, 64811, 64826, 64833, 64835, 64841, 64843, 64851, 64858, 64874, 64883, 64891, 64898, 64905, 64906, 64913, 64914, 64915, 64922, 64923, 64929, 64938, 64954, 64963, 64978, 64986, 64987]
def posList : List (Nat × Nat) := [(64802, 2), (64803, 2), (64805, 1), (64806, 1), (64807, 1), (64810, 2), (64813, 3), (64814, 3), (64815, 1), (64817, 2), (64819, 2), (64821, 1), (64822, 1), (64823, 1), (64829, 1), (64830, 3), (64831, 1), (64834, 2), (64837, 1), (64838, 1), (64839, 1), (64842, 2), (64846, 1), (64847, 1), (64849, 2), (64853, 1), (64855, 1), (64857, 2), (64859, 2), (64861, 1), (6486  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero325 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos325 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck325

#print axioms MonskyCheck325.sel_zero325
#print axioms MonskyCheck325.sel_pos325

bsd/MonskyCheck326.lean

lean_all/bsd/MonskyCheck326.lean

/-
  bsd/MonskyCheck326.lean — T39 cycle 705 (goal G418): Monsky's 2-Selmer matrix for squarefree 65001 ≤ n ≤ 65200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck326
open MonskyCheck

def zeroList : List Nat := [65001, 65003, 65011, 65026, 65027, 65035, 65049, 65057, 65058, 65066, 65073, 65083, 65099, 65107, 65113, 65114, 65123, 65139, 65145, 65146, 65147, 65153, 65154, 65155, 65163, 65171, 65179, 65186, 65195]
def posList : List (Nat × Nat) := [(65002, 2), (65005, 3), (65006, 1), (65009, 2), (65010, 2), (65013, 1), (65014, 1), (65015, 1), (65017, 2), (65018, 2), (65019, 2), (65021, 3), (65022, 1), (65029, 1), (65030, 1), (65031, 3), (65033, 2), (65037, 1), (65038, 1), (65039, 1), (65041, 4), (65042, 4), (65045, 3), (65046, 1), (65047, 1), (65051, 2), (65053, 1), (65054, 1), (65055, 1), (65059, 2), (6506  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero326 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos326 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck326

#print axioms MonskyCheck326.sel_zero326
#print axioms MonskyCheck326.sel_pos326

bsd/MonskyCheck327.lean

lean_all/bsd/MonskyCheck327.lean

/-
  bsd/MonskyCheck327.lean — T39 cycle 708 (goal G421): Monsky's 2-Selmer matrix for squarefree 65201 ≤ n ≤ 65400, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck327
open MonskyCheck

def zeroList : List Nat := [65202, 65203, 65211, 65217, 65226, 65227, 65235, 65242, 65243, 65267, 65274, 65283, 65291, 65298, 65299, 65306, 65307, 65315, 65321, 65323, 65329, 65337, 65339, 65345, 65346, 65347, 65355, 65361, 65362, 65363, 65369, 65370, 65371, 65377, 65379, 65386, 65387]
def posList : List (Nat × Nat) := [(65201, 2), (65206, 1), (65207, 1), (65209, 2), (65210, 2), (65213, 1), (65215, 1), (65218, 2), (65221, 3), (65222, 1), (65229, 1), (65230, 1), (65231, 3), (65233, 2), (65237, 3), (65238, 1), (65239, 1), (65245, 3), (65246, 3), (65247, 1), (65249, 2), (65251, 2), (65253, 1), (65254, 1), (65255, 3), (65257, 2), (65258, 2), (65261, 1), (65262, 3), (65263, 1), (6526  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero327 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos327 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck327

#print axioms MonskyCheck327.sel_zero327
#print axioms MonskyCheck327.sel_pos327

bsd/MonskyCheck328.lean

lean_all/bsd/MonskyCheck328.lean

/-
  bsd/MonskyCheck328.lean — T39 cycle 711 (goal G424): Monsky's 2-Selmer matrix for squarefree 65401 ≤ n ≤ 65600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck328
open MonskyCheck

def zeroList : List Nat := [65402, 65409, 65411, 65418, 65419, 65427, 65433, 65434, 65435, 65442, 65474, 65482, 65483, 65489, 65491, 65498, 65499, 65505, 65507, 65514, 65515, 65530, 65531, 65539, 65553, 65555, 65563, 65569, 65577, 65578, 65579, 65587, 65594, 65595]
def posList : List (Nat × Nat) := [(65401, 2), (65405, 1), (65406, 1), (65407, 1), (65410, 2), (65413, 1), (65414, 1), (65417, 2), (65422, 3), (65423, 1), (65426, 2), (65429, 1), (65431, 1), (65437, 1), (65438, 1), (65441, 2), (65443, 2), (65445, 1), (65446, 1), (65447, 1), (65449, 2), (65451, 2), (65453, 1), (65454, 1), (65455, 3), (65458, 2), (65459, 2), (65462, 1), (65463, 1), (65465, 2), (6546  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero328 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos328 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck328

#print axioms MonskyCheck328.sel_zero328
#print axioms MonskyCheck328.sel_pos328

bsd/MonskyCheck329.lean

lean_all/bsd/MonskyCheck329.lean

/-
  bsd/MonskyCheck329.lean — T39 cycle 714 (goal G427): Monsky's 2-Selmer matrix for squarefree 65601 ≤ n ≤ 65800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck329
open MonskyCheck

def zeroList : List Nat := [65626, 65627, 65634, 65635, 65643, 65651, 65658, 65665, 65681, 65683, 65689, 65697, 65698, 65699, 65706, 65707, 65714, 65715, 65721, 65722, 65723, 65730, 65731, 65738, 65739, 65747, 65762, 65769, 65770, 65771, 65779, 65785, 65787, 65793, 65794]
def posList : List (Nat × Nat) := [(65602, 2), (65605, 3), (65606, 1), (65607, 1), (65609, 2), (65613, 1), (65614, 1), (65615, 1), (65617, 2), (65618, 2), (65621, 1), (65622, 1), (65623, 3), (65629, 1), (65630, 1), (65631, 1), (65633, 2), (65638, 1), (65639, 3), (65641, 4), (65642, 2), (65645, 1), (65647, 1), (65649, 2), (65653, 3), (65654, 1), (65657, 2), (65659, 2), (65661, 1), (65662, 1), (6566  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero329 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos329 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck329

#print axioms MonskyCheck329.sel_zero329
#print axioms MonskyCheck329.sel_pos329

bsd/MonskyCheck33.lean

lean_all/bsd/MonskyCheck33.lean

/-
  bsd/MonskyCheck33.lean — T39 cycle 367 (goal G90): Monsky's 2-Selmer matrix for squarefree 6401 ≤ n ≤ 6600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck33
open MonskyCheck

def zeroList : List Nat := [6403, 6427, 6442, 6443, 6451, 6457, 6458, 6459, 6466, 6474, 6490, 6491, 6499, 6506, 6513, 6515, 6522, 6523, 6530, 6537, 6538, 6546, 6547, 6554, 6563, 6571, 6578, 6586, 6587, 6593]
def posList : List (Nat × Nat) := [(6401, 2), (6402, 2), (6405, 1), (6406, 1), (6407, 1), (6409, 2), (6410, 2), (6411, 2), (6414, 1), (6415, 1), (6418, 2), (6421, 1), (6423, 1), (6429, 1), (6430, 1), (6431, 1), (6433, 2), (6434, 2), (6437, 1), (6438, 1), (6439, 1), (6441, 2), (6445, 3), (6446, 1), (6447, 1), (6449, 2), (6454, 1), (6455, 1), (6461, 1), (6463, 1), (6465, 2), (6467, 2), (6469, 1), (6  -- (+657 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero33 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos33 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck33

#print axioms MonskyCheck33.sel_zero33
#print axioms MonskyCheck33.sel_pos33

bsd/MonskyCheck330.lean

lean_all/bsd/MonskyCheck330.lean

/-
  bsd/MonskyCheck330.lean — T39 cycle 717 (goal G430): Monsky's 2-Selmer matrix for squarefree 65801 ≤ n ≤ 66000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck330
open MonskyCheck

def zeroList : List Nat := [65802, 65810, 65818, 65827, 65833, 65834, 65841, 65843, 65851, 65857, 65859, 65866, 65867, 65873, 65874, 65882, 65890, 65891, 65899, 65913, 65914, 65915, 65922, 65923, 65931, 65937, 65946, 65947, 65955, 65963, 65987, 65995]
def posList : List (Nat × Nat) := [(65801, 2), (65803, 2), (65805, 1), (65806, 1), (65809, 2), (65811, 2), (65813, 1), (65814, 1), (65815, 1), (65819, 2), (65821, 1), (65822, 1), (65823, 1), (65829, 1), (65830, 1), (65831, 1), (65837, 1), (65838, 1), (65839, 1), (65842, 2), (65845, 1), (65846, 1), (65847, 1), (65849, 2), (65854, 1), (65855, 1), (65858, 2), (65861, 1), (65865, 2), (65869, 1), (6587  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero330 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos330 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck330

#print axioms MonskyCheck330.sel_zero330
#print axioms MonskyCheck330.sel_pos330

bsd/MonskyCheck331.lean

lean_all/bsd/MonskyCheck331.lean

/-
  bsd/MonskyCheck331.lean — T39 cycle 721 (goal G433): Monsky's 2-Selmer matrix for squarefree 66001 ≤ n ≤ 66200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck331
open MonskyCheck

def zeroList : List Nat := [66002, 66009, 66018, 66019, 66026, 66035, 66043, 66058, 66067, 66074, 66081, 66082, 66083, 66090, 66099, 66106, 66107, 66115, 66121, 66122, 66129, 66130, 66138, 66147, 66153, 66162, 66163, 66171, 66179, 66185]
def posList : List (Nat × Nat) := [(66001, 2), (66005, 1), (66007, 1), (66010, 2), (66011, 2), (66013, 1), (66014, 1), (66017, 2), (66021, 1), (66022, 3), (66023, 3), (66027, 2), (66029, 1), (66030, 1), (66031, 3), (66034, 2), (66037, 1), (66038, 1), (66039, 1), (66041, 2), (66045, 1), (66046, 1), (66047, 1), (66053, 1), (66054, 1), (66055, 1), (66057, 2), (66059, 2), (66061, 1), (66062, 1), (6606  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero331 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos331 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck331

#print axioms MonskyCheck331.sel_zero331
#print axioms MonskyCheck331.sel_pos331

bsd/MonskyCheck332.lean

lean_all/bsd/MonskyCheck332.lean

/-
  bsd/MonskyCheck332.lean — T39 cycle 724 (goal G437): Monsky's 2-Selmer matrix for squarefree 66201 ≤ n ≤ 66400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck332
open MonskyCheck

def zeroList : List Nat := [66201, 66202, 66203, 66209, 66210, 66211, 66218, 66219, 66233, 66235, 66242, 66257, 66266, 66273, 66274, 66282, 66290, 66298, 66307, 66314, 66315, 66329, 66345, 66347, 66354, 66355, 66362, 66363, 66369, 66370, 66378, 66385, 66386]
def posList : List (Nat × Nat) := [(66205, 3), (66206, 3), (66207, 1), (66214, 1), (66215, 1), (66217, 2), (66221, 1), (66223, 1), (66226, 2), (66227, 2), (66229, 1), (66230, 1), (66234, 2), (66237, 1), (66238, 1), (66239, 1), (66241, 2), (66243, 2), (66245, 3), (66246, 1), (66247, 1), (66251, 2), (66253, 1), (66254, 1), (66255, 1), (66259, 2), (66261, 1), (66262, 1), (66263, 1), (66265, 2), (6626  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero332 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos332 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck332

#print axioms MonskyCheck332.sel_zero332
#print axioms MonskyCheck332.sel_pos332

bsd/MonskyCheck333.lean

lean_all/bsd/MonskyCheck333.lean

/-
  bsd/MonskyCheck333.lean — T39 cycle 727 (goal G440): Monsky's 2-Selmer matrix for squarefree 66401 ≤ n ≤ 66600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck333
open MonskyCheck

def zeroList : List Nat := [66403, 66410, 66418, 66419, 66426, 66434, 66435, 66441, 66442, 66443, 66467, 66473, 66481, 66482, 66490, 66491, 66498, 66499, 66505, 66506, 66513, 66515, 66521, 66523, 66530, 66531, 66563, 66570, 66571, 66579, 66585, 66587, 66594]
def posList : List (Nat × Nat) := [(66401, 2), (66405, 1), (66406, 1), (66407, 1), (66409, 2), (66413, 1), (66414, 1), (66415, 3), (66421, 1), (66422, 1), (66423, 1), (66427, 2), (66430, 1), (66431, 1), (66433, 2), (66437, 1), (66445, 1), (66446, 1), (66449, 2), (66451, 2), (66453, 1), (66454, 1), (66455, 1), (66457, 2), (66458, 2), (66459, 2), (66461, 1), (66462, 1), (66463, 1), (66466, 2), (6646  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero333 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos333 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck333

#print axioms MonskyCheck333.sel_zero333
#print axioms MonskyCheck333.sel_pos333

bsd/MonskyCheck334.lean

lean_all/bsd/MonskyCheck334.lean

/-
  bsd/MonskyCheck334.lean — T39 cycle 730 (goal G443): Monsky's 2-Selmer matrix for squarefree 66601 ≤ n ≤ 66800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck334
open MonskyCheck

def zeroList : List Nat := [66602, 66610, 66611, 66634, 66635, 66643, 66651, 66657, 66666, 66674, 66683, 66698, 66705, 66707, 66714, 66730, 66731, 66737, 66739, 66745, 66747, 66763, 66770, 66777, 66778, 66779, 66786]
def posList : List (Nat × Nat) := [(66601, 2), (66605, 1), (66606, 1), (66607, 1), (66613, 3), (66614, 3), (66615, 3), (66617, 2), (66619, 2), (66621, 1), (66622, 1), (66623, 3), (66626, 2), (66629, 1), (66630, 1), (66631, 1), (66633, 2), (66637, 3), (66638, 1), (66639, 3), (66641, 2), (66642, 2), (66646, 1), (66647, 3), (66649, 2), (66653, 1), (66655, 1), (66658, 2), (66659, 2), (66661, 1), (6666  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero334 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos334 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck334

#print axioms MonskyCheck334.sel_zero334
#print axioms MonskyCheck334.sel_pos334

bsd/MonskyCheck335.lean

lean_all/bsd/MonskyCheck335.lean

/-
  bsd/MonskyCheck335.lean — T39 cycle 733 (goal G446): Monsky's 2-Selmer matrix for squarefree 66801 ≤ n ≤ 67000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck335
open MonskyCheck

def zeroList : List Nat := [66801, 66826, 66835, 66842, 66849, 66851, 66866, 66873, 66883, 66891, 66907, 66921, 66922, 66923, 66930, 66931, 66937, 66938, 66939, 66945, 66946, 66947, 66955, 66970, 66971, 66979, 66986, 66994]
def posList : List (Nat × Nat) := [(66802, 2), (66803, 2), (66805, 3), (66806, 1), (66809, 2), (66810, 2), (66811, 2), (66813, 1), (66814, 1), (66815, 1), (66817, 2), (66818, 2), (66819, 2), (66821, 1), (66822, 1), (66823, 1), (66827, 2), (66829, 1), (66830, 3), (66831, 1), (66833, 2), (66837, 1), (66838, 1), (66839, 3), (66841, 2), (66845, 3), (66846, 1), (66847, 1), (66853, 1), (66854, 1), (6685  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero335 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos335 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck335

#print axioms MonskyCheck335.sel_zero335
#print axioms MonskyCheck335.sel_pos335

bsd/MonskyCheck336.lean

lean_all/bsd/MonskyCheck336.lean

/-
  bsd/MonskyCheck336.lean — T39 cycle 736 (goal G449): Monsky's 2-Selmer matrix for squarefree 67001 ≤ n ≤ 67200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck336
open MonskyCheck

def zeroList : List Nat := [67001, 67002, 67003, 67010, 67017, 67018, 67026, 67035, 67043, 67051, 67066, 67067, 67074, 67083, 67090, 67091, 67098, 67099, 67114, 67115, 67139, 67147, 67162, 67163, 67170, 67171, 67177, 67178, 67187]
def posList : List (Nat × Nat) := [(67006, 1), (67007, 1), (67009, 4), (67011, 2), (67013, 1), (67015, 3), (67019, 2), (67021, 1), (67022, 3), (67027, 2), (67029, 1), (67030, 1), (67031, 3), (67033, 2), (67037, 1), (67038, 1), (67039, 1), (67042, 2), (67045, 1), (67046, 1), (67047, 1), (67049, 2), (67053, 3), (67054, 1), (67055, 1), (67057, 2), (67058, 2), (67061, 1), (67062, 1), (67063, 1), (6706  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero336 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos336 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck336

#print axioms MonskyCheck336.sel_zero336
#print axioms MonskyCheck336.sel_pos336

bsd/MonskyCheck337.lean

lean_all/bsd/MonskyCheck337.lean

/-
  bsd/MonskyCheck337.lean — T39 cycle 739 (goal G452): Monsky's 2-Selmer matrix for squarefree 67201 ≤ n ≤ 67400, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck337
open MonskyCheck

def zeroList : List Nat := [67211, 67218, 67219, 67226, 67227, 67233, 67241, 67242, 67243, 67249, 67251, 67258, 67259, 67265, 67267, 67274, 67290, 67298, 67299, 67305, 67307, 67313, 67314, 67315, 67330, 67339, 67354, 67363, 67370, 67371, 67377, 67378, 67379, 67386, 67387, 67393, 67395]
def posList : List (Nat × Nat) := [(67201, 2), (67202, 2), (67205, 3), (67206, 1), (67207, 3), (67209, 2), (67210, 2), (67213, 1), (67214, 1), (67215, 1), (67217, 2), (67222, 1), (67223, 1), (67229, 1), (67231, 1), (67234, 2), (67235, 2), (67237, 1), (67238, 1), (67245, 1), (67246, 1), (67247, 1), (67253, 1), (67254, 1), (67255, 1), (67261, 1), (67263, 1), (67269, 1), (67271, 1), (67273, 2), (6727  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero337 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos337 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck337

#print axioms MonskyCheck337.sel_zero337
#print axioms MonskyCheck337.sel_pos337

bsd/MonskyCheck338.lean

lean_all/bsd/MonskyCheck338.lean

/-
  bsd/MonskyCheck338.lean — T39 cycle 742 (goal G455): Monsky's 2-Selmer matrix for squarefree 67401 ≤ n ≤ 67600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck338
open MonskyCheck

def zeroList : List Nat := [67411, 67418, 67427, 67434, 67435, 67441, 67443, 67449, 67458, 67465, 67467, 67474, 67497, 67498, 67499, 67505, 67506, 67514, 67515, 67521, 67523, 67530, 67531, 67546, 67547, 67553, 67562, 67570, 67578, 67579, 67585, 67593, 67594]
def posList : List (Nat × Nat) := [(67402, 2), (67403, 2), (67405, 1), (67406, 1), (67407, 1), (67409, 2), (67413, 1), (67414, 1), (67415, 1), (67417, 2), (67421, 1), (67422, 1), (67423, 3), (67426, 2), (67429, 1), (67430, 1), (67433, 2), (67438, 3), (67439, 1), (67442, 2), (67445, 3), (67447, 1), (67451, 2), (67453, 1), (67454, 1), (67457, 2), (67459, 2), (67461, 1), (67462, 1), (67463, 1), (6746  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero338 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos338 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck338

#print axioms MonskyCheck338.sel_zero338
#print axioms MonskyCheck338.sel_pos338

bsd/MonskyCheck339.lean

lean_all/bsd/MonskyCheck339.lean

/-
  bsd/MonskyCheck339.lean — T39 cycle 745 (goal G458): Monsky's 2-Selmer matrix for squarefree 67601 ≤ n ≤ 67800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck339
open MonskyCheck

def zeroList : List Nat := [67602, 67619, 67642, 67643, 67651, 67658, 67673, 67682, 67697, 67699, 67706, 67713, 67715, 67722, 67723, 67737, 67739, 67747, 67754, 67755, 67763, 67771, 67786, 67793, 67794, 67795]
def posList : List (Nat × Nat) := [(67601, 2), (67603, 2), (67605, 1), (67606, 3), (67607, 1), (67609, 2), (67610, 2), (67611, 2), (67613, 1), (67614, 1), (67615, 1), (67618, 2), (67621, 1), (67622, 1), (67623, 1), (67627, 2), (67629, 1), (67630, 1), (67631, 1), (67633, 2), (67634, 2), (67637, 1), (67638, 1), (67641, 2), (67645, 1), (67646, 1), (67647, 1), (67649, 2), (67654, 1), (67655, 1), (6765  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero339 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos339 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck339

#print axioms MonskyCheck339.sel_zero339
#print axioms MonskyCheck339.sel_pos339

bsd/MonskyCheck34.lean

lean_all/bsd/MonskyCheck34.lean

/-
  bsd/MonskyCheck34.lean — T39 cycle 369 (goal G91): Monsky's 2-Selmer matrix for squarefree 6601 ≤ n ≤ 6800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck34
open MonskyCheck

def zeroList : List Nat := [6602, 6603, 6609, 6610, 6611, 6619, 6635, 6643, 6659, 6666, 6667, 6691, 6698, 6699, 6715, 6721, 6729, 6730, 6731, 6738, 6739, 6746, 6753, 6754, 6755, 6763, 6770, 6778, 6779, 6785, 6794]
def posList : List (Nat × Nat) := [(6601, 2), (6605, 3), (6607, 1), (6613, 3), (6614, 1), (6617, 2), (6618, 2), (6621, 1), (6622, 1), (6623, 1), (6626, 2), (6629, 1), (6630, 1), (6631, 1), (6634, 2), (6637, 1), (6638, 1), (6639, 1), (6641, 2), (6645, 1), (6646, 1), (6649, 2), (6653, 1), (6654, 1), (6657, 2), (6658, 2), (6661, 1), (6662, 1), (6663, 1), (6665, 2), (6670, 1), (6671, 3), (6673, 2), (6  -- (+635 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero34 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos34 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck34

#print axioms MonskyCheck34.sel_zero34
#print axioms MonskyCheck34.sel_pos34

bsd/MonskyCheck340.lean

lean_all/bsd/MonskyCheck340.lean

/-
  bsd/MonskyCheck340.lean — T39 cycle 748 (goal G461): Monsky's 2-Selmer matrix for squarefree 67801 ≤ n ≤ 68000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck340
open MonskyCheck

def zeroList : List Nat := [67803, 67810, 67811, 67818, 67819, 67826, 67835, 67841, 67843, 67849, 67857, 67858, 67866, 67867, 67882, 67883, 67890, 67891, 67897, 67906, 67929, 67930, 67931, 67939, 67945, 67946, 67947, 67953, 67954, 67969, 67971, 67979, 67987, 67994]
def posList : List (Nat × Nat) := [(67801, 2), (67802, 2), (67805, 3), (67807, 1), (67809, 2), (67813, 1), (67814, 1), (67817, 2), (67821, 1), (67822, 1), (67823, 3), (67827, 2), (67829, 1), (67830, 1), (67831, 1), (67834, 2), (67837, 1), (67838, 1), (67839, 1), (67845, 1), (67846, 1), (67847, 3), (67853, 1), (67854, 1), (67855, 1), (67859, 2), (67861, 1), (67862, 1), (67863, 1), (67870, 1), (6787  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero340 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos340 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck340

#print axioms MonskyCheck340.sel_zero340
#print axioms MonskyCheck340.sel_pos340

bsd/MonskyCheck341.lean

lean_all/bsd/MonskyCheck341.lean

/-
  bsd/MonskyCheck341.lean — T39 cycle 752 (goal G465): Monsky's 2-Selmer matrix for squarefree 68001 ≤ n ≤ 68200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck341
open MonskyCheck

def zeroList : List Nat := [68003, 68010, 68027, 68059, 68073, 68074, 68082, 68083, 68090, 68091, 68097, 68099, 68115, 68122, 68131, 68145, 68146, 68147, 68153, 68154, 68155, 68162, 68163, 68170, 68171, 68178, 68179, 68186, 68187, 68195]
def posList : List (Nat × Nat) := [(68001, 2), (68005, 1), (68006, 1), (68007, 1), (68009, 2), (68011, 2), (68014, 1), (68015, 1), (68017, 2), (68018, 2), (68019, 2), (68021, 1), (68023, 1), (68026, 2), (68029, 1), (68030, 1), (68033, 2), (68034, 2), (68035, 2), (68037, 1), (68038, 1), (68039, 1), (68041, 2), (68042, 2), (68043, 2), (68045, 3), (68046, 1), (68047, 1), (68051, 2), (68053, 1), (6805  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero341 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos341 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck341

#print axioms MonskyCheck341.sel_zero341
#print axioms MonskyCheck341.sel_pos341

bsd/MonskyCheck342.lean

lean_all/bsd/MonskyCheck342.lean

/-
  bsd/MonskyCheck342.lean — T39 cycle 755 (goal G468): Monsky's 2-Selmer matrix for squarefree 68201 ≤ n ≤ 68400, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck342
open MonskyCheck

def zeroList : List Nat := [68203, 68210, 68217, 68218, 68219, 68227, 68233, 68234, 68242, 68243, 68249, 68251, 68267, 68273, 68282, 68290, 68291, 68297, 68298, 68307, 68313, 68314, 68315, 68321, 68323, 68330, 68347, 68354, 68361, 68362, 68370, 68371, 68378, 68385, 68387]
def posList : List (Nat × Nat) := [(68201, 2), (68205, 1), (68206, 1), (68207, 1), (68209, 2), (68213, 1), (68214, 1), (68215, 1), (68221, 3), (68222, 1), (68223, 1), (68226, 2), (68230, 1), (68235, 2), (68237, 3), (68239, 1), (68245, 3), (68246, 1), (68253, 1), (68254, 1), (68255, 3), (68258, 2), (68259, 2), (68261, 1), (68262, 1), (68263, 1), (68266, 2), (68269, 3), (68270, 1), (68271, 1), (6827  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero342 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos342 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck342

#print axioms MonskyCheck342.sel_zero342
#print axioms MonskyCheck342.sel_pos342

bsd/MonskyCheck343.lean

lean_all/bsd/MonskyCheck343.lean

/-
  bsd/MonskyCheck343.lean — T39 cycle 758 (goal G471): Monsky's 2-Selmer matrix for squarefree 68401 ≤ n ≤ 68600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck343
open MonskyCheck

def zeroList : List Nat := [68426, 68433, 68435, 68442, 68443, 68451, 68458, 68466, 68483, 68491, 68497, 68498, 68505, 68506, 68507, 68513, 68514, 68515, 68522, 68523, 68530, 68531, 68539, 68563, 68570, 68577, 68579, 68585, 68587]
def posList : List (Nat × Nat) := [(68401, 4), (68402, 2), (68405, 3), (68406, 1), (68407, 1), (68410, 2), (68411, 2), (68414, 3), (68415, 3), (68417, 2), (68419, 2), (68421, 1), (68422, 1), (68423, 1), (68429, 1), (68430, 3), (68431, 1), (68434, 2), (68437, 1), (68438, 1), (68439, 1), (68441, 4), (68446, 1), (68447, 1), (68449, 2), (68455, 1), (68457, 2), (68459, 2), (68461, 1), (68462, 1), (6846  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero343 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos343 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck343

#print axioms MonskyCheck343.sel_zero343
#print axioms MonskyCheck343.sel_pos343

bsd/MonskyCheck344.lean

lean_all/bsd/MonskyCheck344.lean

/-
  bsd/MonskyCheck344.lean — T39 cycle 762 (goal G474): Monsky's 2-Selmer matrix for squarefree 68601 ≤ n ≤ 68800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck344
open MonskyCheck

def zeroList : List Nat := [68602, 68603, 68609, 68611, 68617, 68619, 68635, 68641, 68658, 68659, 68666, 68683, 68690, 68699, 68705, 68707, 68721, 68739, 68745, 68761, 68762, 68771, 68779, 68786, 68794]
def posList : List (Nat × Nat) := [(68601, 2), (68605, 3), (68606, 1), (68610, 2), (68613, 1), (68615, 1), (68618, 2), (68621, 1), (68622, 1), (68623, 1), (68626, 2), (68627, 2), (68629, 1), (68630, 1), (68631, 1), (68633, 2), (68637, 1), (68638, 1), (68639, 1), (68642, 2), (68645, 3), (68646, 1), (68647, 1), (68653, 3), (68654, 1), (68655, 1), (68657, 2), (68662, 1), (68663, 1), (68665, 2), (6866  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero344 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos344 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck344

#print axioms MonskyCheck344.sel_zero344
#print axioms MonskyCheck344.sel_pos344

bsd/MonskyCheck345.lean

lean_all/bsd/MonskyCheck345.lean

/-
  bsd/MonskyCheck345.lean — T39 cycle 765 (goal G477): Monsky's 2-Selmer matrix for squarefree 68801 ≤ n ≤ 69000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck345
open MonskyCheck

def zeroList : List Nat := [68801, 68802, 68811, 68818, 68819, 68842, 68858, 68867, 68874, 68882, 68883, 68889, 68891, 68898, 68899, 68906, 68915, 68923, 68929, 68930, 68937, 68938, 68946, 68947, 68955, 68961, 68963, 68978, 68986]
def posList : List (Nat × Nat) := [(68803, 2), (68806, 1), (68807, 1), (68809, 2), (68810, 2), (68813, 1), (68815, 1), (68817, 2), (68821, 1), (68822, 1), (68826, 2), (68827, 2), (68829, 1), (68830, 1), (68831, 1), (68833, 2), (68834, 2), (68835, 2), (68837, 1), (68838, 1), (68839, 5), (68843, 2), (68846, 1), (68847, 3), (68851, 2), (68853, 1), (68854, 1), (68855, 1), (68857, 2), (68861, 1), (6886  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero345 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos345 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck345

#print axioms MonskyCheck345.sel_zero345
#print axioms MonskyCheck345.sel_pos345

bsd/MonskyCheck346.lean

lean_all/bsd/MonskyCheck346.lean

/-
  bsd/MonskyCheck346.lean — T39 cycle 769 (goal G480): Monsky's 2-Selmer matrix for squarefree 69001 ≤ n ≤ 69200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck346
open MonskyCheck

def zeroList : List Nat := [69002, 69009, 69011, 69018, 69019, 69027, 69033, 69034, 69035, 69042, 69043, 69059, 69065, 69067, 69081, 69082, 69089, 69098, 69106, 69122, 69130, 69153, 69162, 69163, 69170, 69171, 69177, 69178, 69187]
def posList : List (Nat × Nat) := [(69001, 2), (69005, 1), (69006, 1), (69007, 3), (69010, 2), (69013, 1), (69014, 1), (69015, 3), (69017, 2), (69022, 1), (69023, 1), (69026, 2), (69029, 1), (69031, 1), (69037, 1), (69038, 1), (69045, 1), (69046, 1), (69047, 1), (69049, 2), (69051, 2), (69053, 1), (69054, 1), (69055, 1), (69058, 2), (69061, 1), (69062, 1), (69063, 1), (69069, 1), (69070, 1), (6907  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero346 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos346 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck346

#print axioms MonskyCheck346.sel_zero346
#print axioms MonskyCheck346.sel_pos346

bsd/MonskyCheck347.lean

lean_all/bsd/MonskyCheck347.lean

/-
  bsd/MonskyCheck347.lean — T39 cycle 772 (goal G483): Monsky's 2-Selmer matrix for squarefree 69201 ≤ n ≤ 69400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck347
open MonskyCheck

def zeroList : List Nat := [69203, 69211, 69217, 69218, 69226, 69234, 69235, 69242, 69243, 69251, 69259, 69265, 69266, 69267, 69289, 69297, 69305, 69306, 69307, 69322, 69323, 69330, 69331, 69339, 69355, 69361, 69369, 69370, 69371, 69378, 69379, 69386, 69387, 69393]
def posList : List (Nat × Nat) := [(69202, 2), (69205, 3), (69206, 1), (69207, 1), (69209, 2), (69213, 1), (69214, 1), (69215, 1), (69221, 1), (69222, 3), (69223, 1), (69227, 2), (69229, 1), (69230, 1), (69231, 1), (69233, 2), (69238, 1), (69239, 1), (69241, 2), (69245, 1), (69247, 1), (69249, 2), (69253, 1), (69254, 1), (69257, 2), (69258, 2), (69261, 1), (69262, 1), (69263, 1), (69269, 1), (6927  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero347 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos347 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck347

#print axioms MonskyCheck347.sel_zero347
#print axioms MonskyCheck347.sel_pos347

bsd/MonskyCheck348.lean

lean_all/bsd/MonskyCheck348.lean

/-
  bsd/MonskyCheck348.lean — T39 cycle 775 (goal G486): Monsky's 2-Selmer matrix for squarefree 69401 ≤ n ≤ 69600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck348
open MonskyCheck

def zeroList : List Nat := [69402, 69403, 69410, 69411, 69419, 69427, 69434, 69441, 69451, 69467, 69474, 69490, 69491, 69499, 69514, 69515, 69521, 69522, 69523, 69537, 69539, 69545, 69546, 69547, 69553, 69554, 69555, 69562, 69563, 69571, 69578, 69586, 69594]
def posList : List (Nat × Nat) := [(69401, 2), (69405, 1), (69406, 1), (69407, 1), (69409, 2), (69413, 1), (69414, 3), (69415, 1), (69418, 2), (69421, 1), (69422, 3), (69423, 3), (69429, 1), (69430, 1), (69431, 1), (69437, 1), (69438, 1), (69439, 1), (69442, 2), (69443, 2), (69445, 1), (69446, 1), (69447, 1), (69449, 2), (69455, 1), (69457, 2), (69458, 2), (69461, 1), (69463, 1), (69465, 2), (6946  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero348 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos348 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck348

#print axioms MonskyCheck348.sel_zero348
#print axioms MonskyCheck348.sel_pos348

bsd/MonskyCheck349.lean

lean_all/bsd/MonskyCheck349.lean

/-
  bsd/MonskyCheck349.lean — T39 cycle 778 (goal G489): Monsky's 2-Selmer matrix for squarefree 69601 ≤ n ≤ 69800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck349
open MonskyCheck

def zeroList : List Nat := [69601, 69602, 69603, 69609, 69617, 69618, 69634, 69641, 69658, 69681, 69689, 69690, 69691, 69715, 69722, 69739, 69746, 69747, 69753, 69754, 69755, 69763, 69770, 69778, 69779]
def posList : List (Nat × Nat) := [(69605, 3), (69607, 3), (69610, 2), (69611, 2), (69613, 1), (69614, 1), (69619, 2), (69621, 1), (69622, 1), (69623, 1), (69626, 2), (69627, 2), (69630, 1), (69631, 1), (69635, 2), (69637, 1), (69638, 1), (69639, 1), (69643, 2), (69645, 1), (69646, 1), (69647, 1), (69653, 1), (69654, 1), (69655, 1), (69657, 2), (69659, 2), (69661, 1), (69662, 1), (69663, 1), (6966  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero349 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos349 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck349

#print axioms MonskyCheck349.sel_zero349
#print axioms MonskyCheck349.sel_pos349

bsd/MonskyCheck35.lean

lean_all/bsd/MonskyCheck35.lean

/-
  bsd/MonskyCheck35.lean — T39 cycle 370 (goal G92): Monsky's 2-Selmer matrix for squarefree 6801 ≤ n ≤ 7000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck35
open MonskyCheck

def zeroList : List Nat := [6801, 6802, 6803, 6809, 6810, 6819, 6826, 6827, 6834, 6835, 6842, 6851, 6873, 6883, 6891, 6899, 6907, 6915, 6922, 6938, 6945, 6947, 6954, 6955, 6970, 6971, 6978, 6979, 6985, 6987, 6994]
def posList : List (Nat × Nat) := [(6805, 3), (6806, 3), (6807, 1), (6814, 1), (6815, 1), (6817, 2), (6818, 2), (6821, 1), (6823, 1), (6829, 1), (6830, 1), (6833, 2), (6837, 1), (6838, 1), (6839, 3), (6841, 2), (6843, 2), (6846, 1), (6847, 1), (6853, 1), (6854, 1), (6855, 1), (6857, 2), (6861, 1), (6862, 1), (6863, 1), (6865, 2), (6866, 2), (6869, 1), (6870, 1), (6871, 1), (6874, 2), (6878, 1), (6  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero35 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos35 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck35

#print axioms MonskyCheck35.sel_zero35
#print axioms MonskyCheck35.sel_pos35

bsd/MonskyCheck350.lean

lean_all/bsd/MonskyCheck350.lean

/-
  bsd/MonskyCheck350.lean — T39 cycle 781 (goal G492): Monsky's 2-Selmer matrix for squarefree 69801 ≤ n ≤ 70000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck350
open MonskyCheck

def zeroList : List Nat := [69810, 69811, 69818, 69827, 69834, 69835, 69841, 69859, 69873, 69882, 69883, 69891, 69898, 69899, 69906, 69914, 69931, 69945, 69947, 69954, 69955, 69961, 69962, 69963, 69970, 69977, 69978, 69979, 69987, 69994]
def posList : List (Nat × Nat) := [(69801, 2), (69802, 2), (69805, 1), (69806, 1), (69807, 1), (69809, 2), (69814, 1), (69815, 1), (69821, 1), (69823, 1), (69826, 2), (69829, 1), (69830, 1), (69833, 2), (69837, 1), (69838, 1), (69839, 1), (69842, 2), (69843, 2), (69845, 3), (69846, 1), (69847, 1), (69851, 2), (69853, 1), (69854, 1), (69855, 1), (69857, 2), (69861, 1), (69862, 1), (69863, 1), (6986  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero350 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos350 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck350

#print axioms MonskyCheck350.sel_zero350
#print axioms MonskyCheck350.sel_pos350

bsd/MonskyCheck351.lean

lean_all/bsd/MonskyCheck351.lean

/-
  bsd/MonskyCheck351.lean — T39 cycle 785 (goal G496): Monsky's 2-Selmer matrix for squarefree 70001 ≤ n ≤ 70200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck351
open MonskyCheck

def zeroList : List Nat := [70003, 70017, 70018, 70019, 70033, 70035, 70041, 70042, 70043, 70051, 70058, 70066, 70067, 70082, 70089, 70090, 70091, 70099, 70105, 70106, 70107, 70113, 70114, 70122, 70123, 70129, 70130, 70138, 70139, 70154, 70163, 70169, 70179, 70186, 70194]
def posList : List (Nat × Nat) := [(70001, 2), (70005, 1), (70006, 1), (70007, 3), (70009, 2), (70010, 2), (70013, 3), (70014, 1), (70015, 1), (70022, 1), (70023, 1), (70026, 2), (70027, 2), (70030, 1), (70031, 1), (70037, 1), (70039, 1), (70045, 3), (70046, 1), (70049, 2), (70053, 1), (70054, 1), (70055, 1), (70057, 2), (70061, 1), (70062, 1), (70063, 1), (70069, 1), (70071, 1), (70073, 2), (7007  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero351 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos351 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck351

#print axioms MonskyCheck351.sel_zero351
#print axioms MonskyCheck351.sel_pos351

bsd/MonskyCheck352.lean

lean_all/bsd/MonskyCheck352.lean

/-
  bsd/MonskyCheck352.lean — T39 cycle 788 (goal G499): Monsky's 2-Selmer matrix for squarefree 70201 ≤ n ≤ 70400, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck352
open MonskyCheck

def zeroList : List Nat := [70202, 70210, 70211, 70219, 70226, 70234, 70251, 70259, 70265, 70282, 70283, 70298, 70314, 70329, 70331, 70338, 70339, 70346, 70347, 70354, 70377, 70379, 70385, 70386, 70387, 70394]
def posList : List (Nat × Nat) := [(70201, 2), (70203, 2), (70205, 1), (70206, 1), (70207, 1), (70213, 1), (70214, 1), (70215, 3), (70221, 1), (70222, 1), (70223, 1), (70229, 1), (70230, 1), (70231, 3), (70233, 2), (70235, 2), (70237, 1), (70238, 1), (70239, 1), (70241, 2), (70242, 2), (70243, 2), (70246, 1), (70247, 1), (70249, 2), (70253, 1), (70255, 1), (70257, 2), (70258, 2), (70261, 3), (7026  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero352 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos352 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck352

#print axioms MonskyCheck352.sel_zero352
#print axioms MonskyCheck352.sel_pos352

bsd/MonskyCheck353.lean

lean_all/bsd/MonskyCheck353.lean

/-
  bsd/MonskyCheck353.lean — T39 cycle 791 (goal G502): Monsky's 2-Selmer matrix for squarefree 70401 ≤ n ≤ 70600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck353
open MonskyCheck

def zeroList : List Nat := [70401, 70410, 70417, 70435, 70442, 70451, 70458, 70459, 70466, 70483, 70490, 70498, 70499, 70507, 70513, 70531, 70545, 70547, 70554, 70555, 70563, 70570, 70571, 70579, 70585, 70593, 70595]
def posList : List (Nat × Nat) := [(70402, 2), (70403, 2), (70405, 3), (70406, 1), (70409, 2), (70411, 2), (70414, 1), (70415, 1), (70418, 4), (70419, 2), (70421, 3), (70423, 1), (70426, 2), (70427, 2), (70429, 1), (70430, 1), (70431, 1), (70433, 2), (70437, 1), (70438, 3), (70439, 1), (70441, 2), (70445, 1), (70446, 1), (70447, 1), (70449, 2), (70453, 1), (70454, 1), (70455, 1), (70457, 2), (7046  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero353 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos353 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck353

#print axioms MonskyCheck353.sel_zero353
#print axioms MonskyCheck353.sel_pos353

bsd/MonskyCheck354.lean

lean_all/bsd/MonskyCheck354.lean

/-
  bsd/MonskyCheck354.lean — T39 cycle 794 (goal G505): Monsky's 2-Selmer matrix for squarefree 70601 ≤ n ≤ 70800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck354
open MonskyCheck

def zeroList : List Nat := [70610, 70611, 70617, 70619, 70627, 70633, 70634, 70649, 70651, 70665, 70666, 70667, 70674, 70682, 70683, 70689, 70690, 70697, 70715, 70723, 70737, 70746, 70755, 70762, 70771, 70778]
def posList : List (Nat × Nat) := [(70601, 2), (70603, 2), (70606, 1), (70607, 1), (70613, 1), (70615, 1), (70618, 2), (70621, 1), (70622, 1), (70626, 2), (70629, 1), (70630, 3), (70631, 1), (70635, 2), (70637, 1), (70638, 1), (70639, 1), (70643, 2), (70645, 3), (70646, 1), (70647, 1), (70653, 1), (70654, 1), (70655, 1), (70657, 2), (70661, 1), (70662, 1), (70663, 1), (70669, 3), (70670, 1), (7067  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero354 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos354 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck354

#print axioms MonskyCheck354.sel_zero354
#print axioms MonskyCheck354.sel_pos354

bsd/MonskyCheck355.lean

lean_all/bsd/MonskyCheck355.lean

/-
  bsd/MonskyCheck355.lean — T39 cycle 796 (goal G508): Monsky's 2-Selmer matrix for squarefree 70801 ≤ n ≤ 71000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck355
open MonskyCheck

def zeroList : List Nat := [70809, 70810, 70818, 70826, 70827, 70833, 70834, 70835, 70843, 70851, 70867, 70874, 70881, 70883, 70890, 70891, 70899, 70914, 70922, 70945, 70946, 70955, 70961, 70962, 70963, 70971, 70979, 70987, 70994, 70995]
def posList : List (Nat × Nat) := [(70801, 2), (70802, 2), (70806, 1), (70807, 1), (70813, 1), (70814, 1), (70815, 1), (70817, 2), (70819, 2), (70822, 3), (70823, 1), (70829, 1), (70831, 1), (70837, 1), (70838, 1), (70841, 2), (70842, 2), (70845, 1), (70846, 1), (70847, 1), (70849, 2), (70853, 1), (70855, 1), (70858, 2), (70859, 2), (70861, 1), (70862, 1), (70863, 1), (70865, 2), (70869, 1), (7087  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero355 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos355 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck355

#print axioms MonskyCheck355.sel_zero355
#print axioms MonskyCheck355.sel_pos355

bsd/MonskyCheck356.lean

lean_all/bsd/MonskyCheck356.lean

/-
  bsd/MonskyCheck356.lean — T39 cycle 799 (goal G511): Monsky's 2-Selmer matrix for squarefree 71001 ≤ n ≤ 71200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck356
open MonskyCheck

def zeroList : List Nat := [71002, 71011, 71018, 71033, 71034, 71035, 71041, 71051, 71059, 71066, 71083, 71090, 71098, 71121, 71122, 71123, 71130, 71146, 71147, 71162, 71171, 71178, 71179, 71185, 71187, 71193, 71194]
def posList : List (Nat × Nat) := [(71003, 2), (71005, 1), (71006, 1), (71007, 1), (71009, 2), (71013, 1), (71014, 1), (71015, 1), (71017, 2), (71021, 1), (71022, 1), (71023, 1), (71026, 4), (71029, 1), (71030, 1), (71031, 1), (71038, 1), (71039, 1), (71042, 2), (71043, 2), (71045, 1), (71047, 1), (71049, 2), (71053, 1), (71054, 1), (71057, 2), (71058, 2), (71061, 1), (71062, 1), (71063, 1), (7106  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero356 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos356 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck356

#print axioms MonskyCheck356.sel_zero356
#print axioms MonskyCheck356.sel_pos356

bsd/MonskyCheck357.lean

lean_all/bsd/MonskyCheck357.lean

/-
  bsd/MonskyCheck357.lean — T39 cycle 802 (goal G514): Monsky's 2-Selmer matrix for squarefree 71201 ≤ n ≤ 71400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck357
open MonskyCheck

def zeroList : List Nat := [71202, 71227, 71241, 71242, 71243, 71258, 71259, 71266, 71267, 71274, 71282, 71291, 71297, 71306, 71314, 71315, 71322, 71330, 71339, 71347, 71354, 71355, 71363, 71371, 71386, 71387, 71394]
def posList : List (Nat × Nat) := [(71201, 2), (71203, 2), (71205, 1), (71206, 1), (71207, 1), (71209, 2), (71210, 2), (71211, 2), (71213, 1), (71214, 1), (71215, 1), (71218, 2), (71219, 2), (71221, 1), (71222, 1), (71223, 1), (71229, 1), (71230, 1), (71231, 1), (71233, 2), (71234, 2), (71237, 1), (71238, 1), (71239, 1), (71245, 3), (71247, 1), (71249, 2), (71251, 2), (71254, 1), (71255, 1), (7125  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero357 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos357 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck357

#print axioms MonskyCheck357.sel_zero357
#print axioms MonskyCheck357.sel_pos357

bsd/MonskyCheck358.lean

lean_all/bsd/MonskyCheck358.lean

/-
  bsd/MonskyCheck358.lean — T39 cycle 805 (goal G517): Monsky's 2-Selmer matrix for squarefree 71401 ≤ n ≤ 71600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck358
open MonskyCheck

def zeroList : List Nat := [71401, 71402, 71403, 71409, 71411, 71419, 71427, 71434, 71443, 71449, 71457, 71459, 71474, 71481, 71483, 71489, 71497, 71515, 71522, 71529, 71530, 71538, 71546, 71563, 71570, 71579, 71585, 71587, 71594]
def posList : List (Nat × Nat) := [(71405, 3), (71410, 2), (71413, 1), (71414, 1), (71417, 4), (71418, 2), (71421, 1), (71422, 1), (71423, 1), (71426, 2), (71429, 1), (71430, 1), (71431, 1), (71435, 2), (71437, 1), (71438, 3), (71439, 1), (71441, 2), (71445, 1), (71446, 3), (71447, 1), (71453, 1), (71454, 1), (71455, 1), (71458, 2), (71461, 1), (71462, 1), (71463, 1), (71465, 2), (71466, 2), (7146  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero358 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos358 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck358

#print axioms MonskyCheck358.sel_zero358
#print axioms MonskyCheck358.sel_pos358

bsd/MonskyCheck359.lean

lean_all/bsd/MonskyCheck359.lean

/-
  bsd/MonskyCheck359.lean — T39 cycle 808 (goal G520): Monsky's 2-Selmer matrix for squarefree 71601 ≤ n ≤ 71800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck359
open MonskyCheck

def zeroList : List Nat := [71601, 71617, 71619, 71626, 71634, 71635, 71643, 71657, 71665, 71674, 71681, 71682, 71683, 71690, 71697, 71698, 71699, 71706, 71707, 71722, 71723, 71738, 71745, 71746, 71747, 71754, 71755, 71762, 71769, 71770, 71771, 71778, 71786, 71795]
def posList : List (Nat × Nat) := [(71602, 2), (71603, 2), (71605, 3), (71606, 1), (71607, 1), (71609, 2), (71610, 2), (71611, 2), (71614, 1), (71615, 1), (71618, 2), (71621, 1), (71623, 1), (71627, 2), (71629, 1), (71630, 1), (71633, 2), (71637, 1), (71639, 3), (71641, 2), (71642, 2), (71645, 3), (71646, 1), (71647, 1), (71651, 2), (71653, 1), (71654, 3), (71655, 1), (71659, 2), (71661, 1), (7166  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero359 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos359 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck359

#print axioms MonskyCheck359.sel_zero359
#print axioms MonskyCheck359.sel_pos359

bsd/MonskyCheck36.lean

lean_all/bsd/MonskyCheck36.lean

/-
  bsd/MonskyCheck36.lean — T39 cycle 371 (goal G93): Monsky's 2-Selmer matrix for squarefree 7001 ≤ n ≤ 7200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck36
open MonskyCheck

def zeroList : List Nat := [7009, 7010, 7017, 7019, 7026, 7027, 7034, 7035, 7041, 7043, 7066, 7067, 7073, 7082, 7090, 7091, 7099, 7106, 7107, 7113, 7114, 7115, 7122, 7123, 7130, 7138, 7147, 7161, 7162, 7163, 7169, 7178, 7179, 7187, 7194]
def posList : List (Nat × Nat) := [(7001, 2), (7003, 2), (7005, 1), (7006, 3), (7013, 1), (7014, 1), (7015, 1), (7021, 1), (7022, 1), (7023, 1), (7030, 1), (7031, 3), (7033, 2), (7037, 1), (7039, 1), (7042, 2), (7045, 3), (7046, 1), (7049, 2), (7051, 2), (7053, 1), (7054, 1), (7055, 1), (7057, 2), (7058, 2), (7059, 2), (7061, 1), (7062, 1), (7063, 3), (7069, 1), (7070, 1), (7071, 1), (7077, 3), (7  -- (+580 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero36 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos36 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck36

#print axioms MonskyCheck36.sel_zero36
#print axioms MonskyCheck36.sel_pos36

bsd/MonskyCheck360.lean

lean_all/bsd/MonskyCheck360.lean

/-
  bsd/MonskyCheck360.lean — T39 cycle 812 (goal G523): Monsky's 2-Selmer matrix for squarefree 71801 ≤ n ≤ 72000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck360
open MonskyCheck

def zeroList : List Nat := [71801, 71803, 71817, 71818, 71819, 71826, 71827, 71841, 71843, 71851, 71858, 71859, 71866, 71867, 71882, 71889, 71898, 71899, 71906, 71907, 71913, 71921, 71922, 71930, 71947, 71962, 71963, 71971, 71978, 71979, 71987]
def posList : List (Nat × Nat) := [(71805, 1), (71806, 1), (71807, 1), (71809, 2), (71810, 2), (71813, 1), (71814, 1), (71815, 3), (71821, 1), (71822, 1), (71823, 1), (71830, 1), (71831, 1), (71833, 2), (71835, 2), (71837, 1), (71842, 2), (71845, 3), (71846, 1), (71849, 2), (71853, 1), (71854, 1), (71855, 1), (71857, 2), (71861, 1), (71862, 1), (71863, 1), (71869, 1), (71870, 1), (71871, 1), (7187  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero360 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos360 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck360

#print axioms MonskyCheck360.sel_zero360
#print axioms MonskyCheck360.sel_pos360

bsd/MonskyCheck361.lean

lean_all/bsd/MonskyCheck361.lean

/-
  bsd/MonskyCheck361.lean — T39 cycle 816 (goal G527): Monsky's 2-Selmer matrix for squarefree 72001 ≤ n ≤ 72200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck361
open MonskyCheck

def zeroList : List Nat := [72002, 72010, 72011, 72017, 72019, 72026, 72035, 72042, 72043, 72051, 72057, 72059, 72066, 72067, 72074, 72083, 72091, 72098, 72105, 72114, 72115, 72122, 72123, 72129, 72130, 72131, 72137, 72138, 72139, 72145, 72170, 72193, 72195]
def posList : List (Nat × Nat) := [(72001, 4), (72003, 2), (72005, 3), (72006, 1), (72007, 1), (72013, 3), (72014, 1), (72015, 3), (72021, 1), (72022, 1), (72023, 1), (72029, 3), (72031, 1), (72033, 2), (72034, 2), (72037, 1), (72038, 1), (72039, 1), (72041, 2), (72046, 1), (72047, 1), (72049, 2), (72053, 1), (72055, 1), (72058, 2), (72061, 1), (72062, 3), (72065, 2), (72069, 1), (72070, 1), (7207  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero361 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos361 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck361

#print axioms MonskyCheck361.sel_zero361
#print axioms MonskyCheck361.sel_pos361

bsd/MonskyCheck362.lean

lean_all/bsd/MonskyCheck362.lean

/-
  bsd/MonskyCheck362.lean — T39 cycle 819 (goal G530): Monsky's 2-Selmer matrix for squarefree 72201 ≤ n ≤ 72400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck362
open MonskyCheck

def zeroList : List Nat := [72202, 72209, 72210, 72211, 72218, 72219, 72227, 72235, 72249, 72251, 72257, 72258, 72259, 72266, 72267, 72273, 72281, 72282, 72290, 72298, 72299, 72307, 72314, 72321, 72339, 72346, 72347, 72362, 72370, 72371, 72379, 72393, 72394]
def posList : List (Nat × Nat) := [(72201, 2), (72203, 2), (72205, 1), (72206, 3), (72213, 1), (72214, 1), (72215, 1), (72217, 2), (72221, 1), (72222, 1), (72223, 1), (72229, 1), (72230, 1), (72231, 1), (72233, 2), (72238, 1), (72239, 1), (72241, 2), (72242, 4), (72245, 3), (72246, 1), (72247, 1), (72253, 1), (72254, 1), (72255, 1), (72262, 1), (72263, 3), (72265, 2), (72269, 1), (72271, 1), (7227  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero362 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos362 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck362

#print axioms MonskyCheck362.sel_zero362
#print axioms MonskyCheck362.sel_pos362

bsd/MonskyCheck363.lean

lean_all/bsd/MonskyCheck363.lean

/-
  bsd/MonskyCheck363.lean — T39 cycle 822 (goal G533): Monsky's 2-Selmer matrix for squarefree 72401 ≤ n ≤ 72600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck363
open MonskyCheck

def zeroList : List Nat := [72409, 72411, 72419, 72435, 72442, 72443, 72457, 72458, 72466, 72467, 72474, 72483, 72489, 72490, 72498, 72506, 72514, 72515, 72523, 72530, 72537, 72538, 72547, 72554, 72563, 72578, 72586]
def posList : List (Nat × Nat) := [(72401, 2), (72402, 2), (72403, 2), (72406, 1), (72407, 1), (72410, 2), (72413, 1), (72415, 1), (72417, 2), (72418, 2), (72421, 1), (72426, 2), (72427, 2), (72429, 1), (72430, 1), (72431, 1), (72433, 2), (72434, 2), (72437, 1), (72438, 3), (72439, 1), (72445, 3), (72446, 1), (72447, 1), (72449, 2), (72451, 2), (72453, 1), (72454, 1), (72455, 1), (72461, 1), (7246  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero363 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos363 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck363

#print axioms MonskyCheck363.sel_zero363
#print axioms MonskyCheck363.sel_pos363

bsd/MonskyCheck364.lean

lean_all/bsd/MonskyCheck364.lean

/-
  bsd/MonskyCheck364.lean — T39 cycle 825 (goal G536): Monsky's 2-Selmer matrix for squarefree 72601 ≤ n ≤ 72800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck364
open MonskyCheck

def zeroList : List Nat := [72602, 72609, 72619, 72633, 72634, 72635, 72642, 72643, 72659, 72681, 72682, 72690, 72691, 72697, 72698, 72699, 72707, 72715, 72722, 72739, 72746, 72753, 72754, 72762, 72763, 72770, 72771, 72777, 72778, 72786, 72787, 72795]
def posList : List (Nat × Nat) := [(72601, 2), (72605, 1), (72606, 1), (72607, 3), (72610, 2), (72611, 2), (72613, 1), (72614, 1), (72615, 1), (72617, 2), (72622, 1), (72623, 1), (72626, 2), (72627, 2), (72629, 1), (72631, 1), (72637, 1), (72638, 1), (72641, 2), (72645, 1), (72646, 1), (72647, 1), (72649, 2), (72651, 2), (72653, 1), (72654, 1), (72655, 3), (72658, 2), (72661, 1), (72662, 1), (7266  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero364 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos364 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck364

#print axioms MonskyCheck364.sel_zero364
#print axioms MonskyCheck364.sel_pos364

bsd/MonskyCheck365.lean

lean_all/bsd/MonskyCheck365.lean

/-
  bsd/MonskyCheck365.lean — T39 cycle 829 (goal G539): Monsky's 2-Selmer matrix for squarefree 72801 ≤ n ≤ 73000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck365
open MonskyCheck

def zeroList : List Nat := [72803, 72809, 72826, 72827, 72834, 72843, 72851, 72859, 72867, 72883, 72899, 72905, 72907, 72923, 72931, 72938, 72939, 72970, 72971, 72978, 72979, 72985, 72986, 72987, 72993, 72995]
def posList : List (Nat × Nat) := [(72802, 4), (72805, 3), (72806, 3), (72807, 1), (72811, 2), (72813, 1), (72815, 1), (72817, 2), (72818, 2), (72821, 1), (72822, 1), (72823, 1), (72829, 1), (72830, 1), (72831, 1), (72833, 2), (72835, 2), (72838, 1), (72841, 2), (72845, 1), (72847, 3), (72849, 2), (72853, 1), (72854, 3), (72857, 2), (72858, 2), (72861, 1), (72862, 3), (72865, 2), (72866, 2), (7286  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero365 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos365 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck365

#print axioms MonskyCheck365.sel_zero365
#print axioms MonskyCheck365.sel_pos365

bsd/MonskyCheck366.lean

lean_all/bsd/MonskyCheck366.lean

/-
  bsd/MonskyCheck366.lean — T39 cycle 832 (goal G542): Monsky's 2-Selmer matrix for squarefree 73001 ≤ n ≤ 73200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck366
open MonskyCheck

def zeroList : List Nat := [73003, 73019, 73041, 73042, 73043, 73051, 73057, 73066, 73081, 73082, 73083, 73090, 73091, 73097, 73099, 73106, 73113, 73114, 73115, 73131, 73137, 73139, 73155, 73163, 73169, 73178, 73185, 73187]
def posList : List (Nat × Nat) := [(73001, 2), (73005, 1), (73006, 1), (73007, 1), (73009, 2), (73011, 2), (73013, 1), (73014, 1), (73015, 1), (73018, 2), (73021, 1), (73022, 1), (73023, 1), (73027, 2), (73029, 1), (73030, 1), (73031, 1), (73033, 2), (73037, 1), (73038, 1), (73039, 1), (73045, 1), (73046, 1), (73047, 3), (73049, 4), (73054, 1), (73055, 3), (73058, 2), (73061, 1), (73063, 1), (7306  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero366 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos366 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck366

#print axioms MonskyCheck366.sel_zero366
#print axioms MonskyCheck366.sel_pos366

bsd/MonskyCheck367.lean

lean_all/bsd/MonskyCheck367.lean

/-
  bsd/MonskyCheck367.lean — T39 cycle 835 (goal G545): Monsky's 2-Selmer matrix for squarefree 73201 ≤ n ≤ 73400, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck367
open MonskyCheck

def zeroList : List Nat := [73203, 73217, 73218, 73219, 73226, 73227, 73243, 73249, 73257, 73258, 73259, 73266, 73267, 73274, 73281, 73282, 73289, 73290, 73291, 73298, 73299, 73306, 73321, 73329, 73330, 73331, 73337, 73338, 73339, 73347, 73354, 73355, 73362, 73363, 73378, 73379, 73387]
def posList : List (Nat × Nat) := [(73201, 2), (73202, 2), (73207, 1), (73209, 2), (73210, 2), (73211, 2), (73213, 1), (73214, 1), (73221, 1), (73222, 1), (73223, 1), (73229, 1), (73230, 1), (73231, 1), (73234, 2), (73235, 2), (73237, 1), (73238, 1), (73239, 1), (73241, 2), (73245, 1), (73246, 1), (73247, 3), (73253, 1), (73254, 1), (73261, 3), (73262, 3), (73263, 1), (73265, 2), (73270, 1), (7327  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero367 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos367 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck367

#print axioms MonskyCheck367.sel_zero367
#print axioms MonskyCheck367.sel_pos367

bsd/MonskyCheck368.lean

lean_all/bsd/MonskyCheck368.lean

/-
  bsd/MonskyCheck368.lean — T39 cycle 838 (goal G548): Monsky's 2-Selmer matrix for squarefree 73401 ≤ n ≤ 73600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck368
open MonskyCheck

def zeroList : List Nat := [73401, 73403, 73410, 73411, 73418, 73419, 73435, 73459, 73465, 73466, 73473, 73483, 73490, 73491, 73497, 73498, 73506, 73513, 73514, 73523, 73538, 73545, 73547, 73555, 73562, 73570, 73571, 73587]
def posList : List (Nat × Nat) := [(73405, 1), (73407, 1), (73409, 2), (73414, 1), (73415, 1), (73417, 2), (73421, 1), (73423, 1), (73426, 2), (73427, 2), (73429, 1), (73430, 1), (73433, 2), (73434, 2), (73437, 1), (73438, 3), (73439, 1), (73442, 2), (73443, 2), (73445, 1), (73446, 3), (73453, 1), (73454, 1), (73455, 1), (73457, 2), (73461, 1), (73462, 1), (73463, 1), (73469, 1), (73470, 1), (7347  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero368 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos368 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck368

#print axioms MonskyCheck368.sel_zero368
#print axioms MonskyCheck368.sel_pos368

bsd/MonskyCheck369.lean

lean_all/bsd/MonskyCheck369.lean

/-
  bsd/MonskyCheck369.lean — T39 cycle 841 (goal G551): Monsky's 2-Selmer matrix for squarefree 73601 ≤ n ≤ 73800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck369
open MonskyCheck

def zeroList : List Nat := [73601, 73603, 73610, 73617, 73626, 73627, 73633, 73634, 73641, 73642, 73643, 73651, 73659, 73682, 73691, 73698, 73699, 73706, 73713, 73715, 73722, 73753, 73754, 73761, 73762, 73771, 73778, 73779]
def posList : List (Nat × Nat) := [(73605, 1), (73606, 1), (73607, 1), (73609, 2), (73613, 1), (73614, 1), (73615, 1), (73618, 2), (73619, 2), (73621, 1), (73622, 1), (73623, 1), (73630, 1), (73631, 1), (73635, 2), (73637, 1), (73639, 1), (73645, 1), (73646, 1), (73649, 2), (73653, 1), (73654, 1), (73655, 1), (73657, 2), (73658, 2), (73661, 1), (73662, 1), (73663, 1), (73666, 2), (73667, 2), (7366  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero369 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos369 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck369

#print axioms MonskyCheck369.sel_zero369
#print axioms MonskyCheck369.sel_pos369

bsd/MonskyCheck37.lean

lean_all/bsd/MonskyCheck37.lean

/-
  bsd/MonskyCheck37.lean — T39 cycle 373 (goal G94): Monsky's 2-Selmer matrix for squarefree 7201 ≤ n ≤ 7400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck37
open MonskyCheck

def zeroList : List Nat := [7201, 7202, 7211, 7219, 7226, 7233, 7235, 7242, 7243, 7249, 7251, 7257, 7258, 7259, 7274, 7282, 7283, 7305, 7306, 7307, 7314, 7315, 7322, 7323, 7329, 7330, 7331, 7339, 7354, 7363, 7377, 7385, 7386, 7387]
def posList : List (Nat × Nat) := [(7205, 1), (7206, 3), (7207, 1), (7210, 2), (7213, 1), (7214, 1), (7215, 1), (7217, 2), (7221, 1), (7222, 1), (7223, 3), (7229, 1), (7230, 3), (7231, 3), (7234, 2), (7237, 1), (7238, 1), (7239, 1), (7241, 2), (7246, 1), (7247, 1), (7253, 1), (7255, 1), (7261, 1), (7262, 1), (7265, 2), (7266, 2), (7269, 1), (7270, 1), (7271, 1), (7273, 2), (7277, 1), (7278, 1), (7  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero37 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos37 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck37

#print axioms MonskyCheck37.sel_zero37
#print axioms MonskyCheck37.sel_pos37

bsd/MonskyCheck370.lean

lean_all/bsd/MonskyCheck370.lean

/-
  bsd/MonskyCheck370.lean — T39 cycle 844 (goal G554): Monsky's 2-Selmer matrix for squarefree 73801 ≤ n ≤ 74000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck370
open MonskyCheck

def zeroList : List Nat := [73801, 73802, 73819, 73833, 73835, 73842, 73851, 73857, 73859, 73865, 73866, 73867, 73874, 73882, 73883, 73891, 73898, 73907, 73914, 73915, 73923, 73930, 73937, 73938, 73939, 73945, 73946, 73955, 73977, 73978, 73986, 73987, 73994, 73995]
def posList : List (Nat × Nat) := [(73803, 2), (73805, 3), (73806, 1), (73807, 3), (73811, 2), (73813, 1), (73814, 1), (73815, 1), (73817, 2), (73821, 1), (73822, 3), (73823, 1), (73826, 2), (73829, 3), (73830, 1), (73831, 3), (73834, 2), (73837, 1), (73838, 1), (73839, 1), (73841, 2), (73846, 1), (73847, 1), (73849, 2), (73855, 1), (73858, 2), (73861, 1), (73862, 1), (73869, 1), (73870, 1), (7387  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero370 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos370 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck370

#print axioms MonskyCheck370.sel_zero370
#print axioms MonskyCheck370.sel_pos370

bsd/MonskyCheck371.lean

lean_all/bsd/MonskyCheck371.lean

/-
  bsd/MonskyCheck371.lean — T39 cycle 848 (goal G558): Monsky's 2-Selmer matrix for squarefree 74001 ≤ n ≤ 74200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck371
open MonskyCheck

def zeroList : List Nat := [74002, 74010, 74019, 74026, 74027, 74035, 74041, 74042, 74049, 74051, 74058, 74066, 74073, 74082, 74089, 74099, 74121, 74122, 74123, 74129, 74131, 74145, 74146, 74147, 74154, 74162, 74163, 74170, 74171, 74179, 74193]
def posList : List (Nat × Nat) := [(74001, 2), (74003, 2), (74006, 1), (74009, 2), (74011, 2), (74013, 1), (74014, 1), (74015, 1), (74017, 2), (74018, 2), (74021, 1), (74023, 1), (74029, 1), (74030, 1), (74031, 1), (74033, 2), (74037, 1), (74038, 1), (74045, 1), (74046, 1), (74047, 1), (74053, 1), (74054, 1), (74055, 1), (74057, 2), (74059, 2), (74062, 1), (74063, 1), (74065, 2), (74067, 2), (7406  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero371 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos371 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck371

#print axioms MonskyCheck371.sel_zero371
#print axioms MonskyCheck371.sel_pos371

bsd/MonskyCheck372.lean

lean_all/bsd/MonskyCheck372.lean

/-
  bsd/MonskyCheck372.lean — T39 cycle 852 (goal G561): Monsky's 2-Selmer matrix for squarefree 74201 ≤ n ≤ 74400, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck372
open MonskyCheck

def zeroList : List Nat := [74202, 74203, 74210, 74211, 74217, 74219, 74226, 74227, 74233, 74234, 74251, 74258, 74266, 74274, 74281, 74289, 74290, 74298, 74299, 74306, 74307, 74323, 74330, 74337, 74338, 74346, 74347, 74355, 74361, 74362, 74363, 74370, 74371, 74378, 74386, 74393]
def posList : List (Nat × Nat) := [(74201, 2), (74206, 1), (74207, 1), (74209, 2), (74213, 1), (74215, 1), (74218, 2), (74221, 1), (74222, 1), (74229, 1), (74230, 1), (74231, 1), (74237, 3), (74238, 1), (74239, 1), (74242, 2), (74243, 2), (74245, 3), (74246, 1), (74247, 1), (74249, 2), (74253, 1), (74254, 1), (74255, 1), (74257, 2), (74261, 1), (74262, 1), (74265, 2), (74267, 2), (74269, 3), (7427  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero372 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos372 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck372

#print axioms MonskyCheck372.sel_zero372
#print axioms MonskyCheck372.sel_pos372

bsd/MonskyCheck373.lean

lean_all/bsd/MonskyCheck373.lean

/-
  bsd/MonskyCheck373.lean — T39 cycle 855 (goal G564): Monsky's 2-Selmer matrix for squarefree 74401 ≤ n ≤ 74600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck373
open MonskyCheck

def zeroList : List Nat := [74411, 74419, 74426, 74427, 74433, 74435, 74442, 74458, 74467, 74481, 74483, 74499, 74505, 74506, 74507, 74514, 74522, 74530, 74531, 74537, 74553, 74554, 74569, 74570, 74571, 74577, 74579, 74585, 74586, 74587, 74594, 74595]
def posList : List (Nat × Nat) := [(74401, 2), (74402, 2), (74405, 1), (74406, 1), (74407, 1), (74409, 2), (74410, 2), (74413, 1), (74414, 1), (74417, 2), (74418, 2), (74422, 1), (74423, 1), (74429, 1), (74434, 2), (74437, 1), (74438, 1), (74441, 2), (74443, 2), (74445, 1), (74446, 1), (74447, 1), (74449, 2), (74451, 2), (74453, 1), (74454, 3), (74455, 1), (74459, 2), (74461, 1), (74462, 1), (7446  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero373 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos373 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck373

#print axioms MonskyCheck373.sel_zero373
#print axioms MonskyCheck373.sel_pos373

bsd/MonskyCheck374.lean

lean_all/bsd/MonskyCheck374.lean

/-
  bsd/MonskyCheck374.lean — T39 cycle 858 (goal G567): Monsky's 2-Selmer matrix for squarefree 74601 ≤ n ≤ 74800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck374
open MonskyCheck

def zeroList : List Nat := [74602, 74611, 74617, 74618, 74634, 74635, 74643, 74649, 74651, 74689, 74690, 74699, 74705, 74706, 74707, 74714, 74721, 74723, 74730, 74731, 74746, 74747, 74753, 74769, 74770, 74771, 74779, 74786, 74787, 74793, 74794, 74795]
def posList : List (Nat × Nat) := [(74603, 2), (74605, 1), (74607, 1), (74609, 2), (74613, 1), (74614, 1), (74615, 1), (74621, 1), (74622, 1), (74623, 1), (74626, 2), (74629, 1), (74630, 1), (74631, 1), (74633, 2), (74638, 1), (74639, 1), (74641, 2), (74642, 2), (74645, 3), (74647, 1), (74653, 1), (74654, 1), (74658, 2), (74659, 2), (74661, 1), (74662, 1), (74663, 1), (74665, 2), (74666, 2), (7466  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero374 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos374 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck374

#print axioms MonskyCheck374.sel_zero374
#print axioms MonskyCheck374.sel_pos374

bsd/MonskyCheck375.lean

lean_all/bsd/MonskyCheck375.lean

/-
  bsd/MonskyCheck375.lean — T39 cycle 861 (goal G570): Monsky's 2-Selmer matrix for squarefree 74801 ≤ n ≤ 75000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck375
open MonskyCheck

def zeroList : List Nat := [74801, 74811, 74819, 74827, 74833, 74842, 74843, 74858, 74859, 74865, 74866, 74891, 74913, 74915, 74922, 74923, 74931, 74937, 74938, 74946, 74947, 74962, 74963, 74986, 74987, 74993, 74995]
def posList : List (Nat × Nat) := [(74802, 2), (74803, 2), (74805, 1), (74806, 3), (74807, 1), (74809, 2), (74810, 2), (74813, 1), (74814, 3), (74815, 1), (74818, 2), (74821, 1), (74822, 3), (74829, 1), (74830, 1), (74831, 1), (74834, 2), (74837, 1), (74838, 1), (74839, 1), (74841, 2), (74845, 3), (74846, 1), (74847, 1), (74854, 1), (74855, 1), (74857, 2), (74861, 1), (74863, 1), (74869, 1), (7487  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero375 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos375 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck375

#print axioms MonskyCheck375.sel_zero375
#print axioms MonskyCheck375.sel_pos375

bsd/MonskyCheck376.lean

lean_all/bsd/MonskyCheck376.lean

/-
  bsd/MonskyCheck376.lean — T39 cycle 864 (goal G573): Monsky's 2-Selmer matrix for squarefree 75001 ≤ n ≤ 75200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck376
open MonskyCheck

def zeroList : List Nat := [75001, 75002, 75011, 75027, 75034, 75035, 75059, 75066, 75067, 75083, 75091, 75097, 75098, 75107, 75115, 75121, 75137, 75138, 75139, 75146, 75154, 75163, 75170, 75178, 75179, 75185, 75194]
def posList : List (Nat × Nat) := [(75003, 2), (75005, 1), (75007, 1), (75009, 2), (75010, 2), (75013, 1), (75014, 1), (75017, 2), (75018, 2), (75021, 1), (75022, 1), (75023, 3), (75026, 4), (75029, 1), (75030, 1), (75031, 1), (75037, 1), (75038, 1), (75039, 1), (75041, 2), (75043, 2), (75045, 1), (75046, 1), (75047, 3), (75049, 2), (75053, 1), (75054, 1), (75055, 1), (75057, 2), (75058, 2), (7506  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero376 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos376 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck376

#print axioms MonskyCheck376.sel_zero376
#print axioms MonskyCheck376.sel_pos376

bsd/MonskyCheck377.lean

lean_all/bsd/MonskyCheck377.lean

/-
  bsd/MonskyCheck377.lean — T39 cycle 867 (goal G576): Monsky's 2-Selmer matrix for squarefree 75201 ≤ n ≤ 75400, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck377
open MonskyCheck

def zeroList : List Nat := [75202, 75203, 75211, 75219, 75226, 75227, 75234, 75241, 75242, 75251, 75257, 75274, 75281, 75282, 75283, 75291, 75297, 75299, 75306, 75307, 75315, 75322, 75323, 75331, 75345, 75346, 75347, 75355, 75363, 75369, 75370, 75371, 75378, 75379, 75386, 75395]
def posList : List (Nat × Nat) := [(75201, 2), (75206, 1), (75207, 1), (75209, 2), (75210, 2), (75214, 1), (75217, 2), (75218, 2), (75221, 1), (75223, 1), (75229, 3), (75230, 1), (75233, 2), (75235, 2), (75237, 1), (75238, 1), (75239, 1), (75243, 2), (75245, 3), (75246, 1), (75247, 3), (75253, 1), (75254, 1), (75255, 1), (75259, 2), (75261, 1), (75263, 3), (75265, 2), (75266, 2), (75269, 1), (7527  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero377 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos377 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck377

#print axioms MonskyCheck377.sel_zero377
#print axioms MonskyCheck377.sel_pos377

bsd/MonskyCheck378.lean

lean_all/bsd/MonskyCheck378.lean

/-
  bsd/MonskyCheck378.lean — T39 cycle 870 (goal G579): Monsky's 2-Selmer matrix for squarefree 75401 ≤ n ≤ 75600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck378
open MonskyCheck

def zeroList : List Nat := [75403, 75410, 75419, 75434, 75435, 75441, 75442, 75451, 75458, 75482, 75489, 75490, 75498, 75499, 75506, 75507, 75513, 75514, 75522, 75530, 75531, 75538, 75539, 75554, 75561, 75562, 75563, 75571, 75594, 75595]
def posList : List (Nat × Nat) := [(75401, 2), (75405, 1), (75406, 1), (75407, 1), (75409, 2), (75413, 3), (75414, 1), (75415, 1), (75417, 2), (75418, 2), (75421, 1), (75422, 1), (75423, 1), (75426, 2), (75427, 2), (75430, 1), (75431, 1), (75433, 4), (75437, 1), (75439, 1), (75443, 2), (75445, 3), (75446, 1), (75453, 1), (75454, 3), (75455, 1), (75457, 2), (75459, 2), (75461, 1), (75462, 3), (7546  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero378 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos378 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck378

#print axioms MonskyCheck378.sel_zero378
#print axioms MonskyCheck378.sel_pos378

bsd/MonskyCheck379.lean

lean_all/bsd/MonskyCheck379.lean

/-
  bsd/MonskyCheck379.lean — T39 cycle 873 (goal G582): Monsky's 2-Selmer matrix for squarefree 75601 ≤ n ≤ 75800, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck379
open MonskyCheck

def zeroList : List Nat := [75611, 75619, 75626, 75633, 75634, 75635, 75643, 75649, 75651, 75657, 75658, 75659, 75666, 75667, 75674, 75683, 75691, 75697, 75706, 75707, 75713, 75714, 75715, 75722, 75723, 75729, 75730, 75731, 75738, 75739, 75763, 75770, 75785, 75786, 75787, 75795]
def posList : List (Nat × Nat) := [(75601, 2), (75602, 2), (75603, 2), (75605, 3), (75606, 3), (75610, 2), (75613, 1), (75614, 1), (75617, 2), (75621, 1), (75622, 1), (75623, 1), (75629, 1), (75630, 3), (75631, 1), (75637, 1), (75638, 3), (75639, 1), (75641, 2), (75642, 2), (75646, 1), (75653, 1), (75655, 1), (75661, 3), (75662, 1), (75665, 2), (75669, 1), (75670, 1), (75671, 1), (75673, 2), (7567  -- (+630 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero379 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos379 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck379

#print axioms MonskyCheck379.sel_zero379
#print axioms MonskyCheck379.sel_pos379

bsd/MonskyCheck38.lean

lean_all/bsd/MonskyCheck38.lean

/-
  bsd/MonskyCheck38.lean — T39 cycle 374 (goal G95): Monsky's 2-Selmer matrix for squarefree 7401 ≤ n ≤ 7600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck38
open MonskyCheck

def zeroList : List Nat := [7401, 7402, 7403, 7411, 7418, 7435, 7451, 7458, 7459, 7466, 7474, 7482, 7483, 7490, 7491, 7499, 7507, 7513, 7521, 7523, 7539, 7545, 7547, 7553, 7554, 7562, 7570, 7571, 7593, 7594]
def posList : List (Nat × Nat) := [(7405, 3), (7409, 2), (7410, 2), (7413, 1), (7414, 1), (7415, 1), (7417, 2), (7419, 2), (7421, 1), (7422, 1), (7423, 1), (7426, 2), (7427, 2), (7429, 1), (7430, 1), (7431, 1), (7433, 2), (7437, 1), (7438, 1), (7439, 1), (7441, 2), (7445, 3), (7446, 1), (7447, 1), (7449, 2), (7453, 3), (7454, 1), (7455, 1), (7457, 2), (7462, 1), (7463, 1), (7465, 2), (7467, 2), (7  -- (+646 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero38 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos38 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck38

#print axioms MonskyCheck38.sel_zero38
#print axioms MonskyCheck38.sel_pos38

bsd/MonskyCheck380.lean

lean_all/bsd/MonskyCheck380.lean

/-
  bsd/MonskyCheck380.lean — T39 cycle 876 (goal G589): Monsky's 2-Selmer matrix for squarefree 75801 ≤ n ≤ 76000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck380
open MonskyCheck

def zeroList : List Nat := [75801, 75811, 75818, 75842, 75851, 75874, 75883, 75889, 75890, 75891, 75898, 75905, 75907, 75914, 75921, 75931, 75938, 75939, 75947, 75954, 75962, 75971, 75977, 75979, 75994]
def posList : List (Nat × Nat) := [(75802, 2), (75805, 3), (75806, 1), (75813, 1), (75814, 1), (75815, 1), (75817, 2), (75819, 2), (75821, 1), (75822, 1), (75823, 3), (75826, 2), (75827, 2), (75829, 1), (75830, 1), (75831, 1), (75833, 2), (75835, 2), (75837, 1), (75838, 1), (75839, 1), (75841, 2), (75845, 1), (75846, 1), (75847, 1), (75849, 2), (75853, 1), (75854, 1), (75855, 1), (75857, 2), (7585  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero380 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos380 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck380

#print axioms MonskyCheck380.sel_zero380
#print axioms MonskyCheck380.sel_pos380

bsd/MonskyCheck381.lean

lean_all/bsd/MonskyCheck381.lean

/-
  bsd/MonskyCheck381.lean — T39 cycle 880 (goal G591): Monsky's 2-Selmer matrix for squarefree 76001 ≤ n ≤ 76200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck381
open MonskyCheck

def zeroList : List Nat := [76002, 76003, 76010, 76017, 76033, 76035, 76051, 76057, 76058, 76065, 76067, 76074, 76082, 76083, 76091, 76099, 76106, 76114, 76121, 76123, 76130, 76137, 76138, 76147, 76154, 76155, 76161, 76163, 76169, 76170, 76179, 76186, 76187]
def posList : List (Nat × Nat) := [(76001, 2), (76006, 1), (76009, 2), (76011, 2), (76013, 1), (76015, 1), (76018, 2), (76019, 2), (76021, 1), (76022, 1), (76026, 2), (76027, 2), (76029, 1), (76030, 1), (76031, 1), (76034, 2), (76037, 3), (76038, 1), (76039, 1), (76042, 2), (76043, 2), (76045, 1), (76046, 1), (76047, 1), (76049, 2), (76053, 1), (76054, 3), (76055, 1), (76061, 1), (76062, 1), (7606  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero381 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos381 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck381

#print axioms MonskyCheck381.sel_zero381
#print axioms MonskyCheck381.sel_pos381

bsd/MonskyCheck382.lean

lean_all/bsd/MonskyCheck382.lean

/-
  bsd/MonskyCheck382.lean — T39 cycle 882 (goal G593): Monsky's 2-Selmer matrix for squarefree 76201 ≤ n ≤ 76400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck382
open MonskyCheck

def zeroList : List Nat := [76209, 76210, 76211, 76218, 76227, 76233, 76235, 76242, 76243, 76259, 76265, 76267, 76274, 76283, 76290, 76291, 76298, 76305, 76315, 76330, 76346, 76353, 76361, 76363, 76371, 76378, 76379, 76386, 76387, 76394, 76395]
def posList : List (Nat × Nat) := [(76201, 2), (76202, 2), (76205, 3), (76206, 1), (76207, 1), (76213, 1), (76214, 1), (76215, 1), (76217, 2), (76222, 3), (76223, 3), (76226, 2), (76229, 1), (76231, 1), (76234, 2), (76237, 1), (76238, 1), (76241, 2), (76245, 3), (76246, 3), (76247, 1), (76249, 2), (76251, 2), (76253, 1), (76254, 1), (76255, 1), (76258, 2), (76261, 1), (76262, 3), (76263, 1), (7626  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero382 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos382 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck382

#print axioms MonskyCheck382.sel_zero382
#print axioms MonskyCheck382.sel_pos382

bsd/MonskyCheck383.lean

lean_all/bsd/MonskyCheck383.lean

/-
  bsd/MonskyCheck383.lean — T39 cycle 884 (goal G595): Monsky's 2-Selmer matrix for squarefree 76401 ≤ n ≤ 76600, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck383
open MonskyCheck

def zeroList : List Nat := [76403, 76417, 76418, 76426, 76433, 76434, 76435, 76451, 76466, 76474, 76483, 76506, 76507, 76513, 76514, 76521, 76522, 76523, 76530, 76547, 76569, 76578, 76579, 76586]
def posList : List (Nat × Nat) := [(76402, 2), (76405, 1), (76406, 1), (76407, 1), (76409, 2), (76411, 2), (76413, 1), (76414, 1), (76415, 1), (76421, 1), (76422, 1), (76423, 1), (76427, 2), (76429, 1), (76430, 1), (76431, 3), (76438, 1), (76439, 1), (76441, 2), (76442, 2), (76443, 2), (76445, 3), (76447, 1), (76449, 2), (76453, 1), (76454, 1), (76457, 2), (76458, 2), (76459, 2), (76461, 1), (7646  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero383 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos383 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck383

#print axioms MonskyCheck383.sel_zero383
#print axioms MonskyCheck383.sel_pos383

bsd/MonskyCheck384.lean

lean_all/bsd/MonskyCheck384.lean

/-
  bsd/MonskyCheck384.lean — T39 cycle 886 (goal G596): Monsky's 2-Selmer matrix for squarefree 76601 ≤ n ≤ 76800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck384
open MonskyCheck

def zeroList : List Nat := [76602, 76603, 76609, 76627, 76634, 76651, 76659, 76665, 76666, 76667, 76674, 76681, 76682, 76690, 76715, 76722, 76723, 76730, 76731, 76737, 76763, 76769, 76771, 76778, 76794]
def posList : List (Nat × Nat) := [(76601, 2), (76605, 1), (76606, 1), (76607, 1), (76610, 2), (76611, 2), (76613, 1), (76615, 1), (76618, 2), (76619, 2), (76621, 1), (76622, 1), (76623, 1), (76629, 3), (76630, 1), (76631, 1), (76633, 2), (76637, 1), (76638, 3), (76639, 1), (76641, 2), (76642, 2), (76643, 2), (76645, 3), (76646, 1), (76647, 1), (76649, 2), (76654, 1), (76655, 1), (76657, 2), (7665  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero384 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos384 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck384

#print axioms MonskyCheck384.sel_zero384
#print axioms MonskyCheck384.sel_pos384

bsd/MonskyCheck385.lean

lean_all/bsd/MonskyCheck385.lean

/-
  bsd/MonskyCheck385.lean — T39 cycle 889 (goal G597): Monsky's 2-Selmer matrix for squarefree 76801 ≤ n ≤ 77000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck385
open MonskyCheck

def zeroList : List Nat := [76802, 76803, 76809, 76818, 76819, 76841, 76849, 76858, 76859, 76866, 76882, 76883, 76897, 76906, 76907, 76915, 76922, 76929, 76931, 76938, 76939, 76953, 76963, 76969, 76978]
def posList : List (Nat × Nat) := [(76801, 2), (76805, 3), (76807, 1), (76810, 2), (76811, 2), (76813, 1), (76814, 3), (76817, 2), (76821, 1), (76822, 1), (76823, 1), (76826, 2), (76827, 2), (76829, 1), (76830, 1), (76831, 1), (76834, 2), (76837, 1), (76838, 1), (76839, 1), (76843, 4), (76845, 1), (76846, 1), (76847, 1), (76853, 1), (76854, 1), (76855, 3), (76857, 2), (76861, 3), (76862, 1), (7686  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero385 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos385 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck385

#print axioms MonskyCheck385.sel_zero385
#print axioms MonskyCheck385.sel_pos385

bsd/MonskyCheck386.lean

lean_all/bsd/MonskyCheck386.lean

/-
  bsd/MonskyCheck386.lean — T39 cycle 891 (goal G598): Monsky's 2-Selmer matrix for squarefree 77001 ≤ n ≤ 77200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck386
open MonskyCheck

def zeroList : List Nat := [77001, 77002, 77003, 77019, 77026, 77027, 77034, 77057, 77059, 77082, 77083, 77097, 77098, 77105, 77106, 77113, 77114, 77115, 77145, 77155, 77169, 77170, 77171, 77178, 77179, 77187, 77194]
def posList : List (Nat × Nat) := [(77005, 3), (77006, 1), (77007, 1), (77009, 2), (77010, 2), (77011, 2), (77014, 1), (77015, 1), (77017, 2), (77018, 2), (77021, 1), (77023, 1), (77029, 1), (77030, 1), (77033, 2), (77035, 2), (77037, 1), (77038, 1), (77039, 1), (77041, 2), (77042, 2), (77043, 2), (77045, 1), (77046, 3), (77047, 1), (77051, 2), (77053, 1), (77054, 1), (77055, 1), (77061, 1), (7706  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero386 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos386 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck386

#print axioms MonskyCheck386.sel_zero386
#print axioms MonskyCheck386.sel_pos386

bsd/MonskyCheck387.lean

lean_all/bsd/MonskyCheck387.lean

/-
  bsd/MonskyCheck387.lean — T39 cycle 894 (goal G599): Monsky's 2-Selmer matrix for squarefree 77201 ≤ n ≤ 77400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck387
open MonskyCheck

def zeroList : List Nat := [77203, 77209, 77219, 77241, 77243, 77258, 77259, 77267, 77289, 77290, 77291, 77297, 77298, 77306, 77313, 77323, 77331, 77338, 77339, 77347, 77354, 77363, 77379, 77385, 77386, 77394, 77395]
def posList : List (Nat × Nat) := [(77201, 2), (77205, 1), (77206, 1), (77207, 1), (77210, 2), (77213, 1), (77214, 1), (77215, 1), (77217, 2), (77218, 2), (77221, 1), (77222, 1), (77223, 1), (77226, 2), (77227, 2), (77230, 1), (77231, 1), (77235, 2), (77237, 1), (77239, 1), (77242, 2), (77245, 1), (77246, 1), (77249, 2), (77251, 2), (77253, 1), (77255, 1), (77257, 2), (77261, 1), (77262, 1), (7726  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero387 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos387 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck387

#print axioms MonskyCheck387.sel_zero387
#print axioms MonskyCheck387.sel_pos387

bsd/MonskyCheck388.lean

lean_all/bsd/MonskyCheck388.lean

/-
  bsd/MonskyCheck388.lean — T39 cycle 896 (goal G600): Monsky's 2-Selmer matrix for squarefree 77401 ≤ n ≤ 77600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck388
open MonskyCheck

def zeroList : List Nat := [77410, 77411, 77419, 77435, 77441, 77442, 77451, 77457, 77459, 77467, 77473, 77482, 77491, 77498, 77505, 77506, 77514, 77522, 77523, 77529, 77530, 77538, 77563, 77570, 77578, 77579, 77585, 77587, 77595]
def posList : List (Nat × Nat) := [(77401, 2), (77403, 2), (77405, 1), (77406, 1), (77407, 1), (77413, 1), (77414, 1), (77415, 1), (77417, 2), (77421, 1), (77422, 1), (77423, 1), (77426, 2), (77429, 1), (77430, 1), (77431, 1), (77433, 2), (77434, 2), (77437, 1), (77438, 3), (77439, 1), (77443, 2), (77446, 1), (77447, 1), (77449, 2), (77453, 1), (77455, 1), (77458, 2), (77461, 1), (77462, 3), (7746  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero388 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos388 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck388

#print axioms MonskyCheck388.sel_zero388
#print axioms MonskyCheck388.sel_pos388

bsd/MonskyCheck389.lean

lean_all/bsd/MonskyCheck389.lean

/-
  bsd/MonskyCheck389.lean — T39 cycle 898 (goal G601): Monsky's 2-Selmer matrix for squarefree 77601 ≤ n ≤ 77800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck389
open MonskyCheck

def zeroList : List Nat := [77601, 77603, 77611, 77626, 77627, 77635, 77642, 77651, 77659, 77667, 77683, 77690, 77698, 77699, 77707, 77721, 77722, 77723, 77729, 77731, 77737, 77739, 77747, 77762, 77771, 77779, 77785, 77786, 77793]
def posList : List (Nat × Nat) := [(77602, 2), (77605, 1), (77606, 1), (77609, 2), (77610, 2), (77613, 1), (77614, 1), (77617, 2), (77619, 2), (77621, 1), (77622, 1), (77623, 1), (77629, 1), (77630, 1), (77631, 1), (77633, 2), (77637, 3), (77638, 3), (77639, 1), (77641, 2), (77645, 1), (77646, 1), (77647, 1), (77649, 2), (77653, 1), (77654, 3), (77655, 1), (77657, 2), (77662, 1), (77663, 1), (7766  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero389 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos389 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck389

#print axioms MonskyCheck389.sel_zero389
#print axioms MonskyCheck389.sel_pos389

bsd/MonskyCheck39.lean

lean_all/bsd/MonskyCheck39.lean

/-
  bsd/MonskyCheck39.lean — T39 cycle 375 (goal G96): Monsky's 2-Selmer matrix for squarefree 7601 ≤ n ≤ 7800, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck39
open MonskyCheck

def zeroList : List Nat := [7601, 7603, 7617, 7618, 7619, 7626, 7627, 7634, 7635, 7642, 7643, 7657, 7665, 7667, 7674, 7683, 7691, 7697, 7698, 7699, 7705, 7706, 7714, 7715, 7723, 7729, 7730, 7737, 7738, 7746, 7754, 7755, 7763, 7770, 7771, 7777]
def posList : List (Nat × Nat) := [(7602, 2), (7606, 1), (7607, 1), (7609, 2), (7610, 2), (7611, 2), (7613, 1), (7615, 1), (7621, 1), (7622, 1), (7629, 1), (7630, 1), (7631, 1), (7633, 2), (7637, 1), (7638, 1), (7639, 1), (7645, 1), (7646, 1), (7647, 1), (7649, 2), (7651, 2), (7653, 1), (7654, 1), (7655, 1), (7658, 2), (7661, 1), (7662, 1), (7663, 3), (7666, 2), (7669, 1), (7670, 1), (7671, 1), (7  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero39 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos39 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck39

#print axioms MonskyCheck39.sel_zero39
#print axioms MonskyCheck39.sel_pos39

bsd/MonskyCheck390.lean

lean_all/bsd/MonskyCheck390.lean

/-
  bsd/MonskyCheck390.lean — T39 cycle 899 (goal G602): Monsky's 2-Selmer matrix for squarefree 77801 ≤ n ≤ 78000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck390
open MonskyCheck

def zeroList : List Nat := [77802, 77810, 77811, 77817, 77818, 77826, 77834, 77835, 77843, 77851, 77858, 77865, 77866, 77867, 77873, 77874, 77881, 77882, 77883, 77889, 77890, 77899, 77915, 77921, 77923, 77930, 77939, 77955, 77970, 77978, 77987]
def posList : List (Nat × Nat) := [(77801, 2), (77806, 1), (77807, 1), (77809, 2), (77813, 1), (77815, 1), (77819, 2), (77821, 1), (77822, 3), (77827, 2), (77829, 1), (77830, 1), (77831, 1), (77833, 2), (77837, 3), (77838, 1), (77839, 1), (77842, 2), (77845, 3), (77846, 1), (77847, 1), (77849, 2), (77853, 1), (77854, 1), (77855, 1), (77857, 4), (77862, 1), (77863, 1), (77869, 1), (77870, 1), (7787  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero390 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos390 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck390

#print axioms MonskyCheck390.sel_zero390
#print axioms MonskyCheck390.sel_pos390

bsd/MonskyCheck391.lean

lean_all/bsd/MonskyCheck391.lean

/-
  bsd/MonskyCheck391.lean — T39 cycle 904 (goal G604): Monsky's 2-Selmer matrix for squarefree 78001 ≤ n ≤ 78200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck391
open MonskyCheck

def zeroList : List Nat := [78001, 78002, 78009, 78010, 78011, 78018, 78019, 78026, 78027, 78034, 78035, 78043, 78059, 78074, 78081, 78089, 78099, 78105, 78107, 78139, 78154, 78163, 78169, 78170, 78177, 78179, 78185, 78186]
def posList : List (Nat × Nat) := [(78005, 3), (78006, 1), (78007, 1), (78013, 3), (78014, 1), (78015, 1), (78017, 2), (78022, 1), (78023, 1), (78029, 1), (78031, 1), (78037, 1), (78038, 1), (78041, 2), (78042, 2), (78046, 1), (78047, 3), (78049, 2), (78051, 2), (78053, 1), (78054, 3), (78055, 1), (78058, 2), (78061, 1), (78062, 3), (78063, 1), (78065, 2), (78067, 2), (78069, 1), (78070, 1), (7807  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero391 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos391 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck391

#print axioms MonskyCheck391.sel_zero391
#print axioms MonskyCheck391.sel_pos391

bsd/MonskyCheck392.lean

lean_all/bsd/MonskyCheck392.lean

/-
  bsd/MonskyCheck392.lean — T39 cycle 907 (goal G605): Monsky's 2-Selmer matrix for squarefree 78201 ≤ n ≤ 78400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck392
open MonskyCheck

def zeroList : List Nat := [78202, 78203, 78217, 78227, 78234, 78235, 78249, 78257, 78258, 78259, 78265, 78266, 78283, 78290, 78297, 78299, 78306, 78307, 78314, 78315, 78321, 78323, 78330, 78347, 78362, 78370, 78371, 78378, 78386, 78387, 78394]
def posList : List (Nat × Nat) := [(78205, 3), (78206, 1), (78207, 1), (78209, 2), (78211, 2), (78214, 1), (78215, 1), (78218, 2), (78221, 1), (78222, 1), (78223, 1), (78226, 2), (78229, 1), (78230, 1), (78231, 1), (78233, 2), (78238, 1), (78239, 1), (78241, 2), (78242, 2), (78243, 2), (78245, 3), (78251, 2), (78254, 1), (78261, 1), (78262, 1), (78263, 1), (78267, 2), (78269, 3), (78270, 1), (7827  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero392 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos392 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck392

#print axioms MonskyCheck392.sel_zero392
#print axioms MonskyCheck392.sel_pos392

bsd/MonskyCheck393.lean

lean_all/bsd/MonskyCheck393.lean

/-
  bsd/MonskyCheck393.lean — T39 cycle 909 (goal G606): Monsky's 2-Selmer matrix for squarefree 78401 ≤ n ≤ 78600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck393
open MonskyCheck

def zeroList : List Nat := [78402, 78403, 78411, 78427, 78457, 78458, 78459, 78467, 78474, 78491, 78505, 78506, 78513, 78514, 78515, 78522, 78530, 78531, 78537, 78539, 78545, 78546, 78555, 78562, 78563, 78571, 78578, 78586, 78587, 78594]
def posList : List (Nat × Nat) := [(78401, 2), (78405, 1), (78406, 1), (78407, 3), (78409, 4), (78410, 2), (78413, 1), (78414, 1), (78415, 1), (78418, 2), (78419, 2), (78421, 1), (78422, 3), (78423, 1), (78429, 1), (78430, 1), (78431, 1), (78433, 2), (78434, 2), (78437, 1), (78438, 3), (78439, 1), (78441, 2), (78442, 2), (78443, 2), (78445, 3), (78446, 1), (78447, 1), (78451, 2), (78454, 1), (7845  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero393 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos393 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck393

#print axioms MonskyCheck393.sel_zero393
#print axioms MonskyCheck393.sel_pos393

bsd/MonskyCheck394.lean

lean_all/bsd/MonskyCheck394.lean

/-
  bsd/MonskyCheck394.lean — T39 cycle 912 (goal G607): Monsky's 2-Selmer matrix for squarefree 78601 ≤ n ≤ 78800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck394
open MonskyCheck

def zeroList : List Nat := [78601, 78602, 78609, 78611, 78617, 78619, 78634, 78635, 78641, 78643, 78658, 78659, 78674, 78681, 78682, 78690, 78691, 78707, 78729, 78730, 78738, 78739, 78746, 78747, 78753, 78769, 78770, 78779, 78785, 78787, 78794]
def posList : List (Nat × Nat) := [(78603, 2), (78605, 3), (78607, 1), (78610, 2), (78613, 1), (78614, 1), (78618, 2), (78621, 3), (78622, 1), (78623, 1), (78626, 2), (78627, 2), (78629, 1), (78630, 1), (78631, 3), (78637, 3), (78638, 1), (78639, 1), (78646, 1), (78647, 1), (78649, 2), (78653, 1), (78654, 1), (78655, 1), (78657, 2), (78661, 1), (78662, 1), (78663, 1), (78665, 2), (78666, 2), (7866  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero394 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos394 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck394

#print axioms MonskyCheck394.sel_zero394
#print axioms MonskyCheck394.sel_pos394

bsd/MonskyCheck395.lean

lean_all/bsd/MonskyCheck395.lean

/-
  bsd/MonskyCheck395.lean — T39 cycle 914 (goal G609): Monsky's 2-Selmer matrix for squarefree 78801 ≤ n ≤ 79000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck395
open MonskyCheck

def zeroList : List Nat := [78801, 78803, 78811, 78827, 78834, 78835, 78843, 78874, 78882, 78883, 78891, 78905, 78915, 78922, 78938, 78945, 78954, 78962, 78963, 78970, 78971, 78978, 78979, 78986, 78987]
def posList : List (Nat × Nat) := [(78805, 3), (78806, 1), (78807, 1), (78809, 2), (78810, 2), (78814, 1), (78815, 1), (78817, 2), (78818, 2), (78819, 2), (78823, 1), (78826, 2), (78829, 3), (78830, 1), (78833, 2), (78837, 1), (78838, 1), (78839, 1), (78842, 2), (78845, 1), (78846, 1), (78847, 1), (78851, 2), (78853, 1), (78854, 3), (78855, 1), (78857, 2), (78859, 2), (78861, 1), (78862, 1), (7886  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero395 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos395 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck395

#print axioms MonskyCheck395.sel_zero395
#print axioms MonskyCheck395.sel_pos395

bsd/MonskyCheck396.lean

lean_all/bsd/MonskyCheck396.lean

/-
  bsd/MonskyCheck396.lean — T39 cycle 916 (goal G611): Monsky's 2-Selmer matrix for squarefree 79001 ≤ n ≤ 79200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck396
open MonskyCheck

def zeroList : List Nat := [79003, 79010, 79017, 79018, 79026, 79027, 79034, 79041, 79043, 79057, 79067, 79073, 79082, 79090, 79097, 79098, 79106, 79107, 79113, 79115, 79122, 79123, 79130, 79139, 79147, 79154, 79161, 79162, 79170, 79178, 79179, 79187, 79194, 79195]
def posList : List (Nat × Nat) := [(79001, 2), (79005, 1), (79006, 1), (79009, 2), (79014, 1), (79015, 1), (79019, 2), (79021, 1), (79022, 1), (79023, 1), (79030, 3), (79031, 1), (79033, 4), (79035, 2), (79039, 1), (79042, 2), (79045, 3), (79046, 1), (79049, 2), (79051, 2), (79053, 1), (79055, 1), (79058, 2), (79061, 1), (79062, 3), (79063, 1), (79066, 2), (79069, 3), (79070, 1), (79071, 1), (7907  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero396 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos396 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck396

#print axioms MonskyCheck396.sel_zero396
#print axioms MonskyCheck396.sel_pos396

bsd/MonskyCheck397.lean

lean_all/bsd/MonskyCheck397.lean

/-
  bsd/MonskyCheck397.lean — T39 cycle 919 (goal G613): Monsky's 2-Selmer matrix for squarefree 79201 ≤ n ≤ 79400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck397
open MonskyCheck

def zeroList : List Nat := [79203, 79219, 79226, 79234, 79235, 79242, 79249, 79251, 79257, 79258, 79259, 79266, 79267, 79274, 79283, 79297, 79305, 79306, 79307, 79314, 79321, 79330, 79338, 79345, 79369, 79370, 79377, 79378, 79379, 79395]
def posList : List (Nat × Nat) := [(79201, 2), (79205, 1), (79206, 1), (79207, 1), (79211, 2), (79213, 1), (79214, 1), (79215, 3), (79217, 2), (79221, 1), (79222, 1), (79223, 1), (79229, 1), (79230, 1), (79231, 1), (79237, 1), (79238, 1), (79239, 1), (79241, 2), (79243, 2), (79246, 1), (79247, 3), (79253, 1), (79262, 1), (79265, 2), (79269, 1), (79270, 1), (79271, 1), (79273, 2), (79277, 1), (7927  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero397 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos397 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck397

#print axioms MonskyCheck397.sel_zero397
#print axioms MonskyCheck397.sel_pos397

bsd/MonskyCheck398.lean

lean_all/bsd/MonskyCheck398.lean

/-
  bsd/MonskyCheck398.lean — T39 cycle 921 (goal G615): Monsky's 2-Selmer matrix for squarefree 79401 ≤ n ≤ 79600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck398
open MonskyCheck

def zeroList : List Nat := [79409, 79411, 79418, 79427, 79435, 79451, 79458, 79459, 79465, 79466, 79467, 79473, 79482, 79490, 79498, 79514, 79521, 79529, 79531, 79539, 79545, 79546, 79553, 79554, 79555, 79562, 79563, 79570, 79579, 79585, 79586, 79593, 79594]
def posList : List (Nat × Nat) := [(79401, 2), (79403, 2), (79405, 3), (79406, 1), (79410, 2), (79413, 1), (79414, 1), (79415, 1), (79417, 2), (79419, 2), (79421, 1), (79422, 1), (79423, 1), (79426, 2), (79431, 1), (79433, 2), (79437, 1), (79438, 1), (79439, 1), (79441, 4), (79442, 2), (79445, 3), (79446, 1), (79447, 1), (79449, 2), (79453, 1), (79454, 1), (79455, 1), (79457, 2), (79462, 1), (7946  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero398 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos398 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck398

#print axioms MonskyCheck398.sel_zero398
#print axioms MonskyCheck398.sel_pos398

bsd/MonskyCheck399.lean

lean_all/bsd/MonskyCheck399.lean

/-
  bsd/MonskyCheck399.lean — T39 cycle 924 (goal G616): Monsky's 2-Selmer matrix for squarefree 79601 ≤ n ≤ 79800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck399
open MonskyCheck

def zeroList : List Nat := [79602, 79603, 79610, 79611, 79617, 79627, 79634, 79635, 79642, 79651, 79658, 79666, 79667, 79673, 79683, 79689, 79691, 79699, 79706, 79730, 79737, 79738, 79746, 79754, 79755, 79762, 79770, 79786, 79787]
def posList : List (Nat × Nat) := [(79601, 2), (79606, 1), (79607, 1), (79609, 2), (79613, 1), (79615, 1), (79619, 2), (79621, 1), (79622, 1), (79626, 4), (79629, 1), (79630, 1), (79631, 1), (79633, 2), (79637, 1), (79638, 1), (79639, 3), (79643, 2), (79645, 1), (79646, 1), (79647, 1), (79649, 2), (79653, 1), (79654, 1), (79655, 3), (79657, 2), (79661, 3), (79662, 1), (79663, 1), (79665, 2), (7966  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero399 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos399 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck399

#print axioms MonskyCheck399.sel_zero399
#print axioms MonskyCheck399.sel_pos399

bsd/MonskyCheck4.lean

lean_all/bsd/MonskyCheck4.lean

/-
  bsd/MonskyCheck4.lean — T39 cycle 154: Monsky's 2-Selmer matrix for squarefree 601 ≤ n ≤ 800, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values
  as listed. Agreement with the computed ranks (rank ≤ s₂, rank ≡ s₂ mod 2): BSD_LOG cycle 154.
-/
import bsd.MonskyCheck

namespace MonskyCheck4
open MonskyCheck

def zeroList : List Nat := [610, 611, 618, 619, 633, 634, 635, 642, 643, 649, 659, 665, 681, 682, 683, 690, 691, 698, 699, 705, 707, 714, 715, 730, 737, 739, 746, 753, 754, 762, 770, 771, 778, 779, 786, 787, 794, 795]
def posList : List (Nat × Nat) := [(601, 2), (602, 2), (606, 1), (607, 1), (609, 2), (613, 1), (614, 1), (615, 1), (617, 2), (622, 1), (623, 1), (626, 2), (627, 2), (629, 1), (631, 1), (638, 1), (641, 2), (645, 1), (646, 3), (647, 1), (651, 2), (653, 1), (654, 1), (655, 1), (658, 2), (661, 1), (662, 1), (663, 1), (667, 2), (669, 1), (670, 1), (671, 1), (673, 2), (674, 2), (677, 1), (678, 1), (679,  -- (+484 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero4 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos4 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck4

#print axioms MonskyCheck4.sel_zero4
#print axioms MonskyCheck4.sel_pos4

bsd/MonskyCheck40.lean

lean_all/bsd/MonskyCheck40.lean

/-
  bsd/MonskyCheck40.lean — T39 cycle 376 (goal G97): Monsky's 2-Selmer matrix for squarefree 7801 ≤ n ≤ 8000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck40
open MonskyCheck

def zeroList : List Nat := [7809, 7810, 7811, 7818, 7826, 7827, 7834, 7835, 7842, 7859, 7867, 7882, 7883, 7890, 7899, 7905, 7906, 7907, 7915, 7923, 7930, 7931, 7945, 7946, 7953, 7955, 7961, 7962, 7963, 7970, 7971, 7977, 7978]
def posList : List (Nat × Nat) := [(7801, 2), (7802, 2), (7805, 1), (7806, 1), (7807, 1), (7813, 3), (7814, 1), (7815, 1), (7817, 2), (7819, 2), (7822, 1), (7823, 1), (7829, 1), (7831, 1), (7833, 2), (7837, 3), (7838, 1), (7841, 2), (7843, 2), (7845, 1), (7846, 1), (7847, 1), (7849, 2), (7851, 2), (7853, 1), (7854, 1), (7855, 1), (7858, 2), (7861, 1), (7862, 1), (7863, 1), (7869, 1), (7870, 1), (7  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero40 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos40 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck40

#print axioms MonskyCheck40.sel_zero40
#print axioms MonskyCheck40.sel_pos40

bsd/MonskyCheck400.lean

lean_all/bsd/MonskyCheck400.lean

/-
  bsd/MonskyCheck400.lean — T39 cycle 926 (goal G617): Monsky's 2-Selmer matrix for squarefree 79801 ≤ n ≤ 80000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck400
open MonskyCheck

def zeroList : List Nat := [79802, 79810, 79811, 79818, 79819, 79827, 79833, 79835, 79842, 79843, 79851, 79859, 79867, 79881, 79882, 79890, 79891, 79899, 79907, 79914, 79930, 79939, 79946, 79962, 79963, 79969, 79977, 79978, 79979, 79986, 79987, 79994, 79995]
def posList : List (Nat × Nat) := [(79801, 2), (79805, 1), (79806, 1), (79807, 1), (79809, 2), (79813, 1), (79814, 1), (79815, 1), (79817, 2), (79822, 1), (79823, 1), (79826, 2), (79829, 1), (79831, 3), (79834, 2), (79837, 1), (79838, 1), (79841, 2), (79845, 1), (79846, 1), (79847, 1), (79849, 2), (79853, 1), (79854, 1), (79855, 1), (79858, 2), (79861, 1), (79862, 3), (79863, 1), (79865, 2), (7986  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero400 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos400 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck400

#print axioms MonskyCheck400.sel_zero400
#print axioms MonskyCheck400.sel_pos400

bsd/MonskyCheck401.lean

lean_all/bsd/MonskyCheck401.lean

/-
  bsd/MonskyCheck401.lean — T39 cycle 930 (goal G619): Monsky's 2-Selmer matrix for squarefree 80001 ≤ n ≤ 80200, by rfl.
  s₂(n) = 0 for 39 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 77 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck401
open MonskyCheck

def zeroList : List Nat := [80002, 80003, 80009, 80011, 80026, 80033, 80034, 80035, 80041, 80043, 80049, 80051, 80058, 80059, 80074, 80083, 80097, 80098, 80107, 80113, 80122, 80123, 80130, 80131, 80138, 80146, 80147, 80155, 80161, 80162, 80169, 80170, 80171, 80185, 80186, 80187, 80193, 80194, 80195]
def posList : List (Nat × Nat) := [(80005, 3), (80006, 1), (80007, 1), (80013, 1), (80014, 1), (80015, 3), (80018, 2), (80021, 1), (80022, 1), (80023, 1), (80027, 2), (80029, 1), (80030, 1), (80031, 1), (80038, 1), (80039, 1), (80042, 2), (80045, 1), (80047, 1), (80054, 1), (80057, 2), (80061, 1), (80062, 1), (80065, 2), (80067, 2), (80069, 1), (80070, 1), (80071, 1), (80077, 1), (80078, 1), (8007  -- (+558 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero401 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos401 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck401

#print axioms MonskyCheck401.sel_zero401
#print axioms MonskyCheck401.sel_pos401

bsd/MonskyCheck402.lean

lean_all/bsd/MonskyCheck402.lean

/-
  bsd/MonskyCheck402.lean — T39 cycle 931 (goal G621): Monsky's 2-Selmer matrix for squarefree 80201 ≤ n ≤ 80400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 100 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck402
open MonskyCheck

def zeroList : List Nat := [80203, 80219, 80227, 80241, 80242, 80243, 80251, 80281, 80291, 80314, 80315, 80330, 80331, 80346, 80347, 80353, 80355, 80362, 80363, 80371, 80377, 80378, 80387, 80394, 80395]
def posList : List (Nat × Nat) := [(80201, 2), (80202, 2), (80205, 1), (80206, 1), (80207, 1), (80209, 2), (80210, 2), (80211, 2), (80214, 1), (80215, 1), (80218, 2), (80221, 1), (80222, 1), (80229, 1), (80230, 1), (80231, 1), (80233, 2), (80234, 2), (80237, 1), (80238, 1), (80239, 1), (80245, 1), (80246, 1), (80247, 1), (80249, 2), (80254, 1), (80255, 1), (80257, 2), (80258, 2), (80259, 2), (8026  -- (+834 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero402 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos402 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck402

#print axioms MonskyCheck402.sel_zero402
#print axioms MonskyCheck402.sel_pos402

bsd/MonskyCheck403.lean

lean_all/bsd/MonskyCheck403.lean

/-
  bsd/MonskyCheck403.lean — T39 cycle 933 (goal G622): Monsky's 2-Selmer matrix for squarefree 80401 ≤ n ≤ 80600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck403
open MonskyCheck

def zeroList : List Nat := [80403, 80417, 80426, 80434, 80435, 80459, 80466, 80474, 80483, 80490, 80491, 80498, 80506, 80515, 80522, 80529, 80530, 80531, 80538, 80547, 80554, 80562, 80563, 80571, 80587, 80593, 80594]
def posList : List (Nat × Nat) := [(80401, 2), (80402, 2), (80405, 1), (80407, 1), (80410, 2), (80411, 2), (80413, 3), (80414, 1), (80418, 2), (80419, 2), (80421, 1), (80422, 1), (80423, 3), (80427, 2), (80429, 1), (80430, 1), (80431, 3), (80437, 1), (80438, 1), (80439, 1), (80441, 2), (80443, 2), (80445, 1), (80446, 1), (80447, 1), (80449, 2), (80453, 1), (80454, 1), (80455, 1), (80457, 2), (8046  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero403 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos403 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck403

#print axioms MonskyCheck403.sel_zero403
#print axioms MonskyCheck403.sel_pos403

bsd/MonskyCheck404.lean

lean_all/bsd/MonskyCheck404.lean

/-
  bsd/MonskyCheck404.lean — T39 cycle 935 (goal G623): Monsky's 2-Selmer matrix for squarefree 80601 ≤ n ≤ 80800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck404
open MonskyCheck

def zeroList : List Nat := [80603, 80610, 80611, 80617, 80626, 80627, 80634, 80635, 80641, 80642, 80651, 80666, 80673, 80683, 80690, 80691, 80697, 80706, 80714, 80715, 80745, 80746, 80747, 80754, 80763, 80769, 80779, 80795]
def posList : List (Nat × Nat) := [(80601, 2), (80602, 2), (80606, 3), (80607, 1), (80609, 2), (80614, 3), (80615, 1), (80618, 2), (80619, 2), (80621, 1), (80623, 1), (80629, 1), (80630, 1), (80633, 2), (80637, 1), (80638, 1), (80639, 1), (80643, 2), (80646, 3), (80647, 1), (80653, 1), (80655, 1), (80657, 2), (80659, 2), (80661, 1), (80662, 1), (80663, 1), (80665, 2), (80669, 1), (80670, 3), (8067  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero404 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos404 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck404

#print axioms MonskyCheck404.sel_zero404
#print axioms MonskyCheck404.sel_pos404

bsd/MonskyCheck405.lean

lean_all/bsd/MonskyCheck405.lean

/-
  bsd/MonskyCheck405.lean — T39 cycle 937 (goal G625): Monsky's 2-Selmer matrix for squarefree 80801 ≤ n ≤ 81000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck405
open MonskyCheck

def zeroList : List Nat := [80803, 80819, 80826, 80827, 80834, 80841, 80843, 80851, 80858, 80867, 80882, 80889, 80891, 80898, 80907, 80913, 80915, 80921, 80923, 80930, 80931, 80961, 80963, 80969, 80978, 80979, 80986, 80993, 80994, 80995]
def posList : List (Nat × Nat) := [(80805, 1), (80806, 1), (80807, 1), (80809, 2), (80810, 2), (80813, 1), (80814, 1), (80815, 1), (80817, 2), (80818, 2), (80821, 3), (80822, 1), (80823, 1), (80830, 1), (80831, 1), (80833, 2), (80835, 2), (80837, 1), (80839, 1), (80842, 2), (80845, 1), (80846, 1), (80849, 2), (80853, 1), (80854, 1), (80855, 1), (80857, 2), (80859, 2), (80861, 1), (80862, 1), (8086  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero405 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos405 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck405

#print axioms MonskyCheck405.sel_zero405
#print axioms MonskyCheck405.sel_pos405

bsd/MonskyCheck406.lean

lean_all/bsd/MonskyCheck406.lean

/-
  bsd/MonskyCheck406.lean — T39 cycle 943 (goal G626): Monsky's 2-Selmer matrix for squarefree 81001 ≤ n ≤ 81200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck406
open MonskyCheck

def zeroList : List Nat := [81002, 81003, 81010, 81019, 81026, 81033, 81042, 81043, 81051, 81059, 81066, 81067, 81083, 81089, 81105, 81106, 81114, 81115, 81129, 81131, 81137, 81138, 81139, 81147, 81163, 81170, 81177, 81178, 81179, 81186, 81194, 81195]
def posList : List (Nat × Nat) := [(81001, 2), (81005, 1), (81006, 1), (81007, 1), (81011, 2), (81013, 1), (81014, 1), (81015, 1), (81017, 2), (81021, 1), (81022, 1), (81023, 1), (81029, 1), (81030, 1), (81031, 1), (81034, 2), (81035, 2), (81037, 1), (81038, 1), (81039, 1), (81041, 2), (81047, 1), (81049, 2), (81053, 1), (81055, 1), (81057, 2), (81058, 2), (81061, 1), (81062, 1), (81065, 2), (8106  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero406 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos406 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck406

#print axioms MonskyCheck406.sel_zero406
#print axioms MonskyCheck406.sel_pos406

bsd/MonskyCheck407.lean

lean_all/bsd/MonskyCheck407.lean

/-
  bsd/MonskyCheck407.lean — T39 cycle 952 (goal G627): Monsky's 2-Selmer matrix for squarefree 81201 ≤ n ≤ 81400, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck407
open MonskyCheck

def zeroList : List Nat := [81201, 81202, 81203, 81210, 81211, 81235, 81249, 81251, 81257, 81258, 81259, 81266, 81273, 81274, 81283, 81290, 81299, 81305, 81307, 81313, 81314, 81321, 81331, 81337, 81338, 81339, 81354, 81355, 81370, 81371, 81377, 81379, 81386, 81393, 81395]
def posList : List (Nat × Nat) := [(81205, 3), (81206, 3), (81213, 1), (81214, 1), (81215, 1), (81217, 4), (81218, 2), (81219, 2), (81221, 1), (81222, 3), (81223, 1), (81226, 2), (81227, 2), (81229, 1), (81230, 1), (81231, 1), (81233, 2), (81237, 1), (81238, 1), (81239, 1), (81241, 2), (81245, 3), (81246, 1), (81247, 3), (81253, 1), (81254, 1), (81255, 1), (81262, 1), (81263, 1), (81265, 2), (8126  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero407 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos407 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck407

#print axioms MonskyCheck407.sel_zero407
#print axioms MonskyCheck407.sel_pos407

bsd/MonskyCheck408.lean

lean_all/bsd/MonskyCheck408.lean

/-
  bsd/MonskyCheck408.lean — T39 cycle 955 (goal G628): Monsky's 2-Selmer matrix for squarefree 81401 ≤ n ≤ 81600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck408
open MonskyCheck

def zeroList : List Nat := [81402, 81410, 81411, 81417, 81418, 81435, 81442, 81443, 81451, 81467, 81474, 81482, 81491, 81506, 81507, 81514, 81515, 81521, 81523, 81530, 81537, 81538, 81539, 81545, 81546, 81547, 81555, 81563, 81570, 81571, 81578, 81593]
def posList : List (Nat × Nat) := [(81401, 2), (81403, 4), (81406, 1), (81407, 1), (81409, 2), (81413, 1), (81415, 1), (81419, 2), (81421, 1), (81422, 1), (81426, 2), (81427, 2), (81429, 1), (81430, 1), (81431, 1), (81434, 2), (81437, 1), (81439, 1), (81445, 1), (81446, 3), (81447, 1), (81449, 2), (81453, 1), (81454, 1), (81455, 1), (81457, 2), (81462, 1), (81463, 1), (81465, 2), (81469, 3), (8147  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero408 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos408 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck408

#print axioms MonskyCheck408.sel_zero408
#print axioms MonskyCheck408.sel_pos408

bsd/MonskyCheck409.lean

lean_all/bsd/MonskyCheck409.lean

/-
  bsd/MonskyCheck409.lean — T39 cycle 957 (goal G629): Monsky's 2-Selmer matrix for squarefree 81601 ≤ n ≤ 81800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck409
open MonskyCheck

def zeroList : List Nat := [81611, 81619, 81626, 81633, 81635, 81642, 81643, 81651, 81658, 81659, 81667, 81673, 81705, 81706, 81707, 81714, 81722, 81730, 81731, 81754, 81755, 81762, 81763, 81771, 81777, 81785, 81786]
def posList : List (Nat × Nat) := [(81601, 2), (81602, 2), (81605, 1), (81606, 1), (81607, 1), (81609, 2), (81610, 2), (81613, 1), (81614, 1), (81615, 1), (81617, 2), (81618, 2), (81622, 1), (81623, 1), (81629, 1), (81631, 1), (81637, 1), (81638, 1), (81641, 2), (81645, 1), (81646, 1), (81647, 1), (81649, 2), (81653, 1), (81654, 1), (81655, 1), (81661, 1), (81662, 1), (81663, 1), (81665, 2), (8166  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero409 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos409 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck409

#print axioms MonskyCheck409.sel_zero409
#print axioms MonskyCheck409.sel_pos409

bsd/MonskyCheck41.lean

lean_all/bsd/MonskyCheck41.lean

/-
  bsd/MonskyCheck41.lean — T39 cycle 377 (goal G98): Monsky's 2-Selmer matrix for squarefree 8001 ≤ n ≤ 8200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck41
open MonskyCheck

def zeroList : List Nat := [8003, 8011, 8018, 8026, 8034, 8035, 8041, 8042, 8049, 8051, 8058, 8059, 8066, 8074, 8097, 8099, 8113, 8121, 8123, 8129, 8130, 8147, 8155, 8171, 8178, 8179, 8186, 8187, 8193]
def posList : List (Nat × Nat) := [(8002, 2), (8005, 3), (8006, 1), (8007, 1), (8009, 2), (8013, 1), (8014, 1), (8015, 1), (8017, 2), (8021, 1), (8022, 1), (8023, 1), (8027, 2), (8029, 1), (8030, 1), (8031, 1), (8033, 2), (8038, 1), (8039, 1), (8043, 2), (8045, 3), (8047, 1), (8053, 1), (8054, 1), (8057, 2), (8061, 1), (8062, 1), (8063, 1), (8065, 2), (8067, 2), (8069, 1), (8070, 1), (8071, 1), (8  -- (+657 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero41 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos41 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck41

#print axioms MonskyCheck41.sel_zero41
#print axioms MonskyCheck41.sel_pos41

bsd/MonskyCheck410.lean

lean_all/bsd/MonskyCheck410.lean

/-
  bsd/MonskyCheck410.lean — T39 cycle 959 (goal G630): Monsky's 2-Selmer matrix for squarefree 81801 ≤ n ≤ 82000, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 82 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck410
open MonskyCheck

def zeroList : List Nat := [81802, 81803, 81809, 81811, 81818, 81826, 81833, 81835, 81843, 81849, 81865, 81866, 81867, 81883, 81897, 81898, 81899, 81906, 81914, 81915, 81923, 81930, 81931, 81938, 81946, 81955, 81961, 81962, 81969, 81970, 81971, 81979, 81985, 81987, 81993, 81994]
def posList : List (Nat × Nat) := [(81805, 3), (81806, 1), (81807, 1), (81813, 1), (81814, 3), (81815, 1), (81817, 2), (81821, 3), (81822, 1), (81823, 1), (81827, 2), (81829, 1), (81831, 1), (81834, 2), (81838, 1), (81839, 1), (81841, 2), (81842, 2), (81845, 3), (81847, 1), (81851, 2), (81853, 1), (81854, 1), (81857, 2), (81858, 2), (81859, 2), (81861, 1), (81863, 1), (81869, 1), (81870, 1), (8187  -- (+618 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero410 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos410 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck410

#print axioms MonskyCheck410.sel_zero410
#print axioms MonskyCheck410.sel_pos410

bsd/MonskyCheck411.lean

lean_all/bsd/MonskyCheck411.lean

/-
  bsd/MonskyCheck411.lean — T39 cycle 962 (goal G632): Monsky's 2-Selmer matrix for squarefree 82001 ≤ n ≤ 82200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck411
open MonskyCheck

def zeroList : List Nat := [82001, 82003, 82010, 82019, 82027, 82043, 82049, 82051, 82059, 82066, 82067, 82082, 82106, 82113, 82115, 82122, 82123, 82137, 82139, 82145, 82146, 82147, 82154, 82155, 82163, 82171, 82186, 82194, 82195]
def posList : List (Nat × Nat) := [(82002, 2), (82005, 1), (82006, 1), (82007, 1), (82009, 2), (82011, 2), (82013, 1), (82014, 1), (82015, 1), (82018, 2), (82021, 1), (82022, 1), (82023, 1), (82029, 1), (82030, 1), (82031, 1), (82033, 2), (82034, 2), (82037, 1), (82039, 1), (82041, 2), (82042, 4), (82045, 3), (82046, 1), (82047, 1), (82054, 1), (82055, 1), (82057, 2), (82058, 2), (82061, 3), (8206  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero411 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos411 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck411

#print axioms MonskyCheck411.sel_zero411
#print axioms MonskyCheck411.sel_pos411

bsd/MonskyCheck412.lean

lean_all/bsd/MonskyCheck412.lean

/-
  bsd/MonskyCheck412.lean — T39 cycle 964 (goal G633): Monsky's 2-Selmer matrix for squarefree 82201 ≤ n ≤ 82400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck412
open MonskyCheck

def zeroList : List Nat := [82209, 82210, 82219, 82234, 82235, 82258, 82266, 82267, 82281, 82282, 82283, 82289, 82298, 82307, 82313, 82315, 82329, 82330, 82331, 82338, 82339, 82345, 82347, 82355, 82362, 82370, 82378, 82387]
def posList : List (Nat × Nat) := [(82201, 2), (82202, 2), (82203, 2), (82205, 5), (82207, 1), (82211, 2), (82213, 1), (82214, 1), (82217, 2), (82218, 2), (82221, 1), (82223, 1), (82226, 2), (82227, 2), (82229, 1), (82230, 1), (82231, 1), (82237, 1), (82238, 1), (82239, 1), (82241, 2), (82243, 2), (82245, 1), (82246, 3), (82247, 1), (82249, 4), (82253, 1), (82254, 1), (82255, 1), (82257, 2), (8225  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero412 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos412 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck412

#print axioms MonskyCheck412.sel_zero412
#print axioms MonskyCheck412.sel_pos412

bsd/MonskyCheck413.lean

lean_all/bsd/MonskyCheck413.lean

/-
  bsd/MonskyCheck413.lean — T39 cycle 966 (goal G634): Monsky's 2-Selmer matrix for squarefree 82401 ≤ n ≤ 82600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck413
open MonskyCheck

def zeroList : List Nat := [82411, 82426, 82434, 82435, 82441, 82442, 82483, 82489, 82490, 82491, 82498, 82499, 82507, 82515, 82531, 82537, 82538, 82545, 82546, 82547, 82554, 82563, 82569, 82571, 82577, 82578, 82586, 82594]
def posList : List (Nat × Nat) := [(82402, 2), (82403, 2), (82405, 3), (82406, 1), (82407, 1), (82409, 2), (82410, 2), (82414, 3), (82415, 3), (82417, 2), (82419, 2), (82421, 1), (82423, 1), (82427, 2), (82429, 1), (82430, 1), (82433, 4), (82437, 1), (82438, 1), (82439, 1), (82443, 2), (82445, 1), (82446, 1), (82447, 1), (82451, 2), (82453, 1), (82454, 1), (82455, 1), (82457, 2), (82459, 2), (8246  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero413 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos413 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck413

#print axioms MonskyCheck413.sel_zero413
#print axioms MonskyCheck413.sel_pos413

bsd/MonskyCheck414.lean

lean_all/bsd/MonskyCheck414.lean

/-
  bsd/MonskyCheck414.lean — T39 cycle 968 (goal G635): Monsky's 2-Selmer matrix for squarefree 82601 ≤ n ≤ 82800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck414
open MonskyCheck

def zeroList : List Nat := [82603, 82610, 82617, 82619, 82626, 82627, 82635, 82651, 82658, 82659, 82666, 82667, 82682, 82690, 82698, 82699, 82706, 82713, 82714, 82723, 82730, 82731, 82747, 82753, 82762, 82763, 82770, 82777, 82778, 82779, 82787]
def posList : List (Nat × Nat) := [(82601, 2), (82605, 1), (82606, 3), (82607, 1), (82609, 2), (82613, 1), (82615, 1), (82618, 2), (82621, 1), (82622, 1), (82623, 1), (82630, 1), (82631, 1), (82633, 2), (82634, 2), (82637, 3), (82639, 1), (82642, 2), (82645, 3), (82649, 2), (82653, 1), (82655, 3), (82657, 2), (82661, 1), (82662, 3), (82670, 1), (82671, 1), (82673, 2), (82677, 1), (82678, 3), (8267  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero414 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos414 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck414

#print axioms MonskyCheck414.sel_zero414
#print axioms MonskyCheck414.sel_pos414

bsd/MonskyCheck415.lean

lean_all/bsd/MonskyCheck415.lean

/-
  bsd/MonskyCheck415.lean — T39 cycle 970 (goal G636): Monsky's 2-Selmer matrix for squarefree 82801 ≤ n ≤ 83000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck415
open MonskyCheck

def zeroList : List Nat := [82802, 82811, 82826, 82833, 82834, 82835, 82841, 82842, 82843, 82851, 82857, 82858, 82874, 82882, 82883, 82891, 82897, 82898, 82905, 82906, 82907, 82914, 82923, 82929, 82930, 82939, 82946, 82947, 82954, 82955, 82963, 82970, 82985, 82986, 82987]
def posList : List (Nat × Nat) := [(82801, 2), (82803, 2), (82805, 3), (82806, 1), (82807, 3), (82813, 1), (82814, 1), (82815, 3), (82817, 2), (82819, 2), (82821, 1), (82822, 1), (82823, 3), (82829, 1), (82830, 1), (82831, 1), (82837, 1), (82838, 1), (82839, 1), (82846, 1), (82847, 1), (82849, 2), (82853, 1), (82855, 1), (82861, 1), (82862, 1), (82865, 2), (82866, 2), (82867, 2), (82869, 1), (8287  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero415 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos415 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck415

#print axioms MonskyCheck415.sel_zero415
#print axioms MonskyCheck415.sel_pos415

bsd/MonskyCheck416.lean

lean_all/bsd/MonskyCheck416.lean

/-
  bsd/MonskyCheck416.lean — T39 cycle 972 (goal G639): Monsky's 2-Selmer matrix for squarefree 83001 ≤ n ≤ 83200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck416
open MonskyCheck

def zeroList : List Nat := [83001, 83003, 83017, 83018, 83027, 83033, 83035, 83049, 83051, 83059, 83066, 83067, 83073, 83081, 83082, 83083, 83090, 83098, 83114, 83123, 83130, 83131, 83138, 83145, 83146, 83154, 83162, 83163, 83170, 83179, 83185, 83193, 83194, 83195]
def posList : List (Nat × Nat) := [(83002, 2), (83005, 1), (83009, 2), (83010, 2), (83011, 2), (83013, 1), (83014, 1), (83015, 1), (83019, 2), (83021, 3), (83022, 1), (83023, 1), (83026, 2), (83029, 1), (83031, 1), (83037, 1), (83038, 1), (83039, 1), (83041, 2), (83042, 2), (83045, 1), (83046, 1), (83047, 1), (83054, 1), (83057, 2), (83058, 2), (83062, 1), (83063, 1), (83065, 2), (83069, 1), (8307  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero416 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos416 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck416

#print axioms MonskyCheck416.sel_zero416
#print axioms MonskyCheck416.sel_pos416

bsd/MonskyCheck417.lean

lean_all/bsd/MonskyCheck417.lean

/-
  bsd/MonskyCheck417.lean — T39 cycle 974 (goal G640): Monsky's 2-Selmer matrix for squarefree 83201 ≤ n ≤ 83400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck417
open MonskyCheck

def zeroList : List Nat := [83203, 83211, 83217, 83219, 83226, 83227, 83242, 83243, 83258, 83267, 83274, 83281, 83289, 83291, 83298, 83299, 83306, 83315, 83323, 83337, 83338, 83339, 83346, 83353, 83355, 83386, 83395]
def posList : List (Nat × Nat) := [(83201, 2), (83206, 1), (83207, 1), (83209, 2), (83210, 2), (83213, 3), (83215, 3), (83218, 2), (83221, 1), (83222, 1), (83229, 1), (83230, 1), (83231, 1), (83233, 2), (83234, 2), (83235, 2), (83237, 1), (83238, 3), (83239, 1), (83245, 3), (83246, 1), (83247, 1), (83249, 2), (83253, 1), (83254, 1), (83255, 1), (83257, 2), (83261, 1), (83262, 1), (83263, 1), (8326  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero417 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos417 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck417

#print axioms MonskyCheck417.sel_zero417
#print axioms MonskyCheck417.sel_pos417

bsd/MonskyCheck418.lean

lean_all/bsd/MonskyCheck418.lean

/-
  bsd/MonskyCheck418.lean — T39 cycle 976 (goal G641): Monsky's 2-Selmer matrix for squarefree 83401 ≤ n ≤ 83600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck418
open MonskyCheck

def zeroList : List Nat := [83402, 83409, 83418, 83427, 83434, 83442, 83443, 83459, 83481, 83483, 83491, 83506, 83514, 83515, 83523, 83530, 83531, 83546, 83553, 83555, 83562, 83563, 83570, 83571, 83577, 83578, 83579, 83586, 83587, 83593, 83595]
def posList : List (Nat × Nat) := [(83401, 2), (83405, 1), (83406, 1), (83407, 1), (83410, 2), (83411, 2), (83413, 1), (83414, 1), (83415, 3), (83417, 2), (83419, 2), (83422, 1), (83423, 1), (83426, 2), (83429, 1), (83431, 1), (83433, 2), (83435, 2), (83437, 1), (83438, 1), (83441, 2), (83445, 1), (83446, 3), (83449, 2), (83451, 2), (83453, 3), (83454, 1), (83455, 1), (83458, 2), (83461, 1), (8346  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero418 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos418 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck418

#print axioms MonskyCheck418.sel_zero418
#print axioms MonskyCheck418.sel_pos418

bsd/MonskyCheck419.lean

lean_all/bsd/MonskyCheck419.lean

/-
  bsd/MonskyCheck419.lean — T39 cycle 978 (goal G642): Monsky's 2-Selmer matrix for squarefree 83601 ≤ n ≤ 83800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck419
open MonskyCheck

def zeroList : List Nat := [83603, 83626, 83633, 83634, 83635, 83642, 83649, 83657, 83659, 83666, 83674, 83683, 83697, 83706, 83707, 83714, 83721, 83730, 83731, 83746, 83747, 83755, 83769, 83770, 83778, 83786, 83787]
def posList : List (Nat × Nat) := [(83602, 2), (83605, 1), (83606, 1), (83609, 2), (83613, 1), (83614, 3), (83615, 1), (83617, 2), (83618, 2), (83621, 1), (83622, 1), (83623, 1), (83627, 2), (83629, 1), (83630, 1), (83631, 1), (83638, 3), (83639, 1), (83641, 2), (83645, 3), (83647, 3), (83651, 2), (83653, 1), (83654, 1), (83658, 2), (83661, 1), (83662, 1), (83663, 1), (83665, 2), (83669, 1), (8367  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero419 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos419 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck419

#print axioms MonskyCheck419.sel_zero419
#print axioms MonskyCheck419.sel_pos419

bsd/MonskyCheck42.lean

lean_all/bsd/MonskyCheck42.lean

/-
  bsd/MonskyCheck42.lean — T39 cycle 378 (goal G99): Monsky's 2-Selmer matrix for squarefree 8201 ≤ n ≤ 8400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck42
open MonskyCheck

def zeroList : List Nat := [8201, 8203, 8210, 8211, 8218, 8219, 8227, 8242, 8243, 8259, 8265, 8266, 8267, 8274, 8282, 8283, 8290, 8291, 8314, 8315, 8323, 8331, 8337, 8338, 8339, 8346, 8355, 8362, 8363, 8371, 8378, 8387, 8394, 8395]
def posList : List (Nat × Nat) := [(8202, 2), (8205, 1), (8206, 1), (8207, 1), (8209, 2), (8213, 1), (8215, 1), (8221, 1), (8222, 1), (8223, 1), (8229, 1), (8230, 1), (8231, 1), (8233, 2), (8234, 2), (8237, 1), (8238, 1), (8239, 1), (8241, 2), (8245, 1), (8246, 1), (8247, 1), (8249, 2), (8251, 2), (8254, 1), (8255, 1), (8257, 2), (8258, 2), (8261, 1), (8263, 1), (8269, 1), (8270, 1), (8273, 2), (8  -- (+613 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero42 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos42 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck42

#print axioms MonskyCheck42.sel_zero42
#print axioms MonskyCheck42.sel_pos42

bsd/MonskyCheck420.lean

lean_all/bsd/MonskyCheck420.lean

/-
  bsd/MonskyCheck420.lean — T39 cycle 980 (goal G644): Monsky's 2-Selmer matrix for squarefree 83801 ≤ n ≤ 84000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck420
open MonskyCheck

def zeroList : List Nat := [83809, 83811, 83819, 83841, 83843, 83859, 83874, 83882, 83890, 83891, 83897, 83913, 83914, 83922, 83931, 83939, 83945, 83946, 83954, 83962, 83963, 83978, 83985, 83987, 83994, 83995]
def posList : List (Nat × Nat) := [(83801, 2), (83802, 2), (83803, 2), (83805, 1), (83806, 1), (83807, 1), (83813, 1), (83814, 1), (83815, 1), (83818, 2), (83821, 1), (83822, 1), (83823, 1), (83827, 2), (83829, 1), (83830, 1), (83831, 1), (83833, 2), (83834, 2), (83837, 3), (83838, 1), (83842, 2), (83845, 5), (83846, 3), (83847, 1), (83849, 2), (83851, 2), (83854, 1), (83855, 3), (83857, 2), (8385  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero420 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos420 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck420

#print axioms MonskyCheck420.sel_zero420
#print axioms MonskyCheck420.sel_pos420

bsd/MonskyCheck421.lean

lean_all/bsd/MonskyCheck421.lean

/-
  bsd/MonskyCheck421.lean — T39 cycle 982 (goal G645): Monsky's 2-Selmer matrix for squarefree 84001 ≤ n ≤ 84200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck421
open MonskyCheck

def zeroList : List Nat := [84003, 84011, 84018, 84019, 84026, 84057, 84058, 84059, 84065, 84066, 84067, 84073, 84074, 84081, 84090, 84091, 84107, 84115, 84122, 84129, 84131, 84138, 84153, 84154, 84163, 84179, 84187, 84193, 84194]
def posList : List (Nat × Nat) := [(84001, 2), (84002, 2), (84005, 1), (84007, 1), (84009, 2), (84010, 2), (84013, 1), (84014, 1), (84017, 2), (84021, 1), (84022, 3), (84023, 1), (84027, 2), (84029, 1), (84030, 1), (84031, 3), (84034, 2), (84037, 1), (84038, 1), (84039, 1), (84041, 2), (84043, 2), (84045, 1), (84046, 1), (84047, 1), (84049, 2), (84053, 1), (84054, 1), (84055, 1), (84061, 1), (8406  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero421 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos421 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck421

#print axioms MonskyCheck421.sel_zero421
#print axioms MonskyCheck421.sel_pos421

bsd/MonskyCheck422.lean

lean_all/bsd/MonskyCheck422.lean

/-
  bsd/MonskyCheck422.lean — T39 cycle 984 (goal G647): Monsky's 2-Selmer matrix for squarefree 84201 ≤ n ≤ 84400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck422
open MonskyCheck

def zeroList : List Nat := [84202, 84209, 84211, 84218, 84233, 84234, 84235, 84251, 84265, 84274, 84290, 84291, 84297, 84298, 84299, 84306, 84307, 84314, 84322, 84345, 84347, 84353, 84362, 84369, 84370, 84371, 84379, 84385, 84394]
def posList : List (Nat × Nat) := [(84201, 2), (84203, 2), (84205, 1), (84206, 3), (84207, 1), (84210, 2), (84214, 1), (84215, 1), (84217, 2), (84219, 2), (84221, 1), (84223, 1), (84226, 2), (84227, 2), (84229, 1), (84230, 1), (84237, 1), (84238, 1), (84239, 1), (84241, 2), (84242, 2), (84243, 2), (84245, 1), (84246, 1), (84247, 1), (84253, 1), (84254, 3), (84255, 1), (84257, 2), (84259, 2), (8426  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero422 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos422 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck422

#print axioms MonskyCheck422.sel_zero422
#print axioms MonskyCheck422.sel_pos422

bsd/MonskyCheck423.lean

lean_all/bsd/MonskyCheck423.lean

/-
  bsd/MonskyCheck423.lean — T39 cycle 986 (goal G649): Monsky's 2-Selmer matrix for squarefree 84401 ≤ n ≤ 84600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck423
open MonskyCheck

def zeroList : List Nat := [84403, 84409, 84419, 84426, 84435, 84441, 84442, 84443, 84466, 84467, 84482, 84489, 84490, 84498, 84499, 84515, 84523, 84530, 84531, 84539, 84561, 84569, 84571, 84577, 84578, 84586, 84594, 84595]
def posList : List (Nat × Nat) := [(84401, 2), (84405, 1), (84406, 1), (84407, 1), (84410, 2), (84413, 1), (84414, 1), (84415, 1), (84417, 2), (84418, 2), (84421, 1), (84422, 3), (84423, 1), (84430, 1), (84431, 1), (84433, 2), (84434, 2), (84437, 1), (84439, 1), (84445, 3), (84446, 1), (84449, 2), (84451, 2), (84453, 1), (84454, 1), (84455, 1), (84457, 2), (84459, 2), (84461, 1), (84462, 1), (8446  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero423 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos423 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck423

#print axioms MonskyCheck423.sel_zero423
#print axioms MonskyCheck423.sel_pos423

bsd/MonskyCheck424.lean

lean_all/bsd/MonskyCheck424.lean

/-
  bsd/MonskyCheck424.lean — T39 cycle 988 (goal G650): Monsky's 2-Selmer matrix for squarefree 84601 ≤ n ≤ 84800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck424
open MonskyCheck

def zeroList : List Nat := [84601, 84610, 84611, 84626, 84633, 84635, 84642, 84657, 84659, 84665, 84666, 84682, 84689, 84691, 84698, 84705, 84707, 84715, 84722, 84730, 84731, 84738, 84746, 84747, 84755, 84763, 84777, 84778, 84779, 84787, 84794, 84795]
def posList : List (Nat × Nat) := [(84602, 2), (84603, 2), (84605, 3), (84606, 1), (84607, 3), (84613, 1), (84614, 1), (84615, 3), (84617, 2), (84619, 2), (84621, 1), (84622, 1), (84629, 1), (84630, 1), (84631, 1), (84634, 2), (84637, 1), (84638, 1), (84639, 1), (84641, 2), (84643, 2), (84646, 1), (84647, 1), (84649, 2), (84651, 2), (84653, 1), (84655, 1), (84658, 2), (84661, 1), (84662, 1), (8466  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero424 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos424 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck424

#print axioms MonskyCheck424.sel_zero424
#print axioms MonskyCheck424.sel_pos424

bsd/MonskyCheck425.lean

lean_all/bsd/MonskyCheck425.lean

/-
  bsd/MonskyCheck425.lean — T39 cycle 990 (goal G651): Monsky's 2-Selmer matrix for squarefree 84801 ≤ n ≤ 85000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck425
open MonskyCheck

def zeroList : List Nat := [84801, 84802, 84803, 84810, 84811, 84826, 84827, 84849, 84858, 84859, 84865, 84867, 84874, 84883, 84889, 84899, 84921, 84922, 84923, 84929, 84938, 84945, 84947, 84953, 84955, 84971, 84979, 84985]
def posList : List (Nat × Nat) := [(84805, 1), (84806, 1), (84809, 2), (84813, 1), (84814, 1), (84815, 1), (84817, 2), (84818, 2), (84822, 1), (84823, 1), (84829, 1), (84830, 1), (84831, 1), (84833, 2), (84837, 1), (84839, 1), (84841, 2), (84842, 2), (84845, 3), (84846, 1), (84847, 1), (84851, 2), (84853, 3), (84854, 1), (84855, 1), (84857, 2), (84862, 1), (84863, 1), (84866, 2), (84869, 1), (8487  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero425 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos425 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck425

#print axioms MonskyCheck425.sel_zero425
#print axioms MonskyCheck425.sel_pos425

bsd/MonskyCheck426.lean

lean_all/bsd/MonskyCheck426.lean

/-
  bsd/MonskyCheck426.lean — T39 cycle 992 (goal G652): Monsky's 2-Selmer matrix for squarefree 85001 ≤ n ≤ 85200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck426
open MonskyCheck

def zeroList : List Nat := [85002, 85010, 85017, 85018, 85019, 85026, 85027, 85033, 85034, 85035, 85042, 85051, 85066, 85067, 85082, 85089, 85091, 85097, 85098, 85099, 85107, 85114, 85123, 85130, 85137, 85146, 85147, 85161, 85170, 85177, 85178]
def posList : List (Nat × Nat) := [(85001, 2), (85003, 2), (85006, 1), (85009, 2), (85011, 2), (85013, 1), (85021, 1), (85022, 3), (85029, 1), (85030, 1), (85031, 1), (85037, 1), (85038, 1), (85039, 1), (85043, 2), (85045, 1), (85046, 1), (85047, 1), (85049, 2), (85053, 1), (85055, 1), (85057, 2), (85058, 2), (85061, 1), (85062, 1), (85065, 2), (85069, 3), (85070, 1), (85071, 1), (85073, 2), (8507  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero426 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos426 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck426

#print axioms MonskyCheck426.sel_zero426
#print axioms MonskyCheck426.sel_pos426

bsd/MonskyCheck427.lean

lean_all/bsd/MonskyCheck427.lean

/-
  bsd/MonskyCheck427.lean — T39 cycle 994 (goal G653): Monsky's 2-Selmer matrix for squarefree 85201 ≤ n ≤ 85400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck427
open MonskyCheck

def zeroList : List Nat := [85202, 85209, 85219, 85227, 85233, 85234, 85235, 85243, 85249, 85259, 85267, 85290, 85299, 85306, 85315, 85322, 85323, 85330, 85331, 85346, 85354, 85355, 85363, 85370, 85379, 85387, 85393, 85395]
def posList : List (Nat × Nat) := [(85201, 2), (85205, 3), (85206, 1), (85207, 1), (85210, 2), (85213, 1), (85214, 3), (85215, 1), (85217, 2), (85218, 2), (85222, 1), (85223, 1), (85226, 2), (85229, 1), (85231, 1), (85237, 1), (85238, 1), (85241, 2), (85242, 2), (85245, 1), (85246, 1), (85247, 1), (85251, 2), (85253, 1), (85254, 1), (85258, 2), (85261, 1), (85262, 3), (85263, 3), (85265, 2), (8526  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero427 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos427 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck427

#print axioms MonskyCheck427.sel_zero427
#print axioms MonskyCheck427.sel_pos427

bsd/MonskyCheck428.lean

lean_all/bsd/MonskyCheck428.lean

/-
  bsd/MonskyCheck428.lean — T39 cycle 996 (goal G654): Monsky's 2-Selmer matrix for squarefree 85401 ≤ n ≤ 85600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck428
open MonskyCheck

def zeroList : List Nat := [85402, 85411, 85418, 85427, 85434, 85435, 85441, 85449, 85451, 85458, 85459, 85466, 85490, 85497, 85498, 85499, 85506, 85507, 85521, 85522, 85523, 85530, 85531, 85538, 85546, 85562, 85569, 85571, 85578, 85587, 85593, 85594, 85595]
def posList : List (Nat × Nat) := [(85403, 2), (85405, 1), (85406, 1), (85409, 2), (85413, 1), (85414, 1), (85415, 1), (85417, 2), (85421, 1), (85422, 1), (85423, 1), (85429, 1), (85430, 1), (85431, 1), (85433, 2), (85438, 1), (85439, 1), (85442, 2), (85443, 2), (85445, 1), (85447, 1), (85453, 1), (85454, 1), (85457, 4), (85461, 1), (85462, 1), (85463, 3), (85465, 2), (85467, 2), (85469, 1), (8547  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero428 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos428 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck428

#print axioms MonskyCheck428.sel_zero428
#print axioms MonskyCheck428.sel_pos428

bsd/MonskyCheck429.lean

lean_all/bsd/MonskyCheck429.lean

/-
  bsd/MonskyCheck429.lean — T39 cycle 998 (goal G657): Monsky's 2-Selmer matrix for squarefree 85601 ≤ n ≤ 85800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck429
open MonskyCheck

def zeroList : List Nat := [85602, 85609, 85619, 85627, 85633, 85641, 85642, 85643, 85651, 85658, 85667, 85674, 85691, 85706, 85713, 85715, 85730, 85737, 85738, 85747, 85754, 85755, 85763, 85771, 85786, 85787, 85794]
def posList : List (Nat × Nat) := [(85601, 2), (85605, 1), (85606, 1), (85607, 1), (85610, 2), (85611, 2), (85613, 1), (85614, 1), (85615, 1), (85618, 2), (85621, 1), (85622, 1), (85623, 1), (85629, 1), (85630, 1), (85631, 1), (85634, 2), (85637, 3), (85638, 1), (85639, 1), (85645, 1), (85646, 1), (85647, 1), (85649, 4), (85654, 1), (85655, 1), (85657, 2), (85659, 2), (85661, 1), (85663, 1), (8566  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero429 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos429 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck429

#print axioms MonskyCheck429.sel_zero429
#print axioms MonskyCheck429.sel_pos429

bsd/MonskyCheck43.lean

lean_all/bsd/MonskyCheck43.lean

/-
  bsd/MonskyCheck43.lean — T39 cycle 379 (goal G100): Monsky's 2-Selmer matrix for squarefree 8401 ≤ n ≤ 8600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck43
open MonskyCheck

def zeroList : List Nat := [8403, 8409, 8417, 8418, 8419, 8426, 8435, 8443, 8457, 8458, 8459, 8466, 8467, 8481, 8483, 8490, 8506, 8507, 8522, 8529, 8530, 8531, 8538, 8539, 8553, 8562, 8563, 8570, 8579, 8587]
def posList : List (Nat × Nat) := [(8401, 2), (8402, 2), (8407, 3), (8411, 2), (8413, 1), (8414, 1), (8421, 1), (8422, 1), (8423, 1), (8429, 1), (8430, 1), (8431, 1), (8434, 2), (8437, 1), (8438, 1), (8439, 1), (8441, 2), (8445, 1), (8446, 3), (8447, 1), (8449, 2), (8453, 1), (8454, 1), (8455, 1), (8461, 1), (8462, 1), (8463, 1), (8465, 2), (8471, 1), (8473, 2), (8474, 2), (8479, 1), (8482, 2), (8  -- (+635 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero43 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos43 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck43

#print axioms MonskyCheck43.sel_zero43
#print axioms MonskyCheck43.sel_pos43

bsd/MonskyCheck430.lean

lean_all/bsd/MonskyCheck430.lean

/-
  bsd/MonskyCheck430.lean — T39 cycle 1000 (goal G658): Monsky's 2-Selmer matrix for squarefree 85801 ≤ n ≤ 86000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck430
open MonskyCheck

def zeroList : List Nat := [85802, 85809, 85810, 85811, 85819, 85826, 85827, 85834, 85835, 85843, 85857, 85859, 85881, 85883, 85898, 85907, 85915, 85929, 85931, 85937, 85938, 85939, 85947, 85953, 85954, 85961, 85970, 85978, 85987]
def posList : List (Nat × Nat) := [(85801, 2), (85803, 2), (85807, 1), (85813, 1), (85814, 1), (85817, 2), (85818, 2), (85821, 1), (85822, 1), (85823, 1), (85829, 1), (85830, 1), (85831, 1), (85837, 1), (85838, 1), (85839, 1), (85841, 2), (85845, 1), (85846, 1), (85847, 1), (85853, 1), (85854, 1), (85855, 1), (85858, 2), (85861, 1), (85862, 1), (85863, 1), (85865, 2), (85866, 2), (85867, 2), (8587  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero430 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos430 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck430

#print axioms MonskyCheck430.sel_zero430
#print axioms MonskyCheck430.sel_pos430

bsd/MonskyCheck431.lean

lean_all/bsd/MonskyCheck431.lean

/-
  bsd/MonskyCheck431.lean — T39 cycle 1002 (goal G660): Monsky's 2-Selmer matrix for squarefree 86001 ≤ n ≤ 86200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck431
open MonskyCheck

def zeroList : List Nat := [86003, 86010, 86011, 86026, 86027, 86033, 86034, 86035, 86041, 86043, 86065, 86074, 86081, 86082, 86083, 86091, 86099, 86106, 86115, 86129, 86131, 86138, 86145, 86146, 86162, 86163, 86169, 86171, 86177, 86178, 86179, 86185, 86186]
def posList : List (Nat × Nat) := [(86001, 2), (86002, 2), (86005, 1), (86006, 1), (86007, 1), (86009, 2), (86014, 1), (86015, 1), (86017, 2), (86018, 2), (86019, 2), (86023, 3), (86029, 1), (86030, 1), (86037, 1), (86038, 1), (86039, 1), (86042, 2), (86045, 3), (86046, 1), (86047, 1), (86051, 2), (86053, 1), (86054, 3), (86055, 1), (86057, 2), (86059, 2), (86061, 1), (86062, 1), (86063, 1), (8606  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero431 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos431 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck431

#print axioms MonskyCheck431.sel_zero431
#print axioms MonskyCheck431.sel_pos431

bsd/MonskyCheck432.lean

lean_all/bsd/MonskyCheck432.lean

/-
  bsd/MonskyCheck432.lean — T39 cycle 1004 (goal G661): Monsky's 2-Selmer matrix for squarefree 86201 ≤ n ≤ 86400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck432
open MonskyCheck

def zeroList : List Nat := [86203, 86210, 86218, 86226, 86234, 86242, 86243, 86266, 86267, 86282, 86290, 86291, 86298, 86299, 86306, 86313, 86322, 86323, 86329, 86345, 86347, 86361, 86362, 86371, 86378, 86379, 86393, 86395]
def posList : List (Nat × Nat) := [(86201, 2), (86205, 1), (86206, 1), (86207, 1), (86209, 2), (86213, 1), (86214, 1), (86215, 3), (86217, 2), (86219, 4), (86221, 1), (86222, 1), (86223, 1), (86230, 1), (86231, 1), (86233, 2), (86235, 2), (86237, 1), (86239, 1), (86241, 2), (86245, 1), (86246, 1), (86249, 2), (86251, 2), (86253, 1), (86254, 1), (86255, 1), (86257, 2), (86258, 2), (86259, 2), (8626  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero432 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos432 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck432

#print axioms MonskyCheck432.sel_zero432
#print axioms MonskyCheck432.sel_pos432

bsd/MonskyCheck433.lean

lean_all/bsd/MonskyCheck433.lean

/-
  bsd/MonskyCheck433.lean — T39 cycle 1006 (goal G662): Monsky's 2-Selmer matrix for squarefree 86401 ≤ n ≤ 86600, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck433
open MonskyCheck

def zeroList : List Nat := [86403, 86442, 86449, 86451, 86457, 86459, 86466, 86467, 86473, 86474, 86482, 86483, 86491, 86497, 86498, 86506, 86507, 86514, 86522, 86523, 86529, 86530, 86531, 86537, 86539, 86546, 86547, 86555, 86563, 86570, 86577, 86579, 86586, 86587, 86594, 86595]
def posList : List (Nat × Nat) := [(86401, 2), (86402, 2), (86405, 1), (86406, 3), (86407, 3), (86410, 2), (86413, 1), (86414, 1), (86415, 1), (86417, 2), (86419, 2), (86421, 1), (86422, 1), (86423, 1), (86426, 2), (86429, 1), (86430, 1), (86431, 1), (86433, 2), (86434, 2), (86435, 2), (86437, 3), (86438, 1), (86439, 1), (86441, 2), (86443, 2), (86446, 1), (86447, 1), (86453, 1), (86455, 1), (8645  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero433 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos433 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck433

#print axioms MonskyCheck433.sel_zero433
#print axioms MonskyCheck433.sel_pos433

bsd/MonskyCheck434.lean

lean_all/bsd/MonskyCheck434.lean

/-
  bsd/MonskyCheck434.lean — T39 cycle 1010 (goal G663): Monsky's 2-Selmer matrix for squarefree 86601 ≤ n ≤ 86800, by rfl.
  s₂(n) = 0 for 22 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 102 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck434
open MonskyCheck

def zeroList : List Nat := [86601, 86602, 86603, 86618, 86627, 86635, 86649, 86667, 86690, 86713, 86721, 86722, 86731, 86739, 86745, 86746, 86754, 86770, 86771, 86777, 86793, 86794]
def posList : List (Nat × Nat) := [(86605, 3), (86606, 1), (86609, 2), (86610, 2), (86611, 2), (86613, 1), (86614, 1), (86615, 1), (86617, 2), (86619, 2), (86621, 1), (86622, 1), (86626, 2), (86629, 1), (86630, 1), (86631, 1), (86633, 2), (86637, 1), (86638, 1), (86639, 3), (86641, 2), (86642, 2), (86645, 1), (86646, 1), (86647, 1), (86651, 2), (86653, 1), (86654, 1), (86655, 1), (86657, 4), (8665  -- (+858 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero434 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos434 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck434

#print axioms MonskyCheck434.sel_zero434
#print axioms MonskyCheck434.sel_pos434

bsd/MonskyCheck435.lean

lean_all/bsd/MonskyCheck435.lean

/-
  bsd/MonskyCheck435.lean — T39 cycle 1012 (goal G664): Monsky's 2-Selmer matrix for squarefree 86801 ≤ n ≤ 87000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck435
open MonskyCheck

def zeroList : List Nat := [86802, 86811, 86817, 86818, 86819, 86826, 86834, 86843, 86851, 86858, 86874, 86881, 86883, 86889, 86898, 86906, 86907, 86915, 86923, 86930, 86937, 86938, 86939, 86947, 86971, 86977, 86978, 86987, 86995]
def posList : List (Nat × Nat) := [(86801, 2), (86803, 2), (86806, 1), (86807, 3), (86809, 2), (86810, 2), (86813, 1), (86815, 1), (86821, 1), (86822, 1), (86827, 2), (86829, 1), (86830, 1), (86831, 1), (86833, 2), (86835, 2), (86837, 1), (86838, 1), (86839, 1), (86842, 2), (86845, 1), (86846, 1), (86847, 1), (86849, 2), (86853, 3), (86854, 1), (86855, 1), (86857, 2), (86861, 1), (86862, 1), (8686  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero435 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos435 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck435

#print axioms MonskyCheck435.sel_zero435
#print axioms MonskyCheck435.sel_pos435

bsd/MonskyCheck436.lean

lean_all/bsd/MonskyCheck436.lean

/-
  bsd/MonskyCheck436.lean — T39 cycle 1014 (goal G665): Monsky's 2-Selmer matrix for squarefree 87001 ≤ n ≤ 87200, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck436
open MonskyCheck

def zeroList : List Nat := [87009, 87010, 87011, 87018, 87026, 87027, 87033, 87034, 87043, 87058, 87059, 87065, 87067, 87074, 87081, 87082, 87083, 87090, 87091, 87097, 87098, 87099, 87105, 87107, 87115, 87123, 87130, 87139, 87146, 87153, 87161, 87162, 87163, 87177, 87179, 87187, 87194, 87195]
def posList : List (Nat × Nat) := [(87002, 2), (87005, 3), (87006, 1), (87007, 1), (87013, 1), (87014, 3), (87015, 1), (87017, 2), (87019, 2), (87022, 1), (87023, 3), (87029, 1), (87031, 3), (87037, 1), (87038, 3), (87041, 2), (87042, 2), (87045, 1), (87046, 1), (87047, 1), (87049, 2), (87051, 2), (87053, 1), (87054, 1), (87055, 1), (87061, 3), (87062, 1), (87063, 1), (87069, 1), (87070, 1), (8707  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero436 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos436 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck436

#print axioms MonskyCheck436.sel_zero436
#print axioms MonskyCheck436.sel_pos436

bsd/MonskyCheck437.lean

lean_all/bsd/MonskyCheck437.lean

/-
  bsd/MonskyCheck437.lean — T39 cycle 1016 (goal G666): Monsky's 2-Selmer matrix for squarefree 87201 ≤ n ≤ 87400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck437
open MonskyCheck

def zeroList : List Nat := [87202, 87203, 87211, 87226, 87227, 87233, 87235, 87249, 87251, 87259, 87267, 87290, 87297, 87299, 87306, 87307, 87314, 87322, 87323, 87329, 87330, 87338, 87347, 87369, 87370, 87378, 87379, 87386, 87387, 87393, 87394, 87395]
def posList : List (Nat × Nat) := [(87205, 1), (87206, 1), (87207, 1), (87209, 2), (87213, 3), (87214, 1), (87215, 1), (87217, 2), (87218, 2), (87221, 1), (87222, 1), (87223, 1), (87229, 1), (87230, 1), (87231, 1), (87234, 2), (87238, 1), (87239, 1), (87242, 2), (87243, 2), (87245, 3), (87247, 1), (87253, 1), (87254, 1), (87257, 2), (87258, 2), (87261, 1), (87262, 1), (87263, 1), (87265, 2), (8726  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero437 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos437 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck437

#print axioms MonskyCheck437.sel_zero437
#print axioms MonskyCheck437.sel_pos437

bsd/MonskyCheck438.lean

lean_all/bsd/MonskyCheck438.lean

/-
  bsd/MonskyCheck438.lean — T39 cycle 1018 (goal G668): Monsky's 2-Selmer matrix for squarefree 87401 ≤ n ≤ 87600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck438
open MonskyCheck

def zeroList : List Nat := [87402, 87403, 87410, 87427, 87434, 87441, 87443, 87457, 87459, 87466, 87482, 87490, 87491, 87497, 87505, 87513, 87522, 87523, 87530, 87537, 87538, 87539, 87547, 87562, 87569, 87571, 87578, 87587, 87593]
def posList : List (Nat × Nat) := [(87401, 2), (87405, 1), (87406, 1), (87407, 1), (87409, 2), (87411, 2), (87413, 1), (87414, 1), (87415, 1), (87418, 2), (87419, 2), (87421, 1), (87422, 1), (87423, 1), (87429, 3), (87430, 1), (87431, 1), (87433, 2), (87437, 1), (87438, 1), (87439, 1), (87442, 2), (87445, 3), (87446, 1), (87447, 1), (87449, 2), (87454, 1), (87455, 1), (87458, 2), (87461, 1), (8746  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero438 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos438 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck438

#print axioms MonskyCheck438.sel_zero438
#print axioms MonskyCheck438.sel_pos438

bsd/MonskyCheck439.lean

lean_all/bsd/MonskyCheck439.lean

/-
  bsd/MonskyCheck439.lean — T39 cycle 1020 (goal G669): Monsky's 2-Selmer matrix for squarefree 87601 ≤ n ≤ 87800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 101 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck439
open MonskyCheck

def zeroList : List Nat := [87603, 87611, 87618, 87634, 87635, 87643, 87658, 87659, 87674, 87683, 87690, 87691, 87698, 87706, 87722, 87729, 87738, 87739, 87745, 87753, 87754, 87762, 87770, 87771]
def posList : List (Nat × Nat) := [(87601, 4), (87602, 2), (87605, 1), (87607, 1), (87609, 2), (87610, 2), (87613, 1), (87614, 3), (87617, 4), (87619, 2), (87621, 1), (87622, 1), (87623, 1), (87626, 2), (87627, 2), (87629, 1), (87630, 1), (87631, 1), (87637, 3), (87638, 1), (87639, 1), (87641, 2), (87645, 1), (87646, 1), (87647, 1), (87649, 2), (87653, 1), (87654, 1), (87655, 1), (87657, 2), (8766  -- (+846 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero439 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos439 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck439

#print axioms MonskyCheck439.sel_zero439
#print axioms MonskyCheck439.sel_pos439

bsd/MonskyCheck44.lean

lean_all/bsd/MonskyCheck44.lean

/-
  bsd/MonskyCheck44.lean — T39 cycle 380 (goal G101): Monsky's 2-Selmer matrix for squarefree 8601 ≤ n ≤ 8800, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck44
open MonskyCheck

def zeroList : List Nat := [8602, 8610, 8611, 8618, 8626, 8627, 8642, 8643, 8651, 8657, 8659, 8666, 8682, 8691, 8697, 8698, 8699, 8706, 8707, 8714, 8715, 8723, 8731, 8745, 8746, 8747, 8754, 8755, 8769, 8770, 8777, 8778, 8779, 8785, 8787, 8794]
def posList : List (Nat × Nat) := [(8601, 2), (8603, 2), (8605, 3), (8606, 1), (8607, 1), (8609, 2), (8614, 1), (8615, 1), (8617, 2), (8621, 3), (8623, 1), (8629, 1), (8630, 1), (8633, 4), (8634, 2), (8635, 2), (8637, 1), (8638, 3), (8639, 1), (8641, 2), (8645, 1), (8646, 1), (8647, 1), (8653, 3), (8654, 1), (8655, 1), (8661, 1), (8662, 1), (8663, 1), (8665, 2), (8669, 1), (8671, 3), (8674, 2), (8  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero44 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos44 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck44

#print axioms MonskyCheck44.sel_zero44
#print axioms MonskyCheck44.sel_pos44

bsd/MonskyCheck440.lean

lean_all/bsd/MonskyCheck440.lean

/-
  bsd/MonskyCheck440.lean — T39 cycle 1022 (goal G670): Monsky's 2-Selmer matrix for squarefree 87801 ≤ n ≤ 88000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck440
open MonskyCheck

def zeroList : List Nat := [87802, 87803, 87810, 87811, 87835, 87851, 87866, 87874, 87889, 87891, 87897, 87898, 87899, 87907, 87913, 87915, 87923, 87931, 87945, 87946, 87954, 87963, 87969, 87971, 87979, 87986, 87987, 87994]
def posList : List (Nat × Nat) := [(87801, 2), (87805, 1), (87806, 1), (87807, 1), (87809, 2), (87815, 3), (87817, 4), (87818, 2), (87819, 2), (87821, 1), (87823, 1), (87826, 2), (87827, 2), (87829, 1), (87830, 1), (87833, 2), (87834, 2), (87837, 1), (87838, 1), (87839, 3), (87841, 4), (87842, 2), (87843, 2), (87845, 3), (87847, 1), (87853, 1), (87854, 1), (87855, 1), (87859, 2), (87861, 1), (8786  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero440 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos440 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck440

#print axioms MonskyCheck440.sel_zero440
#print axioms MonskyCheck440.sel_pos440

bsd/MonskyCheck441.lean

lean_all/bsd/MonskyCheck441.lean

/-
  bsd/MonskyCheck441.lean — T39 cycle 1024 (goal G677): Monsky's 2-Selmer matrix for squarefree 88001 ≤ n ≤ 88200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck441
open MonskyCheck

def zeroList : List Nat := [88003, 88017, 88019, 88027, 88033, 88041, 88042, 88043, 88058, 88059, 88066, 88089, 88091, 88098, 88105, 88106, 88114, 88115, 88121, 88122, 88123, 88131, 88138, 88139, 88154, 88161, 88163, 88171, 88179, 88186, 88193, 88194]
def posList : List (Nat × Nat) := [(88001, 2), (88005, 1), (88006, 1), (88007, 1), (88009, 2), (88010, 2), (88013, 1), (88014, 1), (88015, 1), (88018, 2), (88021, 1), (88022, 1), (88023, 1), (88026, 2), (88030, 1), (88031, 1), (88034, 2), (88035, 2), (88037, 1), (88039, 1), (88045, 3), (88046, 1), (88051, 2), (88054, 1), (88055, 1), (88057, 2), (88061, 1), (88062, 1), (88063, 1), (88067, 2), (8806  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero441 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos441 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck441

#print axioms MonskyCheck441.sel_zero441
#print axioms MonskyCheck441.sel_pos441

bsd/MonskyCheck442.lean

lean_all/bsd/MonskyCheck442.lean

/-
  bsd/MonskyCheck442.lean — T39 cycle 1026 (goal G679): Monsky's 2-Selmer matrix for squarefree 88201 ≤ n ≤ 88400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck442
open MonskyCheck

def zeroList : List Nat := [88202, 88210, 88211, 88217, 88219, 88233, 88251, 88257, 88259, 88265, 88267, 88274, 88283, 88291, 88306, 88307, 88322, 88323, 88329, 88331, 88338, 88339, 88361, 88363, 88369, 88370, 88377, 88378, 88379, 88385, 88386]
def posList : List (Nat × Nat) := [(88201, 2), (88203, 2), (88205, 1), (88206, 3), (88207, 3), (88213, 3), (88214, 1), (88215, 3), (88221, 3), (88222, 1), (88223, 1), (88226, 2), (88229, 1), (88230, 1), (88231, 1), (88234, 2), (88235, 2), (88237, 1), (88238, 1), (88239, 1), (88241, 2), (88242, 2), (88243, 2), (88246, 1), (88247, 1), (88253, 1), (88255, 3), (88258, 2), (88261, 1), (88262, 1), (8826  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero442 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos442 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck442

#print axioms MonskyCheck442.sel_zero442
#print axioms MonskyCheck442.sel_pos442

bsd/MonskyCheck443.lean

lean_all/bsd/MonskyCheck443.lean

/-
  bsd/MonskyCheck443.lean — T39 cycle 1028 (goal G680): Monsky's 2-Selmer matrix for squarefree 88401 ≤ n ≤ 88600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck443
open MonskyCheck

def zeroList : List Nat := [88401, 88403, 88409, 88411, 88418, 88427, 88435, 88441, 88442, 88449, 88458, 88467, 88473, 88482, 88483, 88489, 88499, 88507, 88523, 88530, 88531, 88538, 88545, 88547, 88561, 88563, 88570, 88579, 88585, 88586, 88593, 88594, 88595]
def posList : List (Nat × Nat) := [(88402, 2), (88405, 3), (88406, 1), (88410, 2), (88413, 1), (88414, 1), (88415, 1), (88417, 2), (88419, 2), (88421, 3), (88422, 3), (88423, 1), (88426, 2), (88429, 1), (88430, 1), (88431, 1), (88433, 2), (88437, 1), (88438, 1), (88439, 1), (88446, 1), (88447, 1), (88453, 3), (88454, 1), (88455, 1), (88457, 2), (88459, 2), (88462, 1), (88463, 1), (88465, 4), (8846  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero443 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos443 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck443

#print axioms MonskyCheck443.sel_zero443
#print axioms MonskyCheck443.sel_pos443

bsd/MonskyCheck444.lean

lean_all/bsd/MonskyCheck444.lean

/-
  bsd/MonskyCheck444.lean — T39 cycle 1030 (goal G681): Monsky's 2-Selmer matrix for squarefree 88601 ≤ n ≤ 88800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck444
open MonskyCheck

def zeroList : List Nat := [88602, 88603, 88610, 88611, 88617, 88626, 88635, 88643, 88649, 88651, 88667, 88673, 88674, 88683, 88699, 88714, 88715, 88738, 88746, 88747, 88761, 88762, 88763, 88771, 88778, 88779, 88787]
def posList : List (Nat × Nat) := [(88601, 2), (88606, 3), (88607, 1), (88609, 2), (88613, 1), (88615, 1), (88618, 2), (88619, 2), (88621, 1), (88622, 3), (88627, 2), (88629, 1), (88630, 1), (88631, 3), (88633, 2), (88634, 2), (88637, 1), (88638, 1), (88639, 3), (88642, 2), (88645, 3), (88646, 1), (88647, 1), (88653, 1), (88654, 1), (88655, 1), (88657, 2), (88658, 2), (88661, 1), (88662, 1), (8866  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero444 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos444 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck444

#print axioms MonskyCheck444.sel_zero444
#print axioms MonskyCheck444.sel_pos444

bsd/MonskyCheck445.lean

lean_all/bsd/MonskyCheck445.lean

/-
  bsd/MonskyCheck445.lean — T39 cycle 1032 (goal G682): Monsky's 2-Selmer matrix for squarefree 88801 ≤ n ≤ 89000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck445
open MonskyCheck

def zeroList : List Nat := [88810, 88811, 88818, 88819, 88826, 88833, 88835, 88843, 88865, 88867, 88874, 88882, 88883, 88890, 88891, 88899, 88905, 88906, 88907, 88914, 88915, 88930, 88946, 88953, 88962, 88971, 88987]
def posList : List (Nat × Nat) := [(88801, 2), (88802, 2), (88805, 3), (88807, 1), (88809, 2), (88813, 1), (88815, 1), (88817, 2), (88822, 1), (88823, 1), (88827, 2), (88829, 1), (88831, 1), (88834, 2), (88838, 3), (88841, 4), (88842, 2), (88845, 1), (88846, 3), (88847, 1), (88849, 2), (88851, 2), (88853, 1), (88854, 1), (88855, 1), (88858, 2), (88859, 2), (88861, 1), (88862, 1), (88863, 1), (8886  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero445 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos445 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck445

#print axioms MonskyCheck445.sel_zero445
#print axioms MonskyCheck445.sel_pos445

bsd/MonskyCheck446.lean

lean_all/bsd/MonskyCheck446.lean

/-
  bsd/MonskyCheck446.lean — T39 cycle 1034 (goal G688): Monsky's 2-Selmer matrix for squarefree 89001 ≤ n ≤ 89200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck446
open MonskyCheck

def zeroList : List Nat := [89002, 89003, 89011, 89027, 89035, 89043, 89049, 89051, 89058, 89065, 89066, 89067, 89083, 89089, 89097, 89098, 89099, 89106, 89107, 89114, 89115, 89122, 89123, 89129, 89130, 89139, 89161, 89169, 89170, 89179, 89186]
def posList : List (Nat × Nat) := [(89005, 1), (89006, 1), (89007, 1), (89009, 2), (89013, 1), (89014, 1), (89015, 1), (89017, 2), (89018, 2), (89021, 1), (89022, 1), (89023, 1), (89026, 2), (89029, 3), (89030, 1), (89031, 1), (89034, 2), (89038, 1), (89039, 1), (89041, 2), (89045, 1), (89047, 3), (89053, 1), (89054, 1), (89057, 2), (89059, 2), (89061, 1), (89062, 1), (89069, 1), (89070, 1), (8907  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero446 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos446 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck446

#print axioms MonskyCheck446.sel_zero446
#print axioms MonskyCheck446.sel_pos446

bsd/MonskyCheck447.lean

lean_all/bsd/MonskyCheck447.lean

/-
  bsd/MonskyCheck447.lean — T39 cycle 1040 (goal G689): Monsky's 2-Selmer matrix for squarefree 89201 ≤ n ≤ 89400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck447
open MonskyCheck

def zeroList : List Nat := [89202, 89203, 89210, 89211, 89227, 89241, 89242, 89243, 89251, 89259, 89299, 89315, 89321, 89322, 89323, 89330, 89331, 89339, 89345, 89346, 89353, 89355, 89362, 89363, 89371, 89377, 89378, 89385, 89387, 89394]
def posList : List (Nat × Nat) := [(89201, 2), (89205, 1), (89206, 1), (89207, 1), (89209, 2), (89213, 1), (89214, 1), (89215, 1), (89218, 2), (89219, 2), (89221, 1), (89222, 1), (89223, 1), (89230, 1), (89231, 1), (89233, 2), (89234, 2), (89237, 1), (89238, 3), (89239, 1), (89245, 1), (89246, 1), (89247, 1), (89249, 2), (89254, 3), (89255, 1), (89257, 2), (89258, 2), (89261, 1), (89263, 1), (8926  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero447 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos447 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck447

#print axioms MonskyCheck447.sel_zero447
#print axioms MonskyCheck447.sel_pos447

bsd/MonskyCheck448.lean

lean_all/bsd/MonskyCheck448.lean

/-
  bsd/MonskyCheck448.lean — T39 cycle 1042 (goal G690): Monsky's 2-Selmer matrix for squarefree 89401 ≤ n ≤ 89600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck448
open MonskyCheck

def zeroList : List Nat := [89402, 89409, 89410, 89418, 89426, 89443, 89457, 89459, 89467, 89473, 89481, 89482, 89491, 89498, 89507, 89515, 89529, 89531, 89538, 89539, 89546, 89547, 89553, 89562, 89563, 89569, 89578, 89585, 89594]
def posList : List (Nat × Nat) := [(89403, 2), (89405, 3), (89407, 1), (89411, 2), (89413, 1), (89414, 1), (89417, 2), (89421, 1), (89422, 1), (89423, 3), (89427, 2), (89429, 3), (89430, 1), (89431, 1), (89434, 2), (89435, 2), (89437, 3), (89438, 1), (89439, 1), (89441, 2), (89445, 1), (89446, 1), (89447, 3), (89449, 2), (89453, 1), (89454, 1), (89455, 1), (89458, 2), (89461, 3), (89462, 3), (8946  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero448 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos448 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck448

#print axioms MonskyCheck448.sel_zero448
#print axioms MonskyCheck448.sel_pos448

bsd/MonskyCheck449.lean

lean_all/bsd/MonskyCheck449.lean

/-
  bsd/MonskyCheck449.lean — T39 cycle 1044 (goal G691): Monsky's 2-Selmer matrix for squarefree 89601 ≤ n ≤ 89800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck449
open MonskyCheck

def zeroList : List Nat := [89601, 89603, 89611, 89617, 89619, 89626, 89627, 89634, 89642, 89651, 89659, 89666, 89673, 89682, 89691, 89715, 89722, 89723, 89731, 89737, 89738, 89762, 89763, 89770, 89771, 89778, 89779, 89786, 89794]
def posList : List (Nat × Nat) := [(89602, 2), (89605, 3), (89606, 3), (89607, 1), (89609, 4), (89610, 2), (89614, 1), (89615, 1), (89618, 2), (89623, 1), (89629, 1), (89630, 1), (89633, 2), (89635, 2), (89637, 1), (89638, 1), (89639, 1), (89641, 2), (89643, 2), (89645, 3), (89646, 1), (89647, 1), (89653, 1), (89654, 1), (89655, 1), (89657, 2), (89662, 3), (89663, 1), (89665, 2), (89669, 1), (8967  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero449 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos449 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck449

#print axioms MonskyCheck449.sel_zero449
#print axioms MonskyCheck449.sel_pos449

bsd/MonskyCheck45.lean

lean_all/bsd/MonskyCheck45.lean

/-
  bsd/MonskyCheck45.lean — T39 cycle 381 (goal G102): Monsky's 2-Selmer matrix for squarefree 8801 ≤ n ≤ 9000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck45
open MonskyCheck

def zeroList : List Nat := [8803, 8817, 8819, 8826, 8827, 8842, 8843, 8851, 8858, 8867, 8873, 8881, 8889, 8898, 8899, 8907, 8913, 8915, 8921, 8923, 8938, 8939, 8947, 8963, 8971, 8986, 8987, 8994, 8995]
def posList : List (Nat × Nat) := [(8801, 2), (8805, 1), (8806, 1), (8807, 1), (8809, 2), (8810, 2), (8813, 1), (8814, 1), (8815, 3), (8818, 2), (8821, 1), (8822, 3), (8823, 1), (8830, 1), (8831, 1), (8834, 2), (8835, 2), (8837, 1), (8839, 1), (8841, 2), (8845, 3), (8846, 1), (8849, 2), (8853, 1), (8854, 3), (8855, 1), (8857, 2), (8859, 2), (8861, 1), (8862, 1), (8863, 1), (8866, 2), (8870, 1), (8  -- (+613 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero45 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos45 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck45

#print axioms MonskyCheck45.sel_zero45
#print axioms MonskyCheck45.sel_pos45

bsd/MonskyCheck450.lean

lean_all/bsd/MonskyCheck450.lean

/-
  bsd/MonskyCheck450.lean — T39 cycle 1046 (goal G692): Monsky's 2-Selmer matrix for squarefree 89801 ≤ n ≤ 90000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck450
open MonskyCheck

def zeroList : List Nat := [89803, 89810, 89818, 89819, 89834, 89841, 89842, 89843, 89857, 89858, 89859, 89867, 89881, 89890, 89891, 89898, 89899, 89907, 89913, 89914, 89923, 89939, 89961, 89963, 89969, 89979, 89986, 89994]
def posList : List (Nat × Nat) := [(89801, 2), (89805, 1), (89806, 1), (89807, 3), (89809, 2), (89813, 1), (89814, 1), (89815, 1), (89821, 1), (89822, 3), (89823, 1), (89826, 2), (89827, 2), (89830, 1), (89831, 1), (89833, 2), (89835, 2), (89837, 1), (89839, 1), (89845, 1), (89846, 1), (89849, 2), (89851, 2), (89853, 1), (89854, 1), (89855, 1), (89861, 1), (89862, 1), (89863, 1), (89869, 1), (8987  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero450 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos450 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck450

#print axioms MonskyCheck450.sel_zero450
#print axioms MonskyCheck450.sel_pos450

bsd/MonskyCheck451.lean

lean_all/bsd/MonskyCheck451.lean

/-
  bsd/MonskyCheck451.lean — T39 cycle 1048 (goal G693): Monsky's 2-Selmer matrix for squarefree 90001 ≤ n ≤ 90200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck451
open MonskyCheck

def zeroList : List Nat := [90002, 90003, 90011, 90019, 90026, 90033, 90034, 90041, 90051, 90057, 90059, 90066, 90067, 90091, 90097, 90098, 90105, 90106, 90107, 90122, 90123, 90130, 90138, 90154, 90155, 90163, 90170, 90177, 90178, 90179, 90186, 90187, 90194]
def posList : List (Nat × Nat) := [(90001, 2), (90005, 1), (90006, 1), (90007, 1), (90010, 2), (90014, 1), (90015, 3), (90017, 2), (90021, 1), (90022, 1), (90023, 1), (90029, 3), (90030, 3), (90031, 1), (90035, 2), (90037, 1), (90038, 1), (90039, 1), (90042, 2), (90043, 2), (90046, 1), (90047, 1), (90049, 2), (90053, 1), (90055, 1), (90058, 2), (90061, 1), (90065, 2), (90069, 1), (90070, 1), (9007  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero451 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos451 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck451

#print axioms MonskyCheck451.sel_zero451
#print axioms MonskyCheck451.sel_pos451

bsd/MonskyCheck452.lean

lean_all/bsd/MonskyCheck452.lean

/-
  bsd/MonskyCheck452.lean — T39 cycle 1050 (goal G694): Monsky's 2-Selmer matrix for squarefree 90201 ≤ n ≤ 90400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck452
open MonskyCheck

def zeroList : List Nat := [90202, 90203, 90210, 90226, 90227, 90233, 90235, 90249, 90251, 90257, 90265, 90267, 90273, 90282, 90283, 90290, 90323, 90329, 90331, 90339, 90347, 90355, 90362, 90363, 90371, 90379, 90386, 90394]
def posList : List (Nat × Nat) := [(90201, 2), (90205, 3), (90206, 1), (90211, 2), (90213, 1), (90214, 3), (90215, 1), (90217, 2), (90218, 2), (90219, 2), (90221, 1), (90222, 1), (90223, 3), (90229, 1), (90230, 3), (90231, 1), (90237, 1), (90238, 1), (90239, 1), (90241, 2), (90242, 2), (90245, 3), (90247, 1), (90253, 1), (90254, 1), (90255, 1), (90259, 2), (90262, 1), (90263, 1), (90269, 1), (9027  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero452 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos452 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck452

#print axioms MonskyCheck452.sel_zero452
#print axioms MonskyCheck452.sel_pos452

bsd/MonskyCheck453.lean

lean_all/bsd/MonskyCheck453.lean

/-
  bsd/MonskyCheck453.lean — T39 cycle 1052 (goal G700): Monsky's 2-Selmer matrix for squarefree 90401 ≤ n ≤ 90600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck453
open MonskyCheck

def zeroList : List Nat := [90403, 90409, 90411, 90417, 90418, 90426, 90427, 90435, 90443, 90474, 90483, 90497, 90498, 90499, 90505, 90515, 90521, 90523, 90537, 90539, 90546, 90547, 90553, 90555, 90561, 90570, 90586, 90587]
def posList : List (Nat × Nat) := [(90401, 2), (90402, 2), (90406, 1), (90407, 1), (90410, 2), (90413, 1), (90419, 2), (90421, 1), (90422, 1), (90429, 1), (90430, 1), (90431, 1), (90433, 2), (90434, 2), (90437, 1), (90438, 3), (90439, 1), (90442, 2), (90445, 3), (90446, 3), (90447, 1), (90449, 2), (90451, 2), (90453, 1), (90455, 1), (90458, 2), (90461, 1), (90462, 1), (90463, 1), (90465, 2), (9046  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero453 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos453 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck453

#print axioms MonskyCheck453.sel_zero453
#print axioms MonskyCheck453.sel_pos453

bsd/MonskyCheck454.lean

lean_all/bsd/MonskyCheck454.lean

/-
  bsd/MonskyCheck454.lean — T39 cycle 1054 (goal G701): Monsky's 2-Selmer matrix for squarefree 90601 ≤ n ≤ 90800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck454
open MonskyCheck

def zeroList : List Nat := [90609, 90610, 90619, 90633, 90634, 90635, 90642, 90651, 90659, 90667, 90673, 90682, 90690, 90705, 90707, 90714, 90715, 90731, 90739, 90755, 90762, 90770, 90771, 90777, 90778, 90779, 90786, 90787, 90795]
def posList : List (Nat × Nat) := [(90602, 2), (90605, 3), (90606, 1), (90607, 1), (90613, 1), (90614, 1), (90615, 1), (90617, 2), (90618, 2), (90622, 1), (90623, 1), (90626, 4), (90627, 2), (90631, 1), (90637, 1), (90638, 1), (90641, 2), (90643, 2), (90645, 1), (90646, 1), (90647, 1), (90649, 2), (90653, 1), (90654, 1), (90655, 1), (90658, 2), (90661, 1), (90662, 1), (90663, 1), (90665, 2), (9066  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero454 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos454 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck454

#print axioms MonskyCheck454.sel_zero454
#print axioms MonskyCheck454.sel_pos454

bsd/MonskyCheck455.lean

lean_all/bsd/MonskyCheck455.lean

/-
  bsd/MonskyCheck455.lean — T39 cycle 1056 (goal G702): Monsky's 2-Selmer matrix for squarefree 90801 ≤ n ≤ 91000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck455
open MonskyCheck

def zeroList : List Nat := [90802, 90803, 90818, 90826, 90834, 90843, 90849, 90858, 90890, 90897, 90907, 90914, 90921, 90930, 90931, 90937, 90946, 90947, 90953, 90969, 90970, 90971, 90978, 90979, 90986, 90987]
def posList : List (Nat × Nat) := [(90805, 1), (90806, 1), (90807, 1), (90809, 2), (90811, 2), (90813, 1), (90814, 3), (90815, 3), (90817, 2), (90821, 1), (90822, 1), (90823, 1), (90827, 2), (90829, 3), (90830, 1), (90831, 1), (90833, 2), (90835, 2), (90838, 3), (90839, 1), (90841, 2), (90842, 2), (90845, 3), (90847, 1), (90851, 2), (90853, 1), (90854, 1), (90857, 2), (90859, 2), (90861, 1), (9086  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero455 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos455 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck455

#print axioms MonskyCheck455.sel_zero455
#print axioms MonskyCheck455.sel_pos455

bsd/MonskyCheck456.lean

lean_all/bsd/MonskyCheck456.lean

/-
  bsd/MonskyCheck456.lean — T39 cycle 1058 (goal G703): Monsky's 2-Selmer matrix for squarefree 91001 ≤ n ≤ 91200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck456
open MonskyCheck

def zeroList : List Nat := [91002, 91010, 91019, 91027, 91041, 91043, 91051, 91057, 91058, 91066, 91074, 91082, 91090, 91099, 91105, 91114, 91115, 91122, 91123, 91130, 91137, 91139, 91146, 91162, 91163, 91171, 91178, 91194, 91195]
def posList : List (Nat × Nat) := [(91001, 4), (91003, 2), (91005, 1), (91006, 1), (91007, 3), (91009, 2), (91011, 2), (91013, 1), (91014, 1), (91015, 1), (91018, 2), (91021, 1), (91022, 3), (91023, 1), (91029, 1), (91030, 1), (91031, 1), (91033, 2), (91034, 2), (91037, 1), (91038, 1), (91039, 1), (91045, 1), (91046, 1), (91047, 1), (91049, 2), (91054, 1), (91055, 1), (91059, 2), (91061, 1), (9106  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero456 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos456 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck456

#print axioms MonskyCheck456.sel_zero456
#print axioms MonskyCheck456.sel_pos456

bsd/MonskyCheck457.lean

lean_all/bsd/MonskyCheck457.lean

/-
  bsd/MonskyCheck457.lean — T39 cycle 1060 (goal G704): Monsky's 2-Selmer matrix for squarefree 91201 ≤ n ≤ 91400, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck457
open MonskyCheck

def zeroList : List Nat := [91201, 91203, 91209, 91211, 91217, 91218, 91219, 91226, 91235, 91243, 91257, 91258, 91259, 91266, 91273, 91274, 91281, 91283, 91289, 91290, 91291, 91307, 91315, 91321, 91322, 91330, 91331, 91338, 91339, 91347, 91354, 91362, 91370, 91371, 91378, 91379, 91387]
def posList : List (Nat × Nat) := [(91202, 2), (91205, 3), (91207, 1), (91210, 2), (91213, 3), (91214, 1), (91221, 1), (91222, 1), (91223, 1), (91227, 2), (91229, 1), (91230, 1), (91231, 1), (91237, 1), (91239, 1), (91241, 2), (91245, 1), (91246, 1), (91247, 1), (91249, 2), (91253, 1), (91254, 3), (91255, 1), (91261, 1), (91262, 1), (91263, 1), (91265, 2), (91267, 2), (91270, 1), (91271, 1), (9127  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero457 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos457 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck457

#print axioms MonskyCheck457.sel_zero457
#print axioms MonskyCheck457.sel_pos457

bsd/MonskyCheck458.lean

lean_all/bsd/MonskyCheck458.lean

/-
  bsd/MonskyCheck458.lean — T39 cycle 1062 (goal G705): Monsky's 2-Selmer matrix for squarefree 91401 ≤ n ≤ 91600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck458
open MonskyCheck

def zeroList : List Nat := [91401, 91409, 91411, 91418, 91427, 91435, 91442, 91443, 91451, 91459, 91465, 91466, 91473, 91481, 91482, 91491, 91497, 91498, 91499, 91507, 91514, 91515, 91522, 91523, 91538, 91547, 91553, 91554, 91561, 91562, 91569, 91570, 91571, 91595]
def posList : List (Nat × Nat) := [(91402, 2), (91403, 2), (91405, 3), (91406, 1), (91407, 1), (91410, 2), (91414, 1), (91415, 1), (91417, 4), (91419, 2), (91421, 1), (91423, 1), (91426, 2), (91430, 3), (91433, 2), (91437, 1), (91438, 1), (91439, 1), (91441, 2), (91445, 3), (91446, 3), (91447, 1), (91453, 1), (91454, 1), (91455, 1), (91457, 2), (91461, 1), (91462, 1), (91463, 1), (91469, 1), (9147  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero458 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos458 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck458

#print axioms MonskyCheck458.sel_zero458
#print axioms MonskyCheck458.sel_pos458

bsd/MonskyCheck459.lean

lean_all/bsd/MonskyCheck459.lean

/-
  bsd/MonskyCheck459.lean — T39 cycle 1064 (goal G706): Monsky's 2-Selmer matrix for squarefree 91601 ≤ n ≤ 91800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck459
open MonskyCheck

def zeroList : List Nat := [91601, 91603, 91617, 91618, 91619, 91626, 91633, 91635, 91641, 91642, 91643, 91651, 91667, 91689, 91691, 91706, 91713, 91715, 91729, 91730, 91738, 91747, 91754, 91763, 91769, 91770, 91771, 91778, 91779, 91785, 91786, 91794]
def posList : List (Nat × Nat) := [(91605, 1), (91606, 3), (91607, 1), (91609, 2), (91610, 2), (91614, 1), (91615, 1), (91621, 1), (91622, 1), (91623, 1), (91627, 2), (91631, 1), (91634, 2), (91637, 1), (91639, 1), (91645, 3), (91646, 1), (91649, 2), (91653, 1), (91654, 1), (91655, 1), (91657, 2), (91658, 2), (91659, 2), (91661, 1), (91662, 1), (91663, 3), (91666, 2), (91670, 1), (91671, 1), (9167  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero459 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos459 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck459

#print axioms MonskyCheck459.sel_zero459
#print axioms MonskyCheck459.sel_pos459

bsd/MonskyCheck46.lean

lean_all/bsd/MonskyCheck46.lean

/-
  bsd/MonskyCheck46.lean — T39 cycle 382 (goal G103): Monsky's 2-Selmer matrix for squarefree 9001 ≤ n ≤ 9200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck46
open MonskyCheck

def zeroList : List Nat := [9002, 9010, 9011, 9019, 9033, 9034, 9042, 9043, 9051, 9057, 9059, 9067, 9073, 9074, 9082, 9091, 9097, 9098, 9105, 9106, 9107, 9115, 9123, 9129, 9130, 9138, 9139, 9146, 9177, 9178, 9179, 9185, 9186, 9187, 9194, 9195]
def posList : List (Nat × Nat) := [(9001, 2), (9003, 2), (9005, 3), (9006, 1), (9007, 1), (9013, 1), (9014, 1), (9015, 3), (9017, 2), (9021, 3), (9022, 1), (9023, 3), (9026, 2), (9029, 1), (9030, 1), (9031, 1), (9035, 2), (9037, 1), (9038, 1), (9039, 1), (9041, 2), (9046, 1), (9047, 1), (9049, 2), (9053, 1), (9055, 1), (9058, 2), (9061, 1), (9062, 1), (9066, 2), (9069, 1), (9070, 1), (9071, 1), (9  -- (+602 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero46 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos46 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck46

#print axioms MonskyCheck46.sel_zero46
#print axioms MonskyCheck46.sel_pos46

bsd/MonskyCheck460.lean

lean_all/bsd/MonskyCheck460.lean

/-
  bsd/MonskyCheck460.lean — T39 cycle 1066 (goal G707): Monsky's 2-Selmer matrix for squarefree 91801 ≤ n ≤ 92000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck460
open MonskyCheck

def zeroList : List Nat := [91810, 91811, 91817, 91819, 91833, 91834, 91835, 91842, 91858, 91859, 91865, 91866, 91867, 91891, 91898, 91913, 91914, 91922, 91929, 91939, 91946, 91955, 91963, 91978, 91979, 91986, 91987, 91993, 91994, 91995]
def posList : List (Nat × Nat) := [(91801, 2), (91802, 2), (91803, 2), (91805, 1), (91806, 1), (91807, 1), (91813, 1), (91814, 1), (91815, 3), (91821, 1), (91822, 1), (91823, 1), (91829, 3), (91830, 1), (91831, 1), (91837, 1), (91838, 3), (91841, 2), (91843, 2), (91846, 3), (91847, 1), (91849, 2), (91851, 2), (91853, 1), (91855, 1), (91857, 2), (91861, 1), (91862, 1), (91869, 1), (91870, 1), (9187  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero460 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos460 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck460

#print axioms MonskyCheck460.sel_zero460
#print axioms MonskyCheck460.sel_pos460

bsd/MonskyCheck461.lean

lean_all/bsd/MonskyCheck461.lean

/-
  bsd/MonskyCheck461.lean — T39 cycle 1070 (goal G708): Monsky's 2-Selmer matrix for squarefree 92001 ≤ n ≤ 92200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck461
open MonskyCheck

def zeroList : List Nat := [92002, 92003, 92010, 92011, 92018, 92027, 92035, 92042, 92051, 92066, 92067, 92082, 92083, 92107, 92114, 92121, 92122, 92130, 92131, 92139, 92145, 92147, 92155, 92162, 92179, 92185, 92186]
def posList : List (Nat × Nat) := [(92001, 2), (92005, 3), (92006, 1), (92009, 2), (92013, 1), (92014, 1), (92015, 1), (92017, 2), (92019, 2), (92021, 1), (92023, 1), (92026, 2), (92029, 1), (92030, 1), (92031, 1), (92033, 2), (92037, 1), (92038, 3), (92039, 1), (92041, 2), (92045, 5), (92047, 1), (92049, 2), (92053, 1), (92054, 1), (92057, 2), (92058, 2), (92059, 2), (92062, 3), (92063, 1), (9206  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero461 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos461 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck461

#print axioms MonskyCheck461.sel_zero461
#print axioms MonskyCheck461.sel_pos461

bsd/MonskyCheck462.lean

lean_all/bsd/MonskyCheck462.lean

/-
  bsd/MonskyCheck462.lean — T39 cycle 1072 (goal G709): Monsky's 2-Selmer matrix for squarefree 92201 ≤ n ≤ 92400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck462
open MonskyCheck

def zeroList : List Nat := [92203, 92210, 92211, 92217, 92219, 92226, 92227, 92234, 92235, 92243, 92251, 92257, 92258, 92266, 92282, 92289, 92290, 92299, 92307, 92314, 92315, 92339, 92346, 92347, 92354, 92361, 92362, 92363, 92370, 92371, 92378, 92387, 92395]
def posList : List (Nat × Nat) := [(92201, 2), (92206, 1), (92207, 1), (92209, 2), (92213, 1), (92215, 1), (92221, 1), (92222, 1), (92229, 1), (92230, 1), (92231, 1), (92233, 2), (92237, 1), (92238, 1), (92239, 1), (92242, 2), (92245, 1), (92246, 1), (92247, 1), (92249, 2), (92253, 1), (92254, 3), (92255, 1), (92261, 1), (92262, 1), (92263, 1), (92265, 2), (92269, 1), (92270, 1), (92271, 1), (9227  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero462 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos462 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck462

#print axioms MonskyCheck462.sel_zero462
#print axioms MonskyCheck462.sel_pos462

bsd/MonskyCheck463.lean

lean_all/bsd/MonskyCheck463.lean

/-
  bsd/MonskyCheck463.lean — T39 cycle 1074 (goal G710): Monsky's 2-Selmer matrix for squarefree 92401 ≤ n ≤ 92600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck463
open MonskyCheck

def zeroList : List Nat := [92409, 92419, 92427, 92435, 92458, 92459, 92467, 92474, 92481, 92482, 92483, 92490, 92491, 92499, 92506, 92507, 92515, 92522, 92530, 92531, 92545, 92553, 92554, 92555, 92562, 92570, 92571, 92577, 92579, 92586, 92587, 92594, 92595]
def posList : List (Nat × Nat) := [(92401, 2), (92402, 2), (92405, 3), (92406, 1), (92407, 1), (92410, 2), (92411, 2), (92413, 1), (92415, 1), (92417, 2), (92418, 2), (92422, 1), (92423, 1), (92426, 2), (92429, 1), (92431, 1), (92433, 2), (92434, 2), (92437, 1), (92438, 1), (92441, 2), (92442, 2), (92445, 1), (92446, 3), (92447, 3), (92449, 2), (92451, 2), (92453, 1), (92454, 1), (92461, 1), (9246  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero463 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos463 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck463

#print axioms MonskyCheck463.sel_zero463
#print axioms MonskyCheck463.sel_pos463

bsd/MonskyCheck464.lean

lean_all/bsd/MonskyCheck464.lean

/-
  bsd/MonskyCheck464.lean — T39 cycle 1076 (goal G711): Monsky's 2-Selmer matrix for squarefree 92601 ≤ n ≤ 92800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck464
open MonskyCheck

def zeroList : List Nat := [92602, 92603, 92609, 92611, 92617, 92618, 92626, 92627, 92634, 92642, 92643, 92649, 92658, 92667, 92683, 92689, 92698, 92699, 92706, 92707, 92715, 92723, 92729, 92730, 92731, 92739, 92746, 92747, 92755, 92762, 92770, 92779, 92793, 92795]
def posList : List (Nat × Nat) := [(92605, 3), (92606, 1), (92607, 1), (92613, 1), (92614, 1), (92615, 1), (92621, 1), (92622, 1), (92623, 1), (92629, 1), (92630, 1), (92631, 1), (92633, 4), (92635, 2), (92638, 1), (92639, 1), (92641, 2), (92645, 1), (92647, 1), (92651, 2), (92653, 1), (92654, 1), (92657, 2), (92661, 1), (92662, 1), (92663, 1), (92665, 2), (92666, 2), (92669, 1), (92670, 1), (9267  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero464 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos464 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck464

#print axioms MonskyCheck464.sel_zero464
#print axioms MonskyCheck464.sel_pos464

bsd/MonskyCheck465.lean

lean_all/bsd/MonskyCheck465.lean

/-
  bsd/MonskyCheck465.lean — T39 cycle 1078 (goal G712): Monsky's 2-Selmer matrix for squarefree 92801 ≤ n ≤ 93000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 100 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck465
open MonskyCheck

def zeroList : List Nat := [92802, 92818, 92819, 92827, 92842, 92859, 92866, 92867, 92873, 92899, 92906, 92913, 92915, 92922, 92930, 92931, 92938, 92946, 92947, 92954, 92955, 92962, 92987, 92994, 92995]
def posList : List (Nat × Nat) := [(92801, 2), (92803, 2), (92805, 1), (92809, 2), (92810, 2), (92811, 2), (92813, 1), (92814, 1), (92815, 1), (92821, 1), (92822, 1), (92823, 1), (92829, 1), (92830, 1), (92831, 1), (92833, 2), (92834, 2), (92837, 3), (92838, 1), (92839, 1), (92841, 2), (92843, 2), (92845, 3), (92846, 1), (92847, 1), (92849, 2), (92851, 2), (92854, 1), (92857, 2), (92858, 2), (9286  -- (+834 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero465 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos465 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck465

#print axioms MonskyCheck465.sel_zero465
#print axioms MonskyCheck465.sel_pos465

bsd/MonskyCheck466.lean

lean_all/bsd/MonskyCheck466.lean

/-
  bsd/MonskyCheck466.lean — T39 cycle 1080 (goal G713): Monsky's 2-Selmer matrix for squarefree 93001 ≤ n ≤ 93200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck466
open MonskyCheck

def zeroList : List Nat := [93009, 93018, 93027, 93034, 93057, 93059, 93065, 93066, 93073, 93074, 93081, 93083, 93090, 93098, 93106, 93115, 93122, 93131, 93137, 93139, 93146, 93147, 93153, 93161, 93178, 93179, 93187]
def posList : List (Nat × Nat) := [(93001, 2), (93003, 2), (93005, 1), (93007, 1), (93010, 2), (93011, 2), (93013, 1), (93014, 1), (93017, 2), (93019, 2), (93021, 1), (93022, 1), (93023, 1), (93026, 4), (93029, 1), (93030, 1), (93031, 3), (93035, 2), (93037, 1), (93038, 1), (93039, 1), (93041, 4), (93043, 2), (93045, 1), (93046, 1), (93047, 1), (93053, 1), (93054, 1), (93055, 1), (93061, 1), (9306  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero466 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos466 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck466

#print axioms MonskyCheck466.sel_zero466
#print axioms MonskyCheck466.sel_pos466

bsd/MonskyCheck467.lean

lean_all/bsd/MonskyCheck467.lean

/-
  bsd/MonskyCheck467.lean — T39 cycle 1082 (goal G714): Monsky's 2-Selmer matrix for squarefree 93201 ≤ n ≤ 93400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck467
open MonskyCheck

def zeroList : List Nat := [93209, 93210, 93234, 93251, 93259, 93265, 93273, 93274, 93282, 93283, 93290, 93299, 93307, 93315, 93322, 93323, 93331, 93338, 93346, 93353, 93354, 93363, 93369, 93370, 93371, 93385, 93386]
def posList : List (Nat × Nat) := [(93201, 2), (93202, 2), (93203, 2), (93205, 1), (93206, 1), (93207, 1), (93211, 2), (93214, 1), (93215, 1), (93218, 2), (93219, 2), (93221, 3), (93223, 1), (93226, 2), (93227, 2), (93229, 1), (93230, 1), (93233, 2), (93235, 2), (93237, 1), (93238, 1), (93239, 1), (93241, 2), (93242, 2), (93243, 2), (93245, 1), (93246, 1), (93253, 1), (93254, 1), (93255, 1), (9325  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero467 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos467 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck467

#print axioms MonskyCheck467.sel_zero467
#print axioms MonskyCheck467.sel_pos467

bsd/MonskyCheck468.lean

lean_all/bsd/MonskyCheck468.lean

/-
  bsd/MonskyCheck468.lean — T39 cycle 1084 (goal G715): Monsky's 2-Selmer matrix for squarefree 93401 ≤ n ≤ 93600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck468
open MonskyCheck

def zeroList : List Nat := [93410, 93417, 93418, 93419, 93426, 93427, 93434, 93441, 93442, 93458, 93466, 93467, 93473, 93489, 93490, 93491, 93498, 93507, 93513, 93514, 93523, 93554, 93561, 93563, 93577, 93579, 93594]
def posList : List (Nat × Nat) := [(93401, 2), (93403, 2), (93405, 1), (93406, 1), (93407, 1), (93409, 2), (93413, 3), (93414, 1), (93415, 1), (93421, 1), (93422, 3), (93423, 1), (93430, 1), (93431, 1), (93433, 2), (93435, 2), (93437, 1), (93439, 1), (93445, 1), (93446, 1), (93449, 2), (93451, 2), (93453, 1), (93454, 1), (93455, 1), (93459, 2), (93461, 1), (93462, 1), (93463, 1), (93469, 1), (9347  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero468 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos468 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck468

#print axioms MonskyCheck468.sel_zero468
#print axioms MonskyCheck468.sel_pos468

bsd/MonskyCheck469.lean

lean_all/bsd/MonskyCheck469.lean

/-
  bsd/MonskyCheck469.lean — T39 cycle 1086 (goal G718): Monsky's 2-Selmer matrix for squarefree 93601 ≤ n ≤ 93800, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck469
open MonskyCheck

def zeroList : List Nat := [93603, 93611, 93617, 93635, 93642, 93643, 93651, 93657, 93658, 93659, 93665, 93673, 93674, 93683, 93689, 93691, 93697, 93698, 93705, 93706, 93707, 93714, 93715, 93722, 93723, 93730, 93731, 93738, 93739, 93746, 93754, 93755, 93763, 93770, 93777, 93779, 93787]
def posList : List (Nat × Nat) := [(93601, 2), (93602, 4), (93605, 1), (93606, 3), (93607, 1), (93610, 2), (93613, 1), (93614, 1), (93619, 2), (93621, 1), (93622, 1), (93623, 1), (93629, 1), (93630, 3), (93631, 1), (93634, 2), (93637, 1), (93638, 1), (93641, 2), (93646, 3), (93647, 1), (93649, 2), (93653, 1), (93655, 1), (93661, 3), (93662, 1), (93666, 2), (93667, 2), (93669, 1), (93670, 1), (9367  -- (+630 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero469 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos469 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck469

#print axioms MonskyCheck469.sel_zero469
#print axioms MonskyCheck469.sel_pos469

bsd/MonskyCheck47.lean

lean_all/bsd/MonskyCheck47.lean

/-
  bsd/MonskyCheck47.lean — T39 cycle 383 (goal G104): Monsky's 2-Selmer matrix for squarefree 9201 ≤ n ≤ 9400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck47
open MonskyCheck

def zeroList : List Nat := [9201, 9202, 9203, 9210, 9211, 9218, 9227, 9235, 9242, 9249, 9258, 9267, 9274, 9282, 9283, 9291, 9299, 9307, 9313, 9321, 9322, 9323, 9329, 9331, 9361, 9370, 9371, 9394]
def posList : List (Nat × Nat) := [(9205, 1), (9206, 1), (9209, 2), (9213, 1), (9214, 3), (9215, 1), (9217, 2), (9219, 2), (9221, 1), (9222, 1), (9223, 1), (9226, 2), (9229, 1), (9230, 1), (9231, 1), (9233, 2), (9237, 1), (9238, 1), (9239, 1), (9241, 2), (9246, 1), (9247, 1), (9253, 1), (9254, 1), (9255, 1), (9257, 2), (9259, 2), (9262, 1), (9263, 1), (9265, 2), (9266, 4), (9269, 1), (9271, 3), (9  -- (+668 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero47 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos47 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck47

#print axioms MonskyCheck47.sel_zero47
#print axioms MonskyCheck47.sel_pos47

bsd/MonskyCheck470.lean

lean_all/bsd/MonskyCheck470.lean

/-
  bsd/MonskyCheck470.lean — T39 cycle 1088 (goal G719): Monsky's 2-Selmer matrix for squarefree 93801 ≤ n ≤ 94000, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck470
open MonskyCheck

def zeroList : List Nat := [93801, 93802, 93811, 93818, 93819, 93826, 93827, 93841, 93849, 93851, 93858, 93859, 93866, 93874, 93883, 93890, 93891, 93898, 93905, 93914, 93921, 93923, 93929, 93931, 93938, 93939, 93945, 93946, 93954, 93955, 93962, 93970, 93971, 93979, 93993, 93994]
def posList : List (Nat × Nat) := [(93803, 2), (93805, 1), (93806, 1), (93809, 2), (93810, 2), (93813, 1), (93814, 1), (93815, 1), (93817, 2), (93821, 1), (93822, 1), (93823, 1), (93829, 3), (93830, 1), (93831, 1), (93833, 2), (93837, 1), (93838, 1), (93839, 1), (93842, 2), (93846, 1), (93847, 1), (93853, 1), (93854, 3), (93855, 1), (93857, 4), (93862, 1), (93863, 1), (93865, 2), (93867, 2), (9386  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero470 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos470 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck470

#print axioms MonskyCheck470.sel_zero470
#print axioms MonskyCheck470.sel_pos470

bsd/MonskyCheck471.lean

lean_all/bsd/MonskyCheck471.lean

/-
  bsd/MonskyCheck471.lean — T39 cycle 1092 (goal G721): Monsky's 2-Selmer matrix for squarefree 94001 ≤ n ≤ 94200, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck471
open MonskyCheck

def zeroList : List Nat := [94001, 94002, 94003, 94010, 94011, 94018, 94027, 94035, 94043, 94074, 94098, 94099, 94123, 94130, 94137, 94139, 94146, 94147, 94155, 94161, 94163, 94186, 94193]
def posList : List (Nat × Nat) := [(94006, 3), (94007, 1), (94009, 2), (94013, 1), (94015, 1), (94019, 2), (94021, 1), (94022, 1), (94026, 2), (94029, 1), (94030, 1), (94033, 2), (94034, 2), (94037, 1), (94038, 1), (94039, 1), (94042, 2), (94045, 1), (94046, 1), (94047, 1), (94049, 2), (94051, 2), (94053, 1), (94054, 3), (94055, 1), (94057, 2), (94058, 2), (94061, 1), (94062, 1), (94063, 1), (9406  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero471 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos471 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck471

#print axioms MonskyCheck471.sel_zero471
#print axioms MonskyCheck471.sel_pos471

bsd/MonskyCheck472.lean

lean_all/bsd/MonskyCheck472.lean

/-
  bsd/MonskyCheck472.lean — T39 cycle 1094 (goal G722): Monsky's 2-Selmer matrix for squarefree 94201 ≤ n ≤ 94400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck472
open MonskyCheck

def zeroList : List Nat := [94209, 94210, 94211, 94218, 94219, 94226, 94233, 94242, 94251, 94281, 94291, 94298, 94305, 94306, 94307, 94314, 94315, 94330, 94331, 94353, 94354, 94355, 94362, 94369, 94370, 94377, 94378, 94379, 94386, 94387]
def posList : List (Nat × Nat) := [(94201, 2), (94202, 2), (94205, 1), (94206, 1), (94207, 1), (94213, 1), (94215, 1), (94217, 2), (94222, 1), (94223, 1), (94229, 1), (94231, 1), (94234, 2), (94235, 2), (94237, 1), (94238, 1), (94241, 2), (94243, 2), (94245, 1), (94246, 1), (94247, 3), (94253, 1), (94254, 1), (94255, 1), (94258, 2), (94261, 1), (94262, 1), (94263, 1), (94265, 2), (94267, 2), (9427  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero472 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos472 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck472

#print axioms MonskyCheck472.sel_zero472
#print axioms MonskyCheck472.sel_pos472

bsd/MonskyCheck473.lean

lean_all/bsd/MonskyCheck473.lean

/-
  bsd/MonskyCheck473.lean — T39 cycle 1096 (goal G723): Monsky's 2-Selmer matrix for squarefree 94401 ≤ n ≤ 94600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck473
open MonskyCheck

def zeroList : List Nat := [94403, 94411, 94427, 94434, 94435, 94442, 94443, 94457, 94458, 94459, 94465, 94466, 94474, 94481, 94483, 94490, 94497, 94498, 94499, 94507, 94514, 94523, 94530, 94531, 94538, 94547, 94562, 94569, 94577, 94578, 94586, 94593]
def posList : List (Nat × Nat) := [(94402, 2), (94405, 3), (94406, 1), (94407, 1), (94409, 2), (94413, 1), (94414, 1), (94415, 1), (94417, 2), (94418, 2), (94421, 1), (94422, 1), (94426, 2), (94429, 1), (94430, 1), (94431, 1), (94433, 2), (94438, 1), (94439, 1), (94441, 2), (94445, 1), (94447, 1), (94449, 2), (94451, 2), (94453, 3), (94454, 1), (94462, 1), (94463, 1), (94467, 2), (94469, 3), (9447  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero473 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos473 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck473

#print axioms MonskyCheck473.sel_zero473
#print axioms MonskyCheck473.sel_pos473

bsd/MonskyCheck474.lean

lean_all/bsd/MonskyCheck474.lean

/-
  bsd/MonskyCheck474.lean — T39 cycle 1098 (goal G724): Monsky's 2-Selmer matrix for squarefree 94601 ≤ n ≤ 94800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck474
open MonskyCheck

def zeroList : List Nat := [94601, 94603, 94610, 94618, 94634, 94641, 94643, 94651, 94658, 94659, 94666, 94667, 94690, 94699, 94705, 94713, 94721, 94722, 94723, 94729, 94730, 94738, 94739, 94745, 94747, 94753, 94755, 94762, 94763, 94771, 94778, 94786, 94794]
def posList : List (Nat × Nat) := [(94602, 2), (94605, 1), (94606, 1), (94607, 3), (94609, 2), (94611, 2), (94613, 1), (94614, 1), (94615, 1), (94621, 1), (94623, 1), (94627, 2), (94629, 1), (94630, 1), (94631, 1), (94633, 2), (94637, 1), (94638, 1), (94639, 3), (94642, 2), (94645, 1), (94646, 1), (94647, 1), (94649, 2), (94654, 1), (94655, 3), (94657, 2), (94661, 1), (94663, 1), (94665, 2), (9466  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero474 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos474 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck474

#print axioms MonskyCheck474.sel_zero474
#print axioms MonskyCheck474.sel_pos474

bsd/MonskyCheck475.lean

lean_all/bsd/MonskyCheck475.lean

/-
  bsd/MonskyCheck475.lean — T39 cycle 1100 (goal G725): Monsky's 2-Selmer matrix for squarefree 94801 ≤ n ≤ 95000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck475
open MonskyCheck

def zeroList : List Nat := [94802, 94803, 94810, 94811, 94818, 94819, 94843, 94867, 94874, 94881, 94883, 94890, 94891, 94897, 94906, 94907, 94915, 94922, 94929, 94937, 94938, 94939, 94946, 94947, 94953, 94954, 94955, 94970]
def posList : List (Nat × Nat) := [(94801, 2), (94805, 1), (94807, 1), (94813, 1), (94814, 1), (94817, 2), (94821, 1), (94822, 1), (94823, 1), (94826, 2), (94827, 2), (94829, 1), (94830, 1), (94831, 1), (94834, 2), (94835, 2), (94837, 1), (94838, 1), (94839, 1), (94841, 2), (94845, 1), (94846, 1), (94847, 1), (94849, 2), (94853, 1), (94854, 1), (94855, 1), (94857, 2), (94858, 2), (94859, 2), (9486  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero475 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos475 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck475

#print axioms MonskyCheck475.sel_zero475
#print axioms MonskyCheck475.sel_pos475

bsd/MonskyCheck476.lean

lean_all/bsd/MonskyCheck476.lean

/-
  bsd/MonskyCheck476.lean — T39 cycle 1102 (goal G726): Monsky's 2-Selmer matrix for squarefree 95001 ≤ n ≤ 95200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck476
open MonskyCheck

def zeroList : List Nat := [95001, 95002, 95003, 95010, 95019, 95027, 95051, 95057, 95066, 95082, 95083, 95097, 95105, 95107, 95113, 95115, 95129, 95131, 95145, 95154, 95162, 95163, 95169, 95171, 95178, 95179, 95194]
def posList : List (Nat × Nat) := [(95005, 3), (95006, 1), (95007, 1), (95009, 2), (95014, 1), (95015, 1), (95017, 2), (95018, 4), (95021, 1), (95023, 1), (95026, 2), (95029, 1), (95030, 1), (95034, 4), (95035, 2), (95037, 1), (95038, 1), (95039, 3), (95041, 2), (95042, 2), (95043, 2), (95045, 3), (95046, 3), (95047, 3), (95053, 3), (95054, 1), (95055, 1), (95059, 2), (95061, 1), (95062, 1), (9506  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero476 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos476 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck476

#print axioms MonskyCheck476.sel_zero476
#print axioms MonskyCheck476.sel_pos476

bsd/MonskyCheck477.lean

lean_all/bsd/MonskyCheck477.lean

/-
  bsd/MonskyCheck477.lean — T39 cycle 1104 (goal G727): Monsky's 2-Selmer matrix for squarefree 95201 ≤ n ≤ 95400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck477
open MonskyCheck

def zeroList : List Nat := [95201, 95203, 95209, 95219, 95226, 95235, 95242, 95249, 95251, 95258, 95259, 95267, 95291, 95298, 95299, 95306, 95307, 95313, 95315, 95323, 95330, 95331, 95339, 95347, 95361, 95379, 95386, 95387]
def posList : List (Nat × Nat) := [(95205, 1), (95206, 1), (95210, 2), (95213, 1), (95214, 1), (95215, 1), (95217, 2), (95218, 2), (95221, 1), (95222, 1), (95223, 1), (95230, 3), (95231, 1), (95233, 2), (95234, 4), (95237, 1), (95239, 1), (95241, 2), (95243, 2), (95245, 1), (95246, 1), (95253, 1), (95254, 3), (95255, 1), (95257, 2), (95261, 1), (95262, 1), (95263, 3), (95266, 2), (95269, 1), (9527  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero477 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos477 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck477

#print axioms MonskyCheck477.sel_zero477
#print axioms MonskyCheck477.sel_pos477

bsd/MonskyCheck478.lean

lean_all/bsd/MonskyCheck478.lean

/-
  bsd/MonskyCheck478.lean — T39 cycle 1106 (goal G728): Monsky's 2-Selmer matrix for squarefree 95401 ≤ n ≤ 95600, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck478
open MonskyCheck

def zeroList : List Nat := [95402, 95411, 95419, 95434, 95435, 95442, 95443, 95451, 95457, 95458, 95459, 95466, 95467, 95482, 95483, 95491, 95498, 95505, 95507, 95513, 95514, 95515, 95521, 95523, 95529, 95530, 95531, 95538, 95539, 95563, 95577, 95579, 95585, 95586, 95594, 95595]
def posList : List (Nat × Nat) := [(95401, 2), (95405, 3), (95406, 1), (95407, 1), (95410, 2), (95413, 1), (95414, 3), (95415, 3), (95417, 2), (95421, 1), (95422, 1), (95423, 1), (95426, 2), (95429, 1), (95430, 1), (95431, 3), (95433, 2), (95437, 1), (95438, 1), (95439, 1), (95441, 2), (95446, 1), (95447, 1), (95449, 2), (95453, 3), (95455, 1), (95461, 1), (95462, 1), (95465, 2), (95470, 1), (9547  -- (+642 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero478 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos478 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck478

#print axioms MonskyCheck478.sel_zero478
#print axioms MonskyCheck478.sel_pos478

bsd/MonskyCheck479.lean

lean_all/bsd/MonskyCheck479.lean

/-
  bsd/MonskyCheck479.lean — T39 cycle 1108 (goal G729): Monsky's 2-Selmer matrix for squarefree 95601 ≤ n ≤ 95800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck479
open MonskyCheck

def zeroList : List Nat := [95601, 95602, 95603, 95609, 95610, 95611, 95626, 95641, 95642, 95649, 95651, 95673, 95674, 95681, 95682, 95683, 95689, 95698, 95699, 95707, 95721, 95722, 95723, 95731, 95738, 95745, 95747, 95761, 95763, 95777, 95794]
def posList : List (Nat × Nat) := [(95605, 3), (95606, 1), (95613, 1), (95614, 1), (95615, 1), (95617, 2), (95618, 2), (95619, 2), (95621, 1), (95622, 3), (95623, 1), (95627, 2), (95629, 1), (95630, 1), (95631, 1), (95633, 2), (95635, 2), (95637, 1), (95638, 1), (95639, 1), (95645, 1), (95646, 1), (95647, 1), (95653, 3), (95655, 1), (95657, 2), (95658, 2), (95662, 3), (95663, 3), (95666, 2), (9566  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero479 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos479 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck479

#print axioms MonskyCheck479.sel_zero479
#print axioms MonskyCheck479.sel_pos479

bsd/MonskyCheck48.lean

lean_all/bsd/MonskyCheck48.lean

/-
  bsd/MonskyCheck48.lean — T39 cycle 384 (goal G105): Monsky's 2-Selmer matrix for squarefree 9401 ≤ n ≤ 9600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck48
open MonskyCheck

def zeroList : List Nat := [9402, 9403, 9410, 9411, 9417, 9418, 9419, 9426, 9427, 9443, 9449, 9466, 9467, 9474, 9481, 9489, 9491, 9499, 9514, 9515, 9530, 9538, 9539, 9545, 9547, 9561, 9563, 9570, 9578, 9587]
def posList : List (Nat × Nat) := [(9401, 2), (9406, 1), (9407, 3), (9413, 1), (9415, 1), (9421, 1), (9422, 3), (9429, 1), (9430, 3), (9431, 1), (9433, 2), (9434, 2), (9435, 2), (9437, 1), (9439, 1), (9442, 2), (9445, 3), (9446, 1), (9447, 1), (9451, 2), (9453, 1), (9454, 1), (9455, 1), (9458, 2), (9461, 1), (9462, 3), (9463, 1), (9465, 2), (9469, 3), (9470, 1), (9471, 1), (9473, 2), (9478, 1), (9  -- (+624 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero48 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos48 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck48

#print axioms MonskyCheck48.sel_zero48
#print axioms MonskyCheck48.sel_pos48

bsd/MonskyCheck480.lean

lean_all/bsd/MonskyCheck480.lean

/-
  bsd/MonskyCheck480.lean — T39 cycle 1110 (goal G730): Monsky's 2-Selmer matrix for squarefree 95801 ≤ n ≤ 96000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck480
open MonskyCheck

def zeroList : List Nat := [95802, 95803, 95819, 95826, 95827, 95834, 95835, 95842, 95866, 95883, 95889, 95890, 95891, 95898, 95915, 95923, 95937, 95946, 95947, 95955, 95962, 95963, 95969, 95971, 95978, 95986, 95987, 95993, 95995]
def posList : List (Nat × Nat) := [(95801, 2), (95806, 1), (95807, 1), (95809, 2), (95810, 2), (95811, 2), (95813, 1), (95815, 1), (95818, 2), (95821, 1), (95822, 1), (95829, 1), (95831, 1), (95833, 2), (95837, 1), (95838, 1), (95839, 3), (95843, 2), (95845, 3), (95846, 1), (95847, 1), (95849, 2), (95851, 2), (95853, 1), (95854, 1), (95855, 1), (95857, 2), (95858, 2), (95861, 3), (95862, 1), (9586  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero480 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos480 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck480

#print axioms MonskyCheck480.sel_zero480
#print axioms MonskyCheck480.sel_pos480

bsd/MonskyCheck481.lean

lean_all/bsd/MonskyCheck481.lean

/-
  bsd/MonskyCheck481.lean — T39 cycle 1114 (goal G732): Monsky's 2-Selmer matrix for squarefree 96001 ≤ n ≤ 96200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck481
open MonskyCheck

def zeroList : List Nat := [96009, 96018, 96027, 96035, 96041, 96043, 96049, 96051, 96058, 96059, 96067, 96081, 96090, 96099, 96115, 96121, 96122, 96130, 96153, 96154, 96163, 96171, 96177, 96178, 96179, 96186, 96193]
def posList : List (Nat × Nat) := [(96001, 2), (96002, 2), (96005, 1), (96006, 1), (96007, 1), (96010, 2), (96011, 2), (96013, 1), (96014, 1), (96015, 1), (96017, 2), (96019, 2), (96022, 3), (96023, 1), (96029, 3), (96031, 1), (96033, 2), (96034, 2), (96037, 3), (96038, 1), (96042, 2), (96045, 1), (96046, 1), (96047, 3), (96053, 1), (96054, 1), (96055, 1), (96061, 1), (96062, 1), (96063, 1), (9606  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero481 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos481 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck481

#print axioms MonskyCheck481.sel_zero481
#print axioms MonskyCheck481.sel_pos481

bsd/MonskyCheck482.lean

lean_all/bsd/MonskyCheck482.lean

/-
  bsd/MonskyCheck482.lean — T39 cycle 1116 (goal G733): Monsky's 2-Selmer matrix for squarefree 96201 ≤ n ≤ 96400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck482
open MonskyCheck

def zeroList : List Nat := [96211, 96217, 96218, 96226, 96249, 96259, 96266, 96274, 96283, 96290, 96297, 96298, 96306, 96307, 96314, 96321, 96323, 96331, 96339, 96346, 96355, 96378, 96393, 96394, 96395]
def posList : List (Nat × Nat) := [(96202, 2), (96203, 2), (96205, 3), (96206, 1), (96207, 1), (96209, 2), (96213, 1), (96214, 3), (96215, 1), (96221, 1), (96222, 1), (96223, 1), (96227, 2), (96229, 1), (96230, 1), (96231, 1), (96233, 2), (96234, 2), (96235, 2), (96238, 1), (96239, 1), (96241, 2), (96242, 2), (96243, 2), (96245, 3), (96247, 1), (96251, 2), (96253, 1), (96254, 3), (96257, 2), (9625  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero482 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos482 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck482

#print axioms MonskyCheck482.sel_zero482
#print axioms MonskyCheck482.sel_pos482

bsd/MonskyCheck483.lean

lean_all/bsd/MonskyCheck483.lean

/-
  bsd/MonskyCheck483.lean — T39 cycle 1118 (goal G734): Monsky's 2-Selmer matrix for squarefree 96401 ≤ n ≤ 96600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck483
open MonskyCheck

def zeroList : List Nat := [96402, 96403, 96419, 96427, 96434, 96442, 96443, 96449, 96451, 96466, 96467, 96474, 96482, 96483, 96514, 96515, 96522, 96523, 96529, 96531, 96537, 96538, 96539, 96546, 96569, 96571, 96578, 96587]
def posList : List (Nat × Nat) := [(96401, 2), (96405, 1), (96406, 3), (96407, 1), (96409, 2), (96410, 2), (96411, 2), (96413, 1), (96414, 1), (96415, 1), (96418, 2), (96421, 1), (96422, 1), (96423, 1), (96429, 1), (96430, 1), (96431, 1), (96433, 2), (96438, 1), (96439, 3), (96441, 2), (96445, 3), (96447, 3), (96454, 1), (96455, 1), (96457, 2), (96458, 2), (96459, 2), (96461, 1), (96463, 1), (9646  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero483 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos483 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck483

#print axioms MonskyCheck483.sel_zero483
#print axioms MonskyCheck483.sel_pos483

bsd/MonskyCheck484.lean

lean_all/bsd/MonskyCheck484.lean

/-
  bsd/MonskyCheck484.lean — T39 cycle 1120 (goal G735): Monsky's 2-Selmer matrix for squarefree 96601 ≤ n ≤ 96800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck484
open MonskyCheck

def zeroList : List Nat := [96603, 96609, 96610, 96611, 96619, 96634, 96643, 96666, 96667, 96681, 96682, 96698, 96729, 96731, 96738, 96739, 96747, 96753, 96755, 96763, 96770, 96778, 96779, 96787, 96793, 96794]
def posList : List (Nat × Nat) := [(96601, 2), (96602, 2), (96607, 3), (96613, 1), (96614, 1), (96617, 2), (96618, 2), (96621, 1), (96622, 1), (96623, 1), (96626, 2), (96627, 2), (96629, 3), (96630, 1), (96631, 3), (96635, 2), (96637, 3), (96638, 1), (96639, 1), (96641, 4), (96645, 1), (96646, 1), (96647, 1), (96649, 2), (96653, 1), (96654, 1), (96655, 1), (96657, 2), (96658, 2), (96659, 2), (9666  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero484 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos484 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck484

#print axioms MonskyCheck484.sel_zero484
#print axioms MonskyCheck484.sel_pos484

bsd/MonskyCheck485.lean

lean_all/bsd/MonskyCheck485.lean

/-
  bsd/MonskyCheck485.lean — T39 cycle 1122 (goal G741): Monsky's 2-Selmer matrix for squarefree 96801 ≤ n ≤ 97000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck485
open MonskyCheck

def zeroList : List Nat := [96801, 96802, 96809, 96810, 96811, 96819, 96826, 96827, 96833, 96834, 96835, 96843, 96851, 96874, 96881, 96883, 96891, 96897, 96906, 96907, 96915, 96929, 96931, 96937, 96938, 96947, 96954, 96963, 96969, 96970, 96979, 96986, 96987]
def posList : List (Nat × Nat) := [(96803, 2), (96805, 1), (96806, 1), (96814, 1), (96817, 2), (96818, 2), (96821, 1), (96823, 1), (96829, 3), (96830, 1), (96838, 1), (96839, 1), (96841, 2), (96842, 2), (96845, 1), (96846, 1), (96847, 1), (96853, 1), (96854, 1), (96855, 1), (96857, 2), (96859, 2), (96861, 1), (96862, 1), (96863, 1), (96865, 2), (96866, 2), (96869, 3), (96870, 1), (96871, 1), (9687  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero485 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos485 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck485

#print axioms MonskyCheck485.sel_zero485
#print axioms MonskyCheck485.sel_pos485

bsd/MonskyCheck486.lean

lean_all/bsd/MonskyCheck486.lean

/-
  bsd/MonskyCheck486.lean — T39 cycle 1124 (goal G742): Monsky's 2-Selmer matrix for squarefree 97001 ≤ n ≤ 97200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck486
open MonskyCheck

def zeroList : List Nat := [97003, 97009, 97017, 97033, 97049, 97051, 97058, 97066, 97067, 97082, 97089, 97090, 97097, 97098, 97099, 97107, 97113, 97115, 97122, 97123, 97139, 97147, 97162, 97170, 97171, 97178, 97179, 97187, 97193, 97195]
def posList : List (Nat × Nat) := [(97001, 2), (97005, 1), (97007, 1), (97010, 2), (97013, 1), (97014, 1), (97015, 1), (97018, 2), (97019, 2), (97021, 1), (97022, 1), (97023, 1), (97026, 2), (97027, 2), (97030, 1), (97031, 1), (97034, 2), (97035, 2), (97037, 1), (97039, 1), (97041, 2), (97043, 2), (97045, 1), (97046, 1), (97053, 1), (97054, 1), (97055, 1), (97057, 2), (97059, 2), (97062, 1), (9706  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero486 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos486 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck486

#print axioms MonskyCheck486.sel_zero486
#print axioms MonskyCheck486.sel_pos486

bsd/MonskyCheck487.lean

lean_all/bsd/MonskyCheck487.lean

/-
  bsd/MonskyCheck487.lean — T39 cycle 1126 (goal G743): Monsky's 2-Selmer matrix for squarefree 97201 ≤ n ≤ 97400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck487
open MonskyCheck

def zeroList : List Nat := [97202, 97211, 97217, 97219, 97226, 97233, 97234, 97235, 97242, 97258, 97259, 97266, 97267, 97273, 97274, 97283, 97291, 97306, 97307, 97315, 97322, 97323, 97329, 97330, 97337, 97354, 97361, 97377, 97378, 97379, 97386, 97387, 97394, 97395]
def posList : List (Nat × Nat) := [(97201, 2), (97203, 2), (97205, 3), (97206, 1), (97207, 1), (97210, 2), (97213, 1), (97214, 1), (97215, 3), (97221, 1), (97222, 1), (97223, 1), (97229, 1), (97230, 1), (97231, 1), (97237, 1), (97238, 1), (97239, 1), (97241, 2), (97243, 2), (97246, 1), (97247, 1), (97249, 2), (97251, 2), (97253, 1), (97255, 1), (97257, 2), (97261, 1), (97262, 1), (97269, 1), (9727  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero487 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos487 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck487

#print axioms MonskyCheck487.sel_zero487
#print axioms MonskyCheck487.sel_pos487

bsd/MonskyCheck488.lean

lean_all/bsd/MonskyCheck488.lean

/-
  bsd/MonskyCheck488.lean — T39 cycle 1128 (goal G748): Monsky's 2-Selmer matrix for squarefree 97401 ≤ n ≤ 97600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck488
open MonskyCheck

def zeroList : List Nat := [97401, 97402, 97427, 97442, 97451, 97459, 97466, 97467, 97473, 97481, 97489, 97490, 97499, 97514, 97521, 97523, 97531, 97537, 97547, 97562, 97563, 97570, 97571, 97579, 97586, 97593, 97594]
def posList : List (Nat × Nat) := [(97403, 2), (97406, 1), (97409, 2), (97410, 2), (97411, 2), (97413, 1), (97414, 1), (97415, 1), (97417, 2), (97418, 2), (97419, 2), (97421, 1), (97422, 3), (97423, 1), (97426, 2), (97429, 1), (97430, 1), (97431, 1), (97433, 2), (97435, 2), (97437, 1), (97438, 1), (97439, 1), (97441, 2), (97445, 3), (97446, 1), (97447, 1), (97449, 2), (97453, 1), (97454, 1), (9745  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero488 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos488 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck488

#print axioms MonskyCheck488.sel_zero488
#print axioms MonskyCheck488.sel_pos488

bsd/MonskyCheck489.lean

lean_all/bsd/MonskyCheck489.lean

/-
  bsd/MonskyCheck489.lean — T39 cycle 1130 (goal G750): Monsky's 2-Selmer matrix for squarefree 97601 ≤ n ≤ 97800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck489
open MonskyCheck

def zeroList : List Nat := [97602, 97603, 97610, 97611, 97617, 97626, 97627, 97642, 97643, 97651, 97658, 97683, 97689, 97691, 97699, 97715, 97737, 97738, 97739, 97747, 97753, 97761, 97770, 97771, 97779, 97787, 97793]
def posList : List (Nat × Nat) := [(97601, 2), (97606, 1), (97607, 1), (97609, 2), (97613, 1), (97615, 1), (97618, 2), (97619, 2), (97621, 1), (97622, 1), (97629, 1), (97630, 1), (97631, 1), (97633, 2), (97634, 2), (97635, 2), (97637, 1), (97638, 3), (97639, 1), (97645, 1), (97646, 1), (97649, 2), (97653, 1), (97654, 1), (97655, 1), (97661, 3), (97662, 1), (97663, 1), (97665, 2), (97666, 2), (9766  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero489 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos489 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck489

#print axioms MonskyCheck489.sel_zero489
#print axioms MonskyCheck489.sel_pos489

bsd/MonskyCheck49.lean

lean_all/bsd/MonskyCheck49.lean

/-
  bsd/MonskyCheck49.lean — T39 cycle 385 (goal G106): Monsky's 2-Selmer matrix for squarefree 9601 ≤ n ≤ 9800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck49
open MonskyCheck

def zeroList : List Nat := [9609, 9617, 9619, 9626, 9627, 9635, 9643, 9659, 9674, 9681, 9683, 9698, 9699, 9705, 9707, 9713, 9714, 9722, 9737, 9739, 9746, 9753, 9754, 9761, 9762, 9770, 9771, 9777, 9785, 9786, 9787, 9794, 9795]
def posList : List (Nat × Nat) := [(9601, 2), (9602, 2), (9605, 1), (9606, 1), (9607, 1), (9611, 2), (9613, 1), (9614, 1), (9615, 1), (9618, 2), (9622, 1), (9623, 1), (9629, 1), (9631, 1), (9634, 2), (9637, 1), (9638, 1), (9641, 2), (9642, 2), (9645, 1), (9646, 1), (9647, 1), (9649, 2), (9651, 2), (9654, 3), (9655, 1), (9658, 2), (9661, 1), (9662, 1), (9663, 1), (9665, 2), (9667, 2), (9669, 1), (9  -- (+646 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero49 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos49 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck49

#print axioms MonskyCheck49.sel_zero49
#print axioms MonskyCheck49.sel_pos49

bsd/MonskyCheck490.lean

lean_all/bsd/MonskyCheck490.lean

/-
  bsd/MonskyCheck490.lean — T39 cycle 1132 (goal G751): Monsky's 2-Selmer matrix for squarefree 97801 ≤ n ≤ 98000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck490
open MonskyCheck

def zeroList : List Nat := [97801, 97802, 97809, 97810, 97811, 97818, 97819, 97827, 97833, 97834, 97835, 97842, 97843, 97859, 97867, 97882, 97883, 97890, 97891, 97898, 97899, 97913, 97915, 97922, 97931, 97939, 97946, 97955, 97962, 97963, 97970, 97978, 97986, 97987]
def posList : List (Nat × Nat) := [(97805, 3), (97806, 1), (97807, 1), (97813, 1), (97814, 1), (97815, 1), (97817, 2), (97822, 1), (97823, 1), (97826, 4), (97829, 1), (97837, 1), (97838, 1), (97841, 2), (97845, 1), (97846, 1), (97847, 1), (97849, 2), (97854, 1), (97855, 1), (97858, 2), (97861, 1), (97862, 1), (97863, 1), (97869, 1), (97870, 1), (97871, 1), (97873, 2), (97874, 2), (97877, 1), (9787  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero490 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos490 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck490

#print axioms MonskyCheck490.sel_zero490
#print axioms MonskyCheck490.sel_pos490

bsd/MonskyCheck491.lean

lean_all/bsd/MonskyCheck491.lean

/-
  bsd/MonskyCheck491.lean — T39 cycle 1136 (goal G752): Monsky's 2-Selmer matrix for squarefree 98001 ≤ n ≤ 98200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck491
open MonskyCheck

def zeroList : List Nat := [98002, 98011, 98026, 98027, 98034, 98043, 98058, 98059, 98065, 98074, 98083, 98090, 98097, 98099, 98105, 98107, 98121, 98122, 98123, 98130, 98138, 98153, 98155, 98170, 98178, 98179, 98187, 98193, 98194]
def posList : List (Nat × Nat) := [(98003, 2), (98005, 1), (98006, 1), (98007, 1), (98009, 2), (98013, 1), (98014, 3), (98015, 1), (98017, 2), (98018, 2), (98021, 1), (98023, 1), (98029, 1), (98030, 1), (98031, 1), (98033, 2), (98035, 2), (98038, 1), (98039, 1), (98041, 2), (98042, 2), (98045, 3), (98047, 1), (98051, 2), (98053, 1), (98054, 1), (98057, 2), (98061, 1), (98062, 1), (98063, 3), (9806  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero491 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos491 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck491

#print axioms MonskyCheck491.sel_zero491
#print axioms MonskyCheck491.sel_pos491

bsd/MonskyCheck492.lean

lean_all/bsd/MonskyCheck492.lean

/-
  bsd/MonskyCheck492.lean — T39 cycle 1138 (goal G753): Monsky's 2-Selmer matrix for squarefree 98201 ≤ n ≤ 98400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck492
open MonskyCheck

def zeroList : List Nat := [98201, 98202, 98211, 98218, 98219, 98227, 98234, 98241, 98249, 98251, 98266, 98267, 98273, 98290, 98291, 98299, 98306, 98313, 98314, 98323, 98329, 98330, 98331, 98337, 98339, 98346, 98347, 98353, 98355, 98371, 98378, 98385, 98387]
def posList : List (Nat × Nat) := [(98203, 2), (98205, 1), (98206, 1), (98207, 1), (98209, 2), (98210, 2), (98213, 1), (98214, 3), (98215, 3), (98221, 1), (98222, 1), (98223, 1), (98229, 1), (98230, 1), (98231, 1), (98233, 2), (98237, 1), (98238, 1), (98239, 3), (98242, 2), (98243, 2), (98246, 1), (98247, 1), (98254, 1), (98255, 1), (98257, 2), (98258, 4), (98259, 2), (98261, 3), (98263, 1), (9826  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero492 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos492 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck492

#print axioms MonskyCheck492.sel_zero492
#print axioms MonskyCheck492.sel_pos492

bsd/MonskyCheck493.lean

lean_all/bsd/MonskyCheck493.lean

/-
  bsd/MonskyCheck493.lean — T39 cycle 1140 (goal G754): Monsky's 2-Selmer matrix for squarefree 98401 ≤ n ≤ 98600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck493
open MonskyCheck

def zeroList : List Nat := [98401, 98403, 98409, 98411, 98417, 98418, 98419, 98426, 98435, 98443, 98458, 98459, 98465, 98466, 98467, 98483, 98491, 98506, 98507, 98513, 98521, 98522, 98529, 98537, 98538, 98554, 98555, 98562, 98563, 98570, 98593]
def posList : List (Nat × Nat) := [(98402, 2), (98405, 3), (98407, 1), (98410, 2), (98413, 1), (98414, 1), (98421, 1), (98422, 1), (98423, 1), (98427, 2), (98429, 1), (98430, 1), (98431, 1), (98434, 2), (98437, 1), (98438, 3), (98439, 3), (98445, 1), (98446, 1), (98447, 1), (98449, 2), (98453, 1), (98454, 1), (98455, 1), (98457, 2), (98461, 1), (98462, 1), (98463, 1), (98470, 1), (98471, 1), (9847  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero493 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos493 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck493

#print axioms MonskyCheck493.sel_zero493
#print axioms MonskyCheck493.sel_pos493

bsd/MonskyCheck494.lean

lean_all/bsd/MonskyCheck494.lean

/-
  bsd/MonskyCheck494.lean — T39 cycle 1142 (goal G755): Monsky's 2-Selmer matrix for squarefree 98601 ≤ n ≤ 98800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck494
open MonskyCheck

def zeroList : List Nat := [98610, 98626, 98627, 98634, 98635, 98643, 98651, 98665, 98666, 98681, 98682, 98690, 98697, 98706, 98715, 98722, 98723, 98731, 98745, 98761, 98762, 98770, 98771, 98778, 98779, 98785, 98787]
def posList : List (Nat × Nat) := [(98601, 2), (98602, 2), (98603, 2), (98605, 1), (98606, 1), (98607, 1), (98609, 2), (98611, 2), (98614, 1), (98617, 4), (98618, 2), (98619, 2), (98621, 1), (98623, 1), (98629, 1), (98630, 3), (98633, 2), (98638, 1), (98639, 1), (98641, 2), (98642, 2), (98645, 3), (98646, 1), (98647, 1), (98653, 1), (98654, 1), (98655, 1), (98657, 2), (98659, 2), (98661, 1), (9866  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero494 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos494 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck494

#print axioms MonskyCheck494.sel_zero494
#print axioms MonskyCheck494.sel_pos494

bsd/MonskyCheck495.lean

lean_all/bsd/MonskyCheck495.lean

/-
  bsd/MonskyCheck495.lean — T39 cycle 1144 (goal G756): Monsky's 2-Selmer matrix for squarefree 98801 ≤ n ≤ 99000, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck495
open MonskyCheck

def zeroList : List Nat := [98803, 98817, 98819, 98841, 98842, 98858, 98867, 98889, 98891, 98899, 98907, 98913, 98915, 98930, 98939, 98945, 98947, 98954, 98961, 98963, 98971, 98979, 98995]
def posList : List (Nat × Nat) := [(98801, 2), (98805, 1), (98806, 1), (98807, 1), (98809, 2), (98810, 4), (98813, 1), (98814, 1), (98815, 1), (98818, 2), (98821, 3), (98822, 1), (98823, 1), (98826, 2), (98827, 2), (98830, 1), (98831, 1), (98834, 2), (98835, 2), (98837, 1), (98839, 1), (98843, 2), (98845, 1), (98846, 1), (98849, 2), (98851, 2), (98853, 1), (98854, 1), (98855, 1), (98859, 2), (9886  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero495 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos495 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck495

#print axioms MonskyCheck495.sel_zero495
#print axioms MonskyCheck495.sel_pos495

bsd/MonskyCheck496.lean

lean_all/bsd/MonskyCheck496.lean

/-
  bsd/MonskyCheck496.lean — T39 cycle 1146 (goal G760): Monsky's 2-Selmer matrix for squarefree 99001 ≤ n ≤ 99200, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck496
open MonskyCheck

def zeroList : List Nat := [99010, 99026, 99042, 99051, 99082, 99083, 99098, 99105, 99114, 99121, 99122, 99123, 99129, 99131, 99139, 99146, 99154, 99155, 99177, 99178, 99186, 99194, 99195]
def posList : List (Nat × Nat) := [(99001, 2), (99002, 2), (99003, 2), (99005, 3), (99006, 1), (99007, 1), (99011, 2), (99013, 1), (99014, 1), (99015, 1), (99017, 2), (99019, 2), (99021, 1), (99022, 1), (99023, 1), (99030, 1), (99031, 1), (99033, 2), (99035, 2), (99037, 1), (99038, 1), (99039, 1), (99041, 2), (99043, 2), (99046, 1), (99047, 1), (99049, 2), (99053, 1), (99055, 1), (99057, 2), (9905  -- (+822 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero496 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos496 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck496

#print axioms MonskyCheck496.sel_zero496
#print axioms MonskyCheck496.sel_pos496

bsd/MonskyCheck497.lean

lean_all/bsd/MonskyCheck497.lean

/-
  bsd/MonskyCheck497.lean — T39 cycle 1148 (goal G761): Monsky's 2-Selmer matrix for squarefree 99201 ≤ n ≤ 99400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck497
open MonskyCheck

def zeroList : List Nat := [99209, 99210, 99211, 99218, 99226, 99227, 99249, 99251, 99259, 99267, 99273, 99281, 99282, 99283, 99298, 99299, 99307, 99313, 99321, 99330, 99331, 99338, 99339, 99346, 99347, 99354, 99361, 99363, 99370, 99371, 99385, 99395]
def posList : List (Nat × Nat) := [(99201, 2), (99202, 4), (99205, 3), (99206, 1), (99213, 1), (99214, 3), (99215, 1), (99217, 2), (99219, 2), (99221, 3), (99222, 3), (99223, 1), (99229, 1), (99230, 1), (99231, 3), (99233, 2), (99235, 2), (99237, 1), (99239, 3), (99241, 2), (99242, 2), (99245, 1), (99246, 1), (99247, 1), (99253, 1), (99254, 1), (99255, 3), (99257, 2), (99258, 2), (99262, 3), (9926  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero497 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos497 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck497

#print axioms MonskyCheck497.sel_zero497
#print axioms MonskyCheck497.sel_pos497

bsd/MonskyCheck498.lean

lean_all/bsd/MonskyCheck498.lean

/-
  bsd/MonskyCheck498.lean — T39 cycle 1150 (goal G763): Monsky's 2-Selmer matrix for squarefree 99401 ≤ n ≤ 99600, by rfl.
  s₂(n) = 0 for 39 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 82 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck498
open MonskyCheck

def zeroList : List Nat := [99402, 99403, 99410, 99417, 99418, 99419, 99427, 99443, 99451, 99466, 99467, 99473, 99474, 99482, 99483, 99490, 99491, 99499, 99505, 99506, 99507, 99514, 99523, 99530, 99537, 99538, 99539, 99545, 99554, 99555, 99561, 99562, 99563, 99570, 99571, 99578, 99579, 99586, 99593]
def posList : List (Nat × Nat) := [(99401, 2), (99406, 1), (99407, 1), (99409, 2), (99411, 2), (99413, 3), (99415, 1), (99422, 1), (99426, 2), (99429, 1), (99430, 1), (99431, 1), (99433, 4), (99434, 2), (99435, 2), (99437, 1), (99438, 1), (99439, 1), (99442, 2), (99445, 3), (99446, 1), (99447, 1), (99449, 2), (99453, 1), (99454, 1), (99455, 1), (99457, 2), (99461, 1), (99463, 1), (99465, 2), (9946  -- (+618 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero498 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos498 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck498

#print axioms MonskyCheck498.sel_zero498
#print axioms MonskyCheck498.sel_pos498

bsd/MonskyCheck499.lean

lean_all/bsd/MonskyCheck499.lean

/-
  bsd/MonskyCheck499.lean — T39 cycle 1152 (goal G765): Monsky's 2-Selmer matrix for squarefree 99601 ≤ n ≤ 99800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck499
open MonskyCheck

def zeroList : List Nat := [99609, 99611, 99618, 99627, 99633, 99635, 99643, 99649, 99651, 99658, 99667, 99681, 99682, 99683, 99690, 99691, 99706, 99707, 99714, 99722, 99730, 99731, 99737, 99746, 99753, 99754, 99779, 99785, 99787, 99795]
def posList : List (Nat × Nat) := [(99601, 2), (99602, 2), (99605, 1), (99606, 1), (99607, 1), (99610, 2), (99613, 1), (99614, 1), (99615, 1), (99619, 2), (99622, 1), (99623, 1), (99626, 2), (99629, 1), (99631, 1), (99634, 2), (99637, 3), (99638, 1), (99641, 2), (99642, 2), (99645, 3), (99646, 1), (99647, 1), (99653, 1), (99654, 1), (99655, 3), (99659, 2), (99661, 1), (99662, 1), (99663, 1), (9966  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero499 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos499 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck499

#print axioms MonskyCheck499.sel_zero499
#print axioms MonskyCheck499.sel_pos499

bsd/MonskyCheck5.lean

lean_all/bsd/MonskyCheck5.lean

/-
  bsd/MonskyCheck5.lean — T39 cycle 187: Monsky's 2-Selmer matrix for squarefree 801 ≤ n ≤ 1000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values
  as listed. Agreement with the computed ranks (rank ≤ s₂, rank ≡ s₂ mod 2): BSD_LOG cycle 187.
-/
import bsd.MonskyCheck

namespace MonskyCheck5
open MonskyCheck

def zeroList : List Nat := [803, 811, 817, 826, 827, 834, 835, 842, 843, 849, 851, 858, 859, 874, 883, 899, 906, 907, 913, 921, 922, 923, 930, 946, 947, 962, 969, 970, 971, 978, 986, 993]
def posList : List (Nat × Nat) := [(802, 2), (805, 1), (806, 1), (807, 1), (809, 2), (813, 1), (814, 1), (815, 1), (818, 2), (821, 1), (822, 1), (823, 1), (829, 1), (830, 1), (831, 1), (838, 1), (839, 1), (853, 1), (854, 1), (857, 2), (861, 1), (862, 1), (863, 1), (865, 2), (866, 2), (869, 1), (870, 1), (871, 1), (877, 1), (878, 1), (879, 1), (881, 2), (885, 1), (886, 1), (887, 1), (889, 2), (890,  -- (+504 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero5 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos5 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck5

#print axioms MonskyCheck5.sel_zero5
#print axioms MonskyCheck5.sel_pos5

bsd/MonskyCheck50.lean

lean_all/bsd/MonskyCheck50.lean

/-
  bsd/MonskyCheck50.lean — T39 cycle 386 (goal G107): Monsky's 2-Selmer matrix for squarefree 9801 ≤ n ≤ 10000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck50
open MonskyCheck

def zeroList : List Nat := [9803, 9811, 9818, 9834, 9842, 9843, 9851, 9859, 9866, 9883, 9889, 9897, 9899, 9905, 9906, 9907, 9914, 9921, 9923, 9930, 9931, 9937, 9946, 9969, 9970, 9977, 9978, 9987, 9993, 9994]
def posList : List (Nat × Nat) := [(9805, 1), (9806, 1), (9807, 1), (9809, 4), (9813, 1), (9814, 1), (9815, 1), (9817, 2), (9821, 1), (9822, 1), (9823, 1), (9827, 2), (9829, 1), (9830, 1), (9831, 1), (9833, 2), (9835, 2), (9838, 1), (9839, 1), (9841, 2), (9845, 1), (9847, 1), (9853, 1), (9854, 1), (9857, 2), (9858, 2), (9861, 1), (9862, 1), (9863, 3), (9865, 2), (9867, 2), (9869, 1), (9870, 1), (9  -- (+613 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero50 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos50 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck50

#print axioms MonskyCheck50.sel_zero50
#print axioms MonskyCheck50.sel_pos50

bsd/MonskyCheck500.lean

lean_all/bsd/MonskyCheck500.lean

/-
  bsd/MonskyCheck500.lean — T39 cycle 1154 (goal G766): Monsky's 2-Selmer matrix for squarefree 99801 ≤ n ≤ 100000, by rfl.
  s₂(n) = 0 for 22 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck500
open MonskyCheck

def zeroList : List Nat := [99802, 99803, 99811, 99818, 99827, 99843, 99849, 99859, 99883, 99897, 99906, 99907, 99914, 99923, 99930, 99938, 99970, 99971, 99979, 99987, 99993, 99995]
def posList : List (Nat × Nat) := [(99805, 3), (99806, 1), (99807, 1), (99809, 2), (99814, 1), (99815, 1), (99817, 2), (99821, 1), (99822, 1), (99823, 1), (99826, 2), (99829, 1), (99830, 1), (99831, 1), (99833, 2), (99834, 2), (99835, 2), (99838, 1), (99839, 1), (99841, 2), (99842, 2), (99845, 1), (99847, 3), (99851, 2), (99853, 1), (99854, 1), (99857, 2), (99858, 2), (99861, 1), (99863, 1), (9986  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero500 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos500 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck500

#print axioms MonskyCheck500.sel_zero500
#print axioms MonskyCheck500.sel_pos500

bsd/MonskyCheck501.lean

lean_all/bsd/MonskyCheck501.lean

/-
  bsd/MonskyCheck501.lean — T39 cycle 1158 (goal G767): Monsky's 2-Selmer matrix for squarefree 100001 ≤ n ≤ 100200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck501
open MonskyCheck

def zeroList : List Nat := [100001, 100002, 100003, 100010, 100011, 100018, 100019, 100034, 100041, 100042, 100043, 100051, 100059, 100073, 100074, 100082, 100106, 100113, 100115, 100130, 100131, 100138, 100139, 100146, 100154, 100162, 100163, 100171, 100177, 100178, 100186, 100187, 100194]
def posList : List (Nat × Nat) := [(100005, 1), (100006, 1), (100007, 3), (100013, 1), (100014, 1), (100015, 3), (100021, 1), (100022, 1), (100023, 1), (100027, 2), (100029, 1), (100030, 1), (100031, 1), (100033, 2), (100037, 1), (100038, 1), (100039, 3), (100045, 1), (100046, 1), (100047, 1), (100049, 2), (100054, 3), (100055, 1), (100057, 2), (100061, 1), (100063, 3), (100065, 2), (100066, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero501 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos501 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck501

#print axioms MonskyCheck501.sel_zero501
#print axioms MonskyCheck501.sel_pos501

bsd/MonskyCheck502.lean

lean_all/bsd/MonskyCheck502.lean

/-
  bsd/MonskyCheck502.lean — T39 cycle 1160 (goal G767): Monsky's 2-Selmer matrix for squarefree 100201 ≤ n ≤ 100400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck502
open MonskyCheck

def zeroList : List Nat := [100202, 100203, 100209, 100210, 100211, 100234, 100235, 100241, 100243, 100265, 100266, 100267, 100274, 100281, 100291, 100299, 100315, 100329, 100330, 100338, 100339, 100345, 100346, 100353, 100362, 100363, 100370, 100379, 100387, 100394]
def posList : List (Nat × Nat) := [(100201, 2), (100207, 1), (100213, 1), (100214, 1), (100218, 2), (100219, 2), (100221, 1), (100222, 1), (100223, 1), (100226, 2), (100227, 2), (100229, 1), (100230, 1), (100231, 1), (100237, 1), (100238, 1), (100239, 1), (100245, 1), (100246, 1), (100247, 1), (100249, 4), (100253, 3), (100255, 1), (100257, 2), (100258, 2), (100259, 2), (100261, 1), (100262, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero502 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos502 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck502

#print axioms MonskyCheck502.sel_zero502
#print axioms MonskyCheck502.sel_pos502

bsd/MonskyCheck503.lean

lean_all/bsd/MonskyCheck503.lean

/-
  bsd/MonskyCheck503.lean — T39 cycle 1162 (goal G767): Monsky's 2-Selmer matrix for squarefree 100401 ≤ n ≤ 100600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck503
open MonskyCheck

def zeroList : List Nat := [100403, 100410, 100411, 100418, 100419, 100427, 100433, 100434, 100435, 100442, 100451, 100459, 100482, 100483, 100497, 100498, 100506, 100507, 100513, 100514, 100515, 100522, 100523, 100545, 100547, 100554, 100561, 100563, 100570, 100571, 100577, 100578, 100586]
def posList : List (Nat × Nat) := [(100402, 2), (100405, 1), (100406, 1), (100407, 1), (100409, 2), (100414, 1), (100415, 1), (100417, 2), (100421, 1), (100423, 1), (100426, 2), (100429, 1), (100437, 1), (100438, 1), (100439, 1), (100441, 2), (100443, 2), (100445, 3), (100446, 1), (100447, 1), (100453, 1), (100454, 1), (100455, 1), (100457, 4), (100461, 1), (100462, 1), (100463, 1), (100465, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero503 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos503 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck503

#print axioms MonskyCheck503.sel_zero503
#print axioms MonskyCheck503.sel_pos503

bsd/MonskyCheck504.lean

lean_all/bsd/MonskyCheck504.lean

/-
  bsd/MonskyCheck504.lean — T39 cycle 1164 (goal G767): Monsky's 2-Selmer matrix for squarefree 100601 ≤ n ≤ 100800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck504
open MonskyCheck

def zeroList : List Nat := [100603, 100610, 100617, 100618, 100626, 100627, 100634, 100641, 100643, 100651, 100659, 100666, 100667, 100682, 100689, 100690, 100691, 100698, 100699, 100706, 100707, 100714, 100715, 100722, 100730, 100747, 100761, 100762, 100777, 100779, 100787, 100794]
def posList : List (Nat × Nat) := [(100601, 2), (100605, 1), (100606, 1), (100607, 1), (100609, 2), (100613, 1), (100614, 3), (100615, 1), (100619, 2), (100621, 1), (100622, 1), (100623, 1), (100630, 1), (100631, 3), (100633, 2), (100635, 2), (100637, 3), (100639, 1), (100642, 2), (100645, 3), (100649, 2), (100653, 1), (100654, 1), (100655, 3), (100657, 2), (100658, 2), (100661, 1), (100662, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero504 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos504 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck504

#print axioms MonskyCheck504.sel_zero504
#print axioms MonskyCheck504.sel_pos504

bsd/MonskyCheck505.lean

lean_all/bsd/MonskyCheck505.lean

/-
  bsd/MonskyCheck505.lean — T39 cycle 1166 (goal G767): Monsky's 2-Selmer matrix for squarefree 100801 ≤ n ≤ 101000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck505
open MonskyCheck

def zeroList : List Nat := [100802, 100810, 100811, 100835, 100843, 100851, 100857, 100859, 100866, 100867, 100874, 100897, 100906, 100907, 100915, 100921, 100922, 100923, 100930, 100931, 100947, 100963, 100969, 100970, 100977, 100978, 100979, 100985, 100986, 100987, 100995]
def posList : List (Nat × Nat) := [(100801, 2), (100803, 2), (100805, 3), (100806, 1), (100807, 3), (100813, 3), (100814, 1), (100815, 1), (100817, 2), (100819, 2), (100821, 1), (100822, 1), (100823, 1), (100826, 2), (100829, 1), (100830, 3), (100831, 1), (100833, 2), (100834, 2), (100837, 1), (100838, 1), (100839, 1), (100841, 2), (100846, 1), (100847, 1), (100849, 2), (100853, 1), (100855, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero505 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos505 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck505

#print axioms MonskyCheck505.sel_zero505
#print axioms MonskyCheck505.sel_pos505

bsd/MonskyCheck506.lean

lean_all/bsd/MonskyCheck506.lean

/-
  bsd/MonskyCheck506.lean — T39 cycle 1168 (goal G767): Monsky's 2-Selmer matrix for squarefree 101001 ≤ n ≤ 101200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck506
open MonskyCheck

def zeroList : List Nat := [101002, 101011, 101027, 101042, 101051, 101057, 101058, 101059, 101082, 101083, 101098, 101107, 101114, 101121, 101123, 101137, 101138, 101139, 101147, 101153, 101154, 101162, 101170, 101171, 101177, 101195]
def posList : List (Nat × Nat) := [(101001, 2), (101003, 2), (101005, 3), (101006, 1), (101009, 2), (101010, 2), (101013, 1), (101014, 3), (101015, 3), (101017, 2), (101018, 2), (101019, 2), (101021, 1), (101022, 1), (101023, 1), (101026, 2), (101029, 1), (101030, 1), (101031, 1), (101033, 2), (101037, 1), (101041, 2), (101045, 1), (101046, 3), (101047, 1), (101049, 2), (101053, 1), (101054, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero506 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos506 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck506

#print axioms MonskyCheck506.sel_zero506
#print axioms MonskyCheck506.sel_pos506

bsd/MonskyCheck507.lean

lean_all/bsd/MonskyCheck507.lean

/-
  bsd/MonskyCheck507.lean — T39 cycle 1170 (goal G767): Monsky's 2-Selmer matrix for squarefree 101201 ≤ n ≤ 101400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck507
open MonskyCheck

def zeroList : List Nat := [101202, 101203, 101210, 101211, 101217, 101227, 101233, 101243, 101266, 101267, 101274, 101289, 101298, 101299, 101314, 101315, 101321, 101323, 101329, 101330, 101337, 101347, 101355, 101362, 101363, 101370, 101378, 101387, 101395]
def posList : List (Nat × Nat) := [(101201, 2), (101206, 1), (101207, 1), (101209, 2), (101213, 1), (101215, 3), (101218, 2), (101219, 2), (101221, 1), (101222, 1), (101226, 2), (101229, 1), (101230, 1), (101235, 2), (101237, 1), (101238, 3), (101239, 1), (101242, 2), (101245, 3), (101246, 3), (101247, 1), (101249, 2), (101253, 1), (101254, 1), (101255, 1), (101257, 2), (101258, 2), (101261, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero507 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos507 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck507

#print axioms MonskyCheck507.sel_zero507
#print axioms MonskyCheck507.sel_pos507

bsd/MonskyCheck508.lean

lean_all/bsd/MonskyCheck508.lean

/-
  bsd/MonskyCheck508.lean — T39 cycle 1172 (goal G767): Monsky's 2-Selmer matrix for squarefree 101401 ≤ n ≤ 101600, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck508
open MonskyCheck

def zeroList : List Nat := [101402, 101410, 101411, 101418, 101419, 101426, 101427, 101433, 101434, 101435, 101442, 101467, 101481, 101482, 101483, 101490, 101497, 101498, 101499, 101507, 101514, 101523, 101530, 101531, 101539, 101545, 101546, 101553, 101562, 101570, 101571, 101578, 101585, 101586, 101587, 101593, 101595]
def posList : List (Nat × Nat) := [(101401, 2), (101405, 1), (101406, 1), (101407, 3), (101409, 2), (101413, 3), (101414, 1), (101415, 1), (101417, 2), (101422, 3), (101423, 1), (101429, 1), (101431, 1), (101437, 3), (101438, 1), (101443, 2), (101445, 1), (101446, 1), (101447, 1), (101449, 2), (101451, 2), (101453, 1), (101454, 1), (101455, 1), (101458, 2), (101459, 2), (101461, 3), (101462, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero508 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos508 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck508

#print axioms MonskyCheck508.sel_zero508
#print axioms MonskyCheck508.sel_pos508

bsd/MonskyCheck509.lean

lean_all/bsd/MonskyCheck509.lean

/-
  bsd/MonskyCheck509.lean — T39 cycle 1174 (goal G767): Monsky's 2-Selmer matrix for squarefree 101601 ≤ n ≤ 101800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck509
open MonskyCheck

def zeroList : List Nat := [101602, 101603, 101609, 101611, 101617, 101618, 101627, 101634, 101635, 101642, 101657, 101683, 101706, 101707, 101723, 101730, 101739, 101747, 101755, 101769, 101770, 101771, 101778, 101779, 101786, 101793, 101794]
def posList : List (Nat × Nat) := [(101605, 1), (101606, 1), (101607, 1), (101613, 1), (101615, 1), (101621, 3), (101622, 1), (101623, 3), (101629, 1), (101630, 1), (101631, 1), (101633, 2), (101638, 1), (101639, 1), (101641, 2), (101643, 2), (101645, 3), (101647, 1), (101649, 2), (101651, 2), (101653, 1), (101654, 1), (101658, 2), (101659, 2), (101661, 3), (101662, 1), (101663, 1), (101665, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero509 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos509 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck509

#print axioms MonskyCheck509.sel_zero509
#print axioms MonskyCheck509.sel_pos509

bsd/MonskyCheck51.lean

lean_all/bsd/MonskyCheck51.lean

/-
  bsd/MonskyCheck51.lean — T39 cycle 387 (goal G108): Monsky's 2-Selmer matrix for squarefree 10001 ≤ n ≤ 10200, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck51
open MonskyCheck

def zeroList : List Nat := [10002, 10019, 10034, 10041, 10042, 10058, 10067, 10091, 10099, 10105, 10113, 10114, 10122, 10123, 10130, 10139, 10147, 10153, 10154, 10155, 10163, 10185, 10186, 10194]
def posList : List (Nat × Nat) := [(10001, 4), (10003, 2), (10005, 1), (10006, 1), (10007, 1), (10009, 2), (10010, 2), (10011, 2), (10013, 1), (10014, 1), (10015, 1), (10018, 2), (10021, 1), (10022, 1), (10023, 1), (10027, 2), (10029, 1), (10030, 1), (10031, 1), (10033, 2), (10037, 1), (10038, 1), (10039, 1), (10046, 1), (10047, 1), (10049, 2), (10054, 1), (10055, 1), (10057, 2), (10059, 2), (1006  -- (+810 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero51 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos51 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck51

#print axioms MonskyCheck51.sel_zero51
#print axioms MonskyCheck51.sel_pos51

bsd/MonskyCheck510.lean

lean_all/bsd/MonskyCheck510.lean

/-
  bsd/MonskyCheck510.lean — T39 cycle 1176 (goal G767): Monsky's 2-Selmer matrix for squarefree 101801 ≤ n ≤ 102000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck510
open MonskyCheck

def zeroList : List Nat := [101803, 101810, 101818, 101819, 101827, 101842, 101843, 101851, 101874, 101890, 101891, 101906, 101913, 101914, 101915, 101922, 101930, 101931, 101937, 101939, 101946, 101953, 101954, 101955, 101962, 101963, 101971, 101978, 101987, 101994]
def posList : List (Nat × Nat) := [(101801, 2), (101805, 1), (101806, 1), (101807, 1), (101809, 2), (101811, 2), (101813, 3), (101814, 3), (101815, 1), (101821, 3), (101823, 1), (101829, 1), (101830, 1), (101831, 3), (101833, 2), (101834, 2), (101837, 1), (101838, 1), (101839, 1), (101841, 2), (101845, 3), (101846, 1), (101847, 1), (101849, 2), (101854, 1), (101855, 1), (101857, 2), (101858, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero510 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos510 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck510

#print axioms MonskyCheck510.sel_zero510
#print axioms MonskyCheck510.sel_pos510

bsd/MonskyCheck511.lean

lean_all/bsd/MonskyCheck511.lean

/-
  bsd/MonskyCheck511.lean — T39 cycle 1180 (goal G772): Monsky's 2-Selmer matrix for squarefree 102001 ≤ n ≤ 102200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck511
open MonskyCheck

def zeroList : List Nat := [102009, 102011, 102019, 102026, 102035, 102041, 102043, 102049, 102057, 102059, 102066, 102081, 102082, 102083, 102090, 102091, 102107, 102113, 102115, 102122, 102131, 102139, 102146, 102147, 102162, 102170, 102187, 102193, 102194]
def posList : List (Nat × Nat) := [(102001, 2), (102002, 2), (102005, 1), (102007, 1), (102013, 1), (102014, 1), (102021, 1), (102022, 1), (102023, 1), (102027, 2), (102029, 3), (102030, 1), (102031, 1), (102034, 4), (102037, 1), (102038, 3), (102039, 1), (102045, 1), (102046, 1), (102047, 1), (102053, 1), (102054, 1), (102055, 1), (102058, 2), (102061, 1), (102062, 1), (102063, 3), (102065, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero511 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos511 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck511

#print axioms MonskyCheck511.sel_zero511
#print axioms MonskyCheck511.sel_pos511

bsd/MonskyCheck512.lean

lean_all/bsd/MonskyCheck512.lean

/-
  bsd/MonskyCheck512.lean — T39 cycle 1182 (goal G772): Monsky's 2-Selmer matrix for squarefree 102201 ≤ n ≤ 102400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck512
open MonskyCheck

def zeroList : List Nat := [102203, 102209, 102210, 102211, 102218, 102219, 102227, 102234, 102243, 102251, 102259, 102266, 102273, 102282, 102283, 102298, 102299, 102305, 102307, 102314, 102315, 102322, 102331, 102345, 102346, 102347, 102353, 102354, 102369, 102370, 102378, 102379, 102394]
def posList : List (Nat × Nat) := [(102201, 2), (102202, 2), (102205, 3), (102206, 1), (102207, 1), (102215, 1), (102217, 2), (102221, 1), (102223, 1), (102226, 2), (102229, 1), (102230, 1), (102233, 2), (102235, 2), (102237, 1), (102238, 1), (102239, 1), (102241, 2), (102242, 2), (102246, 3), (102247, 1), (102253, 1), (102254, 1), (102255, 1), (102257, 2), (102261, 1), (102262, 1), (102265, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero512 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos512 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck512

#print axioms MonskyCheck512.sel_zero512
#print axioms MonskyCheck512.sel_pos512

bsd/MonskyCheck513.lean

lean_all/bsd/MonskyCheck513.lean

/-
  bsd/MonskyCheck513.lean — T39 cycle 1184 (goal G772): Monsky's 2-Selmer matrix for squarefree 102401 ≤ n ≤ 102600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck513
open MonskyCheck

def zeroList : List Nat := [102403, 102417, 102426, 102441, 102442, 102443, 102451, 102458, 102491, 102499, 102507, 102513, 102515, 102522, 102523, 102530, 102531, 102538, 102539, 102547, 102553, 102554, 102562, 102563, 102577, 102579, 102587, 102594]
def posList : List (Nat × Nat) := [(102401, 2), (102405, 1), (102406, 1), (102407, 1), (102409, 2), (102413, 1), (102415, 1), (102418, 2), (102419, 2), (102421, 1), (102422, 3), (102423, 1), (102427, 2), (102430, 1), (102431, 1), (102433, 2), (102434, 2), (102435, 2), (102437, 1), (102439, 1), (102445, 1), (102446, 1), (102449, 2), (102453, 1), (102454, 3), (102455, 3), (102457, 2), (102461, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero513 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos513 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck513

#print axioms MonskyCheck513.sel_zero513
#print axioms MonskyCheck513.sel_pos513

bsd/MonskyCheck514.lean

lean_all/bsd/MonskyCheck514.lean

/-
  bsd/MonskyCheck514.lean — T39 cycle 1186 (goal G772): Monsky's 2-Selmer matrix for squarefree 102601 ≤ n ≤ 102800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck514
open MonskyCheck

def zeroList : List Nat := [102610, 102611, 102619, 102633, 102635, 102642, 102643, 102651, 102657, 102659, 102667, 102674, 102682, 102691, 102698, 102714, 102715, 102721, 102730, 102738, 102739, 102746, 102747, 102754, 102763, 102770, 102777, 102778, 102779, 102787, 102794]
def posList : List (Nat × Nat) := [(102601, 2), (102603, 2), (102605, 3), (102607, 1), (102613, 3), (102614, 1), (102615, 3), (102617, 4), (102621, 3), (102622, 1), (102623, 3), (102629, 3), (102630, 1), (102631, 1), (102634, 2), (102637, 3), (102638, 3), (102639, 1), (102641, 2), (102646, 1), (102647, 1), (102649, 2), (102653, 1), (102658, 2), (102661, 3), (102662, 1), (102665, 2), (102666, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero514 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos514 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck514

#print axioms MonskyCheck514.sel_zero514
#print axioms MonskyCheck514.sel_pos514

bsd/MonskyCheck515.lean

lean_all/bsd/MonskyCheck515.lean

/-
  bsd/MonskyCheck515.lean — T39 cycle 1188 (goal G772): Monsky's 2-Selmer matrix for squarefree 102801 ≤ n ≤ 103000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck515
open MonskyCheck

def zeroList : List Nat := [102801, 102809, 102811, 102818, 102826, 102835, 102842, 102849, 102858, 102859, 102865, 102866, 102867, 102874, 102882, 102899, 102907, 102922, 102923, 102930, 102931, 102938, 102939, 102945, 102947, 102961, 102970, 102993]
def posList : List (Nat × Nat) := [(102803, 2), (102805, 3), (102806, 3), (102810, 2), (102813, 1), (102814, 1), (102815, 1), (102817, 2), (102819, 2), (102821, 3), (102822, 3), (102823, 1), (102829, 1), (102830, 1), (102831, 1), (102833, 2), (102837, 1), (102838, 1), (102839, 1), (102841, 2), (102845, 1), (102846, 1), (102847, 1), (102853, 1), (102854, 1), (102855, 1), (102857, 2), (102862, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero515 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos515 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck515

#print axioms MonskyCheck515.sel_zero515
#print axioms MonskyCheck515.sel_pos515

bsd/MonskyCheck516.lean

lean_all/bsd/MonskyCheck516.lean

/-
  bsd/MonskyCheck516.lean — T39 cycle 1190 (goal G772): Monsky's 2-Selmer matrix for squarefree 103001 ≤ n ≤ 103200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck516
open MonskyCheck

def zeroList : List Nat := [103002, 103003, 103010, 103011, 103017, 103019, 103027, 103034, 103035, 103043, 103066, 103067, 103073, 103074, 103081, 103082, 103083, 103091, 103097, 103099, 103115, 103123, 103130, 103137, 103138, 103146, 103162, 103163, 103171, 103179, 103187]
def posList : List (Nat × Nat) := [(103001, 2), (103006, 1), (103007, 1), (103009, 2), (103013, 1), (103015, 1), (103018, 2), (103021, 1), (103022, 1), (103026, 2), (103029, 1), (103030, 1), (103031, 1), (103033, 2), (103037, 1), (103038, 1), (103039, 3), (103042, 2), (103045, 1), (103046, 1), (103049, 2), (103051, 2), (103053, 1), (103054, 1), (103055, 1), (103057, 4), (103061, 1), (103062, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero516 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos516 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck516

#print axioms MonskyCheck516.sel_zero516
#print axioms MonskyCheck516.sel_pos516

bsd/MonskyCheck517.lean

lean_all/bsd/MonskyCheck517.lean

/-
  bsd/MonskyCheck517.lean — T39 cycle 1192 (goal G772): Monsky's 2-Selmer matrix for squarefree 103201 ≤ n ≤ 103400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck517
open MonskyCheck

def zeroList : List Nat := [103202, 103209, 103211, 103218, 103226, 103233, 103235, 103258, 103265, 103274, 103281, 103283, 103291, 103305, 103307, 103314, 103315, 103330, 103331, 103354, 103355, 103363, 103370, 103371, 103377, 103385, 103387]
def posList : List (Nat × Nat) := [(103201, 2), (103205, 3), (103206, 1), (103207, 3), (103210, 2), (103214, 1), (103215, 1), (103217, 2), (103219, 2), (103222, 1), (103223, 1), (103227, 2), (103229, 1), (103231, 1), (103234, 2), (103237, 1), (103238, 1), (103241, 4), (103242, 2), (103245, 1), (103249, 2), (103251, 2), (103253, 1), (103254, 3), (103255, 1), (103261, 1), (103262, 1), (103263, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero517 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos517 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck517

#print axioms MonskyCheck517.sel_zero517
#print axioms MonskyCheck517.sel_pos517

bsd/MonskyCheck518.lean

lean_all/bsd/MonskyCheck518.lean

/-
  bsd/MonskyCheck518.lean — T39 cycle 1194 (goal G772): Monsky's 2-Selmer matrix for squarefree 103401 ≤ n ≤ 103600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck518
open MonskyCheck

def zeroList : List Nat := [103402, 103417, 103418, 103427, 103433, 103434, 103449, 103451, 103458, 103459, 103467, 103474, 103483, 103497, 103498, 103505, 103506, 103507, 103514, 103515, 103531, 103546, 103547, 103562, 103569, 103570, 103578, 103579, 103587, 103593, 103594]
def posList : List (Nat × Nat) := [(103403, 2), (103405, 3), (103406, 1), (103407, 1), (103409, 2), (103411, 2), (103413, 1), (103414, 1), (103415, 3), (103421, 1), (103422, 1), (103423, 1), (103426, 2), (103429, 3), (103430, 1), (103431, 1), (103435, 2), (103438, 1), (103441, 2), (103442, 2), (103445, 1), (103447, 3), (103453, 1), (103454, 1), (103457, 2), (103461, 1), (103463, 1), (103465, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero518 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos518 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck518

#print axioms MonskyCheck518.sel_zero518
#print axioms MonskyCheck518.sel_pos518

bsd/MonskyCheck519.lean

lean_all/bsd/MonskyCheck519.lean

/-
  bsd/MonskyCheck519.lean — T39 cycle 1196 (goal G772): Monsky's 2-Selmer matrix for squarefree 103601 ≤ n ≤ 103800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck519
open MonskyCheck

def zeroList : List Nat := [103601, 103609, 103619, 103627, 103643, 103649, 103651, 103658, 103659, 103673, 103674, 103699, 103705, 103706, 103713, 103714, 103715, 103721, 103723, 103731, 103738, 103746, 103754, 103755, 103762, 103763, 103771, 103778, 103786, 103787, 103794]
def posList : List (Nat × Nat) := [(103602, 2), (103603, 2), (103605, 1), (103606, 1), (103610, 2), (103611, 2), (103613, 1), (103614, 1), (103615, 1), (103618, 2), (103621, 3), (103622, 1), (103623, 1), (103629, 1), (103630, 1), (103631, 1), (103633, 2), (103634, 2), (103637, 3), (103638, 1), (103639, 1), (103641, 2), (103642, 2), (103645, 1), (103646, 1), (103647, 1), (103654, 1), (103655, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero519 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos519 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck519

#print axioms MonskyCheck519.sel_zero519
#print axioms MonskyCheck519.sel_pos519

bsd/MonskyCheck52.lean

lean_all/bsd/MonskyCheck52.lean

/-
  bsd/MonskyCheck52.lean — T39 cycle 388 (goal G109): Monsky's 2-Selmer matrix for squarefree 10201 ≤ n ≤ 10400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck52
open MonskyCheck

def zeroList : List Nat := [10202, 10203, 10209, 10210, 10211, 10218, 10235, 10243, 10259, 10267, 10274, 10281, 10298, 10307, 10315, 10322, 10330, 10331, 10338, 10347, 10353, 10362, 10363, 10378, 10379, 10393, 10394]
def posList : List (Nat × Nat) := [(10205, 1), (10207, 1), (10213, 1), (10214, 1), (10217, 2), (10219, 2), (10221, 1), (10222, 1), (10223, 1), (10226, 2), (10227, 2), (10229, 1), (10230, 1), (10231, 1), (10234, 2), (10237, 3), (10238, 1), (10239, 1), (10245, 1), (10246, 1), (10247, 1), (10249, 2), (10253, 1), (10254, 1), (10255, 1), (10257, 2), (10258, 2), (10261, 1), (10262, 1), (10263, 1), (1026  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero52 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos52 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck52

#print axioms MonskyCheck52.sel_zero52
#print axioms MonskyCheck52.sel_pos52

bsd/MonskyCheck520.lean

lean_all/bsd/MonskyCheck520.lean

/-
  bsd/MonskyCheck520.lean — T39 cycle 1198 (goal G772): Monsky's 2-Selmer matrix for squarefree 103801 ≤ n ≤ 104000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck520
open MonskyCheck

def zeroList : List Nat := [103803, 103809, 103811, 103819, 103827, 103834, 103835, 103843, 103857, 103867, 103873, 103882, 103897, 103898, 103899, 103906, 103922, 103930, 103938, 103946, 103947, 103953, 103955, 103963, 103970, 103979, 103985, 103987, 103994]
def posList : List (Nat × Nat) := [(103801, 2), (103802, 2), (103805, 1), (103807, 1), (103810, 2), (103813, 1), (103814, 1), (103817, 2), (103821, 1), (103822, 1), (103826, 2), (103829, 1), (103830, 1), (103837, 1), (103838, 3), (103839, 1), (103841, 2), (103845, 1), (103846, 3), (103847, 3), (103849, 2), (103853, 1), (103854, 1), (103855, 1), (103858, 2), (103859, 2), (103861, 1), (103862, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero520 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos520 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck520

#print axioms MonskyCheck520.sel_zero520
#print axioms MonskyCheck520.sel_pos520

bsd/MonskyCheck521.lean

lean_all/bsd/MonskyCheck521.lean

/-
  bsd/MonskyCheck521.lean — T39 cycle 1202 (goal G779): Monsky's 2-Selmer matrix for squarefree 104001 ≤ n ≤ 104200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck521
open MonskyCheck

def zeroList : List Nat := [104001, 104002, 104003, 104010, 104019, 104035, 104042, 104051, 104059, 104066, 104073, 104082, 104099, 104105, 104107, 104122, 104123, 104137, 104138, 104145, 104146, 104147, 104154, 104155, 104163, 104169, 104171, 104177, 104178, 104179, 104194]
def posList : List (Nat × Nat) := [(104005, 1), (104006, 3), (104007, 3), (104009, 2), (104011, 2), (104014, 1), (104015, 3), (104017, 2), (104018, 2), (104021, 1), (104023, 1), (104026, 2), (104029, 1), (104030, 1), (104033, 2), (104034, 2), (104037, 1), (104038, 1), (104039, 1), (104041, 2), (104043, 2), (104045, 3), (104046, 1), (104047, 1), (104053, 1), (104054, 1), (104055, 1), (104057, 4), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero521 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos521 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck521

#print axioms MonskyCheck521.sel_zero521
#print axioms MonskyCheck521.sel_pos521

bsd/MonskyCheck522.lean

lean_all/bsd/MonskyCheck522.lean

/-
  bsd/MonskyCheck522.lean — T39 cycle 1204 (goal G779): Monsky's 2-Selmer matrix for squarefree 104201 ≤ n ≤ 104400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck522
open MonskyCheck

def zeroList : List Nat := [104203, 104210, 104217, 104219, 104226, 104227, 104241, 104243, 104258, 104267, 104289, 104290, 104291, 104298, 104299, 104305, 104307, 104313, 104314, 104315, 104322, 104323, 104330, 104331, 104338, 104339, 104347, 104361, 104362, 104363, 104371, 104377, 104378, 104394]
def posList : List (Nat × Nat) := [(104201, 2), (104205, 1), (104206, 1), (104207, 1), (104209, 2), (104214, 3), (104215, 1), (104218, 2), (104221, 3), (104230, 1), (104231, 1), (104233, 2), (104234, 2), (104235, 2), (104237, 1), (104239, 1), (104242, 2), (104245, 3), (104246, 1), (104249, 2), (104251, 4), (104253, 1), (104254, 1), (104255, 3), (104257, 4), (104259, 2), (104261, 3), (104262, 3), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero522 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos522 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck522

#print axioms MonskyCheck522.sel_zero522
#print axioms MonskyCheck522.sel_pos522

bsd/MonskyCheck523.lean

lean_all/bsd/MonskyCheck523.lean

/-
  bsd/MonskyCheck523.lean — T39 cycle 1206 (goal G779): Monsky's 2-Selmer matrix for squarefree 104401 ≤ n ≤ 104600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck523
open MonskyCheck

def zeroList : List Nat := [104401, 104411, 104433, 104434, 104435, 104457, 104458, 104459, 104466, 104474, 104489, 104491, 104497, 104505, 104506, 104507, 104514, 104515, 104523, 104529, 104530, 104546, 104570, 104579, 104586, 104587]
def posList : List (Nat × Nat) := [(104402, 2), (104403, 2), (104405, 1), (104406, 3), (104407, 1), (104410, 2), (104413, 1), (104414, 1), (104415, 3), (104417, 2), (104421, 1), (104422, 1), (104426, 2), (104429, 3), (104431, 1), (104437, 3), (104438, 1), (104439, 1), (104441, 2), (104443, 2), (104446, 1), (104447, 1), (104449, 2), (104451, 2), (104453, 1), (104455, 1), (104461, 1), (104462, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero523 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos523 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck523

#print axioms MonskyCheck523.sel_zero523
#print axioms MonskyCheck523.sel_pos523

bsd/MonskyCheck524.lean

lean_all/bsd/MonskyCheck524.lean

/-
  bsd/MonskyCheck524.lean — T39 cycle 1208 (goal G779): Monsky's 2-Selmer matrix for squarefree 104601 ≤ n ≤ 104800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck524
open MonskyCheck

def zeroList : List Nat := [104602, 104603, 104619, 104633, 104635, 104649, 104651, 104658, 104659, 104673, 104683, 104699, 104705, 104707, 104714, 104723, 104731, 104739, 104745, 104754, 104755, 104770, 104779, 104785]
def posList : List (Nat × Nat) := [(104601, 2), (104605, 3), (104606, 1), (104609, 4), (104610, 2), (104613, 1), (104614, 3), (104617, 2), (104621, 1), (104622, 1), (104623, 1), (104626, 2), (104627, 2), (104629, 1), (104630, 1), (104631, 1), (104637, 1), (104638, 3), (104639, 1), (104641, 2), (104642, 2), (104645, 3), (104646, 1), (104647, 1), (104653, 3), (104654, 1), (104655, 1), (104657, 2), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero524 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos524 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck524

#print axioms MonskyCheck524.sel_zero524
#print axioms MonskyCheck524.sel_pos524

bsd/MonskyCheck525.lean

lean_all/bsd/MonskyCheck525.lean

/-
  bsd/MonskyCheck525.lean — T39 cycle 1210 (goal G779): Monsky's 2-Selmer matrix for squarefree 104801 ≤ n ≤ 105000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck525
open MonskyCheck

def zeroList : List Nat := [104802, 104803, 104809, 104817, 104819, 104827, 104842, 104851, 104874, 104883, 104889, 104890, 104891, 104898, 104906, 104915, 104923, 104929, 104930, 104937, 104939, 104946, 104947, 104954, 104955, 104961, 104962, 104963, 104970, 104971, 104987]
def posList : List (Nat × Nat) := [(104801, 2), (104806, 1), (104807, 3), (104810, 2), (104813, 1), (104815, 1), (104818, 2), (104821, 3), (104822, 1), (104826, 2), (104829, 1), (104830, 1), (104831, 1), (104833, 2), (104834, 2), (104835, 2), (104837, 1), (104838, 1), (104839, 1), (104843, 2), (104845, 1), (104846, 1), (104847, 1), (104849, 2), (104853, 3), (104854, 1), (104855, 1), (104857, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero525 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos525 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck525

#print axioms MonskyCheck525.sel_zero525
#print axioms MonskyCheck525.sel_pos525

bsd/MonskyCheck526.lean

lean_all/bsd/MonskyCheck526.lean

/-
  bsd/MonskyCheck526.lean — T39 cycle 1212 (goal G779): Monsky's 2-Selmer matrix for squarefree 105001 ≤ n ≤ 105200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck526
open MonskyCheck

def zeroList : List Nat := [105002, 105009, 105010, 105017, 105019, 105027, 105033, 105034, 105035, 105042, 105043, 105049, 105067, 105073, 105074, 105081, 105082, 105083, 105089, 105091, 105098, 105107, 105115, 105123, 105130, 105153, 105161, 105162, 105163, 105169, 105177, 105179, 105186, 105187, 105194, 105195]
def posList : List (Nat × Nat) := [(105001, 2), (105005, 3), (105006, 1), (105011, 2), (105013, 1), (105014, 1), (105015, 1), (105018, 2), (105022, 1), (105023, 1), (105026, 2), (105029, 1), (105031, 1), (105037, 1), (105038, 1), (105041, 2), (105045, 1), (105046, 1), (105047, 1), (105053, 1), (105054, 1), (105055, 1), (105058, 2), (105059, 2), (105061, 1), (105062, 1), (105063, 1), (105065, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero526 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos526 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck526

#print axioms MonskyCheck526.sel_zero526
#print axioms MonskyCheck526.sel_pos526

bsd/MonskyCheck527.lean

lean_all/bsd/MonskyCheck527.lean

/-
  bsd/MonskyCheck527.lean — T39 cycle 1214 (goal G779): Monsky's 2-Selmer matrix for squarefree 105201 ≤ n ≤ 105400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck527
open MonskyCheck

def zeroList : List Nat := [105211, 105226, 105227, 105234, 105235, 105241, 105243, 105249, 105251, 105257, 105258, 105274, 105281, 105283, 105289, 105297, 105298, 105306, 105314, 105321, 105322, 105323, 105330, 105331, 105347, 105362, 105370, 105371, 105379, 105385, 105386, 105387, 105395]
def posList : List (Nat × Nat) := [(105202, 2), (105205, 1), (105206, 1), (105207, 1), (105209, 2), (105213, 1), (105214, 1), (105215, 1), (105217, 2), (105218, 2), (105221, 1), (105222, 3), (105223, 1), (105229, 1), (105230, 1), (105231, 1), (105233, 2), (105238, 1), (105239, 1), (105242, 2), (105245, 1), (105247, 1), (105253, 1), (105254, 1), (105259, 2), (105261, 1), (105262, 1), (105263, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero527 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos527 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck527

#print axioms MonskyCheck527.sel_zero527
#print axioms MonskyCheck527.sel_pos527

bsd/MonskyCheck528.lean

lean_all/bsd/MonskyCheck528.lean

/-
  bsd/MonskyCheck528.lean — T39 cycle 1216 (goal G779): Monsky's 2-Selmer matrix for squarefree 105401 ≤ n ≤ 105600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck528
open MonskyCheck

def zeroList : List Nat := [105402, 105403, 105411, 105418, 105419, 105433, 105457, 105458, 105459, 105466, 105467, 105474, 105490, 105491, 105499, 105513, 105514, 105515, 105522, 105537, 105539, 105555, 105563, 105578, 105586, 105587, 105594]
def posList : List (Nat × Nat) := [(105401, 2), (105405, 1), (105406, 3), (105407, 1), (105409, 2), (105410, 2), (105414, 3), (105415, 1), (105421, 1), (105422, 1), (105423, 1), (105427, 2), (105429, 1), (105430, 1), (105431, 1), (105434, 2), (105437, 1), (105438, 1), (105439, 1), (105441, 2), (105442, 2), (105443, 2), (105445, 3), (105446, 1), (105447, 1), (105449, 2), (105451, 2), (105454, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero528 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos528 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck528

#print axioms MonskyCheck528.sel_zero528
#print axioms MonskyCheck528.sel_pos528

bsd/MonskyCheck529.lean

lean_all/bsd/MonskyCheck529.lean

/-
  bsd/MonskyCheck529.lean — T39 cycle 1218 (goal G779): Monsky's 2-Selmer matrix for squarefree 105601 ≤ n ≤ 105800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck529
open MonskyCheck

def zeroList : List Nat := [105603, 105609, 105610, 105619, 105626, 105627, 105643, 105657, 105659, 105665, 105667, 105674, 105681, 105682, 105683, 105690, 105691, 105697, 105699, 105715, 105722, 105729, 105730, 105731, 105737, 105738, 105746, 105747, 105753, 105755, 105762, 105787, 105793]
def posList : List (Nat × Nat) := [(105601, 2), (105602, 2), (105605, 3), (105607, 1), (105611, 2), (105613, 1), (105614, 1), (105617, 2), (105618, 2), (105621, 1), (105622, 3), (105623, 3), (105629, 1), (105630, 1), (105631, 1), (105634, 2), (105635, 2), (105637, 1), (105638, 3), (105639, 1), (105641, 2), (105645, 1), (105646, 1), (105647, 1), (105649, 2), (105653, 1), (105654, 1), (105655, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero529 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos529 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck529

#print axioms MonskyCheck529.sel_zero529
#print axioms MonskyCheck529.sel_pos529

bsd/MonskyCheck53.lean

lean_all/bsd/MonskyCheck53.lean

/-
  bsd/MonskyCheck53.lean — T39 cycle 390 (goal G110): Monsky's 2-Selmer matrix for squarefree 10401 ≤ n ≤ 10600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck53
open MonskyCheck

def zeroList : List Nat := [10401, 10403, 10410, 10411, 10417, 10426, 10427, 10435, 10442, 10459, 10465, 10473, 10474, 10482, 10483, 10497, 10498, 10499, 10506, 10507, 10515, 10522, 10523, 10531, 10554, 10561, 10569, 10570, 10578, 10579, 10595]
def posList : List (Nat × Nat) := [(10402, 2), (10405, 3), (10407, 1), (10409, 2), (10414, 3), (10415, 1), (10418, 2), (10419, 2), (10421, 3), (10423, 1), (10429, 1), (10430, 1), (10433, 2), (10434, 2), (10438, 3), (10439, 1), (10441, 2), (10445, 3), (10446, 1), (10447, 1), (10451, 2), (10453, 1), (10454, 1), (10455, 1), (10457, 2), (10461, 1), (10462, 1), (10463, 1), (10466, 2), (10470, 1), (1047  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero53 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos53 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck53

#print axioms MonskyCheck53.sel_zero53
#print axioms MonskyCheck53.sel_pos53

bsd/MonskyCheck530.lean

lean_all/bsd/MonskyCheck530.lean

/-
  bsd/MonskyCheck530.lean — T39 cycle 1220 (goal G779): Monsky's 2-Selmer matrix for squarefree 105801 ≤ n ≤ 106000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck530
open MonskyCheck

def zeroList : List Nat := [105801, 105802, 105803, 105809, 105810, 105811, 105818, 105833, 105834, 105859, 105873, 105883, 105890, 105891, 105899, 105906, 105907, 105914, 105915, 105922, 105931, 105946, 105954, 105962, 105969, 105970, 105971, 105978, 105979, 105986]
def posList : List (Nat × Nat) := [(105805, 1), (105806, 1), (105807, 3), (105814, 1), (105815, 1), (105817, 2), (105819, 2), (105821, 1), (105823, 1), (105826, 2), (105827, 2), (105829, 1), (105830, 1), (105835, 2), (105837, 1), (105838, 1), (105839, 1), (105841, 2), (105842, 2), (105843, 2), (105845, 3), (105846, 1), (105847, 3), (105851, 2), (105853, 1), (105854, 3), (105855, 1), (105857, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero530 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos530 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck530

#print axioms MonskyCheck530.sel_zero530
#print axioms MonskyCheck530.sel_pos530

bsd/MonskyCheck531.lean

lean_all/bsd/MonskyCheck531.lean

/-
  bsd/MonskyCheck531.lean — T39 cycle 1224 (goal G780): Monsky's 2-Selmer matrix for squarefree 106001 ≤ n ≤ 106200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck531
open MonskyCheck

def zeroList : List Nat := [106001, 106009, 106017, 106018, 106019, 106041, 106058, 106066, 106067, 106073, 106081, 106082, 106089, 106098, 106106, 106115, 106123, 106130, 106131, 106138, 106139, 106145, 106154, 106163, 106179, 106186, 106187, 106195]
def posList : List (Nat × Nat) := [(106003, 2), (106005, 1), (106006, 1), (106007, 1), (106010, 2), (106013, 1), (106014, 1), (106015, 1), (106021, 1), (106022, 1), (106023, 1), (106026, 2), (106027, 2), (106030, 1), (106031, 1), (106033, 2), (106034, 2), (106035, 2), (106037, 1), (106039, 1), (106042, 2), (106043, 2), (106045, 1), (106046, 3), (106049, 2), (106051, 2), (106053, 1), (106054, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero531 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos531 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck531

#print axioms MonskyCheck531.sel_zero531
#print axioms MonskyCheck531.sel_pos531

bsd/MonskyCheck532.lean

lean_all/bsd/MonskyCheck532.lean

/-
  bsd/MonskyCheck532.lean — T39 cycle 1226 (goal G780): Monsky's 2-Selmer matrix for squarefree 106201 ≤ n ≤ 106400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck532
open MonskyCheck

def zeroList : List Nat := [106202, 106219, 106233, 106234, 106235, 106241, 106242, 106243, 106249, 106251, 106257, 106259, 106266, 106283, 106291, 106298, 106307, 106315, 106323, 106331, 106338, 106339, 106346, 106363, 106370, 106377, 106378, 106386, 106387, 106394, 106395]
def posList : List (Nat × Nat) := [(106201, 2), (106203, 2), (106205, 1), (106206, 1), (106207, 1), (106210, 2), (106211, 2), (106213, 1), (106214, 1), (106215, 1), (106217, 2), (106221, 1), (106222, 1), (106223, 1), (106226, 2), (106229, 1), (106230, 1), (106231, 3), (106237, 1), (106239, 1), (106246, 1), (106247, 1), (106253, 1), (106255, 3), (106258, 2), (106261, 1), (106262, 1), (106265, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero532 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos532 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck532

#print axioms MonskyCheck532.sel_zero532
#print axioms MonskyCheck532.sel_pos532

bsd/MonskyCheck533.lean

lean_all/bsd/MonskyCheck533.lean

/-
  bsd/MonskyCheck533.lean — T39 cycle 1228 (goal G780): Monsky's 2-Selmer matrix for squarefree 106401 ≤ n ≤ 106600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck533
open MonskyCheck

def zeroList : List Nat := [106403, 106410, 106411, 106418, 106419, 106427, 106435, 106451, 106457, 106458, 106459, 106473, 106482, 106489, 106505, 106513, 106514, 106521, 106522, 106529, 106530, 106531, 106538, 106545, 106547, 106554, 106561, 106570, 106593]
def posList : List (Nat × Nat) := [(106401, 2), (106402, 2), (106405, 1), (106406, 1), (106409, 2), (106413, 1), (106414, 1), (106415, 1), (106417, 2), (106421, 1), (106422, 3), (106423, 1), (106426, 2), (106429, 1), (106430, 1), (106431, 1), (106433, 2), (106437, 1), (106438, 1), (106439, 1), (106441, 2), (106442, 2), (106445, 3), (106446, 1), (106447, 1), (106449, 2), (106453, 1), (106454, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero533 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos533 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck533

#print axioms MonskyCheck533.sel_zero533
#print axioms MonskyCheck533.sel_pos533

bsd/MonskyCheck534.lean

lean_all/bsd/MonskyCheck534.lean

/-
  bsd/MonskyCheck534.lean — T39 cycle 1230 (goal G780): Monsky's 2-Selmer matrix for squarefree 106601 ≤ n ≤ 106800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck534
open MonskyCheck

def zeroList : List Nat := [106603, 106609, 106610, 106611, 106618, 106619, 106626, 106627, 106634, 106635, 106643, 106651, 106666, 106667, 106674, 106682, 106699, 106723, 106737, 106738, 106739, 106746, 106747, 106755, 106762, 106763, 106770, 106786, 106787]
def posList : List (Nat × Nat) := [(106602, 2), (106606, 1), (106607, 3), (106613, 1), (106615, 1), (106617, 2), (106621, 1), (106622, 1), (106629, 1), (106630, 1), (106631, 3), (106633, 2), (106637, 1), (106638, 1), (106642, 2), (106645, 1), (106646, 1), (106647, 1), (106649, 2), (106653, 3), (106654, 1), (106655, 1), (106657, 2), (106658, 4), (106661, 1), (106662, 1), (106663, 1), (106665, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero534 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos534 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck534

#print axioms MonskyCheck534.sel_zero534
#print axioms MonskyCheck534.sel_pos534

bsd/MonskyCheck535.lean

lean_all/bsd/MonskyCheck535.lean

/-
  bsd/MonskyCheck535.lean — T39 cycle 1232 (goal G780): Monsky's 2-Selmer matrix for squarefree 106801 ≤ n ≤ 107000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck535
open MonskyCheck

def zeroList : List Nat := [106809, 106810, 106833, 106849, 106859, 106867, 106874, 106890, 106891, 106898, 106899, 106905, 106906, 106907, 106915, 106923, 106931, 106939, 106954, 106962, 106963, 106970, 106979, 106986, 106994]
def posList : List (Nat × Nat) := [(106801, 2), (106802, 2), (106805, 3), (106806, 1), (106811, 2), (106813, 1), (106814, 1), (106815, 1), (106817, 2), (106818, 2), (106819, 2), (106822, 1), (106823, 1), (106826, 2), (106827, 2), (106829, 1), (106831, 3), (106834, 2), (106835, 2), (106837, 1), (106838, 1), (106841, 2), (106842, 2), (106845, 1), (106846, 3), (106847, 1), (106851, 2), (106853, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero535 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos535 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck535

#print axioms MonskyCheck535.sel_zero535
#print axioms MonskyCheck535.sel_pos535

bsd/MonskyCheck536.lean

lean_all/bsd/MonskyCheck536.lean

/-
  bsd/MonskyCheck536.lean — T39 cycle 1234 (goal G780): Monsky's 2-Selmer matrix for squarefree 107001 ≤ n ≤ 107200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck536
open MonskyCheck

def zeroList : List Nat := [107002, 107003, 107011, 107026, 107027, 107034, 107035, 107043, 107049, 107058, 107067, 107074, 107090, 107098, 107099, 107106, 107115, 107121, 107122, 107123, 107129, 107130, 107147, 107153, 107162, 107169, 107171, 107177, 107178, 107187, 107193, 107194]
def posList : List (Nat × Nat) := [(107005, 3), (107006, 1), (107007, 3), (107009, 2), (107013, 1), (107014, 1), (107015, 1), (107017, 2), (107018, 2), (107021, 1), (107022, 1), (107023, 3), (107029, 3), (107030, 1), (107031, 1), (107033, 2), (107038, 1), (107039, 1), (107041, 2), (107042, 2), (107045, 3), (107047, 1), (107051, 2), (107053, 1), (107054, 1), (107057, 2), (107059, 2), (107061, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero536 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos536 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck536

#print axioms MonskyCheck536.sel_zero536
#print axioms MonskyCheck536.sel_pos536

bsd/MonskyCheck537.lean

lean_all/bsd/MonskyCheck537.lean

/-
  bsd/MonskyCheck537.lean — T39 cycle 1236 (goal G780): Monsky's 2-Selmer matrix for squarefree 107201 ≤ n ≤ 107400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck537
open MonskyCheck

def zeroList : List Nat := [107203, 107227, 107241, 107243, 107251, 107257, 107258, 107259, 107274, 107283, 107299, 107306, 107313, 107321, 107323, 107330, 107331, 107337, 107339, 107345, 107346, 107347, 107354, 107363, 107369, 107371, 107378, 107386, 107394, 107395]
def posList : List (Nat × Nat) := [(107201, 2), (107202, 2), (107205, 1), (107207, 3), (107209, 2), (107210, 2), (107211, 2), (107213, 1), (107214, 1), (107215, 3), (107218, 2), (107221, 1), (107222, 1), (107223, 1), (107229, 1), (107230, 1), (107231, 1), (107233, 2), (107234, 2), (107237, 1), (107238, 1), (107239, 1), (107245, 3), (107246, 1), (107247, 1), (107249, 2), (107254, 1), (107255, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero537 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos537 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck537

#print axioms MonskyCheck537.sel_zero537
#print axioms MonskyCheck537.sel_pos537

bsd/MonskyCheck538.lean

lean_all/bsd/MonskyCheck538.lean

/-
  bsd/MonskyCheck538.lean — T39 cycle 1238 (goal G780): Monsky's 2-Selmer matrix for squarefree 107401 ≤ n ≤ 107600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck538
open MonskyCheck

def zeroList : List Nat := [107401, 107403, 107409, 107411, 107417, 107419, 107426, 107434, 107435, 107443, 107458, 107466, 107467, 107481, 107483, 107498, 107507, 107515, 107521, 107522, 107529, 107530, 107531, 107538, 107546, 107547, 107553, 107562, 107563, 107570]
def posList : List (Nat × Nat) := [(107402, 2), (107405, 3), (107407, 1), (107410, 2), (107413, 1), (107414, 1), (107418, 2), (107421, 1), (107422, 3), (107423, 3), (107427, 2), (107429, 3), (107430, 1), (107431, 1), (107437, 1), (107438, 1), (107439, 1), (107441, 2), (107445, 1), (107446, 1), (107447, 1), (107449, 2), (107453, 1), (107454, 1), (107455, 1), (107459, 2), (107461, 1), (107462, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero538 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos538 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck538

#print axioms MonskyCheck538.sel_zero538
#print axioms MonskyCheck538.sel_pos538

bsd/MonskyCheck539.lean

lean_all/bsd/MonskyCheck539.lean

/-
  bsd/MonskyCheck539.lean — T39 cycle 1240 (goal G780): Monsky's 2-Selmer matrix for squarefree 107601 ≤ n ≤ 107800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck539
open MonskyCheck

def zeroList : List Nat := [107602, 107603, 107610, 107619, 107626, 107627, 107634, 107642, 107643, 107651, 107657, 107659, 107674, 107691, 107697, 107699, 107706, 107722, 107731, 107745, 107747, 107754, 107755, 107763, 107769, 107770, 107779, 107786, 107787]
def posList : List (Nat × Nat) := [(107601, 2), (107605, 3), (107606, 1), (107607, 1), (107609, 2), (107611, 2), (107614, 1), (107615, 1), (107617, 2), (107618, 2), (107621, 1), (107623, 1), (107629, 1), (107630, 1), (107633, 2), (107635, 2), (107637, 1), (107638, 1), (107639, 1), (107641, 2), (107645, 3), (107646, 1), (107647, 1), (107654, 1), (107655, 1), (107661, 1), (107662, 1), (107663, 3), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero539 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos539 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck539

#print axioms MonskyCheck539.sel_zero539
#print axioms MonskyCheck539.sel_pos539

bsd/MonskyCheck54.lean

lean_all/bsd/MonskyCheck54.lean

/-
  bsd/MonskyCheck54.lean — T39 cycle 391 (goal G111): Monsky's 2-Selmer matrix for squarefree 10601 ≤ n ≤ 10800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck54
open MonskyCheck

def zeroList : List Nat := [10610, 10617, 10618, 10627, 10634, 10641, 10643, 10651, 10659, 10666, 10667, 10681, 10689, 10690, 10691, 10697, 10698, 10706, 10713, 10714, 10715, 10722, 10723, 10739, 10745, 10754, 10762, 10763, 10771, 10778, 10779, 10793, 10794, 10795]
def posList : List (Nat × Nat) := [(10601, 2), (10603, 2), (10605, 1), (10606, 1), (10607, 1), (10613, 1), (10614, 1), (10615, 1), (10619, 2), (10621, 1), (10622, 1), (10623, 1), (10626, 2), (10630, 1), (10631, 1), (10635, 2), (10637, 1), (10639, 1), (10642, 2), (10645, 3), (10646, 1), (10649, 2), (10653, 1), (10654, 1), (10655, 1), (10657, 2), (10661, 1), (10662, 3), (10663, 1), (10669, 1), (1067  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero54 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos54 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck54

#print axioms MonskyCheck54.sel_zero54
#print axioms MonskyCheck54.sel_pos54

bsd/MonskyCheck540.lean

lean_all/bsd/MonskyCheck540.lean

/-
  bsd/MonskyCheck540.lean — T39 cycle 1242 (goal G780): Monsky's 2-Selmer matrix for squarefree 107801 ≤ n ≤ 108000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck540
open MonskyCheck

def zeroList : List Nat := [107801, 107810, 107817, 107818, 107819, 107826, 107827, 107833, 107834, 107841, 107843, 107867, 107889, 107890, 107891, 107905, 107906, 107907, 107913, 107915, 107921, 107922, 107923, 107930, 107938, 107963, 107971, 107977, 107978, 107979, 107985, 107994]
def posList : List (Nat × Nat) := [(107803, 2), (107805, 1), (107806, 1), (107807, 3), (107809, 2), (107813, 1), (107814, 1), (107815, 1), (107821, 1), (107823, 1), (107830, 1), (107831, 3), (107835, 2), (107837, 1), (107839, 1), (107842, 2), (107845, 3), (107846, 1), (107851, 2), (107853, 1), (107854, 1), (107855, 1), (107857, 2), (107858, 2), (107859, 2), (107861, 3), (107862, 3), (107863, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero540 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos540 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck540

#print axioms MonskyCheck540.sel_zero540
#print axioms MonskyCheck540.sel_pos540

bsd/MonskyCheck541.lean

lean_all/bsd/MonskyCheck541.lean

/-
  bsd/MonskyCheck541.lean — T39 cycle 1246 (goal G781): Monsky's 2-Selmer matrix for squarefree 108001 ≤ n ≤ 108200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck541
open MonskyCheck

def zeroList : List Nat := [108011, 108017, 108019, 108026, 108033, 108034, 108035, 108051, 108057, 108074, 108082, 108083, 108091, 108105, 108107, 108131, 108138, 108139, 108145, 108147, 108155, 108163, 108170, 108179, 108185, 108187, 108195]
def posList : List (Nat × Nat) := [(108001, 2), (108002, 2), (108003, 2), (108005, 3), (108006, 3), (108007, 1), (108010, 2), (108013, 1), (108014, 1), (108015, 1), (108021, 1), (108022, 1), (108023, 1), (108029, 1), (108030, 1), (108031, 1), (108037, 1), (108038, 1), (108039, 1), (108041, 2), (108042, 2), (108043, 2), (108046, 3), (108047, 3), (108049, 2), (108055, 1), (108058, 2), (108059, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero541 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos541 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck541

#print axioms MonskyCheck541.sel_zero541
#print axioms MonskyCheck541.sel_pos541

bsd/MonskyCheck542.lean

lean_all/bsd/MonskyCheck542.lean

/-
  bsd/MonskyCheck542.lean — T39 cycle 1248 (goal G781): Monsky's 2-Selmer matrix for squarefree 108201 ≤ n ≤ 108400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck542
open MonskyCheck

def zeroList : List Nat := [108201, 108202, 108203, 108211, 108226, 108227, 108235, 108249, 108258, 108265, 108266, 108267, 108273, 108274, 108281, 108283, 108307, 108314, 108321, 108323, 108331, 108337, 108338, 108347, 108354, 108355, 108361, 108362, 108363, 108370, 108379, 108393, 108394, 108395]
def posList : List (Nat × Nat) := [(108205, 1), (108206, 1), (108209, 2), (108210, 2), (108213, 1), (108214, 1), (108215, 1), (108217, 2), (108218, 2), (108219, 2), (108221, 1), (108222, 1), (108223, 1), (108229, 1), (108230, 1), (108231, 1), (108233, 2), (108237, 1), (108238, 1), (108239, 3), (108242, 2), (108245, 3), (108246, 1), (108247, 1), (108251, 2), (108253, 1), (108254, 1), (108255, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero542 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos542 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck542

#print axioms MonskyCheck542.sel_zero542
#print axioms MonskyCheck542.sel_pos542

bsd/MonskyCheck543.lean

lean_all/bsd/MonskyCheck543.lean

/-
  bsd/MonskyCheck543.lean — T39 cycle 1250 (goal G781): Monsky's 2-Selmer matrix for squarefree 108401 ≤ n ≤ 108600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck543
open MonskyCheck

def zeroList : List Nat := [108402, 108403, 108411, 108426, 108435, 108449, 108458, 108465, 108467, 108473, 108481, 108482, 108483, 108490, 108491, 108499, 108506, 108530, 108538, 108539, 108554, 108555, 108561, 108563, 108571, 108579, 108586, 108587, 108595]
def posList : List (Nat × Nat) := [(108401, 2), (108406, 1), (108407, 1), (108409, 2), (108410, 2), (108413, 1), (108415, 1), (108417, 2), (108418, 2), (108419, 2), (108421, 1), (108422, 1), (108427, 2), (108429, 3), (108430, 1), (108431, 1), (108433, 2), (108434, 2), (108438, 1), (108439, 1), (108442, 2), (108443, 2), (108446, 1), (108447, 1), (108451, 2), (108453, 1), (108454, 3), (108455, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero543 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos543 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck543

#print axioms MonskyCheck543.sel_zero543
#print axioms MonskyCheck543.sel_pos543

bsd/MonskyCheck544.lean

lean_all/bsd/MonskyCheck544.lean

/-
  bsd/MonskyCheck544.lean — T39 cycle 1252 (goal G781): Monsky's 2-Selmer matrix for squarefree 108601 ≤ n ≤ 108800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck544
open MonskyCheck

def zeroList : List Nat := [108610, 108611, 108627, 108634, 108635, 108643, 108665, 108674, 108683, 108690, 108691, 108698, 108705, 108706, 108707, 108713, 108730, 108739, 108745, 108746, 108753, 108762, 108770, 108771, 108786, 108794, 108795]
def posList : List (Nat × Nat) := [(108601, 2), (108602, 2), (108605, 1), (108606, 1), (108607, 1), (108609, 2), (108613, 1), (108614, 3), (108615, 3), (108617, 2), (108618, 2), (108619, 2), (108622, 1), (108623, 1), (108626, 2), (108629, 1), (108631, 1), (108637, 1), (108638, 1), (108641, 2), (108642, 2), (108645, 1), (108646, 1), (108647, 1), (108649, 2), (108651, 2), (108653, 1), (108654, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero544 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos544 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck544

#print axioms MonskyCheck544.sel_zero544
#print axioms MonskyCheck544.sel_pos544

bsd/MonskyCheck545.lean

lean_all/bsd/MonskyCheck545.lean

/-
  bsd/MonskyCheck545.lean — T39 cycle 1254 (goal G781): Monsky's 2-Selmer matrix for squarefree 108801 ≤ n ≤ 109000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck545
open MonskyCheck

def zeroList : List Nat := [108803, 108826, 108827, 108833, 108835, 108842, 108843, 108851, 108866, 108867, 108874, 108883, 108889, 108897, 108905, 108906, 108907, 108921, 108922, 108923, 108930, 108931, 108938, 108946, 108947, 108955, 108962, 108970, 108971, 108977, 108978, 108979, 108986, 108987]
def posList : List (Nat × Nat) := [(108802, 2), (108805, 1), (108806, 1), (108807, 1), (108809, 2), (108811, 2), (108813, 1), (108814, 1), (108815, 1), (108817, 2), (108818, 2), (108821, 1), (108822, 1), (108823, 1), (108830, 1), (108831, 1), (108834, 2), (108838, 1), (108839, 1), (108841, 2), (108845, 1), (108847, 1), (108849, 2), (108853, 1), (108854, 1), (108857, 2), (108858, 2), (108859, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero545 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos545 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck545

#print axioms MonskyCheck545.sel_zero545
#print axioms MonskyCheck545.sel_pos545

bsd/MonskyCheck546.lean

lean_all/bsd/MonskyCheck546.lean

/-
  bsd/MonskyCheck546.lean — T39 cycle 1256 (goal G781): Monsky's 2-Selmer matrix for squarefree 109001 ≤ n ≤ 109200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck546
open MonskyCheck

def zeroList : List Nat := [109002, 109003, 109009, 109010, 109011, 109018, 109019, 109033, 109034, 109059, 109067, 109082, 109090, 109115, 109137, 109138, 109139, 109145, 109147, 109153, 109155, 109162, 109163, 109171, 109177, 109178, 109185, 109187, 109194]
def posList : List (Nat × Nat) := [(109001, 2), (109006, 1), (109007, 1), (109013, 1), (109014, 3), (109015, 1), (109023, 1), (109027, 2), (109029, 1), (109030, 1), (109031, 1), (109037, 1), (109038, 1), (109039, 3), (109041, 2), (109042, 2), (109043, 2), (109045, 1), (109046, 1), (109047, 1), (109049, 2), (109051, 2), (109054, 1), (109055, 1), (109057, 2), (109058, 2), (109061, 1), (109063, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero546 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos546 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck546

#print axioms MonskyCheck546.sel_zero546
#print axioms MonskyCheck546.sel_pos546

bsd/MonskyCheck547.lean

lean_all/bsd/MonskyCheck547.lean

/-
  bsd/MonskyCheck547.lean — T39 cycle 1258 (goal G781): Monsky's 2-Selmer matrix for squarefree 109201 ≤ n ≤ 109400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck547
open MonskyCheck

def zeroList : List Nat := [109209, 109210, 109211, 109218, 109219, 109226, 109235, 109241, 109243, 109257, 109258, 109266, 109267, 109282, 109283, 109290, 109291, 109307, 109315, 109322, 109329, 109331, 109338, 109353, 109354, 109362, 109363, 109369, 109370, 109379, 109385, 109387, 109393, 109394]
def posList : List (Nat × Nat) := [(109201, 2), (109202, 2), (109203, 2), (109205, 3), (109207, 1), (109213, 1), (109214, 1), (109217, 2), (109222, 1), (109223, 3), (109227, 2), (109229, 1), (109230, 1), (109231, 1), (109234, 2), (109237, 3), (109238, 1), (109239, 1), (109245, 1), (109246, 1), (109247, 1), (109249, 2), (109253, 1), (109254, 3), (109255, 1), (109259, 2), (109261, 3), (109262, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero547 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos547 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck547

#print axioms MonskyCheck547.sel_zero547
#print axioms MonskyCheck547.sel_pos547

bsd/MonskyCheck548.lean

lean_all/bsd/MonskyCheck548.lean

/-
  bsd/MonskyCheck548.lean — T39 cycle 1260 (goal G781): Monsky's 2-Selmer matrix for squarefree 109401 ≤ n ≤ 109600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck548
open MonskyCheck

def zeroList : List Nat := [109401, 109403, 109410, 109418, 109419, 109427, 109434, 109451, 109482, 109490, 109491, 109497, 109498, 109506, 109507, 109523, 109545, 109546, 109547, 109563, 109569, 109570, 109578, 109579, 109586, 109595]
def posList : List (Nat × Nat) := [(109402, 2), (109405, 3), (109406, 1), (109407, 1), (109409, 2), (109411, 2), (109414, 1), (109415, 3), (109421, 1), (109423, 1), (109426, 2), (109429, 1), (109430, 1), (109433, 2), (109435, 2), (109437, 1), (109438, 1), (109439, 1), (109441, 2), (109442, 2), (109445, 1), (109446, 1), (109447, 1), (109453, 1), (109454, 1), (109455, 1), (109457, 2), (109459, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero548 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos548 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck548

#print axioms MonskyCheck548.sel_zero548
#print axioms MonskyCheck548.sel_pos548

bsd/MonskyCheck549.lean

lean_all/bsd/MonskyCheck549.lean

/-
  bsd/MonskyCheck549.lean — T39 cycle 1262 (goal G781): Monsky's 2-Selmer matrix for squarefree 109601 ≤ n ≤ 109800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck549
open MonskyCheck

def zeroList : List Nat := [109603, 109610, 109617, 109619, 109641, 109642, 109643, 109651, 109658, 109659, 109682, 109689, 109691, 109698, 109707, 109713, 109714, 109715, 109723, 109730, 109738, 109739, 109745, 109754, 109761, 109763, 109769, 109778, 109794, 109795]
def posList : List (Nat × Nat) := [(109601, 2), (109605, 1), (109606, 1), (109607, 1), (109609, 2), (109614, 1), (109615, 1), (109618, 2), (109621, 1), (109622, 1), (109623, 1), (109627, 2), (109630, 1), (109631, 1), (109633, 2), (109634, 2), (109635, 2), (109637, 1), (109639, 1), (109645, 3), (109646, 1), (109649, 2), (109653, 1), (109654, 1), (109655, 1), (109657, 2), (109661, 1), (109663, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero549 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos549 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck549

#print axioms MonskyCheck549.sel_zero549
#print axioms MonskyCheck549.sel_pos549

bsd/MonskyCheck55.lean

lean_all/bsd/MonskyCheck55.lean

/-
  bsd/MonskyCheck55.lean — T39 cycle 392 (goal G112): Monsky's 2-Selmer matrix for squarefree 10801 ≤ n ≤ 11000, by rfl.
  s₂(n) = 0 for 39 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 81 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck55
open MonskyCheck

def zeroList : List Nat := [10802, 10811, 10826, 10833, 10835, 10842, 10849, 10851, 10857, 10858, 10859, 10866, 10867, 10873, 10874, 10883, 10891, 10905, 10906, 10907, 10915, 10921, 10922, 10923, 10929, 10930, 10931, 10939, 10946, 10947, 10954, 10955, 10970, 10977, 10978, 10979, 10986, 10987, 10995]
def posList : List (Nat × Nat) := [(10801, 2), (10803, 2), (10805, 3), (10806, 3), (10807, 1), (10810, 2), (10813, 1), (10814, 1), (10815, 1), (10817, 2), (10819, 2), (10821, 1), (10822, 1), (10823, 1), (10831, 1), (10834, 2), (10837, 1), (10838, 1), (10839, 1), (10841, 2), (10843, 2), (10846, 1), (10847, 1), (10853, 1), (10855, 1), (10861, 1), (10862, 1), (10865, 2), (10869, 1), (10870, 1), (1087  -- (+606 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero55 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos55 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck55

#print axioms MonskyCheck55.sel_zero55
#print axioms MonskyCheck55.sel_pos55

bsd/MonskyCheck550.lean

lean_all/bsd/MonskyCheck550.lean

/-
  bsd/MonskyCheck550.lean — T39 cycle 1264 (goal G781): Monsky's 2-Selmer matrix for squarefree 109801 ≤ n ≤ 110000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck550
open MonskyCheck

def zeroList : List Nat := [109801, 109802, 109803, 109810, 109819, 109833, 109834, 109835, 109842, 109843, 109851, 109859, 109882, 109883, 109891, 109898, 109905, 109906, 109914, 109915, 109922, 109923, 109929, 109930, 109946, 109947, 109954, 109978, 109986, 109987, 109995]
def posList : List (Nat × Nat) := [(109805, 3), (109806, 1), (109807, 1), (109811, 2), (109813, 1), (109814, 1), (109815, 3), (109817, 2), (109821, 1), (109822, 1), (109823, 3), (109826, 2), (109829, 1), (109830, 1), (109831, 1), (109837, 3), (109838, 1), (109839, 1), (109841, 2), (109846, 1), (109847, 1), (109849, 2), (109853, 3), (109855, 1), (109857, 2), (109861, 1), (109862, 1), (109865, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero550 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos550 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck550

#print axioms MonskyCheck550.sel_zero550
#print axioms MonskyCheck550.sel_pos550

bsd/MonskyCheck551.lean

lean_all/bsd/MonskyCheck551.lean

/-
  bsd/MonskyCheck551.lean — T39 cycle 1268 (goal G782): Monsky's 2-Selmer matrix for squarefree 110001 ≤ n ≤ 110200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck551
open MonskyCheck

def zeroList : List Nat := [110001, 110026, 110027, 110042, 110049, 110051, 110058, 110059, 110066, 110067, 110073, 110074, 110081, 110083, 110090, 110099, 110107, 110122, 110138, 110139, 110147, 110153, 110154, 110162, 110179, 110193]
def posList : List (Nat × Nat) := [(110002, 2), (110003, 2), (110006, 1), (110009, 2), (110010, 2), (110011, 2), (110013, 1), (110014, 1), (110015, 1), (110017, 2), (110018, 2), (110021, 1), (110022, 1), (110023, 1), (110029, 1), (110030, 1), (110031, 1), (110033, 2), (110035, 2), (110037, 1), (110038, 1), (110039, 1), (110041, 4), (110045, 1), (110046, 1), (110047, 3), (110053, 1), (110055, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero551 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos551 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck551

#print axioms MonskyCheck551.sel_zero551
#print axioms MonskyCheck551.sel_pos551

bsd/MonskyCheck552.lean

lean_all/bsd/MonskyCheck552.lean

/-
  bsd/MonskyCheck552.lean — T39 cycle 1270 (goal G782): Monsky's 2-Selmer matrix for squarefree 110201 ≤ n ≤ 110400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck552
open MonskyCheck

def zeroList : List Nat := [110202, 110210, 110217, 110218, 110226, 110234, 110235, 110242, 110243, 110251, 110257, 110258, 110267, 110274, 110282, 110283, 110291, 110298, 110307, 110315, 110323, 110337, 110338, 110339, 110347, 110353, 110355, 110361, 110370, 110387]
def posList : List (Nat × Nat) := [(110203, 2), (110206, 1), (110207, 3), (110209, 2), (110211, 2), (110213, 1), (110215, 1), (110219, 2), (110221, 1), (110222, 1), (110227, 2), (110229, 1), (110230, 1), (110233, 2), (110237, 1), (110238, 1), (110239, 3), (110245, 1), (110246, 1), (110247, 1), (110249, 2), (110253, 1), (110254, 1), (110255, 1), (110261, 1), (110262, 1), (110263, 1), (110265, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero552 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos552 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck552

#print axioms MonskyCheck552.sel_zero552
#print axioms MonskyCheck552.sel_pos552

bsd/MonskyCheck553.lean

lean_all/bsd/MonskyCheck553.lean

/-
  bsd/MonskyCheck553.lean — T39 cycle 1272 (goal G782): Monsky's 2-Selmer matrix for squarefree 110401 ≤ n ≤ 110600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck553
open MonskyCheck

def zeroList : List Nat := [110410, 110418, 110419, 110426, 110427, 110442, 110451, 110458, 110459, 110467, 110482, 110483, 110490, 110491, 110499, 110507, 110514, 110530, 110531, 110539, 110553, 110554, 110562, 110563, 110570, 110571, 110578, 110579, 110586, 110587]
def posList : List (Nat × Nat) := [(110401, 2), (110402, 2), (110405, 3), (110406, 1), (110407, 1), (110409, 2), (110411, 2), (110413, 1), (110414, 1), (110415, 1), (110417, 2), (110422, 1), (110423, 1), (110429, 1), (110431, 1), (110433, 2), (110434, 2), (110435, 2), (110437, 1), (110438, 1), (110441, 2), (110443, 2), (110445, 1), (110447, 1), (110449, 4), (110453, 1), (110454, 1), (110455, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero553 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos553 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck553

#print axioms MonskyCheck553.sel_zero553
#print axioms MonskyCheck553.sel_pos553

bsd/MonskyCheck554.lean

lean_all/bsd/MonskyCheck554.lean

/-
  bsd/MonskyCheck554.lean — T39 cycle 1274 (goal G782): Monsky's 2-Selmer matrix for squarefree 110601 ≤ n ≤ 110800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck554
open MonskyCheck

def zeroList : List Nat := [110602, 110603, 110611, 110618, 110634, 110651, 110658, 110659, 110666, 110683, 110690, 110697, 110705, 110706, 110707, 110713, 110714, 110722, 110723, 110730, 110731, 110737, 110746, 110747, 110755, 110762, 110769, 110771, 110786, 110787, 110793]
def posList : List (Nat × Nat) := [(110605, 1), (110606, 1), (110607, 1), (110609, 2), (110613, 1), (110614, 1), (110615, 1), (110617, 2), (110621, 1), (110622, 1), (110623, 1), (110626, 2), (110627, 2), (110629, 1), (110630, 1), (110631, 1), (110633, 2), (110635, 2), (110638, 1), (110639, 1), (110641, 2), (110643, 2), (110645, 3), (110647, 1), (110649, 2), (110653, 1), (110654, 1), (110657, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero554 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos554 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck554

#print axioms MonskyCheck554.sel_zero554
#print axioms MonskyCheck554.sel_pos554

bsd/MonskyCheck555.lean

lean_all/bsd/MonskyCheck555.lean

/-
  bsd/MonskyCheck555.lean — T39 cycle 1276 (goal G782): Monsky's 2-Selmer matrix for squarefree 110801 ≤ n ≤ 111000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck555
open MonskyCheck

def zeroList : List Nat := [110801, 110802, 110811, 110818, 110819, 110841, 110843, 110858, 110859, 110865, 110874, 110891, 110897, 110899, 110906, 110913, 110915, 110922, 110923, 110929, 110930, 110931, 110937, 110938, 110939, 110947, 110955, 110962, 110963, 110986]
def posList : List (Nat × Nat) := [(110803, 2), (110805, 3), (110806, 1), (110807, 1), (110809, 2), (110810, 2), (110813, 1), (110814, 1), (110815, 3), (110821, 1), (110822, 1), (110823, 1), (110829, 1), (110830, 1), (110831, 1), (110833, 2), (110834, 2), (110837, 1), (110839, 3), (110842, 2), (110845, 1), (110846, 1), (110847, 1), (110849, 2), (110851, 2), (110854, 1), (110855, 1), (110857, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero555 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos555 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck555

#print axioms MonskyCheck555.sel_zero555
#print axioms MonskyCheck555.sel_pos555

bsd/MonskyCheck556.lean

lean_all/bsd/MonskyCheck556.lean

/-
  bsd/MonskyCheck556.lean — T39 cycle 1278 (goal G782): Monsky's 2-Selmer matrix for squarefree 111001 ≤ n ≤ 111200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck556
open MonskyCheck

def zeroList : List Nat := [111001, 111002, 111009, 111017, 111026, 111035, 111043, 111057, 111059, 111066, 111067, 111074, 111082, 111089, 111091, 111097, 111099, 111122, 111130, 111138, 111146, 111147, 111154, 111169, 111170, 111178, 111179, 111187, 111193]
def posList : List (Nat × Nat) := [(111003, 2), (111007, 1), (111010, 2), (111011, 2), (111013, 1), (111014, 1), (111018, 2), (111019, 2), (111021, 1), (111022, 1), (111023, 1), (111027, 2), (111029, 1), (111030, 1), (111031, 1), (111037, 3), (111038, 1), (111039, 1), (111041, 2), (111045, 1), (111046, 1), (111047, 1), (111049, 2), (111053, 1), (111054, 1), (111055, 1), (111058, 2), (111061, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero556 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos556 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck556

#print axioms MonskyCheck556.sel_zero556
#print axioms MonskyCheck556.sel_pos556

bsd/MonskyCheck557.lean

lean_all/bsd/MonskyCheck557.lean

/-
  bsd/MonskyCheck557.lean — T39 cycle 1280 (goal G782): Monsky's 2-Selmer matrix for squarefree 111201 ≤ n ≤ 111400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck557
open MonskyCheck

def zeroList : List Nat := [111203, 111210, 111211, 111219, 111226, 111227, 111234, 111235, 111242, 111243, 111251, 111259, 111273, 111291, 111298, 111306, 111315, 111322, 111323, 111329, 111331, 111345, 111347, 111353, 111354, 111363, 111369, 111370, 111387]
def posList : List (Nat × Nat) := [(111201, 2), (111205, 1), (111206, 1), (111207, 1), (111209, 2), (111214, 1), (111215, 1), (111217, 2), (111218, 2), (111221, 1), (111223, 1), (111229, 1), (111233, 2), (111237, 1), (111238, 1), (111239, 1), (111241, 2), (111245, 1), (111246, 1), (111247, 1), (111253, 1), (111254, 1), (111255, 1), (111257, 2), (111261, 1), (111262, 1), (111263, 1), (111266, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero557 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos557 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck557

#print axioms MonskyCheck557.sel_zero557
#print axioms MonskyCheck557.sel_pos557

bsd/MonskyCheck558.lean

lean_all/bsd/MonskyCheck558.lean

/-
  bsd/MonskyCheck558.lean — T39 cycle 1282 (goal G782): Monsky's 2-Selmer matrix for squarefree 111401 ≤ n ≤ 111600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck558
open MonskyCheck

def zeroList : List Nat := [111403, 111410, 111417, 111418, 111427, 111434, 111443, 111457, 111459, 111466, 111467, 111473, 111481, 111489, 111490, 111491, 111498, 111513, 111515, 111522, 111523, 111529, 111539, 111545, 111561, 111563, 111569, 111594]
def posList : List (Nat × Nat) := [(111401, 4), (111405, 1), (111406, 1), (111407, 1), (111409, 2), (111413, 1), (111414, 1), (111415, 1), (111419, 2), (111421, 1), (111422, 1), (111423, 3), (111430, 1), (111431, 1), (111433, 2), (111435, 2), (111437, 1), (111439, 1), (111442, 2), (111445, 3), (111446, 1), (111449, 2), (111451, 2), (111453, 1), (111454, 1), (111455, 1), (111458, 2), (111461, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero558 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos558 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck558

#print axioms MonskyCheck558.sel_zero558
#print axioms MonskyCheck558.sel_pos558

bsd/MonskyCheck559.lean

lean_all/bsd/MonskyCheck559.lean

/-
  bsd/MonskyCheck559.lean — T39 cycle 1284 (goal G782): Monsky's 2-Selmer matrix for squarefree 111601 ≤ n ≤ 111800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck559
open MonskyCheck

def zeroList : List Nat := [111611, 111626, 111633, 111635, 111651, 111657, 111658, 111659, 111665, 111666, 111667, 111674, 111682, 111689, 111706, 111714, 111715, 111722, 111729, 111730, 111731, 111738, 111739, 111746, 111770, 111777, 111779, 111786, 111787, 111793, 111795]
def posList : List (Nat × Nat) := [(111601, 2), (111602, 4), (111603, 2), (111605, 3), (111606, 1), (111607, 3), (111610, 2), (111613, 1), (111614, 1), (111615, 1), (111617, 2), (111621, 1), (111623, 1), (111629, 1), (111631, 1), (111634, 2), (111637, 1), (111638, 1), (111639, 1), (111641, 2), (111642, 2), (111643, 2), (111646, 1), (111647, 1), (111649, 2), (111653, 1), (111655, 1), (111661, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero559 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos559 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck559

#print axioms MonskyCheck559.sel_zero559
#print axioms MonskyCheck559.sel_pos559

bsd/MonskyCheck56.lean

lean_all/bsd/MonskyCheck56.lean

/-
  bsd/MonskyCheck56.lean — T39 cycle 393 (goal G113): Monsky's 2-Selmer matrix for squarefree 11001 ≤ n ≤ 11200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck56
open MonskyCheck

def zeroList : List Nat := [11001, 11002, 11003, 11018, 11026, 11027, 11033, 11035, 11049, 11051, 11058, 11059, 11073, 11083, 11090, 11098, 11099, 11114, 11121, 11122, 11130, 11131, 11145, 11146, 11153, 11155, 11162, 11170, 11171, 11194]
def posList : List (Nat × Nat) := [(11005, 3), (11006, 1), (11009, 2), (11010, 2), (11013, 1), (11014, 1), (11015, 1), (11017, 2), (11019, 2), (11021, 1), (11022, 1), (11023, 1), (11029, 3), (11030, 1), (11031, 1), (11037, 1), (11038, 1), (11039, 1), (11041, 2), (11042, 2), (11046, 1), (11047, 1), (11053, 1), (11054, 1), (11055, 1), (11057, 2), (11062, 1), (11063, 1), (11065, 2), (11066, 2), (1106  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero56 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos56 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck56

#print axioms MonskyCheck56.sel_zero56
#print axioms MonskyCheck56.sel_pos56

bsd/MonskyCheck560.lean

lean_all/bsd/MonskyCheck560.lean

/-
  bsd/MonskyCheck560.lean — T39 cycle 1286 (goal G782): Monsky's 2-Selmer matrix for squarefree 111801 ≤ n ≤ 112000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck560
open MonskyCheck

def zeroList : List Nat := [111802, 111811, 111826, 111827, 111835, 111849, 111866, 111882, 111891, 111898, 111907, 111914, 111921, 111922, 111929, 111930, 111931, 111939, 111945, 111947, 111962, 111970, 111979, 111986, 111993, 111994, 111995]
def posList : List (Nat × Nat) := [(111801, 2), (111803, 2), (111805, 1), (111806, 1), (111809, 4), (111810, 2), (111813, 1), (111814, 1), (111815, 1), (111817, 2), (111819, 2), (111821, 1), (111822, 1), (111823, 1), (111829, 1), (111830, 1), (111831, 1), (111833, 2), (111837, 1), (111838, 1), (111839, 1), (111841, 4), (111842, 2), (111845, 3), (111846, 1), (111847, 1), (111851, 2), (111854, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero560 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos560 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck560

#print axioms MonskyCheck560.sel_zero560
#print axioms MonskyCheck560.sel_pos560

bsd/MonskyCheck561.lean

lean_all/bsd/MonskyCheck561.lean

/-
  bsd/MonskyCheck561.lean — T39 cycle 1290 (goal G784): Monsky's 2-Selmer matrix for squarefree 112001 ≤ n ≤ 112200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck561
open MonskyCheck

def zeroList : List Nat := [112002, 112003, 112011, 112017, 112019, 112035, 112051, 112058, 112067, 112074, 112081, 112083, 112089, 112090, 112098, 112105, 112106, 112114, 112115, 112123, 112130, 112137, 112138, 112139, 112146, 112154, 112155, 112163, 112170, 112178, 112186, 112187]
def posList : List (Nat × Nat) := [(112001, 2), (112006, 1), (112007, 1), (112009, 2), (112010, 2), (112013, 1), (112015, 1), (112018, 2), (112021, 1), (112022, 1), (112026, 2), (112027, 2), (112029, 1), (112030, 1), (112031, 1), (112033, 2), (112034, 2), (112037, 1), (112038, 3), (112039, 1), (112042, 2), (112043, 2), (112045, 3), (112049, 2), (112053, 1), (112054, 1), (112055, 1), (112057, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero561 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos561 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck561

#print axioms MonskyCheck561.sel_zero561
#print axioms MonskyCheck561.sel_pos561

bsd/MonskyCheck562.lean

lean_all/bsd/MonskyCheck562.lean

/-
  bsd/MonskyCheck562.lean — T39 cycle 1292 (goal G784): Monsky's 2-Selmer matrix for squarefree 112201 ≤ n ≤ 112400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck562
open MonskyCheck

def zeroList : List Nat := [112202, 112209, 112227, 112233, 112234, 112235, 112251, 112267, 112281, 112282, 112283, 112291, 112298, 112305, 112315, 112321, 112330, 112331, 112339, 112346, 112354, 112355, 112363, 112370, 112377, 112378, 112379, 112386, 112387, 112394, 112395]
def posList : List (Nat × Nat) := [(112201, 2), (112205, 3), (112206, 1), (112207, 1), (112213, 1), (112214, 1), (112215, 1), (112217, 2), (112218, 2), (112219, 2), (112222, 1), (112223, 1), (112226, 2), (112229, 1), (112231, 1), (112237, 1), (112238, 3), (112241, 2), (112242, 2), (112243, 2), (112245, 1), (112246, 1), (112247, 1), (112249, 2), (112253, 1), (112254, 1), (112255, 1), (112261, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero562 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos562 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck562

#print axioms MonskyCheck562.sel_zero562
#print axioms MonskyCheck562.sel_pos562

bsd/MonskyCheck563.lean

lean_all/bsd/MonskyCheck563.lean

/-
  bsd/MonskyCheck563.lean — T39 cycle 1294 (goal G784): Monsky's 2-Selmer matrix for squarefree 112401 ≤ n ≤ 112600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck563
open MonskyCheck

def zeroList : List Nat := [112402, 112403, 112411, 112426, 112427, 112435, 112442, 112443, 112449, 112451, 112457, 112459, 112466, 112474, 112507, 112513, 112514, 112515, 112521, 112523, 112529, 112531, 112537, 112538, 112539, 112570, 112571, 112585, 112587, 112594, 112595]
def posList : List (Nat × Nat) := [(112405, 3), (112407, 1), (112413, 1), (112414, 1), (112415, 1), (112417, 2), (112418, 2), (112422, 1), (112423, 1), (112429, 1), (112430, 1), (112431, 1), (112433, 2), (112434, 2), (112438, 3), (112439, 1), (112441, 2), (112445, 1), (112447, 3), (112453, 1), (112454, 3), (112458, 2), (112461, 1), (112462, 1), (112463, 1), (112465, 2), (112467, 2), (112469, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero563 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos563 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck563

#print axioms MonskyCheck563.sel_zero563
#print axioms MonskyCheck563.sel_pos563

bsd/MonskyCheck564.lean

lean_all/bsd/MonskyCheck564.lean

/-
  bsd/MonskyCheck564.lean — T39 cycle 1296 (goal G784): Monsky's 2-Selmer matrix for squarefree 112601 ≤ n ≤ 112800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck564
open MonskyCheck

def zeroList : List Nat := [112603, 112610, 112618, 112619, 112633, 112634, 112641, 112643, 112666, 112667, 112673, 112691, 112713, 112714, 112715, 112722, 112729, 112730, 112731, 112737, 112739, 112755, 112762, 112763, 112771, 112778, 112785, 112787, 112795]
def posList : List (Nat × Nat) := [(112601, 2), (112605, 1), (112606, 1), (112607, 3), (112609, 2), (112611, 2), (112613, 1), (112615, 1), (112621, 1), (112622, 1), (112623, 1), (112629, 1), (112630, 1), (112631, 1), (112637, 1), (112638, 1), (112639, 1), (112642, 4), (112645, 1), (112646, 1), (112647, 1), (112649, 2), (112654, 3), (112655, 1), (112657, 2), (112658, 2), (112661, 1), (112663, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero564 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos564 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck564

#print axioms MonskyCheck564.sel_zero564
#print axioms MonskyCheck564.sel_pos564

bsd/MonskyCheck565.lean

lean_all/bsd/MonskyCheck565.lean

/-
  bsd/MonskyCheck565.lean — T39 cycle 1298 (goal G784): Monsky's 2-Selmer matrix for squarefree 112801 ≤ n ≤ 113000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck565
open MonskyCheck

def zeroList : List Nat := [112803, 112810, 112818, 112835, 112841, 112843, 112849, 112857, 112858, 112859, 112866, 112874, 112882, 112883, 112890, 112891, 112898, 112906, 112907, 112915, 112922, 112929, 112930, 112937, 112939, 112947, 112954, 112979, 112985, 112987]
def posList : List (Nat × Nat) := [(112801, 2), (112802, 2), (112805, 1), (112807, 1), (112809, 2), (112811, 2), (112813, 1), (112814, 1), (112817, 2), (112819, 2), (112821, 1), (112822, 3), (112823, 1), (112826, 2), (112827, 2), (112829, 1), (112830, 1), (112831, 1), (112834, 2), (112837, 3), (112838, 1), (112839, 1), (112845, 1), (112846, 3), (112853, 3), (112854, 1), (112855, 1), (112861, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero565 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos565 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck565

#print axioms MonskyCheck565.sel_zero565
#print axioms MonskyCheck565.sel_pos565

bsd/MonskyCheck566.lean

lean_all/bsd/MonskyCheck566.lean

/-
  bsd/MonskyCheck566.lean — T39 cycle 1300 (goal G784): Monsky's 2-Selmer matrix for squarefree 113001 ≤ n ≤ 113200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck566
open MonskyCheck

def zeroList : List Nat := [113001, 113002, 113003, 113010, 113011, 113018, 113027, 113042, 113051, 113066, 113073, 113074, 113083, 113090, 113091, 113097, 113114, 113115, 113122, 113123, 113129, 113131, 113145, 113146, 113147, 113154, 113163, 113169, 113170, 113171, 113178, 113187, 113194]
def posList : List (Nat × Nat) := [(113005, 1), (113006, 1), (113007, 1), (113009, 2), (113015, 1), (113017, 2), (113019, 2), (113021, 1), (113023, 1), (113026, 2), (113029, 1), (113030, 1), (113033, 2), (113034, 2), (113035, 2), (113037, 1), (113038, 1), (113039, 1), (113041, 2), (113045, 1), (113046, 1), (113047, 1), (113053, 1), (113054, 1), (113055, 1), (113057, 2), (113059, 2), (113062, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero566 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos566 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck566

#print axioms MonskyCheck566.sel_zero566
#print axioms MonskyCheck566.sel_pos566

bsd/MonskyCheck567.lean

lean_all/bsd/MonskyCheck567.lean

/-
  bsd/MonskyCheck567.lean — T39 cycle 1302 (goal G784): Monsky's 2-Selmer matrix for squarefree 113201 ≤ n ≤ 113400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck567
open MonskyCheck

def zeroList : List Nat := [113201, 113203, 113226, 113227, 113234, 113241, 113242, 113243, 113251, 113258, 113259, 113273, 113282, 113297, 113299, 113305, 113314, 113315, 113323, 113330, 113339, 113361, 113363, 113371, 113378, 113379, 113387, 113394]
def posList : List (Nat × Nat) := [(113205, 1), (113207, 3), (113209, 2), (113210, 2), (113213, 1), (113214, 1), (113215, 1), (113217, 2), (113218, 2), (113219, 2), (113221, 1), (113222, 1), (113223, 1), (113231, 1), (113233, 2), (113235, 2), (113237, 1), (113245, 3), (113246, 3), (113249, 2), (113253, 1), (113254, 3), (113255, 1), (113257, 2), (113261, 3), (113262, 1), (113263, 3), (113266, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero567 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos567 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck567

#print axioms MonskyCheck567.sel_zero567
#print axioms MonskyCheck567.sel_pos567

bsd/MonskyCheck568.lean

lean_all/bsd/MonskyCheck568.lean

/-
  bsd/MonskyCheck568.lean — T39 cycle 1304 (goal G784): Monsky's 2-Selmer matrix for squarefree 113401 ≤ n ≤ 113600, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck568
open MonskyCheck

def zeroList : List Nat := [113402, 113433, 113442, 113443, 113449, 113457, 113459, 113465, 113467, 113483, 113514, 113523, 113530, 113538, 113539, 113546, 113555, 113563, 113578, 113579, 113586, 113587, 113595]
def posList : List (Nat × Nat) := [(113401, 2), (113403, 2), (113405, 1), (113406, 1), (113407, 3), (113410, 2), (113411, 2), (113413, 1), (113414, 1), (113415, 3), (113417, 2), (113419, 2), (113421, 1), (113422, 1), (113423, 1), (113426, 2), (113429, 1), (113430, 1), (113431, 1), (113434, 2), (113437, 1), (113438, 1), (113439, 1), (113441, 4), (113446, 1), (113447, 3), (113451, 2), (113453, 1), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero568 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos568 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck568

#print axioms MonskyCheck568.sel_zero568
#print axioms MonskyCheck568.sel_pos568

bsd/MonskyCheck569.lean

lean_all/bsd/MonskyCheck569.lean

/-
  bsd/MonskyCheck569.lean — T39 cycle 1306 (goal G784): Monsky's 2-Selmer matrix for squarefree 113601 ≤ n ≤ 113800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck569
open MonskyCheck

def zeroList : List Nat := [113603, 113611, 113626, 113635, 113641, 113642, 113649, 113658, 113659, 113665, 113667, 113682, 113683, 113698, 113707, 113721, 113722, 113723, 113731, 113738, 113739, 113745, 113747, 113753, 113762, 113770, 113771, 113779, 113785, 113786, 113793]
def posList : List (Nat × Nat) := [(113601, 2), (113602, 2), (113605, 3), (113606, 3), (113609, 2), (113610, 2), (113613, 1), (113614, 1), (113615, 3), (113617, 2), (113618, 2), (113621, 1), (113622, 1), (113623, 1), (113629, 1), (113630, 1), (113633, 2), (113637, 1), (113638, 1), (113639, 1), (113645, 1), (113646, 1), (113647, 1), (113651, 2), (113653, 1), (113654, 1), (113655, 1), (113657, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero569 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos569 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck569

#print axioms MonskyCheck569.sel_zero569
#print axioms MonskyCheck569.sel_pos569

bsd/MonskyCheck57.lean

lean_all/bsd/MonskyCheck57.lean

/-
  bsd/MonskyCheck57.lean — T39 cycle 394 (goal G114): Monsky's 2-Selmer matrix for squarefree 11201 ≤ n ≤ 11400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck57
open MonskyCheck

def zeroList : List Nat := [11202, 11209, 11210, 11217, 11219, 11227, 11242, 11243, 11251, 11266, 11274, 11283, 11289, 11291, 11299, 11305, 11306, 11315, 11337, 11338, 11339, 11354, 11355, 11362, 11363, 11370, 11371, 11386, 11395]
def posList : List (Nat × Nat) := [(11201, 2), (11203, 2), (11206, 1), (11207, 1), (11211, 2), (11213, 1), (11215, 1), (11218, 2), (11222, 1), (11226, 2), (11229, 1), (11230, 1), (11231, 1), (11233, 2), (11234, 2), (11235, 2), (11237, 3), (11238, 3), (11239, 1), (11245, 1), (11246, 1), (11247, 1), (11249, 2), (11254, 3), (11255, 1), (11257, 2), (11258, 2), (11261, 1), (11262, 1), (11263, 1), (1126  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero57 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos57 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck57

#print axioms MonskyCheck57.sel_zero57
#print axioms MonskyCheck57.sel_pos57

bsd/MonskyCheck570.lean

lean_all/bsd/MonskyCheck570.lean

/-
  bsd/MonskyCheck570.lean — T39 cycle 1308 (goal G784): Monsky's 2-Selmer matrix for squarefree 113801 ≤ n ≤ 114000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck570
open MonskyCheck

def zeroList : List Nat := [113802, 113811, 113818, 113819, 113826, 113833, 113835, 113843, 113851, 113867, 113874, 113882, 113883, 113889, 113891, 113898, 113899, 113907, 113914, 113915, 113923, 113929, 113930, 113938, 113939, 113947, 113954, 113961, 113962, 113963, 113970, 113978, 113995]
def posList : List (Nat × Nat) := [(113801, 2), (113803, 2), (113806, 1), (113807, 1), (113809, 2), (113810, 2), (113813, 1), (113815, 1), (113817, 2), (113821, 1), (113822, 1), (113829, 1), (113830, 1), (113831, 1), (113834, 2), (113837, 1), (113838, 1), (113839, 1), (113842, 2), (113845, 3), (113846, 1), (113847, 1), (113849, 2), (113853, 1), (113854, 1), (113855, 1), (113857, 2), (113858, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero570 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos570 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck570

#print axioms MonskyCheck570.sel_zero570
#print axioms MonskyCheck570.sel_pos570

bsd/MonskyCheck571.lean

lean_all/bsd/MonskyCheck571.lean

/-
  bsd/MonskyCheck571.lean — T39 cycle 1312 (goal G786): Monsky's 2-Selmer matrix for squarefree 114001 ≤ n ≤ 114200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck571
open MonskyCheck

def zeroList : List Nat := [114026, 114033, 114035, 114042, 114043, 114049, 114058, 114059, 114065, 114067, 114074, 114083, 114090, 114091, 114099, 114105, 114107, 114153, 114154, 114162, 114169, 114171, 114177, 114179, 114187, 114195]
def posList : List (Nat × Nat) := [(114001, 2), (114002, 2), (114006, 1), (114007, 1), (114009, 2), (114010, 2), (114011, 2), (114013, 1), (114014, 1), (114015, 1), (114017, 4), (114018, 2), (114019, 4), (114022, 1), (114027, 2), (114029, 1), (114031, 1), (114034, 2), (114037, 1), (114038, 1), (114041, 2), (114045, 1), (114046, 3), (114047, 1), (114051, 2), (114053, 1), (114054, 3), (114055, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero571 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos571 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck571

#print axioms MonskyCheck571.sel_zero571
#print axioms MonskyCheck571.sel_pos571

bsd/MonskyCheck572.lean

lean_all/bsd/MonskyCheck572.lean

/-
  bsd/MonskyCheck572.lean — T39 cycle 1314 (goal G786): Monsky's 2-Selmer matrix for squarefree 114201 ≤ n ≤ 114400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck572
open MonskyCheck

def zeroList : List Nat := [114202, 114203, 114209, 114211, 114249, 114251, 114257, 114258, 114259, 114267, 114283, 114290, 114298, 114299, 114306, 114321, 114322, 114323, 114337, 114346, 114361, 114369, 114370, 114371, 114378, 114379, 114387, 114393, 114395]
def posList : List (Nat × Nat) := [(114205, 1), (114206, 1), (114207, 1), (114213, 1), (114214, 1), (114215, 3), (114217, 2), (114218, 2), (114221, 1), (114222, 1), (114223, 3), (114226, 2), (114227, 2), (114229, 1), (114230, 1), (114231, 1), (114233, 2), (114234, 2), (114235, 2), (114238, 1), (114239, 1), (114241, 2), (114243, 2), (114245, 1), (114247, 1), (114253, 1), (114254, 1), (114261, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero572 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos572 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck572

#print axioms MonskyCheck572.sel_zero572
#print axioms MonskyCheck572.sel_pos572

bsd/MonskyCheck573.lean

lean_all/bsd/MonskyCheck573.lean

/-
  bsd/MonskyCheck573.lean — T39 cycle 1322 (goal G786): Monsky's 2-Selmer matrix for squarefree 114401 ≤ n ≤ 114600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck573
open MonskyCheck

def zeroList : List Nat := [114410, 114411, 114418, 114419, 114433, 114434, 114441, 114442, 114451, 114458, 114459, 114467, 114491, 114506, 114521, 114522, 114523, 114531, 114538, 114539, 114546, 114547, 114555, 114563, 114569, 114571, 114578, 114586, 114594, 114595]
def posList : List (Nat × Nat) := [(114401, 2), (114402, 2), (114403, 2), (114405, 1), (114406, 1), (114407, 1), (114409, 2), (114414, 1), (114421, 1), (114422, 3), (114423, 1), (114427, 2), (114429, 1), (114430, 1), (114431, 1), (114438, 1), (114439, 1), (114443, 2), (114445, 1), (114446, 1), (114447, 1), (114449, 4), (114454, 3), (114455, 1), (114457, 2), (114461, 3), (114463, 1), (114465, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero573 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos573 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck573

#print axioms MonskyCheck573.sel_zero573
#print axioms MonskyCheck573.sel_pos573

bsd/MonskyCheck574.lean

lean_all/bsd/MonskyCheck574.lean

/-
  bsd/MonskyCheck574.lean — T39 cycle 1324 (goal G786): Monsky's 2-Selmer matrix for squarefree 114601 ≤ n ≤ 114800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck574
open MonskyCheck

def zeroList : List Nat := [114602, 114603, 114609, 114618, 114626, 114627, 114634, 114643, 114657, 114659, 114665, 114666, 114682, 114691, 114697, 114698, 114706, 114707, 114715, 114722, 114731, 114739, 114746, 114747, 114753, 114754, 114762, 114770, 114771, 114778, 114779, 114785, 114794]
def posList : List (Nat × Nat) := [(114601, 2), (114605, 3), (114607, 3), (114610, 2), (114613, 1), (114614, 1), (114617, 2), (114619, 2), (114621, 1), (114622, 3), (114623, 1), (114629, 1), (114630, 1), (114631, 1), (114635, 2), (114637, 1), (114639, 1), (114641, 2), (114645, 1), (114646, 1), (114647, 1), (114649, 2), (114653, 1), (114654, 3), (114655, 1), (114658, 2), (114661, 1), (114662, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero574 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos574 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck574

#print axioms MonskyCheck574.sel_zero574
#print axioms MonskyCheck574.sel_pos574

bsd/MonskyCheck575.lean

lean_all/bsd/MonskyCheck575.lean

/-
  bsd/MonskyCheck575.lean — T39 cycle 1326 (goal G786): Monsky's 2-Selmer matrix for squarefree 114801 ≤ n ≤ 115000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck575
open MonskyCheck

def zeroList : List Nat := [114802, 114817, 114818, 114819, 114826, 114827, 114834, 114857, 114859, 114882, 114883, 114891, 114897, 114898, 114906, 114923, 114946, 114947, 114953, 114955, 114963, 114969, 114970, 114971, 114978, 114986, 114994]
def posList : List (Nat × Nat) := [(114801, 2), (114803, 2), (114805, 3), (114806, 3), (114809, 2), (114810, 2), (114811, 2), (114814, 1), (114815, 1), (114821, 1), (114823, 1), (114830, 1), (114833, 2), (114835, 2), (114837, 1), (114838, 1), (114839, 3), (114841, 2), (114842, 2), (114843, 2), (114845, 1), (114846, 1), (114847, 1), (114851, 2), (114853, 1), (114854, 1), (114855, 1), (114861, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero575 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos575 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck575

#print axioms MonskyCheck575.sel_zero575
#print axioms MonskyCheck575.sel_pos575

bsd/MonskyCheck576.lean

lean_all/bsd/MonskyCheck576.lean

/-
  bsd/MonskyCheck576.lean — T39 cycle 1328 (goal G786): Monsky's 2-Selmer matrix for squarefree 115001 ≤ n ≤ 115200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck576
open MonskyCheck

def zeroList : List Nat := [115017, 115018, 115019, 115026, 115027, 115049, 115051, 115067, 115091, 115097, 115098, 115099, 115106, 115107, 115113, 115114, 115121, 115122, 115123, 115130, 115139, 115154, 115163, 115171, 115178, 115179]
def posList : List (Nat × Nat) := [(115001, 2), (115005, 1), (115006, 1), (115007, 1), (115009, 2), (115010, 2), (115013, 1), (115014, 1), (115015, 1), (115021, 1), (115023, 1), (115030, 1), (115031, 3), (115033, 2), (115034, 2), (115035, 2), (115037, 3), (115039, 3), (115041, 2), (115042, 4), (115043, 2), (115045, 1), (115046, 3), (115053, 1), (115054, 1), (115055, 1), (115057, 2), (115058, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero576 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos576 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck576

#print axioms MonskyCheck576.sel_zero576
#print axioms MonskyCheck576.sel_pos576

bsd/MonskyCheck577.lean

lean_all/bsd/MonskyCheck577.lean

/-
  bsd/MonskyCheck577.lean — T39 cycle 1330 (goal G786): Monsky's 2-Selmer matrix for squarefree 115201 ≤ n ≤ 115400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck577
open MonskyCheck

def zeroList : List Nat := [115203, 115211, 115226, 115233, 115241, 115242, 115251, 115259, 115266, 115273, 115274, 115305, 115306, 115307, 115314, 115315, 115323, 115330, 115331, 115339, 115345, 115354, 115363, 115369, 115377, 115379, 115385, 115386, 115387]
def posList : List (Nat × Nat) := [(115201, 2), (115202, 2), (115205, 3), (115206, 1), (115207, 3), (115210, 2), (115213, 1), (115214, 1), (115215, 3), (115219, 2), (115221, 3), (115222, 1), (115223, 1), (115229, 1), (115230, 1), (115231, 1), (115234, 2), (115235, 2), (115237, 1), (115238, 1), (115239, 1), (115243, 2), (115246, 1), (115247, 1), (115249, 2), (115253, 1), (115255, 1), (115257, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero577 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos577 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck577

#print axioms MonskyCheck577.sel_zero577
#print axioms MonskyCheck577.sel_pos577

bsd/MonskyCheck578.lean

lean_all/bsd/MonskyCheck578.lean

/-
  bsd/MonskyCheck578.lean — T39 cycle 1332 (goal G786): Monsky's 2-Selmer matrix for squarefree 115401 ≤ n ≤ 115600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck578
open MonskyCheck

def zeroList : List Nat := [115411, 115417, 115418, 115435, 115441, 115442, 115459, 115465, 115466, 115467, 115473, 115482, 115483, 115489, 115490, 115491, 115498, 115499, 115521, 115522, 115523, 115531, 115539, 115545, 115546, 115547, 115554, 115562, 115571, 115577, 115594]
def posList : List (Nat × Nat) := [(115401, 2), (115402, 2), (115403, 2), (115405, 3), (115406, 1), (115409, 2), (115410, 2), (115413, 1), (115414, 1), (115415, 1), (115419, 2), (115421, 1), (115422, 1), (115423, 1), (115426, 2), (115429, 1), (115430, 3), (115431, 1), (115433, 2), (115437, 1), (115438, 1), (115439, 3), (115445, 1), (115446, 1), (115447, 3), (115449, 2), (115451, 2), (115453, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero578 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos578 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck578

#print axioms MonskyCheck578.sel_zero578
#print axioms MonskyCheck578.sel_pos578

bsd/MonskyCheck579.lean

lean_all/bsd/MonskyCheck579.lean

/-
  bsd/MonskyCheck579.lean — T39 cycle 1334 (goal G786): Monsky's 2-Selmer matrix for squarefree 115601 ≤ n ≤ 115800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck579
open MonskyCheck

def zeroList : List Nat := [115602, 115603, 115610, 115611, 115626, 115642, 115643, 115651, 115658, 115665, 115673, 115674, 115683, 115706, 115715, 115723, 115729, 115730, 115737, 115739, 115745, 115746, 115747, 115755, 115761, 115763, 115770, 115771, 115778]
def posList : List (Nat × Nat) := [(115601, 2), (115606, 1), (115607, 1), (115609, 2), (115613, 1), (115615, 1), (115617, 2), (115618, 2), (115619, 2), (115621, 1), (115622, 1), (115627, 2), (115629, 1), (115630, 1), (115631, 1), (115633, 2), (115634, 2), (115635, 2), (115637, 1), (115638, 3), (115639, 1), (115645, 3), (115646, 1), (115647, 1), (115649, 2), (115653, 1), (115654, 1), (115655, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero579 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos579 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck579

#print axioms MonskyCheck579.sel_zero579
#print axioms MonskyCheck579.sel_pos579

bsd/MonskyCheck58.lean

lean_all/bsd/MonskyCheck58.lean

/-
  bsd/MonskyCheck58.lean — T39 cycle 395 (goal G115): Monsky's 2-Selmer matrix for squarefree 11401 ≤ n ≤ 11600, by rfl.
  s₂(n) = 0 for 39 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck58
open MonskyCheck

def zeroList : List Nat := [11402, 11409, 11410, 11411, 11418, 11419, 11426, 11427, 11433, 11434, 11435, 11442, 11443, 11451, 11459, 11467, 11482, 11483, 11490, 11491, 11498, 11499, 11506, 11507, 11514, 11530, 11537, 11546, 11553, 11554, 11561, 11562, 11570, 11579, 11585, 11586, 11587, 11594, 11595]
def posList : List (Nat × Nat) := [(11401, 2), (11405, 3), (11406, 1), (11407, 1), (11413, 1), (11414, 1), (11415, 1), (11422, 1), (11423, 1), (11429, 1), (11431, 3), (11437, 1), (11438, 1), (11441, 2), (11445, 1), (11446, 1), (11447, 1), (11453, 3), (11454, 1), (11455, 1), (11458, 2), (11461, 1), (11462, 3), (11463, 1), (11465, 2), (11469, 1), (11470, 1), (11471, 1), (11473, 2), (11474, 2), (1147  -- (+666 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero58 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos58 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck58

#print axioms MonskyCheck58.sel_zero58
#print axioms MonskyCheck58.sel_pos58

bsd/MonskyCheck580.lean

lean_all/bsd/MonskyCheck580.lean

/-
  bsd/MonskyCheck580.lean — T39 cycle 1336 (goal G786): Monsky's 2-Selmer matrix for squarefree 115801 ≤ n ≤ 116000, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 82 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck580
open MonskyCheck

def zeroList : List Nat := [115802, 115809, 115811, 115817, 115818, 115819, 115826, 115827, 115833, 115834, 115835, 115841, 115858, 115859, 115882, 115883, 115890, 115891, 115898, 115905, 115907, 115915, 115922, 115923, 115930, 115931, 115939, 115946, 115953, 115955, 115963, 115970, 115971, 115977, 115978, 115979, 115986, 115987]
def posList : List (Nat × Nat) := [(115801, 4), (115805, 1), (115806, 1), (115807, 1), (115810, 2), (115813, 1), (115814, 1), (115815, 1), (115822, 1), (115823, 1), (115829, 1), (115831, 1), (115837, 1), (115838, 1), (115842, 2), (115843, 2), (115845, 1), (115846, 1), (115847, 1), (115849, 2), (115853, 1), (115854, 1), (115855, 3), (115861, 1), (115862, 3), (115863, 1), (115865, 2), (115867, 2), (  -- (+700 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero580 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos580 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck580

#print axioms MonskyCheck580.sel_zero580
#print axioms MonskyCheck580.sel_pos580

bsd/MonskyCheck581.lean

lean_all/bsd/MonskyCheck581.lean

/-
  bsd/MonskyCheck581.lean — T39 cycle 1338 (goal G797): Monsky's 2-Selmer matrix for squarefree 116001 ≤ n ≤ 116200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck581
open MonskyCheck

def zeroList : List Nat := [116003, 116026, 116027, 116033, 116035, 116057, 116059, 116065, 116066, 116074, 116083, 116097, 116099, 116107, 116121, 116122, 116123, 116131, 116147, 116155, 116169, 116170, 116171, 116185, 116187, 116195]
def posList : List (Nat × Nat) := [(116002, 2), (116005, 3), (116006, 3), (116007, 1), (116009, 2), (116011, 2), (116013, 1), (116014, 1), (116015, 1), (116017, 2), (116018, 2), (116021, 1), (116022, 1), (116023, 1), (116029, 3), (116030, 3), (116031, 1), (116034, 2), (116038, 1), (116041, 2), (116042, 2), (116043, 2), (116045, 3), (116047, 1), (116049, 2), (116051, 2), (116053, 3), (116054, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero581 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos581 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck581

#print axioms MonskyCheck581.sel_zero581
#print axioms MonskyCheck581.sel_pos581

bsd/MonskyCheck582.lean

lean_all/bsd/MonskyCheck582.lean

/-
  bsd/MonskyCheck582.lean — T39 cycle 1340 (goal G797): Monsky's 2-Selmer matrix for squarefree 116201 ≤ n ≤ 116400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck582
open MonskyCheck

def zeroList : List Nat := [116202, 116210, 116218, 116234, 116241, 116243, 116251, 116265, 116266, 116274, 116283, 116299, 116305, 116313, 116314, 116322, 116323, 116330, 116331, 116339, 116347, 116353, 116355, 116363, 116369, 116371, 116378, 116387]
def posList : List (Nat × Nat) := [(116201, 2), (116203, 2), (116205, 1), (116206, 1), (116207, 1), (116209, 2), (116211, 2), (116213, 1), (116214, 1), (116215, 1), (116219, 2), (116221, 1), (116222, 1), (116223, 1), (116227, 2), (116229, 1), (116230, 1), (116231, 1), (116233, 2), (116237, 1), (116238, 1), (116239, 1), (116245, 1), (116246, 3), (116247, 1), (116249, 2), (116254, 1), (116255, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero582 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos582 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck582

#print axioms MonskyCheck582.sel_zero582
#print axioms MonskyCheck582.sel_pos582

bsd/MonskyCheck583.lean

lean_all/bsd/MonskyCheck583.lean

/-
  bsd/MonskyCheck583.lean — T39 cycle 1342 (goal G797): Monsky's 2-Selmer matrix for squarefree 116401 ≤ n ≤ 116600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck583
open MonskyCheck

def zeroList : List Nat := [116401, 116403, 116409, 116411, 116418, 116419, 116435, 116443, 116449, 116458, 116459, 116474, 116481, 116482, 116483, 116489, 116490, 116491, 116507, 116529, 116530, 116531, 116538, 116539, 116546, 116553, 116554, 116562, 116563, 116570, 116579, 116585, 116587]
def posList : List (Nat × Nat) := [(116405, 3), (116407, 1), (116410, 2), (116413, 1), (116414, 1), (116417, 2), (116421, 1), (116422, 1), (116423, 1), (116426, 2), (116429, 1), (116430, 1), (116431, 3), (116434, 2), (116437, 1), (116438, 1), (116439, 1), (116445, 1), (116446, 1), (116447, 1), (116453, 1), (116454, 1), (116455, 1), (116457, 2), (116461, 1), (116462, 1), (116463, 1), (116465, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero583 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos583 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck583

#print axioms MonskyCheck583.sel_zero583
#print axioms MonskyCheck583.sel_pos583

bsd/MonskyCheck584.lean

lean_all/bsd/MonskyCheck584.lean

/-
  bsd/MonskyCheck584.lean — T39 cycle 1344 (goal G797): Monsky's 2-Selmer matrix for squarefree 116601 ≤ n ≤ 116800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck584
open MonskyCheck

def zeroList : List Nat := [116601, 116611, 116618, 116619, 116634, 116635, 116643, 116666, 116673, 116682, 116690, 116691, 116697, 116698, 116706, 116707, 116731, 116737, 116747, 116753, 116754, 116761, 116762, 116763, 116769, 116770, 116771, 116787]
def posList : List (Nat × Nat) := [(116602, 2), (116605, 3), (116606, 1), (116607, 1), (116609, 2), (116614, 1), (116615, 1), (116617, 2), (116621, 1), (116623, 1), (116626, 2), (116627, 2), (116629, 1), (116630, 1), (116633, 2), (116637, 1), (116638, 1), (116639, 1), (116641, 2), (116642, 2), (116645, 5), (116646, 3), (116647, 1), (116651, 2), (116653, 1), (116654, 1), (116655, 1), (116657, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero584 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos584 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck584

#print axioms MonskyCheck584.sel_zero584
#print axioms MonskyCheck584.sel_pos584

bsd/MonskyCheck585.lean

lean_all/bsd/MonskyCheck585.lean

/-
  bsd/MonskyCheck585.lean — T39 cycle 1346 (goal G797): Monsky's 2-Selmer matrix for squarefree 116801 ≤ n ≤ 117000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck585
open MonskyCheck

def zeroList : List Nat := [116803, 116817, 116818, 116819, 116826, 116827, 116842, 116851, 116867, 116889, 116891, 116897, 116898, 116905, 116906, 116907, 116913, 116922, 116923, 116930, 116939, 116954, 116970, 116971, 116979]
def posList : List (Nat × Nat) := [(116801, 2), (116805, 1), (116806, 1), (116807, 1), (116809, 2), (116810, 2), (116813, 1), (116814, 1), (116815, 1), (116821, 1), (116822, 1), (116823, 1), (116830, 1), (116831, 1), (116833, 2), (116834, 2), (116835, 2), (116837, 1), (116839, 3), (116841, 2), (116843, 2), (116845, 3), (116846, 1), (116849, 2), (116853, 1), (116854, 1), (116855, 1), (116857, 2), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero585 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos585 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck585

#print axioms MonskyCheck585.sel_zero585
#print axioms MonskyCheck585.sel_pos585

bsd/MonskyCheck586.lean

lean_all/bsd/MonskyCheck586.lean

/-
  bsd/MonskyCheck586.lean — T39 cycle 1348 (goal G797): Monsky's 2-Selmer matrix for squarefree 117001 ≤ n ≤ 117200, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck586
open MonskyCheck

def zeroList : List Nat := [117002, 117003, 117010, 117019, 117034, 117042, 117043, 117049, 117051, 117057, 117058, 117066, 117073, 117082, 117091, 117097, 117098, 117105, 117106, 117107, 117114, 117115, 117122, 117123, 117129, 117131, 117145, 117146, 117147, 117154, 117161, 117163, 117170, 117178, 117179, 117185, 117186, 117194]
def posList : List (Nat × Nat) := [(117001, 2), (117005, 1), (117006, 1), (117011, 2), (117013, 1), (117014, 3), (117015, 1), (117017, 2), (117021, 1), (117022, 1), (117023, 1), (117026, 2), (117029, 1), (117030, 1), (117031, 1), (117033, 2), (117035, 2), (117037, 1), (117038, 1), (117039, 1), (117041, 2), (117046, 1), (117047, 3), (117053, 1), (117055, 1), (117059, 2), (117062, 1), (117065, 2), (  -- (+713 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero586 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos586 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck586

#print axioms MonskyCheck586.sel_zero586
#print axioms MonskyCheck586.sel_pos586

bsd/MonskyCheck587.lean

lean_all/bsd/MonskyCheck587.lean

/-
  bsd/MonskyCheck587.lean — T39 cycle 1350 (goal G797): Monsky's 2-Selmer matrix for squarefree 117201 ≤ n ≤ 117400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck587
open MonskyCheck

def zeroList : List Nat := [117203, 117210, 117211, 117217, 117219, 117226, 117233, 117235, 117251, 117258, 117259, 117265, 117267, 117273, 117274, 117282, 117283, 117299, 117307, 117321, 117322, 117331, 117337, 117338, 117339, 117345, 117347, 117371, 117386, 117393, 117395]
def posList : List (Nat × Nat) := [(117201, 2), (117202, 2), (117205, 1), (117206, 1), (117209, 2), (117213, 1), (117214, 1), (117215, 1), (117218, 2), (117221, 1), (117222, 1), (117223, 1), (117227, 2), (117229, 1), (117230, 1), (117231, 1), (117237, 1), (117239, 1), (117241, 2), (117245, 1), (117246, 1), (117247, 1), (117253, 1), (117254, 1), (117255, 1), (117262, 1), (117263, 1), (117266, 4), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero587 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos587 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck587

#print axioms MonskyCheck587.sel_zero587
#print axioms MonskyCheck587.sel_pos587

bsd/MonskyCheck588.lean

lean_all/bsd/MonskyCheck588.lean

/-
  bsd/MonskyCheck588.lean — T39 cycle 1352 (goal G797): Monsky's 2-Selmer matrix for squarefree 117401 ≤ n ≤ 117600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck588
open MonskyCheck

def zeroList : List Nat := [117401, 117402, 117403, 117410, 117417, 117419, 117426, 117427, 117433, 117434, 117435, 117442, 117443, 117451, 117466, 117467, 117474, 117481, 117482, 117483, 117489, 117499, 117514, 117515, 117539, 117554, 117555, 117563, 117570, 117571, 117578, 117586, 117593]
def posList : List (Nat × Nat) := [(117406, 3), (117407, 3), (117409, 2), (117411, 2), (117413, 1), (117415, 1), (117418, 2), (117421, 1), (117422, 1), (117429, 1), (117430, 1), (117431, 1), (117437, 1), (117439, 1), (117445, 1), (117446, 1), (117447, 1), (117449, 4), (117454, 1), (117457, 4), (117458, 2), (117461, 1), (117462, 1), (117463, 1), (117465, 2), (117469, 1), (117470, 1), (117471, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero588 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos588 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck588

#print axioms MonskyCheck588.sel_zero588
#print axioms MonskyCheck588.sel_pos588

bsd/MonskyCheck589.lean

lean_all/bsd/MonskyCheck589.lean

/-
  bsd/MonskyCheck589.lean — T39 cycle 1354 (goal G797): Monsky's 2-Selmer matrix for squarefree 117601 ≤ n ≤ 117800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck589
open MonskyCheck

def zeroList : List Nat := [117601, 117609, 117610, 117611, 117618, 117619, 117627, 117633, 117634, 117642, 117643, 117658, 117659, 117667, 117674, 117681, 117682, 117690, 117691, 117699, 117706, 117707, 117722, 117731, 117753, 117763, 117769, 117770, 117777, 117779, 117786, 117787, 117795]
def posList : List (Nat × Nat) := [(117602, 2), (117605, 1), (117606, 1), (117607, 3), (117613, 3), (117614, 3), (117615, 1), (117617, 2), (117622, 1), (117626, 2), (117629, 1), (117631, 3), (117635, 2), (117637, 3), (117638, 1), (117641, 2), (117645, 1), (117646, 1), (117647, 3), (117651, 2), (117653, 1), (117654, 3), (117655, 1), (117661, 3), (117662, 1), (117663, 1), (117665, 2), (117669, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero589 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos589 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck589

#print axioms MonskyCheck589.sel_zero589
#print axioms MonskyCheck589.sel_pos589

bsd/MonskyCheck59.lean

lean_all/bsd/MonskyCheck59.lean

/-
  bsd/MonskyCheck59.lean — T39 cycle 396 (goal G116): Monsky's 2-Selmer matrix for squarefree 11601 ≤ n ≤ 11800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck59
open MonskyCheck

def zeroList : List Nat := [11609, 11611, 11618, 11626, 11634, 11642, 11643, 11649, 11651, 11658, 11666, 11674, 11683, 11699, 11706, 11721, 11722, 11730, 11731, 11738, 11739, 11747, 11761, 11769, 11770, 11771, 11779, 11787, 11793, 11795]
def posList : List (Nat × Nat) := [(11602, 2), (11603, 2), (11605, 1), (11606, 1), (11607, 1), (11614, 1), (11615, 1), (11617, 2), (11621, 1), (11622, 1), (11623, 1), (11627, 2), (11629, 3), (11630, 1), (11631, 1), (11633, 2), (11635, 2), (11639, 1), (11641, 2), (11645, 1), (11647, 1), (11653, 1), (11654, 1), (11657, 2), (11659, 2), (11663, 1), (11665, 2), (11667, 2), (11669, 1), (11670, 1), (1167  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero59 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos59 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck59

#print axioms MonskyCheck59.sel_zero59
#print axioms MonskyCheck59.sel_pos59

bsd/MonskyCheck590.lean

lean_all/bsd/MonskyCheck590.lean

/-
  bsd/MonskyCheck590.lean — T39 cycle 1356 (goal G797): Monsky's 2-Selmer matrix for squarefree 117801 ≤ n ≤ 118000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck590
open MonskyCheck

def zeroList : List Nat := [117802, 117811, 117818, 117834, 117835, 117849, 117851, 117857, 117865, 117866, 117867, 117883, 117890, 117897, 117898, 117899, 117906, 117907, 117915, 117921, 117923, 117930, 117931, 117938, 117947, 117953, 117961, 117969, 117970, 117979, 117985, 117986, 117987, 117994]
def posList : List (Nat × Nat) := [(117803, 2), (117805, 3), (117806, 1), (117807, 1), (117809, 2), (117813, 1), (117814, 1), (117815, 1), (117817, 2), (117821, 1), (117822, 3), (117823, 1), (117826, 2), (117827, 2), (117829, 1), (117830, 1), (117831, 1), (117833, 2), (117838, 1), (117839, 1), (117841, 2), (117842, 2), (117843, 2), (117847, 1), (117853, 1), (117858, 2), (117859, 4), (117861, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero590 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos590 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck590

#print axioms MonskyCheck590.sel_zero590
#print axioms MonskyCheck590.sel_pos590

bsd/MonskyCheck591.lean

lean_all/bsd/MonskyCheck591.lean

/-
  bsd/MonskyCheck591.lean — T39 cycle 1358 (goal G806): Monsky's 2-Selmer matrix for squarefree 118001 ≤ n ≤ 118200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck591
open MonskyCheck

def zeroList : List Nat := [118003, 118009, 118011, 118042, 118043, 118051, 118058, 118074, 118099, 118106, 118113, 118115, 118121, 118122, 118129, 118130, 118138, 118146, 118147, 118154, 118155, 118162, 118163, 118171, 118177, 118178, 118186, 118187, 118194, 118195]
def posList : List (Nat × Nat) := [(118001, 4), (118002, 2), (118005, 1), (118006, 1), (118007, 1), (118010, 2), (118013, 1), (118014, 1), (118015, 1), (118018, 2), (118019, 2), (118021, 1), (118022, 1), (118023, 1), (118027, 2), (118029, 1), (118030, 1), (118031, 1), (118033, 2), (118034, 2), (118037, 1), (118038, 1), (118039, 3), (118045, 3), (118046, 1), (118049, 4), (118054, 3), (118055, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero591 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos591 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck591

#print axioms MonskyCheck591.sel_zero591
#print axioms MonskyCheck591.sel_pos591

bsd/MonskyCheck592.lean

lean_all/bsd/MonskyCheck592.lean

/-
  bsd/MonskyCheck592.lean — T39 cycle 1360 (goal G806): Monsky's 2-Selmer matrix for squarefree 118201 ≤ n ≤ 118400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck592
open MonskyCheck

def zeroList : List Nat := [118209, 118210, 118211, 118219, 118235, 118243, 118257, 118259, 118267, 118274, 118281, 118282, 118283, 118289, 118291, 118298, 118306, 118307, 118313, 118315, 118322, 118329, 118330, 118353, 118370, 118378, 118387, 118393, 118394]
def posList : List (Nat × Nat) := [(118202, 2), (118205, 1), (118207, 1), (118213, 1), (118214, 1), (118218, 2), (118221, 1), (118222, 1), (118223, 1), (118226, 2), (118227, 2), (118229, 1), (118230, 1), (118231, 1), (118234, 2), (118238, 1), (118239, 1), (118241, 2), (118245, 1), (118246, 1), (118247, 1), (118249, 2), (118253, 1), (118254, 1), (118255, 1), (118258, 2), (118261, 1), (118262, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero592 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos592 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck592

#print axioms MonskyCheck592.sel_zero592
#print axioms MonskyCheck592.sel_pos592

bsd/MonskyCheck593.lean

lean_all/bsd/MonskyCheck593.lean

/-
  bsd/MonskyCheck593.lean — T39 cycle 1362 (goal G806): Monsky's 2-Selmer matrix for squarefree 118401 ≤ n ≤ 118600, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck593
open MonskyCheck

def zeroList : List Nat := [118401, 118402, 118403, 118410, 118411, 118419, 118426, 118434, 118435, 118441, 118442, 118465, 118481, 118497, 118498, 118514, 118515, 118523, 118554, 118563, 118571, 118577, 118578, 118586]
def posList : List (Nat × Nat) := [(118405, 1), (118406, 3), (118407, 1), (118409, 2), (118414, 1), (118415, 1), (118417, 2), (118418, 2), (118421, 1), (118423, 1), (118427, 2), (118429, 1), (118430, 1), (118437, 1), (118438, 1), (118439, 1), (118443, 2), (118445, 3), (118446, 1), (118447, 3), (118451, 2), (118453, 1), (118454, 1), (118455, 1), (118457, 2), (118461, 1), (118462, 1), (118463, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero593 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos593 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck593

#print axioms MonskyCheck593.sel_zero593
#print axioms MonskyCheck593.sel_pos593

bsd/MonskyCheck594.lean

lean_all/bsd/MonskyCheck594.lean

/-
  bsd/MonskyCheck594.lean — T39 cycle 1364 (goal G806): Monsky's 2-Selmer matrix for squarefree 118601 ≤ n ≤ 118800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck594
open MonskyCheck

def zeroList : List Nat := [118603, 118610, 118618, 118619, 118643, 118649, 118666, 118682, 118689, 118690, 118691, 118698, 118707, 118714, 118715, 118721, 118722, 118723, 118730, 118731, 118739, 118747, 118761, 118762, 118763, 118770, 118771, 118778, 118787, 118793, 118794, 118795]
def posList : List (Nat × Nat) := [(118601, 2), (118605, 1), (118606, 1), (118607, 1), (118609, 2), (118613, 1), (118614, 1), (118615, 1), (118617, 2), (118621, 1), (118622, 1), (118623, 1), (118626, 2), (118627, 2), (118630, 1), (118631, 1), (118633, 2), (118634, 2), (118635, 2), (118637, 1), (118639, 1), (118641, 2), (118642, 4), (118645, 3), (118646, 3), (118651, 2), (118653, 1), (118654, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero594 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos594 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck594

#print axioms MonskyCheck594.sel_zero594
#print axioms MonskyCheck594.sel_pos594

bsd/MonskyCheck595.lean

lean_all/bsd/MonskyCheck595.lean

/-
  bsd/MonskyCheck595.lean — T39 cycle 1366 (goal G806): Monsky's 2-Selmer matrix for squarefree 118801 ≤ n ≤ 119000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck595
open MonskyCheck

def zeroList : List Nat := [118811, 118817, 118819, 118833, 118835, 118843, 118857, 118858, 118859, 118866, 118867, 118891, 118898, 118905, 118906, 118907, 118914, 118915, 118931, 118937, 118938, 118939, 118955, 118970, 118977, 118986, 118987, 118995]
def posList : List (Nat × Nat) := [(118801, 2), (118802, 2), (118805, 3), (118806, 3), (118813, 1), (118814, 1), (118821, 1), (118823, 3), (118826, 2), (118829, 1), (118830, 3), (118831, 1), (118834, 2), (118837, 1), (118838, 1), (118839, 1), (118841, 2), (118842, 2), (118846, 1), (118847, 3), (118849, 2), (118851, 2), (118853, 1), (118855, 3), (118861, 1), (118862, 1), (118865, 2), (118869, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero595 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos595 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck595

#print axioms MonskyCheck595.sel_zero595
#print axioms MonskyCheck595.sel_pos595

bsd/MonskyCheck596.lean

lean_all/bsd/MonskyCheck596.lean

/-
  bsd/MonskyCheck596.lean — T39 cycle 1368 (goal G806): Monsky's 2-Selmer matrix for squarefree 119001 ≤ n ≤ 119200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck596
open MonskyCheck

def zeroList : List Nat := [119001, 119003, 119018, 119027, 119042, 119049, 119058, 119066, 119067, 119073, 119074, 119082, 119083, 119090, 119091, 119099, 119105, 119107, 119114, 119121, 119123, 119131, 119153, 119154, 119162, 119163, 119170, 119171, 119179]
def posList : List (Nat × Nat) := [(119002, 2), (119005, 3), (119006, 1), (119009, 2), (119010, 2), (119011, 2), (119013, 1), (119014, 1), (119015, 1), (119017, 2), (119019, 2), (119022, 1), (119023, 3), (119026, 2), (119029, 1), (119030, 1), (119031, 1), (119033, 2), (119035, 2), (119037, 1), (119038, 1), (119039, 1), (119041, 2), (119045, 3), (119046, 1), (119047, 1), (119051, 4), (119053, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero596 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos596 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck596

#print axioms MonskyCheck596.sel_zero596
#print axioms MonskyCheck596.sel_pos596

bsd/MonskyCheck597.lean

lean_all/bsd/MonskyCheck597.lean

/-
  bsd/MonskyCheck597.lean — T39 cycle 1370 (goal G806): Monsky's 2-Selmer matrix for squarefree 119201 ≤ n ≤ 119400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck597
open MonskyCheck

def zeroList : List Nat := [119202, 119203, 119218, 119226, 119227, 119235, 119242, 119243, 119258, 119267, 119274, 119282, 119283, 119291, 119298, 119299, 119305, 119330, 119337, 119338, 119339, 119346, 119347, 119361, 119362, 119363, 119370, 119386]
def posList : List (Nat × Nat) := [(119201, 2), (119206, 1), (119207, 1), (119209, 4), (119210, 2), (119211, 2), (119213, 3), (119215, 1), (119219, 2), (119221, 3), (119222, 1), (119229, 1), (119230, 1), (119231, 3), (119233, 2), (119234, 2), (119237, 1), (119238, 1), (119239, 1), (119245, 1), (119246, 1), (119247, 1), (119249, 2), (119251, 2), (119253, 1), (119254, 1), (119255, 3), (119257, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero597 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos597 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck597

#print axioms MonskyCheck597.sel_zero597
#print axioms MonskyCheck597.sel_pos597

bsd/MonskyCheck598.lean

lean_all/bsd/MonskyCheck598.lean

/-
  bsd/MonskyCheck598.lean — T39 cycle 1372 (goal G806): Monsky's 2-Selmer matrix for squarefree 119401 ≤ n ≤ 119600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck598
open MonskyCheck

def zeroList : List Nat := [119401, 119402, 119410, 119418, 119419, 119426, 119434, 119435, 119442, 119449, 119451, 119459, 119467, 119481, 119497, 119499, 119515, 119522, 119530, 119531, 119537, 119546, 119562, 119563, 119571, 119586, 119587, 119593, 119594]
def posList : List (Nat × Nat) := [(119405, 1), (119406, 1), (119407, 1), (119409, 2), (119411, 2), (119414, 1), (119415, 1), (119417, 2), (119423, 1), (119429, 1), (119431, 1), (119433, 2), (119437, 1), (119438, 1), (119441, 2), (119443, 2), (119445, 1), (119446, 1), (119447, 1), (119453, 1), (119454, 1), (119455, 1), (119458, 2), (119461, 1), (119463, 1), (119465, 2), (119469, 1), (119470, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero598 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos598 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck598

#print axioms MonskyCheck598.sel_zero598
#print axioms MonskyCheck598.sel_pos598

bsd/MonskyCheck599.lean

lean_all/bsd/MonskyCheck599.lean

/-
  bsd/MonskyCheck599.lean — T39 cycle 1374 (goal G806): Monsky's 2-Selmer matrix for squarefree 119601 ≤ n ≤ 119800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck599
open MonskyCheck

def zeroList : List Nat := [119603, 119611, 119626, 119627, 119634, 119635, 119642, 119649, 119651, 119659, 119665, 119667, 119681, 119697, 119699, 119706, 119713, 119715, 119721, 119723, 119729, 119731, 119738, 119746, 119747, 119755, 119769, 119771, 119778, 119779, 119787]
def posList : List (Nat × Nat) := [(119602, 2), (119605, 1), (119606, 1), (119607, 1), (119613, 1), (119614, 1), (119615, 1), (119617, 2), (119618, 2), (119621, 1), (119622, 1), (119623, 3), (119629, 1), (119630, 1), (119631, 1), (119633, 2), (119638, 1), (119639, 1), (119641, 2), (119643, 2), (119645, 3), (119647, 1), (119653, 1), (119654, 1), (119657, 2), (119661, 1), (119662, 1), (119663, 3), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero599 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos599 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck599

#print axioms MonskyCheck599.sel_zero599
#print axioms MonskyCheck599.sel_pos599

bsd/MonskyCheck6.lean

lean_all/bsd/MonskyCheck6.lean

/-
  bsd/MonskyCheck6.lean — T39 cycle 311 (goal G49): Monsky's 2-Selmer matrix for squarefree 1001 ≤ n ≤ 1200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). Comparison with the computed ranks: after a2_cong6 (goal G47).
-/
import bsd.MonskyCheck

namespace MonskyCheck6
open MonskyCheck

def zeroList : List Nat := [1001, 1010, 1018, 1019, 1034, 1041, 1051, 1059, 1066, 1074, 1082, 1090, 1091, 1099, 1114, 1115, 1121, 1123, 1130, 1137, 1147, 1162, 1163, 1171, 1177, 1187, 1194]
def posList : List (Nat × Nat) := [(1002, 2), (1003, 2), (1005, 1), (1006, 1), (1007, 1), (1009, 2), (1011, 2), (1013, 1), (1015, 1), (1021, 1), (1022, 1), (1023, 1), (1027, 2), (1030, 1), (1031, 1), (1033, 2), (1037, 1), (1038, 1), (1039, 1), (1042, 2), (1043, 2), (1045, 1), (1046, 1), (1047, 1), (1049, 2), (1054, 1), (1055, 1), (1057, 2), (1061, 1), (1063, 1), (1065, 2), (1067, 2), (1069, 1), (1  -- (+679 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero6 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos6 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck6

#print axioms MonskyCheck6.sel_zero6
#print axioms MonskyCheck6.sel_pos6

bsd/MonskyCheck60.lean

lean_all/bsd/MonskyCheck60.lean

/-
  bsd/MonskyCheck60.lean — T39 cycle 397 (goal G117): Monsky's 2-Selmer matrix for squarefree 11801 ≤ n ≤ 12000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck60
open MonskyCheck

def zeroList : List Nat := [11802, 11803, 11810, 11818, 11827, 11841, 11851, 11867, 11874, 11882, 11883, 11890, 11899, 11915, 11921, 11922, 11923, 11930, 11931, 11939, 11946, 11954, 11955, 11962, 11971, 11986, 11987, 11993, 11994]
def posList : List (Nat × Nat) := [(11801, 2), (11805, 1), (11806, 1), (11807, 1), (11811, 2), (11813, 1), (11814, 1), (11815, 1), (11819, 2), (11821, 1), (11822, 3), (11823, 1), (11829, 1), (11831, 1), (11833, 2), (11834, 2), (11837, 1), (11838, 1), (11839, 1), (11842, 2), (11843, 2), (11845, 1), (11846, 1), (11847, 1), (11854, 1), (11855, 1), (11857, 2), (11859, 2), (11861, 1), (11863, 1), (1186  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero60 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos60 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck60

#print axioms MonskyCheck60.sel_zero60
#print axioms MonskyCheck60.sel_pos60

bsd/MonskyCheck600.lean

lean_all/bsd/MonskyCheck600.lean

/-
  bsd/MonskyCheck600.lean — T39 cycle 1376 (goal G806): Monsky's 2-Selmer matrix for squarefree 119801 ≤ n ≤ 120000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck600
open MonskyCheck

def zeroList : List Nat := [119801, 119802, 119803, 119810, 119827, 119834, 119843, 119851, 119859, 119867, 119874, 119883, 119890, 119891, 119899, 119913, 119914, 119915, 119923, 119937, 119938, 119939, 119945, 119947, 119954, 119955, 119962, 119963, 119971, 119977, 119987, 119995]
def posList : List (Nat × Nat) := [(119806, 1), (119807, 1), (119809, 2), (119811, 2), (119813, 1), (119814, 1), (119815, 1), (119818, 2), (119819, 2), (119822, 1), (119823, 1), (119829, 1), (119830, 1), (119831, 1), (119833, 2), (119837, 1), (119838, 1), (119839, 1), (119841, 2), (119842, 2), (119845, 1), (119846, 1), (119847, 1), (119849, 2), (119855, 1), (119857, 2), (119858, 2), (119861, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero600 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos600 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck600

#print axioms MonskyCheck600.sel_zero600
#print axioms MonskyCheck600.sel_pos600

bsd/MonskyCheck601.lean

lean_all/bsd/MonskyCheck601.lean

/-
  bsd/MonskyCheck601.lean — T39 cycle 1378 (goal G815): Monsky's 2-Selmer matrix for squarefree 120001 ≤ n ≤ 120200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck601
open MonskyCheck

def zeroList : List Nat := [120002, 120009, 120010, 120011, 120019, 120026, 120035, 120057, 120058, 120059, 120065, 120066, 120067, 120074, 120081, 120090, 120091, 120115, 120122, 120130, 120131, 120137, 120138, 120139, 120146, 120147, 120154, 120155, 120161, 120163, 120170, 120171, 120179, 120194]
def posList : List (Nat × Nat) := [(120003, 2), (120005, 3), (120007, 3), (120013, 1), (120014, 1), (120017, 2), (120018, 2), (120021, 1), (120022, 1), (120023, 1), (120027, 2), (120029, 1), (120030, 1), (120031, 1), (120034, 2), (120037, 1), (120038, 1), (120039, 1), (120041, 2), (120043, 2), (120045, 1), (120046, 3), (120047, 1), (120049, 2), (120053, 1), (120054, 1), (120055, 1), (120061, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero601 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos601 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck601

#print axioms MonskyCheck601.sel_zero601
#print axioms MonskyCheck601.sel_pos601

bsd/MonskyCheck602.lean

lean_all/bsd/MonskyCheck602.lean

/-
  bsd/MonskyCheck602.lean — T39 cycle 1380 (goal G815): Monsky's 2-Selmer matrix for squarefree 120201 ≤ n ≤ 120400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck602
open MonskyCheck

def zeroList : List Nat := [120201, 120202, 120210, 120211, 120218, 120227, 120234, 120242, 120243, 120251, 120259, 120266, 120282, 120283, 120289, 120291, 120297, 120298, 120299, 120306, 120314, 120329, 120331, 120345, 120354, 120362, 120369, 120370, 120371, 120394]
def posList : List (Nat × Nat) := [(120203, 2), (120205, 3), (120206, 1), (120207, 1), (120209, 2), (120214, 1), (120215, 1), (120217, 2), (120219, 2), (120221, 1), (120223, 1), (120226, 2), (120229, 1), (120230, 1), (120233, 2), (120235, 2), (120237, 1), (120238, 3), (120239, 1), (120241, 2), (120245, 3), (120247, 1), (120253, 1), (120254, 1), (120255, 1), (120257, 2), (120261, 1), (120262, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero602 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos602 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck602

#print axioms MonskyCheck602.sel_zero602
#print axioms MonskyCheck602.sel_pos602

bsd/MonskyCheck603.lean

lean_all/bsd/MonskyCheck603.lean

/-
  bsd/MonskyCheck603.lean — T39 cycle 1382 (goal G815): Monsky's 2-Selmer matrix for squarefree 120401 ≤ n ≤ 120600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck603
open MonskyCheck

def zeroList : List Nat := [120403, 120417, 120419, 120426, 120427, 120433, 120457, 120466, 120467, 120481, 120482, 120489, 120499, 120505, 120506, 120507, 120515, 120522, 120529, 120538, 120539, 120547, 120562, 120563, 120579, 120586, 120587]
def posList : List (Nat × Nat) := [(120401, 2), (120405, 1), (120406, 1), (120407, 3), (120410, 2), (120413, 1), (120414, 3), (120415, 1), (120418, 2), (120421, 1), (120422, 1), (120423, 1), (120430, 1), (120431, 1), (120434, 2), (120435, 2), (120437, 3), (120439, 1), (120441, 2), (120443, 2), (120445, 3), (120446, 1), (120449, 2), (120451, 2), (120453, 1), (120454, 1), (120455, 1), (120458, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero603 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos603 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck603

#print axioms MonskyCheck603.sel_zero603
#print axioms MonskyCheck603.sel_pos603

bsd/MonskyCheck604.lean

lean_all/bsd/MonskyCheck604.lean

/-
  bsd/MonskyCheck604.lean — T39 cycle 1384 (goal G815): Monsky's 2-Selmer matrix for squarefree 120601 ≤ n ≤ 120800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck604
open MonskyCheck

def zeroList : List Nat := [120610, 120611, 120619, 120626, 120633, 120634, 120635, 120642, 120643, 120651, 120657, 120659, 120682, 120683, 120691, 120714, 120715, 120723, 120730, 120731, 120738, 120739, 120746, 120747, 120754, 120763, 120769, 120770, 120777, 120778, 120779, 120786, 120794, 120795]
def posList : List (Nat × Nat) := [(120601, 2), (120602, 2), (120603, 2), (120605, 3), (120606, 1), (120607, 1), (120613, 1), (120614, 1), (120615, 1), (120617, 2), (120621, 1), (120622, 3), (120623, 1), (120629, 1), (120630, 1), (120631, 1), (120639, 1), (120641, 2), (120646, 3), (120647, 1), (120649, 4), (120653, 3), (120655, 1), (120658, 2), (120661, 1), (120662, 1), (120665, 2), (120667, 2), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero604 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos604 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck604

#print axioms MonskyCheck604.sel_zero604
#print axioms MonskyCheck604.sel_pos604

bsd/MonskyCheck605.lean

lean_all/bsd/MonskyCheck605.lean

/-
  bsd/MonskyCheck605.lean — T39 cycle 1386 (goal G815): Monsky's 2-Selmer matrix for squarefree 120801 ≤ n ≤ 121000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck605
open MonskyCheck

def zeroList : List Nat := [120803, 120810, 120811, 120819, 120826, 120827, 120841, 120842, 120849, 120851, 120857, 120858, 120859, 120865, 120867, 120873, 120874, 120882, 120891, 120899, 120907, 120913, 120921, 120931, 120947, 120954, 120955, 120970, 120986, 120993, 120995]
def posList : List (Nat × Nat) := [(120801, 2), (120805, 1), (120806, 1), (120809, 2), (120813, 1), (120814, 1), (120815, 1), (120817, 2), (120818, 2), (120821, 1), (120822, 1), (120823, 1), (120829, 1), (120830, 3), (120831, 1), (120833, 2), (120837, 1), (120838, 1), (120839, 1), (120845, 3), (120846, 1), (120847, 1), (120853, 1), (120854, 1), (120855, 1), (120862, 1), (120863, 1), (120866, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero605 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos605 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck605

#print axioms MonskyCheck605.sel_zero605
#print axioms MonskyCheck605.sel_pos605

bsd/MonskyCheck606.lean

lean_all/bsd/MonskyCheck606.lean

/-
  bsd/MonskyCheck606.lean — T39 cycle 1388 (goal G815): Monsky's 2-Selmer matrix for squarefree 121001 ≤ n ≤ 121200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck606
open MonskyCheck

def zeroList : List Nat := [121002, 121003, 121009, 121010, 121011, 121018, 121019, 121027, 121033, 121034, 121035, 121051, 121065, 121066, 121067, 121083, 121090, 121097, 121099, 121106, 121114, 121115, 121123, 121130, 121137, 121138, 121139, 121147, 121154, 121155, 121161, 121163, 121170, 121171, 121178, 121186]
def posList : List (Nat × Nat) := [(121001, 2), (121006, 1), (121007, 1), (121013, 1), (121015, 1), (121017, 2), (121021, 1), (121022, 1), (121026, 2), (121029, 1), (121031, 3), (121037, 1), (121038, 1), (121039, 1), (121042, 2), (121043, 2), (121045, 1), (121046, 1), (121047, 1), (121049, 2), (121053, 1), (121054, 1), (121055, 3), (121057, 4), (121058, 2), (121061, 1), (121062, 1), (121063, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero606 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos606 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck606

#print axioms MonskyCheck606.sel_zero606
#print axioms MonskyCheck606.sel_pos606

bsd/MonskyCheck607.lean

lean_all/bsd/MonskyCheck607.lean

/-
  bsd/MonskyCheck607.lean — T39 cycle 1390 (goal G815): Monsky's 2-Selmer matrix for squarefree 121201 ≤ n ≤ 121400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck607
open MonskyCheck

def zeroList : List Nat := [121201, 121209, 121210, 121211, 121217, 121218, 121219, 121227, 121233, 121235, 121259, 121267, 121274, 121281, 121283, 121291, 121297, 121299, 121305, 121307, 121314, 121322, 121337, 121345, 121353, 121354, 121355, 121370, 121371, 121377, 121379, 121385, 121394, 121395]
def posList : List (Nat × Nat) := [(121202, 2), (121205, 1), (121206, 1), (121207, 1), (121213, 1), (121214, 1), (121215, 1), (121222, 1), (121223, 1), (121229, 1), (121231, 1), (121234, 2), (121237, 3), (121238, 1), (121241, 2), (121243, 2), (121245, 1), (121246, 1), (121247, 1), (121249, 2), (121251, 2), (121253, 1), (121254, 1), (121255, 1), (121258, 2), (121261, 1), (121262, 1), (121263, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero607 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos607 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck607

#print axioms MonskyCheck607.sel_zero607
#print axioms MonskyCheck607.sel_pos607

bsd/MonskyCheck608.lean

lean_all/bsd/MonskyCheck608.lean

/-
  bsd/MonskyCheck608.lean — T39 cycle 1392 (goal G815): Monsky's 2-Selmer matrix for squarefree 121401 ≤ n ≤ 121600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck608
open MonskyCheck

def zeroList : List Nat := [121403, 121426, 121427, 121435, 121443, 121449, 121451, 121458, 121466, 121467, 121483, 121490, 121497, 121498, 121499, 121506, 121507, 121514, 121521, 121523, 121530, 121531, 121538, 121546, 121547, 121561, 121570, 121571, 121578, 121579, 121587, 121593, 121594, 121595]
def posList : List (Nat × Nat) := [(121402, 2), (121405, 3), (121406, 1), (121407, 1), (121409, 2), (121411, 2), (121413, 1), (121414, 3), (121415, 1), (121417, 2), (121418, 2), (121421, 1), (121423, 1), (121429, 1), (121430, 1), (121431, 1), (121433, 2), (121434, 2), (121438, 1), (121439, 1), (121441, 2), (121442, 4), (121445, 1), (121447, 1), (121453, 1), (121454, 1), (121457, 2), (121459, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero608 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos608 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck608

#print axioms MonskyCheck608.sel_zero608
#print axioms MonskyCheck608.sel_pos608

bsd/MonskyCheck609.lean

lean_all/bsd/MonskyCheck609.lean

/-
  bsd/MonskyCheck609.lean — T39 cycle 1394 (goal G815): Monsky's 2-Selmer matrix for squarefree 121601 ≤ n ≤ 121800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck609
open MonskyCheck

def zeroList : List Nat := [121603, 121619, 121627, 121634, 121642, 121643, 121649, 121658, 121674, 121682, 121690, 121714, 121715, 121722, 121731, 121738, 121747, 121754, 121755, 121763, 121771, 121786, 121787, 121794]
def posList : List (Nat × Nat) := [(121601, 2), (121602, 2), (121606, 1), (121607, 1), (121609, 2), (121610, 2), (121611, 2), (121613, 1), (121614, 1), (121615, 3), (121621, 1), (121622, 1), (121623, 1), (121629, 1), (121630, 1), (121631, 1), (121633, 2), (121637, 1), (121638, 3), (121639, 1), (121641, 2), (121645, 3), (121646, 3), (121647, 1), (121651, 2), (121654, 1), (121655, 1), (121659, 2), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero609 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos609 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck609

#print axioms MonskyCheck609.sel_zero609
#print axioms MonskyCheck609.sel_pos609

bsd/MonskyCheck61.lean

lean_all/bsd/MonskyCheck61.lean

/-
  bsd/MonskyCheck61.lean — T39 cycle 398 (goal G118): Monsky's 2-Selmer matrix for squarefree 12001 ≤ n ≤ 12200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck61
open MonskyCheck

def zeroList : List Nat := [12001, 12003, 12009, 12011, 12018, 12019, 12026, 12027, 12034, 12043, 12057, 12058, 12059, 12065, 12066, 12067, 12074, 12081, 12089, 12090, 12091, 12106, 12107, 12115, 12122, 12130, 12145, 12147, 12153, 12162, 12163, 12169, 12170, 12179, 12187, 12194]
def posList : List (Nat × Nat) := [(12002, 4), (12007, 1), (12010, 2), (12013, 1), (12014, 1), (12017, 2), (12021, 1), (12022, 1), (12023, 1), (12029, 1), (12030, 1), (12031, 1), (12035, 2), (12037, 1), (12038, 1), (12039, 1), (12041, 2), (12045, 1), (12046, 1), (12047, 1), (12049, 2), (12053, 1), (12055, 1), (12061, 1), (12062, 1), (12063, 1), (12070, 1), (12071, 1), (12073, 2), (12077, 1), (1207  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero61 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos61 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck61

#print axioms MonskyCheck61.sel_zero61
#print axioms MonskyCheck61.sel_pos61

bsd/MonskyCheck610.lean

lean_all/bsd/MonskyCheck610.lean

/-
  bsd/MonskyCheck610.lean — T39 cycle 1396 (goal G815): Monsky's 2-Selmer matrix for squarefree 121801 ≤ n ≤ 122000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck610
open MonskyCheck

def zeroList : List Nat := [121802, 121810, 121811, 121818, 121834, 121843, 121859, 121866, 121867, 121873, 121881, 121882, 121883, 121898, 121899, 121913, 121930, 121931, 121938, 121946, 121947, 121963, 121970, 121978, 121979]
def posList : List (Nat × Nat) := [(121803, 2), (121805, 1), (121807, 1), (121809, 2), (121813, 1), (121817, 2), (121819, 2), (121821, 1), (121822, 3), (121823, 1), (121826, 2), (121827, 2), (121829, 3), (121830, 1), (121831, 1), (121837, 1), (121838, 1), (121839, 1), (121845, 1), (121846, 1), (121853, 1), (121854, 1), (121855, 1), (121857, 2), (121858, 2), (121861, 1), (121862, 1), (121865, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero610 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos610 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck610

#print axioms MonskyCheck610.sel_zero610
#print axioms MonskyCheck610.sel_pos610

bsd/MonskyCheck611.lean

lean_all/bsd/MonskyCheck611.lean

/-
  bsd/MonskyCheck611.lean — T39 cycle 1398 (goal G820): Monsky's 2-Selmer matrix for squarefree 122001 ≤ n ≤ 122200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck611
open MonskyCheck

def zeroList : List Nat := [122003, 122011, 122019, 122026, 122027, 122035, 122043, 122051, 122073, 122074, 122082, 122083, 122090, 122091, 122097, 122099, 122107, 122113, 122131, 122138, 122145, 122146, 122147, 122154, 122178, 122185, 122186, 122194]
def posList : List (Nat × Nat) := [(122001, 2), (122002, 2), (122005, 1), (122006, 1), (122007, 1), (122009, 2), (122014, 1), (122015, 1), (122017, 2), (122021, 1), (122023, 1), (122029, 1), (122030, 1), (122033, 2), (122037, 1), (122038, 1), (122039, 1), (122041, 2), (122042, 2), (122045, 1), (122046, 1), (122053, 1), (122054, 1), (122055, 1), (122057, 2), (122061, 1), (122062, 1), (122063, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero611 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos611 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck611

#print axioms MonskyCheck611.sel_zero611
#print axioms MonskyCheck611.sel_pos611

bsd/MonskyCheck612.lean

lean_all/bsd/MonskyCheck612.lean

/-
  bsd/MonskyCheck612.lean — T39 cycle 1400 (goal G820): Monsky's 2-Selmer matrix for squarefree 122201 ≤ n ≤ 122400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck612
open MonskyCheck

def zeroList : List Nat := [122203, 122217, 122219, 122235, 122249, 122251, 122257, 122259, 122266, 122267, 122282, 122289, 122290, 122298, 122299, 122313, 122314, 122315, 122323, 122339, 122347, 122354, 122361, 122363, 122371, 122378, 122386, 122387, 122395]
def posList : List (Nat × Nat) := [(122201, 2), (122205, 1), (122207, 1), (122209, 2), (122213, 1), (122214, 1), (122215, 1), (122218, 2), (122221, 1), (122222, 3), (122223, 1), (122226, 2), (122227, 2), (122230, 1), (122231, 1), (122233, 2), (122234, 2), (122237, 1), (122239, 1), (122241, 2), (122242, 2), (122243, 2), (122245, 1), (122246, 3), (122253, 1), (122254, 1), (122258, 2), (122261, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero612 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos612 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck612

#print axioms MonskyCheck612.sel_zero612
#print axioms MonskyCheck612.sel_pos612

bsd/MonskyCheck613.lean

lean_all/bsd/MonskyCheck613.lean

/-
  bsd/MonskyCheck613.lean — T39 cycle 1402 (goal G820): Monsky's 2-Selmer matrix for squarefree 122401 ≤ n ≤ 122600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck613
open MonskyCheck

def zeroList : List Nat := [122417, 122419, 122426, 122434, 122441, 122442, 122443, 122457, 122465, 122466, 122474, 122483, 122491, 122505, 122506, 122515, 122522, 122523, 122529, 122530, 122531, 122538, 122555, 122569, 122570, 122579, 122586, 122587, 122593]
def posList : List (Nat × Nat) := [(122401, 2), (122403, 2), (122405, 3), (122406, 3), (122407, 1), (122410, 2), (122411, 2), (122413, 1), (122414, 3), (122415, 3), (122421, 1), (122422, 1), (122423, 1), (122429, 1), (122430, 1), (122431, 3), (122433, 2), (122435, 2), (122437, 1), (122438, 1), (122439, 1), (122446, 1), (122447, 1), (122449, 2), (122453, 1), (122455, 3), (122458, 2), (122459, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero613 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos613 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck613

#print axioms MonskyCheck613.sel_zero613
#print axioms MonskyCheck613.sel_pos613

bsd/MonskyCheck614.lean

lean_all/bsd/MonskyCheck614.lean

/-
  bsd/MonskyCheck614.lean — T39 cycle 1404 (goal G820): Monsky's 2-Selmer matrix for squarefree 122601 ≤ n ≤ 122800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck614
open MonskyCheck

def zeroList : List Nat := [122601, 122602, 122603, 122610, 122611, 122618, 122627, 122635, 122642, 122649, 122651, 122658, 122659, 122666, 122673, 122674, 122682, 122683, 122690, 122698, 122699, 122705, 122714, 122721, 122722, 122723, 122729, 122731, 122737, 122738, 122746, 122762, 122770, 122771]
def posList : List (Nat × Nat) := [(122605, 1), (122606, 1), (122609, 2), (122613, 3), (122614, 1), (122615, 1), (122617, 2), (122619, 2), (122621, 1), (122622, 1), (122623, 3), (122626, 2), (122629, 1), (122630, 1), (122631, 1), (122633, 2), (122637, 1), (122638, 1), (122639, 1), (122641, 2), (122645, 1), (122646, 1), (122653, 1), (122654, 3), (122655, 1), (122657, 2), (122662, 1), (122663, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero614 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos614 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck614

#print axioms MonskyCheck614.sel_zero614
#print axioms MonskyCheck614.sel_pos614

bsd/MonskyCheck615.lean

lean_all/bsd/MonskyCheck615.lean

/-
  bsd/MonskyCheck615.lean — T39 cycle 1406 (goal G820): Monsky's 2-Selmer matrix for squarefree 122801 ≤ n ≤ 123000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck615
open MonskyCheck

def zeroList : List Nat := [122802, 122817, 122819, 122826, 122827, 122851, 122858, 122867, 122874, 122881, 122883, 122889, 122891, 122897, 122898, 122899, 122905, 122907, 122915, 122938, 122939, 122945, 122946, 122955, 122963, 122970, 122971, 122986, 122987, 122995]
def posList : List (Nat × Nat) := [(122801, 2), (122803, 2), (122806, 1), (122807, 1), (122809, 2), (122810, 2), (122811, 2), (122813, 1), (122818, 2), (122821, 1), (122822, 1), (122829, 1), (122830, 1), (122831, 1), (122833, 2), (122834, 2), (122835, 2), (122837, 1), (122838, 1), (122839, 1), (122842, 2), (122845, 3), (122846, 3), (122847, 1), (122849, 2), (122853, 3), (122854, 1), (122855, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero615 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos615 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck615

#print axioms MonskyCheck615.sel_zero615
#print axioms MonskyCheck615.sel_pos615

bsd/MonskyCheck616.lean

lean_all/bsd/MonskyCheck616.lean

/-
  bsd/MonskyCheck616.lean — T39 cycle 1408 (goal G820): Monsky's 2-Selmer matrix for squarefree 123001 ≤ n ≤ 123200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck616
open MonskyCheck

def zeroList : List Nat := [123002, 123009, 123010, 123011, 123018, 123033, 123034, 123042, 123058, 123059, 123074, 123082, 123083, 123089, 123091, 123098, 123105, 123115, 123123, 123130, 123139, 123153, 123154, 123163, 123170, 123171, 123177, 123179, 123194]
def posList : List (Nat × Nat) := [(123001, 2), (123005, 1), (123006, 1), (123007, 1), (123013, 1), (123014, 1), (123015, 1), (123017, 2), (123019, 2), (123022, 1), (123023, 1), (123026, 4), (123027, 2), (123029, 1), (123031, 1), (123035, 2), (123037, 3), (123038, 1), (123041, 4), (123043, 2), (123045, 1), (123046, 1), (123047, 1), (123049, 2), (123051, 2), (123053, 1), (123054, 1), (123055, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero616 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos616 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck616

#print axioms MonskyCheck616.sel_zero616
#print axioms MonskyCheck616.sel_pos616

bsd/MonskyCheck617.lean

lean_all/bsd/MonskyCheck617.lean

/-
  bsd/MonskyCheck617.lean — T39 cycle 1410 (goal G820): Monsky's 2-Selmer matrix for squarefree 123201 ≤ n ≤ 123400, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck617
open MonskyCheck

def zeroList : List Nat := [123202, 123203, 123226, 123227, 123233, 123241, 123243, 123249, 123251, 123259, 123266, 123267, 123274, 123283, 123297, 123305, 123306, 123307, 123323, 123329, 123330, 123369, 123378, 123379, 123393, 123395]
def posList : List (Nat × Nat) := [(123205, 3), (123206, 1), (123207, 1), (123209, 2), (123211, 2), (123213, 1), (123214, 1), (123215, 1), (123217, 2), (123218, 2), (123221, 1), (123222, 3), (123223, 1), (123229, 1), (123230, 1), (123231, 1), (123234, 2), (123238, 3), (123239, 1), (123242, 2), (123247, 1), (123253, 1), (123254, 1), (123258, 2), (123261, 1), (123262, 1), (123263, 3), (123265, 4), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero617 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos617 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck617

#print axioms MonskyCheck617.sel_zero617
#print axioms MonskyCheck617.sel_pos617

bsd/MonskyCheck618.lean

lean_all/bsd/MonskyCheck618.lean

/-
  bsd/MonskyCheck618.lean — T39 cycle 1412 (goal G820): Monsky's 2-Selmer matrix for squarefree 123401 ≤ n ≤ 123600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck618
open MonskyCheck

def zeroList : List Nat := [123402, 123409, 123410, 123418, 123419, 123427, 123434, 123466, 123467, 123482, 123491, 123497, 123499, 123506, 123513, 123514, 123523, 123531, 123537, 123538, 123546, 123547, 123554, 123555, 123562, 123563, 123585, 123586, 123594]
def posList : List (Nat × Nat) := [(123401, 2), (123405, 1), (123406, 1), (123407, 1), (123411, 2), (123413, 1), (123414, 1), (123415, 1), (123421, 1), (123422, 1), (123423, 1), (123429, 1), (123430, 1), (123433, 2), (123437, 3), (123438, 1), (123439, 1), (123441, 2), (123442, 2), (123443, 2), (123445, 1), (123446, 1), (123447, 1), (123449, 2), (123451, 2), (123454, 1), (123455, 1), (123457, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero618 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos618 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck618

#print axioms MonskyCheck618.sel_zero618
#print axioms MonskyCheck618.sel_pos618

bsd/MonskyCheck619.lean

lean_all/bsd/MonskyCheck619.lean

/-
  bsd/MonskyCheck619.lean — T39 cycle 1414 (goal G820): Monsky's 2-Selmer matrix for squarefree 123601 ≤ n ≤ 123800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck619
open MonskyCheck

def zeroList : List Nat := [123603, 123609, 123619, 123626, 123643, 123657, 123659, 123666, 123667, 123673, 123674, 123681, 123689, 123690, 123691, 123707, 123721, 123722, 123729, 123730, 123731, 123738, 123755, 123761, 123762, 123763, 123770, 123779, 123785, 123787, 123794]
def posList : List (Nat × Nat) := [(123601, 2), (123602, 2), (123605, 1), (123607, 1), (123610, 2), (123611, 2), (123613, 1), (123614, 1), (123617, 2), (123618, 2), (123621, 1), (123622, 3), (123623, 1), (123629, 1), (123630, 1), (123631, 1), (123634, 2), (123635, 2), (123637, 1), (123638, 1), (123639, 1), (123641, 2), (123645, 1), (123646, 1), (123647, 1), (123649, 2), (123653, 1), (123654, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero619 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos619 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck619

#print axioms MonskyCheck619.sel_zero619
#print axioms MonskyCheck619.sel_pos619

bsd/MonskyCheck62.lean

lean_all/bsd/MonskyCheck62.lean

/-
  bsd/MonskyCheck62.lean — T39 cycle 399 (goal G119): Monsky's 2-Selmer matrix for squarefree 12201 ≤ n ≤ 12400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck62
open MonskyCheck

def zeroList : List Nat := [12202, 12203, 12210, 12211, 12217, 12218, 12219, 12227, 12235, 12243, 12251, 12265, 12266, 12273, 12282, 12283, 12290, 12291, 12297, 12305, 12315, 12322, 12323, 12345, 12346, 12347, 12353, 12355, 12363, 12370, 12379, 12386, 12394, 12395]
def posList : List (Nat × Nat) := [(12205, 3), (12206, 3), (12207, 3), (12209, 2), (12214, 1), (12215, 1), (12223, 1), (12226, 2), (12229, 1), (12230, 1), (12233, 2), (12234, 2), (12237, 1), (12238, 1), (12239, 1), (12241, 2), (12242, 2), (12245, 3), (12246, 1), (12247, 1), (12253, 1), (12254, 1), (12255, 1), (12257, 2), (12259, 2), (12261, 1), (12262, 1), (12263, 1), (12269, 1), (12270, 3), (1227  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero62 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos62 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck62

#print axioms MonskyCheck62.sel_zero62
#print axioms MonskyCheck62.sel_pos62

bsd/MonskyCheck620.lean

lean_all/bsd/MonskyCheck620.lean

/-
  bsd/MonskyCheck620.lean — T39 cycle 1416 (goal G820): Monsky's 2-Selmer matrix for squarefree 123801 ≤ n ≤ 124000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck620
open MonskyCheck

def zeroList : List Nat := [123801, 123803, 123810, 123811, 123818, 123819, 123826, 123835, 123841, 123842, 123851, 123857, 123859, 123865, 123866, 123882, 123890, 123891, 123897, 123898, 123907, 123914, 123923, 123931, 123937, 123945, 123947, 123955, 123962, 123963, 123971, 123979, 123994]
def posList : List (Nat × Nat) := [(123802, 2), (123805, 1), (123806, 1), (123807, 1), (123809, 2), (123814, 1), (123815, 1), (123817, 2), (123821, 1), (123827, 2), (123829, 1), (123830, 1), (123833, 2), (123834, 2), (123837, 1), (123838, 3), (123839, 1), (123843, 2), (123845, 1), (123846, 3), (123847, 1), (123853, 1), (123854, 1), (123855, 1), (123861, 1), (123862, 1), (123863, 1), (123869, 3), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero620 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos620 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck620

#print axioms MonskyCheck620.sel_zero620
#print axioms MonskyCheck620.sel_pos620

bsd/MonskyCheck621.lean

lean_all/bsd/MonskyCheck621.lean

/-
  bsd/MonskyCheck621.lean — T39 cycle 1418 (goal G821): Monsky's 2-Selmer matrix for squarefree 124001 ≤ n ≤ 124200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck621
open MonskyCheck

def zeroList : List Nat := [124017, 124018, 124026, 124027, 124033, 124041, 124042, 124043, 124051, 124057, 124067, 124091, 124098, 124106, 124115, 124122, 124123, 124130, 124131, 124138, 124139, 124145, 124147, 124161, 124169, 124171, 124178, 124179]
def posList : List (Nat × Nat) := [(124001, 2), (124003, 2), (124005, 1), (124006, 1), (124007, 1), (124009, 2), (124010, 2), (124013, 1), (124014, 1), (124015, 1), (124021, 1), (124022, 1), (124023, 1), (124030, 1), (124031, 3), (124034, 2), (124035, 2), (124037, 1), (124039, 1), (124045, 3), (124049, 4), (124053, 1), (124054, 1), (124055, 1), (124058, 2), (124059, 2), (124061, 1), (124062, 3), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero621 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos621 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck621

#print axioms MonskyCheck621.sel_zero621
#print axioms MonskyCheck621.sel_pos621

bsd/MonskyCheck622.lean

lean_all/bsd/MonskyCheck622.lean

/-
  bsd/MonskyCheck622.lean — T39 cycle 1420 (goal G821): Monsky's 2-Selmer matrix for squarefree 124201 ≤ n ≤ 124400, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck622
open MonskyCheck

def zeroList : List Nat := [124201, 124203, 124210, 124211, 124219, 124226, 124233, 124234, 124235, 124242, 124251, 124257, 124259, 124266, 124282, 124283, 124289, 124291, 124305, 124306, 124314, 124322, 124323, 124329, 124330, 124338, 124339, 124363, 124370, 124377, 124378, 124379, 124386, 124387, 124393, 124395]
def posList : List (Nat × Nat) := [(124202, 2), (124205, 3), (124206, 1), (124207, 1), (124213, 1), (124214, 1), (124217, 2), (124221, 1), (124222, 1), (124223, 1), (124229, 1), (124230, 1), (124231, 1), (124237, 1), (124238, 1), (124239, 1), (124241, 2), (124243, 2), (124246, 3), (124247, 1), (124249, 2), (124253, 3), (124255, 1), (124258, 2), (124261, 1), (124262, 1), (124265, 2), (124269, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero622 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos622 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck622

#print axioms MonskyCheck622.sel_zero622
#print axioms MonskyCheck622.sel_pos622

bsd/MonskyCheck623.lean

lean_all/bsd/MonskyCheck623.lean

/-
  bsd/MonskyCheck623.lean — T39 cycle 1422 (goal G821): Monsky's 2-Selmer matrix for squarefree 124401 ≤ n ≤ 124600, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck623
open MonskyCheck

def zeroList : List Nat := [124401, 124417, 124419, 124426, 124427, 124441, 124449, 124458, 124459, 124465, 124473, 124474, 124482, 124490, 124491, 124498, 124514, 124521, 124531, 124539, 124547, 124562, 124570]
def posList : List (Nat × Nat) := [(124402, 2), (124403, 2), (124405, 1), (124406, 3), (124409, 2), (124410, 2), (124413, 1), (124414, 1), (124415, 1), (124418, 2), (124421, 1), (124422, 1), (124423, 3), (124429, 1), (124430, 1), (124431, 1), (124433, 2), (124435, 2), (124437, 1), (124438, 1), (124439, 3), (124442, 2), (124445, 3), (124446, 1), (124447, 1), (124451, 2), (124453, 1), (124454, 3), (  -- (+921 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero623 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos623 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck623

#print axioms MonskyCheck623.sel_zero623
#print axioms MonskyCheck623.sel_pos623

bsd/MonskyCheck624.lean

lean_all/bsd/MonskyCheck624.lean

/-
  bsd/MonskyCheck624.lean — T39 cycle 1424 (goal G821): Monsky's 2-Selmer matrix for squarefree 124601 ≤ n ≤ 124800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck624
open MonskyCheck

def zeroList : List Nat := [124603, 124610, 124611, 124617, 124619, 124626, 124634, 124642, 124643, 124651, 124657, 124658, 124666, 124682, 124689, 124690, 124697, 124698, 124699, 124707, 124714, 124715, 124729, 124730, 124737, 124739, 124747, 124755, 124761, 124762, 124763, 124770, 124771, 124786, 124787]
def posList : List (Nat × Nat) := [(124601, 2), (124602, 2), (124606, 1), (124613, 3), (124615, 1), (124618, 2), (124621, 1), (124622, 1), (124627, 2), (124629, 1), (124631, 1), (124633, 2), (124635, 2), (124637, 1), (124638, 1), (124639, 1), (124645, 1), (124646, 1), (124647, 1), (124649, 2), (124653, 1), (124654, 1), (124655, 1), (124661, 1), (124662, 1), (124663, 1), (124665, 2), (124667, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero624 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos624 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck624

#print axioms MonskyCheck624.sel_zero624
#print axioms MonskyCheck624.sel_pos624

bsd/MonskyCheck625.lean

lean_all/bsd/MonskyCheck625.lean

/-
  bsd/MonskyCheck625.lean — T39 cycle 1426 (goal G821): Monsky's 2-Selmer matrix for squarefree 124801 ≤ n ≤ 125000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck625
open MonskyCheck

def zeroList : List Nat := [124809, 124811, 124819, 124827, 124833, 124835, 124849, 124858, 124867, 124881, 124898, 124905, 124907, 124922, 124931, 124939, 124953, 124954, 124955, 124961, 124963, 124970, 124971, 124977, 124979, 124985, 124986, 124987, 124995]
def posList : List (Nat × Nat) := [(124801, 2), (124802, 2), (124805, 3), (124806, 1), (124807, 1), (124810, 2), (124813, 1), (124814, 3), (124815, 3), (124817, 2), (124818, 2), (124822, 1), (124823, 1), (124826, 2), (124829, 1), (124831, 1), (124834, 2), (124837, 1), (124838, 1), (124841, 2), (124842, 2), (124843, 2), (124845, 1), (124846, 1), (124847, 1), (124851, 2), (124853, 1), (124854, 3), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero625 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos625 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck625

#print axioms MonskyCheck625.sel_zero625
#print axioms MonskyCheck625.sel_pos625

bsd/MonskyCheck626.lean

lean_all/bsd/MonskyCheck626.lean

/-
  bsd/MonskyCheck626.lean — T39 cycle 1428 (goal G821): Monsky's 2-Selmer matrix for squarefree 125001 ≤ n ≤ 125200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck626
open MonskyCheck

def zeroList : List Nat := [125002, 125003, 125011, 125018, 125026, 125043, 125049, 125059, 125066, 125081, 125089, 125090, 125098, 125107, 125130, 125131, 125138, 125139, 125153, 125162, 125170, 125171, 125178, 125186, 125187, 125193, 125194]
def posList : List (Nat × Nat) := [(125005, 1), (125006, 3), (125007, 1), (125009, 2), (125013, 1), (125014, 1), (125015, 1), (125017, 2), (125021, 1), (125022, 1), (125023, 1), (125027, 2), (125029, 1), (125030, 1), (125031, 1), (125033, 2), (125034, 2), (125035, 2), (125038, 1), (125039, 1), (125041, 2), (125042, 2), (125045, 3), (125047, 1), (125051, 2), (125053, 1), (125054, 3), (125057, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero626 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos626 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck626

#print axioms MonskyCheck626.sel_zero626
#print axioms MonskyCheck626.sel_pos626

bsd/MonskyCheck627.lean

lean_all/bsd/MonskyCheck627.lean

/-
  bsd/MonskyCheck627.lean — T39 cycle 1430 (goal G821): Monsky's 2-Selmer matrix for squarefree 125201 ≤ n ≤ 125400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck627
open MonskyCheck

def zeroList : List Nat := [125203, 125210, 125219, 125227, 125241, 125242, 125243, 125249, 125257, 125282, 125290, 125291, 125297, 125299, 125306, 125313, 125315, 125322, 125323, 125330, 125331, 125338, 125339, 125345, 125346, 125347, 125362, 125363, 125369, 125371, 125378, 125386, 125387, 125394]
def posList : List (Nat × Nat) := [(125201, 2), (125202, 2), (125205, 1), (125206, 1), (125207, 1), (125209, 2), (125211, 2), (125213, 1), (125214, 1), (125215, 3), (125218, 2), (125221, 1), (125222, 1), (125223, 1), (125230, 1), (125231, 1), (125233, 2), (125234, 2), (125237, 1), (125238, 1), (125239, 1), (125245, 1), (125246, 1), (125247, 1), (125251, 2), (125254, 1), (125255, 1), (125258, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero627 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos627 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck627

#print axioms MonskyCheck627.sel_zero627
#print axioms MonskyCheck627.sel_pos627

bsd/MonskyCheck628.lean

lean_all/bsd/MonskyCheck628.lean

/-
  bsd/MonskyCheck628.lean — T39 cycle 1432 (goal G821): Monsky's 2-Selmer matrix for squarefree 125401 ≤ n ≤ 125600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck628
open MonskyCheck

def zeroList : List Nat := [125402, 125403, 125410, 125411, 125434, 125435, 125449, 125457, 125458, 125465, 125467, 125474, 125481, 125482, 125490, 125499, 125507, 125515, 125521, 125529, 125530, 125539, 125546, 125547, 125553, 125562, 125571, 125578]
def posList : List (Nat × Nat) := [(125401, 2), (125405, 1), (125407, 1), (125409, 2), (125413, 1), (125414, 1), (125417, 2), (125418, 2), (125419, 2), (125421, 3), (125422, 1), (125423, 1), (125427, 2), (125429, 1), (125430, 1), (125431, 1), (125437, 3), (125438, 1), (125439, 1), (125441, 2), (125443, 4), (125445, 1), (125446, 1), (125447, 3), (125453, 1), (125454, 1), (125455, 3), (125459, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero628 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos628 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck628

#print axioms MonskyCheck628.sel_zero628
#print axioms MonskyCheck628.sel_pos628

bsd/MonskyCheck629.lean

lean_all/bsd/MonskyCheck629.lean

/-
  bsd/MonskyCheck629.lean — T39 cycle 1436 (goal G821): Monsky's 2-Selmer matrix for squarefree 125601 ≤ n ≤ 125800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck629
open MonskyCheck

def zeroList : List Nat := [125601, 125610, 125618, 125626, 125627, 125634, 125635, 125651, 125659, 125666, 125674, 125682, 125683, 125689, 125691, 125706, 125707, 125722, 125723, 125729, 125731, 125738, 125754, 125755, 125761, 125763, 125770, 125778, 125779, 125785, 125786]
def posList : List (Nat × Nat) := [(125602, 2), (125603, 2), (125605, 3), (125606, 1), (125607, 1), (125609, 2), (125611, 2), (125614, 1), (125615, 1), (125617, 2), (125619, 2), (125621, 1), (125623, 1), (125629, 1), (125630, 1), (125633, 2), (125637, 1), (125638, 1), (125639, 1), (125641, 2), (125642, 2), (125643, 4), (125645, 1), (125646, 1), (125647, 3), (125653, 1), (125654, 1), (125655, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero629 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos629 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck629

#print axioms MonskyCheck629.sel_zero629
#print axioms MonskyCheck629.sel_pos629

bsd/MonskyCheck63.lean

lean_all/bsd/MonskyCheck63.lean

/-
  bsd/MonskyCheck63.lean — T39 cycle 400 (goal G120): Monsky's 2-Selmer matrix for squarefree 12401 ≤ n ≤ 12600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck63
open MonskyCheck

def zeroList : List Nat := [12403, 12410, 12417, 12419, 12441, 12442, 12449, 12451, 12458, 12467, 12489, 12491, 12498, 12507, 12515, 12521, 12529, 12530, 12538, 12539, 12547, 12554, 12561, 12562, 12571, 12578, 12579, 12586, 12594]
def posList : List (Nat × Nat) := [(12401, 2), (12405, 1), (12406, 1), (12407, 1), (12409, 2), (12413, 1), (12414, 1), (12415, 3), (12418, 2), (12421, 1), (12422, 1), (12423, 1), (12426, 2), (12430, 1), (12431, 1), (12433, 2), (12434, 2), (12435, 2), (12437, 1), (12439, 1), (12443, 2), (12445, 1), (12453, 1), (12454, 1), (12455, 1), (12457, 2), (12459, 2), (12461, 3), (12462, 1), (12466, 2), (1246  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero63 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos63 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck63

#print axioms MonskyCheck63.sel_zero63
#print axioms MonskyCheck63.sel_pos63

bsd/MonskyCheck630.lean

lean_all/bsd/MonskyCheck630.lean

/-
  bsd/MonskyCheck630.lean — T39 cycle 1442 (goal G821): Monsky's 2-Selmer matrix for squarefree 125801 ≤ n ≤ 126000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck630
open MonskyCheck

def zeroList : List Nat := [125803, 125810, 125817, 125818, 125819, 125826, 125827, 125834, 125841, 125843, 125851, 125866, 125867, 125873, 125889, 125890, 125898, 125899, 125906, 125907, 125914, 125915, 125923, 125947, 125962, 125963, 125970, 125978, 125995]
def posList : List (Nat × Nat) := [(125801, 2), (125805, 1), (125806, 1), (125807, 1), (125809, 4), (125813, 1), (125814, 1), (125815, 1), (125821, 1), (125822, 1), (125823, 1), (125830, 1), (125831, 1), (125833, 2), (125835, 2), (125837, 1), (125839, 3), (125842, 2), (125845, 3), (125846, 1), (125849, 2), (125853, 1), (125854, 1), (125855, 1), (125857, 2), (125858, 2), (125859, 2), (125861, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero630 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos630 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck630

#print axioms MonskyCheck630.sel_zero630
#print axioms MonskyCheck630.sel_pos630

bsd/MonskyCheck631.lean

lean_all/bsd/MonskyCheck631.lean

/-
  bsd/MonskyCheck631.lean — T39 cycle 1446 (goal G831): Monsky's 2-Selmer matrix for squarefree 126001 ≤ n ≤ 126200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck631
open MonskyCheck

def zeroList : List Nat := [126011, 126019, 126033, 126035, 126042, 126049, 126051, 126057, 126058, 126065, 126066, 126067, 126073, 126083, 126106, 126107, 126114, 126129, 126130, 126131, 126137, 126139, 126155, 126161, 126163, 126170, 126179, 126186, 126195]
def posList : List (Nat × Nat) := [(126001, 2), (126003, 2), (126005, 1), (126006, 3), (126007, 3), (126010, 2), (126013, 1), (126014, 1), (126015, 3), (126017, 2), (126021, 3), (126022, 1), (126023, 1), (126026, 2), (126029, 1), (126030, 3), (126031, 1), (126034, 2), (126037, 1), (126038, 1), (126039, 1), (126041, 2), (126043, 2), (126046, 1), (126047, 1), (126053, 1), (126055, 1), (126059, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero631 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos631 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck631

#print axioms MonskyCheck631.sel_zero631
#print axioms MonskyCheck631.sel_pos631

bsd/MonskyCheck632.lean

lean_all/bsd/MonskyCheck632.lean

/-
  bsd/MonskyCheck632.lean — T39 cycle 1448 (goal G831): Monsky's 2-Selmer matrix for squarefree 126201 ≤ n ≤ 126400, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck632
open MonskyCheck

def zeroList : List Nat := [126202, 126211, 126217, 126227, 126235, 126249, 126251, 126259, 126266, 126267, 126274, 126282, 126283, 126290, 126291, 126298, 126299, 126307, 126313, 126321, 126323, 126338, 126339, 126345, 126346, 126347, 126354, 126355, 126362, 126370, 126377, 126386, 126393, 126394, 126395]
def posList : List (Nat × Nat) := [(126201, 2), (126205, 1), (126206, 1), (126209, 2), (126210, 2), (126213, 1), (126214, 1), (126215, 1), (126218, 2), (126219, 2), (126221, 3), (126222, 3), (126223, 1), (126226, 2), (126229, 1), (126230, 1), (126231, 1), (126233, 2), (126237, 1), (126238, 3), (126239, 3), (126241, 2), (126242, 2), (126245, 1), (126246, 1), (126247, 1), (126253, 1), (126254, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero632 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos632 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck632

#print axioms MonskyCheck632.sel_zero632
#print axioms MonskyCheck632.sel_pos632

bsd/MonskyCheck633.lean

lean_all/bsd/MonskyCheck633.lean

/-
  bsd/MonskyCheck633.lean — T39 cycle 1450 (goal G831): Monsky's 2-Selmer matrix for squarefree 126401 ≤ n ≤ 126600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck633
open MonskyCheck

def zeroList : List Nat := [126401, 126402, 126409, 126411, 126417, 126426, 126435, 126442, 126443, 126451, 126458, 126466, 126467, 126489, 126491, 126499, 126506, 126515, 126521, 126530, 126537, 126538, 126539, 126547, 126553, 126554, 126555, 126561, 126563, 126570, 126577, 126578, 126586, 126587, 126595]
def posList : List (Nat × Nat) := [(126403, 2), (126406, 1), (126407, 1), (126410, 2), (126413, 1), (126415, 1), (126418, 2), (126419, 2), (126421, 1), (126422, 1), (126427, 2), (126429, 1), (126430, 1), (126433, 2), (126434, 2), (126437, 1), (126438, 1), (126439, 1), (126446, 3), (126447, 1), (126449, 2), (126453, 1), (126454, 1), (126455, 1), (126457, 2), (126461, 1), (126462, 1), (126463, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero633 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos633 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck633

#print axioms MonskyCheck633.sel_zero633
#print axioms MonskyCheck633.sel_pos633

bsd/MonskyCheck634.lean

lean_all/bsd/MonskyCheck634.lean

/-
  bsd/MonskyCheck634.lean — T39 cycle 1452 (goal G831): Monsky's 2-Selmer matrix for squarefree 126601 ≤ n ≤ 126800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck634
open MonskyCheck

def zeroList : List Nat := [126602, 126611, 126618, 126619, 126627, 126634, 126635, 126642, 126658, 126659, 126667, 126681, 126682, 126683, 126691, 126697, 126698, 126699, 126705, 126715, 126723, 126731, 126739, 126746, 126753, 126762, 126771, 126777, 126778, 126779, 126786, 126794]
def posList : List (Nat × Nat) := [(126601, 2), (126605, 3), (126606, 1), (126607, 1), (126609, 2), (126610, 2), (126613, 1), (126614, 1), (126615, 1), (126617, 2), (126622, 1), (126623, 3), (126626, 2), (126629, 1), (126631, 1), (126633, 2), (126637, 1), (126638, 3), (126641, 2), (126643, 2), (126645, 1), (126646, 1), (126647, 3), (126649, 2), (126651, 2), (126653, 1), (126654, 1), (126655, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero634 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos634 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck634

#print axioms MonskyCheck634.sel_zero634
#print axioms MonskyCheck634.sel_pos634

bsd/MonskyCheck635.lean

lean_all/bsd/MonskyCheck635.lean

/-
  bsd/MonskyCheck635.lean — T39 cycle 1454 (goal G831): Monsky's 2-Selmer matrix for squarefree 126801 ≤ n ≤ 127000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck635
open MonskyCheck

def zeroList : List Nat := [126802, 126827, 126834, 126835, 126842, 126843, 126849, 126851, 126859, 126866, 126897, 126898, 126907, 126921, 126922, 126923, 126930, 126931, 126939, 126962, 126969, 126970, 126977, 126978, 126979, 126986, 126993]
def posList : List (Nat × Nat) := [(126803, 2), (126805, 1), (126806, 1), (126807, 1), (126809, 2), (126811, 2), (126813, 1), (126814, 1), (126815, 3), (126817, 2), (126818, 2), (126821, 1), (126822, 1), (126823, 1), (126826, 2), (126829, 1), (126830, 1), (126831, 1), (126833, 2), (126838, 1), (126839, 1), (126841, 2), (126845, 1), (126847, 1), (126853, 1), (126854, 1), (126857, 2), (126858, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero635 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos635 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck635

#print axioms MonskyCheck635.sel_zero635
#print axioms MonskyCheck635.sel_pos635

bsd/MonskyCheck636.lean

lean_all/bsd/MonskyCheck636.lean

/-
  bsd/MonskyCheck636.lean — T39 cycle 1456 (goal G831): Monsky's 2-Selmer matrix for squarefree 127001 ≤ n ≤ 127200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck636
open MonskyCheck

def zeroList : List Nat := [127002, 127003, 127009, 127019, 127043, 127051, 127058, 127066, 127067, 127073, 127074, 127082, 127083, 127113, 127115, 127122, 127123, 127129, 127130, 127137, 127138, 127139, 127147, 127163, 127178, 127186, 127187, 127194]
def posList : List (Nat × Nat) := [(127001, 2), (127005, 1), (127006, 1), (127007, 1), (127010, 2), (127011, 2), (127013, 1), (127014, 3), (127015, 1), (127018, 2), (127021, 1), (127022, 1), (127023, 1), (127027, 2), (127029, 1), (127030, 1), (127031, 1), (127033, 2), (127034, 2), (127037, 1), (127038, 1), (127039, 1), (127041, 2), (127042, 2), (127045, 3), (127046, 1), (127047, 1), (127049, 2), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero636 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos636 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck636

#print axioms MonskyCheck636.sel_zero636
#print axioms MonskyCheck636.sel_pos636

bsd/MonskyCheck637.lean

lean_all/bsd/MonskyCheck637.lean

/-
  bsd/MonskyCheck637.lean — T39 cycle 1458 (goal G831): Monsky's 2-Selmer matrix for squarefree 127201 ≤ n ≤ 127400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck637
open MonskyCheck

def zeroList : List Nat := [127201, 127203, 127209, 127211, 127219, 127235, 127243, 127258, 127266, 127274, 127283, 127290, 127291, 127306, 127315, 127322, 127329, 127330, 127331, 127339, 127347, 127353, 127354, 127362, 127363, 127369, 127370, 127387]
def posList : List (Nat × Nat) := [(127202, 2), (127205, 1), (127207, 1), (127210, 2), (127213, 1), (127214, 1), (127217, 2), (127218, 2), (127221, 1), (127222, 1), (127223, 1), (127226, 2), (127227, 2), (127229, 1), (127230, 1), (127231, 1), (127234, 2), (127237, 1), (127238, 3), (127239, 1), (127241, 2), (127245, 1), (127246, 1), (127247, 1), (127249, 2), (127254, 1), (127255, 1), (127259, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero637 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos637 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck637

#print axioms MonskyCheck637.sel_zero637
#print axioms MonskyCheck637.sel_pos637

bsd/MonskyCheck638.lean

lean_all/bsd/MonskyCheck638.lean

/-
  bsd/MonskyCheck638.lean — T39 cycle 1460 (goal G831): Monsky's 2-Selmer matrix for squarefree 127401 ≤ n ≤ 127600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck638
open MonskyCheck

def zeroList : List Nat := [127401, 127402, 127403, 127409, 127410, 127418, 127419, 127427, 127434, 127435, 127457, 127459, 127466, 127473, 127482, 127491, 127497, 127499, 127505, 127506, 127507, 127515, 127523, 127531, 127538, 127545, 127546, 127555, 127562, 127569, 127570, 127578, 127579, 127585, 127594]
def posList : List (Nat × Nat) := [(127405, 1), (127406, 1), (127407, 1), (127411, 2), (127414, 1), (127415, 1), (127417, 2), (127421, 1), (127423, 1), (127429, 3), (127430, 1), (127437, 1), (127438, 1), (127439, 1), (127441, 2), (127442, 2), (127443, 2), (127445, 3), (127446, 1), (127447, 1), (127451, 2), (127453, 1), (127454, 1), (127455, 3), (127461, 1), (127462, 1), (127463, 1), (127465, 2), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero638 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos638 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck638

#print axioms MonskyCheck638.sel_zero638
#print axioms MonskyCheck638.sel_pos638

bsd/MonskyCheck639.lean

lean_all/bsd/MonskyCheck639.lean

/-
  bsd/MonskyCheck639.lean — T39 cycle 1462 (goal G831): Monsky's 2-Selmer matrix for squarefree 127601 ≤ n ≤ 127800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck639
open MonskyCheck

def zeroList : List Nat := [127619, 127626, 127633, 127634, 127635, 127641, 127643, 127658, 127666, 127667, 127673, 127691, 127698, 127699, 127706, 127707, 127713, 127715, 127722, 127739, 127747, 127753, 127763, 127769]
def posList : List (Nat × Nat) := [(127601, 2), (127603, 2), (127605, 1), (127606, 1), (127607, 1), (127609, 2), (127610, 2), (127613, 1), (127614, 1), (127615, 1), (127617, 2), (127618, 2), (127621, 1), (127622, 3), (127623, 1), (127627, 2), (127630, 1), (127631, 1), (127637, 1), (127639, 1), (127642, 2), (127646, 1), (127649, 2), (127651, 2), (127653, 1), (127654, 1), (127657, 2), (127659, 2), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero639 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos639 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck639

#print axioms MonskyCheck639.sel_zero639
#print axioms MonskyCheck639.sel_pos639

bsd/MonskyCheck64.lean

lean_all/bsd/MonskyCheck64.lean

/-
  bsd/MonskyCheck64.lean — T39 cycle 403 (goal G121): Monsky's 2-Selmer matrix for squarefree 12601 ≤ n ≤ 12800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck64
open MonskyCheck

def zeroList : List Nat := [12602, 12611, 12617, 12619, 12626, 12633, 12634, 12649, 12651, 12657, 12659, 12667, 12707, 12715, 12723, 12729, 12730, 12738, 12739, 12746, 12763, 12770, 12777, 12778, 12779, 12786, 12787, 12793, 12794, 12795]
def posList : List (Nat × Nat) := [(12601, 2), (12603, 2), (12605, 3), (12606, 1), (12607, 3), (12610, 2), (12613, 1), (12614, 1), (12621, 1), (12622, 1), (12623, 1), (12629, 3), (12630, 1), (12631, 1), (12637, 1), (12638, 3), (12639, 1), (12641, 2), (12643, 2), (12646, 1), (12647, 1), (12653, 1), (12655, 1), (12658, 2), (12661, 1), (12662, 1), (12665, 2), (12666, 2), (12669, 1), (12670, 1), (1267  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero64 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos64 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck64

#print axioms MonskyCheck64.sel_zero64
#print axioms MonskyCheck64.sel_pos64

bsd/MonskyCheck640.lean

lean_all/bsd/MonskyCheck640.lean

/-
  bsd/MonskyCheck640.lean — T39 cycle 1464 (goal G831): Monsky's 2-Selmer matrix for squarefree 127801 ≤ n ≤ 128000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck640
open MonskyCheck

def zeroList : List Nat := [127801, 127802, 127810, 127811, 127819, 127833, 127834, 127842, 127843, 127859, 127866, 127867, 127882, 127883, 127889, 127898, 127905, 127907, 127914, 127915, 127923, 127929, 127930, 127931, 127938, 127946, 127955, 127963, 127977, 127979, 127985, 127994, 127995]
def posList : List (Nat × Nat) := [(127803, 2), (127805, 3), (127806, 1), (127807, 1), (127814, 1), (127815, 3), (127817, 2), (127821, 1), (127822, 3), (127823, 1), (127826, 2), (127829, 1), (127830, 1), (127831, 1), (127835, 2), (127837, 1), (127838, 3), (127839, 1), (127846, 1), (127847, 1), (127849, 2), (127851, 2), (127853, 1), (127855, 1), (127857, 2), (127858, 2), (127861, 3), (127862, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero640 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos640 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck640

#print axioms MonskyCheck640.sel_zero640
#print axioms MonskyCheck640.sel_pos640

bsd/MonskyCheck641.lean

lean_all/bsd/MonskyCheck641.lean

/-
  bsd/MonskyCheck641.lean — T39 cycle 1466 (goal G835): Monsky's 2-Selmer matrix for squarefree 128001 ≤ n ≤ 128200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck641
open MonskyCheck

def zeroList : List Nat := [128001, 128010, 128019, 128026, 128041, 128049, 128059, 128065, 128067, 128073, 128074, 128082, 128083, 128089, 128098, 128099, 128107, 128131, 128145, 128147, 128154, 128161, 128163, 128170, 128179, 128186, 128193, 128194]
def posList : List (Nat × Nat) := [(128002, 2), (128003, 2), (128005, 3), (128006, 1), (128009, 2), (128011, 2), (128013, 1), (128014, 1), (128015, 1), (128017, 4), (128021, 1), (128022, 1), (128023, 1), (128029, 1), (128030, 3), (128031, 1), (128033, 2), (128035, 2), (128038, 1), (128039, 1), (128042, 2), (128045, 3), (128046, 1), (128047, 1), (128051, 2), (128053, 1), (128054, 1), (128055, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero641 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos641 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck641

#print axioms MonskyCheck641.sel_zero641
#print axioms MonskyCheck641.sel_pos641

bsd/MonskyCheck642.lean

lean_all/bsd/MonskyCheck642.lean

/-
  bsd/MonskyCheck642.lean — T39 cycle 1468 (goal G835): Monsky's 2-Selmer matrix for squarefree 128201 ≤ n ≤ 128400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck642
open MonskyCheck

def zeroList : List Nat := [128203, 128210, 128211, 128218, 128219, 128226, 128227, 128242, 128258, 128266, 128267, 128274, 128281, 128283, 128289, 128290, 128291, 128297, 128305, 128307, 128314, 128330, 128337, 128339, 128346, 128347, 128354, 128355, 128361, 128363, 128378]
def posList : List (Nat × Nat) := [(128201, 2), (128202, 2), (128206, 1), (128207, 1), (128209, 2), (128213, 1), (128215, 1), (128217, 2), (128221, 1), (128222, 1), (128229, 1), (128230, 1), (128231, 1), (128234, 2), (128235, 2), (128237, 1), (128238, 1), (128239, 1), (128243, 2), (128245, 1), (128246, 1), (128247, 1), (128249, 2), (128251, 2), (128253, 1), (128254, 1), (128255, 1), (128257, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero642 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos642 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck642

#print axioms MonskyCheck642.sel_zero642
#print axioms MonskyCheck642.sel_pos642

bsd/MonskyCheck643.lean

lean_all/bsd/MonskyCheck643.lean

/-
  bsd/MonskyCheck643.lean — T39 cycle 1470 (goal G835): Monsky's 2-Selmer matrix for squarefree 128401 ≤ n ≤ 128600, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck643
open MonskyCheck

def zeroList : List Nat := [128401, 128409, 128411, 128418, 128426, 128427, 128433, 128458, 128467, 128474, 128482, 128483, 128490, 128491, 128497, 128499, 128505, 128507, 128513, 128514, 128515, 128522, 128530, 128531, 128545, 128546, 128554, 128555, 128561, 128562, 128563, 128570, 128571, 128577, 128578, 128579, 128586, 128595]
def posList : List (Nat × Nat) := [(128402, 2), (128405, 3), (128406, 1), (128407, 1), (128410, 2), (128413, 1), (128414, 1), (128415, 1), (128417, 2), (128419, 2), (128422, 1), (128423, 1), (128431, 1), (128434, 2), (128435, 2), (128437, 1), (128438, 1), (128441, 2), (128442, 2), (128443, 2), (128445, 1), (128446, 1), (128447, 1), (128449, 2), (128451, 2), (128453, 1), (128454, 1), (128455, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero643 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos643 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck643

#print axioms MonskyCheck643.sel_zero643
#print axioms MonskyCheck643.sel_pos643

bsd/MonskyCheck644.lean

lean_all/bsd/MonskyCheck644.lean

/-
  bsd/MonskyCheck644.lean — T39 cycle 1472 (goal G835): Monsky's 2-Selmer matrix for squarefree 128601 ≤ n ≤ 128800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck644
open MonskyCheck

def zeroList : List Nat := [128602, 128603, 128618, 128627, 128633, 128634, 128642, 128649, 128658, 128659, 128666, 128667, 128683, 128689, 128690, 128697, 128698, 128706, 128707, 128714, 128722, 128730, 128738, 128746, 128747, 128762, 128769, 128771, 128787, 128794]
def posList : List (Nat × Nat) := [(128606, 1), (128607, 1), (128611, 2), (128613, 1), (128614, 1), (128615, 1), (128617, 4), (128621, 1), (128622, 1), (128626, 2), (128629, 1), (128630, 1), (128631, 1), (128635, 2), (128638, 1), (128639, 1), (128641, 2), (128643, 2), (128645, 1), (128647, 3), (128651, 2), (128653, 1), (128654, 1), (128657, 2), (128661, 1), (128662, 1), (128663, 1), (128665, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero644 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos644 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck644

#print axioms MonskyCheck644.sel_zero644
#print axioms MonskyCheck644.sel_pos644

bsd/MonskyCheck645.lean

lean_all/bsd/MonskyCheck645.lean

/-
  bsd/MonskyCheck645.lean — T39 cycle 1474 (goal G835): Monsky's 2-Selmer matrix for squarefree 128801 ≤ n ≤ 129000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck645
open MonskyCheck

def zeroList : List Nat := [128801, 128802, 128810, 128818, 128819, 128827, 128834, 128842, 128851, 128858, 128859, 128867, 128882, 128891, 128905, 128906, 128913, 128914, 128921, 128922, 128923, 128930, 128937, 128938, 128939, 128946, 128955, 128963, 128971, 128987, 128994]
def posList : List (Nat × Nat) := [(128803, 2), (128805, 1), (128806, 1), (128807, 1), (128809, 2), (128811, 2), (128813, 1), (128814, 1), (128815, 1), (128822, 1), (128823, 1), (128829, 1), (128830, 1), (128831, 1), (128833, 2), (128837, 1), (128838, 1), (128839, 1), (128841, 2), (128843, 2), (128845, 1), (128846, 3), (128847, 1), (128849, 2), (128854, 3), (128855, 1), (128857, 2), (128861, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero645 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos645 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck645

#print axioms MonskyCheck645.sel_zero645
#print axioms MonskyCheck645.sel_pos645

bsd/MonskyCheck646.lean

lean_all/bsd/MonskyCheck646.lean

/-
  bsd/MonskyCheck646.lean — T39 cycle 1476 (goal G835): Monsky's 2-Selmer matrix for squarefree 129001 ≤ n ≤ 129200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck646
open MonskyCheck

def zeroList : List Nat := [129002, 129003, 129009, 129011, 129027, 129034, 129035, 129041, 129043, 129057, 129058, 129067, 129074, 129081, 129082, 129083, 129091, 129098, 129130, 129131, 129138, 129139, 129145, 129146, 129147, 129153, 129155, 129162, 129163, 129170, 129179, 129185, 129187]
def posList : List (Nat × Nat) := [(129001, 2), (129005, 3), (129007, 1), (129010, 2), (129013, 1), (129014, 1), (129018, 2), (129019, 2), (129021, 1), (129022, 3), (129023, 1), (129026, 2), (129029, 1), (129030, 1), (129031, 3), (129037, 1), (129038, 1), (129039, 1), (129045, 1), (129046, 1), (129047, 3), (129049, 2), (129053, 1), (129054, 1), (129055, 1), (129059, 2), (129061, 1), (129062, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero646 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos646 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck646

#print axioms MonskyCheck646.sel_zero646
#print axioms MonskyCheck646.sel_pos646

bsd/MonskyCheck647.lean

lean_all/bsd/MonskyCheck647.lean

/-
  bsd/MonskyCheck647.lean — T39 cycle 1478 (goal G835): Monsky's 2-Selmer matrix for squarefree 129201 ≤ n ≤ 129400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck647
open MonskyCheck

def zeroList : List Nat := [129201, 129203, 129210, 129211, 129226, 129235, 129242, 129243, 129257, 129265, 129282, 129291, 129298, 129299, 129314, 129315, 129322, 129323, 129338, 129345, 129347, 129354, 129369, 129371, 129377, 129378, 129379, 129386, 129395]
def posList : List (Nat × Nat) := [(129202, 2), (129205, 3), (129206, 1), (129207, 1), (129209, 2), (129215, 1), (129217, 2), (129218, 2), (129219, 2), (129221, 1), (129223, 1), (129227, 2), (129229, 1), (129230, 1), (129233, 2), (129234, 2), (129237, 1), (129239, 1), (129241, 2), (129245, 3), (129246, 1), (129247, 1), (129251, 2), (129253, 3), (129254, 1), (129255, 1), (129259, 2), (129261, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero647 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos647 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck647

#print axioms MonskyCheck647.sel_zero647
#print axioms MonskyCheck647.sel_pos647

bsd/MonskyCheck648.lean

lean_all/bsd/MonskyCheck648.lean

/-
  bsd/MonskyCheck648.lean — T39 cycle 1480 (goal G835): Monsky's 2-Selmer matrix for squarefree 129401 ≤ n ≤ 129600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck648
open MonskyCheck

def zeroList : List Nat := [129403, 129410, 129417, 129418, 129419, 129427, 129434, 129442, 129443, 129451, 129459, 129466, 129473, 129481, 129482, 129491, 129498, 129499, 129513, 129515, 129522, 129523, 129530, 129539, 129547, 129554, 129562, 129569, 129577, 129578, 129579, 129587]
def posList : List (Nat × Nat) := [(129401, 2), (129405, 1), (129406, 1), (129407, 1), (129413, 1), (129414, 1), (129415, 1), (129421, 1), (129422, 1), (129423, 1), (129426, 2), (129431, 1), (129433, 2), (129435, 2), (129439, 1), (129441, 2), (129445, 3), (129446, 3), (129449, 2), (129453, 1), (129455, 1), (129457, 2), (129461, 1), (129462, 3), (129463, 1), (129467, 2), (129469, 1), (129471, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero648 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos648 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck648

#print axioms MonskyCheck648.sel_zero648
#print axioms MonskyCheck648.sel_pos648

bsd/MonskyCheck649.lean

lean_all/bsd/MonskyCheck649.lean

/-
  bsd/MonskyCheck649.lean — T39 cycle 1482 (goal G835): Monsky's 2-Selmer matrix for squarefree 129601 ≤ n ≤ 129800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck649
open MonskyCheck

def zeroList : List Nat := [129602, 129611, 129617, 129633, 129643, 129658, 129659, 129666, 129667, 129683, 129705, 129706, 129707, 129713, 129714, 129715, 129722, 129723, 129729, 129730, 129738, 129739, 129746, 129754, 129763, 129770, 129777, 129779, 129786, 129787, 129795]
def posList : List (Nat × Nat) := [(129601, 2), (129603, 2), (129606, 3), (129607, 1), (129610, 2), (129613, 1), (129614, 1), (129615, 3), (129619, 2), (129621, 1), (129622, 1), (129626, 2), (129629, 1), (129630, 3), (129631, 1), (129634, 2), (129635, 2), (129637, 1), (129638, 1), (129639, 1), (129641, 2), (129642, 2), (129646, 1), (129647, 1), (129649, 2), (129651, 2), (129653, 3), (129655, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero649 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos649 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck649

#print axioms MonskyCheck649.sel_zero649
#print axioms MonskyCheck649.sel_pos649

bsd/MonskyCheck65.lean

lean_all/bsd/MonskyCheck65.lean

/-
  bsd/MonskyCheck65.lean — T39 cycle 404 (goal G122): Monsky's 2-Selmer matrix for squarefree 12801 ≤ n ≤ 13000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck65
open MonskyCheck

def zeroList : List Nat := [12801, 12802, 12810, 12811, 12818, 12827, 12842, 12849, 12851, 12858, 12867, 12874, 12881, 12899, 12907, 12914, 12921, 12923, 12938, 12939, 12945, 12954, 12963, 12970, 12971, 12977, 12979, 12993, 12995]
def posList : List (Nat × Nat) := [(12803, 2), (12805, 1), (12806, 1), (12809, 2), (12813, 1), (12814, 1), (12815, 1), (12817, 2), (12819, 2), (12821, 1), (12822, 3), (12823, 1), (12829, 1), (12830, 1), (12831, 1), (12833, 2), (12835, 2), (12837, 1), (12839, 1), (12841, 2), (12845, 1), (12846, 1), (12847, 1), (12853, 1), (12854, 1), (12855, 1), (12857, 2), (12859, 2), (12862, 1), (12863, 1), (1286  -- (+762 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero65 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos65 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck65

#print axioms MonskyCheck65.sel_zero65
#print axioms MonskyCheck65.sel_pos65

bsd/MonskyCheck650.lean

lean_all/bsd/MonskyCheck650.lean

/-
  bsd/MonskyCheck650.lean — T39 cycle 1484 (goal G835): Monsky's 2-Selmer matrix for squarefree 129801 ≤ n ≤ 130000, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 100 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck650
open MonskyCheck

def zeroList : List Nat := [129802, 129803, 129817, 129826, 129827, 129849, 129851, 129857, 129858, 129865, 129873, 129891, 129922, 129923, 129931, 129939, 129945, 129946, 129970, 129971, 129977, 129993, 129994]
def posList : List (Nat × Nat) := [(129805, 1), (129806, 3), (129809, 2), (129810, 2), (129811, 2), (129813, 1), (129814, 1), (129815, 1), (129818, 2), (129819, 2), (129821, 1), (129822, 1), (129823, 1), (129829, 1), (129830, 1), (129831, 1), (129835, 2), (129837, 1), (129838, 1), (129839, 1), (129841, 2), (129842, 2), (129845, 3), (129846, 1), (129847, 3), (129853, 1), (129854, 1), (129855, 1), (  -- (+934 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero650 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos650 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck650

#print axioms MonskyCheck650.sel_zero650
#print axioms MonskyCheck650.sel_pos650

bsd/MonskyCheck651.lean

lean_all/bsd/MonskyCheck651.lean

/-
  bsd/MonskyCheck651.lean — T39 cycle 1486 (goal G836): Monsky's 2-Selmer matrix for squarefree 130001 ≤ n ≤ 130200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck651
open MonskyCheck

def zeroList : List Nat := [130002, 130003, 130018, 130026, 130027, 130035, 130043, 130051, 130058, 130067, 130097, 130098, 130099, 130106, 130114, 130115, 130138, 130147, 130154, 130155, 130161, 130163, 130169, 130170, 130171, 130186, 130187, 130195]
def posList : List (Nat × Nat) := [(130001, 2), (130006, 1), (130007, 1), (130009, 2), (130010, 2), (130011, 2), (130013, 1), (130015, 1), (130017, 2), (130019, 2), (130021, 1), (130022, 1), (130029, 1), (130030, 1), (130031, 1), (130033, 4), (130034, 2), (130037, 1), (130038, 3), (130039, 1), (130042, 2), (130045, 3), (130047, 1), (130049, 2), (130053, 1), (130054, 1), (130057, 2), (130061, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero651 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos651 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck651

#print axioms MonskyCheck651.sel_zero651
#print axioms MonskyCheck651.sel_pos651

bsd/MonskyCheck652.lean

lean_all/bsd/MonskyCheck652.lean

/-
  bsd/MonskyCheck652.lean — T39 cycle 1488 (goal G836): Monsky's 2-Selmer matrix for squarefree 130201 ≤ n ≤ 130400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck652
open MonskyCheck

def zeroList : List Nat := [130202, 130209, 130210, 130211, 130227, 130233, 130243, 130251, 130259, 130267, 130274, 130281, 130282, 130298, 130306, 130307, 130314, 130330, 130346, 130353, 130361, 130362, 130363, 130370, 130371, 130377, 130378, 130379, 130386, 130387, 130393, 130394, 130395]
def posList : List (Nat × Nat) := [(130201, 2), (130205, 3), (130206, 1), (130207, 1), (130213, 1), (130214, 1), (130215, 1), (130217, 2), (130218, 2), (130219, 2), (130222, 1), (130223, 1), (130226, 2), (130229, 1), (130231, 3), (130234, 2), (130237, 1), (130238, 1), (130241, 2), (130245, 1), (130246, 1), (130247, 1), (130249, 4), (130253, 1), (130254, 1), (130255, 3), (130258, 2), (130261, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero652 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos652 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck652

#print axioms MonskyCheck652.sel_zero652
#print axioms MonskyCheck652.sel_pos652

bsd/MonskyCheck653.lean

lean_all/bsd/MonskyCheck653.lean

/-
  bsd/MonskyCheck653.lean — T39 cycle 1490 (goal G836): Monsky's 2-Selmer matrix for squarefree 130401 ≤ n ≤ 130600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck653
open MonskyCheck

def zeroList : List Nat := [130403, 130411, 130418, 130426, 130427, 130433, 130434, 130442, 130443, 130458, 130459, 130483, 130497, 130505, 130506, 130522, 130523, 130530, 130531, 130537, 130538, 130539, 130546, 130547, 130570, 130571, 130578, 130579, 130586, 130587, 130593]
def posList : List (Nat × Nat) := [(130402, 2), (130405, 1), (130406, 1), (130407, 1), (130409, 2), (130413, 1), (130414, 1), (130415, 1), (130417, 2), (130421, 1), (130422, 1), (130423, 1), (130429, 3), (130430, 1), (130431, 1), (130435, 2), (130439, 1), (130441, 2), (130445, 1), (130447, 1), (130449, 2), (130451, 2), (130453, 1), (130454, 1), (130457, 2), (130461, 1), (130462, 3), (130463, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero653 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos653 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck653

#print axioms MonskyCheck653.sel_zero653
#print axioms MonskyCheck653.sel_pos653

bsd/MonskyCheck654.lean

lean_all/bsd/MonskyCheck654.lean

/-
  bsd/MonskyCheck654.lean — T39 cycle 1492 (goal G836): Monsky's 2-Selmer matrix for squarefree 130601 ≤ n ≤ 130800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck654
open MonskyCheck

def zeroList : List Nat := [130609, 130611, 130618, 130619, 130627, 130641, 130642, 130643, 130651, 130658, 130666, 130667, 130699, 130714, 130722, 130723, 130731, 130737, 130738, 130746, 130747, 130762, 130771, 130777, 130778, 130787, 130794, 130795]
def posList : List (Nat × Nat) := [(130601, 2), (130602, 2), (130603, 2), (130605, 1), (130606, 1), (130607, 1), (130610, 2), (130613, 1), (130614, 1), (130615, 3), (130621, 1), (130622, 3), (130623, 1), (130629, 1), (130630, 1), (130631, 1), (130633, 2), (130638, 1), (130639, 1), (130645, 1), (130646, 1), (130647, 1), (130649, 2), (130654, 1), (130655, 1), (130657, 2), (130659, 2), (130661, 3), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero654 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos654 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck654

#print axioms MonskyCheck654.sel_zero654
#print axioms MonskyCheck654.sel_pos654

bsd/MonskyCheck655.lean

lean_all/bsd/MonskyCheck655.lean

/-
  bsd/MonskyCheck655.lean — T39 cycle 1494 (goal G836): Monsky's 2-Selmer matrix for squarefree 130801 ≤ n ≤ 131000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck655
open MonskyCheck

def zeroList : List Nat := [130809, 130811, 130818, 130826, 130835, 130843, 130859, 130865, 130866, 130867, 130874, 130881, 130890, 130915, 130929, 130930, 130931, 130947, 130953, 130963, 130970, 130971, 130978, 130979, 130985, 130987]
def posList : List (Nat × Nat) := [(130802, 2), (130803, 2), (130805, 3), (130807, 1), (130810, 2), (130813, 1), (130814, 1), (130817, 2), (130819, 2), (130821, 1), (130822, 1), (130823, 1), (130827, 2), (130829, 1), (130831, 1), (130834, 2), (130837, 1), (130838, 1), (130839, 1), (130841, 2), (130845, 1), (130846, 1), (130847, 3), (130849, 2), (130853, 1), (130854, 1), (130855, 1), (130857, 2), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero655 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos655 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck655

#print axioms MonskyCheck655.sel_zero655
#print axioms MonskyCheck655.sel_pos655

bsd/MonskyCheck656.lean

lean_all/bsd/MonskyCheck656.lean

/-
  bsd/MonskyCheck656.lean — T39 cycle 1496 (goal G836): Monsky's 2-Selmer matrix for squarefree 131001 ≤ n ≤ 131200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck656
open MonskyCheck

def zeroList : List Nat := [131001, 131002, 131010, 131011, 131018, 131057, 131059, 131065, 131073, 131081, 131082, 131089, 131090, 131098, 131099, 131106, 131107, 131114, 131115, 131122, 131123, 131131, 131138, 131145, 131146, 131147, 131153, 131154, 131155, 131162, 131163, 131169, 131170, 131171, 131179, 131194]
def posList : List (Nat × Nat) := [(131003, 2), (131005, 1), (131006, 3), (131007, 1), (131009, 2), (131014, 1), (131015, 1), (131017, 2), (131019, 2), (131021, 1), (131023, 1), (131027, 2), (131029, 1), (131030, 1), (131033, 2), (131034, 2), (131035, 2), (131037, 1), (131038, 1), (131039, 1), (131041, 2), (131042, 2), (131045, 3), (131046, 3), (131047, 3), (131051, 2), (131053, 3), (131054, 3), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero656 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos656 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck656

#print axioms MonskyCheck656.sel_zero656
#print axioms MonskyCheck656.sel_pos656

bsd/MonskyCheck657.lean

lean_all/bsd/MonskyCheck657.lean

/-
  bsd/MonskyCheck657.lean — T39 cycle 1498 (goal G836): Monsky's 2-Selmer matrix for squarefree 131201 ≤ n ≤ 131400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck657
open MonskyCheck

def zeroList : List Nat := [131203, 131217, 131226, 131227, 131233, 131235, 131242, 131243, 131251, 131258, 131267, 131273, 131289, 131290, 131291, 131298, 131307, 131315, 131322, 131329, 131339, 131354, 131361, 131362, 131363, 131371, 131378, 131379, 131385, 131386, 131393, 131394]
def posList : List (Nat × Nat) := [(131201, 2), (131205, 1), (131207, 1), (131209, 2), (131210, 2), (131213, 1), (131214, 1), (131215, 1), (131218, 2), (131219, 2), (131221, 1), (131223, 1), (131230, 1), (131231, 1), (131234, 2), (131237, 1), (131239, 1), (131241, 2), (131245, 3), (131246, 3), (131249, 2), (131253, 1), (131254, 1), (131255, 1), (131257, 2), (131259, 2), (131261, 3), (131262, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero657 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos657 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck657

#print axioms MonskyCheck657.sel_zero657
#print axioms MonskyCheck657.sel_pos657

bsd/MonskyCheck658.lean

lean_all/bsd/MonskyCheck658.lean

/-
  bsd/MonskyCheck658.lean — T39 cycle 1500 (goal G836): Monsky's 2-Selmer matrix for squarefree 131401 ≤ n ≤ 131600, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck658
open MonskyCheck

def zeroList : List Nat := [131402, 131410, 131411, 131419, 131433, 131434, 131435, 131442, 131451, 131457, 131483, 131505, 131507, 131513, 131514, 131515, 131521, 131538, 131546, 131555, 131563, 131578, 131586, 131594, 131595]
def posList : List (Nat × Nat) := [(131401, 2), (131403, 2), (131405, 3), (131407, 1), (131413, 1), (131414, 1), (131415, 3), (131417, 2), (131421, 1), (131422, 1), (131423, 1), (131426, 2), (131429, 1), (131430, 1), (131431, 1), (131437, 1), (131438, 1), (131439, 1), (131441, 2), (131443, 2), (131446, 1), (131447, 1), (131449, 2), (131453, 1), (131455, 3), (131458, 2), (131459, 2), (131461, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero658 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos658 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck658

#print axioms MonskyCheck658.sel_zero658
#print axioms MonskyCheck658.sel_pos658

bsd/MonskyCheck659.lean

lean_all/bsd/MonskyCheck659.lean

/-
  bsd/MonskyCheck659.lean — T39 cycle 1502 (goal G836): Monsky's 2-Selmer matrix for squarefree 131601 ≤ n ≤ 131800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck659
open MonskyCheck

def zeroList : List Nat := [131601, 131602, 131603, 131610, 131611, 131626, 131627, 131633, 131658, 131666, 131667, 131673, 131674, 131681, 131682, 131705, 131707, 131714, 131723, 131731, 131739, 131745, 131746, 131747, 131754, 131755, 131770, 131771, 131779, 131794, 131795]
def posList : List (Nat × Nat) := [(131605, 3), (131606, 1), (131609, 2), (131613, 1), (131615, 1), (131617, 2), (131618, 2), (131619, 2), (131621, 1), (131622, 3), (131623, 1), (131629, 1), (131630, 1), (131631, 3), (131635, 2), (131637, 1), (131638, 1), (131639, 1), (131641, 2), (131642, 2), (131645, 1), (131646, 1), (131647, 3), (131649, 2), (131653, 1), (131654, 1), (131655, 1), (131659, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero659 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos659 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck659

#print axioms MonskyCheck659.sel_zero659
#print axioms MonskyCheck659.sel_pos659

bsd/MonskyCheck66.lean

lean_all/bsd/MonskyCheck66.lean

/-
  bsd/MonskyCheck66.lean — T39 cycle 405 (goal G123): Monsky's 2-Selmer matrix for squarefree 13001 ≤ n ≤ 13200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck66
open MonskyCheck

def zeroList : List Nat := [13002, 13003, 13010, 13011, 13017, 13018, 13026, 13027, 13035, 13043, 13057, 13066, 13067, 13074, 13089, 13090, 13091, 13098, 13099, 13107, 13115, 13129, 13130, 13146, 13147, 13155, 13161, 13162, 13163, 13170, 13171, 13178, 13186, 13187]
def posList : List (Nat × Nat) := [(13001, 2), (13006, 1), (13007, 1), (13009, 2), (13015, 1), (13019, 2), (13021, 1), (13022, 3), (13029, 1), (13030, 1), (13031, 1), (13033, 2), (13037, 1), (13038, 1), (13039, 3), (13042, 2), (13045, 3), (13046, 1), (13047, 1), (13049, 2), (13051, 2), (13053, 1), (13054, 1), (13055, 1), (13058, 2), (13061, 1), (13062, 1), (13063, 1), (13065, 2), (13069, 1), (1307  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero66 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos66 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck66

#print axioms MonskyCheck66.sel_zero66
#print axioms MonskyCheck66.sel_pos66

bsd/MonskyCheck660.lean

lean_all/bsd/MonskyCheck660.lean

/-
  bsd/MonskyCheck660.lean — T39 cycle 1504 (goal G836): Monsky's 2-Selmer matrix for squarefree 131801 ≤ n ≤ 132000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck660
open MonskyCheck

def zeroList : List Nat := [131802, 131803, 131811, 131817, 131819, 131827, 131834, 131843, 131857, 131865, 131867, 131881, 131882, 131883, 131889, 131891, 131899, 131905, 131906, 131914, 131915, 131923, 131939, 131946, 131947, 131961, 131962, 131963, 131970, 131971, 131978, 131979, 131987, 131993]
def posList : List (Nat × Nat) := [(131801, 4), (131806, 1), (131807, 1), (131809, 4), (131813, 1), (131815, 1), (131818, 2), (131821, 1), (131822, 1), (131826, 2), (131829, 1), (131830, 1), (131831, 1), (131833, 2), (131835, 2), (131837, 1), (131838, 1), (131839, 1), (131842, 2), (131845, 1), (131846, 1), (131847, 1), (131849, 2), (131851, 2), (131853, 1), (131854, 1), (131855, 1), (131858, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero660 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos660 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck660

#print axioms MonskyCheck660.sel_zero660
#print axioms MonskyCheck660.sel_pos660

bsd/MonskyCheck661.lean

lean_all/bsd/MonskyCheck661.lean

/-
  bsd/MonskyCheck661.lean — T39 cycle 1506 (goal G837): Monsky's 2-Selmer matrix for squarefree 132001 ≤ n ≤ 132200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck661
open MonskyCheck

def zeroList : List Nat := [132002, 132010, 132018, 132019, 132026, 132027, 132035, 132041, 132042, 132043, 132058, 132059, 132067, 132074, 132081, 132090, 132105, 132106, 132115, 132121, 132122, 132130, 132139, 132154, 132161, 132162, 132170, 132177, 132179, 132187, 132193, 132194, 132195]
def posList : List (Nat × Nat) := [(132001, 2), (132005, 1), (132007, 1), (132009, 2), (132013, 1), (132014, 1), (132015, 1), (132017, 4), (132022, 3), (132029, 1), (132031, 1), (132033, 2), (132034, 2), (132038, 1), (132045, 1), (132046, 3), (132047, 1), (132049, 2), (132051, 2), (132053, 1), (132054, 1), (132061, 3), (132062, 3), (132063, 1), (132065, 2), (132069, 1), (132070, 1), (132071, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero661 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos661 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck661

#print axioms MonskyCheck661.sel_zero661
#print axioms MonskyCheck661.sel_pos661

bsd/MonskyCheck662.lean

lean_all/bsd/MonskyCheck662.lean

/-
  bsd/MonskyCheck662.lean — T39 cycle 1508 (goal G837): Monsky's 2-Selmer matrix for squarefree 132201 ≤ n ≤ 132400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck662
open MonskyCheck

def zeroList : List Nat := [132203, 132211, 132218, 132227, 132234, 132235, 132242, 132249, 132265, 132266, 132281, 132283, 132290, 132297, 132298, 132299, 132305, 132306, 132307, 132331, 132337, 132346, 132347, 132355, 132369, 132370, 132371, 132378, 132386, 132387, 132393, 132394]
def posList : List (Nat × Nat) := [(132205, 1), (132206, 1), (132207, 1), (132209, 2), (132213, 1), (132214, 1), (132215, 3), (132217, 2), (132221, 1), (132222, 1), (132223, 1), (132226, 4), (132229, 1), (132230, 1), (132231, 1), (132233, 2), (132238, 1), (132239, 1), (132241, 2), (132243, 2), (132245, 3), (132247, 1), (132254, 1), (132257, 2), (132258, 2), (132259, 2), (132261, 1), (132262, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero662 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos662 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck662

#print axioms MonskyCheck662.sel_zero662
#print axioms MonskyCheck662.sel_pos662

bsd/MonskyCheck663.lean

lean_all/bsd/MonskyCheck663.lean

/-
  bsd/MonskyCheck663.lean — T39 cycle 1510 (goal G837): Monsky's 2-Selmer matrix for squarefree 132401 ≤ n ≤ 132600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck663
open MonskyCheck

def zeroList : List Nat := [132402, 132403, 132411, 132419, 132427, 132442, 132443, 132449, 132451, 132466, 132467, 132473, 132491, 132499, 132506, 132513, 132514, 132515, 132522, 132523, 132530, 132531, 132537, 132538, 132546, 132547, 132555, 132569, 132571, 132586, 132593, 132595]
def posList : List (Nat × Nat) := [(132401, 2), (132405, 3), (132406, 1), (132407, 1), (132409, 2), (132410, 2), (132413, 1), (132414, 1), (132415, 3), (132418, 2), (132421, 1), (132422, 1), (132423, 1), (132429, 1), (132430, 1), (132431, 1), (132433, 2), (132434, 2), (132437, 1), (132438, 1), (132439, 1), (132441, 2), (132445, 3), (132446, 1), (132454, 1), (132455, 3), (132457, 2), (132458, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero663 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos663 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck663

#print axioms MonskyCheck663.sel_zero663
#print axioms MonskyCheck663.sel_pos663

bsd/MonskyCheck664.lean

lean_all/bsd/MonskyCheck664.lean

/-
  bsd/MonskyCheck664.lean — T39 cycle 1512 (goal G837): Monsky's 2-Selmer matrix for squarefree 132601 ≤ n ≤ 132800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck664
open MonskyCheck

def zeroList : List Nat := [132601, 132602, 132603, 132609, 132610, 132611, 132619, 132626, 132627, 132649, 132657, 132658, 132659, 132666, 132667, 132691, 132698, 132699, 132707, 132715, 132729, 132738, 132739, 132746, 132747, 132753, 132755, 132762, 132763, 132769, 132770, 132778, 132787]
def posList : List (Nat × Nat) := [(132605, 1), (132607, 1), (132614, 1), (132617, 2), (132621, 1), (132622, 3), (132623, 1), (132629, 1), (132630, 1), (132631, 1), (132634, 4), (132635, 2), (132637, 1), (132638, 1), (132639, 1), (132641, 4), (132645, 1), (132646, 1), (132647, 1), (132653, 1), (132654, 1), (132655, 1), (132661, 1), (132662, 3), (132663, 1), (132670, 1), (132671, 1), (132673, 2), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero664 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos664 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck664

#print axioms MonskyCheck664.sel_zero664
#print axioms MonskyCheck664.sel_pos664

bsd/MonskyCheck665.lean

lean_all/bsd/MonskyCheck665.lean

/-
  bsd/MonskyCheck665.lean — T39 cycle 1514 (goal G837): Monsky's 2-Selmer matrix for squarefree 132801 ≤ n ≤ 133000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck665
open MonskyCheck

def zeroList : List Nat := [132801, 132803, 132809, 132811, 132819, 132826, 132851, 132859, 132874, 132882, 132883, 132890, 132891, 132897, 132899, 132906, 132913, 132915, 132922, 132923, 132931, 132945, 132946, 132947, 132954, 132962, 132969, 132970, 132971, 132994, 132995]
def posList : List (Nat × Nat) := [(132802, 2), (132805, 3), (132806, 1), (132807, 1), (132810, 2), (132814, 1), (132815, 1), (132817, 2), (132818, 2), (132821, 3), (132823, 1), (132827, 2), (132829, 1), (132830, 1), (132833, 2), (132835, 2), (132837, 1), (132838, 1), (132841, 2), (132842, 2), (132843, 2), (132846, 1), (132847, 1), (132853, 1), (132854, 1), (132855, 1), (132857, 2), (132861, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero665 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos665 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck665

#print axioms MonskyCheck665.sel_zero665
#print axioms MonskyCheck665.sel_pos665

bsd/MonskyCheck666.lean

lean_all/bsd/MonskyCheck666.lean

/-
  bsd/MonskyCheck666.lean — T39 cycle 1516 (goal G837): Monsky's 2-Selmer matrix for squarefree 133001 ≤ n ≤ 133200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck666
open MonskyCheck

def zeroList : List Nat := [133001, 133010, 133017, 133018, 133026, 133027, 133042, 133049, 133051, 133059, 133066, 133067, 133082, 133089, 133090, 133098, 133099, 133105, 133107, 133113, 133123, 133129, 133130, 133163, 133170, 133171, 133177, 133178, 133179, 133187, 133194, 133195]
def posList : List (Nat × Nat) := [(133005, 1), (133006, 3), (133007, 1), (133009, 2), (133013, 1), (133014, 1), (133015, 3), (133019, 2), (133021, 1), (133022, 1), (133023, 1), (133030, 1), (133031, 1), (133033, 2), (133034, 2), (133037, 3), (133039, 1), (133041, 2), (133043, 2), (133045, 1), (133046, 1), (133053, 1), (133054, 1), (133055, 1), (133057, 2), (133058, 2), (133061, 1), (133062, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero666 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos666 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck666

#print axioms MonskyCheck666.sel_zero666
#print axioms MonskyCheck666.sel_pos666

bsd/MonskyCheck667.lean

lean_all/bsd/MonskyCheck667.lean

/-
  bsd/MonskyCheck667.lean — T39 cycle 1518 (goal G837): Monsky's 2-Selmer matrix for squarefree 133201 ≤ n ≤ 133400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck667
open MonskyCheck

def zeroList : List Nat := [133235, 133242, 133243, 133249, 133251, 133258, 133265, 133267, 133283, 133291, 133305, 133306, 133307, 133314, 133323, 133330, 133346, 133361, 133370, 133379, 133385, 133386, 133387, 133393, 133395]
def posList : List (Nat × Nat) := [(133201, 2), (133202, 2), (133203, 2), (133205, 3), (133207, 3), (133210, 2), (133211, 2), (133213, 1), (133214, 1), (133215, 1), (133217, 2), (133219, 2), (133222, 1), (133223, 1), (133226, 2), (133230, 3), (133233, 2), (133234, 2), (133237, 1), (133238, 1), (133239, 1), (133241, 2), (133246, 3), (133247, 1), (133253, 1), (133255, 3), (133257, 2), (133259, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero667 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos667 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck667

#print axioms MonskyCheck667.sel_zero667
#print axioms MonskyCheck667.sel_pos667

bsd/MonskyCheck668.lean

lean_all/bsd/MonskyCheck668.lean

/-
  bsd/MonskyCheck668.lean — T39 cycle 1520 (goal G837): Monsky's 2-Selmer matrix for squarefree 133401 ≤ n ≤ 133600, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck668
open MonskyCheck

def zeroList : List Nat := [133402, 133403, 133411, 133435, 133449, 133451, 133459, 133466, 133473, 133474, 133489, 133498, 133499, 133513, 133521, 133522, 133531, 133546, 133547, 133554, 133562, 133571, 133593, 133594, 133595]
def posList : List (Nat × Nat) := [(133401, 2), (133405, 3), (133406, 1), (133409, 2), (133410, 2), (133413, 1), (133414, 1), (133415, 1), (133417, 2), (133418, 2), (133419, 2), (133421, 1), (133422, 3), (133423, 1), (133426, 2), (133429, 1), (133430, 1), (133431, 1), (133433, 2), (133437, 1), (133438, 3), (133439, 1), (133441, 2), (133442, 2), (133445, 1), (133446, 1), (133447, 1), (133453, 3), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero668 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos668 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck668

#print axioms MonskyCheck668.sel_zero668
#print axioms MonskyCheck668.sel_pos668

bsd/MonskyCheck669.lean

lean_all/bsd/MonskyCheck669.lean

/-
  bsd/MonskyCheck669.lean — T39 cycle 1522 (goal G837): Monsky's 2-Selmer matrix for squarefree 133601 ≤ n ≤ 133800, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck669
open MonskyCheck

def zeroList : List Nat := [133601, 133603, 133611, 133617, 133627, 133634, 133635, 133642, 133643, 133651, 133658, 133665, 133666, 133667, 133674, 133683, 133689, 133690, 133691, 133698, 133699, 133706, 133715, 133723, 133730, 133737, 133745, 133746, 133747, 133753, 133754, 133755, 133761, 133771, 133779, 133786, 133787, 133793]
def posList : List (Nat × Nat) := [(133602, 2), (133606, 3), (133607, 1), (133609, 2), (133610, 2), (133613, 1), (133615, 1), (133618, 2), (133619, 2), (133621, 1), (133622, 1), (133626, 2), (133629, 1), (133630, 1), (133631, 1), (133633, 2), (133637, 1), (133638, 3), (133639, 1), (133645, 3), (133646, 1), (133647, 1), (133649, 2), (133653, 1), (133654, 3), (133655, 1), (133657, 2), (133661, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero669 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos669 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck669

#print axioms MonskyCheck669.sel_zero669
#print axioms MonskyCheck669.sel_pos669

bsd/MonskyCheck67.lean

lean_all/bsd/MonskyCheck67.lean

/-
  bsd/MonskyCheck67.lean — T39 cycle 406 (goal G124): Monsky's 2-Selmer matrix for squarefree 13201 ≤ n ≤ 13400, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck67
open MonskyCheck

def zeroList : List Nat := [13201, 13209, 13211, 13218, 13219, 13227, 13233, 13234, 13235, 13243, 13259, 13265, 13267, 13274, 13281, 13282, 13290, 13291, 13298, 13305, 13306, 13314, 13315, 13321, 13322, 13330, 13331, 13339, 13353, 13370, 13371, 13379, 13387, 13393, 13394]
def posList : List (Nat × Nat) := [(13202, 2), (13205, 1), (13206, 1), (13207, 1), (13210, 2), (13213, 3), (13214, 1), (13215, 1), (13217, 2), (13222, 1), (13223, 1), (13226, 2), (13229, 1), (13231, 1), (13237, 1), (13238, 1), (13241, 2), (13242, 2), (13245, 1), (13246, 1), (13247, 1), (13249, 2), (13251, 2), (13253, 3), (13255, 1), (13258, 2), (13261, 1), (13262, 1), (13263, 1), (13269, 1), (1327  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero67 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos67 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck67

#print axioms MonskyCheck67.sel_zero67
#print axioms MonskyCheck67.sel_pos67

bsd/MonskyCheck670.lean

lean_all/bsd/MonskyCheck670.lean

/-
  bsd/MonskyCheck670.lean — T39 cycle 1524 (goal G837): Monsky's 2-Selmer matrix for squarefree 133801 ≤ n ≤ 134000, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck670
open MonskyCheck

def zeroList : List Nat := [133802, 133809, 133810, 133811, 133817, 133818, 133833, 133842, 133843, 133859, 133867, 133882, 133890, 133898, 133899, 133905, 133907, 133914, 133915, 133922, 133930, 133939, 133946, 133953, 133955, 133962, 133963, 133969, 133970, 133971, 133977, 133978, 133979, 133985, 133987, 133994, 133995]
def posList : List (Nat × Nat) := [(133801, 2), (133805, 1), (133806, 1), (133813, 1), (133814, 1), (133815, 1), (133822, 1), (133823, 1), (133827, 2), (133829, 3), (133831, 1), (133834, 2), (133835, 2), (133838, 1), (133841, 4), (133845, 1), (133846, 1), (133847, 3), (133849, 4), (133851, 2), (133853, 1), (133854, 1), (133855, 1), (133858, 2), (133861, 1), (133862, 1), (133863, 1), (133865, 2), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero670 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos670 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck670

#print axioms MonskyCheck670.sel_zero670
#print axioms MonskyCheck670.sel_pos670

bsd/MonskyCheck671.lean

lean_all/bsd/MonskyCheck671.lean

/-
  bsd/MonskyCheck671.lean — T39 cycle 1526 (goal G839): Monsky's 2-Selmer matrix for squarefree 134001 ≤ n ≤ 134200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck671
open MonskyCheck

def zeroList : List Nat := [134002, 134003, 134011, 134034, 134035, 134042, 134049, 134057, 134059, 134067, 134074, 134083, 134097, 134099, 134107, 134121, 134122, 134155, 134169, 134170, 134171, 134179, 134185, 134187, 134193, 134194]
def posList : List (Nat × Nat) := [(134005, 3), (134006, 1), (134007, 1), (134009, 2), (134013, 1), (134014, 1), (134018, 4), (134021, 1), (134022, 1), (134023, 1), (134026, 2), (134027, 2), (134029, 1), (134030, 1), (134031, 1), (134033, 2), (134038, 1), (134039, 1), (134041, 2), (134043, 2), (134045, 1), (134047, 1), (134051, 2), (134053, 1), (134054, 3), (134058, 2), (134061, 1), (134062, 3), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero671 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos671 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck671

#print axioms MonskyCheck671.sel_zero671
#print axioms MonskyCheck671.sel_pos671

bsd/MonskyCheck672.lean

lean_all/bsd/MonskyCheck672.lean

/-
  bsd/MonskyCheck672.lean — T39 cycle 1528 (goal G839): Monsky's 2-Selmer matrix for squarefree 134201 ≤ n ≤ 134400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck672
open MonskyCheck

def zeroList : List Nat := [134201, 134210, 134219, 134227, 134233, 134234, 134243, 134259, 134273, 134282, 134283, 134291, 134299, 134313, 134314, 134315, 134321, 134322, 134331, 134337, 134339, 134347, 134362, 134363, 134371, 134377, 134378, 134387]
def posList : List (Nat × Nat) := [(134202, 2), (134203, 2), (134205, 1), (134206, 1), (134207, 1), (134209, 2), (134213, 1), (134214, 3), (134215, 1), (134218, 2), (134221, 1), (134222, 1), (134223, 1), (134229, 1), (134230, 1), (134231, 1), (134237, 3), (134238, 1), (134239, 3), (134241, 2), (134242, 2), (134245, 3), (134246, 3), (134247, 1), (134249, 4), (134251, 2), (134254, 1), (134255, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero672 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos672 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck672

#print axioms MonskyCheck672.sel_zero672
#print axioms MonskyCheck672.sel_pos672

bsd/MonskyCheck673.lean

lean_all/bsd/MonskyCheck673.lean

/-
  bsd/MonskyCheck673.lean — T39 cycle 1530 (goal G839): Monsky's 2-Selmer matrix for squarefree 134401 ≤ n ≤ 134600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck673
open MonskyCheck

def zeroList : List Nat := [134403, 134409, 134426, 134435, 134443, 134457, 134459, 134466, 134467, 134481, 134482, 134483, 134490, 134491, 134497, 134498, 134499, 134506, 134507, 134515, 134522, 134529, 134530, 134538, 134547, 134553, 134555, 134563, 134570, 134579, 134585, 134587, 134594]
def posList : List (Nat × Nat) := [(134401, 2), (134402, 2), (134405, 3), (134410, 2), (134411, 2), (134413, 1), (134414, 3), (134417, 2), (134418, 2), (134419, 2), (134421, 1), (134422, 1), (134423, 1), (134427, 2), (134429, 1), (134430, 1), (134434, 2), (134437, 1), (134438, 1), (134439, 1), (134441, 2), (134445, 1), (134446, 1), (134447, 3), (134449, 2), (134453, 1), (134454, 1), (134455, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero673 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos673 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck673

#print axioms MonskyCheck673.sel_zero673
#print axioms MonskyCheck673.sel_pos673

bsd/MonskyCheck674.lean

lean_all/bsd/MonskyCheck674.lean

/-
  bsd/MonskyCheck674.lean — T39 cycle 1532 (goal G839): Monsky's 2-Selmer matrix for squarefree 134601 ≤ n ≤ 134800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck674
open MonskyCheck

def zeroList : List Nat := [134601, 134618, 134619, 134626, 134627, 134634, 134635, 134665, 134682, 134683, 134690, 134691, 134697, 134698, 134699, 134706, 134707, 134713, 134714, 134729, 134731, 134737, 134747, 134761, 134763, 134769, 134770, 134778, 134785, 134786, 134787]
def posList : List (Nat × Nat) := [(134602, 2), (134605, 3), (134606, 1), (134607, 1), (134609, 2), (134610, 2), (134611, 2), (134614, 1), (134615, 1), (134617, 2), (134621, 1), (134623, 1), (134629, 1), (134630, 1), (134633, 2), (134637, 1), (134638, 1), (134639, 1), (134641, 2), (134642, 2), (134643, 2), (134645, 1), (134646, 3), (134647, 1), (134651, 2), (134654, 1), (134655, 1), (134659, 2), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero674 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos674 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck674

#print axioms MonskyCheck674.sel_zero674
#print axioms MonskyCheck674.sel_pos674

bsd/MonskyCheck675.lean

lean_all/bsd/MonskyCheck675.lean

/-
  bsd/MonskyCheck675.lean — T39 cycle 1534 (goal G839): Monsky's 2-Selmer matrix for squarefree 134801 ≤ n ≤ 135000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck675
open MonskyCheck

def zeroList : List Nat := [134801, 134803, 134810, 134817, 134826, 134827, 134835, 134842, 134851, 134858, 134867, 134881, 134882, 134889, 134898, 134906, 134907, 134913, 134914, 134922, 134923, 134930, 134931, 134938, 134947, 134953, 134954, 134961, 134969, 134971, 134986]
def posList : List (Nat × Nat) := [(134805, 3), (134806, 1), (134807, 1), (134809, 4), (134813, 1), (134814, 1), (134815, 1), (134818, 2), (134819, 2), (134821, 3), (134822, 1), (134823, 3), (134830, 1), (134831, 1), (134833, 2), (134834, 2), (134837, 1), (134839, 1), (134841, 2), (134843, 2), (134845, 3), (134846, 3), (134849, 2), (134853, 1), (134854, 1), (134855, 1), (134857, 2), (134859, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero675 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos675 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck675

#print axioms MonskyCheck675.sel_zero675
#print axioms MonskyCheck675.sel_pos675

bsd/MonskyCheck676.lean

lean_all/bsd/MonskyCheck676.lean

/-
  bsd/MonskyCheck676.lean — T39 cycle 1536 (goal G839): Monsky's 2-Selmer matrix for squarefree 135001 ≤ n ≤ 135200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck676
open MonskyCheck

def zeroList : List Nat := [135003, 135010, 135019, 135026, 135033, 135041, 135042, 135043, 135057, 135059, 135067, 135082, 135105, 135106, 135113, 135122, 135123, 135129, 135130, 135131, 135138, 135139, 135146, 135147, 135163, 135169, 135178, 135179, 135185, 135186, 135195]
def posList : List (Nat × Nat) := [(135001, 2), (135002, 2), (135005, 1), (135006, 1), (135007, 1), (135011, 2), (135013, 1), (135015, 3), (135017, 2), (135021, 1), (135022, 1), (135023, 3), (135029, 1), (135030, 1), (135034, 2), (135035, 2), (135037, 1), (135038, 1), (135039, 1), (135046, 1), (135047, 1), (135049, 2), (135051, 2), (135053, 1), (135055, 1), (135058, 2), (135061, 1), (135062, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero676 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos676 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck676

#print axioms MonskyCheck676.sel_zero676
#print axioms MonskyCheck676.sel_pos676

bsd/MonskyCheck677.lean

lean_all/bsd/MonskyCheck677.lean

/-
  bsd/MonskyCheck677.lean — T39 cycle 1538 (goal G839): Monsky's 2-Selmer matrix for squarefree 135201 ≤ n ≤ 135400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck677
open MonskyCheck

def zeroList : List Nat := [135201, 135210, 135211, 135242, 135249, 135251, 135258, 135259, 135273, 135282, 135283, 135290, 135298, 135299, 135307, 135314, 135321, 135323, 135330, 135331, 135337, 135339, 135345, 135346, 135347, 135354, 135362, 135370, 135371, 135379, 135393, 135395]
def posList : List (Nat × Nat) := [(135202, 2), (135203, 2), (135205, 1), (135206, 3), (135209, 2), (135213, 1), (135214, 1), (135215, 1), (135217, 2), (135218, 2), (135219, 2), (135221, 1), (135222, 1), (135223, 1), (135226, 2), (135227, 2), (135229, 1), (135230, 1), (135231, 1), (135233, 2), (135235, 2), (135237, 1), (135238, 1), (135239, 1), (135241, 2), (135245, 1), (135246, 1), (135253, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero677 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos677 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck677

#print axioms MonskyCheck677.sel_zero677
#print axioms MonskyCheck677.sel_pos677

bsd/MonskyCheck678.lean

lean_all/bsd/MonskyCheck678.lean

/-
  bsd/MonskyCheck678.lean — T39 cycle 1540 (goal G839): Monsky's 2-Selmer matrix for squarefree 135401 ≤ n ≤ 135600, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck678
open MonskyCheck

def zeroList : List Nat := [135402, 135403, 135411, 135417, 135418, 135426, 135427, 135435, 135465, 135466, 135467, 135474, 135482, 135483, 135489, 135490, 135491, 135498, 135499, 135507, 135514, 135515, 135523, 135530, 135537, 135539, 135546, 135553, 135569, 135570, 135571, 135578, 135579, 135586, 135587, 135595]
def posList : List (Nat × Nat) := [(135406, 3), (135407, 1), (135409, 2), (135410, 2), (135413, 1), (135415, 1), (135419, 2), (135421, 1), (135422, 3), (135429, 1), (135430, 1), (135431, 1), (135433, 2), (135434, 2), (135437, 1), (135438, 1), (135439, 3), (135442, 4), (135443, 2), (135445, 1), (135446, 1), (135447, 1), (135449, 2), (135451, 2), (135453, 1), (135454, 1), (135455, 1), (135457, 2), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero678 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos678 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck678

#print axioms MonskyCheck678.sel_zero678
#print axioms MonskyCheck678.sel_pos678

bsd/MonskyCheck679.lean

lean_all/bsd/MonskyCheck679.lean

/-
  bsd/MonskyCheck679.lean — T39 cycle 1542 (goal G839): Monsky's 2-Selmer matrix for squarefree 135601 ≤ n ≤ 135800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck679
open MonskyCheck

def zeroList : List Nat := [135618, 135626, 135627, 135635, 135642, 135658, 135667, 135673, 135682, 135690, 135691, 135698, 135699, 135706, 135714, 135715, 135722, 135723, 135731, 135746, 135753, 135763, 135770, 135771, 135777, 135778, 135786, 135787, 135793, 135794, 135795]
def posList : List (Nat × Nat) := [(135601, 2), (135602, 2), (135605, 1), (135606, 1), (135607, 1), (135609, 2), (135610, 2), (135611, 2), (135613, 1), (135614, 1), (135615, 1), (135617, 2), (135619, 2), (135622, 1), (135623, 1), (135629, 1), (135631, 3), (135633, 2), (135634, 2), (135637, 1), (135638, 1), (135643, 2), (135645, 1), (135646, 3), (135647, 1), (135649, 2), (135651, 2), (135653, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero679 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos679 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck679

#print axioms MonskyCheck679.sel_zero679
#print axioms MonskyCheck679.sel_pos679

bsd/MonskyCheck68.lean

lean_all/bsd/MonskyCheck68.lean

/-
  bsd/MonskyCheck68.lean — T39 cycle 407 (goal G125): Monsky's 2-Selmer matrix for squarefree 13401 ≤ n ≤ 13600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck68
open MonskyCheck

def zeroList : List Nat := [13402, 13409, 13411, 13418, 13433, 13434, 13435, 13443, 13449, 13451, 13458, 13459, 13466, 13483, 13497, 13498, 13499, 13506, 13521, 13523, 13529, 13530, 13547, 13562, 13569, 13570, 13571, 13578, 13594]
def posList : List (Nat × Nat) := [(13403, 2), (13405, 1), (13406, 1), (13407, 1), (13413, 1), (13414, 3), (13415, 1), (13417, 2), (13421, 1), (13422, 1), (13423, 1), (13427, 2), (13429, 1), (13430, 1), (13438, 1), (13439, 1), (13441, 2), (13442, 2), (13445, 3), (13447, 1), (13453, 1), (13457, 2), (13461, 1), (13462, 1), (13463, 1), (13465, 2), (13469, 1), (13470, 1), (13471, 1), (13474, 2), (1347  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero68 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos68 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck68

#print axioms MonskyCheck68.sel_zero68
#print axioms MonskyCheck68.sel_pos68

bsd/MonskyCheck680.lean

lean_all/bsd/MonskyCheck680.lean

/-
  bsd/MonskyCheck680.lean — T39 cycle 1544 (goal G839): Monsky's 2-Selmer matrix for squarefree 135801 ≤ n ≤ 136000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck680
open MonskyCheck

def zeroList : List Nat := [135802, 135809, 135811, 135817, 135827, 135834, 135835, 135843, 135851, 135858, 135859, 135866, 135890, 135898, 135899, 135905, 135906, 135914, 135921, 135930, 135938, 135939, 135946, 135947, 135962, 135969, 135970, 135971, 135978, 135979, 135987]
def posList : List (Nat × Nat) := [(135803, 2), (135805, 1), (135806, 1), (135807, 3), (135813, 1), (135814, 1), (135815, 1), (135818, 2), (135821, 1), (135822, 1), (135823, 1), (135826, 4), (135829, 1), (135831, 1), (135833, 4), (135838, 3), (135839, 1), (135841, 2), (135842, 2), (135845, 3), (135847, 1), (135849, 2), (135853, 3), (135854, 1), (135857, 2), (135861, 1), (135862, 1), (135863, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero680 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos680 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck680

#print axioms MonskyCheck680.sel_zero680
#print axioms MonskyCheck680.sel_pos680

bsd/MonskyCheck681.lean

lean_all/bsd/MonskyCheck681.lean

/-
  bsd/MonskyCheck681.lean — T39 cycle 1546 (goal G840): Monsky's 2-Selmer matrix for squarefree 136001 ≤ n ≤ 136200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck681
open MonskyCheck

def zeroList : List Nat := [136001, 136009, 136010, 136019, 136027, 136042, 136043, 136058, 136059, 136065, 136067, 136091, 136099, 136105, 136106, 136113, 136114, 136123, 136130, 136131, 136138, 136139, 136146, 136147, 136154, 136155, 136162, 136163, 136169, 136185, 136186, 136194]
def posList : List (Nat × Nat) := [(136002, 2), (136003, 2), (136005, 1), (136006, 1), (136007, 1), (136011, 2), (136013, 1), (136014, 1), (136015, 1), (136018, 2), (136021, 1), (136022, 1), (136023, 1), (136029, 1), (136030, 1), (136031, 3), (136033, 2), (136034, 2), (136037, 1), (136038, 3), (136039, 1), (136041, 2), (136046, 1), (136047, 1), (136049, 2), (136051, 2), (136054, 1), (136055, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero681 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos681 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck681

#print axioms MonskyCheck681.sel_zero681
#print axioms MonskyCheck681.sel_pos681

bsd/MonskyCheck682.lean

lean_all/bsd/MonskyCheck682.lean

/-
  bsd/MonskyCheck682.lean — T39 cycle 1548 (goal G840): Monsky's 2-Selmer matrix for squarefree 136201 ≤ n ≤ 136400, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck682
open MonskyCheck

def zeroList : List Nat := [136202, 136203, 136209, 136211, 136227, 136235, 136267, 136274, 136281, 136282, 136291, 136298, 136306, 136307, 136315, 136330, 136338, 136339, 136345, 136363, 136369, 136371, 136379, 136394]
def posList : List (Nat × Nat) := [(136201, 2), (136205, 3), (136207, 1), (136210, 2), (136213, 1), (136217, 2), (136218, 4), (136219, 2), (136221, 1), (136222, 1), (136223, 1), (136226, 2), (136229, 1), (136230, 1), (136231, 1), (136234, 2), (136237, 1), (136238, 1), (136239, 1), (136241, 2), (136243, 2), (136245, 1), (136247, 1), (136249, 2), (136253, 1), (136254, 1), (136255, 1), (136257, 2), (  -- (+921 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero682 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos682 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck682

#print axioms MonskyCheck682.sel_zero682
#print axioms MonskyCheck682.sel_pos682

bsd/MonskyCheck683.lean

lean_all/bsd/MonskyCheck683.lean

/-
  bsd/MonskyCheck683.lean — T39 cycle 1550 (goal G840): Monsky's 2-Selmer matrix for squarefree 136401 ≤ n ≤ 136600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck683
open MonskyCheck

def zeroList : List Nat := [136403, 136409, 136410, 136419, 136426, 136433, 136434, 136435, 136466, 136473, 136474, 136483, 136491, 136498, 136505, 136507, 136515, 136522, 136523, 136531, 136545, 136546, 136547, 136553, 136569, 136578, 136579, 136585, 136587, 136594, 136595]
def posList : List (Nat × Nat) := [(136401, 2), (136402, 2), (136405, 3), (136406, 1), (136407, 1), (136411, 2), (136414, 1), (136415, 1), (136417, 2), (136418, 2), (136421, 1), (136423, 3), (136427, 2), (136429, 1), (136430, 1), (136437, 1), (136438, 1), (136439, 1), (136441, 2), (136442, 2), (136443, 2), (136445, 3), (136446, 1), (136447, 1), (136451, 2), (136453, 1), (136454, 1), (136455, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero683 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos683 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck683

#print axioms MonskyCheck683.sel_zero683
#print axioms MonskyCheck683.sel_pos683

bsd/MonskyCheck684.lean

lean_all/bsd/MonskyCheck684.lean

/-
  bsd/MonskyCheck684.lean — T39 cycle 1552 (goal G840): Monsky's 2-Selmer matrix for squarefree 136601 ≤ n ≤ 136800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck684
open MonskyCheck

def zeroList : List Nat := [136603, 136610, 136617, 136627, 136642, 136643, 136651, 136682, 136689, 136690, 136691, 136698, 136699, 136706, 136707, 136713, 136722, 136739, 136745, 136754, 136761, 136762, 136770, 136778, 136786, 136794]
def posList : List (Nat × Nat) := [(136601, 2), (136605, 1), (136606, 3), (136607, 1), (136613, 1), (136614, 1), (136615, 3), (136618, 2), (136619, 4), (136621, 1), (136622, 1), (136623, 1), (136626, 2), (136630, 1), (136631, 1), (136633, 2), (136634, 2), (136635, 2), (136637, 1), (136639, 1), (136641, 2), (136645, 3), (136646, 1), (136649, 2), (136653, 1), (136654, 1), (136655, 1), (136657, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero684 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos684 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck684

#print axioms MonskyCheck684.sel_zero684
#print axioms MonskyCheck684.sel_pos684

bsd/MonskyCheck685.lean

lean_all/bsd/MonskyCheck685.lean

/-
  bsd/MonskyCheck685.lean — T39 cycle 1554 (goal G840): Monsky's 2-Selmer matrix for squarefree 136801 ≤ n ≤ 137000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck685
open MonskyCheck

def zeroList : List Nat := [136811, 136835, 136842, 136858, 136859, 136866, 136867, 136874, 136883, 136891, 136905, 136907, 136915, 136922, 136923, 136930, 136938, 136939, 136954, 136961, 136963, 136970, 136977, 136979, 136987, 136994, 136995]
def posList : List (Nat × Nat) := [(136801, 2), (136802, 4), (136803, 2), (136805, 3), (136807, 1), (136810, 2), (136813, 1), (136814, 1), (136815, 1), (136817, 2), (136821, 1), (136822, 1), (136823, 1), (136829, 1), (136830, 3), (136831, 1), (136833, 2), (136834, 2), (136837, 3), (136838, 1), (136839, 1), (136841, 2), (136843, 2), (136846, 1), (136847, 1), (136849, 2), (136853, 1), (136855, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero685 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos685 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck685

#print axioms MonskyCheck685.sel_zero685
#print axioms MonskyCheck685.sel_pos685

bsd/MonskyCheck686.lean

lean_all/bsd/MonskyCheck686.lean

/-
  bsd/MonskyCheck686.lean — T39 cycle 1556 (goal G840): Monsky's 2-Selmer matrix for squarefree 137001 ≤ n ≤ 137200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck686
open MonskyCheck

def zeroList : List Nat := [137001, 137002, 137009, 137026, 137035, 137041, 137049, 137066, 137073, 137090, 137098, 137107, 137114, 137121, 137130, 137131, 137137, 137139, 137145, 137147, 137154, 137161, 137162, 137171, 137194, 137195]
def posList : List (Nat × Nat) := [(137003, 2), (137005, 1), (137006, 1), (137010, 2), (137013, 1), (137014, 1), (137015, 1), (137017, 2), (137018, 2), (137019, 2), (137021, 1), (137022, 1), (137023, 3), (137027, 2), (137029, 1), (137030, 1), (137031, 1), (137033, 2), (137037, 1), (137038, 1), (137039, 1), (137042, 2), (137045, 3), (137046, 1), (137047, 1), (137051, 2), (137054, 1), (137055, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero686 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos686 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck686

#print axioms MonskyCheck686.sel_zero686
#print axioms MonskyCheck686.sel_pos686

bsd/MonskyCheck687.lean

lean_all/bsd/MonskyCheck687.lean

/-
  bsd/MonskyCheck687.lean — T39 cycle 1558 (goal G840): Monsky's 2-Selmer matrix for squarefree 137201 ≤ n ≤ 137400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck687
open MonskyCheck

def zeroList : List Nat := [137202, 137203, 137211, 137219, 137227, 137234, 137235, 137242, 137251, 137258, 137281, 137282, 137283, 137289, 137291, 137297, 137305, 137315, 137337, 137338, 137339, 137355, 137362, 137363, 137370, 137371, 137378, 137379, 137387]
def posList : List (Nat × Nat) := [(137201, 2), (137206, 1), (137207, 1), (137209, 2), (137210, 2), (137213, 1), (137215, 1), (137217, 2), (137218, 2), (137221, 1), (137222, 1), (137226, 2), (137229, 1), (137230, 1), (137231, 1), (137233, 2), (137237, 3), (137238, 1), (137239, 1), (137243, 2), (137245, 3), (137246, 1), (137247, 1), (137253, 1), (137254, 1), (137255, 1), (137257, 2), (137261, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero687 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos687 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck687

#print axioms MonskyCheck687.sel_zero687
#print axioms MonskyCheck687.sel_pos687

bsd/MonskyCheck688.lean

lean_all/bsd/MonskyCheck688.lean

/-
  bsd/MonskyCheck688.lean — T39 cycle 1560 (goal G840): Monsky's 2-Selmer matrix for squarefree 137401 ≤ n ≤ 137600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck688
open MonskyCheck

def zeroList : List Nat := [137401, 137409, 137417, 137418, 137435, 137442, 137443, 137459, 137465, 137481, 137483, 137490, 137491, 137498, 137499, 137506, 137507, 137530, 137531, 137539, 137546, 137570, 137579, 137585, 137587, 137594, 137595]
def posList : List (Nat × Nat) := [(137402, 2), (137405, 3), (137406, 1), (137407, 1), (137410, 2), (137411, 4), (137413, 1), (137414, 1), (137415, 1), (137419, 2), (137422, 1), (137426, 2), (137427, 2), (137429, 3), (137431, 1), (137433, 2), (137434, 2), (137437, 1), (137438, 1), (137441, 2), (137446, 3), (137447, 1), (137449, 2), (137451, 2), (137453, 1), (137454, 1), (137455, 1), (137458, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero688 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos688 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck688

#print axioms MonskyCheck688.sel_zero688
#print axioms MonskyCheck688.sel_pos688

bsd/MonskyCheck689.lean

lean_all/bsd/MonskyCheck689.lean

/-
  bsd/MonskyCheck689.lean — T39 cycle 1562 (goal G840): Monsky's 2-Selmer matrix for squarefree 137601 ≤ n ≤ 137800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck689
open MonskyCheck

def zeroList : List Nat := [137602, 137603, 137611, 137617, 137626, 137627, 137635, 137642, 137649, 137651, 137659, 137665, 137681, 137683, 137697, 137699, 137707, 137714, 137721, 137722, 137723, 137729, 137730, 137731, 137738, 137747, 137769, 137770, 137771, 137778, 137786, 137793, 137795]
def posList : List (Nat × Nat) := [(137605, 1), (137606, 1), (137607, 1), (137609, 4), (137613, 3), (137614, 1), (137615, 1), (137618, 2), (137621, 1), (137622, 1), (137623, 1), (137629, 1), (137630, 1), (137631, 1), (137633, 2), (137634, 2), (137638, 1), (137639, 1), (137643, 4), (137645, 3), (137647, 1), (137653, 1), (137654, 3), (137657, 2), (137658, 2), (137661, 1), (137662, 1), (137663, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero689 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos689 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck689

#print axioms MonskyCheck689.sel_zero689
#print axioms MonskyCheck689.sel_pos689

bsd/MonskyCheck69.lean

lean_all/bsd/MonskyCheck69.lean

/-
  bsd/MonskyCheck69.lean — T39 cycle 408 (goal G126): Monsky's 2-Selmer matrix for squarefree 13601 ≤ n ≤ 13800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck69
open MonskyCheck

def zeroList : List Nat := [13602, 13603, 13618, 13619, 13627, 13641, 13642, 13643, 13651, 13658, 13659, 13667, 13674, 13691, 13722, 13723, 13730, 13731, 13737, 13738, 13739, 13747, 13755, 13763, 13771, 13787]
def posList : List (Nat × Nat) := [(13601, 2), (13605, 1), (13606, 1), (13607, 1), (13609, 2), (13610, 2), (13611, 2), (13613, 1), (13614, 1), (13615, 1), (13621, 1), (13623, 1), (13629, 1), (13630, 1), (13631, 1), (13633, 2), (13634, 2), (13637, 3), (13638, 1), (13639, 3), (13645, 3), (13646, 1), (13647, 1), (13649, 2), (13654, 1), (13655, 1), (13657, 2), (13661, 1), (13663, 1), (13665, 2), (1366  -- (+774 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero69 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos69 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck69

#print axioms MonskyCheck69.sel_zero69
#print axioms MonskyCheck69.sel_pos69

bsd/MonskyCheck690.lean

lean_all/bsd/MonskyCheck690.lean

/-
  bsd/MonskyCheck690.lean — T39 cycle 1564 (goal G840): Monsky's 2-Selmer matrix for squarefree 137801 ≤ n ≤ 138000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck690
open MonskyCheck

def zeroList : List Nat := [137802, 137803, 137810, 137818, 137827, 137834, 137841, 137843, 137858, 137859, 137865, 137867, 137874, 137890, 137906, 137913, 137915, 137921, 137923, 137929, 137931, 137937, 137945, 137946, 137947, 137955, 137962, 137971, 137987, 137994]
def posList : List (Nat × Nat) := [(137801, 4), (137805, 1), (137806, 1), (137807, 1), (137809, 2), (137811, 2), (137813, 1), (137814, 1), (137815, 1), (137821, 1), (137822, 1), (137823, 1), (137829, 1), (137830, 1), (137831, 1), (137833, 4), (137838, 1), (137839, 3), (137845, 1), (137846, 1), (137847, 1), (137849, 2), (137851, 2), (137854, 1), (137855, 1), (137857, 2), (137861, 3), (137863, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero690 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos690 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck690

#print axioms MonskyCheck690.sel_zero690
#print axioms MonskyCheck690.sel_pos690

bsd/MonskyCheck691.lean

lean_all/bsd/MonskyCheck691.lean

/-
  bsd/MonskyCheck691.lean — T39 cycle 1566 (goal G841): Monsky's 2-Selmer matrix for squarefree 138001 ≤ n ≤ 138200, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck691
open MonskyCheck

def zeroList : List Nat := [138001, 138003, 138011, 138017, 138018, 138019, 138026, 138027, 138034, 138043, 138057, 138058, 138059, 138066, 138074, 138081, 138083, 138090, 138091, 138098, 138106, 138107, 138115, 138122, 138129, 138137, 138138, 138139, 138145, 138147, 138153, 138154, 138162, 138163, 138178, 138179, 138193]
def posList : List (Nat × Nat) := [(138002, 2), (138005, 1), (138007, 1), (138009, 2), (138010, 2), (138013, 1), (138014, 3), (138021, 1), (138022, 1), (138023, 3), (138029, 1), (138030, 3), (138031, 3), (138035, 2), (138037, 1), (138038, 1), (138039, 1), (138041, 2), (138045, 1), (138046, 1), (138047, 1), (138049, 2), (138053, 1), (138054, 1), (138055, 1), (138062, 1), (138063, 1), (138065, 4), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero691 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos691 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck691

#print axioms MonskyCheck691.sel_zero691
#print axioms MonskyCheck691.sel_pos691

bsd/MonskyCheck692.lean

lean_all/bsd/MonskyCheck692.lean

/-
  bsd/MonskyCheck692.lean — T39 cycle 1568 (goal G841): Monsky's 2-Selmer matrix for squarefree 138201 ≤ n ≤ 138400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck692
open MonskyCheck

def zeroList : List Nat := [138202, 138218, 138219, 138226, 138235, 138251, 138259, 138266, 138273, 138281, 138282, 138283, 138290, 138297, 138298, 138299, 138306, 138307, 138315, 138323, 138354, 138361, 138362, 138363, 138369, 138370, 138371, 138377, 138387, 138394]
def posList : List (Nat × Nat) := [(138201, 2), (138203, 2), (138205, 1), (138206, 1), (138207, 1), (138209, 2), (138210, 2), (138211, 2), (138214, 1), (138215, 1), (138217, 4), (138221, 1), (138223, 1), (138227, 2), (138230, 3), (138233, 4), (138234, 2), (138237, 1), (138238, 1), (138239, 1), (138241, 2), (138243, 2), (138245, 1), (138246, 3), (138247, 1), (138253, 1), (138254, 1), (138255, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero692 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos692 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck692

#print axioms MonskyCheck692.sel_zero692
#print axioms MonskyCheck692.sel_pos692

bsd/MonskyCheck693.lean

lean_all/bsd/MonskyCheck693.lean

/-
  bsd/MonskyCheck693.lean — T39 cycle 1570 (goal G841): Monsky's 2-Selmer matrix for squarefree 138401 ≤ n ≤ 138600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck693
open MonskyCheck

def zeroList : List Nat := [138403, 138419, 138426, 138427, 138434, 138441, 138442, 138443, 138451, 138457, 138473, 138489, 138490, 138506, 138513, 138538, 138547, 138561, 138562, 138563, 138571, 138578, 138586, 138587, 138593, 138594, 138595]
def posList : List (Nat × Nat) := [(138401, 2), (138405, 1), (138406, 1), (138407, 1), (138409, 2), (138410, 2), (138413, 1), (138414, 1), (138415, 1), (138417, 2), (138418, 2), (138421, 3), (138422, 1), (138423, 1), (138430, 1), (138433, 2), (138435, 2), (138437, 1), (138439, 3), (138445, 3), (138446, 1), (138449, 2), (138453, 1), (138454, 1), (138455, 1), (138458, 2), (138459, 2), (138461, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero693 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos693 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck693

#print axioms MonskyCheck693.sel_zero693
#print axioms MonskyCheck693.sel_pos693

bsd/MonskyCheck694.lean

lean_all/bsd/MonskyCheck694.lean

/-
  bsd/MonskyCheck694.lean — T39 cycle 1572 (goal G841): Monsky's 2-Selmer matrix for squarefree 138601 ≤ n ≤ 138800, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck694
open MonskyCheck

def zeroList : List Nat := [138602, 138611, 138633, 138634, 138642, 138651, 138657, 138658, 138659, 138682, 138683, 138689, 138691, 138697, 138705, 138707, 138713, 138714, 138715, 138721, 138722, 138723, 138729, 138730, 138731, 138738, 138739, 138754, 138761, 138763, 138770, 138777, 138778, 138786, 138794, 138795]
def posList : List (Nat × Nat) := [(138601, 2), (138603, 2), (138605, 1), (138606, 3), (138607, 1), (138610, 2), (138613, 1), (138614, 1), (138615, 3), (138617, 2), (138619, 2), (138622, 1), (138623, 1), (138626, 2), (138629, 1), (138630, 1), (138631, 1), (138635, 2), (138637, 1), (138638, 3), (138639, 3), (138641, 2), (138643, 2), (138646, 1), (138647, 1), (138649, 2), (138653, 3), (138655, 1), (  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero694 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos694 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck694

#print axioms MonskyCheck694.sel_zero694
#print axioms MonskyCheck694.sel_pos694

bsd/MonskyCheck695.lean

lean_all/bsd/MonskyCheck695.lean

/-
  bsd/MonskyCheck695.lean — T39 cycle 1574 (goal G841): Monsky's 2-Selmer matrix for squarefree 138801 ≤ n ≤ 139000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 100 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck695
open MonskyCheck

def zeroList : List Nat := [138809, 138810, 138811, 138826, 138833, 138835, 138851, 138858, 138859, 138867, 138883, 138891, 138898, 138899, 138907, 138921, 138923, 138938, 138939, 138953, 138963, 138970, 138979, 138986, 138993]
def posList : List (Nat × Nat) := [(138801, 2), (138802, 2), (138803, 2), (138805, 1), (138806, 1), (138813, 1), (138814, 1), (138815, 1), (138818, 2), (138819, 2), (138821, 1), (138822, 1), (138823, 1), (138827, 2), (138829, 1), (138830, 1), (138831, 1), (138837, 1), (138838, 1), (138839, 1), (138841, 2), (138842, 2), (138845, 1), (138846, 3), (138847, 1), (138849, 2), (138853, 1), (138854, 1), (  -- (+934 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero695 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos695 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck695

#print axioms MonskyCheck695.sel_zero695
#print axioms MonskyCheck695.sel_pos695

bsd/MonskyCheck696.lean

lean_all/bsd/MonskyCheck696.lean

/-
  bsd/MonskyCheck696.lean — T39 cycle 1576 (goal G841): Monsky's 2-Selmer matrix for squarefree 139001 ≤ n ≤ 139200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck696
open MonskyCheck

def zeroList : List Nat := [139002, 139010, 139011, 139017, 139019, 139034, 139035, 139042, 139049, 139051, 139065, 139066, 139067, 139083, 139089, 139091, 139105, 139106, 139107, 139114, 139115, 139123, 139130, 139137, 139139, 139147, 139155, 139161, 139163, 139170, 139171, 139178, 139179, 139187]
def posList : List (Nat × Nat) := [(139001, 4), (139003, 2), (139006, 1), (139007, 1), (139015, 1), (139018, 2), (139021, 1), (139022, 1), (139026, 2), (139027, 2), (139030, 1), (139031, 1), (139033, 2), (139037, 1), (139038, 1), (139039, 1), (139043, 2), (139045, 3), (139046, 1), (139047, 1), (139053, 1), (139054, 1), (139055, 1), (139057, 2), (139058, 2), (139061, 1), (139063, 1), (139069, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero696 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos696 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck696

#print axioms MonskyCheck696.sel_zero696
#print axioms MonskyCheck696.sel_pos696

bsd/MonskyCheck697.lean

lean_all/bsd/MonskyCheck697.lean

/-
  bsd/MonskyCheck697.lean — T39 cycle 1578 (goal G841): Monsky's 2-Selmer matrix for squarefree 139201 ≤ n ≤ 139400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck697
open MonskyCheck

def zeroList : List Nat := [139202, 139218, 139233, 139234, 139235, 139249, 139251, 139259, 139265, 139267, 139274, 139283, 139289, 139290, 139291, 139299, 139306, 139315, 139321, 139322, 139330, 139331, 139337, 139339, 139353, 139354, 139355, 139362, 139371, 139378, 139386, 139387, 139395]
def posList : List (Nat × Nat) := [(139201, 2), (139205, 1), (139206, 1), (139207, 1), (139210, 2), (139211, 2), (139213, 1), (139214, 3), (139215, 1), (139217, 2), (139219, 2), (139222, 1), (139223, 3), (139226, 2), (139227, 2), (139229, 3), (139231, 1), (139237, 1), (139238, 3), (139241, 2), (139242, 2), (139243, 2), (139245, 1), (139246, 1), (139247, 1), (139253, 1), (139254, 3), (139255, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero697 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos697 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck697

#print axioms MonskyCheck697.sel_zero697
#print axioms MonskyCheck697.sel_pos697

bsd/MonskyCheck698.lean

lean_all/bsd/MonskyCheck698.lean

/-
  bsd/MonskyCheck698.lean — T39 cycle 1580 (goal G841): Monsky's 2-Selmer matrix for squarefree 139401 ≤ n ≤ 139600, by rfl.
  s₂(n) = 0 for 20 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck698
open MonskyCheck

def zeroList : List Nat := [139402, 139417, 139418, 139434, 139435, 139459, 139483, 139497, 139498, 139506, 139507, 139514, 139521, 139530, 139547, 139561, 139569, 139571, 139578, 139579]
def posList : List (Nat × Nat) := [(139403, 2), (139406, 1), (139407, 1), (139409, 2), (139411, 2), (139413, 1), (139414, 3), (139415, 1), (139421, 1), (139422, 1), (139423, 1), (139426, 2), (139427, 2), (139429, 1), (139430, 1), (139431, 1), (139433, 2), (139438, 1), (139439, 1), (139441, 2), (139442, 4), (139443, 2), (139447, 1), (139449, 2), (139451, 2), (139453, 1), (139457, 2), (139458, 2), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero698 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos698 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck698

#print axioms MonskyCheck698.sel_zero698
#print axioms MonskyCheck698.sel_pos698

bsd/MonskyCheck699.lean

lean_all/bsd/MonskyCheck699.lean

/-
  bsd/MonskyCheck699.lean — T39 cycle 1582 (goal G841): Monsky's 2-Selmer matrix for squarefree 139601 ≤ n ≤ 139800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck699
open MonskyCheck

def zeroList : List Nat := [139602, 139611, 139619, 139627, 139641, 139642, 139643, 139658, 139659, 139682, 139683, 139690, 139691, 139706, 139713, 139715, 139722, 139737, 139738, 139739, 139746, 139747, 139754, 139777, 139786, 139787, 139793, 139795]
def posList : List (Nat × Nat) := [(139603, 2), (139605, 3), (139607, 1), (139609, 2), (139610, 2), (139613, 1), (139614, 1), (139615, 1), (139618, 2), (139621, 3), (139622, 1), (139623, 1), (139629, 1), (139630, 1), (139631, 1), (139633, 2), (139637, 1), (139639, 1), (139645, 1), (139646, 1), (139647, 1), (139649, 2), (139651, 2), (139654, 1), (139655, 1), (139657, 2), (139661, 1), (139663, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero699 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos699 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck699

#print axioms MonskyCheck699.sel_zero699
#print axioms MonskyCheck699.sel_pos699

bsd/MonskyCheck7.lean

lean_all/bsd/MonskyCheck7.lean

/-
  bsd/MonskyCheck7.lean — T39 cycle 324 (goal G59): Monsky's 2-Selmer matrix for squarefree 1201 ≤ n ≤ 1400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck7
open MonskyCheck

def zeroList : List Nat := [1203, 1209, 1211, 1218, 1219, 1226, 1235, 1257, 1258, 1259, 1265, 1266, 1267, 1273, 1281, 1283, 1290, 1291, 1298, 1306, 1307, 1315, 1322, 1329, 1338, 1347, 1354, 1362, 1363, 1370, 1378]
def posList : List (Nat × Nat) := [(1201, 2), (1202, 2), (1205, 3), (1207, 1), (1213, 1), (1214, 1), (1217, 2), (1221, 1), (1222, 1), (1223, 1), (1227, 2), (1229, 1), (1230, 1), (1231, 1), (1234, 2), (1237, 1), (1238, 1), (1239, 1), (1241, 2), (1243, 2), (1245, 1), (1246, 1), (1247, 1), (1249, 2), (1253, 1), (1254, 3), (1255, 1), (1261, 1), (1262, 1), (1263, 1), (1270, 1), (1271, 3), (1277, 1), (1  -- (+657 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero7 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos7 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck7

#print axioms MonskyCheck7.sel_zero7
#print axioms MonskyCheck7.sel_pos7

bsd/MonskyCheck70.lean

lean_all/bsd/MonskyCheck70.lean

/-
  bsd/MonskyCheck70.lean — T39 cycle 411 (goal G128): Monsky's 2-Selmer matrix for squarefree 13801 ≤ n ≤ 14000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck70
open MonskyCheck

def zeroList : List Nat := [13802, 13809, 13810, 13811, 13827, 13834, 13835, 13843, 13849, 13859, 13865, 13866, 13881, 13882, 13883, 13891, 13898, 13899, 13907, 13929, 13931, 13937, 13939, 13946, 13947, 13953, 13962, 13963, 13970, 13987, 13994]
def posList : List (Nat × Nat) := [(13801, 2), (13803, 2), (13805, 1), (13807, 1), (13813, 1), (13814, 1), (13817, 4), (13819, 2), (13821, 1), (13822, 1), (13823, 3), (13826, 2), (13829, 1), (13830, 1), (13831, 1), (13837, 3), (13838, 1), (13839, 1), (13841, 2), (13845, 1), (13846, 1), (13847, 1), (13853, 1), (13854, 1), (13855, 1), (13857, 2), (13861, 1), (13862, 1), (13863, 1), (13870, 1), (1387  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero70 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos70 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck70

#print axioms MonskyCheck70.sel_zero70
#print axioms MonskyCheck70.sel_pos70

bsd/MonskyCheck700.lean

lean_all/bsd/MonskyCheck700.lean

/-
  bsd/MonskyCheck700.lean — T39 cycle 1584 (goal G841): Monsky's 2-Selmer matrix for squarefree 139801 ≤ n ≤ 140000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck700
open MonskyCheck

def zeroList : List Nat := [139802, 139803, 139809, 139810, 139818, 139819, 139834, 139835, 139841, 139843, 139849, 139857, 139865, 139866, 139882, 139883, 139889, 139891, 139897, 139898, 139906, 139907, 139915, 139922, 139929, 139930, 139939, 139947, 139954, 139955, 139963, 139970, 139979, 139987, 139994]
def posList : List (Nat × Nat) := [(139801, 2), (139805, 3), (139807, 1), (139811, 2), (139813, 1), (139814, 1), (139817, 2), (139821, 1), (139822, 1), (139823, 1), (139826, 2), (139827, 2), (139829, 1), (139830, 1), (139831, 1), (139837, 1), (139838, 1), (139839, 1), (139845, 1), (139847, 1), (139853, 1), (139854, 1), (139855, 1), (139858, 2), (139859, 2), (139861, 1), (139862, 1), (139863, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero700 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos700 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck700

#print axioms MonskyCheck700.sel_zero700
#print axioms MonskyCheck700.sel_pos700

bsd/MonskyCheck701.lean

lean_all/bsd/MonskyCheck701.lean

/-
  bsd/MonskyCheck701.lean — T39 cycle 1586 (goal G842): Monsky's 2-Selmer matrix for squarefree 140001 ≤ n ≤ 140200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck701
open MonskyCheck

def zeroList : List Nat := [140001, 140010, 140017, 140027, 140034, 140051, 140059, 140066, 140073, 140074, 140083, 140097, 140099, 140105, 140106, 140107, 140114, 140115, 140122, 140123, 140129, 140137, 140138, 140145, 140162, 140163, 140169, 140171, 140178, 140179, 140186, 140187]
def posList : List (Nat × Nat) := [(140002, 2), (140003, 2), (140005, 3), (140006, 1), (140007, 3), (140009, 2), (140011, 2), (140014, 3), (140015, 1), (140018, 2), (140019, 2), (140021, 1), (140023, 1), (140026, 2), (140029, 3), (140030, 1), (140033, 4), (140035, 2), (140037, 1), (140038, 1), (140039, 1), (140041, 2), (140043, 2), (140045, 1), (140046, 1), (140047, 1), (140053, 1), (140054, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero701 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos701 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck701

#print axioms MonskyCheck701.sel_zero701
#print axioms MonskyCheck701.sel_pos701

bsd/MonskyCheck702.lean

lean_all/bsd/MonskyCheck702.lean

/-
  bsd/MonskyCheck702.lean — T39 cycle 1588 (goal G842): Monsky's 2-Selmer matrix for squarefree 140201 ≤ n ≤ 140400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck702
open MonskyCheck

def zeroList : List Nat := [140210, 140218, 140226, 140227, 140234, 140241, 140258, 140282, 140289, 140290, 140291, 140298, 140307, 140313, 140314, 140322, 140330, 140331, 140338, 140339, 140361, 140362, 140363, 140393, 140395]
def posList : List (Nat × Nat) := [(140201, 2), (140203, 2), (140205, 1), (140206, 1), (140207, 1), (140209, 2), (140213, 1), (140214, 1), (140215, 1), (140217, 2), (140219, 2), (140221, 1), (140222, 1), (140223, 1), (140230, 1), (140231, 1), (140233, 2), (140235, 2), (140237, 1), (140242, 2), (140243, 2), (140245, 1), (140246, 1), (140249, 2), (140251, 2), (140253, 1), (140254, 3), (140255, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero702 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos702 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck702

#print axioms MonskyCheck702.sel_zero702
#print axioms MonskyCheck702.sel_pos702

bsd/MonskyCheck703.lean

lean_all/bsd/MonskyCheck703.lean

/-
  bsd/MonskyCheck703.lean — T39 cycle 1590 (goal G842): Monsky's 2-Selmer matrix for squarefree 140401 ≤ n ≤ 140600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck703
open MonskyCheck

def zeroList : List Nat := [140403, 140410, 140411, 140419, 140433, 140435, 140443, 140451, 140457, 140458, 140467, 140474, 140505, 140507, 140513, 140515, 140529, 140530, 140531, 140538, 140539, 140547, 140563, 140569, 140570, 140577, 140579, 140586, 140587, 140595]
def posList : List (Nat × Nat) := [(140401, 2), (140402, 2), (140405, 3), (140406, 1), (140407, 1), (140413, 1), (140414, 1), (140415, 1), (140417, 2), (140421, 1), (140422, 1), (140423, 1), (140426, 2), (140430, 1), (140431, 1), (140437, 1), (140438, 1), (140441, 2), (140442, 2), (140446, 1), (140449, 2), (140453, 1), (140455, 1), (140461, 1), (140462, 3), (140465, 4), (140466, 2), (140469, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero703 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos703 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck703

#print axioms MonskyCheck703.sel_zero703
#print axioms MonskyCheck703.sel_pos703

bsd/MonskyCheck704.lean

lean_all/bsd/MonskyCheck704.lean

/-
  bsd/MonskyCheck704.lean — T39 cycle 1592 (goal G842): Monsky's 2-Selmer matrix for squarefree 140601 ≤ n ≤ 140800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck704
open MonskyCheck

def zeroList : List Nat := [140601, 140603, 140610, 140611, 140618, 140619, 140627, 140633, 140649, 140658, 140659, 140665, 140666, 140667, 140673, 140674, 140683, 140690, 140698, 140699, 140705, 140731, 140738, 140746, 140754, 140762, 140770, 140771, 140779, 140793, 140794]
def posList : List (Nat × Nat) := [(140605, 3), (140606, 1), (140609, 2), (140613, 1), (140614, 1), (140615, 1), (140617, 2), (140621, 3), (140622, 1), (140623, 1), (140626, 2), (140629, 1), (140631, 1), (140635, 2), (140637, 1), (140638, 1), (140639, 1), (140641, 2), (140642, 2), (140645, 1), (140646, 3), (140647, 1), (140651, 2), (140653, 1), (140654, 1), (140655, 1), (140657, 2), (140662, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero704 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos704 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck704

#print axioms MonskyCheck704.sel_zero704
#print axioms MonskyCheck704.sel_pos704

bsd/MonskyCheck705.lean

lean_all/bsd/MonskyCheck705.lean

/-
  bsd/MonskyCheck705.lean — T39 cycle 1594 (goal G842): Monsky's 2-Selmer matrix for squarefree 140801 ≤ n ≤ 141000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck705
open MonskyCheck

def zeroList : List Nat := [140803, 140809, 140811, 140817, 140818, 140819, 140827, 140833, 140834, 140835, 140843, 140858, 140867, 140873, 140874, 140883, 140889, 140890, 140891, 140915, 140921, 140930, 140939, 140945, 140947, 140954, 140955, 140961, 140963, 140970, 140971, 140986, 140995]
def posList : List (Nat × Nat) := [(140801, 2), (140802, 2), (140806, 1), (140807, 1), (140810, 2), (140813, 1), (140815, 1), (140821, 3), (140822, 1), (140829, 1), (140830, 1), (140831, 1), (140837, 1), (140838, 3), (140839, 1), (140842, 2), (140845, 1), (140846, 1), (140847, 1), (140849, 2), (140851, 2), (140853, 1), (140854, 1), (140855, 3), (140857, 2), (140861, 1), (140862, 1), (140863, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero705 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos705 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck705

#print axioms MonskyCheck705.sel_zero705
#print axioms MonskyCheck705.sel_pos705

bsd/MonskyCheck706.lean

lean_all/bsd/MonskyCheck706.lean

/-
  bsd/MonskyCheck706.lean — T39 cycle 1596 (goal G842): Monsky's 2-Selmer matrix for squarefree 141001 ≤ n ≤ 141200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck706
open MonskyCheck

def zeroList : List Nat := [141002, 141010, 141011, 141017, 141019, 141026, 141027, 141033, 141034, 141043, 141059, 141067, 141081, 141090, 141097, 141098, 141107, 141114, 141130, 141131, 141146, 141153, 141155, 141163, 141170, 141171, 141177, 141178, 141179, 141186, 141187, 141194, 141195]
def posList : List (Nat × Nat) := [(141001, 2), (141005, 3), (141006, 1), (141009, 2), (141013, 1), (141014, 1), (141015, 1), (141018, 2), (141023, 1), (141029, 1), (141031, 1), (141035, 2), (141037, 1), (141038, 3), (141041, 2), (141042, 2), (141045, 1), (141046, 1), (141047, 1), (141049, 4), (141051, 2), (141053, 1), (141054, 1), (141055, 1), (141058, 2), (141061, 1), (141062, 1), (141063, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero706 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos706 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck706

#print axioms MonskyCheck706.sel_zero706
#print axioms MonskyCheck706.sel_pos706

bsd/MonskyCheck707.lean

lean_all/bsd/MonskyCheck707.lean

/-
  bsd/MonskyCheck707.lean — T39 cycle 1598 (goal G842): Monsky's 2-Selmer matrix for squarefree 141201 ≤ n ≤ 141400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck707
open MonskyCheck

def zeroList : List Nat := [141211, 141217, 141226, 141234, 141242, 141258, 141265, 141283, 141299, 141306, 141307, 141313, 141323, 141337, 141339, 141346, 141355, 141361, 141362, 141369, 141370, 141371, 141378, 141386, 141387, 141393, 141394]
def posList : List (Nat × Nat) := [(141202, 2), (141203, 2), (141205, 3), (141206, 1), (141209, 2), (141213, 1), (141214, 1), (141215, 1), (141221, 1), (141222, 1), (141223, 1), (141227, 2), (141229, 1), (141230, 1), (141231, 1), (141233, 2), (141235, 2), (141238, 1), (141239, 1), (141241, 2), (141245, 3), (141247, 3), (141249, 2), (141251, 2), (141253, 1), (141254, 1), (141257, 2), (141259, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero707 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos707 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck707

#print axioms MonskyCheck707.sel_zero707
#print axioms MonskyCheck707.sel_pos707

bsd/MonskyCheck708.lean

lean_all/bsd/MonskyCheck708.lean

/-
  bsd/MonskyCheck708.lean — T39 cycle 1600 (goal G842): Monsky's 2-Selmer matrix for squarefree 141401 ≤ n ≤ 141600, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 103 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck708
open MonskyCheck

def zeroList : List Nat := [141403, 141418, 141434, 141441, 141443, 141466, 141467, 141474, 141482, 141490, 141499, 141514, 141522, 141530, 141531, 141539, 141546, 141547, 141555, 141563, 141569, 141587, 141594]
def posList : List (Nat × Nat) := [(141401, 2), (141402, 2), (141405, 1), (141406, 1), (141407, 1), (141409, 4), (141410, 2), (141411, 2), (141413, 1), (141415, 1), (141419, 2), (141421, 1), (141422, 3), (141423, 1), (141427, 2), (141429, 1), (141430, 1), (141431, 3), (141433, 2), (141437, 1), (141438, 1), (141439, 1), (141442, 2), (141445, 3), (141446, 1), (141447, 1), (141451, 2), (141454, 1), (  -- (+973 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero708 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos708 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck708

#print axioms MonskyCheck708.sel_zero708
#print axioms MonskyCheck708.sel_pos708

bsd/MonskyCheck709.lean

lean_all/bsd/MonskyCheck709.lean

/-
  bsd/MonskyCheck709.lean — T39 cycle 1602 (goal G842): Monsky's 2-Selmer matrix for squarefree 141601 ≤ n ≤ 141800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck709
open MonskyCheck

def zeroList : List Nat := [141602, 141603, 141618, 141619, 141627, 141635, 141641, 141643, 141658, 141667, 141674, 141690, 141699, 141706, 141707, 141715, 141721, 141730, 141731, 141738, 141747, 141753, 141754, 141762, 141763, 141770, 141771, 141779, 141785]
def posList : List (Nat × Nat) := [(141601, 2), (141605, 1), (141607, 1), (141609, 2), (141611, 2), (141613, 1), (141614, 1), (141617, 2), (141621, 1), (141623, 1), (141626, 2), (141629, 1), (141630, 1), (141631, 1), (141634, 2), (141637, 1), (141638, 1), (141639, 1), (141645, 1), (141646, 1), (141647, 1), (141649, 2), (141653, 1), (141654, 1), (141655, 1), (141657, 2), (141661, 3), (141662, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero709 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos709 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck709

#print axioms MonskyCheck709.sel_zero709
#print axioms MonskyCheck709.sel_pos709

bsd/MonskyCheck71.lean

lean_all/bsd/MonskyCheck71.lean

/-
  bsd/MonskyCheck71.lean — T39 cycle 414 (goal G130): Monsky's 2-Selmer matrix for squarefree 14001 ≤ n ≤ 14200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck71
open MonskyCheck

def zeroList : List Nat := [14001, 14010, 14011, 14017, 14018, 14019, 14026, 14034, 14041, 14042, 14051, 14059, 14066, 14073, 14082, 14083, 14098, 14099, 14105, 14107, 14113, 14115, 14131, 14137, 14138, 14145, 14146, 14147, 14163, 14169, 14171, 14179, 14195]
def posList : List (Nat × Nat) := [(14002, 2), (14003, 2), (14005, 3), (14006, 1), (14007, 1), (14009, 2), (14015, 1), (14021, 1), (14023, 1), (14029, 1), (14030, 1), (14033, 2), (14035, 2), (14037, 1), (14038, 1), (14039, 1), (14043, 2), (14046, 1), (14047, 1), (14053, 1), (14054, 1), (14055, 1), (14057, 2), (14061, 1), (14062, 3), (14065, 2), (14069, 1), (14070, 1), (14071, 1), (14074, 2), (1407  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero71 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos71 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck71

#print axioms MonskyCheck71.sel_zero71
#print axioms MonskyCheck71.sel_pos71

bsd/MonskyCheck710.lean

lean_all/bsd/MonskyCheck710.lean

/-
  bsd/MonskyCheck710.lean — T39 cycle 1604 (goal G842): Monsky's 2-Selmer matrix for squarefree 141801 ≤ n ≤ 142000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck710
open MonskyCheck

def zeroList : List Nat := [141801, 141802, 141803, 141810, 141811, 141827, 141834, 141851, 141857, 141859, 141889, 141890, 141891, 141898, 141907, 141914, 141915, 141922, 141923, 141931, 141945, 141946, 141962, 141963, 141970, 141971, 141977, 141986, 141987, 141994, 141995]
def posList : List (Nat × Nat) := [(141805, 3), (141807, 1), (141809, 2), (141814, 3), (141815, 1), (141817, 2), (141818, 2), (141819, 2), (141821, 1), (141823, 1), (141826, 2), (141829, 1), (141830, 1), (141833, 2), (141835, 2), (141837, 1), (141838, 1), (141839, 1), (141841, 2), (141842, 2), (141843, 2), (141845, 1), (141846, 3), (141847, 1), (141853, 1), (141854, 1), (141861, 1), (141862, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero710 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos710 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck710

#print axioms MonskyCheck710.sel_zero710
#print axioms MonskyCheck710.sel_pos710

bsd/MonskyCheck711.lean

lean_all/bsd/MonskyCheck711.lean

/-
  bsd/MonskyCheck711.lean — T39 cycle 1606 (goal G843): Monsky's 2-Selmer matrix for squarefree 142001 ≤ n ≤ 142200, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck711
open MonskyCheck

def zeroList : List Nat := [142003, 142010, 142017, 142019, 142026, 142058, 142066, 142067, 142082, 142089, 142091, 142099, 142106, 142107, 142113, 142123, 142138, 142139, 142153, 142154, 142161, 142170, 142177, 142186, 142187]
def posList : List (Nat × Nat) := [(142001, 2), (142005, 1), (142006, 1), (142007, 1), (142009, 2), (142013, 1), (142014, 1), (142015, 1), (142018, 2), (142021, 1), (142022, 1), (142023, 1), (142027, 2), (142030, 1), (142031, 1), (142033, 2), (142034, 2), (142035, 2), (142037, 1), (142039, 1), (142041, 2), (142042, 2), (142043, 2), (142045, 3), (142046, 1), (142049, 2), (142053, 1), (142055, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero711 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos711 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck711

#print axioms MonskyCheck711.sel_zero711
#print axioms MonskyCheck711.sel_pos711

bsd/MonskyCheck712.lean

lean_all/bsd/MonskyCheck712.lean

/-
  bsd/MonskyCheck712.lean — T39 cycle 1608 (goal G843): Monsky's 2-Selmer matrix for squarefree 142201 ≤ n ≤ 142400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck712
open MonskyCheck

def zeroList : List Nat := [142201, 142203, 142210, 142211, 142235, 142241, 142243, 142249, 142251, 142257, 142259, 142266, 142274, 142282, 142283, 142291, 142307, 142314, 142315, 142323, 142331, 142338, 142346, 142354, 142363, 142377, 142378, 142379, 142386, 142387, 142395]
def posList : List (Nat × Nat) := [(142202, 2), (142205, 1), (142206, 1), (142207, 1), (142213, 1), (142214, 3), (142215, 1), (142217, 2), (142219, 2), (142221, 1), (142222, 5), (142223, 1), (142226, 2), (142229, 3), (142230, 3), (142231, 1), (142233, 2), (142237, 1), (142238, 1), (142239, 1), (142242, 2), (142246, 1), (142253, 1), (142255, 1), (142258, 2), (142261, 1), (142262, 3), (142265, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero712 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos712 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck712

#print axioms MonskyCheck712.sel_zero712
#print axioms MonskyCheck712.sel_pos712

bsd/MonskyCheck713.lean

lean_all/bsd/MonskyCheck713.lean

/-
  bsd/MonskyCheck713.lean — T39 cycle 1610 (goal G843): Monsky's 2-Selmer matrix for squarefree 142401 ≤ n ≤ 142600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck713
open MonskyCheck

def zeroList : List Nat := [142401, 142402, 142403, 142410, 142419, 142426, 142427, 142435, 142458, 142459, 142473, 142474, 142481, 142482, 142483, 142521, 142522, 142523, 142531, 142539, 142545, 142547, 142555, 142570, 142571, 142579, 142586, 142594]
def posList : List (Nat × Nat) := [(142405, 1), (142406, 3), (142409, 4), (142411, 2), (142413, 1), (142414, 1), (142415, 1), (142418, 2), (142421, 1), (142422, 1), (142423, 1), (142429, 1), (142430, 1), (142431, 1), (142433, 2), (142437, 1), (142438, 1), (142439, 1), (142441, 2), (142442, 2), (142445, 3), (142446, 1), (142447, 1), (142449, 2), (142451, 2), (142453, 1), (142454, 1), (142455, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero713 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos713 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck713

#print axioms MonskyCheck713.sel_zero713
#print axioms MonskyCheck713.sel_pos713

bsd/MonskyCheck714.lean

lean_all/bsd/MonskyCheck714.lean

/-
  bsd/MonskyCheck714.lean — T39 cycle 1612 (goal G843): Monsky's 2-Selmer matrix for squarefree 142601 ≤ n ≤ 142800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck714
open MonskyCheck

def zeroList : List Nat := [142602, 142611, 142617, 142619, 142627, 142633, 142634, 142643, 142651, 142666, 142667, 142674, 142681, 142682, 142683, 142689, 142691, 142698, 142699, 142714, 142723, 142730, 142738, 142739, 142755, 142761, 142762, 142763, 142769, 142770, 142771, 142777, 142778, 142779, 142787]
def posList : List (Nat × Nat) := [(142601, 2), (142603, 2), (142606, 1), (142607, 1), (142609, 2), (142610, 2), (142613, 3), (142615, 1), (142618, 2), (142621, 1), (142622, 1), (142626, 2), (142629, 1), (142630, 1), (142631, 1), (142635, 2), (142637, 1), (142638, 1), (142642, 2), (142645, 1), (142646, 3), (142647, 1), (142649, 2), (142653, 1), (142654, 1), (142655, 1), (142657, 2), (142658, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero714 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos714 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck714

#print axioms MonskyCheck714.sel_zero714
#print axioms MonskyCheck714.sel_pos714

bsd/MonskyCheck715.lean

lean_all/bsd/MonskyCheck715.lean

/-
  bsd/MonskyCheck715.lean — T39 cycle 1614 (goal G843): Monsky's 2-Selmer matrix for squarefree 142801 ≤ n ≤ 143000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck715
open MonskyCheck

def zeroList : List Nat := [142802, 142811, 142826, 142827, 142833, 142851, 142858, 142867, 142874, 142883, 142889, 142906, 142907, 142914, 142921, 142923, 142930, 142931, 142937, 142939, 142945, 142953, 142954, 142961, 142962, 142963, 142971, 142977, 142978, 142979, 142994, 142995]
def posList : List (Nat × Nat) := [(142801, 2), (142806, 1), (142807, 1), (142809, 2), (142810, 2), (142813, 1), (142815, 1), (142817, 2), (142818, 2), (142819, 2), (142822, 1), (142823, 1), (142829, 1), (142831, 1), (142834, 4), (142837, 1), (142838, 1), (142841, 2), (142842, 2), (142843, 2), (142845, 1), (142846, 1), (142847, 1), (142849, 2), (142853, 1), (142854, 1), (142855, 1), (142859, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero715 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos715 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck715

#print axioms MonskyCheck715.sel_zero715
#print axioms MonskyCheck715.sel_pos715

bsd/MonskyCheck716.lean

lean_all/bsd/MonskyCheck716.lean

/-
  bsd/MonskyCheck716.lean — T39 cycle 1616 (goal G843): Monsky's 2-Selmer matrix for squarefree 143001 ≤ n ≤ 143200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck716
open MonskyCheck

def zeroList : List Nat := [143002, 143009, 143011, 143026, 143033, 143035, 143042, 143043, 143058, 143083, 143097, 143098, 143099, 143106, 143107, 143114, 143115, 143121, 143130, 143131, 143146, 143147, 143162, 143169, 143170, 143171, 143185, 143187, 143194, 143195]
def posList : List (Nat × Nat) := [(143003, 2), (143005, 1), (143006, 1), (143007, 3), (143013, 1), (143014, 1), (143015, 1), (143017, 2), (143018, 2), (143021, 3), (143023, 3), (143027, 2), (143029, 3), (143030, 1), (143034, 2), (143038, 1), (143039, 1), (143041, 4), (143045, 1), (143047, 1), (143049, 2), (143051, 2), (143053, 1), (143054, 1), (143057, 2), (143059, 2), (143061, 1), (143062, 3), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero716 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos716 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck716

#print axioms MonskyCheck716.sel_zero716
#print axioms MonskyCheck716.sel_pos716

bsd/MonskyCheck717.lean

lean_all/bsd/MonskyCheck717.lean

/-
  bsd/MonskyCheck717.lean — T39 cycle 1618 (goal G843): Monsky's 2-Selmer matrix for squarefree 143201 ≤ n ≤ 143400, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck717
open MonskyCheck

def zeroList : List Nat := [143203, 143218, 143233, 143241, 143242, 143243, 143258, 143267, 143291, 143297, 143299, 143313, 143314, 143315, 143321, 143322, 143331, 143337, 143346, 143354, 143362, 143369, 143386, 143387, 143393, 143394]
def posList : List (Nat × Nat) := [(143201, 2), (143202, 2), (143205, 1), (143206, 1), (143207, 3), (143209, 2), (143210, 2), (143211, 2), (143213, 1), (143214, 1), (143215, 1), (143219, 2), (143221, 1), (143222, 3), (143223, 1), (143229, 1), (143230, 1), (143231, 1), (143234, 2), (143237, 1), (143238, 1), (143239, 1), (143245, 3), (143246, 1), (143247, 1), (143249, 2), (143251, 2), (143254, 3), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero717 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos717 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck717

#print axioms MonskyCheck717.sel_zero717
#print axioms MonskyCheck717.sel_pos717

bsd/MonskyCheck718.lean

lean_all/bsd/MonskyCheck718.lean

/-
  bsd/MonskyCheck718.lean — T39 cycle 1620 (goal G843): Monsky's 2-Selmer matrix for squarefree 143401 ≤ n ≤ 143600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck718
open MonskyCheck

def zeroList : List Nat := [143403, 143410, 143411, 143419, 143434, 143435, 143443, 143457, 143459, 143465, 143466, 143467, 143473, 143482, 143483, 143491, 143507, 143515, 143529, 143530, 143531, 143538, 143563, 143578, 143579, 143587]
def posList : List (Nat × Nat) := [(143401, 2), (143402, 2), (143405, 1), (143407, 1), (143409, 2), (143413, 1), (143414, 1), (143417, 2), (143418, 2), (143421, 1), (143422, 1), (143426, 2), (143427, 2), (143429, 1), (143430, 1), (143431, 1), (143437, 1), (143438, 1), (143439, 1), (143441, 2), (143445, 1), (143446, 1), (143447, 1), (143449, 2), (143453, 1), (143454, 1), (143455, 1), (143458, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero718 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos718 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck718

#print axioms MonskyCheck718.sel_zero718
#print axioms MonskyCheck718.sel_pos718

bsd/MonskyCheck719.lean

lean_all/bsd/MonskyCheck719.lean

/-
  bsd/MonskyCheck719.lean — T39 cycle 1622 (goal G843): Monsky's 2-Selmer matrix for squarefree 143601 ≤ n ≤ 143800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck719
open MonskyCheck

def zeroList : List Nat := [143601, 143602, 143603, 143610, 143634, 143635, 143642, 143651, 143659, 143665, 143666, 143673, 143674, 143683, 143689, 143697, 143699, 143706, 143714, 143722, 143738, 143754, 143763, 143771, 143779]
def posList : List (Nat × Nat) := [(143605, 1), (143606, 1), (143607, 1), (143609, 2), (143611, 2), (143614, 1), (143615, 1), (143617, 2), (143618, 2), (143621, 1), (143623, 5), (143626, 2), (143629, 1), (143630, 1), (143637, 1), (143638, 1), (143639, 1), (143643, 2), (143645, 3), (143646, 1), (143647, 3), (143653, 1), (143654, 1), (143655, 1), (143657, 2), (143661, 3), (143662, 1), (143663, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero719 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos719 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck719

#print axioms MonskyCheck719.sel_zero719
#print axioms MonskyCheck719.sel_pos719

bsd/MonskyCheck72.lean

lean_all/bsd/MonskyCheck72.lean

/-
  bsd/MonskyCheck72.lean — T39 cycle 415 (goal G131): Monsky's 2-Selmer matrix for squarefree 14201 ≤ n ≤ 14400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck72
open MonskyCheck

def zeroList : List Nat := [14201, 14203, 14217, 14218, 14226, 14227, 14233, 14234, 14235, 14243, 14251, 14267, 14282, 14290, 14291, 14298, 14315, 14323, 14330, 14331, 14338, 14339, 14347, 14361, 14362, 14377, 14378, 14379, 14387]
def posList : List (Nat × Nat) := [(14205, 1), (14206, 1), (14207, 1), (14209, 2), (14213, 1), (14214, 1), (14215, 1), (14219, 2), (14221, 1), (14222, 1), (14223, 1), (14230, 1), (14231, 1), (14237, 1), (14239, 1), (14241, 2), (14242, 2), (14245, 1), (14246, 1), (14249, 2), (14253, 1), (14254, 1), (14255, 1), (14257, 2), (14258, 2), (14261, 1), (14262, 3), (14263, 1), (14266, 2), (14269, 1), (1427  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero72 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos72 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck72

#print axioms MonskyCheck72.sel_zero72
#print axioms MonskyCheck72.sel_pos72

bsd/MonskyCheck720.lean

lean_all/bsd/MonskyCheck720.lean

/-
  bsd/MonskyCheck720.lean — T39 cycle 1624 (goal G843): Monsky's 2-Selmer matrix for squarefree 143801 ≤ n ≤ 144000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck720
open MonskyCheck

def zeroList : List Nat := [143803, 143817, 143818, 143826, 143827, 143834, 143835, 143841, 143842, 143851, 143866, 143882, 143889, 143890, 143898, 143899, 143906, 143907, 143915, 143921, 143923, 143929, 143947, 143963, 143969, 143971, 143978, 143985, 143987, 143994]
def posList : List (Nat × Nat) := [(143801, 2), (143805, 1), (143806, 1), (143807, 1), (143809, 2), (143810, 2), (143813, 1), (143814, 1), (143821, 1), (143822, 3), (143823, 1), (143830, 1), (143831, 1), (143833, 2), (143837, 1), (143839, 1), (143843, 2), (143845, 1), (143846, 1), (143849, 2), (143853, 1), (143854, 3), (143855, 1), (143857, 2), (143858, 2), (143859, 2), (143861, 1), (143862, 3), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero720 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos720 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck720

#print axioms MonskyCheck720.sel_zero720
#print axioms MonskyCheck720.sel_pos720

bsd/MonskyCheck721.lean

lean_all/bsd/MonskyCheck721.lean

/-
  bsd/MonskyCheck721.lean — T39 cycle 1626 (goal G844): Monsky's 2-Selmer matrix for squarefree 144001 ≤ n ≤ 144200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck721
open MonskyCheck

def zeroList : List Nat := [144001, 144033, 144034, 144035, 144042, 144043, 144051, 144057, 144059, 144074, 144082, 144089, 144098, 144106, 144113, 144114, 144115, 144130, 144131, 144137, 144139, 144145, 144154, 144163, 144170, 144179, 144186, 144195]
def posList : List (Nat × Nat) := [(144002, 4), (144003, 2), (144005, 1), (144006, 3), (144007, 1), (144010, 2), (144013, 1), (144014, 1), (144015, 3), (144017, 2), (144019, 2), (144021, 1), (144022, 1), (144023, 1), (144026, 2), (144029, 3), (144030, 3), (144031, 1), (144037, 1), (144038, 1), (144041, 2), (144046, 1), (144047, 1), (144049, 2), (144053, 1), (144055, 1), (144058, 4), (144061, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero721 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos721 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck721

#print axioms MonskyCheck721.sel_zero721
#print axioms MonskyCheck721.sel_pos721

bsd/MonskyCheck722.lean

lean_all/bsd/MonskyCheck722.lean

/-
  bsd/MonskyCheck722.lean — T39 cycle 1628 (goal G844): Monsky's 2-Selmer matrix for squarefree 144201 ≤ n ≤ 144400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck722
open MonskyCheck

def zeroList : List Nat := [144202, 144203, 144210, 144218, 144226, 144227, 144258, 144259, 144265, 144273, 144282, 144283, 144290, 144298, 144299, 144307, 144323, 144330, 144345, 144346, 144347, 144362, 144370, 144371, 144379, 144386, 144393, 144394]
def posList : List (Nat × Nat) := [(144201, 2), (144205, 3), (144206, 1), (144209, 2), (144213, 1), (144214, 1), (144215, 1), (144217, 2), (144219, 2), (144221, 3), (144223, 1), (144229, 1), (144230, 1), (144231, 1), (144233, 2), (144235, 2), (144237, 1), (144238, 3), (144239, 3), (144241, 2), (144242, 2), (144245, 1), (144246, 1), (144247, 1), (144249, 2), (144251, 2), (144253, 1), (144254, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero722 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos722 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck722

#print axioms MonskyCheck722.sel_zero722
#print axioms MonskyCheck722.sel_pos722

bsd/MonskyCheck723.lean

lean_all/bsd/MonskyCheck723.lean

/-
  bsd/MonskyCheck723.lean — T39 cycle 1630 (goal G844): Monsky's 2-Selmer matrix for squarefree 144401 ≤ n ≤ 144600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck723
open MonskyCheck

def zeroList : List Nat := [144411, 144418, 144419, 144427, 144435, 144442, 144443, 144451, 144457, 144458, 144482, 144483, 144489, 144491, 144498, 144506, 144507, 144514, 144515, 144523, 144537, 144538, 144539, 144546, 144554, 144555, 144561, 144562, 144563, 144586]
def posList : List (Nat × Nat) := [(144401, 2), (144402, 2), (144406, 1), (144407, 1), (144409, 2), (144410, 2), (144413, 1), (144415, 1), (144421, 1), (144422, 1), (144426, 2), (144429, 1), (144430, 1), (144431, 3), (144433, 2), (144434, 2), (144437, 1), (144438, 1), (144439, 1), (144445, 1), (144446, 1), (144447, 1), (144449, 2), (144453, 1), (144454, 1), (144455, 1), (144461, 1), (144462, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero723 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos723 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck723

#print axioms MonskyCheck723.sel_zero723
#print axioms MonskyCheck723.sel_pos723

bsd/MonskyCheck724.lean

lean_all/bsd/MonskyCheck724.lean

/-
  bsd/MonskyCheck724.lean — T39 cycle 1632 (goal G844): Monsky's 2-Selmer matrix for squarefree 144601 ≤ n ≤ 144800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck724
open MonskyCheck

def zeroList : List Nat := [144602, 144609, 144610, 144611, 144617, 144618, 144619, 144627, 144633, 144634, 144635, 144642, 144643, 144659, 144667, 144681, 144682, 144683, 144714, 144715, 144723, 144731, 144739, 144753, 144754, 144755, 144762, 144763, 144777, 144778, 144779, 144785, 144786, 144793, 144794]
def posList : List (Nat × Nat) := [(144601, 2), (144605, 3), (144606, 1), (144607, 3), (144613, 1), (144614, 1), (144615, 1), (144622, 3), (144623, 1), (144626, 2), (144629, 1), (144631, 1), (144637, 1), (144638, 1), (144641, 2), (144645, 1), (144646, 1), (144647, 1), (144649, 2), (144651, 2), (144653, 3), (144654, 1), (144655, 1), (144658, 2), (144661, 1), (144662, 1), (144663, 1), (144665, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero724 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos724 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck724

#print axioms MonskyCheck724.sel_zero724
#print axioms MonskyCheck724.sel_pos724

bsd/MonskyCheck725.lean

lean_all/bsd/MonskyCheck725.lean

/-
  bsd/MonskyCheck725.lean — T39 cycle 1634 (goal G844): Monsky's 2-Selmer matrix for squarefree 144801 ≤ n ≤ 145000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck725
open MonskyCheck

def zeroList : List Nat := [144818, 144842, 144843, 144858, 144865, 144867, 144874, 144881, 144883, 144897, 144898, 144899, 144906, 144913, 144914, 144921, 144922, 144923, 144930, 144931, 144938, 144947, 144953, 144955, 144971, 144978, 144979, 144986, 144987, 144993, 144995]
def posList : List (Nat × Nat) := [(144802, 2), (144803, 2), (144805, 3), (144806, 3), (144807, 1), (144809, 4), (144811, 2), (144813, 1), (144814, 1), (144815, 1), (144817, 2), (144821, 1), (144822, 1), (144823, 1), (144826, 2), (144827, 2), (144829, 1), (144830, 1), (144831, 1), (144834, 2), (144835, 2), (144838, 1), (144839, 1), (144841, 4), (144845, 1), (144847, 1), (144849, 2), (144851, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero725 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos725 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck725

#print axioms MonskyCheck725.sel_zero725
#print axioms MonskyCheck725.sel_pos725

bsd/MonskyCheck726.lean

lean_all/bsd/MonskyCheck726.lean

/-
  bsd/MonskyCheck726.lean — T39 cycle 1636 (goal G844): Monsky's 2-Selmer matrix for squarefree 145001 ≤ n ≤ 145200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck726
open MonskyCheck

def zeroList : List Nat := [145001, 145027, 145034, 145043, 145057, 145058, 145059, 145065, 145066, 145067, 145074, 145081, 145082, 145083, 145091, 145099, 145106, 145113, 145115, 145131, 145137, 145139, 145145, 145146, 145147, 145155, 145163, 145169, 145186, 145194]
def posList : List (Nat × Nat) := [(145003, 2), (145005, 1), (145006, 1), (145007, 1), (145009, 2), (145010, 2), (145011, 2), (145013, 1), (145014, 3), (145015, 1), (145018, 2), (145019, 2), (145021, 1), (145022, 1), (145023, 1), (145029, 1), (145030, 1), (145031, 1), (145033, 2), (145037, 1), (145038, 1), (145039, 1), (145041, 2), (145042, 2), (145045, 3), (145046, 1), (145047, 1), (145049, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero726 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos726 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck726

#print axioms MonskyCheck726.sel_zero726
#print axioms MonskyCheck726.sel_pos726

bsd/MonskyCheck727.lean

lean_all/bsd/MonskyCheck727.lean

/-
  bsd/MonskyCheck727.lean — T39 cycle 1638 (goal G844): Monsky's 2-Selmer matrix for squarefree 145201 ≤ n ≤ 145400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck727
open MonskyCheck

def zeroList : List Nat := [145209, 145211, 145217, 145218, 145219, 145226, 145258, 145259, 145267, 145274, 145281, 145283, 145290, 145291, 145306, 145307, 145315, 145322, 145329, 145330, 145338, 145347, 145355, 145370, 145387, 145393, 145394]
def posList : List (Nat × Nat) := [(145201, 2), (145202, 2), (145203, 2), (145205, 1), (145207, 1), (145210, 2), (145213, 1), (145214, 3), (145221, 1), (145222, 1), (145223, 1), (145227, 2), (145229, 1), (145230, 1), (145231, 3), (145234, 2), (145235, 2), (145237, 1), (145238, 1), (145239, 1), (145241, 2), (145243, 2), (145245, 1), (145246, 1), (145247, 3), (145249, 2), (145253, 1), (145254, 3), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero727 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos727 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck727

#print axioms MonskyCheck727.sel_zero727
#print axioms MonskyCheck727.sel_pos727

bsd/MonskyCheck728.lean

lean_all/bsd/MonskyCheck728.lean

/-
  bsd/MonskyCheck728.lean — T39 cycle 1640 (goal G844): Monsky's 2-Selmer matrix for squarefree 145401 ≤ n ≤ 145600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck728
open MonskyCheck

def zeroList : List Nat := [145402, 145409, 145419, 145451, 145457, 145459, 145465, 145466, 145473, 145482, 145490, 145491, 145497, 145506, 145507, 145514, 145523, 145531, 145538, 145545, 145547, 145553, 145554, 145555, 145569, 145570, 145571, 145578, 145585, 145594, 145595]
def posList : List (Nat × Nat) := [(145401, 2), (145403, 2), (145405, 1), (145406, 1), (145407, 1), (145410, 2), (145411, 2), (145414, 1), (145415, 1), (145417, 2), (145418, 2), (145421, 1), (145423, 1), (145426, 2), (145427, 2), (145429, 1), (145430, 1), (145433, 2), (145434, 2), (145435, 2), (145437, 1), (145438, 1), (145439, 3), (145441, 2), (145443, 2), (145445, 1), (145446, 1), (145447, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero728 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos728 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck728

#print axioms MonskyCheck728.sel_zero728
#print axioms MonskyCheck728.sel_pos728

bsd/MonskyCheck729.lean

lean_all/bsd/MonskyCheck729.lean

/-
  bsd/MonskyCheck729.lean — T39 cycle 1642 (goal G844): Monsky's 2-Selmer matrix for squarefree 145601 ≤ n ≤ 145800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck729
open MonskyCheck

def zeroList : List Nat := [145603, 145617, 145618, 145619, 145627, 145643, 145651, 145658, 145666, 145673, 145689, 145690, 145691, 145698, 145713, 145722, 145723, 145730, 145738, 145745, 145747, 145763, 145770, 145771, 145779, 145786, 145795]
def posList : List (Nat × Nat) := [(145601, 2), (145605, 1), (145606, 1), (145607, 1), (145609, 2), (145610, 2), (145613, 1), (145614, 1), (145615, 1), (145621, 1), (145622, 3), (145623, 1), (145626, 2), (145630, 1), (145631, 1), (145633, 2), (145634, 2), (145635, 2), (145637, 1), (145639, 3), (145641, 2), (145642, 2), (145645, 3), (145646, 1), (145649, 2), (145653, 1), (145654, 1), (145655, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero729 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos729 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck729

#print axioms MonskyCheck729.sel_zero729
#print axioms MonskyCheck729.sel_pos729

bsd/MonskyCheck73.lean

lean_all/bsd/MonskyCheck73.lean

/-
  bsd/MonskyCheck73.lean — T39 cycle 416 (goal G132): Monsky's 2-Selmer matrix for squarefree 14401 ≤ n ≤ 14600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck73
open MonskyCheck

def zeroList : List Nat := [14402, 14410, 14411, 14419, 14426, 14435, 14443, 14451, 14457, 14458, 14465, 14466, 14467, 14474, 14482, 14498, 14505, 14506, 14507, 14514, 14515, 14522, 14530, 14563, 14578, 14586, 14587]
def posList : List (Nat × Nat) := [(14401, 2), (14403, 2), (14405, 1), (14407, 1), (14413, 3), (14414, 1), (14417, 2), (14421, 1), (14422, 1), (14423, 1), (14429, 1), (14430, 1), (14431, 1), (14433, 2), (14434, 2), (14437, 1), (14438, 1), (14439, 1), (14441, 2), (14442, 2), (14446, 3), (14447, 1), (14449, 2), (14453, 1), (14459, 2), (14461, 1), (14462, 3), (14469, 1), (14470, 1), (14471, 1), (1447  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero73 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos73 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck73

#print axioms MonskyCheck73.sel_zero73
#print axioms MonskyCheck73.sel_pos73

bsd/MonskyCheck730.lean

lean_all/bsd/MonskyCheck730.lean

/-
  bsd/MonskyCheck730.lean — T39 cycle 1644 (goal G844): Monsky's 2-Selmer matrix for squarefree 145801 ≤ n ≤ 146000, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck730
open MonskyCheck

def zeroList : List Nat := [145801, 145802, 145810, 145811, 145819, 145833, 145834, 145835, 145841, 145842, 145843, 145849, 145857, 145866, 145867, 145883, 145898, 145905, 145907, 145915, 145923, 145929, 145930, 145931, 145937, 145946, 145961, 145963, 145970, 145979, 145985, 145986, 145987, 145993, 145994, 145995]
def posList : List (Nat × Nat) := [(145803, 2), (145806, 1), (145807, 1), (145813, 1), (145814, 1), (145815, 3), (145817, 2), (145821, 1), (145822, 1), (145823, 1), (145826, 2), (145829, 1), (145830, 1), (145831, 1), (145837, 3), (145838, 1), (145839, 1), (145846, 1), (145851, 2), (145853, 3), (145855, 1), (145858, 2), (145859, 2), (145861, 1), (145862, 1), (145865, 2), (145869, 1), (145870, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero730 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos730 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck730

#print axioms MonskyCheck730.sel_zero730
#print axioms MonskyCheck730.sel_pos730

bsd/MonskyCheck731.lean

lean_all/bsd/MonskyCheck731.lean

/-
  bsd/MonskyCheck731.lean — T39 cycle 1646 (goal G845): Monsky's 2-Selmer matrix for squarefree 146001 ≤ n ≤ 146200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck731
open MonskyCheck

def zeroList : List Nat := [146001, 146002, 146003, 146011, 146026, 146035, 146042, 146051, 146058, 146059, 146065, 146067, 146074, 146082, 146083, 146089, 146091, 146099, 146107, 146114, 146121, 146122, 146129, 146139, 146145, 146146, 146162, 146163, 146171, 146186, 146193, 146194, 146195]
def posList : List (Nat × Nat) := [(146005, 3), (146006, 1), (146009, 2), (146010, 2), (146013, 1), (146014, 1), (146015, 1), (146017, 2), (146018, 2), (146019, 2), (146021, 1), (146022, 3), (146023, 1), (146027, 2), (146029, 1), (146030, 1), (146031, 1), (146033, 2), (146037, 1), (146038, 1), (146039, 1), (146041, 2), (146045, 3), (146046, 1), (146049, 2), (146053, 1), (146054, 1), (146055, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero731 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos731 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck731

#print axioms MonskyCheck731.sel_zero731
#print axioms MonskyCheck731.sel_pos731

bsd/MonskyCheck732.lean

lean_all/bsd/MonskyCheck732.lean

/-
  bsd/MonskyCheck732.lean — T39 cycle 1648 (goal G845): Monsky's 2-Selmer matrix for squarefree 146201 ≤ n ≤ 146400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck732
open MonskyCheck

def zeroList : List Nat := [146201, 146203, 146210, 146218, 146226, 146227, 146235, 146243, 146251, 146266, 146274, 146281, 146282, 146283, 146290, 146291, 146298, 146299, 146315, 146323, 146330, 146337, 146338, 146346, 146347, 146361, 146362, 146370, 146371, 146378, 146379, 146386, 146387]
def posList : List (Nat × Nat) := [(146206, 3), (146207, 1), (146209, 2), (146211, 2), (146213, 1), (146215, 1), (146217, 2), (146219, 2), (146221, 1), (146222, 3), (146229, 1), (146230, 1), (146231, 1), (146233, 2), (146237, 1), (146238, 1), (146239, 1), (146242, 2), (146245, 1), (146246, 3), (146249, 2), (146253, 1), (146254, 1), (146255, 1), (146257, 2), (146258, 2), (146261, 1), (146262, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero732 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos732 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck732

#print axioms MonskyCheck732.sel_zero732
#print axioms MonskyCheck732.sel_pos732

bsd/MonskyCheck733.lean

lean_all/bsd/MonskyCheck733.lean

/-
  bsd/MonskyCheck733.lean — T39 cycle 1650 (goal G845): Monsky's 2-Selmer matrix for squarefree 146401 ≤ n ≤ 146600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck733
open MonskyCheck

def zeroList : List Nat := [146409, 146419, 146427, 146434, 146435, 146458, 146465, 146467, 146474, 146490, 146498, 146499, 146505, 146506, 146514, 146515, 146530, 146537, 146539, 146545, 146553, 146554, 146563, 146570, 146571, 146577, 146578, 146585, 146586, 146594]
def posList : List (Nat × Nat) := [(146401, 2), (146402, 2), (146405, 1), (146406, 1), (146407, 1), (146411, 2), (146413, 1), (146414, 1), (146415, 1), (146417, 2), (146418, 2), (146422, 3), (146423, 1), (146426, 2), (146429, 1), (146431, 1), (146433, 2), (146437, 1), (146438, 1), (146441, 2), (146442, 2), (146443, 2), (146445, 1), (146446, 1), (146447, 1), (146449, 2), (146451, 2), (146453, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero733 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos733 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck733

#print axioms MonskyCheck733.sel_zero733
#print axioms MonskyCheck733.sel_pos733

bsd/MonskyCheck734.lean

lean_all/bsd/MonskyCheck734.lean

/-
  bsd/MonskyCheck734.lean — T39 cycle 1652 (goal G845): Monsky's 2-Selmer matrix for squarefree 146601 ≤ n ≤ 146800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck734
open MonskyCheck

def zeroList : List Nat := [146603, 146611, 146618, 146627, 146633, 146634, 146635, 146641, 146642, 146643, 146649, 146658, 146674, 146683, 146690, 146698, 146714, 146721, 146723, 146729, 146730, 146737, 146739, 146770, 146771, 146778, 146779, 146787, 146794, 146795]
def posList : List (Nat × Nat) := [(146602, 2), (146605, 3), (146606, 1), (146607, 1), (146609, 2), (146613, 1), (146614, 1), (146615, 1), (146617, 2), (146621, 1), (146622, 1), (146623, 1), (146626, 2), (146629, 1), (146630, 1), (146631, 3), (146638, 1), (146639, 1), (146645, 1), (146647, 1), (146651, 2), (146653, 3), (146654, 1), (146659, 2), (146661, 1), (146662, 1), (146663, 1), (146665, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero734 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos734 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck734

#print axioms MonskyCheck734.sel_zero734
#print axioms MonskyCheck734.sel_pos734

bsd/MonskyCheck735.lean

lean_all/bsd/MonskyCheck735.lean

/-
  bsd/MonskyCheck735.lean — T39 cycle 1654 (goal G845): Monsky's 2-Selmer matrix for squarefree 146801 ≤ n ≤ 147000, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck735
open MonskyCheck

def zeroList : List Nat := [146802, 146803, 146819, 146841, 146842, 146843, 146858, 146859, 146874, 146883, 146891, 146906, 146914, 146915, 146923, 146931, 146939, 146946, 146954, 146955, 146962, 146971, 146978, 146986, 146987, 146994]
def posList : List (Nat × Nat) := [(146801, 2), (146805, 1), (146806, 1), (146807, 1), (146809, 2), (146810, 2), (146811, 2), (146813, 1), (146814, 1), (146815, 1), (146818, 2), (146821, 1), (146822, 1), (146823, 1), (146827, 2), (146829, 1), (146830, 1), (146831, 3), (146833, 2), (146834, 2), (146837, 1), (146838, 1), (146839, 1), (146845, 1), (146846, 1), (146847, 1), (146849, 2), (146851, 2), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero735 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos735 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck735

#print axioms MonskyCheck735.sel_zero735
#print axioms MonskyCheck735.sel_pos735

bsd/MonskyCheck736.lean

lean_all/bsd/MonskyCheck736.lean

/-
  bsd/MonskyCheck736.lean — T39 cycle 1656 (goal G845): Monsky's 2-Selmer matrix for squarefree 147001 ≤ n ≤ 147200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck736
open MonskyCheck

def zeroList : List Nat := [147002, 147003, 147009, 147011, 147018, 147026, 147034, 147057, 147059, 147066, 147067, 147082, 147083, 147091, 147107, 147113, 147115, 147129, 147130, 147139, 147146, 147153, 147163, 147170, 147178, 147179, 147187, 147194]
def posList : List (Nat × Nat) := [(147001, 2), (147005, 3), (147007, 3), (147010, 2), (147013, 1), (147014, 1), (147017, 2), (147019, 2), (147021, 1), (147022, 1), (147023, 1), (147027, 2), (147029, 1), (147031, 1), (147035, 2), (147037, 1), (147038, 1), (147039, 1), (147041, 2), (147043, 2), (147045, 1), (147046, 1), (147047, 1), (147053, 1), (147054, 1), (147055, 1), (147058, 2), (147061, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero736 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos736 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck736

#print axioms MonskyCheck736.sel_zero736
#print axioms MonskyCheck736.sel_pos736

bsd/MonskyCheck737.lean

lean_all/bsd/MonskyCheck737.lean

/-
  bsd/MonskyCheck737.lean — T39 cycle 1658 (goal G845): Monsky's 2-Selmer matrix for squarefree 147201 ≤ n ≤ 147400, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck737
open MonskyCheck

def zeroList : List Nat := [147202, 147203, 147211, 147219, 147226, 147227, 147251, 147266, 147273, 147274, 147282, 147283, 147290, 147291, 147297, 147299, 147315, 147322, 147323, 147329, 147331, 147337, 147345, 147347, 147355, 147361, 147363, 147369, 147370, 147385, 147386, 147394]
def posList : List (Nat × Nat) := [(147201, 2), (147205, 1), (147206, 1), (147207, 1), (147209, 2), (147210, 2), (147214, 1), (147215, 1), (147217, 2), (147218, 2), (147221, 1), (147223, 1), (147229, 1), (147230, 1), (147233, 2), (147234, 2), (147235, 2), (147237, 1), (147238, 3), (147239, 3), (147241, 4), (147242, 2), (147243, 2), (147246, 1), (147247, 1), (147253, 1), (147254, 1), (147255, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero737 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos737 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck737

#print axioms MonskyCheck737.sel_zero737
#print axioms MonskyCheck737.sel_pos737

bsd/MonskyCheck738.lean

lean_all/bsd/MonskyCheck738.lean

/-
  bsd/MonskyCheck738.lean — T39 cycle 1660 (goal G845): Monsky's 2-Selmer matrix for squarefree 147401 ≤ n ≤ 147600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck738
open MonskyCheck

def zeroList : List Nat := [147403, 147410, 147417, 147418, 147419, 147426, 147427, 147434, 147451, 147466, 147482, 147491, 147497, 147506, 147507, 147513, 147514, 147515, 147521, 147522, 147523, 147530, 147545, 147547, 147561, 147562, 147563, 147571, 147579, 147586, 147587, 147594, 147595]
def posList : List (Nat × Nat) := [(147401, 2), (147405, 1), (147406, 3), (147407, 1), (147409, 2), (147413, 1), (147414, 1), (147415, 1), (147421, 1), (147422, 1), (147423, 3), (147430, 1), (147431, 1), (147433, 2), (147435, 2), (147437, 1), (147439, 1), (147442, 2), (147443, 2), (147445, 1), (147446, 1), (147449, 2), (147453, 1), (147454, 1), (147455, 1), (147457, 2), (147458, 4), (147459, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero738 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos738 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck738

#print axioms MonskyCheck738.sel_zero738
#print axioms MonskyCheck738.sel_pos738

bsd/MonskyCheck739.lean

lean_all/bsd/MonskyCheck739.lean

/-
  bsd/MonskyCheck739.lean — T39 cycle 1662 (goal G845): Monsky's 2-Selmer matrix for squarefree 147601 ≤ n ≤ 147800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck739
open MonskyCheck

def zeroList : List Nat := [147601, 147610, 147626, 147633, 147635, 147657, 147659, 147665, 147666, 147667, 147674, 147707, 147715, 147722, 147723, 147731, 147739, 147747, 147754, 147763, 147770, 147778, 147779, 147785, 147786, 147787, 147795]
def posList : List (Nat × Nat) := [(147602, 2), (147603, 2), (147605, 1), (147606, 3), (147607, 1), (147611, 4), (147613, 1), (147614, 3), (147615, 1), (147617, 2), (147619, 2), (147621, 1), (147622, 1), (147623, 1), (147629, 1), (147630, 1), (147631, 1), (147634, 2), (147638, 1), (147639, 1), (147641, 2), (147642, 2), (147643, 2), (147646, 1), (147647, 1), (147651, 2), (147653, 1), (147655, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero739 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos739 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck739

#print axioms MonskyCheck739.sel_zero739
#print axioms MonskyCheck739.sel_pos739

bsd/MonskyCheck74.lean

lean_all/bsd/MonskyCheck74.lean

/-
  bsd/MonskyCheck74.lean — T39 cycle 417 (goal G133): Monsky's 2-Selmer matrix for squarefree 14601 ≤ n ≤ 14800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck74
open MonskyCheck

def zeroList : List Nat := [14618, 14619, 14627, 14635, 14665, 14666, 14667, 14674, 14683, 14690, 14691, 14698, 14699, 14723, 14731, 14745, 14746, 14747, 14754, 14755, 14770, 14771, 14779, 14793]
def posList : List (Nat × Nat) := [(14601, 2), (14603, 2), (14605, 1), (14606, 1), (14609, 2), (14610, 2), (14611, 2), (14613, 1), (14614, 1), (14615, 1), (14617, 2), (14621, 1), (14622, 1), (14623, 1), (14626, 2), (14629, 1), (14630, 1), (14631, 1), (14633, 2), (14637, 3), (14638, 1), (14639, 1), (14642, 2), (14645, 3), (14646, 1), (14647, 3), (14649, 2), (14653, 1), (14654, 1), (14655, 1), (1465  -- (+798 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero74 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos74 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck74

#print axioms MonskyCheck74.sel_zero74
#print axioms MonskyCheck74.sel_pos74

bsd/MonskyCheck740.lean

lean_all/bsd/MonskyCheck740.lean

/-
  bsd/MonskyCheck740.lean — T39 cycle 1664 (goal G845): Monsky's 2-Selmer matrix for squarefree 147801 ≤ n ≤ 148000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck740
open MonskyCheck

def zeroList : List Nat := [147803, 147811, 147818, 147827, 147835, 147841, 147842, 147849, 147851, 147859, 147866, 147873, 147874, 147883, 147907, 147913, 147914, 147921, 147923, 147945, 147946, 147954, 147955, 147961, 147962, 147963, 147970, 147971, 147979, 147986, 147993]
def posList : List (Nat × Nat) := [(147801, 2), (147802, 2), (147805, 1), (147806, 3), (147809, 2), (147810, 2), (147813, 1), (147814, 1), (147815, 1), (147817, 2), (147819, 2), (147821, 1), (147822, 1), (147823, 1), (147826, 2), (147829, 1), (147830, 1), (147831, 1), (147837, 1), (147838, 3), (147839, 1), (147845, 3), (147846, 1), (147847, 3), (147853, 1), (147854, 1), (147855, 1), (147857, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero740 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos740 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck740

#print axioms MonskyCheck740.sel_zero740
#print axioms MonskyCheck740.sel_pos740

bsd/MonskyCheck741.lean

lean_all/bsd/MonskyCheck741.lean

/-
  bsd/MonskyCheck741.lean — T39 cycle 1666 (goal G846): Monsky's 2-Selmer matrix for squarefree 148001 ≤ n ≤ 148200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck741
open MonskyCheck

def zeroList : List Nat := [148009, 148017, 148018, 148019, 148033, 148035, 148042, 148049, 148051, 148057, 148058, 148066, 148067, 148074, 148082, 148089, 148090, 148091, 148098, 148099, 148123, 148130, 148138, 148139, 148146, 148147, 148154, 148162, 148163, 148169, 148171, 148178, 148186, 148187, 148195]
def posList : List (Nat × Nat) := [(148001, 2), (148002, 2), (148006, 3), (148007, 1), (148011, 2), (148013, 1), (148015, 1), (148021, 1), (148022, 1), (148026, 2), (148027, 2), (148030, 1), (148031, 1), (148034, 2), (148037, 1), (148038, 1), (148039, 1), (148043, 2), (148045, 3), (148046, 1), (148047, 1), (148053, 1), (148054, 1), (148055, 1), (148061, 1), (148062, 1), (148063, 1), (148065, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero741 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos741 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck741

#print axioms MonskyCheck741.sel_zero741
#print axioms MonskyCheck741.sel_pos741

bsd/MonskyCheck742.lean

lean_all/bsd/MonskyCheck742.lean

/-
  bsd/MonskyCheck742.lean — T39 cycle 1668 (goal G846): Monsky's 2-Selmer matrix for squarefree 148201 ≤ n ≤ 148400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck742
open MonskyCheck

def zeroList : List Nat := [148202, 148210, 148219, 148226, 148227, 148233, 148243, 148283, 148290, 148291, 148298, 148299, 148305, 148306, 148313, 148314, 148315, 148321, 148331, 148339, 148353, 148363, 148370, 148377, 148378, 148379, 148385, 148387, 148393, 148394]
def posList : List (Nat × Nat) := [(148201, 2), (148205, 3), (148206, 1), (148207, 1), (148209, 2), (148211, 2), (148214, 3), (148215, 3), (148217, 2), (148218, 2), (148222, 1), (148223, 3), (148229, 1), (148231, 1), (148234, 2), (148235, 2), (148237, 1), (148238, 1), (148241, 2), (148242, 2), (148245, 1), (148246, 1), (148247, 1), (148249, 2), (148251, 2), (148253, 1), (148254, 1), (148255, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero742 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos742 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck742

#print axioms MonskyCheck742.sel_zero742
#print axioms MonskyCheck742.sel_pos742

bsd/MonskyCheck743.lean

lean_all/bsd/MonskyCheck743.lean

/-
  bsd/MonskyCheck743.lean — T39 cycle 1670 (goal G846): Monsky's 2-Selmer matrix for squarefree 148401 ≤ n ≤ 148600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck743
open MonskyCheck

def zeroList : List Nat := [148403, 148409, 148411, 148427, 148435, 148442, 148443, 148449, 148451, 148458, 148459, 148465, 148466, 148483, 148489, 148497, 148505, 148507, 148522, 148523, 148530, 148531, 148538, 148539, 148555, 148562, 148569, 148571, 148578, 148579, 148586, 148587, 148593, 148595]
def posList : List (Nat × Nat) := [(148402, 2), (148405, 1), (148406, 1), (148407, 1), (148413, 1), (148414, 1), (148415, 1), (148417, 4), (148418, 2), (148422, 1), (148423, 1), (148426, 2), (148429, 1), (148430, 1), (148431, 1), (148433, 2), (148434, 2), (148438, 1), (148439, 1), (148441, 2), (148445, 1), (148447, 1), (148453, 1), (148454, 1), (148457, 2), (148461, 3), (148462, 1), (148463, 3), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero743 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos743 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck743

#print axioms MonskyCheck743.sel_zero743
#print axioms MonskyCheck743.sel_pos743

bsd/MonskyCheck744.lean

lean_all/bsd/MonskyCheck744.lean

/-
  bsd/MonskyCheck744.lean — T39 cycle 1672 (goal G846): Monsky's 2-Selmer matrix for squarefree 148601 ≤ n ≤ 148800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 101 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck744
open MonskyCheck

def zeroList : List Nat := [148603, 148618, 148627, 148634, 148641, 148642, 148659, 148667, 148674, 148683, 148690, 148691, 148713, 148714, 148723, 148739, 148746, 148747, 148753, 148762, 148763, 148785, 148786, 148794]
def posList : List (Nat × Nat) := [(148601, 2), (148602, 2), (148605, 1), (148606, 1), (148607, 1), (148609, 2), (148610, 2), (148611, 2), (148613, 3), (148614, 1), (148615, 1), (148619, 2), (148621, 1), (148622, 1), (148623, 1), (148629, 1), (148630, 3), (148631, 1), (148633, 2), (148637, 1), (148638, 1), (148639, 1), (148643, 2), (148645, 1), (148646, 1), (148647, 1), (148651, 2), (148654, 1), (  -- (+947 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero744 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos744 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck744

#print axioms MonskyCheck744.sel_zero744
#print axioms MonskyCheck744.sel_pos744

bsd/MonskyCheck745.lean

lean_all/bsd/MonskyCheck745.lean

/-
  bsd/MonskyCheck745.lean — T39 cycle 1674 (goal G846): Monsky's 2-Selmer matrix for squarefree 148801 ≤ n ≤ 149000, by rfl.
  s₂(n) = 0 for 20 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck745
open MonskyCheck

def zeroList : List Nat := [148809, 148811, 148826, 148858, 148859, 148865, 148866, 148867, 148874, 148881, 148883, 148891, 148906, 148907, 148922, 148931, 148938, 148947, 148970, 148979]
def posList : List (Nat × Nat) := [(148801, 4), (148802, 2), (148803, 2), (148805, 3), (148807, 1), (148810, 2), (148814, 1), (148817, 2), (148818, 2), (148819, 2), (148821, 1), (148822, 1), (148823, 1), (148827, 2), (148829, 1), (148831, 1), (148834, 2), (148838, 1), (148839, 1), (148841, 2), (148843, 2), (148845, 1), (148846, 1), (148847, 1), (148849, 2), (148853, 1), (148854, 1), (148855, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero745 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos745 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck745

#print axioms MonskyCheck745.sel_zero745
#print axioms MonskyCheck745.sel_pos745

bsd/MonskyCheck746.lean

lean_all/bsd/MonskyCheck746.lean

/-
  bsd/MonskyCheck746.lean — T39 cycle 1676 (goal G846): Monsky's 2-Selmer matrix for squarefree 149001 ≤ n ≤ 149200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck746
open MonskyCheck

def zeroList : List Nat := [149001, 149002, 149003, 149010, 149011, 149017, 149018, 149026, 149027, 149034, 149035, 149051, 149059, 149065, 149074, 149081, 149082, 149091, 149099, 149106, 149115, 149123, 149138, 149146, 149154, 149155, 149169, 149177, 149179, 149194, 149195]
def posList : List (Nat × Nat) := [(149005, 1), (149006, 3), (149007, 1), (149014, 1), (149015, 1), (149019, 2), (149021, 1), (149023, 1), (149029, 1), (149030, 3), (149033, 2), (149037, 1), (149038, 1), (149039, 1), (149041, 2), (149042, 2), (149043, 2), (149045, 1), (149046, 3), (149047, 1), (149053, 1), (149054, 1), (149055, 1), (149057, 2), (149061, 1), (149062, 1), (149063, 3), (149066, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero746 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos746 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck746

#print axioms MonskyCheck746.sel_zero746
#print axioms MonskyCheck746.sel_pos746

bsd/MonskyCheck747.lean

lean_all/bsd/MonskyCheck747.lean

/-
  bsd/MonskyCheck747.lean — T39 cycle 1678 (goal G846): Monsky's 2-Selmer matrix for squarefree 149201 ≤ n ≤ 149400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck747
open MonskyCheck

def zeroList : List Nat := [149209, 149210, 149217, 149241, 149243, 149251, 149258, 149259, 149266, 149267, 149291, 149298, 149299, 149306, 149313, 149315, 149321, 149322, 149323, 149329, 149330, 149331, 149338, 149339, 149345, 149354, 149361, 149363, 149371, 149378, 149385, 149386, 149387, 149394]
def posList : List (Nat × Nat) := [(149201, 2), (149203, 2), (149206, 1), (149207, 1), (149213, 1), (149214, 1), (149215, 1), (149218, 2), (149219, 2), (149222, 1), (149223, 1), (149226, 2), (149230, 1), (149231, 3), (149233, 2), (149234, 2), (149235, 2), (149237, 1), (149239, 1), (149242, 2), (149245, 1), (149246, 1), (149249, 2), (149253, 1), (149255, 1), (149257, 2), (149261, 1), (149262, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero747 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos747 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck747

#print axioms MonskyCheck747.sel_zero747
#print axioms MonskyCheck747.sel_pos747

bsd/MonskyCheck748.lean

lean_all/bsd/MonskyCheck748.lean

/-
  bsd/MonskyCheck748.lean — T39 cycle 1680 (goal G846): Monsky's 2-Selmer matrix for squarefree 149401 ≤ n ≤ 149600, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck748
open MonskyCheck

def zeroList : List Nat := [149402, 149411, 149419, 149433, 149434, 149442, 149443, 149457, 149459, 149465, 149466, 149467, 149473, 149474, 149482, 149483, 149491, 149498, 149505, 149513, 149514, 149523, 149529, 149530, 149531, 149538, 149539, 149554, 149555, 149563, 149570, 149577, 149579, 149586, 149593, 149594, 149595]
def posList : List (Nat × Nat) := [(149403, 2), (149405, 3), (149406, 3), (149407, 1), (149410, 2), (149414, 1), (149415, 1), (149417, 2), (149421, 1), (149422, 1), (149423, 1), (149426, 2), (149429, 1), (149430, 1), (149431, 3), (149437, 3), (149438, 1), (149439, 3), (149441, 2), (149446, 1), (149447, 3), (149449, 2), (149451, 2), (149453, 1), (149455, 1), (149458, 2), (149461, 1), (149462, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero748 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos748 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck748

#print axioms MonskyCheck748.sel_zero748
#print axioms MonskyCheck748.sel_pos748

bsd/MonskyCheck749.lean

lean_all/bsd/MonskyCheck749.lean

/-
  bsd/MonskyCheck749.lean — T39 cycle 1682 (goal G846): Monsky's 2-Selmer matrix for squarefree 149601 ≤ n ≤ 149800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck749
open MonskyCheck

def zeroList : List Nat := [149602, 149603, 149610, 149619, 149626, 149627, 149633, 149635, 149642, 149649, 149651, 149658, 149659, 149666, 149667, 149673, 149691, 149699, 149721, 149722, 149723, 149730, 149731, 149738, 149745, 149754, 149770, 149771, 149777, 149779, 149786]
def posList : List (Nat × Nat) := [(149601, 2), (149605, 3), (149606, 3), (149611, 2), (149613, 1), (149614, 1), (149615, 1), (149617, 2), (149618, 2), (149621, 3), (149622, 1), (149623, 1), (149629, 1), (149630, 1), (149631, 1), (149637, 3), (149638, 1), (149639, 1), (149641, 2), (149647, 3), (149653, 1), (149654, 1), (149655, 1), (149657, 2), (149662, 1), (149663, 1), (149665, 2), (149669, 3), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero749 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos749 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck749

#print axioms MonskyCheck749.sel_zero749
#print axioms MonskyCheck749.sel_pos749

bsd/MonskyCheck75.lean

lean_all/bsd/MonskyCheck75.lean

/-
  bsd/MonskyCheck75.lean — T39 cycle 419 (goal G134): Monsky's 2-Selmer matrix for squarefree 14801 ≤ n ≤ 15000, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck75
open MonskyCheck

def zeroList : List Nat := [14802, 14809, 14811, 14817, 14819, 14826, 14827, 14833, 14842, 14843, 14851, 14857, 14858, 14867, 14873, 14874, 14891, 14899, 14921, 14923, 14930, 14937, 14939, 14947, 14953, 14954, 14955, 14961, 14963, 14970, 14971, 14986, 14987, 14993]
def posList : List (Nat × Nat) := [(14803, 2), (14806, 1), (14807, 3), (14810, 2), (14813, 1), (14815, 1), (14818, 2), (14821, 1), (14822, 1), (14829, 1), (14830, 1), (14831, 1), (14834, 2), (14835, 2), (14837, 1), (14838, 3), (14839, 1), (14845, 3), (14846, 1), (14849, 2), (14853, 1), (14854, 1), (14855, 1), (14861, 1), (14862, 1), (14863, 3), (14865, 2), (14866, 2), (14869, 1), (14870, 1), (1487  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero75 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos75 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck75

#print axioms MonskyCheck75.sel_zero75
#print axioms MonskyCheck75.sel_pos75

bsd/MonskyCheck750.lean

lean_all/bsd/MonskyCheck750.lean

/-
  bsd/MonskyCheck750.lean — T39 cycle 1684 (goal G846): Monsky's 2-Selmer matrix for squarefree 149801 ≤ n ≤ 150000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck750
open MonskyCheck

def zeroList : List Nat := [149801, 149802, 149803, 149809, 149810, 149811, 149817, 149818, 149826, 149827, 149835, 149865, 149866, 149867, 149874, 149882, 149883, 149889, 149890, 149897, 149898, 149899, 149905, 149907, 149915, 149930, 149938, 149939, 149955, 149970, 149971, 149986]
def posList : List (Nat × Nat) := [(149806, 1), (149807, 3), (149813, 3), (149819, 2), (149821, 1), (149822, 1), (149829, 1), (149830, 1), (149831, 1), (149833, 2), (149834, 2), (149837, 1), (149838, 1), (149839, 1), (149843, 2), (149845, 1), (149846, 1), (149847, 1), (149849, 2), (149851, 2), (149853, 1), (149854, 1), (149855, 1), (149857, 2), (149858, 2), (149861, 1), (149862, 1), (149863, 3), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero750 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos750 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck750

#print axioms MonskyCheck750.sel_zero750
#print axioms MonskyCheck750.sel_pos750

bsd/MonskyCheck751.lean

lean_all/bsd/MonskyCheck751.lean

/-
  bsd/MonskyCheck751.lean — T39 cycle 1686 (goal G847): Monsky's 2-Selmer matrix for squarefree 150001 ≤ n ≤ 150200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck751
open MonskyCheck

def zeroList : List Nat := [150002, 150011, 150026, 150027, 150042, 150051, 150058, 150067, 150073, 150074, 150081, 150083, 150090, 150091, 150098, 150099, 150105, 150106, 150107, 150113, 150114, 150115, 150121, 150122, 150123, 150130, 150131, 150146, 150153, 150163, 150170, 150171, 150177, 150187, 150194, 150195]
def posList : List (Nat × Nat) := [(150001, 2), (150005, 1), (150006, 1), (150007, 3), (150009, 2), (150010, 2), (150013, 1), (150014, 1), (150015, 1), (150017, 2), (150018, 2), (150019, 2), (150022, 1), (150023, 3), (150029, 1), (150031, 1), (150033, 2), (150034, 2), (150035, 2), (150037, 1), (150041, 2), (150043, 2), (150045, 1), (150046, 1), (150047, 1), (150049, 2), (150053, 1), (150054, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero751 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos751 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck751

#print axioms MonskyCheck751.sel_zero751
#print axioms MonskyCheck751.sel_pos751

bsd/MonskyCheck752.lean

lean_all/bsd/MonskyCheck752.lean

/-
  bsd/MonskyCheck752.lean — T39 cycle 1688 (goal G847): Monsky's 2-Selmer matrix for squarefree 150201 ≤ n ≤ 150400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck752
open MonskyCheck

def zeroList : List Nat := [150203, 150211, 150218, 150227, 150233, 150235, 150242, 150243, 150251, 150257, 150258, 150266, 150274, 150281, 150298, 150299, 150305, 150306, 150313, 150323, 150330, 150331, 150337, 150347, 150362, 150369, 150378, 150379, 150385, 150387, 150393, 150394, 150395]
def posList : List (Nat × Nat) := [(150202, 2), (150205, 1), (150206, 1), (150207, 1), (150209, 2), (150213, 1), (150214, 1), (150215, 3), (150217, 2), (150221, 1), (150222, 1), (150223, 1), (150226, 2), (150229, 1), (150230, 1), (150231, 1), (150238, 1), (150239, 1), (150245, 3), (150247, 1), (150249, 2), (150253, 3), (150254, 1), (150259, 2), (150261, 1), (150262, 1), (150263, 3), (150265, 4), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero752 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos752 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck752

#print axioms MonskyCheck752.sel_zero752
#print axioms MonskyCheck752.sel_pos752

bsd/MonskyCheck753.lean

lean_all/bsd/MonskyCheck753.lean

/-
  bsd/MonskyCheck753.lean — T39 cycle 1690 (goal G847): Monsky's 2-Selmer matrix for squarefree 150401 ≤ n ≤ 150600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck753
open MonskyCheck

def zeroList : List Nat := [150402, 150419, 150427, 150441, 150449, 150451, 150457, 150459, 150467, 150474, 150482, 150490, 150491, 150506, 150513, 150514, 150515, 150522, 150523, 150530, 150531, 150538, 150554, 150555, 150562, 150563, 150571, 150587, 150594]
def posList : List (Nat × Nat) := [(150401, 2), (150405, 1), (150406, 1), (150407, 1), (150409, 2), (150411, 2), (150413, 1), (150414, 1), (150415, 3), (150418, 2), (150421, 1), (150422, 1), (150423, 1), (150429, 1), (150431, 1), (150433, 4), (150434, 2), (150437, 1), (150438, 1), (150439, 1), (150442, 2), (150443, 2), (150445, 3), (150446, 1), (150447, 3), (150454, 1), (150455, 1), (150458, 4), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero753 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos753 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck753

#print axioms MonskyCheck753.sel_zero753
#print axioms MonskyCheck753.sel_pos753

bsd/MonskyCheck754.lean

lean_all/bsd/MonskyCheck754.lean

/-
  bsd/MonskyCheck754.lean — T39 cycle 1692 (goal G847): Monsky's 2-Selmer matrix for squarefree 150601 ≤ n ≤ 150800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck754
open MonskyCheck

def zeroList : List Nat := [150601, 150603, 150609, 150610, 150611, 150618, 150619, 150627, 150634, 150635, 150657, 150659, 150666, 150667, 150681, 150689, 150698, 150707, 150722, 150729, 150730, 150731, 150737, 150738, 150739, 150763, 150770, 150771, 150778, 150779, 150787, 150794]
def posList : List (Nat × Nat) := [(150602, 2), (150605, 1), (150607, 1), (150613, 1), (150614, 1), (150617, 2), (150621, 1), (150622, 1), (150623, 1), (150629, 1), (150630, 1), (150631, 1), (150637, 3), (150638, 1), (150639, 3), (150641, 4), (150643, 2), (150646, 1), (150647, 1), (150649, 2), (150653, 1), (150654, 1), (150655, 3), (150658, 2), (150661, 1), (150662, 1), (150663, 1), (150665, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero754 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos754 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck754

#print axioms MonskyCheck754.sel_zero754
#print axioms MonskyCheck754.sel_pos754

bsd/MonskyCheck755.lean

lean_all/bsd/MonskyCheck755.lean

/-
  bsd/MonskyCheck755.lean — T39 cycle 1694 (goal G847): Monsky's 2-Selmer matrix for squarefree 150801 ≤ n ≤ 151000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck755
open MonskyCheck

def zeroList : List Nat := [150801, 150803, 150810, 150817, 150819, 150827, 150835, 150843, 150851, 150865, 150873, 150874, 150882, 150883, 150891, 150906, 150907, 150914, 150915, 150945, 150947, 150953, 150954, 150963, 150970, 150977, 150978, 150979]
def posList : List (Nat × Nat) := [(150802, 2), (150805, 3), (150806, 1), (150807, 1), (150809, 2), (150811, 2), (150814, 1), (150815, 1), (150818, 2), (150821, 1), (150823, 1), (150826, 2), (150829, 1), (150830, 1), (150833, 2), (150834, 2), (150837, 1), (150838, 1), (150839, 1), (150841, 2), (150842, 2), (150845, 3), (150846, 1), (150847, 1), (150853, 1), (150854, 3), (150855, 1), (150857, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero755 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos755 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck755

#print axioms MonskyCheck755.sel_zero755
#print axioms MonskyCheck755.sel_pos755

bsd/MonskyCheck756.lean

lean_all/bsd/MonskyCheck756.lean

/-
  bsd/MonskyCheck756.lean — T39 cycle 1696 (goal G847): Monsky's 2-Selmer matrix for squarefree 151001 ≤ n ≤ 151200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck756
open MonskyCheck

def zeroList : List Nat := [151003, 151010, 151017, 151026, 151027, 151034, 151041, 151051, 151059, 151066, 151082, 151089, 151091, 151098, 151099, 151105, 151107, 151114, 151115, 151122, 151138, 151139, 151161, 151163, 151171, 151178, 151179, 151194]
def posList : List (Nat × Nat) := [(151001, 2), (151005, 1), (151006, 1), (151007, 1), (151009, 2), (151013, 1), (151014, 1), (151015, 1), (151019, 2), (151021, 1), (151022, 1), (151023, 1), (151030, 1), (151031, 1), (151033, 2), (151035, 2), (151037, 3), (151039, 1), (151042, 2), (151043, 2), (151045, 1), (151046, 1), (151049, 2), (151053, 1), (151054, 1), (151055, 1), (151057, 2), (151058, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero756 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos756 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck756

#print axioms MonskyCheck756.sel_zero756
#print axioms MonskyCheck756.sel_pos756

bsd/MonskyCheck757.lean

lean_all/bsd/MonskyCheck757.lean

/-
  bsd/MonskyCheck757.lean — T39 cycle 1698 (goal G847): Monsky's 2-Selmer matrix for squarefree 151201 ≤ n ≤ 151400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck757
open MonskyCheck

def zeroList : List Nat := [151202, 151219, 151226, 151233, 151243, 151251, 151258, 151266, 151283, 151297, 151298, 151306, 151314, 151315, 151323, 151329, 151330, 151338, 151339, 151346, 151354, 151370, 151377, 151379, 151393, 151394, 151395]
def posList : List (Nat × Nat) := [(151201, 2), (151203, 2), (151205, 3), (151206, 1), (151207, 1), (151210, 2), (151211, 2), (151213, 1), (151215, 3), (151217, 2), (151221, 1), (151222, 1), (151223, 1), (151229, 1), (151231, 1), (151234, 2), (151235, 2), (151237, 1), (151238, 1), (151239, 1), (151241, 2), (151242, 2), (151246, 1), (151247, 1), (151249, 2), (151253, 1), (151257, 2), (151261, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero757 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos757 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck757

#print axioms MonskyCheck757.sel_zero757
#print axioms MonskyCheck757.sel_pos757

bsd/MonskyCheck758.lean

lean_all/bsd/MonskyCheck758.lean

/-
  bsd/MonskyCheck758.lean — T39 cycle 1700 (goal G847): Monsky's 2-Selmer matrix for squarefree 151401 ≤ n ≤ 151600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck758
open MonskyCheck

def zeroList : List Nat := [151402, 151411, 151418, 151419, 151426, 151427, 151449, 151451, 151458, 151473, 151474, 151481, 151483, 151489, 151490, 151498, 151499, 151507, 151514, 151521, 151523, 151531, 151539, 151545, 151546, 151555, 151562, 151563, 151579, 151585, 151594]
def posList : List (Nat × Nat) := [(151401, 2), (151403, 2), (151405, 1), (151406, 1), (151409, 2), (151413, 1), (151414, 1), (151415, 1), (151417, 2), (151421, 1), (151422, 1), (151423, 1), (151429, 1), (151430, 1), (151431, 1), (151433, 2), (151435, 2), (151437, 1), (151438, 1), (151439, 1), (151441, 2), (151442, 2), (151445, 1), (151446, 1), (151447, 1), (151453, 3), (151454, 3), (151455, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero758 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos758 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck758

#print axioms MonskyCheck758.sel_zero758
#print axioms MonskyCheck758.sel_pos758

bsd/MonskyCheck759.lean

lean_all/bsd/MonskyCheck759.lean

/-
  bsd/MonskyCheck759.lean — T39 cycle 1702 (goal G847): Monsky's 2-Selmer matrix for squarefree 151601 ≤ n ≤ 151800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck759
open MonskyCheck

def zeroList : List Nat := [151602, 151603, 151617, 151619, 151626, 151627, 151635, 151642, 151643, 151649, 151651, 151658, 151667, 151682, 151690, 151697, 151699, 151706, 151723, 151730, 151737, 151738, 151746, 151747, 151754, 151761, 151763, 151770, 151771, 151778, 151787, 151795]
def posList : List (Nat × Nat) := [(151601, 2), (151607, 1), (151609, 2), (151610, 2), (151611, 2), (151615, 1), (151621, 1), (151622, 1), (151629, 1), (151630, 1), (151631, 1), (151633, 2), (151634, 2), (151637, 1), (151638, 1), (151639, 1), (151645, 1), (151646, 3), (151647, 1), (151653, 1), (151654, 1), (151657, 2), (151661, 1), (151662, 1), (151663, 1), (151665, 2), (151666, 2), (151669, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero759 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos759 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck759

#print axioms MonskyCheck759.sel_zero759
#print axioms MonskyCheck759.sel_pos759

bsd/MonskyCheck76.lean

lean_all/bsd/MonskyCheck76.lean

/-
  bsd/MonskyCheck76.lean — T39 cycle 420 (goal G135): Monsky's 2-Selmer matrix for squarefree 15001 ≤ n ≤ 15200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck76
open MonskyCheck

def zeroList : List Nat := [15002, 15009, 15018, 15026, 15027, 15033, 15034, 15042, 15051, 15065, 15081, 15082, 15083, 15090, 15091, 15098, 15107, 15114, 15115, 15131, 15139, 15146, 15153, 15155, 15177, 15178, 15186, 15187, 15195]
def posList : List (Nat × Nat) := [(15001, 2), (15005, 3), (15006, 1), (15007, 1), (15010, 2), (15011, 2), (15013, 1), (15014, 1), (15015, 1), (15017, 2), (15019, 2), (15022, 1), (15023, 1), (15029, 1), (15031, 1), (15035, 2), (15037, 1), (15038, 1), (15045, 1), (15046, 1), (15047, 3), (15049, 2), (15053, 1), (15054, 1), (15055, 1), (15058, 2), (15061, 1), (15062, 3), (15063, 1), (15067, 2), (1506  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero76 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos76 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck76

#print axioms MonskyCheck76.sel_zero76
#print axioms MonskyCheck76.sel_pos76

bsd/MonskyCheck760.lean

lean_all/bsd/MonskyCheck760.lean

/-
  bsd/MonskyCheck760.lean — T39 cycle 1704 (goal G847): Monsky's 2-Selmer matrix for squarefree 151801 ≤ n ≤ 152000, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck760
open MonskyCheck

def zeroList : List Nat := [151809, 151818, 151833, 151834, 151835, 151842, 151843, 151859, 151865, 151867, 151881, 151882, 151883, 151889, 151890, 151891, 151898, 151899, 151905, 151914, 151915, 151921, 151922, 151923, 151930, 151939, 151946, 151953, 151954, 151962, 151963, 151977, 151978, 151987, 151994, 151995]
def posList : List (Nat × Nat) := [(151801, 2), (151805, 1), (151806, 1), (151807, 1), (151810, 2), (151811, 2), (151813, 1), (151814, 1), (151815, 1), (151817, 2), (151819, 2), (151822, 1), (151826, 2), (151827, 2), (151829, 1), (151831, 1), (151837, 1), (151841, 2), (151845, 1), (151846, 1), (151847, 1), (151849, 2), (151853, 1), (151854, 1), (151858, 2), (151861, 3), (151862, 1), (151863, 1), (  -- (+713 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero760 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos760 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck760

#print axioms MonskyCheck760.sel_zero760
#print axioms MonskyCheck760.sel_pos760

bsd/MonskyCheck761.lean

lean_all/bsd/MonskyCheck761.lean

/-
  bsd/MonskyCheck761.lean — T39 cycle 1706 (goal G848): Monsky's 2-Selmer matrix for squarefree 152001 ≤ n ≤ 152200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck761
open MonskyCheck

def zeroList : List Nat := [152003, 152011, 152018, 152027, 152034, 152042, 152049, 152057, 152059, 152066, 152067, 152083, 152090, 152099, 152114, 152121, 152123, 152130, 152131, 152138, 152139, 152147, 152161, 152169, 152170, 152171, 152177, 152178, 152179, 152185, 152187, 152193]
def posList : List (Nat × Nat) := [(152002, 2), (152005, 1), (152006, 1), (152007, 1), (152009, 2), (152013, 1), (152015, 1), (152017, 2), (152021, 1), (152022, 1), (152023, 1), (152026, 2), (152029, 1), (152030, 1), (152031, 1), (152033, 2), (152035, 2), (152038, 3), (152039, 1), (152041, 2), (152043, 2), (152045, 1), (152051, 2), (152053, 1), (152054, 1), (152058, 2), (152061, 1), (152062, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero761 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos761 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck761

#print axioms MonskyCheck761.sel_zero761
#print axioms MonskyCheck761.sel_pos761

bsd/MonskyCheck762.lean

lean_all/bsd/MonskyCheck762.lean

/-
  bsd/MonskyCheck762.lean — T39 cycle 1708 (goal G848): Monsky's 2-Selmer matrix for squarefree 152201 ≤ n ≤ 152400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck762
open MonskyCheck

def zeroList : List Nat := [152203, 152209, 152210, 152211, 152219, 152227, 152242, 152259, 152266, 152267, 152273, 152274, 152282, 152305, 152314, 152322, 152323, 152329, 152330, 152331, 152338, 152347, 152353, 152362, 152363, 152378, 152386, 152387, 152394]
def posList : List (Nat × Nat) := [(152201, 2), (152202, 2), (152205, 1), (152206, 1), (152207, 3), (152213, 1), (152214, 3), (152215, 1), (152222, 1), (152223, 1), (152229, 1), (152230, 1), (152231, 1), (152233, 2), (152234, 2), (152237, 1), (152238, 1), (152239, 1), (152241, 2), (152245, 3), (152246, 1), (152247, 1), (152249, 2), (152251, 2), (152254, 1), (152255, 1), (152257, 2), (152258, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero762 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos762 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck762

#print axioms MonskyCheck762.sel_zero762
#print axioms MonskyCheck762.sel_pos762

bsd/MonskyCheck763.lean

lean_all/bsd/MonskyCheck763.lean

/-
  bsd/MonskyCheck763.lean — T39 cycle 1710 (goal G848): Monsky's 2-Selmer matrix for squarefree 152401 ≤ n ≤ 152600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck763
open MonskyCheck

def zeroList : List Nat := [152402, 152409, 152411, 152419, 152426, 152443, 152449, 152459, 152466, 152474, 152490, 152491, 152506, 152507, 152515, 152521, 152522, 152529, 152530, 152531, 152538, 152539, 152547, 152555, 152563, 152570, 152594]
def posList : List (Nat × Nat) := [(152401, 4), (152403, 2), (152405, 1), (152407, 1), (152410, 2), (152413, 3), (152414, 1), (152417, 2), (152418, 2), (152422, 1), (152423, 1), (152427, 2), (152429, 1), (152430, 1), (152431, 3), (152434, 2), (152435, 2), (152437, 1), (152441, 2), (152445, 1), (152446, 3), (152447, 1), (152453, 1), (152454, 1), (152455, 1), (152457, 2), (152458, 2), (152461, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero763 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos763 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck763

#print axioms MonskyCheck763.sel_zero763
#print axioms MonskyCheck763.sel_pos763

bsd/MonskyCheck764.lean

lean_all/bsd/MonskyCheck764.lean

/-
  bsd/MonskyCheck764.lean — T39 cycle 1712 (goal G848): Monsky's 2-Selmer matrix for squarefree 152601 ≤ n ≤ 152800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck764
open MonskyCheck

def zeroList : List Nat := [152601, 152603, 152610, 152619, 152643, 152665, 152666, 152673, 152682, 152683, 152689, 152690, 152697, 152699, 152705, 152707, 152713, 152715, 152722, 152723, 152731, 152737, 152746, 152754, 152755, 152761, 152762, 152769, 152770, 152779, 152794]
def posList : List (Nat × Nat) := [(152602, 2), (152605, 1), (152606, 1), (152609, 4), (152611, 2), (152614, 1), (152615, 1), (152617, 2), (152618, 2), (152621, 1), (152623, 1), (152627, 2), (152629, 1), (152630, 1), (152633, 2), (152634, 2), (152637, 1), (152638, 1), (152639, 1), (152641, 2), (152642, 2), (152645, 3), (152646, 1), (152647, 1), (152651, 2), (152653, 3), (152654, 1), (152655, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero764 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos764 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck764

#print axioms MonskyCheck764.sel_zero764
#print axioms MonskyCheck764.sel_pos764

bsd/MonskyCheck765.lean

lean_all/bsd/MonskyCheck765.lean

/-
  bsd/MonskyCheck765.lean — T39 cycle 1714 (goal G848): Monsky's 2-Selmer matrix for squarefree 152801 ≤ n ≤ 153000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck765
open MonskyCheck

def zeroList : List Nat := [152801, 152803, 152810, 152818, 152819, 152826, 152827, 152834, 152835, 152841, 152842, 152843, 152851, 152858, 152866, 152867, 152891, 152899, 152906, 152907, 152913, 152914, 152922, 152931, 152938, 152939, 152947, 152961, 152963, 152977, 152979, 152985, 152986, 152987, 152995]
def posList : List (Nat × Nat) := [(152805, 1), (152806, 1), (152807, 3), (152809, 2), (152813, 3), (152814, 1), (152815, 1), (152817, 2), (152821, 1), (152822, 3), (152830, 1), (152833, 2), (152837, 1), (152839, 1), (152845, 1), (152846, 1), (152849, 2), (152853, 1), (152854, 1), (152855, 1), (152857, 2), (152859, 2), (152861, 1), (152862, 3), (152863, 1), (152869, 1), (152870, 1), (152871, 1), (  -- (+739 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero765 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos765 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck765

#print axioms MonskyCheck765.sel_zero765
#print axioms MonskyCheck765.sel_pos765

bsd/MonskyCheck766.lean

lean_all/bsd/MonskyCheck766.lean

/-
  bsd/MonskyCheck766.lean — T39 cycle 1716 (goal G848): Monsky's 2-Selmer matrix for squarefree 153001 ≤ n ≤ 153200, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck766
open MonskyCheck

def zeroList : List Nat := [153026, 153033, 153034, 153035, 153042, 153059, 153067, 153082, 153106, 153107, 153115, 153121, 153123, 153129, 153130, 153131, 153138, 153146, 153177, 153178, 153179, 153193, 153194]
def posList : List (Nat × Nat) := [(153001, 2), (153002, 2), (153003, 2), (153005, 3), (153006, 1), (153007, 1), (153010, 2), (153011, 2), (153013, 1), (153014, 1), (153017, 4), (153019, 2), (153021, 1), (153022, 1), (153023, 1), (153029, 1), (153030, 1), (153031, 3), (153037, 1), (153038, 1), (153039, 1), (153041, 2), (153043, 2), (153046, 1), (153047, 3), (153049, 2), (153051, 2), (153053, 3), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero766 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos766 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck766

#print axioms MonskyCheck766.sel_zero766
#print axioms MonskyCheck766.sel_pos766

bsd/MonskyCheck767.lean

lean_all/bsd/MonskyCheck767.lean

/-
  bsd/MonskyCheck767.lean — T39 cycle 1718 (goal G848): Monsky's 2-Selmer matrix for squarefree 153201 ≤ n ≤ 153400, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck767
open MonskyCheck

def zeroList : List Nat := [153201, 153203, 153209, 153210, 153211, 153218, 153219, 153226, 153241, 153242, 153259, 153266, 153273, 153274, 153322, 153323, 153329, 153345, 153354, 153361, 153362, 153371, 153379, 153386, 153393]
def posList : List (Nat × Nat) := [(153202, 2), (153205, 1), (153206, 1), (153213, 1), (153214, 1), (153215, 1), (153217, 2), (153221, 1), (153222, 3), (153227, 2), (153229, 1), (153230, 1), (153231, 1), (153233, 2), (153235, 2), (153237, 1), (153238, 3), (153239, 1), (153245, 3), (153246, 1), (153247, 1), (153249, 2), (153251, 2), (153253, 1), (153254, 1), (153255, 1), (153257, 2), (153258, 4), (  -- (+921 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero767 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos767 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck767

#print axioms MonskyCheck767.sel_zero767
#print axioms MonskyCheck767.sel_pos767

bsd/MonskyCheck768.lean

lean_all/bsd/MonskyCheck768.lean

/-
  bsd/MonskyCheck768.lean — T39 cycle 1720 (goal G848): Monsky's 2-Selmer matrix for squarefree 153401 ≤ n ≤ 153600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck768
open MonskyCheck

def zeroList : List Nat := [153401, 153402, 153411, 153427, 153434, 153443, 153466, 153474, 153482, 153483, 153490, 153497, 153499, 153514, 153515, 153523, 153538, 153545, 153547, 153553, 153555, 153561, 153562, 153563, 153570, 153571, 153578, 153593, 153595]
def posList : List (Nat × Nat) := [(153403, 2), (153406, 1), (153407, 1), (153409, 2), (153413, 3), (153415, 1), (153417, 2), (153418, 2), (153421, 1), (153422, 1), (153426, 2), (153429, 1), (153430, 1), (153431, 1), (153433, 2), (153435, 2), (153437, 1), (153438, 1), (153439, 3), (153442, 4), (153445, 3), (153446, 1), (153447, 1), (153449, 2), (153451, 2), (153453, 1), (153454, 3), (153455, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero768 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos768 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck768

#print axioms MonskyCheck768.sel_zero768
#print axioms MonskyCheck768.sel_pos768

bsd/MonskyCheck769.lean

lean_all/bsd/MonskyCheck769.lean

/-
  bsd/MonskyCheck769.lean — T39 cycle 1722 (goal G848): Monsky's 2-Selmer matrix for squarefree 153601 ≤ n ≤ 153800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck769
open MonskyCheck

def zeroList : List Nat := [153609, 153611, 153618, 153619, 153626, 153627, 153633, 153634, 153635, 153642, 153658, 153674, 153682, 153683, 153691, 153698, 153699, 153705, 153706, 153707, 153715, 153721, 153730, 153739, 153754, 153755, 153761, 153763, 153770, 153771, 153779, 153794, 153795]
def posList : List (Nat × Nat) := [(153601, 2), (153602, 2), (153605, 3), (153606, 1), (153607, 1), (153610, 2), (153613, 1), (153614, 1), (153617, 2), (153622, 1), (153623, 1), (153629, 1), (153631, 1), (153637, 1), (153638, 1), (153641, 2), (153643, 2), (153645, 1), (153646, 1), (153647, 1), (153649, 2), (153651, 2), (153653, 1), (153654, 3), (153655, 3), (153659, 2), (153661, 3), (153662, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero769 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos769 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck769

#print axioms MonskyCheck769.sel_zero769
#print axioms MonskyCheck769.sel_pos769

bsd/MonskyCheck77.lean

lean_all/bsd/MonskyCheck77.lean

/-
  bsd/MonskyCheck77.lean — T39 cycle 421 (goal G136): Monsky's 2-Selmer matrix for squarefree 15201 ≤ n ≤ 15400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck77
open MonskyCheck

def zeroList : List Nat := [15202, 15203, 15209, 15211, 15227, 15234, 15235, 15242, 15243, 15251, 15257, 15259, 15274, 15283, 15290, 15297, 15299, 15306, 15307, 15314, 15321, 15322, 15323, 15330, 15331, 15338, 15355, 15369, 15370, 15393, 15394]
def posList : List (Nat × Nat) := [(15205, 3), (15206, 1), (15207, 1), (15213, 1), (15214, 1), (15215, 1), (15217, 2), (15218, 2), (15221, 1), (15222, 3), (15223, 1), (15226, 2), (15229, 1), (15230, 1), (15231, 1), (15233, 2), (15238, 1), (15241, 2), (15245, 3), (15247, 1), (15249, 2), (15253, 1), (15254, 1), (15258, 2), (15261, 1), (15262, 1), (15263, 1), (15265, 2), (15266, 2), (15267, 2), (1526  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero77 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos77 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck77

#print axioms MonskyCheck77.sel_zero77
#print axioms MonskyCheck77.sel_pos77

bsd/MonskyCheck770.lean

lean_all/bsd/MonskyCheck770.lean

/-
  bsd/MonskyCheck770.lean — T39 cycle 1724 (goal G848): Monsky's 2-Selmer matrix for squarefree 153801 ≤ n ≤ 154000, by rfl.
  s₂(n) = 0 for 20 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 101 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck770
open MonskyCheck

def zeroList : List Nat := [153827, 153834, 153842, 153849, 153851, 153857, 153858, 153859, 153867, 153883, 153898, 153906, 153921, 153931, 153938, 153946, 153947, 153971, 153979, 153987]
def posList : List (Nat × Nat) := [(153802, 2), (153803, 2), (153805, 1), (153806, 1), (153807, 1), (153809, 2), (153813, 1), (153814, 1), (153815, 1), (153817, 2), (153818, 2), (153821, 3), (153822, 1), (153823, 1), (153826, 2), (153829, 3), (153830, 1), (153831, 1), (153833, 2), (153835, 2), (153838, 1), (153839, 3), (153841, 2), (153843, 2), (153845, 3), (153847, 1), (153853, 1), (153854, 1), (  -- (+947 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero770 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos770 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck770

#print axioms MonskyCheck770.sel_zero770
#print axioms MonskyCheck770.sel_pos770

bsd/MonskyCheck771.lean

lean_all/bsd/MonskyCheck771.lean

/-
  bsd/MonskyCheck771.lean — T39 cycle 1726 (goal G851): Monsky's 2-Selmer matrix for squarefree 154001 ≤ n ≤ 154200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck771
open MonskyCheck

def zeroList : List Nat := [154002, 154011, 154018, 154019, 154027, 154041, 154042, 154043, 154058, 154059, 154066, 154067, 154090, 154091, 154099, 154106, 154114, 154115, 154121, 154130, 154131, 154138, 154139, 154155, 154163, 154171, 154186, 154187]
def posList : List (Nat × Nat) := [(154001, 2), (154003, 2), (154005, 1), (154006, 1), (154009, 2), (154010, 2), (154013, 3), (154014, 1), (154015, 1), (154021, 1), (154022, 3), (154023, 1), (154029, 1), (154030, 1), (154031, 1), (154034, 2), (154038, 1), (154039, 3), (154045, 3), (154046, 1), (154047, 1), (154049, 2), (154051, 2), (154054, 1), (154055, 1), (154057, 2), (154061, 1), (154063, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero771 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos771 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck771

#print axioms MonskyCheck771.sel_zero771
#print axioms MonskyCheck771.sel_pos771

bsd/MonskyCheck772.lean

lean_all/bsd/MonskyCheck772.lean

/-
  bsd/MonskyCheck772.lean — T39 cycle 1728 (goal G851): Monsky's 2-Selmer matrix for squarefree 154201 ≤ n ≤ 154400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck772
open MonskyCheck

def zeroList : List Nat := [154202, 154209, 154211, 154219, 154226, 154227, 154235, 154241, 154243, 154257, 154266, 154267, 154281, 154282, 154283, 154291, 154299, 154315, 154329, 154330, 154331, 154337, 154338, 154339, 154347, 154361, 154362, 154363, 154370, 154379, 154387]
def posList : List (Nat × Nat) := [(154201, 2), (154205, 3), (154207, 1), (154210, 2), (154213, 1), (154214, 3), (154217, 2), (154218, 2), (154221, 1), (154222, 1), (154223, 1), (154229, 1), (154230, 1), (154231, 1), (154234, 2), (154237, 3), (154238, 3), (154239, 1), (154245, 1), (154246, 3), (154247, 1), (154249, 4), (154253, 1), (154254, 1), (154255, 1), (154258, 2), (154259, 2), (154261, 3), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero772 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos772 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck772

#print axioms MonskyCheck772.sel_zero772
#print axioms MonskyCheck772.sel_pos772

bsd/MonskyCheck773.lean

lean_all/bsd/MonskyCheck773.lean

/-
  bsd/MonskyCheck773.lean — T39 cycle 1730 (goal G851): Monsky's 2-Selmer matrix for squarefree 154401 ≤ n ≤ 154600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck773
open MonskyCheck

def zeroList : List Nat := [154410, 154418, 154419, 154426, 154427, 154434, 154442, 154451, 154459, 154474, 154482, 154506, 154507, 154515, 154522, 154523, 154531, 154538, 154545, 154554, 154561, 154562, 154563, 154569, 154570, 154571, 154577, 154578, 154579, 154586, 154594]
def posList : List (Nat × Nat) := [(154401, 2), (154402, 2), (154403, 2), (154405, 3), (154406, 1), (154407, 1), (154409, 2), (154411, 2), (154414, 1), (154415, 3), (154417, 2), (154421, 1), (154423, 1), (154429, 1), (154430, 1), (154433, 2), (154435, 2), (154437, 1), (154438, 1), (154439, 1), (154441, 2), (154443, 2), (154445, 1), (154446, 1), (154447, 3), (154454, 1), (154455, 1), (154457, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero773 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos773 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck773

#print axioms MonskyCheck773.sel_zero773
#print axioms MonskyCheck773.sel_pos773

bsd/MonskyCheck774.lean

lean_all/bsd/MonskyCheck774.lean

/-
  bsd/MonskyCheck774.lean — T39 cycle 1732 (goal G851): Monsky's 2-Selmer matrix for squarefree 154601 ≤ n ≤ 154800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck774
open MonskyCheck

def zeroList : List Nat := [154609, 154610, 154617, 154618, 154619, 154626, 154627, 154634, 154641, 154643, 154666, 154667, 154689, 154690, 154691, 154698, 154699, 154713, 154714, 154715, 154723, 154730, 154739, 154747, 154763, 154770, 154779, 154787, 154793, 154795]
def posList : List (Nat × Nat) := [(154601, 2), (154603, 2), (154605, 1), (154606, 3), (154607, 1), (154613, 1), (154614, 3), (154621, 1), (154622, 3), (154623, 1), (154631, 1), (154633, 2), (154637, 1), (154639, 1), (154642, 2), (154645, 1), (154646, 1), (154649, 2), (154651, 2), (154653, 1), (154654, 1), (154655, 1), (154657, 2), (154658, 2), (154659, 2), (154661, 1), (154662, 1), (154663, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero774 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos774 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck774

#print axioms MonskyCheck774.sel_zero774
#print axioms MonskyCheck774.sel_pos774

bsd/MonskyCheck775.lean

lean_all/bsd/MonskyCheck775.lean

/-
  bsd/MonskyCheck775.lean — T39 cycle 1734 (goal G851): Monsky's 2-Selmer matrix for squarefree 154801 ≤ n ≤ 155000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck775
open MonskyCheck

def zeroList : List Nat := [154801, 154802, 154803, 154810, 154819, 154826, 154833, 154842, 154851, 154859, 154865, 154866, 154883, 154905, 154906, 154907, 154913, 154914, 154915, 154922, 154923, 154930, 154931, 154939, 154945, 154946, 154947, 154954, 154955, 154961, 154970, 154977, 154979, 154985, 154995]
def posList : List (Nat × Nat) := [(154805, 1), (154806, 3), (154807, 1), (154811, 2), (154813, 1), (154814, 1), (154815, 3), (154817, 2), (154821, 1), (154822, 1), (154823, 1), (154829, 1), (154830, 1), (154831, 1), (154834, 2), (154835, 2), (154837, 1), (154838, 1), (154839, 1), (154841, 2), (154843, 2), (154846, 1), (154847, 1), (154849, 2), (154853, 1), (154855, 1), (154857, 2), (154858, 2), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero775 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos775 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck775

#print axioms MonskyCheck775.sel_zero775
#print axioms MonskyCheck775.sel_pos775

bsd/MonskyCheck776.lean

lean_all/bsd/MonskyCheck776.lean

/-
  bsd/MonskyCheck776.lean — T39 cycle 1736 (goal G851): Monsky's 2-Selmer matrix for squarefree 155001 ≤ n ≤ 155200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck776
open MonskyCheck

def zeroList : List Nat := [155003, 155018, 155027, 155041, 155049, 155051, 155058, 155059, 155073, 155083, 155089, 155090, 155091, 155098, 155105, 155107, 155114, 155121, 155131, 155139, 155145, 155146, 155147, 155155, 155171, 155177, 155179]
def posList : List (Nat × Nat) := [(155002, 2), (155005, 3), (155006, 3), (155009, 2), (155010, 2), (155011, 2), (155013, 1), (155014, 3), (155015, 1), (155017, 2), (155019, 2), (155021, 1), (155022, 1), (155023, 1), (155026, 2), (155029, 1), (155030, 1), (155031, 1), (155033, 2), (155035, 2), (155037, 1), (155038, 1), (155039, 1), (155042, 2), (155045, 1), (155046, 1), (155047, 1), (155053, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero776 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos776 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck776

#print axioms MonskyCheck776.sel_zero776
#print axioms MonskyCheck776.sel_pos776

bsd/MonskyCheck777.lean

lean_all/bsd/MonskyCheck777.lean

/-
  bsd/MonskyCheck777.lean — T39 cycle 1738 (goal G851): Monsky's 2-Selmer matrix for squarefree 155201 ≤ n ≤ 155400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck777
open MonskyCheck

def zeroList : List Nat := [155202, 155203, 155217, 155219, 155226, 155227, 155235, 155242, 155249, 155251, 155257, 155258, 155265, 155266, 155273, 155291, 155298, 155299, 155306, 155315, 155323, 155337, 155338, 155339, 155347, 155354, 155355, 155361, 155363, 155369, 155370, 155371, 155387]
def posList : List (Nat × Nat) := [(155201, 2), (155206, 1), (155207, 1), (155209, 2), (155210, 2), (155211, 2), (155213, 1), (155215, 3), (155218, 2), (155221, 3), (155222, 1), (155229, 1), (155231, 1), (155233, 2), (155234, 2), (155237, 1), (155238, 3), (155239, 1), (155245, 3), (155246, 1), (155247, 1), (155253, 3), (155254, 1), (155255, 1), (155261, 3), (155262, 1), (155263, 1), (155267, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero777 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos777 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck777

#print axioms MonskyCheck777.sel_zero777
#print axioms MonskyCheck777.sel_pos777

bsd/MonskyCheck778.lean

lean_all/bsd/MonskyCheck778.lean

/-
  bsd/MonskyCheck778.lean — T39 cycle 1740 (goal G851): Monsky's 2-Selmer matrix for squarefree 155401 ≤ n ≤ 155600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck778
open MonskyCheck

def zeroList : List Nat := [155401, 155402, 155409, 155410, 155418, 155427, 155433, 155434, 155435, 155441, 155443, 155458, 155459, 155465, 155481, 155483, 155491, 155497, 155499, 155505, 155506, 155515, 155531, 155539, 155546, 155555, 155563, 155570, 155571, 155577, 155578, 155579, 155586, 155594, 155595]
def posList : List (Nat × Nat) := [(155405, 3), (155406, 1), (155411, 4), (155413, 1), (155414, 1), (155415, 1), (155417, 4), (155419, 2), (155422, 1), (155423, 1), (155426, 2), (155429, 1), (155431, 3), (155437, 1), (155438, 1), (155442, 2), (155445, 1), (155446, 1), (155447, 3), (155449, 2), (155451, 2), (155453, 1), (155454, 3), (155455, 1), (155461, 1), (155462, 1), (155463, 1), (155467, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero778 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos778 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck778

#print axioms MonskyCheck778.sel_zero778
#print axioms MonskyCheck778.sel_pos778

bsd/MonskyCheck779.lean

lean_all/bsd/MonskyCheck779.lean

/-
  bsd/MonskyCheck779.lean — T39 cycle 1742 (goal G851): Monsky's 2-Selmer matrix for squarefree 155601 ≤ n ≤ 155800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck779
open MonskyCheck

def zeroList : List Nat := [155611, 155626, 155627, 155634, 155635, 155642, 155651, 155667, 155683, 155697, 155699, 155706, 155707, 155715, 155721, 155723, 155731, 155746, 155747, 155762, 155769, 155785, 155786, 155787, 155794]
def posList : List (Nat × Nat) := [(155602, 2), (155603, 2), (155605, 3), (155607, 1), (155609, 2), (155613, 1), (155614, 1), (155615, 1), (155617, 2), (155618, 2), (155621, 1), (155622, 1), (155623, 1), (155629, 1), (155630, 1), (155631, 1), (155633, 2), (155638, 1), (155639, 1), (155641, 2), (155643, 2), (155645, 1), (155647, 1), (155653, 1), (155654, 1), (155657, 2), (155658, 2), (155659, 2), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero779 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos779 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck779

#print axioms MonskyCheck779.sel_zero779
#print axioms MonskyCheck779.sel_pos779

bsd/MonskyCheck78.lean

lean_all/bsd/MonskyCheck78.lean

/-
  bsd/MonskyCheck78.lean — T39 cycle 422 (goal G137): Monsky's 2-Selmer matrix for squarefree 15401 ≤ n ≤ 15600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck78
open MonskyCheck

def zeroList : List Nat := [15402, 15409, 15411, 15418, 15419, 15427, 15433, 15434, 15441, 15443, 15451, 15458, 15459, 15466, 15467, 15474, 15482, 15490, 15505, 15513, 15514, 15521, 15522, 15530, 15537, 15554, 15555, 15562, 15563, 15571, 15578, 15587, 15594]
def posList : List (Nat × Nat) := [(15401, 2), (15403, 2), (15405, 1), (15406, 1), (15407, 3), (15410, 2), (15413, 1), (15414, 1), (15415, 1), (15421, 1), (15422, 1), (15423, 3), (15429, 1), (15430, 1), (15431, 1), (15437, 1), (15438, 1), (15439, 1), (15442, 2), (15445, 3), (15446, 1), (15447, 1), (15449, 2), (15454, 1), (15455, 1), (15457, 2), (15461, 1), (15465, 2), (15469, 1), (15470, 1), (1547  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero78 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos78 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck78

#print axioms MonskyCheck78.sel_zero78
#print axioms MonskyCheck78.sel_pos78

bsd/MonskyCheck780.lean

lean_all/bsd/MonskyCheck780.lean

/-
  bsd/MonskyCheck780.lean — T39 cycle 1744 (goal G851): Monsky's 2-Selmer matrix for squarefree 155801 ≤ n ≤ 156000, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck780
open MonskyCheck

def zeroList : List Nat := [155810, 155819, 155842, 155843, 155851, 155857, 155859, 155866, 155867, 155881, 155882, 155883, 155891, 155913, 155914, 155915, 155922, 155929, 155931, 155939, 155962, 155963, 155994, 155995]
def posList : List (Nat × Nat) := [(155801, 2), (155802, 4), (155803, 2), (155805, 1), (155806, 3), (155807, 1), (155809, 2), (155811, 2), (155813, 1), (155814, 3), (155815, 1), (155821, 1), (155822, 1), (155823, 1), (155827, 2), (155829, 1), (155830, 1), (155831, 1), (155833, 2), (155834, 2), (155837, 1), (155838, 1), (155839, 3), (155841, 2), (155845, 3), (155846, 1), (155847, 1), (155849, 2), (  -- (+921 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero780 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos780 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck780

#print axioms MonskyCheck780.sel_zero780
#print axioms MonskyCheck780.sel_pos780

bsd/MonskyCheck781.lean

lean_all/bsd/MonskyCheck781.lean

/-
  bsd/MonskyCheck781.lean — T39 cycle 1786 (goal G855): Monsky's 2-Selmer matrix for squarefree 156001 ≤ n ≤ 156200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck781
open MonskyCheck

def zeroList : List Nat := [156002, 156003, 156009, 156011, 156018, 156019, 156035, 156057, 156058, 156059, 156067, 156074, 156081, 156083, 156091, 156097, 156106, 156107, 156113, 156115, 156122, 156129, 156130, 156131, 156138, 156139, 156146, 156153, 156161, 156162, 156179, 156187, 156194]
def posList : List (Nat × Nat) := [(156001, 2), (156005, 5), (156007, 1), (156010, 2), (156013, 1), (156014, 1), (156017, 2), (156021, 1), (156022, 1), (156023, 3), (156026, 2), (156027, 2), (156029, 3), (156030, 1), (156031, 3), (156034, 2), (156037, 1), (156038, 1), (156039, 1), (156041, 2), (156043, 2), (156045, 1), (156046, 1), (156047, 1), (156049, 2), (156053, 3), (156054, 1), (156061, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero781 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos781 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck781

#print axioms MonskyCheck781.sel_zero781
#print axioms MonskyCheck781.sel_pos781

bsd/MonskyCheck782.lean

lean_all/bsd/MonskyCheck782.lean

/-
  bsd/MonskyCheck782.lean — T39 cycle 1788 (goal G855): Monsky's 2-Selmer matrix for squarefree 156201 ≤ n ≤ 156400, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck782
open MonskyCheck

def zeroList : List Nat := [156201, 156202, 156218, 156219, 156227, 156233, 156234, 156235, 156259, 156283, 156289, 156290, 156291, 156298, 156305, 156307, 156314, 156315, 156345, 156346, 156347, 156363, 156371, 156378, 156379, 156394]
def posList : List (Nat × Nat) := [(156203, 2), (156205, 1), (156206, 1), (156207, 1), (156209, 2), (156210, 2), (156214, 1), (156215, 3), (156217, 2), (156221, 3), (156223, 1), (156226, 2), (156229, 1), (156230, 1), (156237, 1), (156238, 3), (156239, 3), (156241, 2), (156242, 2), (156243, 2), (156245, 3), (156246, 3), (156247, 1), (156251, 2), (156253, 1), (156254, 1), (156255, 1), (156257, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero782 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos782 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck782

#print axioms MonskyCheck782.sel_zero782
#print axioms MonskyCheck782.sel_pos782

bsd/MonskyCheck783.lean

lean_all/bsd/MonskyCheck783.lean

/-
  bsd/MonskyCheck783.lean — T39 cycle 1790 (goal G855): Monsky's 2-Selmer matrix for squarefree 156401 ≤ n ≤ 156600, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck783
open MonskyCheck

def zeroList : List Nat := [156409, 156418, 156419, 156434, 156441, 156443, 156451, 156458, 156467, 156489, 156491, 156498, 156499, 156514, 156522, 156523, 156539, 156547, 156554, 156561, 156570, 156579, 156586, 156587, 156594]
def posList : List (Nat × Nat) := [(156401, 2), (156403, 2), (156405, 1), (156406, 1), (156407, 1), (156410, 2), (156413, 1), (156414, 1), (156415, 1), (156417, 2), (156421, 1), (156422, 1), (156423, 1), (156427, 2), (156430, 1), (156431, 1), (156433, 2), (156435, 2), (156437, 1), (156439, 1), (156442, 2), (156445, 1), (156446, 1), (156449, 2), (156454, 1), (156455, 1), (156459, 2), (156461, 3), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero783 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos783 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck783

#print axioms MonskyCheck783.sel_zero783
#print axioms MonskyCheck783.sel_pos783

bsd/MonskyCheck784.lean

lean_all/bsd/MonskyCheck784.lean

/-
  bsd/MonskyCheck784.lean — T39 cycle 1792 (goal G855): Monsky's 2-Selmer matrix for squarefree 156601 ≤ n ≤ 156800, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 82 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck784
open MonskyCheck

def zeroList : List Nat := [156602, 156610, 156611, 156617, 156619, 156634, 156635, 156642, 156649, 156651, 156657, 156658, 156659, 156673, 156682, 156683, 156691, 156698, 156705, 156707, 156713, 156714, 156715, 156729, 156731, 156738, 156745, 156746, 156754, 156755, 156761, 156763, 156770, 156777, 156778, 156786, 156793, 156795]
def posList : List (Nat × Nat) := [(156601, 2), (156603, 2), (156605, 3), (156606, 1), (156607, 1), (156613, 1), (156614, 1), (156615, 3), (156621, 1), (156622, 1), (156623, 1), (156626, 2), (156629, 1), (156630, 1), (156631, 1), (156633, 2), (156637, 1), (156639, 1), (156641, 2), (156646, 1), (156647, 1), (156655, 1), (156661, 3), (156662, 3), (156665, 2), (156666, 2), (156667, 2), (156669, 1), (  -- (+700 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero784 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos784 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck784

#print axioms MonskyCheck784.sel_zero784
#print axioms MonskyCheck784.sel_pos784

bsd/MonskyCheck785.lean

lean_all/bsd/MonskyCheck785.lean

/-
  bsd/MonskyCheck785.lean — T39 cycle 1794 (goal G855): Monsky's 2-Selmer matrix for squarefree 156801 ≤ n ≤ 157000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck785
open MonskyCheck

def zeroList : List Nat := [156801, 156810, 156811, 156826, 156857, 156858, 156867, 156873, 156874, 156881, 156890, 156899, 156905, 156907, 156914, 156921, 156923, 156931, 156938, 156939, 156945, 156953, 156962, 156970, 156971, 156979, 156986, 156993, 156995]
def posList : List (Nat × Nat) := [(156802, 2), (156803, 2), (156805, 1), (156806, 1), (156809, 4), (156813, 1), (156814, 3), (156815, 3), (156817, 2), (156818, 4), (156819, 2), (156821, 1), (156822, 1), (156823, 1), (156827, 2), (156829, 1), (156830, 1), (156831, 1), (156833, 2), (156835, 2), (156837, 1), (156838, 3), (156841, 2), (156842, 2), (156845, 1), (156846, 1), (156847, 1), (156851, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero785 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos785 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck785

#print axioms MonskyCheck785.sel_zero785
#print axioms MonskyCheck785.sel_pos785

bsd/MonskyCheck786.lean

lean_all/bsd/MonskyCheck786.lean

/-
  bsd/MonskyCheck786.lean — T39 cycle 1838 (goal G855): Monsky's 2-Selmer matrix for squarefree 157001 ≤ n ≤ 157200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck786
open MonskyCheck

def zeroList : List Nat := [157002, 157011, 157018, 157019, 157026, 157027, 157034, 157043, 157051, 157067, 157073, 157074, 157082, 157083, 157089, 157090, 157114, 157130, 157137, 157139, 157147, 157155, 157161, 157162, 157163, 157178, 157187]
def posList : List (Nat × Nat) := [(157003, 2), (157006, 1), (157007, 1), (157009, 2), (157010, 2), (157013, 1), (157015, 1), (157017, 2), (157021, 1), (157022, 1), (157029, 1), (157030, 1), (157031, 1), (157033, 2), (157037, 1), (157038, 1), (157039, 1), (157042, 4), (157046, 1), (157047, 1), (157049, 2), (157053, 1), (157054, 1), (157055, 1), (157057, 2), (157061, 1), (157062, 1), (157063, 3), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero786 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos786 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck786

#print axioms MonskyCheck786.sel_zero786
#print axioms MonskyCheck786.sel_pos786

bsd/MonskyCheck787.lean

lean_all/bsd/MonskyCheck787.lean

/-
  bsd/MonskyCheck787.lean — T39 cycle 1840 (goal G855): Monsky's 2-Selmer matrix for squarefree 157201 ≤ n ≤ 157400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck787
open MonskyCheck

def zeroList : List Nat := [157201, 157202, 157211, 157218, 157219, 157226, 157227, 157234, 157235, 157243, 157249, 157258, 157259, 157282, 157283, 157291, 157299, 157305, 157306, 157307, 157315, 157322, 157330, 157331, 157337, 157362, 157363, 157370, 157371, 157377, 157378, 157379, 157386, 157387]
def posList : List (Nat × Nat) := [(157205, 1), (157206, 1), (157207, 1), (157209, 2), (157210, 2), (157213, 1), (157214, 1), (157215, 1), (157217, 2), (157222, 1), (157223, 1), (157229, 1), (157231, 1), (157233, 2), (157237, 1), (157238, 1), (157242, 4), (157245, 1), (157246, 1), (157247, 1), (157251, 2), (157253, 1), (157254, 3), (157255, 1), (157261, 1), (157262, 3), (157263, 1), (157265, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero787 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos787 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck787

#print axioms MonskyCheck787.sel_zero787
#print axioms MonskyCheck787.sel_pos787

bsd/MonskyCheck788.lean

lean_all/bsd/MonskyCheck788.lean

/-
  bsd/MonskyCheck788.lean — T39 cycle 1842 (goal G855): Monsky's 2-Selmer matrix for squarefree 157401 ≤ n ≤ 157600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck788
open MonskyCheck

def zeroList : List Nat := [157411, 157427, 157458, 157459, 157466, 157483, 157490, 157498, 157499, 157506, 157507, 157521, 157523, 157529, 157530, 157531, 157538, 157539, 157546, 157553, 157562, 157570, 157571, 157578, 157579, 157586, 157587, 157594, 157595]
def posList : List (Nat × Nat) := [(157402, 2), (157403, 2), (157405, 3), (157406, 1), (157407, 1), (157409, 2), (157413, 1), (157414, 1), (157415, 1), (157417, 2), (157418, 2), (157422, 1), (157423, 1), (157426, 2), (157429, 1), (157430, 1), (157431, 1), (157433, 2), (157434, 2), (157438, 3), (157439, 1), (157441, 2), (157442, 2), (157443, 2), (157445, 3), (157447, 3), (157449, 2), (157451, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero788 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos788 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck788

#print axioms MonskyCheck788.sel_zero788
#print axioms MonskyCheck788.sel_pos788

bsd/MonskyCheck789.lean

lean_all/bsd/MonskyCheck789.lean

/-
  bsd/MonskyCheck789.lean — T39 cycle 1844 (goal G855): Monsky's 2-Selmer matrix for squarefree 157601 ≤ n ≤ 157800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck789
open MonskyCheck

def zeroList : List Nat := [157602, 157603, 157611, 157619, 157627, 157634, 157643, 157659, 157665, 157667, 157674, 157681, 157699, 157706, 157713, 157715, 157722, 157723, 157729, 157730, 157737, 157738, 157739, 157745, 157747, 157754, 157755, 157762, 157771, 157786]
def posList : List (Nat × Nat) := [(157601, 2), (157605, 1), (157606, 1), (157607, 3), (157610, 2), (157613, 1), (157614, 1), (157615, 1), (157618, 2), (157621, 1), (157622, 1), (157623, 1), (157629, 1), (157630, 1), (157631, 1), (157637, 1), (157638, 1), (157639, 1), (157641, 4), (157645, 5), (157646, 1), (157647, 1), (157649, 2), (157651, 2), (157654, 1), (157655, 1), (157657, 2), (157658, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero789 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos789 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck789

#print axioms MonskyCheck789.sel_zero789
#print axioms MonskyCheck789.sel_pos789

bsd/MonskyCheck79.lean

lean_all/bsd/MonskyCheck79.lean

/-
  bsd/MonskyCheck79.lean — T39 cycle 423 (goal G138): Monsky's 2-Selmer matrix for squarefree 15601 ≤ n ≤ 15800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck79
open MonskyCheck

def zeroList : List Nat := [15602, 15603, 15611, 15618, 15619, 15643, 15657, 15658, 15666, 15667, 15681, 15683, 15690, 15691, 15697, 15706, 15713, 15722, 15731, 15739, 15745, 15754, 15755, 15779, 15787, 15794]
def posList : List (Nat × Nat) := [(15601, 2), (15605, 3), (15607, 1), (15610, 2), (15613, 1), (15614, 1), (15617, 2), (15621, 1), (15622, 1), (15623, 3), (15626, 2), (15627, 2), (15629, 1), (15630, 1), (15634, 2), (15635, 2), (15637, 1), (15638, 1), (15639, 1), (15641, 2), (15645, 1), (15646, 1), (15647, 1), (15649, 2), (15653, 1), (15654, 1), (15655, 3), (15659, 2), (15661, 1), (15662, 1), (1566  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero79 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos79 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck79

#print axioms MonskyCheck79.sel_zero79
#print axioms MonskyCheck79.sel_pos79

bsd/MonskyCheck790.lean

lean_all/bsd/MonskyCheck790.lean

/-
  bsd/MonskyCheck790.lean — T39 cycle 1846 (goal G855): Monsky's 2-Selmer matrix for squarefree 157801 ≤ n ≤ 158000, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck790
open MonskyCheck

def zeroList : List Nat := [157802, 157803, 157817, 157818, 157834, 157835, 157857, 157867, 157881, 157882, 157891, 157898, 157907, 157915, 157930, 157931, 157939, 157946, 157947, 157953, 157955, 157962, 157970, 157971, 157978, 157985, 157987]
def posList : List (Nat × Nat) := [(157801, 2), (157805, 1), (157807, 3), (157809, 2), (157810, 2), (157811, 2), (157813, 1), (157814, 3), (157819, 2), (157821, 1), (157822, 1), (157823, 1), (157826, 2), (157827, 2), (157830, 1), (157831, 1), (157837, 1), (157838, 1), (157839, 1), (157841, 2), (157843, 2), (157845, 1), (157847, 1), (157849, 2), (157853, 1), (157854, 1), (157855, 1), (157858, 2), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero790 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos790 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck790

#print axioms MonskyCheck790.sel_zero790
#print axioms MonskyCheck790.sel_pos790

bsd/MonskyCheck791.lean

lean_all/bsd/MonskyCheck791.lean

/-
  bsd/MonskyCheck791.lean — T39 cycle 1888 (goal G856): Monsky's 2-Selmer matrix for squarefree 158001 ≤ n ≤ 158200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck791
open MonskyCheck

def zeroList : List Nat := [158001, 158003, 158011, 158019, 158034, 158035, 158042, 158043, 158051, 158057, 158073, 158082, 158091, 158099, 158105, 158106, 158107, 158114, 158115, 158122, 158131, 158137, 158146, 158154, 158155, 158163, 158170, 158187]
def posList : List (Nat × Nat) := [(158002, 2), (158005, 3), (158006, 1), (158007, 1), (158009, 2), (158010, 2), (158017, 2), (158018, 2), (158021, 1), (158023, 1), (158027, 2), (158029, 1), (158030, 1), (158033, 2), (158037, 1), (158038, 1), (158039, 1), (158041, 2), (158045, 1), (158046, 1), (158047, 1), (158053, 1), (158054, 1), (158055, 1), (158059, 2), (158061, 1), (158062, 1), (158063, 3), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero791 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos791 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck791

#print axioms MonskyCheck791.sel_zero791
#print axioms MonskyCheck791.sel_pos791

bsd/MonskyCheck792.lean

lean_all/bsd/MonskyCheck792.lean

/-
  bsd/MonskyCheck792.lean — T39 cycle 1890 (goal G856): Monsky's 2-Selmer matrix for squarefree 158201 ≤ n ≤ 158400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck792
open MonskyCheck

def zeroList : List Nat := [158218, 158219, 158226, 158227, 158241, 158243, 158257, 158258, 158266, 158273, 158281, 158282, 158290, 158291, 158297, 158298, 158299, 158305, 158307, 158313, 158314, 158315, 158321, 158322, 158331, 158362, 158363, 158369, 158371, 158378]
def posList : List (Nat × Nat) := [(158201, 2), (158203, 2), (158205, 1), (158206, 1), (158207, 1), (158209, 2), (158210, 2), (158213, 1), (158214, 1), (158215, 1), (158217, 2), (158222, 1), (158223, 3), (158230, 1), (158231, 1), (158233, 2), (158234, 2), (158235, 2), (158237, 1), (158239, 1), (158242, 2), (158245, 3), (158246, 1), (158249, 2), (158251, 2), (158253, 1), (158254, 1), (158255, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero792 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos792 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck792

#print axioms MonskyCheck792.sel_zero792
#print axioms MonskyCheck792.sel_pos792

bsd/MonskyCheck793.lean

lean_all/bsd/MonskyCheck793.lean

/-
  bsd/MonskyCheck793.lean — T39 cycle 1892 (goal G856): Monsky's 2-Selmer matrix for squarefree 158401 ≤ n ≤ 158600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck793
open MonskyCheck

def zeroList : List Nat := [158403, 158411, 158419, 158426, 158434, 158435, 158441, 158442, 158443, 158451, 158457, 158458, 158459, 158474, 158483, 158491, 158498, 158505, 158506, 158507, 158514, 158521, 158529, 158530, 158539, 158547, 158563, 158570, 158577, 158586, 158594]
def posList : List (Nat × Nat) := [(158401, 2), (158402, 2), (158405, 1), (158406, 1), (158407, 1), (158410, 2), (158413, 3), (158414, 1), (158415, 1), (158421, 1), (158422, 3), (158423, 1), (158429, 1), (158430, 3), (158431, 1), (158433, 2), (158437, 1), (158438, 1), (158439, 1), (158446, 1), (158449, 2), (158453, 3), (158455, 1), (158461, 1), (158462, 1), (158465, 2), (158467, 2), (158469, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero793 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos793 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck793

#print axioms MonskyCheck793.sel_zero793
#print axioms MonskyCheck793.sel_pos793

bsd/MonskyCheck794.lean

lean_all/bsd/MonskyCheck794.lean

/-
  bsd/MonskyCheck794.lean — T39 cycle 1894 (goal G856): Monsky's 2-Selmer matrix for squarefree 158601 ≤ n ≤ 158800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck794
open MonskyCheck

def zeroList : List Nat := [158602, 158609, 158611, 158618, 158626, 158627, 158635, 158641, 158642, 158649, 158651, 158658, 158659, 158666, 158667, 158681, 158682, 158683, 158698, 158699, 158707, 158713, 158714, 158722, 158731, 158738, 158745, 158747, 158754, 158762, 158770, 158771, 158785, 158793, 158794]
def posList : List (Nat × Nat) := [(158601, 2), (158603, 2), (158605, 3), (158606, 1), (158610, 2), (158614, 1), (158615, 1), (158617, 2), (158619, 2), (158621, 1), (158622, 1), (158623, 1), (158629, 1), (158630, 1), (158633, 2), (158637, 1), (158638, 1), (158639, 1), (158645, 3), (158646, 3), (158647, 1), (158653, 1), (158654, 1), (158655, 1), (158657, 2), (158663, 1), (158665, 4), (158669, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero794 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos794 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck794

#print axioms MonskyCheck794.sel_zero794
#print axioms MonskyCheck794.sel_pos794

bsd/MonskyCheck795.lean

lean_all/bsd/MonskyCheck795.lean

/-
  bsd/MonskyCheck795.lean — T39 cycle 1896 (goal G856): Monsky's 2-Selmer matrix for squarefree 158801 ≤ n ≤ 159000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck795
open MonskyCheck

def zeroList : List Nat := [158801, 158803, 158811, 158818, 158826, 158835, 158842, 158843, 158857, 158867, 158874, 158883, 158889, 158891, 158897, 158906, 158915, 158923, 158930, 158939, 158945, 158946, 158947, 158954, 158955, 158970, 158971, 158977, 158978, 158979, 158986]
def posList : List (Nat × Nat) := [(158802, 2), (158806, 1), (158807, 1), (158810, 2), (158813, 1), (158815, 1), (158817, 2), (158819, 2), (158821, 1), (158822, 1), (158827, 2), (158829, 1), (158830, 1), (158831, 1), (158833, 2), (158834, 2), (158837, 1), (158838, 3), (158839, 1), (158845, 3), (158846, 1), (158847, 1), (158849, 2), (158851, 2), (158853, 1), (158854, 1), (158855, 1), (158861, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero795 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos795 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck795

#print axioms MonskyCheck795.sel_zero795
#print axioms MonskyCheck795.sel_pos795

bsd/MonskyCheck796.lean

lean_all/bsd/MonskyCheck796.lean

/-
  bsd/MonskyCheck796.lean — T39 cycle 1898 (goal G856): Monsky's 2-Selmer matrix for squarefree 159001 ≤ n ≤ 159200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck796
open MonskyCheck

def zeroList : List Nat := [159002, 159009, 159010, 159018, 159026, 159033, 159042, 159043, 159049, 159058, 159059, 159067, 159083, 159090, 159091, 159098, 159099, 159105, 159106, 159107, 159130, 159145, 159146, 159153, 159170, 159171, 159178, 159179, 159186, 159187, 159194, 159195]
def posList : List (Nat × Nat) := [(159001, 2), (159006, 1), (159007, 1), (159011, 2), (159013, 1), (159015, 1), (159017, 2), (159019, 2), (159022, 1), (159023, 1), (159027, 2), (159031, 1), (159034, 2), (159035, 2), (159037, 1), (159038, 1), (159041, 2), (159045, 1), (159046, 3), (159047, 1), (159051, 2), (159053, 1), (159055, 1), (159061, 1), (159062, 1), (159063, 1), (159065, 2), (159069, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero796 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos796 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck796

#print axioms MonskyCheck796.sel_zero796
#print axioms MonskyCheck796.sel_pos796

bsd/MonskyCheck797.lean

lean_all/bsd/MonskyCheck797.lean

/-
  bsd/MonskyCheck797.lean — T39 cycle 1900 (goal G856): Monsky's 2-Selmer matrix for squarefree 159201 ≤ n ≤ 159400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck797
open MonskyCheck

def zeroList : List Nat := [159211, 159226, 159227, 159234, 159235, 159241, 159242, 159243, 159249, 159251, 159259, 159274, 159283, 159290, 159306, 159323, 159329, 159330, 159331, 159338, 159346, 159347, 159353, 159355, 159370, 159378, 159379, 159385, 159386, 159387, 159393]
def posList : List (Nat × Nat) := [(159202, 2), (159203, 2), (159205, 1), (159206, 1), (159207, 1), (159209, 2), (159213, 3), (159214, 1), (159215, 1), (159217, 4), (159218, 2), (159221, 3), (159222, 1), (159223, 1), (159230, 1), (159231, 1), (159233, 2), (159238, 1), (159245, 3), (159247, 1), (159253, 1), (159254, 1), (159257, 2), (159258, 2), (159261, 1), (159262, 1), (159263, 1), (159265, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero797 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos797 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck797

#print axioms MonskyCheck797.sel_zero797
#print axioms MonskyCheck797.sel_pos797

bsd/MonskyCheck798.lean

lean_all/bsd/MonskyCheck798.lean

/-
  bsd/MonskyCheck798.lean — T39 cycle 1902 (goal G856): Monsky's 2-Selmer matrix for squarefree 159401 ≤ n ≤ 159600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck798
open MonskyCheck

def zeroList : List Nat := [159401, 159402, 159403, 159433, 159434, 159441, 159442, 159458, 159459, 159467, 159482, 159491, 159499, 159505, 159506, 159513, 159514, 159515, 159523, 159531, 159537, 159539, 159563, 159571, 159577, 159594]
def posList : List (Nat × Nat) := [(159405, 1), (159406, 1), (159407, 1), (159409, 2), (159410, 2), (159411, 2), (159413, 3), (159415, 1), (159418, 2), (159419, 2), (159421, 1), (159422, 1), (159423, 1), (159427, 2), (159429, 1), (159430, 1), (159431, 1), (159437, 1), (159438, 1), (159439, 1), (159443, 2), (159445, 1), (159447, 1), (159449, 2), (159451, 2), (159454, 1), (159455, 1), (159457, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero798 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos798 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck798

#print axioms MonskyCheck798.sel_zero798
#print axioms MonskyCheck798.sel_pos798

bsd/MonskyCheck799.lean

lean_all/bsd/MonskyCheck799.lean

/-
  bsd/MonskyCheck799.lean — T39 cycle 1904 (goal G856): Monsky's 2-Selmer matrix for squarefree 159601 ≤ n ≤ 159800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck799
open MonskyCheck

def zeroList : List Nat := [159603, 159610, 159619, 159626, 159658, 159665, 159667, 159674, 159683, 159689, 159690, 159698, 159707, 159713, 159722, 159730, 159731, 159739, 159745, 159762, 159763, 159771, 159779, 159787, 159794]
def posList : List (Nat × Nat) := [(159601, 2), (159602, 2), (159605, 1), (159609, 2), (159611, 2), (159613, 1), (159614, 1), (159617, 2), (159618, 2), (159621, 1), (159622, 1), (159623, 1), (159627, 2), (159629, 1), (159630, 1), (159631, 1), (159634, 2), (159635, 2), (159637, 1), (159638, 1), (159639, 1), (159641, 2), (159643, 2), (159645, 1), (159646, 1), (159647, 1), (159649, 2), (159653, 3), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero799 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos799 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck799

#print axioms MonskyCheck799.sel_zero799
#print axioms MonskyCheck799.sel_pos799

bsd/MonskyCheck8.lean

lean_all/bsd/MonskyCheck8.lean

/-
  bsd/MonskyCheck8.lean — T39 cycle 326 (goal G61): Monsky's 2-Selmer matrix for squarefree 1401 ≤ n ≤ 1600, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck8
open MonskyCheck

def zeroList : List Nat := [1401, 1402, 1403, 1410, 1418, 1427, 1435, 1441, 1451, 1459, 1466, 1473, 1474, 1483, 1490, 1491, 1497, 1499, 1505, 1506, 1514, 1515, 1523, 1529, 1531, 1545, 1546, 1547, 1554, 1562, 1563, 1569, 1570, 1571, 1577, 1579, 1586, 1594]
def posList : List (Nat × Nat) := [(1405, 3), (1406, 1), (1407, 1), (1409, 2), (1411, 2), (1414, 1), (1415, 1), (1417, 2), (1419, 2), (1423, 1), (1426, 2), (1429, 1), (1430, 1), (1433, 2), (1434, 2), (1437, 1), (1438, 1), (1439, 1), (1442, 2), (1443, 2), (1446, 3), (1447, 1), (1453, 1), (1454, 1), (1455, 1), (1457, 2), (1461, 1), (1462, 3), (1463, 1), (1465, 2), (1469, 3), (1471, 1), (1477, 1), (1  -- (+569 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero8 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos8 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck8

#print axioms MonskyCheck8.sel_zero8
#print axioms MonskyCheck8.sel_pos8

bsd/MonskyCheck80.lean

lean_all/bsd/MonskyCheck80.lean

/-
  bsd/MonskyCheck80.lean — T39 cycle 424 (goal G139): Monsky's 2-Selmer matrix for squarefree 15801 ≤ n ≤ 16000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck80
open MonskyCheck

def zeroList : List Nat := [15801, 15802, 15803, 15810, 15818, 15819, 15835, 15859, 15865, 15866, 15873, 15882, 15891, 15898, 15906, 15907, 15915, 15922, 15923, 15938, 15945, 15947, 15954, 15961, 15963, 15969, 15970, 15971, 15985, 15994, 15995]
def posList : List (Nat × Nat) := [(15805, 3), (15806, 3), (15807, 1), (15809, 2), (15811, 2), (15814, 1), (15815, 1), (15817, 2), (15821, 1), (15823, 1), (15826, 2), (15829, 1), (15830, 1), (15833, 2), (15834, 2), (15837, 1), (15838, 1), (15839, 3), (15841, 2), (15843, 2), (15845, 3), (15846, 1), (15847, 1), (15853, 1), (15854, 1), (15855, 1), (15857, 2), (15861, 1), (15862, 1), (15863, 1), (1586  -- (+702 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero80 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos80 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck80

#print axioms MonskyCheck80.sel_zero80
#print axioms MonskyCheck80.sel_pos80

bsd/MonskyCheck800.lean

lean_all/bsd/MonskyCheck800.lean

/-
  bsd/MonskyCheck800.lean — T39 cycle 1906 (goal G856): Monsky's 2-Selmer matrix for squarefree 159801 ≤ n ≤ 160000, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck800
open MonskyCheck

def zeroList : List Nat := [159801, 159802, 159810, 159811, 159818, 159826, 159834, 159835, 159842, 159859, 159866, 159873, 159882, 159890, 159891, 159897, 159898, 159899, 159906, 159907, 159914, 159929, 159931, 159938, 159945, 159946, 159947, 159954, 159961, 159963, 159969, 159971, 159979, 159987, 159994]
def posList : List (Nat × Nat) := [(159803, 4), (159805, 3), (159806, 1), (159807, 1), (159809, 2), (159814, 1), (159815, 1), (159819, 2), (159821, 1), (159823, 1), (159827, 2), (159829, 3), (159830, 1), (159833, 2), (159837, 1), (159839, 1), (159843, 2), (159845, 1), (159846, 3), (159847, 1), (159851, 2), (159853, 1), (159854, 1), (159855, 1), (159857, 2), (159861, 1), (159862, 3), (159863, 1), (  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero800 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos800 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck800

#print axioms MonskyCheck800.sel_zero800
#print axioms MonskyCheck800.sel_pos800

bsd/MonskyCheck801.lean

lean_all/bsd/MonskyCheck801.lean

/-
  bsd/MonskyCheck801.lean — T39 cycle 1916 (goal G857): Monsky's 2-Selmer matrix for squarefree 160001 ≤ n ≤ 160200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck801
open MonskyCheck

def zeroList : List Nat := [160017, 160018, 160019, 160027, 160035, 160041, 160042, 160058, 160066, 160067, 160082, 160089, 160091, 160098, 160099, 160138, 160147, 160154, 160161, 160163, 160170, 160171, 160186, 160187, 160193, 160194]
def posList : List (Nat × Nat) := [(160001, 2), (160005, 1), (160006, 1), (160007, 1), (160009, 2), (160010, 2), (160013, 1), (160014, 1), (160015, 1), (160021, 1), (160022, 1), (160023, 1), (160026, 2), (160030, 1), (160031, 1), (160033, 2), (160037, 1), (160039, 1), (160045, 3), (160046, 1), (160049, 2), (160051, 2), (160053, 1), (160054, 1), (160055, 3), (160057, 2), (160059, 2), (160061, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero801 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos801 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck801

#print axioms MonskyCheck801.sel_zero801
#print axioms MonskyCheck801.sel_pos801

bsd/MonskyCheck802.lean

lean_all/bsd/MonskyCheck802.lean

/-
  bsd/MonskyCheck802.lean — T39 cycle 1918 (goal G857): Monsky's 2-Selmer matrix for squarefree 160201 ≤ n ≤ 160400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck802
open MonskyCheck

def zeroList : List Nat := [160202, 160210, 160219, 160226, 160233, 160243, 160257, 160259, 160273, 160282, 160283, 160291, 160298, 160305, 160314, 160315, 160322, 160323, 160330, 160331, 160338, 160339, 160346, 160347, 160355, 160363, 160386, 160387, 160393]
def posList : List (Nat × Nat) := [(160201, 2), (160203, 2), (160206, 1), (160207, 1), (160211, 2), (160213, 1), (160214, 1), (160215, 1), (160217, 2), (160221, 1), (160222, 1), (160223, 3), (160229, 1), (160231, 1), (160234, 2), (160235, 2), (160237, 1), (160238, 1), (160239, 1), (160241, 2), (160242, 2), (160246, 1), (160247, 1), (160249, 2), (160251, 2), (160253, 1), (160255, 1), (160258, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero802 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos802 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck802

#print axioms MonskyCheck802.sel_zero802
#print axioms MonskyCheck802.sel_pos802

bsd/MonskyCheck803.lean

lean_all/bsd/MonskyCheck803.lean

/-
  bsd/MonskyCheck803.lean — T39 cycle 1920 (goal G857): Monsky's 2-Selmer matrix for squarefree 160401 ≤ n ≤ 160600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck803
open MonskyCheck

def zeroList : List Nat := [160401, 160402, 160403, 160410, 160411, 160417, 160427, 160433, 160435, 160442, 160457, 160458, 160459, 160483, 160489, 160490, 160498, 160499, 160505, 160507, 160521, 160523, 160531, 160539, 160547, 160555, 160561, 160562, 160570, 160571, 160579]
def posList : List (Nat × Nat) := [(160405, 1), (160406, 1), (160409, 2), (160413, 1), (160414, 1), (160415, 1), (160418, 2), (160419, 2), (160421, 1), (160422, 3), (160423, 1), (160429, 3), (160430, 1), (160431, 1), (160437, 1), (160438, 1), (160439, 1), (160441, 2), (160445, 3), (160447, 1), (160449, 2), (160451, 2), (160453, 1), (160454, 1), (160455, 1), (160462, 1), (160463, 3), (160465, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero803 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos803 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck803

#print axioms MonskyCheck803.sel_zero803
#print axioms MonskyCheck803.sel_pos803

bsd/MonskyCheck804.lean

lean_all/bsd/MonskyCheck804.lean

/-
  bsd/MonskyCheck804.lean — T39 cycle 1922 (goal G857): Monsky's 2-Selmer matrix for squarefree 160601 ≤ n ≤ 160800, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck804
open MonskyCheck

def zeroList : List Nat := [160603, 160610, 160618, 160619, 160627, 160633, 160634, 160635, 160651, 160666, 160674, 160682, 160690, 160706, 160715, 160721, 160723, 160730, 160739, 160754, 160761, 160762, 160763, 160771, 160777]
def posList : List (Nat × Nat) := [(160601, 2), (160602, 2), (160606, 1), (160607, 1), (160609, 2), (160611, 2), (160613, 1), (160615, 3), (160617, 2), (160621, 1), (160626, 2), (160629, 1), (160630, 1), (160637, 1), (160638, 1), (160639, 1), (160642, 2), (160643, 2), (160646, 1), (160647, 1), (160649, 2), (160653, 1), (160654, 1), (160655, 1), (160657, 2), (160658, 2), (160661, 1), (160662, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero804 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos804 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck804

#print axioms MonskyCheck804.sel_zero804
#print axioms MonskyCheck804.sel_pos804

bsd/MonskyCheck805.lean

lean_all/bsd/MonskyCheck805.lean

/-
  bsd/MonskyCheck805.lean — T39 cycle 1924 (goal G857): Monsky's 2-Selmer matrix for squarefree 160801 ≤ n ≤ 161000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck805
open MonskyCheck

def zeroList : List Nat := [160802, 160811, 160819, 160827, 160833, 160834, 160835, 160842, 160843, 160858, 160859, 160873, 160881, 160883, 160891, 160897, 160899, 160907, 160915, 160921, 160922, 160931, 160953, 160970, 160971, 160977, 160979, 160985, 160986, 160994, 160995]
def posList : List (Nat × Nat) := [(160805, 3), (160806, 1), (160807, 1), (160810, 2), (160813, 1), (160814, 1), (160815, 3), (160817, 2), (160822, 1), (160823, 1), (160826, 2), (160829, 1), (160831, 1), (160837, 3), (160838, 3), (160841, 2), (160845, 1), (160846, 3), (160847, 1), (160849, 2), (160851, 2), (160853, 1), (160854, 3), (160855, 1), (160861, 1), (160862, 1), (160865, 2), (160869, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero805 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos805 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck805

#print axioms MonskyCheck805.sel_zero805
#print axioms MonskyCheck805.sel_pos805

bsd/MonskyCheck806.lean

lean_all/bsd/MonskyCheck806.lean

/-
  bsd/MonskyCheck806.lean — T39 cycle 1926 (goal G857): Monsky's 2-Selmer matrix for squarefree 161001 ≤ n ≤ 161200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck806
open MonskyCheck

def zeroList : List Nat := [161002, 161027, 161034, 161035, 161043, 161058, 161059, 161067, 161083, 161090, 161097, 161098, 161099, 161105, 161114, 161115, 161121, 161122, 161123, 161129, 161139, 161147, 161155, 161162, 161170, 161177, 161178, 161179, 161186, 161193, 161194, 161195]
def posList : List (Nat × Nat) := [(161003, 2), (161005, 1), (161007, 1), (161009, 2), (161011, 2), (161013, 1), (161015, 1), (161017, 2), (161018, 2), (161021, 1), (161022, 1), (161023, 3), (161026, 2), (161029, 1), (161030, 1), (161031, 1), (161033, 2), (161038, 3), (161039, 1), (161041, 4), (161042, 2), (161045, 3), (161047, 1), (161049, 2), (161053, 1), (161054, 1), (161061, 1), (161062, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero806 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos806 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck806

#print axioms MonskyCheck806.sel_zero806
#print axioms MonskyCheck806.sel_pos806

bsd/MonskyCheck807.lean

lean_all/bsd/MonskyCheck807.lean

/-
  bsd/MonskyCheck807.lean — T39 cycle 1928 (goal G857): Monsky's 2-Selmer matrix for squarefree 161201 ≤ n ≤ 161400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck807
open MonskyCheck

def zeroList : List Nat := [161203, 161211, 161218, 161219, 161234, 161241, 161242, 161251, 161258, 161267, 161282, 161299, 161313, 161322, 161323, 161330, 161331, 161337, 161338, 161339, 161346, 161347, 161354, 161363, 161385, 161387, 161393]
def posList : List (Nat × Nat) := [(161201, 2), (161202, 2), (161205, 1), (161206, 1), (161207, 1), (161209, 2), (161213, 3), (161214, 1), (161215, 1), (161221, 1), (161222, 1), (161223, 1), (161227, 2), (161229, 3), (161230, 1), (161231, 1), (161233, 2), (161237, 1), (161238, 1), (161239, 1), (161243, 2), (161245, 1), (161246, 1), (161247, 1), (161249, 2), (161254, 1), (161255, 1), (161261, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero807 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos807 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck807

#print axioms MonskyCheck807.sel_zero807
#print axioms MonskyCheck807.sel_pos807

bsd/MonskyCheck808.lean

lean_all/bsd/MonskyCheck808.lean

/-
  bsd/MonskyCheck808.lean — T39 cycle 1930 (goal G857): Monsky's 2-Selmer matrix for squarefree 161401 ≤ n ≤ 161600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck808
open MonskyCheck

def zeroList : List Nat := [161402, 161403, 161410, 161411, 161419, 161435, 161443, 161457, 161459, 161467, 161481, 161483, 161491, 161498, 161499, 161507, 161513, 161515, 161530, 161531, 161537, 161547, 161563, 161570, 161578, 161587, 161593]
def posList : List (Nat × Nat) := [(161401, 2), (161405, 1), (161407, 1), (161409, 2), (161413, 1), (161417, 4), (161418, 2), (161421, 1), (161422, 1), (161423, 1), (161426, 2), (161427, 2), (161429, 3), (161430, 1), (161431, 1), (161434, 2), (161437, 1), (161438, 1), (161439, 1), (161441, 2), (161445, 1), (161446, 3), (161447, 1), (161449, 2), (161453, 1), (161454, 1), (161458, 2), (161461, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero808 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos808 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck808

#print axioms MonskyCheck808.sel_zero808
#print axioms MonskyCheck808.sel_pos808

bsd/MonskyCheck809.lean

lean_all/bsd/MonskyCheck809.lean

/-
  bsd/MonskyCheck809.lean — T39 cycle 1932 (goal G857): Monsky's 2-Selmer matrix for squarefree 161601 ≤ n ≤ 161800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck809
open MonskyCheck

def zeroList : List Nat := [161601, 161603, 161610, 161611, 161619, 161626, 161627, 161633, 161634, 161635, 161657, 161659, 161673, 161674, 161682, 161683, 161689, 161691, 161697, 161707, 161715, 161722, 161723, 161731, 161738, 161746, 161754, 161762, 161769, 161770, 161771, 161778, 161779, 161785]
def posList : List (Nat × Nat) := [(161605, 3), (161606, 1), (161607, 1), (161609, 2), (161614, 1), (161615, 1), (161617, 2), (161618, 2), (161621, 1), (161623, 1), (161629, 1), (161630, 1), (161637, 1), (161638, 1), (161639, 1), (161641, 2), (161642, 2), (161643, 2), (161645, 1), (161646, 1), (161647, 1), (161653, 1), (161654, 1), (161655, 1), (161661, 1), (161662, 1), (161663, 1), (161665, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero809 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos809 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck809

#print axioms MonskyCheck809.sel_zero809
#print axioms MonskyCheck809.sel_pos809

bsd/MonskyCheck81.lean

lean_all/bsd/MonskyCheck81.lean

/-
  bsd/MonskyCheck81.lean — T39 cycle 425 (goal G140): Monsky's 2-Selmer matrix for squarefree 16001 ≤ n ≤ 16200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck81
open MonskyCheck

def zeroList : List Nat := [16026, 16041, 16042, 16049, 16058, 16059, 16066, 16067, 16082, 16091, 16098, 16099, 16106, 16113, 16115, 16123, 16130, 16131, 16138, 16139, 16161, 16163, 16169, 16171, 16179, 16186, 16187, 16194]
def posList : List (Nat × Nat) := [(16001, 2), (16003, 2), (16005, 1), (16006, 1), (16007, 1), (16009, 2), (16010, 2), (16013, 1), (16014, 1), (16015, 1), (16017, 2), (16018, 2), (16019, 2), (16021, 3), (16022, 1), (16027, 2), (16030, 1), (16031, 1), (16033, 2), (16034, 2), (16035, 2), (16037, 1), (16039, 1), (16043, 2), (16045, 3), (16046, 1), (16051, 2), (16053, 1), (16054, 1), (16057, 2), (1606  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero81 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos81 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck81

#print axioms MonskyCheck81.sel_zero81
#print axioms MonskyCheck81.sel_pos81

bsd/MonskyCheck810.lean

lean_all/bsd/MonskyCheck810.lean

/-
  bsd/MonskyCheck810.lean — T39 cycle 1934 (goal G857): Monsky's 2-Selmer matrix for squarefree 161801 ≤ n ≤ 162000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck810
open MonskyCheck

def zeroList : List Nat := [161803, 161809, 161817, 161818, 161819, 161827, 161833, 161834, 161842, 161843, 161851, 161859, 161866, 161890, 161914, 161915, 161922, 161923, 161930, 161931, 161938, 161939, 161947, 161953, 161954, 161961, 161962, 161963, 161971, 161978, 161979]
def posList : List (Nat × Nat) := [(161801, 2), (161805, 1), (161806, 3), (161807, 1), (161810, 2), (161813, 1), (161814, 1), (161815, 1), (161821, 1), (161822, 1), (161823, 1), (161826, 2), (161830, 1), (161831, 1), (161835, 2), (161837, 1), (161839, 1), (161841, 2), (161845, 3), (161846, 1), (161849, 2), (161853, 1), (161854, 1), (161855, 1), (161857, 4), (161858, 2), (161861, 1), (161862, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero810 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos810 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck810

#print axioms MonskyCheck810.sel_zero810
#print axioms MonskyCheck810.sel_pos810

bsd/MonskyCheck811.lean

lean_all/bsd/MonskyCheck811.lean

/-
  bsd/MonskyCheck811.lean — T39 cycle 1936 (goal G858): Monsky's 2-Selmer matrix for squarefree 162001 ≤ n ≤ 162200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck811
open MonskyCheck

def zeroList : List Nat := [162010, 162011, 162026, 162033, 162041, 162049, 162051, 162057, 162059, 162066, 162067, 162073, 162074, 162083, 162091, 162105, 162107, 162115, 162130, 162131, 162138, 162154, 162155, 162170, 162177, 162178, 162179, 162186, 162187, 162195]
def posList : List (Nat × Nat) := [(162001, 2), (162002, 2), (162003, 2), (162005, 3), (162006, 1), (162007, 1), (162013, 1), (162014, 1), (162015, 1), (162017, 2), (162021, 1), (162022, 1), (162023, 3), (162029, 1), (162030, 1), (162031, 3), (162034, 2), (162035, 2), (162037, 1), (162038, 1), (162039, 1), (162042, 2), (162046, 1), (162047, 1), (162053, 1), (162055, 1), (162058, 2), (162061, 3), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero811 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos811 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck811

#print axioms MonskyCheck811.sel_zero811
#print axioms MonskyCheck811.sel_pos811

bsd/MonskyCheck812.lean

lean_all/bsd/MonskyCheck812.lean

/-
  bsd/MonskyCheck812.lean — T39 cycle 1938 (goal G858): Monsky's 2-Selmer matrix for squarefree 162201 ≤ n ≤ 162400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck812
open MonskyCheck

def zeroList : List Nat := [162202, 162211, 162217, 162226, 162235, 162241, 162249, 162251, 162258, 162265, 162273, 162274, 162282, 162283, 162290, 162299, 162314, 162321, 162322, 162323, 162330, 162331, 162338, 162339, 162345, 162346, 162347, 162353, 162354, 162362, 162379, 162385, 162394]
def posList : List (Nat × Nat) := [(162201, 2), (162203, 2), (162205, 3), (162206, 1), (162209, 2), (162210, 2), (162213, 1), (162214, 1), (162215, 1), (162218, 2), (162219, 2), (162221, 1), (162222, 1), (162223, 3), (162227, 2), (162229, 1), (162230, 1), (162231, 1), (162233, 2), (162237, 1), (162238, 1), (162242, 2), (162245, 1), (162246, 1), (162247, 1), (162253, 1), (162254, 1), (162255, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero812 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos812 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck812

#print axioms MonskyCheck812.sel_zero812
#print axioms MonskyCheck812.sel_pos812

bsd/MonskyCheck813.lean

lean_all/bsd/MonskyCheck813.lean

/-
  bsd/MonskyCheck813.lean — T39 cycle 1940 (goal G858): Monsky's 2-Selmer matrix for squarefree 162401 ≤ n ≤ 162600, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck813
open MonskyCheck

def zeroList : List Nat := [162402, 162410, 162411, 162417, 162419, 162427, 162442, 162443, 162451, 162458, 162474, 162481, 162489, 162497, 162498, 162499, 162505, 162506, 162507, 162514, 162515, 162521, 162523, 162530, 162537, 162546, 162554, 162555, 162561, 162563, 162569, 162570, 162571, 162586]
def posList : List (Nat × Nat) := [(162401, 2), (162406, 1), (162407, 1), (162413, 1), (162415, 1), (162421, 1), (162422, 1), (162426, 2), (162429, 1), (162430, 1), (162431, 1), (162433, 2), (162434, 4), (162437, 1), (162438, 3), (162439, 1), (162445, 1), (162446, 1), (162447, 3), (162449, 2), (162453, 1), (162454, 3), (162455, 1), (162457, 2), (162461, 3), (162462, 1), (162463, 3), (162465, 2), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero813 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos813 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck813

#print axioms MonskyCheck813.sel_zero813
#print axioms MonskyCheck813.sel_pos813

bsd/MonskyCheck814.lean

lean_all/bsd/MonskyCheck814.lean

/-
  bsd/MonskyCheck814.lean — T39 cycle 1942 (goal G858): Monsky's 2-Selmer matrix for squarefree 162601 ≤ n ≤ 162800, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck814
open MonskyCheck

def zeroList : List Nat := [162602, 162611, 162617, 162618, 162619, 162633, 162642, 162643, 162667, 162674, 162681, 162683, 162691, 162697, 162698, 162699, 162705, 162722, 162723, 162730, 162731, 162739, 162746, 162753, 162754, 162755, 162762, 162769, 162770, 162771, 162777, 162779, 162785, 162786, 162787, 162794, 162795]
def posList : List (Nat × Nat) := [(162601, 2), (162605, 1), (162606, 1), (162607, 3), (162609, 2), (162610, 2), (162613, 1), (162614, 1), (162615, 1), (162622, 1), (162623, 1), (162626, 2), (162627, 2), (162629, 1), (162634, 2), (162635, 2), (162637, 1), (162638, 3), (162641, 2), (162645, 1), (162646, 3), (162647, 3), (162649, 2), (162651, 2), (162653, 1), (162654, 1), (162655, 1), (162658, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero814 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos814 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck814

#print axioms MonskyCheck814.sel_zero814
#print axioms MonskyCheck814.sel_pos814

bsd/MonskyCheck815.lean

lean_all/bsd/MonskyCheck815.lean

/-
  bsd/MonskyCheck815.lean — T39 cycle 1944 (goal G858): Monsky's 2-Selmer matrix for squarefree 162801 ≤ n ≤ 163000, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck815
open MonskyCheck

def zeroList : List Nat := [162803, 162826, 162835, 162842, 162851, 162859, 162874, 162899, 162906, 162907, 162921, 162923, 162929, 162930, 162947, 162961, 162969, 162970, 162971, 162986, 162993, 162994, 162995]
def posList : List (Nat × Nat) := [(162802, 2), (162805, 3), (162806, 3), (162807, 1), (162809, 2), (162813, 3), (162814, 1), (162815, 1), (162817, 2), (162818, 2), (162821, 1), (162822, 1), (162823, 1), (162829, 1), (162830, 1), (162831, 1), (162833, 2), (162834, 2), (162838, 1), (162839, 1), (162841, 2), (162843, 2), (162845, 3), (162847, 1), (162849, 2), (162853, 1), (162854, 3), (162857, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero815 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos815 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck815

#print axioms MonskyCheck815.sel_zero815
#print axioms MonskyCheck815.sel_pos815

bsd/MonskyCheck816.lean

lean_all/bsd/MonskyCheck816.lean

/-
  bsd/MonskyCheck816.lean — T39 cycle 1946 (goal G858): Monsky's 2-Selmer matrix for squarefree 163001 ≤ n ≤ 163200, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck816
open MonskyCheck

def zeroList : List Nat := [163001, 163002, 163003, 163009, 163010, 163011, 163018, 163019, 163027, 163034, 163041, 163042, 163043, 163058, 163059, 163066, 163067, 163074, 163082, 163090, 163091, 163097, 163113, 163122, 163123, 163131, 163145, 163147, 163153, 163155, 163162, 163163, 163171, 163178, 163186, 163187, 163195]
def posList : List (Nat × Nat) := [(163005, 1), (163006, 1), (163007, 1), (163013, 3), (163014, 1), (163015, 1), (163021, 1), (163022, 1), (163029, 1), (163030, 1), (163031, 1), (163033, 2), (163037, 1), (163038, 3), (163039, 1), (163045, 3), (163046, 1), (163047, 1), (163049, 2), (163051, 2), (163054, 1), (163055, 1), (163061, 1), (163063, 1), (163065, 2), (163069, 1), (163070, 1), (163073, 4), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero816 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos816 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck816

#print axioms MonskyCheck816.sel_zero816
#print axioms MonskyCheck816.sel_pos816

bsd/MonskyCheck817.lean

lean_all/bsd/MonskyCheck817.lean

/-
  bsd/MonskyCheck817.lean — T39 cycle 1948 (goal G858): Monsky's 2-Selmer matrix for squarefree 163201 ≤ n ≤ 163400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck817
open MonskyCheck

def zeroList : List Nat := [163202, 163203, 163209, 163210, 163211, 163226, 163235, 163243, 163257, 163258, 163259, 163266, 163267, 163273, 163274, 163283, 163290, 163299, 163307, 163329, 163330, 163339, 163345, 163347, 163354, 163355, 163361, 163363, 163371]
def posList : List (Nat × Nat) := [(163201, 2), (163205, 1), (163207, 1), (163213, 1), (163214, 1), (163217, 4), (163218, 2), (163221, 1), (163222, 1), (163223, 1), (163227, 2), (163230, 1), (163231, 3), (163234, 2), (163237, 1), (163238, 1), (163239, 1), (163241, 2), (163245, 1), (163246, 1), (163247, 3), (163249, 2), (163253, 1), (163255, 1), (163261, 1), (163262, 1), (163263, 1), (163265, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero817 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos817 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck817

#print axioms MonskyCheck817.sel_zero817
#print axioms MonskyCheck817.sel_pos817

bsd/MonskyCheck818.lean

lean_all/bsd/MonskyCheck818.lean

/-
  bsd/MonskyCheck818.lean — T39 cycle 1950 (goal G858): Monsky's 2-Selmer matrix for squarefree 163401 ≤ n ≤ 163600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck818
open MonskyCheck

def zeroList : List Nat := [163402, 163403, 163410, 163411, 163435, 163443, 163451, 163482, 163483, 163489, 163490, 163491, 163497, 163498, 163499, 163506, 163514, 163523, 163529, 163537, 163545, 163546, 163554, 163555, 163563, 163569, 163570, 163571, 163578, 163594]
def posList : List (Nat × Nat) := [(163401, 2), (163405, 1), (163406, 1), (163407, 1), (163409, 2), (163414, 1), (163417, 2), (163418, 2), (163419, 2), (163421, 3), (163426, 4), (163427, 2), (163429, 1), (163430, 1), (163433, 2), (163434, 2), (163437, 1), (163438, 1), (163439, 1), (163441, 2), (163442, 2), (163445, 1), (163446, 3), (163447, 3), (163453, 3), (163454, 1), (163455, 1), (163457, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero818 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos818 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck818

#print axioms MonskyCheck818.sel_zero818
#print axioms MonskyCheck818.sel_pos818

bsd/MonskyCheck819.lean

lean_all/bsd/MonskyCheck819.lean

/-
  bsd/MonskyCheck819.lean — T39 cycle 1952 (goal G858): Monsky's 2-Selmer matrix for squarefree 163601 ≤ n ≤ 163800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck819
open MonskyCheck

def zeroList : List Nat := [163603, 163609, 163617, 163619, 163626, 163627, 163641, 163643, 163651, 163659, 163666, 163681, 163689, 163698, 163706, 163707, 163715, 163722, 163730, 163738, 163739, 163754, 163762, 163763, 163770, 163771, 163794]
def posList : List (Nat × Nat) := [(163601, 2), (163605, 1), (163606, 1), (163610, 2), (163613, 1), (163614, 1), (163615, 1), (163618, 2), (163621, 1), (163622, 1), (163623, 1), (163630, 1), (163631, 1), (163633, 2), (163634, 2), (163635, 2), (163637, 1), (163639, 1), (163642, 2), (163645, 1), (163646, 1), (163649, 2), (163653, 1), (163654, 1), (163655, 1), (163657, 2), (163658, 2), (163661, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero819 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos819 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck819

#print axioms MonskyCheck819.sel_zero819
#print axioms MonskyCheck819.sel_pos819

bsd/MonskyCheck82.lean

lean_all/bsd/MonskyCheck82.lean

/-
  bsd/MonskyCheck82.lean — T39 cycle 426 (goal G141): Monsky's 2-Selmer matrix for squarefree 16201 ≤ n ≤ 16400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck82
open MonskyCheck

def zeroList : List Nat := [16202, 16203, 16210, 16233, 16234, 16242, 16243, 16251, 16257, 16258, 16267, 16283, 16289, 16291, 16297, 16305, 16307, 16313, 16314, 16321, 16323, 16329, 16330, 16338, 16339, 16345, 16354, 16363, 16370, 16377, 16386, 16387, 16395]
def posList : List (Nat × Nat) := [(16201, 4), (16205, 1), (16206, 3), (16207, 1), (16211, 2), (16213, 1), (16215, 1), (16217, 2), (16221, 1), (16222, 1), (16223, 1), (16226, 2), (16229, 1), (16230, 1), (16231, 1), (16235, 2), (16237, 3), (16238, 3), (16239, 1), (16241, 2), (16246, 1), (16247, 1), (16249, 2), (16253, 1), (16255, 1), (16259, 2), (16261, 1), (16262, 1), (16265, 2), (16266, 2), (1626  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero82 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos82 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck82

#print axioms MonskyCheck82.sel_zero82
#print axioms MonskyCheck82.sel_pos82

bsd/MonskyCheck820.lean

lean_all/bsd/MonskyCheck820.lean

/-
  bsd/MonskyCheck820.lean — T39 cycle 1954 (goal G858): Monsky's 2-Selmer matrix for squarefree 163801 ≤ n ≤ 164000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck820
open MonskyCheck

def zeroList : List Nat := [163801, 163802, 163810, 163811, 163817, 163819, 163826, 163833, 163835, 163851, 163857, 163859, 163866, 163873, 163882, 163883, 163889, 163891, 163898, 163913, 163915, 163922, 163938, 163946, 163961, 163970, 163977, 163978, 163979, 163987]
def posList : List (Nat × Nat) := [(163803, 2), (163806, 1), (163813, 3), (163814, 1), (163815, 1), (163821, 1), (163822, 1), (163823, 1), (163829, 1), (163830, 1), (163831, 1), (163837, 1), (163838, 1), (163839, 1), (163841, 2), (163842, 2), (163843, 2), (163846, 1), (163847, 1), (163849, 2), (163853, 1), (163855, 1), (163858, 2), (163861, 1), (163862, 1), (163865, 4), (163867, 2), (163869, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero820 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos820 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck820

#print axioms MonskyCheck820.sel_zero820
#print axioms MonskyCheck820.sel_pos820

bsd/MonskyCheck821.lean

lean_all/bsd/MonskyCheck821.lean

/-
  bsd/MonskyCheck821.lean — T39 cycle 1956 (goal G859): Monsky's 2-Selmer matrix for squarefree 164001 ≤ n ≤ 164200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck821
open MonskyCheck

def zeroList : List Nat := [164001, 164002, 164010, 164011, 164026, 164027, 164042, 164051, 164058, 164073, 164074, 164090, 164091, 164098, 164105, 164121, 164123, 164131, 164138, 164139, 164145, 164147, 164153, 164154, 164170, 164171, 164179, 164185, 164186, 164193, 164194]
def posList : List (Nat × Nat) := [(164005, 3), (164006, 1), (164009, 4), (164013, 3), (164014, 1), (164015, 1), (164017, 2), (164018, 2), (164019, 2), (164021, 1), (164022, 3), (164023, 1), (164029, 3), (164030, 1), (164031, 1), (164033, 2), (164035, 2), (164037, 1), (164038, 1), (164039, 1), (164041, 2), (164045, 1), (164046, 1), (164047, 1), (164049, 2), (164053, 1), (164054, 1), (164055, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero821 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos821 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck821

#print axioms MonskyCheck821.sel_zero821
#print axioms MonskyCheck821.sel_pos821

bsd/MonskyCheck822.lean

lean_all/bsd/MonskyCheck822.lean

/-
  bsd/MonskyCheck822.lean — T39 cycle 1958 (goal G859): Monsky's 2-Selmer matrix for squarefree 164201 ≤ n ≤ 164400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck822
open MonskyCheck

def zeroList : List Nat := [164202, 164203, 164210, 164211, 164219, 164234, 164235, 164242, 164243, 164251, 164257, 164267, 164274, 164282, 164283, 164290, 164291, 164298, 164299, 164307, 164329, 164330, 164337, 164347, 164354, 164355, 164361, 164362, 164363, 164370, 164371, 164378, 164387]
def posList : List (Nat × Nat) := [(164201, 2), (164206, 1), (164207, 1), (164209, 2), (164213, 1), (164215, 1), (164217, 2), (164218, 2), (164221, 3), (164222, 1), (164226, 2), (164227, 2), (164229, 1), (164230, 1), (164231, 1), (164233, 2), (164237, 1), (164238, 1), (164239, 1), (164245, 1), (164246, 1), (164247, 1), (164249, 2), (164253, 1), (164254, 1), (164258, 2), (164261, 3), (164262, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero822 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos822 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck822

#print axioms MonskyCheck822.sel_zero822
#print axioms MonskyCheck822.sel_pos822

bsd/MonskyCheck823.lean

lean_all/bsd/MonskyCheck823.lean

/-
  bsd/MonskyCheck823.lean — T39 cycle 1960 (goal G859): Monsky's 2-Selmer matrix for squarefree 164401 ≤ n ≤ 164600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck823
open MonskyCheck

def zeroList : List Nat := [164409, 164411, 164417, 164418, 164419, 164427, 164435, 164443, 164451, 164458, 164467, 164474, 164481, 164483, 164490, 164499, 164506, 164514, 164521, 164522, 164523, 164530, 164531, 164546, 164553, 164554, 164562, 164563, 164571, 164578, 164587, 164593, 164595]
def posList : List (Nat × Nat) := [(164401, 2), (164402, 2), (164405, 1), (164406, 1), (164407, 3), (164410, 4), (164413, 1), (164414, 1), (164415, 1), (164422, 1), (164423, 1), (164426, 2), (164429, 1), (164431, 1), (164433, 2), (164434, 2), (164438, 1), (164442, 2), (164445, 1), (164446, 1), (164447, 1), (164449, 2), (164453, 1), (164454, 3), (164455, 3), (164459, 2), (164461, 1), (164462, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero823 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos823 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck823

#print axioms MonskyCheck823.sel_zero823
#print axioms MonskyCheck823.sel_pos823

bsd/MonskyCheck824.lean

lean_all/bsd/MonskyCheck824.lean

/-
  bsd/MonskyCheck824.lean — T39 cycle 1962 (goal G859): Monsky's 2-Selmer matrix for squarefree 164601 ≤ n ≤ 164800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck824
open MonskyCheck

def zeroList : List Nat := [164602, 164611, 164626, 164627, 164634, 164643, 164649, 164651, 164658, 164666, 164667, 164683, 164690, 164698, 164707, 164721, 164739, 164746, 164747, 164753, 164755, 164762, 164769, 164770, 164771, 164778, 164793, 164795]
def posList : List (Nat × Nat) := [(164603, 2), (164605, 1), (164607, 1), (164609, 4), (164613, 1), (164614, 1), (164615, 1), (164617, 2), (164618, 2), (164621, 1), (164622, 1), (164623, 1), (164629, 3), (164630, 1), (164631, 1), (164633, 2), (164635, 2), (164638, 3), (164639, 1), (164641, 2), (164642, 2), (164645, 1), (164647, 1), (164653, 1), (164654, 1), (164657, 2), (164659, 2), (164661, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero824 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos824 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck824

#print axioms MonskyCheck824.sel_zero824
#print axioms MonskyCheck824.sel_pos824

bsd/MonskyCheck825.lean

lean_all/bsd/MonskyCheck825.lean

/-
  bsd/MonskyCheck825.lean — T39 cycle 1964 (goal G859): Monsky's 2-Selmer matrix for squarefree 164801 ≤ n ≤ 165000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck825
open MonskyCheck

def zeroList : List Nat := [164801, 164811, 164827, 164841, 164842, 164851, 164857, 164858, 164865, 164867, 164882, 164890, 164891, 164906, 164913, 164915, 164921, 164922, 164929, 164930, 164937, 164938, 164954, 164955, 164963, 164978, 164986, 164987, 164993]
def posList : List (Nat × Nat) := [(164803, 2), (164805, 1), (164806, 3), (164807, 1), (164809, 2), (164810, 2), (164813, 1), (164814, 1), (164815, 1), (164818, 2), (164819, 2), (164821, 1), (164822, 1), (164823, 1), (164829, 3), (164830, 1), (164831, 1), (164833, 2), (164834, 2), (164837, 1), (164838, 3), (164839, 1), (164843, 2), (164845, 3), (164846, 1), (164847, 1), (164849, 2), (164854, 3), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero825 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos825 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck825

#print axioms MonskyCheck825.sel_zero825
#print axioms MonskyCheck825.sel_pos825

bsd/MonskyCheck826.lean

lean_all/bsd/MonskyCheck826.lean

/-
  bsd/MonskyCheck826.lean — T39 cycle 1966 (goal G859): Monsky's 2-Selmer matrix for squarefree 165001 ≤ n ≤ 165200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck826
open MonskyCheck

def zeroList : List Nat := [165002, 165003, 165009, 165010, 165018, 165026, 165034, 165059, 165066, 165067, 165074, 165083, 165098, 165099, 165115, 165121, 165129, 165131, 165138, 165139, 165147, 165153, 165154, 165155, 165169, 165170, 165187]
def posList : List (Nat × Nat) := [(165001, 2), (165005, 3), (165007, 1), (165011, 2), (165013, 1), (165014, 1), (165017, 2), (165021, 1), (165022, 1), (165023, 1), (165027, 2), (165029, 1), (165030, 1), (165031, 1), (165035, 2), (165037, 1), (165038, 1), (165039, 1), (165041, 2), (165043, 2), (165045, 1), (165046, 1), (165047, 1), (165049, 2), (165053, 1), (165054, 1), (165055, 3), (165057, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero826 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos826 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck826

#print axioms MonskyCheck826.sel_zero826
#print axioms MonskyCheck826.sel_pos826

bsd/MonskyCheck827.lean

lean_all/bsd/MonskyCheck827.lean

/-
  bsd/MonskyCheck827.lean — T39 cycle 1968 (goal G859): Monsky's 2-Selmer matrix for squarefree 165201 ≤ n ≤ 165400, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck827
open MonskyCheck

def zeroList : List Nat := [165201, 165203, 165210, 165211, 165217, 165219, 165226, 165234, 165235, 165243, 165273, 165281, 165289, 165297, 165299, 165305, 165307, 165322, 165331, 165345, 165354, 165369, 165370, 165377, 165379, 165387]
def posList : List (Nat × Nat) := [(165202, 2), (165205, 1), (165206, 1), (165207, 1), (165209, 2), (165214, 1), (165215, 1), (165218, 2), (165221, 1), (165223, 1), (165227, 2), (165229, 1), (165230, 1), (165233, 2), (165237, 1), (165238, 1), (165239, 1), (165241, 2), (165242, 2), (165245, 3), (165246, 1), (165247, 1), (165251, 2), (165253, 1), (165254, 1), (165255, 1), (165257, 2), (165259, 2), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero827 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos827 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck827

#print axioms MonskyCheck827.sel_zero827
#print axioms MonskyCheck827.sel_pos827

bsd/MonskyCheck828.lean

lean_all/bsd/MonskyCheck828.lean

/-
  bsd/MonskyCheck828.lean — T39 cycle 1970 (goal G859): Monsky's 2-Selmer matrix for squarefree 165401 ≤ n ≤ 165600, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck828
open MonskyCheck

def zeroList : List Nat := [165409, 165418, 165433, 165434, 165435, 165441, 165443, 165467, 165482, 165489, 165490, 165498, 165506, 165513, 165514, 165523, 165530, 165538, 165539, 165554, 165562, 165579, 165585, 165587, 165593]
def posList : List (Nat × Nat) := [(165401, 4), (165403, 2), (165405, 1), (165406, 3), (165410, 2), (165413, 3), (165414, 3), (165415, 1), (165417, 2), (165419, 2), (165421, 1), (165422, 1), (165423, 1), (165426, 2), (165427, 2), (165430, 1), (165431, 3), (165437, 1), (165439, 1), (165442, 2), (165445, 1), (165446, 1), (165449, 2), (165453, 1), (165454, 1), (165455, 1), (165457, 2), (165458, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero828 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos828 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck828

#print axioms MonskyCheck828.sel_zero828
#print axioms MonskyCheck828.sel_pos828

bsd/MonskyCheck829.lean

lean_all/bsd/MonskyCheck829.lean

/-
  bsd/MonskyCheck829.lean — T39 cycle 1972 (goal G859): Monsky's 2-Selmer matrix for squarefree 165601 ≤ n ≤ 165800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck829
open MonskyCheck

def zeroList : List Nat := [165611, 165619, 165626, 165635, 165642, 165643, 165651, 165657, 165658, 165666, 165667, 165674, 165682, 165691, 165698, 165705, 165706, 165707, 165714, 165722, 165723, 165729, 165730, 165737, 165739, 165763, 165777, 165779, 165786, 165787, 165794, 165795]
def posList : List (Nat × Nat) := [(165601, 2), (165602, 2), (165603, 2), (165605, 1), (165606, 1), (165607, 1), (165610, 2), (165613, 1), (165614, 3), (165615, 3), (165617, 2), (165621, 1), (165622, 1), (165623, 1), (165629, 3), (165630, 3), (165631, 3), (165633, 2), (165634, 2), (165637, 3), (165638, 3), (165639, 1), (165641, 2), (165646, 1), (165647, 3), (165653, 1), (165655, 1), (165659, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero829 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos829 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck829

#print axioms MonskyCheck829.sel_zero829
#print axioms MonskyCheck829.sel_pos829

bsd/MonskyCheck83.lean

lean_all/bsd/MonskyCheck83.lean

/-
  bsd/MonskyCheck83.lean — T39 cycle 427 (goal G142): Monsky's 2-Selmer matrix for squarefree 16401 ≤ n ≤ 16600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck83
open MonskyCheck

def zeroList : List Nat := [16401, 16402, 16403, 16410, 16411, 16427, 16435, 16442, 16449, 16451, 16458, 16459, 16467, 16474, 16489, 16490, 16499, 16521, 16522, 16523, 16538, 16545, 16547, 16554, 16555, 16570, 16586, 16593]
def posList : List (Nat × Nat) := [(16405, 1), (16406, 1), (16409, 2), (16413, 1), (16414, 1), (16417, 2), (16418, 2), (16419, 2), (16421, 1), (16422, 1), (16423, 1), (16426, 2), (16429, 1), (16430, 1), (16431, 1), (16433, 2), (16437, 1), (16438, 1), (16439, 3), (16441, 4), (16445, 1), (16446, 1), (16447, 1), (16453, 1), (16454, 1), (16455, 1), (16457, 2), (16462, 1), (16463, 1), (16465, 2), (1646  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero83 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos83 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck83

#print axioms MonskyCheck83.sel_zero83
#print axioms MonskyCheck83.sel_pos83

bsd/MonskyCheck830.lean

lean_all/bsd/MonskyCheck830.lean

/-
  bsd/MonskyCheck830.lean — T39 cycle 1974 (goal G859): Monsky's 2-Selmer matrix for squarefree 165801 ≤ n ≤ 166000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck830
open MonskyCheck

def zeroList : List Nat := [165801, 165802, 165811, 165842, 165849, 165851, 165858, 165859, 165867, 165873, 165874, 165883, 165889, 165898, 165899, 165913, 165921, 165923, 165931, 165937, 165938, 165939, 165945, 165946, 165947, 165962, 165977, 165979, 165986, 165993, 165994]
def posList : List (Nat × Nat) := [(165803, 2), (165805, 3), (165806, 1), (165809, 2), (165810, 2), (165813, 1), (165814, 1), (165815, 3), (165817, 2), (165818, 2), (165819, 2), (165821, 1), (165822, 1), (165823, 3), (165826, 2), (165827, 2), (165829, 1), (165830, 3), (165831, 1), (165833, 2), (165835, 2), (165837, 1), (165838, 1), (165839, 3), (165841, 2), (165845, 3), (165846, 1), (165847, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero830 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos830 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck830

#print axioms MonskyCheck830.sel_zero830
#print axioms MonskyCheck830.sel_pos830

bsd/MonskyCheck831.lean

lean_all/bsd/MonskyCheck831.lean

/-
  bsd/MonskyCheck831.lean — T39 cycle 1992 (goal G869): Monsky's 2-Selmer matrix for squarefree 166001 ≤ n ≤ 166200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck831
open MonskyCheck

def zeroList : List Nat := [166001, 166002, 166011, 166017, 166026, 166027, 166034, 166035, 166043, 166057, 166058, 166066, 166089, 166090, 166097, 166099, 166107, 166114, 166115, 166121, 166123, 166130, 166137, 166145, 166146, 166147, 166154, 166162, 166170, 166171, 166177, 166186, 166193, 166195]
def posList : List (Nat × Nat) := [(166003, 2), (166006, 1), (166007, 1), (166009, 4), (166010, 2), (166013, 1), (166015, 1), (166018, 2), (166019, 4), (166021, 1), (166022, 3), (166029, 1), (166030, 1), (166031, 1), (166033, 2), (166037, 1), (166038, 3), (166039, 3), (166042, 2), (166045, 1), (166046, 1), (166047, 1), (166049, 2), (166051, 2), (166053, 1), (166054, 1), (166055, 1), (166062, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero831 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos831 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck831

#print axioms MonskyCheck831.sel_zero831
#print axioms MonskyCheck831.sel_pos831

bsd/MonskyCheck832.lean

lean_all/bsd/MonskyCheck832.lean

/-
  bsd/MonskyCheck832.lean — T39 cycle 1994 (goal G869): Monsky's 2-Selmer matrix for squarefree 166201 ≤ n ≤ 166400, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck832
open MonskyCheck

def zeroList : List Nat := [166202, 166210, 166211, 166218, 166219, 166233, 166234, 166235, 166242, 166243, 166249, 166259, 166265, 166267, 166282, 166290, 166291, 166299, 166305, 166307, 166314, 166315, 166321, 166322, 166330, 166331, 166345, 166346, 166363, 166370, 166371, 166377, 166379, 166386, 166387, 166395]
def posList : List (Nat × Nat) := [(166201, 2), (166205, 1), (166206, 1), (166207, 1), (166209, 2), (166213, 1), (166214, 3), (166215, 1), (166217, 2), (166222, 3), (166223, 3), (166226, 2), (166227, 2), (166229, 1), (166231, 1), (166237, 1), (166238, 1), (166241, 2), (166245, 1), (166246, 1), (166247, 1), (166251, 2), (166255, 3), (166258, 4), (166261, 3), (166262, 1), (166263, 1), (166269, 1), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero832 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos832 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck832

#print axioms MonskyCheck832.sel_zero832
#print axioms MonskyCheck832.sel_pos832

bsd/MonskyCheck833.lean

lean_all/bsd/MonskyCheck833.lean

/-
  bsd/MonskyCheck833.lean — T39 cycle 1996 (goal G869): Monsky's 2-Selmer matrix for squarefree 166401 ≤ n ≤ 166600, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck833
open MonskyCheck

def zeroList : List Nat := [166403, 166426, 166434, 166435, 166441, 166442, 166451, 166459, 166474, 166483, 166497, 166506, 166523, 166529, 166538, 166539, 166562, 166569, 166570, 166571, 166578, 166586, 166587]
def posList : List (Nat × Nat) := [(166402, 2), (166405, 1), (166406, 1), (166407, 1), (166409, 2), (166411, 2), (166413, 1), (166414, 1), (166415, 3), (166417, 2), (166418, 2), (166422, 1), (166423, 1), (166427, 2), (166429, 1), (166430, 3), (166431, 1), (166433, 2), (166438, 1), (166439, 1), (166443, 2), (166445, 3), (166447, 3), (166449, 2), (166454, 1), (166457, 2), (166458, 2), (166461, 1), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero833 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos833 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck833

#print axioms MonskyCheck833.sel_zero833
#print axioms MonskyCheck833.sel_pos833

bsd/MonskyCheck834.lean

lean_all/bsd/MonskyCheck834.lean

/-
  bsd/MonskyCheck834.lean — T39 cycle 1998 (goal G869): Monsky's 2-Selmer matrix for squarefree 166601 ≤ n ≤ 166800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck834
open MonskyCheck

def zeroList : List Nat := [166603, 166610, 166611, 166619, 166627, 166641, 166643, 166651, 166659, 166666, 166667, 166674, 166682, 166683, 166690, 166691, 166699, 166705, 166706, 166714, 166715, 166722, 166723, 166730, 166731, 166737, 166739, 166755, 166762, 166763, 166778, 166794]
def posList : List (Nat × Nat) := [(166601, 2), (166602, 2), (166605, 1), (166606, 1), (166607, 3), (166609, 2), (166613, 1), (166614, 1), (166615, 1), (166618, 2), (166621, 1), (166622, 1), (166623, 1), (166629, 1), (166630, 1), (166631, 1), (166633, 4), (166637, 1), (166638, 1), (166639, 1), (166642, 2), (166645, 3), (166646, 1), (166647, 3), (166654, 1), (166655, 1), (166657, 2), (166658, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero834 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos834 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck834

#print axioms MonskyCheck834.sel_zero834
#print axioms MonskyCheck834.sel_pos834

bsd/MonskyCheck835.lean

lean_all/bsd/MonskyCheck835.lean

/-
  bsd/MonskyCheck835.lean — T39 cycle 2000 (goal G869): Monsky's 2-Selmer matrix for squarefree 166801 ≤ n ≤ 167000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck835
open MonskyCheck

def zeroList : List Nat := [166801, 166809, 166818, 166826, 166835, 166843, 166857, 166865, 166867, 166874, 166882, 166890, 166907, 166913, 166915, 166930, 166931, 166938, 166946, 166954, 166962, 166970, 166979, 166985, 166987]
def posList : List (Nat × Nat) := [(166802, 2), (166805, 1), (166807, 1), (166810, 2), (166811, 2), (166813, 1), (166814, 1), (166817, 2), (166819, 2), (166821, 1), (166822, 1), (166823, 1), (166827, 2), (166829, 1), (166830, 3), (166831, 1), (166834, 2), (166837, 1), (166838, 1), (166839, 1), (166841, 2), (166846, 1), (166847, 1), (166849, 2), (166853, 1), (166854, 1), (166855, 1), (166858, 2), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero835 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos835 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck835

#print axioms MonskyCheck835.sel_zero835
#print axioms MonskyCheck835.sel_pos835

bsd/MonskyCheck836.lean

lean_all/bsd/MonskyCheck836.lean

/-
  bsd/MonskyCheck836.lean — T39 cycle 2002 (goal G869): Monsky's 2-Selmer matrix for squarefree 167001 ≤ n ≤ 167200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck836
open MonskyCheck

def zeroList : List Nat := [167001, 167002, 167003, 167010, 167019, 167027, 167051, 167057, 167059, 167066, 167073, 167082, 167083, 167091, 167098, 167099, 167106, 167107, 167114, 167115, 167123, 167131, 167145, 167162, 167163, 167186, 167194]
def posList : List (Nat × Nat) := [(167005, 1), (167006, 3), (167007, 1), (167009, 2), (167011, 2), (167014, 3), (167015, 1), (167017, 2), (167021, 1), (167023, 1), (167026, 2), (167029, 1), (167030, 1), (167033, 2), (167034, 2), (167035, 2), (167037, 1), (167038, 1), (167039, 1), (167043, 2), (167045, 3), (167046, 1), (167047, 1), (167053, 3), (167054, 1), (167055, 1), (167061, 1), (167062, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero836 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos836 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck836

#print axioms MonskyCheck836.sel_zero836
#print axioms MonskyCheck836.sel_pos836

bsd/MonskyCheck837.lean

lean_all/bsd/MonskyCheck837.lean

/-
  bsd/MonskyCheck837.lean — T39 cycle 2004 (goal G869): Monsky's 2-Selmer matrix for squarefree 167201 ≤ n ≤ 167400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck837
open MonskyCheck

def zeroList : List Nat := [167203, 167219, 167226, 167227, 167233, 167242, 167243, 167257, 167258, 167266, 167267, 167289, 167291, 167298, 167306, 167307, 167313, 167314, 167321, 167322, 167339, 167347, 167361, 167370, 167379, 167386, 167394]
def posList : List (Nat × Nat) := [(167201, 2), (167205, 1), (167206, 1), (167207, 1), (167209, 2), (167210, 2), (167213, 1), (167215, 1), (167217, 2), (167218, 2), (167221, 1), (167223, 1), (167230, 1), (167231, 3), (167234, 2), (167235, 2), (167239, 3), (167241, 2), (167245, 1), (167246, 1), (167249, 2), (167251, 2), (167253, 1), (167254, 3), (167255, 3), (167259, 2), (167261, 1), (167262, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero837 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos837 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck837

#print axioms MonskyCheck837.sel_zero837
#print axioms MonskyCheck837.sel_pos837

bsd/MonskyCheck838.lean

lean_all/bsd/MonskyCheck838.lean

/-
  bsd/MonskyCheck838.lean — T39 cycle 2006 (goal G869): Monsky's 2-Selmer matrix for squarefree 167401 ≤ n ≤ 167600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck838
open MonskyCheck

def zeroList : List Nat := [167402, 167403, 167410, 167419, 167434, 167435, 167442, 167443, 167451, 167457, 167458, 167459, 167466, 167483, 167491, 167497, 167498, 167505, 167506, 167507, 167514, 167515, 167523, 167529, 167539, 167545, 167546, 167555, 167561, 167570, 167586, 167587, 167595]
def posList : List (Nat × Nat) := [(167401, 2), (167405, 1), (167406, 1), (167407, 1), (167411, 2), (167413, 1), (167414, 1), (167415, 3), (167417, 2), (167421, 1), (167422, 1), (167423, 1), (167426, 2), (167429, 1), (167430, 1), (167431, 1), (167437, 1), (167438, 1), (167439, 1), (167441, 2), (167446, 1), (167447, 1), (167449, 2), (167453, 1), (167455, 1), (167461, 1), (167462, 1), (167465, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero838 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos838 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck838

#print axioms MonskyCheck838.sel_zero838
#print axioms MonskyCheck838.sel_pos838

bsd/MonskyCheck839.lean

lean_all/bsd/MonskyCheck839.lean

/-
  bsd/MonskyCheck839.lean — T39 cycle 2008 (goal G869): Monsky's 2-Selmer matrix for squarefree 167601 ≤ n ≤ 167800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck839
open MonskyCheck

def zeroList : List Nat := [167601, 167611, 167618, 167619, 167626, 167627, 167635, 167642, 167651, 167658, 167667, 167682, 167683, 167699, 167707, 167721, 167722, 167737, 167738, 167745, 167747, 167753, 167755, 167761, 167771, 167779, 167785, 167786, 167793, 167794, 167795]
def posList : List (Nat × Nat) := [(167602, 2), (167603, 2), (167605, 3), (167606, 1), (167609, 2), (167610, 2), (167613, 1), (167614, 1), (167615, 1), (167617, 2), (167621, 1), (167622, 1), (167623, 1), (167630, 1), (167631, 1), (167633, 2), (167637, 1), (167638, 1), (167639, 1), (167641, 2), (167645, 3), (167646, 1), (167647, 1), (167649, 2), (167653, 1), (167654, 3), (167655, 1), (167657, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero839 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos839 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck839

#print axioms MonskyCheck839.sel_zero839
#print axioms MonskyCheck839.sel_pos839

bsd/MonskyCheck84.lean

lean_all/bsd/MonskyCheck84.lean

/-
  bsd/MonskyCheck84.lean — T39 cycle 428 (goal G143): Monsky's 2-Selmer matrix for squarefree 16601 ≤ n ≤ 16800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck84
open MonskyCheck

def zeroList : List Nat := [16602, 16603, 16617, 16619, 16627, 16634, 16635, 16642, 16651, 16665, 16689, 16690, 16691, 16697, 16699, 16715, 16730, 16737, 16746, 16747, 16753, 16755, 16763, 16770, 16777, 16778, 16787]
def posList : List (Nat × Nat) := [(16601, 2), (16607, 1), (16609, 4), (16610, 2), (16613, 1), (16615, 1), (16618, 2), (16621, 1), (16622, 1), (16626, 2), (16629, 1), (16630, 1), (16631, 1), (16633, 2), (16637, 1), (16638, 1), (16639, 3), (16643, 2), (16645, 3), (16646, 1), (16647, 1), (16649, 2), (16653, 1), (16654, 1), (16655, 1), (16657, 2), (16658, 2), (16661, 1), (16662, 1), (16663, 1), (1666  -- (+786 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero84 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos84 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck84

#print axioms MonskyCheck84.sel_zero84
#print axioms MonskyCheck84.sel_pos84

bsd/MonskyCheck840.lean

lean_all/bsd/MonskyCheck840.lean

/-
  bsd/MonskyCheck840.lean — T39 cycle 2010 (goal G869): Monsky's 2-Selmer matrix for squarefree 167801 ≤ n ≤ 168000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck840
open MonskyCheck

def zeroList : List Nat := [167802, 167811, 167818, 167819, 167826, 167843, 167849, 167866, 167867, 167882, 167890, 167891, 167897, 167899, 167906, 167914, 167915, 167929, 167937, 167946, 167955, 167961, 167969, 167971, 167987]
def posList : List (Nat × Nat) := [(167801, 2), (167803, 2), (167806, 1), (167807, 1), (167809, 2), (167810, 2), (167813, 1), (167815, 1), (167821, 3), (167822, 1), (167829, 1), (167830, 1), (167831, 3), (167833, 2), (167834, 2), (167835, 2), (167837, 1), (167838, 1), (167839, 3), (167842, 2), (167845, 3), (167846, 1), (167847, 1), (167851, 2), (167853, 1), (167854, 1), (167855, 1), (167857, 2), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero840 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos840 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck840

#print axioms MonskyCheck840.sel_zero840
#print axioms MonskyCheck840.sel_pos840

bsd/MonskyCheck841.lean

lean_all/bsd/MonskyCheck841.lean

/-
  bsd/MonskyCheck841.lean — T39 cycle 2012 (goal G870): Monsky's 2-Selmer matrix for squarefree 168001 ≤ n ≤ 168200, by rfl.
  s₂(n) = 0 for 36 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck841
open MonskyCheck

def zeroList : List Nat := [168001, 168009, 168011, 168017, 168026, 168027, 168033, 168035, 168042, 168043, 168051, 168058, 168067, 168073, 168081, 168083, 168090, 168091, 168097, 168106, 168114, 168115, 168122, 168130, 168131, 168139, 168146, 168153, 168154, 168162, 168169, 168171, 168179, 168187, 168194, 168195]
def posList : List (Nat × Nat) := [(168002, 2), (168005, 3), (168006, 1), (168007, 1), (168010, 2), (168013, 1), (168014, 1), (168015, 1), (168018, 2), (168019, 2), (168022, 1), (168023, 1), (168029, 1), (168031, 3), (168034, 2), (168037, 1), (168038, 1), (168041, 2), (168045, 1), (168046, 1), (168047, 1), (168049, 2), (168053, 1), (168054, 1), (168055, 1), (168059, 2), (168061, 1), (168062, 3), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero841 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos841 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck841

#print axioms MonskyCheck841.sel_zero841
#print axioms MonskyCheck841.sel_pos841

bsd/MonskyCheck842.lean

lean_all/bsd/MonskyCheck842.lean

/-
  bsd/MonskyCheck842.lean — T39 cycle 2014 (goal G870): Monsky's 2-Selmer matrix for squarefree 168201 ≤ n ≤ 168400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck842
open MonskyCheck

def zeroList : List Nat := [168203, 168209, 168211, 168227, 168234, 168235, 168241, 168243, 168249, 168251, 168267, 168283, 168289, 168290, 168297, 168299, 168306, 168321, 168323, 168329, 168331, 168346, 168347, 168362, 168369, 168370, 168377, 168378, 168386, 168393]
def posList : List (Nat × Nat) := [(168202, 2), (168205, 3), (168206, 3), (168207, 1), (168213, 1), (168214, 1), (168215, 1), (168218, 2), (168221, 3), (168223, 1), (168229, 3), (168230, 1), (168231, 1), (168233, 2), (168238, 1), (168239, 1), (168242, 2), (168245, 1), (168247, 1), (168253, 1), (168254, 1), (168257, 2), (168258, 2), (168261, 1), (168262, 1), (168263, 1), (168265, 2), (168269, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero842 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos842 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck842

#print axioms MonskyCheck842.sel_zero842
#print axioms MonskyCheck842.sel_pos842

bsd/MonskyCheck843.lean

lean_all/bsd/MonskyCheck843.lean

/-
  bsd/MonskyCheck843.lean — T39 cycle 2016 (goal G870): Monsky's 2-Selmer matrix for squarefree 168401 ≤ n ≤ 168600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck843
open MonskyCheck

def zeroList : List Nat := [168402, 168410, 168418, 168434, 168442, 168451, 168458, 168466, 168467, 168473, 168474, 168482, 168483, 168491, 168499, 168505, 168506, 168513, 168514, 168515, 168522, 168523, 168530, 168531, 168537, 168538, 168546, 168547, 168554, 168571, 168594, 168595]
def posList : List (Nat × Nat) := [(168401, 2), (168403, 2), (168405, 1), (168406, 1), (168407, 1), (168409, 2), (168411, 2), (168414, 1), (168415, 3), (168419, 2), (168421, 1), (168422, 1), (168423, 1), (168427, 2), (168429, 1), (168430, 1), (168431, 1), (168433, 2), (168437, 3), (168438, 3), (168439, 1), (168441, 2), (168443, 2), (168445, 1), (168446, 1), (168447, 1), (168449, 2), (168454, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero843 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos843 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck843

#print axioms MonskyCheck843.sel_zero843
#print axioms MonskyCheck843.sel_pos843

bsd/MonskyCheck844.lean

lean_all/bsd/MonskyCheck844.lean

/-
  bsd/MonskyCheck844.lean — T39 cycle 2018 (goal G870): Monsky's 2-Selmer matrix for squarefree 168601 ≤ n ≤ 168800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck844
open MonskyCheck

def zeroList : List Nat := [168602, 168610, 168618, 168619, 168634, 168635, 168641, 168643, 168657, 168659, 168665, 168666, 168667, 168681, 168682, 168689, 168691, 168698, 168699, 168706, 168715, 168722, 168731, 168738, 168739, 168746, 168747, 168753, 168762, 168771, 168778, 168794]
def posList : List (Nat × Nat) := [(168601, 2), (168603, 2), (168605, 3), (168607, 1), (168611, 2), (168613, 1), (168614, 1), (168617, 2), (168621, 1), (168622, 1), (168623, 1), (168626, 2), (168627, 2), (168629, 1), (168630, 1), (168631, 1), (168637, 1), (168638, 1), (168639, 1), (168645, 1), (168646, 1), (168647, 3), (168649, 2), (168653, 1), (168654, 1), (168655, 1), (168661, 1), (168663, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero844 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos844 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck844

#print axioms MonskyCheck844.sel_zero844
#print axioms MonskyCheck844.sel_pos844

bsd/MonskyCheck845.lean

lean_all/bsd/MonskyCheck845.lean

/-
  bsd/MonskyCheck845.lean — T39 cycle 2020 (goal G870): Monsky's 2-Selmer matrix for squarefree 168801 ≤ n ≤ 169000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck845
open MonskyCheck

def zeroList : List Nat := [168801, 168803, 168811, 168818, 168826, 168827, 168835, 168842, 168851, 168857, 168859, 168873, 168874, 168883, 168891, 168897, 168899, 168905, 168907, 168915, 168922, 168923, 168938, 168945, 168953, 168954, 168969, 168978, 168986, 168987, 168995]
def posList : List (Nat × Nat) := [(168802, 2), (168806, 1), (168807, 1), (168809, 2), (168810, 2), (168814, 1), (168815, 1), (168817, 2), (168819, 2), (168821, 3), (168823, 3), (168829, 1), (168830, 1), (168833, 2), (168834, 2), (168837, 3), (168838, 1), (168839, 1), (168841, 2), (168843, 2), (168845, 3), (168846, 1), (168847, 1), (168853, 1), (168855, 1), (168861, 1), (168862, 1), (168863, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero845 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos845 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck845

#print axioms MonskyCheck845.sel_zero845
#print axioms MonskyCheck845.sel_pos845

bsd/MonskyCheck846.lean

lean_all/bsd/MonskyCheck846.lean

/-
  bsd/MonskyCheck846.lean — T39 cycle 2022 (goal G870): Monsky's 2-Selmer matrix for squarefree 169001 ≤ n ≤ 169200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck846
open MonskyCheck

def zeroList : List Nat := [169003, 169010, 169017, 169018, 169019, 169026, 169033, 169059, 169066, 169067, 169081, 169089, 169091, 169098, 169107, 169113, 169114, 169115, 169121, 169122, 169130, 169138, 169147, 169154, 169163, 169178, 169179, 169186, 169194, 169195]
def posList : List (Nat × Nat) := [(169005, 1), (169006, 1), (169007, 1), (169009, 2), (169013, 3), (169014, 3), (169015, 1), (169021, 1), (169022, 1), (169023, 1), (169027, 2), (169030, 1), (169031, 1), (169034, 2), (169035, 2), (169039, 1), (169042, 2), (169043, 2), (169045, 3), (169046, 1), (169049, 2), (169051, 2), (169053, 1), (169054, 1), (169055, 1), (169057, 2), (169058, 4), (169061, 3), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero846 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos846 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck846

#print axioms MonskyCheck846.sel_zero846
#print axioms MonskyCheck846.sel_pos846

bsd/MonskyCheck847.lean

lean_all/bsd/MonskyCheck847.lean

/-
  bsd/MonskyCheck847.lean — T39 cycle 2024 (goal G870): Monsky's 2-Selmer matrix for squarefree 169201 ≤ n ≤ 169400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck847
open MonskyCheck

def zeroList : List Nat := [169202, 169219, 169226, 169233, 169234, 169235, 169242, 169243, 169251, 169258, 169259, 169266, 169267, 169282, 169283, 169305, 169306, 169307, 169314, 169315, 169322, 169329, 169331, 169339, 169347, 169363, 169370, 169378, 169379, 169385, 169386]
def posList : List (Nat × Nat) := [(169201, 2), (169203, 2), (169205, 1), (169206, 3), (169207, 1), (169210, 2), (169211, 2), (169213, 1), (169214, 3), (169215, 1), (169217, 2), (169221, 1), (169222, 1), (169223, 1), (169229, 1), (169230, 3), (169231, 1), (169237, 1), (169238, 1), (169239, 1), (169241, 2), (169247, 1), (169249, 2), (169253, 1), (169255, 1), (169257, 2), (169261, 1), (169262, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero847 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos847 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck847

#print axioms MonskyCheck847.sel_zero847
#print axioms MonskyCheck847.sel_pos847

bsd/MonskyCheck848.lean

lean_all/bsd/MonskyCheck848.lean

/-
  bsd/MonskyCheck848.lean — T39 cycle 2026 (goal G870): Monsky's 2-Selmer matrix for squarefree 169401 ≤ n ≤ 169600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck848
open MonskyCheck

def zeroList : List Nat := [169401, 169402, 169403, 169427, 169433, 169441, 169449, 169451, 169458, 169466, 169467, 169473, 169483, 169499, 169513, 169514, 169523, 169531, 169537, 169539, 169546, 169562, 169563, 169571, 169577, 169593, 169594, 169595]
def posList : List (Nat × Nat) := [(169405, 1), (169406, 3), (169409, 2), (169410, 2), (169411, 2), (169413, 1), (169414, 1), (169415, 3), (169417, 2), (169418, 2), (169419, 2), (169421, 1), (169422, 1), (169423, 1), (169426, 2), (169429, 1), (169430, 1), (169431, 1), (169435, 2), (169437, 1), (169438, 1), (169439, 1), (169445, 3), (169446, 1), (169447, 1), (169453, 3), (169454, 1), (169455, 3), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero848 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos848 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck848

#print axioms MonskyCheck848.sel_zero848
#print axioms MonskyCheck848.sel_pos848

bsd/MonskyCheck849.lean

lean_all/bsd/MonskyCheck849.lean

/-
  bsd/MonskyCheck849.lean — T39 cycle 2028 (goal G870): Monsky's 2-Selmer matrix for squarefree 169601 ≤ n ≤ 169800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck849
open MonskyCheck

def zeroList : List Nat := [169602, 169611, 169619, 169626, 169627, 169635, 169651, 169658, 169667, 169674, 169682, 169689, 169691, 169697, 169698, 169715, 169721, 169723, 169737, 169738, 169755, 169770, 169778, 169779, 169786, 169787]
def posList : List (Nat × Nat) := [(169601, 2), (169603, 2), (169606, 1), (169607, 1), (169609, 2), (169610, 2), (169613, 1), (169615, 1), (169617, 2), (169618, 2), (169621, 3), (169622, 1), (169629, 1), (169630, 1), (169631, 1), (169633, 2), (169634, 2), (169637, 3), (169639, 1), (169645, 1), (169646, 1), (169647, 3), (169649, 2), (169653, 3), (169654, 1), (169655, 1), (169657, 2), (169661, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero849 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos849 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck849

#print axioms MonskyCheck849.sel_zero849
#print axioms MonskyCheck849.sel_pos849

bsd/MonskyCheck85.lean

lean_all/bsd/MonskyCheck85.lean

/-
  bsd/MonskyCheck85.lean — T39 cycle 429 (goal G144): Monsky's 2-Selmer matrix for squarefree 16801 ≤ n ≤ 17000, by rfl.
  s₂(n) = 0 for 39 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 83 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck85
open MonskyCheck

def zeroList : List Nat := [16809, 16811, 16817, 16818, 16826, 16833, 16834, 16841, 16842, 16843, 16851, 16858, 16859, 16867, 16874, 16881, 16883, 16890, 16891, 16899, 16906, 16914, 16915, 16922, 16930, 16931, 16946, 16953, 16962, 16963, 16970, 16971, 16977, 16978, 16979, 16986, 16987, 16994, 16995]
def posList : List (Nat × Nat) := [(16801, 2), (16802, 2), (16805, 3), (16806, 1), (16813, 1), (16814, 3), (16815, 1), (16822, 1), (16823, 1), (16827, 2), (16829, 1), (16831, 1), (16835, 2), (16837, 3), (16838, 1), (16845, 1), (16846, 1), (16847, 1), (16849, 2), (16853, 1), (16855, 1), (16861, 3), (16862, 1), (16863, 1), (16865, 2), (16869, 1), (16870, 1), (16871, 1), (16873, 2), (16877, 1), (1687  -- (+630 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero85 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos85 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck85

#print axioms MonskyCheck85.sel_zero85
#print axioms MonskyCheck85.sel_pos85

bsd/MonskyCheck850.lean

lean_all/bsd/MonskyCheck850.lean

/-
  bsd/MonskyCheck850.lean — T39 cycle 2030 (goal G870): Monsky's 2-Selmer matrix for squarefree 169801 ≤ n ≤ 170000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck850
open MonskyCheck

def zeroList : List Nat := [169810, 169811, 169818, 169819, 169827, 169833, 169835, 169841, 169842, 169843, 169851, 169859, 169873, 169874, 169881, 169891, 169897, 169899, 169906, 169907, 169915, 169930, 169931, 169961, 169963, 169970, 169977, 169979, 169987, 169993, 169994]
def posList : List (Nat × Nat) := [(169801, 2), (169802, 2), (169805, 3), (169806, 3), (169807, 1), (169813, 1), (169814, 1), (169815, 1), (169817, 2), (169822, 1), (169823, 1), (169826, 2), (169829, 1), (169831, 1), (169837, 1), (169838, 1), (169846, 1), (169847, 3), (169849, 2), (169853, 3), (169854, 1), (169855, 1), (169858, 2), (169861, 1), (169862, 1), (169863, 1), (169865, 2), (169867, 2), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero850 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos850 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck850

#print axioms MonskyCheck850.sel_zero850
#print axioms MonskyCheck850.sel_pos850

bsd/MonskyCheck851.lean

lean_all/bsd/MonskyCheck851.lean

/-
  bsd/MonskyCheck851.lean — T39 cycle 2034 (goal G871): Monsky's 2-Selmer matrix for squarefree 170001 ≤ n ≤ 170200, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck851
open MonskyCheck

def zeroList : List Nat := [170003, 170011, 170034, 170035, 170042, 170043, 170049, 170058, 170066, 170067, 170074, 170083, 170090, 170099, 170106, 170113, 170114, 170122, 170123, 170137, 170169, 170170, 170178, 170179, 170186, 170193, 170194]
def posList : List (Nat × Nat) := [(170002, 2), (170006, 1), (170007, 1), (170009, 2), (170013, 1), (170015, 1), (170017, 4), (170018, 2), (170021, 1), (170022, 3), (170023, 1), (170026, 2), (170027, 2), (170029, 1), (170033, 4), (170038, 1), (170039, 1), (170041, 2), (170045, 3), (170047, 1), (170051, 2), (170053, 3), (170054, 1), (170057, 2), (170059, 2), (170061, 1), (170062, 1), (170063, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero851 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos851 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck851

#print axioms MonskyCheck851.sel_zero851
#print axioms MonskyCheck851.sel_pos851

bsd/MonskyCheck852.lean

lean_all/bsd/MonskyCheck852.lean

/-
  bsd/MonskyCheck852.lean — T39 cycle 2036 (goal G871): Monsky's 2-Selmer matrix for squarefree 170201 ≤ n ≤ 170400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck852
open MonskyCheck

def zeroList : List Nat := [170202, 170203, 170210, 170218, 170219, 170227, 170233, 170241, 170243, 170258, 170259, 170266, 170267, 170290, 170297, 170299, 170313, 170322, 170323, 170330, 170337, 170347, 170354, 170355, 170362, 170363, 170371, 170377, 170387, 170395]
def posList : List (Nat × Nat) := [(170201, 2), (170205, 1), (170206, 1), (170207, 1), (170209, 2), (170211, 2), (170213, 1), (170214, 1), (170215, 1), (170222, 1), (170223, 1), (170229, 1), (170230, 1), (170231, 1), (170234, 2), (170237, 1), (170238, 1), (170239, 1), (170242, 2), (170245, 3), (170246, 1), (170249, 2), (170251, 2), (170254, 3), (170255, 1), (170257, 4), (170261, 1), (170263, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero852 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos852 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck852

#print axioms MonskyCheck852.sel_zero852
#print axioms MonskyCheck852.sel_pos852

bsd/MonskyCheck853.lean

lean_all/bsd/MonskyCheck853.lean

/-
  bsd/MonskyCheck853.lean — T39 cycle 2038 (goal G871): Monsky's 2-Selmer matrix for squarefree 170401 ≤ n ≤ 170600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck853
open MonskyCheck

def zeroList : List Nat := [170403, 170418, 170419, 170426, 170435, 170449, 170458, 170465, 170466, 170474, 170481, 170483, 170490, 170491, 170498, 170499, 170506, 170522, 170529, 170530, 170538, 170539, 170545, 170546, 170547, 170554, 170562, 170579, 170587]
def posList : List (Nat × Nat) := [(170401, 2), (170402, 2), (170405, 1), (170407, 3), (170409, 2), (170410, 2), (170411, 2), (170413, 1), (170414, 1), (170417, 2), (170421, 1), (170423, 1), (170427, 2), (170429, 1), (170430, 3), (170431, 1), (170434, 2), (170437, 3), (170438, 1), (170439, 1), (170441, 2), (170443, 2), (170445, 1), (170446, 1), (170447, 1), (170453, 1), (170454, 1), (170455, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero853 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos853 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck853

#print axioms MonskyCheck853.sel_zero853
#print axioms MonskyCheck853.sel_pos853

bsd/MonskyCheck854.lean

lean_all/bsd/MonskyCheck854.lean

/-
  bsd/MonskyCheck854.lean — T39 cycle 2040 (goal G871): Monsky's 2-Selmer matrix for squarefree 170601 ≤ n ≤ 170800, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck854
open MonskyCheck

def zeroList : List Nat := [170603, 170611, 170619, 170627, 170635, 170643, 170666, 170673, 170682, 170683, 170691, 170697, 170698, 170707, 170714, 170745, 170755, 170762, 170763, 170769, 170770, 170771, 170786]
def posList : List (Nat × Nat) := [(170601, 4), (170602, 2), (170605, 3), (170606, 1), (170607, 1), (170609, 2), (170614, 1), (170615, 1), (170617, 2), (170621, 1), (170623, 1), (170626, 2), (170629, 1), (170630, 1), (170633, 2), (170634, 2), (170637, 3), (170638, 1), (170639, 1), (170641, 2), (170642, 4), (170645, 3), (170646, 1), (170647, 1), (170651, 2), (170653, 1), (170654, 1), (170655, 1), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero854 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos854 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck854

#print axioms MonskyCheck854.sel_zero854
#print axioms MonskyCheck854.sel_pos854

bsd/MonskyCheck855.lean

lean_all/bsd/MonskyCheck855.lean

/-
  bsd/MonskyCheck855.lean — T39 cycle 2042 (goal G871): Monsky's 2-Selmer matrix for squarefree 170801 ≤ n ≤ 171000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck855
open MonskyCheck

def zeroList : List Nat := [170803, 170810, 170817, 170826, 170827, 170834, 170835, 170843, 170851, 170858, 170866, 170882, 170889, 170899, 170906, 170907, 170915, 170922, 170923, 170929, 170930, 170931, 170938, 170947, 170954, 170963, 170970, 170971, 170978, 170979, 170986, 170994]
def posList : List (Nat × Nat) := [(170801, 2), (170805, 1), (170806, 3), (170807, 1), (170809, 2), (170813, 1), (170815, 1), (170818, 2), (170819, 2), (170821, 3), (170822, 1), (170823, 1), (170830, 1), (170831, 1), (170833, 4), (170837, 1), (170839, 1), (170841, 2), (170842, 2), (170845, 1), (170846, 1), (170849, 2), (170853, 1), (170854, 1), (170855, 1), (170857, 2), (170861, 3), (170862, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero855 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos855 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck855

#print axioms MonskyCheck855.sel_zero855
#print axioms MonskyCheck855.sel_pos855

bsd/MonskyCheck856.lean

lean_all/bsd/MonskyCheck856.lean

/-
  bsd/MonskyCheck856.lean — T39 cycle 2044 (goal G871): Monsky's 2-Selmer matrix for squarefree 171001 ≤ n ≤ 171200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck856
open MonskyCheck

def zeroList : List Nat := [171019, 171033, 171034, 171041, 171042, 171043, 171057, 171066, 171082, 171091, 171098, 171106, 171115, 171121, 171123, 171130, 171131, 171138, 171139, 171147, 171163, 171170, 171177, 171178, 171179, 171185, 171193, 171194]
def posList : List (Nat × Nat) := [(171001, 2), (171002, 2), (171003, 2), (171005, 1), (171006, 1), (171007, 1), (171011, 2), (171013, 1), (171014, 1), (171015, 1), (171017, 2), (171021, 1), (171022, 1), (171023, 1), (171026, 2), (171029, 1), (171030, 1), (171031, 1), (171035, 2), (171037, 1), (171038, 1), (171039, 1), (171046, 1), (171047, 1), (171049, 2), (171051, 2), (171053, 1), (171055, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero856 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos856 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck856

#print axioms MonskyCheck856.sel_zero856
#print axioms MonskyCheck856.sel_pos856

bsd/MonskyCheck857.lean

lean_all/bsd/MonskyCheck857.lean

/-
  bsd/MonskyCheck857.lean — T39 cycle 2046 (goal G871): Monsky's 2-Selmer matrix for squarefree 171201 ≤ n ≤ 171400, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck857
open MonskyCheck

def zeroList : List Nat := [171203, 171209, 171217, 171218, 171226, 171227, 171235, 171242, 171251, 171258, 171266, 171267, 171281, 171282, 171299, 171307, 171313, 171314, 171321, 171322, 171331, 171338, 171345, 171355, 171361, 171370, 171386, 171393]
def posList : List (Nat × Nat) := [(171201, 2), (171202, 2), (171205, 1), (171210, 2), (171211, 2), (171213, 1), (171214, 1), (171219, 2), (171221, 1), (171222, 3), (171223, 1), (171229, 1), (171230, 1), (171231, 1), (171233, 2), (171237, 1), (171238, 1), (171239, 1), (171241, 2), (171245, 3), (171246, 1), (171247, 1), (171249, 2), (171253, 1), (171254, 1), (171257, 4), (171259, 2), (171262, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero857 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos857 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck857

#print axioms MonskyCheck857.sel_zero857
#print axioms MonskyCheck857.sel_pos857

bsd/MonskyCheck858.lean

lean_all/bsd/MonskyCheck858.lean

/-
  bsd/MonskyCheck858.lean — T39 cycle 2048 (goal G871): Monsky's 2-Selmer matrix for squarefree 171401 ≤ n ≤ 171600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck858
open MonskyCheck

def zeroList : List Nat := [171403, 171410, 171411, 171417, 171418, 171426, 171427, 171433, 171434, 171465, 171466, 171467, 171474, 171482, 171489, 171491, 171498, 171499, 171506, 171515, 171521, 171523, 171530, 171537, 171539, 171546, 171547, 171555, 171561, 171562, 171570, 171571, 171587]
def posList : List (Nat × Nat) := [(171401, 2), (171406, 1), (171407, 1), (171409, 2), (171413, 1), (171415, 1), (171419, 4), (171421, 3), (171422, 1), (171429, 1), (171430, 1), (171431, 1), (171435, 2), (171437, 3), (171438, 1), (171439, 1), (171442, 2), (171443, 2), (171445, 1), (171446, 3), (171447, 1), (171449, 2), (171453, 1), (171454, 1), (171455, 1), (171458, 2), (171461, 1), (171463, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero858 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos858 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck858

#print axioms MonskyCheck858.sel_zero858
#print axioms MonskyCheck858.sel_pos858

bsd/MonskyCheck859.lean

lean_all/bsd/MonskyCheck859.lean

/-
  bsd/MonskyCheck859.lean — T39 cycle 2050 (goal G871): Monsky's 2-Selmer matrix for squarefree 171601 ≤ n ≤ 171800, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck859
open MonskyCheck

def zeroList : List Nat := [171609, 171618, 171619, 171626, 171633, 171635, 171643, 171651, 171658, 171659, 171665, 171667, 171674, 171681, 171690, 171691, 171705, 171706, 171707, 171714, 171722, 171730, 171731, 171739, 171753, 171754, 171762, 171763, 171770, 171771, 171777, 171785, 171787, 171795]
def posList : List (Nat × Nat) := [(171601, 2), (171602, 2), (171605, 1), (171606, 1), (171607, 3), (171611, 2), (171613, 1), (171614, 1), (171615, 1), (171617, 2), (171622, 1), (171623, 1), (171627, 2), (171629, 1), (171631, 1), (171634, 2), (171637, 1), (171638, 1), (171641, 2), (171642, 2), (171645, 1), (171646, 1), (171649, 2), (171653, 1), (171654, 1), (171655, 1), (171661, 1), (171662, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero859 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos859 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck859

#print axioms MonskyCheck859.sel_zero859
#print axioms MonskyCheck859.sel_pos859

bsd/MonskyCheck86.lean

lean_all/bsd/MonskyCheck86.lean

/-
  bsd/MonskyCheck86.lean — T39 cycle 430 (goal G145): Monsky's 2-Selmer matrix for squarefree 17001 ≤ n ≤ 17200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 85 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck86
open MonskyCheck

def zeroList : List Nat := [17002, 17011, 17018, 17027, 17034, 17035, 17043, 17049, 17058, 17081, 17083, 17090, 17097, 17099, 17106, 17107, 17115, 17123, 17130, 17131, 17139, 17146, 17147, 17155, 17162, 17169, 17170, 17171, 17178, 17185, 17186, 17187, 17193, 17194]
def posList : List (Nat × Nat) := [(17005, 1), (17006, 1), (17007, 1), (17009, 2), (17013, 1), (17014, 1), (17015, 3), (17017, 2), (17021, 1), (17022, 1), (17023, 1), (17026, 2), (17029, 1), (17030, 1), (17031, 1), (17033, 2), (17038, 1), (17039, 1), (17041, 2), (17042, 2), (17045, 1), (17047, 1), (17053, 1), (17054, 1), (17057, 2), (17059, 2), (17062, 1), (17063, 1), (17065, 2), (17066, 2), (1706  -- (+654 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero86 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos86 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck86

#print axioms MonskyCheck86.sel_zero86
#print axioms MonskyCheck86.sel_pos86

bsd/MonskyCheck860.lean

lean_all/bsd/MonskyCheck860.lean

/-
  bsd/MonskyCheck860.lean — T39 cycle 2052 (goal G871): Monsky's 2-Selmer matrix for squarefree 171801 ≤ n ≤ 172000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck860
open MonskyCheck

def zeroList : List Nat := [171802, 171803, 171809, 171811, 171817, 171818, 171826, 171827, 171835, 171849, 171851, 171858, 171859, 171866, 171867, 171874, 171883, 171890, 171897, 171898, 171899, 171907, 171914, 171915, 171922, 171923, 171947, 171970, 171978, 171987, 171993]
def posList : List (Nat × Nat) := [(171805, 3), (171806, 1), (171807, 1), (171813, 1), (171814, 1), (171815, 1), (171821, 3), (171822, 1), (171823, 1), (171829, 1), (171830, 1), (171831, 1), (171833, 2), (171834, 2), (171838, 3), (171839, 1), (171841, 2), (171842, 2), (171845, 3), (171847, 1), (171853, 1), (171854, 1), (171857, 2), (171861, 1), (171862, 1), (171863, 1), (171865, 4), (171869, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero860 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos860 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck860

#print axioms MonskyCheck860.sel_zero860
#print axioms MonskyCheck860.sel_pos860

bsd/MonskyCheck861.lean

lean_all/bsd/MonskyCheck861.lean

/-
  bsd/MonskyCheck861.lean — T39 cycle 2054 (goal G872): Monsky's 2-Selmer matrix for squarefree 172001 ≤ n ≤ 172200, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck861
open MonskyCheck

def zeroList : List Nat := [172027, 172041, 172043, 172051, 172058, 172059, 172066, 172073, 172082, 172083, 172099, 172113, 172115, 172121, 172122, 172129, 172130, 172138, 172139, 172147, 172154, 172155, 172162, 172171, 172178, 172187]
def posList : List (Nat × Nat) := [(172001, 2), (172002, 2), (172003, 2), (172005, 1), (172006, 1), (172007, 1), (172009, 2), (172010, 2), (172011, 2), (172013, 1), (172014, 1), (172015, 1), (172018, 2), (172021, 1), (172022, 1), (172023, 1), (172029, 1), (172030, 1), (172031, 1), (172033, 2), (172034, 2), (172037, 3), (172038, 1), (172045, 1), (172046, 3), (172047, 1), (172049, 2), (172054, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero861 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos861 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck861

#print axioms MonskyCheck861.sel_zero861
#print axioms MonskyCheck861.sel_pos861

bsd/MonskyCheck862.lean

lean_all/bsd/MonskyCheck862.lean

/-
  bsd/MonskyCheck862.lean — T39 cycle 2056 (goal G872): Monsky's 2-Selmer matrix for squarefree 172201 ≤ n ≤ 172400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck862
open MonskyCheck

def zeroList : List Nat := [172202, 172203, 172209, 172219, 172227, 172234, 172243, 172258, 172259, 172265, 172266, 172273, 172281, 172282, 172283, 172306, 172307, 172315, 172329, 172330, 172331, 172337, 172338, 172354, 172363, 172379, 172385, 172387, 172394]
def posList : List (Nat × Nat) := [(172201, 2), (172205, 3), (172207, 1), (172210, 2), (172213, 1), (172214, 1), (172217, 2), (172218, 2), (172221, 1), (172222, 1), (172223, 1), (172226, 2), (172229, 1), (172230, 1), (172231, 1), (172237, 1), (172238, 1), (172239, 1), (172241, 2), (172245, 1), (172246, 1), (172247, 1), (172249, 2), (172253, 1), (172254, 1), (172255, 1), (172257, 2), (172261, 3), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero862 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos862 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck862

#print axioms MonskyCheck862.sel_zero862
#print axioms MonskyCheck862.sel_pos862

bsd/MonskyCheck863.lean

lean_all/bsd/MonskyCheck863.lean

/-
  bsd/MonskyCheck863.lean — T39 cycle 2058 (goal G872): Monsky's 2-Selmer matrix for squarefree 172401 ≤ n ≤ 172600, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck863
open MonskyCheck

def zeroList : List Nat := [172401, 172411, 172426, 172427, 172434, 172435, 172451, 172457, 172473, 172483, 172499, 172507, 172513, 172522, 172538, 172545, 172547, 172554, 172562, 172569, 172570, 172579, 172585, 172586]
def posList : List (Nat × Nat) := [(172402, 2), (172403, 2), (172406, 1), (172407, 1), (172409, 2), (172410, 2), (172414, 1), (172415, 1), (172417, 2), (172418, 2), (172419, 2), (172421, 1), (172423, 1), (172429, 3), (172430, 3), (172433, 2), (172437, 1), (172438, 3), (172439, 1), (172441, 2), (172442, 2), (172443, 2), (172445, 1), (172446, 1), (172447, 3), (172453, 1), (172455, 1), (172459, 2), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero863 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos863 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck863

#print axioms MonskyCheck863.sel_zero863
#print axioms MonskyCheck863.sel_pos863

bsd/MonskyCheck864.lean

lean_all/bsd/MonskyCheck864.lean

/-
  bsd/MonskyCheck864.lean — T39 cycle 2060 (goal G872): Monsky's 2-Selmer matrix for squarefree 172601 ≤ n ≤ 172800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck864
open MonskyCheck

def zeroList : List Nat := [172603, 172610, 172618, 172619, 172626, 172634, 172641, 172642, 172643, 172651, 172658, 172659, 172682, 172689, 172698, 172707, 172713, 172714, 172715, 172722, 172723, 172729, 172747, 172761, 172762, 172763, 172770, 172771, 172778, 172779, 172786, 172787, 172793, 172794, 172795]
def posList : List (Nat × Nat) := [(172601, 2), (172605, 1), (172606, 3), (172607, 1), (172609, 2), (172613, 1), (172614, 1), (172615, 1), (172617, 2), (172621, 3), (172622, 1), (172623, 1), (172630, 1), (172631, 3), (172633, 2), (172635, 2), (172637, 1), (172639, 3), (172645, 1), (172646, 1), (172649, 2), (172653, 1), (172654, 1), (172655, 1), (172657, 2), (172661, 1), (172662, 1), (172663, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero864 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos864 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck864

#print axioms MonskyCheck864.sel_zero864
#print axioms MonskyCheck864.sel_pos864

bsd/MonskyCheck865.lean

lean_all/bsd/MonskyCheck865.lean

/-
  bsd/MonskyCheck865.lean — T39 cycle 2062 (goal G872): Monsky's 2-Selmer matrix for squarefree 172801 ≤ n ≤ 173000, by rfl.
  s₂(n) = 0 for 37 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 82 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck865
open MonskyCheck

def zeroList : List Nat := [172810, 172811, 172817, 172819, 172826, 172833, 172835, 172841, 172842, 172843, 172857, 172858, 172859, 172867, 172874, 172883, 172889, 172891, 172898, 172905, 172906, 172913, 172914, 172915, 172922, 172923, 172930, 172931, 172938, 172946, 172954, 172963, 172977, 172978, 172987, 172994, 172995]
def posList : List (Nat × Nat) := [(172801, 2), (172802, 2), (172803, 2), (172805, 1), (172806, 1), (172807, 1), (172813, 3), (172814, 3), (172815, 1), (172821, 1), (172829, 1), (172830, 1), (172831, 1), (172834, 2), (172837, 1), (172838, 3), (172839, 1), (172846, 1), (172847, 1), (172849, 2), (172851, 2), (172853, 1), (172855, 1), (172861, 1), (172862, 1), (172865, 2), (172866, 2), (172869, 1), (  -- (+700 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero865 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos865 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck865

#print axioms MonskyCheck865.sel_zero865
#print axioms MonskyCheck865.sel_pos865

bsd/MonskyCheck866.lean

lean_all/bsd/MonskyCheck866.lean

/-
  bsd/MonskyCheck866.lean — T39 cycle 2064 (goal G872): Monsky's 2-Selmer matrix for squarefree 173001 ≤ n ≤ 173200, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck866
open MonskyCheck

def zeroList : List Nat := [173001, 173002, 173010, 173018, 173027, 173033, 173035, 173041, 173049, 173058, 173059, 173066, 173067, 173074, 173082, 173099, 173107, 173113, 173123, 173129, 173138, 173139, 173146, 173153, 173154, 173161, 173162, 173163, 173170, 173179, 173185, 173186, 173193, 173194, 173195]
def posList : List (Nat × Nat) := [(173003, 2), (173005, 1), (173006, 3), (173009, 2), (173011, 2), (173013, 1), (173014, 1), (173015, 1), (173017, 2), (173021, 1), (173022, 1), (173023, 1), (173026, 2), (173029, 1), (173031, 1), (173037, 1), (173038, 3), (173039, 1), (173042, 2), (173045, 1), (173046, 1), (173047, 1), (173051, 2), (173053, 1), (173054, 3), (173055, 1), (173057, 2), (173062, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero866 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos866 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck866

#print axioms MonskyCheck866.sel_zero866
#print axioms MonskyCheck866.sel_pos866

bsd/MonskyCheck867.lean

lean_all/bsd/MonskyCheck867.lean

/-
  bsd/MonskyCheck867.lean — T39 cycle 2066 (goal G872): Monsky's 2-Selmer matrix for squarefree 173201 ≤ n ≤ 173400, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck867
open MonskyCheck

def zeroList : List Nat := [173202, 173203, 173211, 173219, 173227, 173233, 173234, 173235, 173242, 173251, 173258, 173267, 173274, 173290, 173291, 173298, 173305, 173306, 173307, 173323, 173330, 173337, 173338, 173339, 173347, 173354, 173361, 173370, 173386, 173387]
def posList : List (Nat × Nat) := [(173201, 2), (173206, 1), (173207, 1), (173209, 2), (173210, 2), (173213, 1), (173217, 2), (173218, 2), (173221, 1), (173222, 1), (173226, 2), (173229, 1), (173230, 1), (173231, 1), (173237, 1), (173238, 1), (173239, 1), (173243, 2), (173245, 3), (173247, 1), (173249, 2), (173253, 1), (173254, 1), (173255, 1), (173257, 2), (173261, 1), (173262, 1), (173263, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero867 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos867 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck867

#print axioms MonskyCheck867.sel_zero867
#print axioms MonskyCheck867.sel_pos867

bsd/MonskyCheck868.lean

lean_all/bsd/MonskyCheck868.lean

/-
  bsd/MonskyCheck868.lean — T39 cycle 2068 (goal G872): Monsky's 2-Selmer matrix for squarefree 173401 ≤ n ≤ 173600, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck868
open MonskyCheck

def zeroList : List Nat := [173401, 173409, 173410, 173418, 173419, 173426, 173427, 173435, 173441, 173442, 173443, 173451, 173482, 173483, 173490, 173491, 173499, 173505, 173507, 173515, 173522, 173531, 173537, 173539, 173546, 173553, 173554, 173555, 173562, 173569, 173570, 173577, 173587, 173594, 173595]
def posList : List (Nat × Nat) := [(173402, 2), (173405, 3), (173406, 1), (173407, 1), (173413, 1), (173414, 1), (173415, 1), (173422, 1), (173423, 1), (173429, 1), (173431, 1), (173433, 2), (173434, 2), (173437, 1), (173438, 1), (173445, 1), (173446, 3), (173447, 1), (173449, 2), (173453, 1), (173454, 1), (173455, 1), (173458, 2), (173459, 2), (173461, 3), (173462, 1), (173463, 1), (173465, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero868 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos868 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck868

#print axioms MonskyCheck868.sel_zero868
#print axioms MonskyCheck868.sel_pos868

bsd/MonskyCheck869.lean

lean_all/bsd/MonskyCheck869.lean

/-
  bsd/MonskyCheck869.lean — T39 cycle 2070 (goal G872): Monsky's 2-Selmer matrix for squarefree 173601 ≤ n ≤ 173800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck869
open MonskyCheck

def zeroList : List Nat := [173626, 173627, 173634, 173643, 173651, 173657, 173658, 173659, 173665, 173674, 173683, 173690, 173697, 173698, 173699, 173707, 173715, 173722, 173723, 173730, 173738, 173739, 173746, 173747, 173762, 173769, 173770, 173778, 173779, 173786, 173787]
def posList : List (Nat × Nat) := [(173602, 2), (173603, 2), (173605, 3), (173606, 1), (173609, 2), (173611, 2), (173613, 1), (173614, 3), (173615, 1), (173617, 2), (173618, 2), (173621, 1), (173622, 1), (173623, 1), (173629, 1), (173630, 1), (173631, 1), (173633, 4), (173638, 1), (173639, 1), (173642, 2), (173645, 3), (173647, 1), (173649, 2), (173653, 1), (173654, 1), (173661, 1), (173662, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero869 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos869 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck869

#print axioms MonskyCheck869.sel_zero869
#print axioms MonskyCheck869.sel_pos869

bsd/MonskyCheck87.lean

lean_all/bsd/MonskyCheck87.lean

/-
  bsd/MonskyCheck87.lean — T39 cycle 431 (goal G146): Monsky's 2-Selmer matrix for squarefree 17201 ≤ n ≤ 17400, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 101 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck87
open MonskyCheck

def zeroList : List Nat := [17203, 17233, 17258, 17267, 17281, 17291, 17299, 17314, 17315, 17322, 17329, 17330, 17331, 17337, 17338, 17339, 17347, 17354, 17363, 17369, 17371, 17386, 17387]
def posList : List (Nat × Nat) := [(17201, 2), (17202, 2), (17205, 1), (17206, 1), (17207, 1), (17209, 2), (17210, 2), (17211, 2), (17213, 1), (17214, 1), (17215, 1), (17218, 2), (17219, 2), (17221, 1), (17222, 1), (17223, 1), (17227, 2), (17229, 1), (17230, 1), (17231, 1), (17234, 2), (17237, 1), (17239, 1), (17241, 2), (17242, 2), (17243, 2), (17245, 3), (17246, 1), (17247, 1), (17249, 2), (1725  -- (+846 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero87 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos87 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck87

#print axioms MonskyCheck87.sel_zero87
#print axioms MonskyCheck87.sel_pos87

bsd/MonskyCheck870.lean

lean_all/bsd/MonskyCheck870.lean

/-
  bsd/MonskyCheck870.lean — T39 cycle 2072 (goal G872): Monsky's 2-Selmer matrix for squarefree 173801 ≤ n ≤ 174000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck870
open MonskyCheck

def zeroList : List Nat := [173802, 173809, 173811, 173818, 173819, 173827, 173833, 173834, 173841, 173843, 173851, 173867, 173874, 173883, 173890, 173891, 173899, 173913, 173914, 173915, 173923, 173930, 173931, 173937, 173946, 173947, 173954, 173955, 173962, 173985, 173987, 173995]
def posList : List (Nat × Nat) := [(173801, 2), (173805, 1), (173807, 1), (173810, 2), (173813, 1), (173814, 1), (173815, 1), (173821, 3), (173822, 1), (173823, 1), (173829, 1), (173830, 1), (173831, 1), (173837, 1), (173838, 1), (173839, 1), (173842, 4), (173845, 1), (173846, 1), (173847, 1), (173849, 2), (173854, 1), (173855, 1), (173857, 2), (173858, 2), (173859, 2), (173861, 1), (173865, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero870 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos870 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck870

#print axioms MonskyCheck870.sel_zero870
#print axioms MonskyCheck870.sel_pos870

bsd/MonskyCheck871.lean

lean_all/bsd/MonskyCheck871.lean

/-
  bsd/MonskyCheck871.lean — T39 cycle 2074 (goal G873): Monsky's 2-Selmer matrix for squarefree 174001 ≤ n ≤ 174200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck871
open MonskyCheck

def zeroList : List Nat := [174009, 174018, 174019, 174026, 174035, 174043, 174058, 174059, 174066, 174067, 174074, 174081, 174083, 174089, 174090, 174091, 174099, 174107, 174115, 174122, 174129, 174130, 174138, 174139, 174147, 174153, 174154, 174162, 174170, 174185, 174193, 174194]
def posList : List (Nat × Nat) := [(174001, 2), (174003, 2), (174005, 1), (174007, 1), (174010, 2), (174011, 2), (174013, 1), (174014, 1), (174017, 2), (174021, 1), (174022, 1), (174023, 1), (174027, 2), (174029, 3), (174030, 1), (174031, 1), (174034, 2), (174037, 1), (174038, 1), (174039, 1), (174045, 1), (174046, 3), (174047, 1), (174049, 2), (174053, 1), (174054, 1), (174055, 1), (174057, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero871 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos871 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck871

#print axioms MonskyCheck871.sel_zero871
#print axioms MonskyCheck871.sel_pos871

bsd/MonskyCheck872.lean

lean_all/bsd/MonskyCheck872.lean

/-
  bsd/MonskyCheck872.lean — T39 cycle 2076 (goal G873): Monsky's 2-Selmer matrix for squarefree 174201 ≤ n ≤ 174400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck872
open MonskyCheck

def zeroList : List Nat := [174201, 174210, 174211, 174217, 174219, 174226, 174235, 174251, 174259, 174266, 174290, 174291, 174297, 174298, 174299, 174306, 174314, 174315, 174322, 174323, 174331, 174338, 174345, 174346, 174347, 174354, 174362, 174379, 174395]
def posList : List (Nat × Nat) := [(174202, 2), (174203, 2), (174205, 3), (174206, 1), (174207, 1), (174209, 2), (174214, 1), (174215, 1), (174218, 2), (174221, 1), (174223, 3), (174227, 2), (174229, 1), (174230, 1), (174233, 2), (174234, 4), (174237, 1), (174238, 1), (174241, 2), (174242, 2), (174245, 3), (174246, 1), (174247, 1), (174253, 1), (174254, 3), (174255, 1), (174257, 2), (174261, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero872 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos872 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck872

#print axioms MonskyCheck872.sel_zero872
#print axioms MonskyCheck872.sel_pos872

bsd/MonskyCheck873.lean

lean_all/bsd/MonskyCheck873.lean

/-
  bsd/MonskyCheck873.lean — T39 cycle 2078 (goal G873): Monsky's 2-Selmer matrix for squarefree 174401 ≤ n ≤ 174600, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck873
open MonskyCheck

def zeroList : List Nat := [174401, 174410, 174417, 174418, 174434, 174435, 174441, 174442, 174443, 174449, 174466, 174467, 174491, 174497, 174499, 174506, 174507, 174513, 174515, 174522, 174545, 174547, 174553, 174554, 174561, 174563, 174571, 174579, 174586]
def posList : List (Nat × Nat) := [(174403, 2), (174405, 1), (174406, 1), (174407, 1), (174409, 2), (174413, 1), (174414, 1), (174415, 1), (174419, 2), (174421, 3), (174422, 1), (174423, 1), (174426, 2), (174427, 2), (174430, 1), (174431, 1), (174433, 2), (174437, 1), (174439, 1), (174445, 1), (174446, 1), (174451, 2), (174453, 1), (174454, 1), (174455, 3), (174457, 2), (174458, 2), (174459, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero873 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos873 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck873

#print axioms MonskyCheck873.sel_zero873
#print axioms MonskyCheck873.sel_pos873

bsd/MonskyCheck874.lean

lean_all/bsd/MonskyCheck874.lean

/-
  bsd/MonskyCheck874.lean — T39 cycle 2080 (goal G873): Monsky's 2-Selmer matrix for squarefree 174601 ≤ n ≤ 174800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck874
open MonskyCheck

def zeroList : List Nat := [174610, 174633, 174634, 174635, 174642, 174643, 174651, 174658, 174659, 174666, 174667, 174691, 174705, 174707, 174714, 174715, 174723, 174729, 174731, 174738, 174739, 174755, 174763, 174770, 174778, 174786, 174787]
def posList : List (Nat × Nat) := [(174601, 2), (174602, 2), (174605, 1), (174606, 1), (174607, 1), (174611, 2), (174613, 1), (174614, 1), (174615, 1), (174617, 2), (174619, 2), (174621, 1), (174622, 1), (174623, 1), (174626, 2), (174629, 1), (174630, 1), (174631, 1), (174637, 1), (174638, 1), (174639, 1), (174641, 2), (174646, 1), (174647, 1), (174649, 2), (174653, 1), (174655, 1), (174657, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero874 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos874 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck874

#print axioms MonskyCheck874.sel_zero874
#print axioms MonskyCheck874.sel_pos874

bsd/MonskyCheck875.lean

lean_all/bsd/MonskyCheck875.lean

/-
  bsd/MonskyCheck875.lean — T39 cycle 2082 (goal G873): Monsky's 2-Selmer matrix for squarefree 174801 ≤ n ≤ 175000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck875
open MonskyCheck

def zeroList : List Nat := [174803, 174810, 174811, 174817, 174819, 174826, 174842, 174849, 174851, 174857, 174859, 174874, 174882, 174898, 174899, 174907, 174914, 174922, 174923, 174931, 174939, 174945, 174954, 174970, 174971, 174977, 174993, 174994]
def posList : List (Nat × Nat) := [(174801, 2), (174802, 2), (174805, 3), (174806, 1), (174809, 2), (174813, 1), (174814, 1), (174815, 1), (174818, 2), (174821, 1), (174822, 3), (174823, 1), (174827, 2), (174829, 1), (174830, 1), (174831, 1), (174833, 2), (174835, 2), (174837, 1), (174838, 3), (174839, 3), (174841, 2), (174846, 1), (174847, 1), (174853, 1), (174854, 1), (174855, 1), (174858, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero875 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos875 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck875

#print axioms MonskyCheck875.sel_zero875
#print axioms MonskyCheck875.sel_pos875

bsd/MonskyCheck876.lean

lean_all/bsd/MonskyCheck876.lean

/-
  bsd/MonskyCheck876.lean — T39 cycle 2084 (goal G873): Monsky's 2-Selmer matrix for squarefree 175001 ≤ n ≤ 175200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck876
open MonskyCheck

def zeroList : List Nat := [175001, 175002, 175003, 175009, 175011, 175017, 175018, 175019, 175034, 175043, 175051, 175058, 175065, 175067, 175074, 175082, 175089, 175090, 175098, 175105, 175114, 175115, 175123, 175137, 175138, 175145, 175146, 175153, 175155, 175170, 175177, 175178, 175186, 175195]
def posList : List (Nat × Nat) := [(175006, 1), (175007, 3), (175010, 2), (175013, 1), (175015, 1), (175021, 1), (175022, 1), (175026, 2), (175027, 2), (175029, 1), (175030, 3), (175031, 1), (175033, 2), (175035, 2), (175037, 1), (175038, 1), (175039, 1), (175042, 2), (175045, 1), (175046, 1), (175047, 1), (175049, 2), (175053, 1), (175054, 1), (175055, 1), (175057, 2), (175061, 1), (175062, 3), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero876 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos876 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck876

#print axioms MonskyCheck876.sel_zero876
#print axioms MonskyCheck876.sel_pos876

bsd/MonskyCheck877.lean

lean_all/bsd/MonskyCheck877.lean

/-
  bsd/MonskyCheck877.lean — T39 cycle 2086 (goal G873): Monsky's 2-Selmer matrix for squarefree 175201 ≤ n ≤ 175400, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck877
open MonskyCheck

def zeroList : List Nat := [175209, 175211, 175218, 175219, 175226, 175227, 175233, 175235, 175243, 175258, 175259, 175267, 175281, 175289, 175290, 175291, 175297, 175299, 175305, 175313, 175330, 175331, 175353, 175355, 175363, 175385, 175387]
def posList : List (Nat × Nat) := [(175201, 2), (175202, 4), (175205, 1), (175206, 1), (175207, 3), (175210, 2), (175213, 1), (175214, 1), (175215, 1), (175217, 2), (175222, 1), (175223, 1), (175229, 1), (175231, 3), (175234, 4), (175237, 1), (175238, 1), (175241, 2), (175242, 2), (175245, 1), (175246, 1), (175247, 1), (175249, 2), (175251, 2), (175254, 3), (175255, 1), (175261, 1), (175262, 1), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero877 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos877 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck877

#print axioms MonskyCheck877.sel_zero877
#print axioms MonskyCheck877.sel_pos877

bsd/MonskyCheck878.lean

lean_all/bsd/MonskyCheck878.lean

/-
  bsd/MonskyCheck878.lean — T39 cycle 2088 (goal G873): Monsky's 2-Selmer matrix for squarefree 175401 ≤ n ≤ 175600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck878
open MonskyCheck

def zeroList : List Nat := [175402, 175403, 175411, 175417, 175434, 175435, 175443, 175449, 175451, 175458, 175465, 175466, 175474, 175490, 175497, 175499, 175506, 175507, 175514, 175521, 175523, 175530, 175539, 175547, 175587, 175594]
def posList : List (Nat × Nat) := [(175405, 3), (175406, 1), (175407, 1), (175409, 2), (175413, 3), (175414, 1), (175415, 1), (175418, 2), (175421, 1), (175426, 2), (175427, 2), (175429, 1), (175430, 1), (175431, 1), (175433, 2), (175438, 1), (175439, 1), (175441, 2), (175442, 2), (175445, 3), (175447, 1), (175453, 1), (175454, 1), (175457, 4), (175459, 2), (175461, 1), (175462, 1), (175463, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero878 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos878 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck878

#print axioms MonskyCheck878.sel_zero878
#print axioms MonskyCheck878.sel_pos878

bsd/MonskyCheck879.lean

lean_all/bsd/MonskyCheck879.lean

/-
  bsd/MonskyCheck879.lean — T39 cycle 2090 (goal G873): Monsky's 2-Selmer matrix for squarefree 175601 ≤ n ≤ 175800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck879
open MonskyCheck

def zeroList : List Nat := [175603, 175610, 175618, 175627, 175641, 175642, 175643, 175658, 175681, 175691, 175699, 175706, 175713, 175721, 175722, 175723, 175730, 175737, 175738, 175739, 175747, 175754, 175755, 175778, 175787, 175794]
def posList : List (Nat × Nat) := [(175601, 2), (175602, 2), (175605, 1), (175606, 1), (175607, 1), (175609, 2), (175611, 2), (175613, 1), (175614, 1), (175615, 1), (175619, 2), (175621, 1), (175622, 1), (175623, 1), (175629, 1), (175630, 3), (175631, 1), (175633, 2), (175634, 4), (175637, 1), (175638, 3), (175639, 3), (175645, 3), (175646, 1), (175647, 1), (175649, 2), (175651, 2), (175654, 1), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero879 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos879 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck879

#print axioms MonskyCheck879.sel_zero879
#print axioms MonskyCheck879.sel_pos879

bsd/MonskyCheck88.lean

lean_all/bsd/MonskyCheck88.lean

/-
  bsd/MonskyCheck88.lean — T39 cycle 432 (goal G147): Monsky's 2-Selmer matrix for squarefree 17401 ≤ n ≤ 17600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck88
open MonskyCheck

def zeroList : List Nat := [17403, 17409, 17410, 17411, 17419, 17434, 17441, 17443, 17465, 17466, 17467, 17481, 17482, 17483, 17491, 17499, 17507, 17513, 17529, 17530, 17531, 17537, 17539, 17547, 17553, 17554, 17563, 17578, 17579, 17587, 17594]
def posList : List (Nat × Nat) := [(17401, 2), (17402, 4), (17413, 1), (17414, 1), (17417, 2), (17418, 2), (17421, 1), (17422, 3), (17423, 1), (17426, 2), (17427, 2), (17429, 1), (17430, 1), (17431, 1), (17435, 2), (17437, 3), (17438, 1), (17439, 1), (17445, 1), (17446, 1), (17447, 1), (17449, 2), (17453, 1), (17454, 1), (17455, 1), (17458, 2), (17459, 2), (17461, 1), (17462, 1), (17463, 1), (1747  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero88 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos88 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck88

#print axioms MonskyCheck88.sel_zero88
#print axioms MonskyCheck88.sel_pos88

bsd/MonskyCheck880.lean

lean_all/bsd/MonskyCheck880.lean

/-
  bsd/MonskyCheck880.lean — T39 cycle 2092 (goal G873): Monsky's 2-Selmer matrix for squarefree 175801 ≤ n ≤ 176000, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck880
open MonskyCheck

def zeroList : List Nat := [175801, 175803, 175809, 175810, 175811, 175834, 175843, 175859, 175866, 175867, 175881, 175891, 175899, 175907, 175913, 175915, 175930, 175939, 175946, 175953, 175955, 175963, 175970, 175978, 175979]
def posList : List (Nat × Nat) := [(175802, 2), (175805, 1), (175814, 1), (175817, 2), (175818, 2), (175819, 2), (175821, 1), (175822, 1), (175823, 3), (175826, 2), (175827, 2), (175829, 1), (175830, 1), (175831, 1), (175835, 2), (175837, 1), (175838, 1), (175839, 1), (175841, 2), (175845, 1), (175846, 1), (175847, 1), (175849, 4), (175853, 1), (175854, 1), (175855, 1), (175858, 2), (175862, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero880 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos880 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck880

#print axioms MonskyCheck880.sel_zero880
#print axioms MonskyCheck880.sel_pos880

bsd/MonskyCheck881.lean

lean_all/bsd/MonskyCheck881.lean

/-
  bsd/MonskyCheck881.lean — T39 cycle 2100 (goal G874): Monsky's 2-Selmer matrix for squarefree 176001 ≤ n ≤ 176200, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck881
open MonskyCheck

def zeroList : List Nat := [176010, 176011, 176019, 176026, 176034, 176035, 176042, 176043, 176051, 176065, 176066, 176073, 176074, 176082, 176083, 176091, 176097, 176113, 176114, 176123, 176138, 176145, 176146, 176163, 176169, 176171, 176178, 176179, 176185, 176186, 176194]
def posList : List (Nat × Nat) := [(176002, 2), (176003, 2), (176005, 3), (176006, 1), (176007, 1), (176009, 2), (176014, 1), (176015, 1), (176017, 2), (176018, 2), (176021, 1), (176023, 1), (176027, 2), (176029, 1), (176030, 1), (176033, 2), (176037, 1), (176038, 1), (176039, 1), (176041, 2), (176045, 1), (176046, 3), (176047, 1), (176053, 1), (176054, 1), (176059, 2), (176061, 1), (176062, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero881 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos881 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck881

#print axioms MonskyCheck881.sel_zero881
#print axioms MonskyCheck881.sel_pos881

bsd/MonskyCheck882.lean

lean_all/bsd/MonskyCheck882.lean

/-
  bsd/MonskyCheck882.lean — T39 cycle 2102 (goal G874): Monsky's 2-Selmer matrix for squarefree 176201 ≤ n ≤ 176400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck882
open MonskyCheck

def zeroList : List Nat := [176209, 176217, 176218, 176219, 176227, 176234, 176241, 176242, 176243, 176251, 176257, 176259, 176266, 176289, 176291, 176298, 176299, 176306, 176307, 176313, 176315, 176322, 176323, 176331, 176347, 176361, 176363, 176371, 176377, 176386, 176387]
def posList : List (Nat × Nat) := [(176201, 2), (176203, 2), (176205, 1), (176206, 1), (176207, 1), (176210, 2), (176213, 1), (176214, 3), (176215, 1), (176221, 1), (176222, 1), (176223, 1), (176226, 2), (176230, 1), (176231, 3), (176233, 2), (176235, 2), (176237, 1), (176239, 3), (176245, 3), (176246, 1), (176249, 2), (176254, 1), (176255, 1), (176258, 2), (176261, 1), (176262, 1), (176263, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero882 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos882 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck882

#print axioms MonskyCheck882.sel_zero882
#print axioms MonskyCheck882.sel_pos882

bsd/MonskyCheck883.lean

lean_all/bsd/MonskyCheck883.lean

/-
  bsd/MonskyCheck883.lean — T39 cycle 2104 (goal G874): Monsky's 2-Selmer matrix for squarefree 176401 ≤ n ≤ 176600, by rfl.
  s₂(n) = 0 for 20 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck883
open MonskyCheck

def zeroList : List Nat := [176410, 176411, 176419, 176434, 176443, 176451, 176459, 176466, 176467, 176474, 176506, 176507, 176514, 176522, 176531, 176545, 176563, 176570, 176594, 176595]
def posList : List (Nat × Nat) := [(176401, 2), (176402, 2), (176403, 2), (176405, 3), (176406, 3), (176407, 1), (176413, 1), (176414, 3), (176415, 1), (176417, 2), (176421, 3), (176422, 1), (176423, 1), (176426, 2), (176429, 1), (176430, 3), (176431, 1), (176433, 2), (176437, 3), (176438, 1), (176439, 1), (176441, 4), (176442, 2), (176446, 1), (176447, 1), (176453, 1), (176455, 1), (176457, 2), (  -- (+921 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero883 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos883 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck883

#print axioms MonskyCheck883.sel_zero883
#print axioms MonskyCheck883.sel_pos883

bsd/MonskyCheck884.lean

lean_all/bsd/MonskyCheck884.lean

/-
  bsd/MonskyCheck884.lean — T39 cycle 2106 (goal G874): Monsky's 2-Selmer matrix for squarefree 176601 ≤ n ≤ 176800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck884
open MonskyCheck

def zeroList : List Nat := [176602, 176611, 176618, 176619, 176627, 176635, 176651, 176658, 176666, 176667, 176673, 176681, 176682, 176683, 176690, 176698, 176699, 176707, 176714, 176721, 176730, 176737, 176738, 176739, 176745, 176747, 176754, 176762, 176779, 176785, 176786, 176794]
def posList : List (Nat × Nat) := [(176603, 2), (176606, 1), (176609, 2), (176613, 1), (176614, 1), (176615, 1), (176617, 2), (176621, 1), (176622, 1), (176623, 1), (176626, 2), (176629, 1), (176630, 1), (176631, 1), (176633, 2), (176637, 3), (176638, 1), (176639, 1), (176641, 2), (176642, 2), (176646, 1), (176647, 3), (176649, 2), (176653, 3), (176654, 1), (176655, 1), (176657, 2), (176659, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero884 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos884 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck884

#print axioms MonskyCheck884.sel_zero884
#print axioms MonskyCheck884.sel_pos884

bsd/MonskyCheck885.lean

lean_all/bsd/MonskyCheck885.lean

/-
  bsd/MonskyCheck885.lean — T39 cycle 2108 (goal G874): Monsky's 2-Selmer matrix for squarefree 176801 ≤ n ≤ 177000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck885
open MonskyCheck

def zeroList : List Nat := [176803, 176811, 176817, 176818, 176819, 176826, 176827, 176835, 176843, 176858, 176867, 176873, 176874, 176882, 176883, 176889, 176891, 176898, 176899, 176914, 176923, 176937, 176938, 176945, 176954, 176963, 176970, 176978, 176986, 176987, 176993]
def posList : List (Nat × Nat) := [(176801, 2), (176802, 2), (176806, 1), (176807, 1), (176809, 2), (176810, 2), (176813, 1), (176815, 1), (176821, 1), (176822, 1), (176829, 1), (176830, 1), (176831, 1), (176833, 2), (176834, 2), (176837, 1), (176838, 3), (176839, 1), (176842, 2), (176845, 1), (176846, 1), (176847, 1), (176849, 2), (176851, 2), (176853, 1), (176854, 1), (176855, 1), (176857, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero885 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos885 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck885

#print axioms MonskyCheck885.sel_zero885
#print axioms MonskyCheck885.sel_pos885

bsd/MonskyCheck886.lean

lean_all/bsd/MonskyCheck886.lean

/-
  bsd/MonskyCheck886.lean — T39 cycle 2110 (goal G874): Monsky's 2-Selmer matrix for squarefree 177001 ≤ n ≤ 177200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck886
open MonskyCheck

def zeroList : List Nat := [177001, 177010, 177011, 177019, 177027, 177033, 177034, 177035, 177043, 177065, 177081, 177090, 177091, 177098, 177105, 177107, 177114, 177115, 177122, 177130, 177131, 177137, 177139, 177146, 177153, 177154, 177162, 177170, 177178, 177186, 177187, 177195]
def posList : List (Nat × Nat) := [(177002, 2), (177005, 3), (177006, 1), (177007, 1), (177009, 2), (177013, 1), (177014, 1), (177015, 1), (177017, 2), (177018, 2), (177022, 1), (177026, 2), (177029, 1), (177031, 1), (177038, 3), (177041, 2), (177042, 2), (177045, 1), (177046, 1), (177047, 1), (177049, 2), (177051, 2), (177053, 3), (177054, 1), (177055, 1), (177058, 2), (177059, 2), (177061, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero886 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos886 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck886

#print axioms MonskyCheck886.sel_zero886
#print axioms MonskyCheck886.sel_pos886

bsd/MonskyCheck887.lean

lean_all/bsd/MonskyCheck887.lean

/-
  bsd/MonskyCheck887.lean — T39 cycle 2112 (goal G874): Monsky's 2-Selmer matrix for squarefree 177201 ≤ n ≤ 177400, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck887
open MonskyCheck

def zeroList : List Nat := [177211, 177226, 177227, 177235, 177242, 177249, 177258, 177259, 177266, 177274, 177283, 177289, 177298, 177321, 177322, 177323, 177347, 177353, 177369, 177370, 177371, 177379, 177395]
def posList : List (Nat × Nat) := [(177202, 2), (177203, 2), (177205, 1), (177206, 1), (177207, 1), (177209, 2), (177213, 1), (177214, 1), (177217, 2), (177218, 2), (177221, 1), (177222, 1), (177223, 1), (177229, 3), (177230, 1), (177231, 1), (177234, 2), (177238, 1), (177239, 1), (177243, 2), (177245, 3), (177247, 3), (177253, 3), (177254, 3), (177257, 2), (177261, 1), (177262, 3), (177263, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero887 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos887 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck887

#print axioms MonskyCheck887.sel_zero887
#print axioms MonskyCheck887.sel_pos887

bsd/MonskyCheck888.lean

lean_all/bsd/MonskyCheck888.lean

/-
  bsd/MonskyCheck888.lean — T39 cycle 2114 (goal G874): Monsky's 2-Selmer matrix for squarefree 177401 ≤ n ≤ 177600, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck888
open MonskyCheck

def zeroList : List Nat := [177403, 177410, 177427, 177434, 177441, 177457, 177459, 177467, 177482, 177483, 177490, 177499, 177514, 177522, 177529, 177538, 177539, 177546, 177554, 177571, 177578, 177587, 177594]
def posList : List (Nat × Nat) := [(177401, 2), (177402, 2), (177405, 1), (177406, 1), (177407, 1), (177409, 2), (177411, 2), (177413, 1), (177414, 3), (177415, 1), (177418, 2), (177421, 1), (177422, 1), (177423, 1), (177430, 1), (177431, 1), (177433, 2), (177437, 3), (177438, 1), (177439, 1), (177442, 2), (177443, 2), (177445, 1), (177447, 1), (177449, 2), (177454, 1), (177455, 1), (177458, 2), (  -- (+921 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero888 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos888 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck888

#print axioms MonskyCheck888.sel_zero888
#print axioms MonskyCheck888.sel_pos888

bsd/MonskyCheck889.lean

lean_all/bsd/MonskyCheck889.lean

/-
  bsd/MonskyCheck889.lean — T39 cycle 2116 (goal G874): Monsky's 2-Selmer matrix for squarefree 177601 ≤ n ≤ 177800, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck889
open MonskyCheck

def zeroList : List Nat := [177611, 177617, 177618, 177626, 177635, 177643, 177649, 177657, 177658, 177659, 177666, 177667, 177681, 177683, 177690, 177691, 177706, 177715, 177722, 177729, 177739, 177753, 177754, 177755, 177762, 177763, 177770, 177771, 177787, 177793]
def posList : List (Nat × Nat) := [(177601, 2), (177602, 2), (177603, 2), (177605, 3), (177607, 3), (177609, 2), (177610, 2), (177613, 1), (177614, 1), (177621, 1), (177622, 1), (177623, 1), (177627, 2), (177629, 1), (177630, 1), (177631, 1), (177634, 2), (177637, 3), (177638, 1), (177639, 1), (177641, 2), (177645, 1), (177646, 1), (177647, 1), (177653, 1), (177654, 1), (177655, 1), (177661, 3), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero889 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos889 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck889

#print axioms MonskyCheck889.sel_zero889
#print axioms MonskyCheck889.sel_pos889

bsd/MonskyCheck89.lean

lean_all/bsd/MonskyCheck89.lean

/-
  bsd/MonskyCheck89.lean — T39 cycle 433 (goal G148): Monsky's 2-Selmer matrix for squarefree 17601 ≤ n ≤ 17800, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck89
open MonskyCheck

def zeroList : List Nat := [17601, 17602, 17603, 17610, 17611, 17626, 17627, 17633, 17634, 17635, 17642, 17659, 17674, 17682, 17683, 17690, 17691, 17706, 17707, 17715, 17722, 17723, 17746, 17747, 17755, 17762, 17763, 17769, 17770, 17771, 17778, 17779, 17786]
def posList : List (Nat × Nat) := [(17605, 1), (17606, 1), (17607, 1), (17609, 2), (17614, 1), (17615, 1), (17617, 2), (17618, 2), (17619, 2), (17621, 1), (17623, 1), (17630, 3), (17637, 1), (17638, 1), (17639, 1), (17641, 2), (17643, 2), (17645, 3), (17646, 1), (17647, 3), (17651, 2), (17653, 1), (17654, 1), (17655, 1), (17657, 2), (17662, 1), (17663, 3), (17665, 2), (17669, 1), (17670, 1), (1767  -- (+690 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero89 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos89 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck89

#print axioms MonskyCheck89.sel_zero89
#print axioms MonskyCheck89.sel_pos89

bsd/MonskyCheck890.lean

lean_all/bsd/MonskyCheck890.lean

/-
  bsd/MonskyCheck890.lean — T39 cycle 2118 (goal G874): Monsky's 2-Selmer matrix for squarefree 177801 ≤ n ≤ 178000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck890
open MonskyCheck

def zeroList : List Nat := [177801, 177802, 177810, 177811, 177818, 177819, 177833, 177834, 177835, 177873, 177881, 177883, 177890, 177898, 177899, 177907, 177915, 177923, 177931, 177945, 177954, 177962, 177969, 177971, 177977, 177979, 177994, 177995]
def posList : List (Nat × Nat) := [(177803, 2), (177805, 1), (177806, 1), (177807, 1), (177809, 2), (177814, 1), (177815, 1), (177817, 4), (177823, 1), (177826, 2), (177827, 2), (177829, 1), (177830, 1), (177837, 1), (177838, 1), (177839, 1), (177841, 2), (177842, 2), (177843, 2), (177845, 3), (177846, 3), (177847, 3), (177851, 2), (177853, 1), (177854, 1), (177855, 1), (177857, 2), (177859, 2), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero890 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos890 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck890

#print axioms MonskyCheck890.sel_zero890
#print axioms MonskyCheck890.sel_pos890

bsd/MonskyCheck891.lean

lean_all/bsd/MonskyCheck891.lean

/-
  bsd/MonskyCheck891.lean — T39 cycle 2120 (goal G875): Monsky's 2-Selmer matrix for squarefree 178001 ≤ n ≤ 178200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck891
open MonskyCheck

def zeroList : List Nat := [178003, 178019, 178026, 178027, 178042, 178049, 178057, 178059, 178067, 178089, 178090, 178091, 178098, 178106, 178107, 178121, 178122, 178130, 178138, 178139, 178153, 178161, 178162, 178163, 178178, 178179, 178187, 178194, 178195]
def posList : List (Nat × Nat) := [(178001, 2), (178005, 1), (178006, 1), (178007, 1), (178009, 2), (178010, 2), (178013, 1), (178014, 1), (178015, 1), (178018, 2), (178021, 1), (178022, 1), (178023, 1), (178030, 1), (178031, 3), (178033, 2), (178034, 2), (178035, 2), (178037, 1), (178039, 1), (178041, 2), (178043, 2), (178045, 1), (178046, 1), (178051, 2), (178053, 1), (178054, 1), (178055, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero891 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos891 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck891

#print axioms MonskyCheck891.sel_zero891
#print axioms MonskyCheck891.sel_pos891

bsd/MonskyCheck892.lean

lean_all/bsd/MonskyCheck892.lean

/-
  bsd/MonskyCheck892.lean — T39 cycle 2122 (goal G875): Monsky's 2-Selmer matrix for squarefree 178201 ≤ n ≤ 178400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 84 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck892
open MonskyCheck

def zeroList : List Nat := [178201, 178202, 178211, 178235, 178242, 178251, 178257, 178258, 178259, 178266, 178282, 178283, 178291, 178298, 178305, 178307, 178314, 178315, 178321, 178322, 178323, 178329, 178330, 178337, 178338, 178339, 178346, 178363, 178369, 178370, 178378, 178379, 178386]
def posList : List (Nat × Nat) := [(178203, 2), (178205, 3), (178206, 1), (178207, 1), (178210, 2), (178214, 1), (178217, 2), (178219, 2), (178221, 1), (178222, 1), (178223, 1), (178226, 2), (178229, 3), (178230, 1), (178231, 1), (178234, 2), (178237, 3), (178238, 1), (178239, 1), (178241, 2), (178243, 2), (178246, 1), (178247, 1), (178249, 2), (178253, 1), (178255, 1), (178261, 1), (178265, 2), (  -- (+726 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero892 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos892 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck892

#print axioms MonskyCheck892.sel_zero892
#print axioms MonskyCheck892.sel_pos892

bsd/MonskyCheck893.lean

lean_all/bsd/MonskyCheck893.lean

/-
  bsd/MonskyCheck893.lean — T39 cycle 2124 (goal G875): Monsky's 2-Selmer matrix for squarefree 178401 ≤ n ≤ 178600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 100 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck893
open MonskyCheck

def zeroList : List Nat := [178401, 178403, 178410, 178426, 178427, 178435, 178442, 178465, 178473, 178474, 178483, 178499, 178521, 178522, 178523, 178529, 178531, 178538, 178539, 178545, 178553, 178571, 178586, 178593, 178594, 178595]
def posList : List (Nat × Nat) := [(178402, 2), (178405, 3), (178406, 1), (178411, 2), (178413, 1), (178414, 1), (178415, 1), (178417, 2), (178418, 2), (178419, 2), (178421, 1), (178422, 1), (178423, 3), (178429, 1), (178430, 1), (178431, 1), (178433, 2), (178437, 1), (178438, 1), (178439, 1), (178441, 2), (178445, 5), (178446, 1), (178447, 1), (178449, 2), (178451, 2), (178453, 1), (178454, 1), (  -- (+934 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero893 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos893 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck893

#print axioms MonskyCheck893.sel_zero893
#print axioms MonskyCheck893.sel_pos893

bsd/MonskyCheck894.lean

lean_all/bsd/MonskyCheck894.lean

/-
  bsd/MonskyCheck894.lean — T39 cycle 2126 (goal G875): Monsky's 2-Selmer matrix for squarefree 178601 ≤ n ≤ 178800, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck894
open MonskyCheck

def zeroList : List Nat := [178603, 178617, 178619, 178626, 178627, 178634, 178635, 178642, 178643, 178649, 178651, 178657, 178666, 178673, 178683, 178690, 178691, 178705, 178706, 178715, 178723, 178730, 178737, 178739, 178745, 178754, 178755, 178761, 178762, 178770, 178778, 178787]
def posList : List (Nat × Nat) := [(178601, 2), (178606, 1), (178607, 1), (178609, 2), (178610, 2), (178611, 2), (178613, 1), (178615, 1), (178618, 2), (178621, 1), (178622, 1), (178629, 1), (178630, 1), (178631, 3), (178637, 1), (178638, 1), (178639, 1), (178645, 3), (178646, 1), (178647, 1), (178653, 1), (178655, 1), (178658, 2), (178661, 1), (178662, 1), (178663, 1), (178665, 2), (178667, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero894 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos894 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck894

#print axioms MonskyCheck894.sel_zero894
#print axioms MonskyCheck894.sel_pos894

bsd/MonskyCheck895.lean

lean_all/bsd/MonskyCheck895.lean

/-
  bsd/MonskyCheck895.lean — T39 cycle 2128 (goal G875): Monsky's 2-Selmer matrix for squarefree 178801 ≤ n ≤ 179000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck895
open MonskyCheck

def zeroList : List Nat := [178818, 178819, 178826, 178833, 178842, 178843, 178859, 178867, 178881, 178882, 178883, 178890, 178905, 178907, 178913, 178914, 178915, 178923, 178931, 178937, 178939, 178946, 178953, 178954, 178955, 178961, 178970, 178977, 178978, 178987, 178995]
def posList : List (Nat × Nat) := [(178805, 1), (178806, 3), (178807, 1), (178809, 2), (178810, 2), (178811, 2), (178813, 1), (178814, 1), (178815, 1), (178817, 2), (178822, 1), (178823, 3), (178827, 2), (178829, 1), (178831, 1), (178834, 2), (178835, 2), (178837, 1), (178841, 2), (178845, 1), (178846, 3), (178847, 1), (178849, 2), (178851, 2), (178853, 1), (178854, 1), (178855, 1), (178858, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero895 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos895 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck895

#print axioms MonskyCheck895.sel_zero895
#print axioms MonskyCheck895.sel_pos895

bsd/MonskyCheck896.lean

lean_all/bsd/MonskyCheck896.lean

/-
  bsd/MonskyCheck896.lean — T39 cycle 2130 (goal G875): Monsky's 2-Selmer matrix for squarefree 179001 ≤ n ≤ 179200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck896
open MonskyCheck

def zeroList : List Nat := [179002, 179009, 179018, 179034, 179035, 179043, 179049, 179051, 179058, 179065, 179066, 179083, 179090, 179097, 179099, 179106, 179107, 179121, 179137, 179138, 179139, 179146, 179147, 179162, 179169, 179178, 179179, 179187, 179194]
def posList : List (Nat × Nat) := [(179003, 2), (179005, 3), (179006, 3), (179007, 1), (179011, 2), (179013, 1), (179014, 1), (179015, 1), (179017, 2), (179021, 1), (179022, 1), (179023, 1), (179026, 2), (179027, 2), (179029, 1), (179030, 1), (179031, 1), (179033, 2), (179038, 1), (179039, 1), (179041, 2), (179042, 2), (179045, 3), (179047, 1), (179053, 1), (179054, 1), (179057, 2), (179059, 2), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero896 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos896 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck896

#print axioms MonskyCheck896.sel_zero896
#print axioms MonskyCheck896.sel_pos896

bsd/MonskyCheck897.lean

lean_all/bsd/MonskyCheck897.lean

/-
  bsd/MonskyCheck897.lean — T39 cycle 2132 (goal G875): Monsky's 2-Selmer matrix for squarefree 179201 ≤ n ≤ 179400, by rfl.
  s₂(n) = 0 for 22 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck897
open MonskyCheck

def zeroList : List Nat := [179202, 179203, 179211, 179219, 179234, 179241, 179243, 179251, 179259, 179267, 179305, 179306, 179313, 179315, 179330, 179337, 179338, 179346, 179355, 179371, 179377, 179387]
def posList : List (Nat × Nat) := [(179205, 1), (179206, 1), (179207, 3), (179209, 2), (179210, 2), (179213, 1), (179214, 1), (179215, 1), (179218, 2), (179221, 1), (179222, 1), (179223, 1), (179227, 2), (179229, 1), (179230, 1), (179231, 1), (179233, 2), (179237, 1), (179238, 1), (179239, 1), (179245, 1), (179246, 1), (179247, 1), (179249, 2), (179254, 1), (179255, 1), (179257, 2), (179258, 2), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero897 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos897 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck897

#print axioms MonskyCheck897.sel_zero897
#print axioms MonskyCheck897.sel_pos897

bsd/MonskyCheck898.lean

lean_all/bsd/MonskyCheck898.lean

/-
  bsd/MonskyCheck898.lean — T39 cycle 2134 (goal G875): Monsky's 2-Selmer matrix for squarefree 179401 ≤ n ≤ 179600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck898
open MonskyCheck

def zeroList : List Nat := [179402, 179411, 179418, 179419, 179426, 179435, 179449, 179458, 179459, 179465, 179466, 179467, 179474, 179482, 179483, 179490, 179498, 179515, 179530, 179531, 179539, 179546, 179561, 179563, 179570, 179579, 179594]
def posList : List (Nat × Nat) := [(179401, 2), (179403, 2), (179405, 1), (179407, 1), (179409, 2), (179410, 2), (179413, 3), (179414, 1), (179421, 1), (179422, 1), (179423, 3), (179427, 2), (179429, 1), (179430, 1), (179431, 1), (179434, 2), (179437, 1), (179439, 3), (179441, 2), (179445, 1), (179446, 1), (179447, 1), (179453, 1), (179454, 1), (179455, 1), (179457, 2), (179461, 1), (179462, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero898 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos898 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck898

#print axioms MonskyCheck898.sel_zero898
#print axioms MonskyCheck898.sel_pos898

bsd/MonskyCheck899.lean

lean_all/bsd/MonskyCheck899.lean

/-
  bsd/MonskyCheck899.lean — T39 cycle 2136 (goal G875): Monsky's 2-Selmer matrix for squarefree 179601 ≤ n ≤ 179800, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck899
open MonskyCheck

def zeroList : List Nat := [179603, 179610, 179619, 179626, 179642, 179643, 179651, 179659, 179673, 179674, 179682, 179690, 179705, 179706, 179714, 179715, 179722, 179729, 179754, 179761, 179762, 179763, 179769, 179770, 179779, 179786]
def posList : List (Nat × Nat) := [(179601, 2), (179602, 2), (179605, 1), (179606, 1), (179607, 1), (179609, 2), (179611, 2), (179614, 3), (179615, 1), (179617, 2), (179618, 2), (179621, 3), (179623, 1), (179627, 2), (179629, 1), (179630, 1), (179633, 2), (179635, 2), (179637, 1), (179638, 1), (179639, 1), (179641, 2), (179645, 1), (179646, 1), (179653, 1), (179654, 3), (179655, 1), (179657, 2), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero899 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos899 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck899

#print axioms MonskyCheck899.sel_zero899
#print axioms MonskyCheck899.sel_pos899

bsd/MonskyCheck9.lean

lean_all/bsd/MonskyCheck9.lean

/-
  bsd/MonskyCheck9.lean — T39 cycle 327 (goal G62): Monsky's 2-Selmer matrix for squarefree 1601 ≤ n ≤ 1800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck9
open MonskyCheck

def zeroList : List Nat := [1603, 1619, 1626, 1627, 1634, 1641, 1642, 1643, 1658, 1667, 1689, 1691, 1698, 1699, 1706, 1707, 1713, 1722, 1723, 1729, 1730, 1747, 1754, 1761, 1779, 1786, 1787, 1793]
def posList : List (Nat × Nat) := [(1601, 2), (1605, 1), (1606, 1), (1607, 1), (1609, 2), (1610, 2), (1613, 1), (1614, 1), (1615, 1), (1618, 2), (1621, 1), (1622, 1), (1623, 1), (1630, 1), (1631, 3), (1633, 2), (1635, 2), (1637, 1), (1639, 1), (1645, 1), (1646, 1), (1649, 2), (1651, 2), (1653, 1), (1654, 1), (1655, 1), (1657, 2), (1659, 2), (1661, 1), (1662, 1), (1663, 1), (1669, 1), (1670, 1), (1  -- (+635 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero9 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos9 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck9

#print axioms MonskyCheck9.sel_zero9
#print axioms MonskyCheck9.sel_pos9

bsd/MonskyCheck90.lean

lean_all/bsd/MonskyCheck90.lean

/-
  bsd/MonskyCheck90.lean — T39 cycle 436 (goal G151): Monsky's 2-Selmer matrix for squarefree 17801 ≤ n ≤ 18000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck90
open MonskyCheck

def zeroList : List Nat := [17809, 17817, 17819, 17826, 17827, 17834, 17835, 17842, 17851, 17866, 17867, 17882, 17889, 17890, 17891, 17897, 17898, 17907, 17913, 17915, 17922, 17923, 17931, 17939, 17947, 17961, 17971, 17978, 17979, 17987, 17993]
def posList : List (Nat × Nat) := [(17801, 2), (17803, 2), (17805, 1), (17806, 1), (17807, 1), (17810, 2), (17813, 1), (17814, 1), (17815, 1), (17818, 2), (17821, 1), (17822, 1), (17823, 1), (17830, 1), (17831, 1), (17833, 2), (17837, 1), (17839, 1), (17841, 2), (17843, 2), (17845, 1), (17846, 1), (17849, 2), (17853, 1), (17854, 1), (17855, 1), (17857, 2), (17858, 2), (17859, 2), (17861, 1), (1786  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero90 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos90 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck90

#print axioms MonskyCheck90.sel_zero90
#print axioms MonskyCheck90.sel_pos90

bsd/MonskyCheck900.lean

lean_all/bsd/MonskyCheck900.lean

/-
  bsd/MonskyCheck900.lean — T39 cycle 2138 (goal G875): Monsky's 2-Selmer matrix for squarefree 179801 ≤ n ≤ 180000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck900
open MonskyCheck

def zeroList : List Nat := [179810, 179818, 179819, 179826, 179827, 179834, 179842, 179843, 179851, 179866, 179873, 179889, 179890, 179891, 179898, 179899, 179913, 179915, 179922, 179923, 179938, 179939, 179947, 179961, 179963, 179978, 179979, 179993, 179994]
def posList : List (Nat × Nat) := [(179801, 2), (179803, 2), (179805, 1), (179807, 1), (179809, 2), (179813, 1), (179814, 1), (179815, 1), (179817, 2), (179821, 1), (179822, 1), (179823, 1), (179831, 3), (179833, 2), (179835, 2), (179837, 3), (179839, 1), (179841, 2), (179845, 3), (179846, 1), (179849, 2), (179853, 1), (179854, 1), (179855, 1), (179857, 2), (179858, 2), (179859, 2), (179861, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero900 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos900 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck900

#print axioms MonskyCheck900.sel_zero900
#print axioms MonskyCheck900.sel_pos900

bsd/MonskyCheck901.lean

lean_all/bsd/MonskyCheck901.lean

/-
  bsd/MonskyCheck901.lean — T39 cycle 2142 (goal G876): Monsky's 2-Selmer matrix for squarefree 180001 ≤ n ≤ 180200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck901
open MonskyCheck

def zeroList : List Nat := [180003, 180011, 180019, 180033, 180035, 180041, 180042, 180043, 180051, 180066, 180074, 180083, 180089, 180091, 180105, 180106, 180114, 180122, 180123, 180129, 180130, 180138, 180145, 180147, 180155, 180177, 180179, 180186, 180193, 180194]
def posList : List (Nat × Nat) := [(180001, 2), (180002, 2), (180005, 1), (180006, 1), (180007, 1), (180010, 2), (180013, 3), (180014, 1), (180015, 1), (180017, 2), (180021, 1), (180022, 1), (180023, 1), (180029, 1), (180030, 3), (180031, 3), (180034, 2), (180037, 1), (180038, 1), (180039, 1), (180046, 1), (180049, 2), (180053, 1), (180055, 1), (180057, 2), (180058, 2), (180059, 2), (180061, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero901 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos901 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck901

#print axioms MonskyCheck901.sel_zero901
#print axioms MonskyCheck901.sel_pos901

bsd/MonskyCheck902.lean

lean_all/bsd/MonskyCheck902.lean

/-
  bsd/MonskyCheck902.lean — T39 cycle 2144 (goal G876): Monsky's 2-Selmer matrix for squarefree 180201 ≤ n ≤ 180400, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck902
open MonskyCheck

def zeroList : List Nat := [180201, 180209, 180211, 180218, 180227, 180235, 180249, 180257, 180258, 180259, 180266, 180267, 180273, 180291, 180298, 180307, 180321, 180322, 180329, 180331, 180338, 180339, 180345, 180346, 180347, 180354, 180355, 180362, 180363, 180371, 180379, 180386, 180393, 180394]
def posList : List (Nat × Nat) := [(180202, 2), (180203, 2), (180205, 1), (180206, 1), (180210, 2), (180213, 1), (180214, 1), (180215, 1), (180217, 2), (180219, 2), (180221, 1), (180223, 1), (180226, 2), (180229, 1), (180230, 1), (180231, 1), (180233, 2), (180237, 1), (180238, 1), (180239, 1), (180241, 2), (180242, 2), (180245, 1), (180246, 1), (180247, 1), (180251, 2), (180253, 1), (180254, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero902 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos902 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck902

#print axioms MonskyCheck902.sel_zero902
#print axioms MonskyCheck902.sel_pos902

bsd/MonskyCheck903.lean

lean_all/bsd/MonskyCheck903.lean

/-
  bsd/MonskyCheck903.lean — T39 cycle 2146 (goal G876): Monsky's 2-Selmer matrix for squarefree 180401 ≤ n ≤ 180600, by rfl.
  s₂(n) = 0 for 21 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 103 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck903
open MonskyCheck

def zeroList : List Nat := [180417, 180419, 180427, 180433, 180451, 180474, 180481, 180483, 180491, 180498, 180506, 180514, 180521, 180523, 180538, 180539, 180546, 180547, 180555, 180563, 180586]
def posList : List (Nat × Nat) := [(180401, 2), (180402, 2), (180403, 2), (180406, 1), (180407, 1), (180409, 2), (180410, 2), (180413, 1), (180415, 1), (180421, 1), (180422, 3), (180426, 2), (180429, 1), (180430, 1), (180431, 1), (180434, 2), (180435, 2), (180437, 1), (180438, 1), (180439, 1), (180442, 2), (180443, 2), (180445, 3), (180446, 3), (180447, 1), (180449, 2), (180453, 1), (180454, 1), (  -- (+973 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero903 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos903 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck903

#print axioms MonskyCheck903.sel_zero903
#print axioms MonskyCheck903.sel_pos903

bsd/MonskyCheck904.lean

lean_all/bsd/MonskyCheck904.lean

/-
  bsd/MonskyCheck904.lean — T39 cycle 2148 (goal G876): Monsky's 2-Selmer matrix for squarefree 180601 ≤ n ≤ 180800, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck904
open MonskyCheck

def zeroList : List Nat := [180609, 180610, 180611, 180618, 180619, 180627, 180633, 180643, 180658, 180665, 180667, 180674, 180681, 180682, 180690, 180697, 180698, 180699, 180722, 180723, 180730, 180731, 180739, 180746, 180753, 180762, 180763, 180770, 180771, 180777, 180779, 180786, 180787, 180794, 180795]
def posList : List (Nat × Nat) := [(180601, 4), (180602, 2), (180605, 5), (180606, 1), (180607, 1), (180613, 3), (180615, 1), (180617, 2), (180622, 1), (180623, 1), (180626, 2), (180629, 1), (180631, 1), (180634, 2), (180635, 2), (180637, 1), (180638, 1), (180641, 2), (180642, 2), (180645, 1), (180646, 1), (180647, 1), (180649, 2), (180651, 2), (180654, 1), (180655, 1), (180659, 2), (180662, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero904 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos904 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck904

#print axioms MonskyCheck904.sel_zero904
#print axioms MonskyCheck904.sel_pos904

bsd/MonskyCheck905.lean

lean_all/bsd/MonskyCheck905.lean

/-
  bsd/MonskyCheck905.lean — T39 cycle 2150 (goal G876): Monsky's 2-Selmer matrix for squarefree 180801 ≤ n ≤ 181000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck905
open MonskyCheck

def zeroList : List Nat := [180811, 180817, 180818, 180826, 180833, 180834, 180835, 180842, 180849, 180857, 180858, 180874, 180883, 180899, 180906, 180907, 180915, 180921, 180931, 180937, 180938, 180939, 180947, 180953, 180961, 180970, 180985, 180986, 180993, 180994, 180995]
def posList : List (Nat × Nat) := [(180802, 2), (180803, 2), (180805, 3), (180806, 1), (180807, 1), (180809, 2), (180813, 1), (180814, 1), (180821, 1), (180822, 1), (180823, 1), (180827, 2), (180829, 1), (180831, 1), (180838, 1), (180839, 1), (180841, 4), (180843, 2), (180845, 1), (180847, 1), (180851, 2), (180853, 1), (180854, 1), (180862, 1), (180863, 1), (180865, 2), (180866, 2), (180867, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero905 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos905 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck905

#print axioms MonskyCheck905.sel_zero905
#print axioms MonskyCheck905.sel_pos905

bsd/MonskyCheck906.lean

lean_all/bsd/MonskyCheck906.lean

/-
  bsd/MonskyCheck906.lean — T39 cycle 2152 (goal G876): Monsky's 2-Selmer matrix for squarefree 181001 ≤ n ≤ 181200, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck906
open MonskyCheck

def zeroList : List Nat := [181003, 181018, 181019, 181042, 181043, 181049, 181051, 181057, 181059, 181066, 181073, 181082, 181091, 181106, 181114, 181122, 181123, 181131, 181139, 181146, 181154, 181162, 181163, 181171, 181195]
def posList : List (Nat × Nat) := [(181001, 2), (181002, 2), (181005, 1), (181007, 1), (181009, 2), (181010, 2), (181011, 2), (181013, 1), (181014, 3), (181015, 1), (181021, 1), (181022, 1), (181023, 1), (181027, 2), (181029, 1), (181030, 1), (181031, 1), (181033, 2), (181034, 4), (181037, 1), (181038, 1), (181039, 1), (181041, 2), (181045, 3), (181046, 1), (181047, 1), (181054, 1), (181058, 2), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero906 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos906 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck906

#print axioms MonskyCheck906.sel_zero906
#print axioms MonskyCheck906.sel_pos906

bsd/MonskyCheck907.lean

lean_all/bsd/MonskyCheck907.lean

/-
  bsd/MonskyCheck907.lean — T39 cycle 2154 (goal G876): Monsky's 2-Selmer matrix for squarefree 181201 ≤ n ≤ 181400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck907
open MonskyCheck

def zeroList : List Nat := [181209, 181211, 181218, 181219, 181235, 181241, 181243, 181249, 181257, 181259, 181265, 181266, 181274, 181281, 181283, 181290, 181298, 181306, 181315, 181322, 181329, 181330, 181331, 181338, 181346, 181347, 181354, 181355, 181363, 181369, 181370, 181387, 181393]
def posList : List (Nat × Nat) := [(181201, 2), (181205, 3), (181207, 1), (181210, 2), (181213, 1), (181214, 1), (181217, 2), (181221, 1), (181223, 1), (181226, 2), (181227, 2), (181229, 1), (181230, 1), (181231, 1), (181234, 2), (181237, 1), (181238, 1), (181239, 1), (181245, 1), (181246, 1), (181247, 1), (181253, 1), (181254, 3), (181255, 1), (181261, 1), (181262, 1), (181263, 1), (181267, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero907 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos907 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck907

#print axioms MonskyCheck907.sel_zero907
#print axioms MonskyCheck907.sel_pos907

bsd/MonskyCheck908.lean

lean_all/bsd/MonskyCheck908.lean

/-
  bsd/MonskyCheck908.lean — T39 cycle 2156 (goal G876): Monsky's 2-Selmer matrix for squarefree 181401 ≤ n ≤ 181600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck908
open MonskyCheck

def zeroList : List Nat := [181401, 181403, 181410, 181411, 181417, 181418, 181427, 181434, 181451, 181459, 181481, 181489, 181490, 181491, 181497, 181498, 181499, 181507, 181515, 181522, 181523, 181531, 181546, 181554, 181562, 181563, 181571, 181577, 181578, 181585]
def posList : List (Nat × Nat) := [(181402, 2), (181405, 1), (181406, 1), (181407, 1), (181409, 2), (181414, 1), (181415, 3), (181419, 2), (181421, 1), (181423, 1), (181426, 2), (181429, 1), (181430, 1), (181433, 2), (181435, 2), (181437, 1), (181438, 1), (181439, 1), (181441, 2), (181442, 2), (181443, 2), (181445, 1), (181446, 3), (181453, 3), (181454, 1), (181455, 1), (181457, 2), (181461, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero908 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos908 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck908

#print axioms MonskyCheck908.sel_zero908
#print axioms MonskyCheck908.sel_pos908

bsd/MonskyCheck909.lean

lean_all/bsd/MonskyCheck909.lean

/-
  bsd/MonskyCheck909.lean — T39 cycle 2158 (goal G876): Monsky's 2-Selmer matrix for squarefree 181601 ≤ n ≤ 181800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck909
open MonskyCheck

def zeroList : List Nat := [181603, 181610, 181617, 181619, 181626, 181634, 181641, 181642, 181659, 181667, 181673, 181697, 181698, 181699, 181714, 181715, 181722, 181730, 181731, 181739, 181745, 181763, 181770, 181787, 181793, 181794, 181795]
def posList : List (Nat × Nat) := [(181601, 2), (181605, 1), (181606, 1), (181607, 1), (181609, 2), (181613, 3), (181614, 1), (181615, 1), (181618, 2), (181622, 1), (181623, 3), (181627, 2), (181630, 3), (181631, 1), (181633, 2), (181635, 2), (181637, 1), (181639, 1), (181645, 1), (181646, 1), (181649, 2), (181651, 2), (181653, 1), (181654, 1), (181655, 1), (181657, 2), (181658, 2), (181661, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero909 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos909 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck909

#print axioms MonskyCheck909.sel_zero909
#print axioms MonskyCheck909.sel_pos909

bsd/MonskyCheck91.lean

lean_all/bsd/MonskyCheck91.lean

/-
  bsd/MonskyCheck91.lean — T39 cycle 437 (goal G154): Monsky's 2-Selmer matrix for squarefree 18001 ≤ n ≤ 18200, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck91
open MonskyCheck

def zeroList : List Nat := [18003, 18017, 18019, 18026, 18033, 18035, 18043, 18057, 18058, 18059, 18066, 18067, 18073, 18074, 18091, 18105, 18106, 18107, 18113, 18114, 18115, 18122, 18123, 18129, 18131, 18139, 18146, 18177, 18178, 18186, 18187, 18194, 18195]
def posList : List (Nat × Nat) := [(18001, 2), (18002, 2), (18005, 1), (18006, 3), (18007, 1), (18010, 2), (18011, 2), (18013, 1), (18014, 1), (18015, 3), (18021, 1), (18022, 1), (18023, 1), (18030, 3), (18031, 1), (18034, 2), (18037, 1), (18038, 1), (18039, 1), (18041, 2), (18042, 2), (18046, 3), (18047, 1), (18049, 2), (18051, 2), (18053, 1), (18055, 1), (18061, 1), (18062, 1), (18065, 2), (1806  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero91 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos91 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck91

#print axioms MonskyCheck91.sel_zero91
#print axioms MonskyCheck91.sel_pos91

bsd/MonskyCheck910.lean

lean_all/bsd/MonskyCheck910.lean

/-
  bsd/MonskyCheck910.lean — T39 cycle 2160 (goal G876): Monsky's 2-Selmer matrix for squarefree 181801 ≤ n ≤ 182000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck910
open MonskyCheck

def zeroList : List Nat := [181802, 181810, 181811, 181819, 181826, 181833, 181834, 181835, 181842, 181843, 181851, 181866, 181874, 181882, 181891, 181897, 181906, 181914, 181915, 181922, 181923, 181930, 181931, 181938, 181969, 181970, 181977, 181978, 181979, 181987, 181994, 181995]
def posList : List (Nat × Nat) := [(181801, 2), (181803, 2), (181805, 1), (181806, 3), (181807, 3), (181813, 1), (181814, 1), (181815, 1), (181817, 2), (181821, 1), (181822, 1), (181823, 1), (181829, 1), (181830, 1), (181831, 1), (181837, 1), (181838, 1), (181841, 2), (181846, 1), (181847, 1), (181849, 2), (181853, 1), (181855, 1), (181857, 2), (181858, 2), (181859, 2), (181861, 1), (181862, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero910 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos910 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck910

#print axioms MonskyCheck910.sel_zero910
#print axioms MonskyCheck910.sel_pos910

bsd/MonskyCheck911.lean

lean_all/bsd/MonskyCheck911.lean

/-
  bsd/MonskyCheck911.lean — T39 cycle 2164 (goal G877): Monsky's 2-Selmer matrix for squarefree 182001 ≤ n ≤ 182200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck911
open MonskyCheck

def zeroList : List Nat := [182003, 182010, 182011, 182017, 182026, 182027, 182049, 182058, 182059, 182067, 182073, 182074, 182082, 182090, 182091, 182099, 182107, 182121, 182122, 182123, 182130, 182131, 182138, 182145, 182146, 182153, 182154, 182155, 182163, 182170, 182171, 182179, 182193, 182195]
def posList : List (Nat × Nat) := [(182001, 2), (182002, 2), (182005, 5), (182006, 3), (182009, 2), (182014, 3), (182015, 1), (182018, 2), (182019, 2), (182021, 1), (182022, 3), (182023, 1), (182029, 1), (182030, 1), (182031, 1), (182033, 2), (182037, 1), (182038, 1), (182039, 3), (182041, 2), (182042, 2), (182045, 1), (182046, 1), (182047, 1), (182051, 2), (182053, 3), (182054, 1), (182055, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero911 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos911 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck911

#print axioms MonskyCheck911.sel_zero911
#print axioms MonskyCheck911.sel_pos911

bsd/MonskyCheck912.lean

lean_all/bsd/MonskyCheck912.lean

/-
  bsd/MonskyCheck912.lean — T39 cycle 2166 (goal G877): Monsky's 2-Selmer matrix for squarefree 182201 ≤ n ≤ 182400, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck912
open MonskyCheck

def zeroList : List Nat := [182202, 182203, 182211, 182219, 182234, 182235, 182243, 182265, 182267, 182273, 182274, 182281, 182282, 182283, 182289, 182290, 182299, 182307, 182314, 182330, 182337, 182338, 182339, 182346, 182355, 182362, 182363, 182369, 182370, 182371, 182387]
def posList : List (Nat × Nat) := [(182201, 2), (182206, 1), (182207, 3), (182209, 2), (182210, 2), (182213, 3), (182215, 1), (182217, 2), (182218, 2), (182221, 1), (182222, 1), (182227, 2), (182229, 1), (182230, 1), (182233, 2), (182237, 1), (182238, 1), (182239, 1), (182242, 2), (182245, 1), (182246, 1), (182247, 1), (182249, 2), (182251, 2), (182253, 1), (182254, 1), (182255, 1), (182257, 2), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero912 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos912 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck912

#print axioms MonskyCheck912.sel_zero912
#print axioms MonskyCheck912.sel_pos912

bsd/MonskyCheck913.lean

lean_all/bsd/MonskyCheck913.lean

/-
  bsd/MonskyCheck913.lean — T39 cycle 2168 (goal G877): Monsky's 2-Selmer matrix for squarefree 182401 ≤ n ≤ 182600, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck913
open MonskyCheck

def zeroList : List Nat := [182401, 182402, 182410, 182418, 182433, 182435, 182442, 182443, 182449, 182458, 182459, 182467, 182474, 182490, 182499, 182506, 182514, 182522, 182523, 182530, 182531, 182539, 182553, 182554, 182562, 182563, 182570, 182577, 182578, 182579, 182587]
def posList : List (Nat × Nat) := [(182406, 1), (182407, 3), (182409, 2), (182411, 2), (182413, 1), (182414, 1), (182415, 1), (182417, 2), (182419, 2), (182422, 1), (182423, 1), (182426, 2), (182429, 1), (182431, 1), (182434, 2), (182437, 1), (182438, 1), (182441, 2), (182445, 1), (182446, 1), (182447, 1), (182451, 2), (182453, 1), (182454, 3), (182455, 1), (182461, 1), (182462, 1), (182463, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero913 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos913 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck913

#print axioms MonskyCheck913.sel_zero913
#print axioms MonskyCheck913.sel_pos913

bsd/MonskyCheck914.lean

lean_all/bsd/MonskyCheck914.lean

/-
  bsd/MonskyCheck914.lean — T39 cycle 2170 (goal G877): Monsky's 2-Selmer matrix for squarefree 182601 ≤ n ≤ 182800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck914
open MonskyCheck

def zeroList : List Nat := [182603, 182618, 182627, 182633, 182635, 182649, 182651, 182658, 182659, 182665, 182674, 182683, 182690, 182697, 182698, 182706, 182715, 182723, 182730, 182746, 182747, 182761, 182762, 182769, 182779, 182785, 182787, 182794]
def posList : List (Nat × Nat) := [(182602, 2), (182605, 1), (182606, 1), (182607, 1), (182609, 2), (182611, 2), (182613, 1), (182614, 1), (182615, 1), (182617, 2), (182621, 1), (182622, 1), (182626, 2), (182629, 1), (182630, 1), (182631, 1), (182634, 2), (182638, 1), (182639, 1), (182641, 2), (182642, 2), (182643, 2), (182645, 3), (182647, 1), (182653, 1), (182654, 1), (182657, 2), (182661, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero914 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos914 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck914

#print axioms MonskyCheck914.sel_zero914
#print axioms MonskyCheck914.sel_pos914

bsd/MonskyCheck915.lean

lean_all/bsd/MonskyCheck915.lean

/-
  bsd/MonskyCheck915.lean — T39 cycle 2172 (goal G877): Monsky's 2-Selmer matrix for squarefree 182801 ≤ n ≤ 183000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck915
open MonskyCheck

def zeroList : List Nat := [182802, 182803, 182809, 182810, 182818, 182827, 182841, 182849, 182851, 182859, 182865, 182867, 182874, 182891, 182897, 182899, 182906, 182913, 182915, 182922, 182923, 182930, 182938, 182939, 182945, 182946, 182947, 182955, 182962, 182977, 182985, 182986, 182987]
def posList : List (Nat × Nat) := [(182801, 4), (182805, 1), (182806, 1), (182807, 3), (182811, 2), (182813, 1), (182814, 1), (182815, 1), (182821, 1), (182822, 1), (182823, 1), (182829, 1), (182830, 1), (182833, 2), (182834, 4), (182837, 1), (182838, 1), (182839, 1), (182842, 2), (182843, 2), (182845, 1), (182846, 1), (182847, 1), (182854, 1), (182855, 1), (182857, 2), (182861, 1), (182863, 1), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero915 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos915 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck915

#print axioms MonskyCheck915.sel_zero915
#print axioms MonskyCheck915.sel_pos915

bsd/MonskyCheck916.lean

lean_all/bsd/MonskyCheck916.lean

/-
  bsd/MonskyCheck916.lean — T39 cycle 2174 (goal G877): Monsky's 2-Selmer matrix for squarefree 183001 ≤ n ≤ 183200, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck916
open MonskyCheck

def zeroList : List Nat := [183001, 183002, 183003, 183010, 183018, 183019, 183035, 183049, 183057, 183059, 183067, 183081, 183082, 183091, 183107, 183115, 183122, 183129, 183130, 183131, 183137, 183138, 183139, 183146, 183147, 183153, 183155, 183161, 183170]
def posList : List (Nat × Nat) := [(183005, 1), (183007, 1), (183009, 2), (183011, 2), (183013, 1), (183014, 1), (183017, 2), (183021, 1), (183022, 1), (183023, 1), (183026, 2), (183029, 3), (183030, 1), (183031, 3), (183037, 1), (183038, 1), (183039, 1), (183041, 2), (183043, 2), (183045, 1), (183046, 1), (183047, 1), (183053, 1), (183054, 1), (183055, 1), (183058, 2), (183061, 3), (183062, 1), (  -- (+843 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero916 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos916 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck916

#print axioms MonskyCheck916.sel_zero916
#print axioms MonskyCheck916.sel_pos916

bsd/MonskyCheck917.lean

lean_all/bsd/MonskyCheck917.lean

/-
  bsd/MonskyCheck917.lean — T39 cycle 2176 (goal G877): Monsky's 2-Selmer matrix for squarefree 183201 ≤ n ≤ 183400, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck917
open MonskyCheck

def zeroList : List Nat := [183202, 183203, 183210, 183217, 183234, 183235, 183242, 183243, 183259, 183266, 183273, 183282, 183283, 183291, 183297, 183298, 183299, 183306, 183307, 183313, 183322, 183345, 183354, 183363, 183370, 183371, 183378, 183379, 183395]
def posList : List (Nat × Nat) := [(183201, 2), (183205, 1), (183206, 1), (183207, 1), (183209, 4), (183214, 1), (183215, 1), (183218, 2), (183219, 2), (183221, 1), (183223, 1), (183227, 2), (183230, 1), (183233, 2), (183237, 1), (183238, 1), (183239, 3), (183241, 4), (183245, 1), (183246, 1), (183247, 1), (183251, 2), (183253, 1), (183254, 3), (183255, 1), (183257, 4), (183261, 3), (183262, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero917 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos917 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck917

#print axioms MonskyCheck917.sel_zero917
#print axioms MonskyCheck917.sel_pos917

bsd/MonskyCheck918.lean

lean_all/bsd/MonskyCheck918.lean

/-
  bsd/MonskyCheck918.lean — T39 cycle 2178 (goal G877): Monsky's 2-Selmer matrix for squarefree 183401 ≤ n ≤ 183600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck918
open MonskyCheck

def zeroList : List Nat := [183403, 183410, 183418, 183426, 183435, 183451, 183466, 183467, 183482, 183490, 183499, 183507, 183513, 183514, 183521, 183523, 183530, 183531, 183538, 183539, 183547, 183561, 183562, 183571, 183578, 183587, 183594, 183595]
def posList : List (Nat × Nat) := [(183401, 2), (183405, 1), (183406, 1), (183409, 2), (183413, 1), (183414, 1), (183415, 1), (183417, 2), (183419, 2), (183421, 1), (183422, 1), (183423, 1), (183427, 2), (183430, 1), (183431, 1), (183433, 2), (183434, 2), (183437, 1), (183439, 1), (183441, 2), (183442, 2), (183443, 2), (183445, 1), (183449, 2), (183453, 1), (183454, 1), (183455, 1), (183457, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero918 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos918 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck918

#print axioms MonskyCheck918.sel_zero918
#print axioms MonskyCheck918.sel_pos918

bsd/MonskyCheck919.lean

lean_all/bsd/MonskyCheck919.lean

/-
  bsd/MonskyCheck919.lean — T39 cycle 2180 (goal G877): Monsky's 2-Selmer matrix for squarefree 183601 ≤ n ≤ 183800, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck919
open MonskyCheck

def zeroList : List Nat := [183601, 183611, 183619, 183626, 183633, 183634, 183635, 183642, 183643, 183667, 183674, 183683, 183689, 183691, 183698, 183707, 183738, 183754, 183755, 183763, 183786, 183793, 183794, 183795]
def posList : List (Nat × Nat) := [(183602, 2), (183605, 3), (183606, 3), (183607, 3), (183610, 2), (183613, 1), (183614, 1), (183615, 3), (183617, 2), (183621, 3), (183622, 1), (183623, 1), (183629, 1), (183630, 3), (183631, 3), (183637, 1), (183638, 1), (183639, 1), (183641, 4), (183646, 1), (183647, 1), (183649, 2), (183651, 2), (183653, 1), (183655, 1), (183657, 2), (183658, 2), (183659, 2), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero919 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos919 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck919

#print axioms MonskyCheck919.sel_zero919
#print axioms MonskyCheck919.sel_pos919

bsd/MonskyCheck92.lean

lean_all/bsd/MonskyCheck92.lean

/-
  bsd/MonskyCheck92.lean — T39 cycle 438 (goal G155): Monsky's 2-Selmer matrix for squarefree 18201 ≤ n ≤ 18400, by rfl.
  s₂(n) = 0 for 38 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck92
open MonskyCheck

def zeroList : List Nat := [18201, 18202, 18203, 18209, 18211, 18218, 18226, 18227, 18235, 18251, 18258, 18266, 18267, 18273, 18282, 18283, 18291, 18298, 18305, 18307, 18314, 18321, 18331, 18337, 18338, 18339, 18345, 18346, 18347, 18361, 18362, 18370, 18371, 18379, 18386, 18393, 18394, 18395]
def posList : List (Nat × Nat) := [(18205, 1), (18206, 1), (18210, 2), (18213, 1), (18214, 1), (18215, 1), (18217, 2), (18219, 2), (18221, 3), (18222, 1), (18223, 1), (18229, 1), (18230, 1), (18231, 1), (18233, 2), (18237, 1), (18238, 1), (18239, 1), (18241, 2), (18242, 2), (18245, 3), (18246, 1), (18247, 1), (18249, 2), (18253, 1), (18254, 1), (18255, 1), (18257, 2), (18262, 1), (18263, 1), (1826  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero92 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos92 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck92

#print axioms MonskyCheck92.sel_zero92
#print axioms MonskyCheck92.sel_pos92

bsd/MonskyCheck920.lean

lean_all/bsd/MonskyCheck920.lean

/-
  bsd/MonskyCheck920.lean — T39 cycle 2182 (goal G877): Monsky's 2-Selmer matrix for squarefree 183801 ≤ n ≤ 184000, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck920
open MonskyCheck

def zeroList : List Nat := [183802, 183803, 183811, 183818, 183826, 183835, 183849, 183851, 183858, 183865, 183866, 183873, 183882, 183883, 183890, 183898, 183907, 183914, 183945, 183947, 183954, 183962, 183963, 183970, 183971, 183977, 183979, 183986, 183993, 183994]
def posList : List (Nat × Nat) := [(183801, 2), (183805, 3), (183806, 1), (183809, 2), (183810, 2), (183813, 1), (183814, 3), (183815, 1), (183817, 2), (183819, 2), (183821, 1), (183822, 1), (183823, 1), (183827, 2), (183829, 1), (183830, 1), (183831, 3), (183833, 2), (183837, 1), (183838, 3), (183839, 3), (183841, 2), (183842, 2), (183845, 1), (183846, 1), (183847, 1), (183853, 3), (183854, 3), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero920 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos920 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck920

#print axioms MonskyCheck920.sel_zero920
#print axioms MonskyCheck920.sel_pos920

bsd/MonskyCheck921.lean

lean_all/bsd/MonskyCheck921.lean

/-
  bsd/MonskyCheck921.lean — T39 cycle 2184 (goal G878): Monsky's 2-Selmer matrix for squarefree 184001 ≤ n ≤ 184200, by rfl.
  s₂(n) = 0 for 25 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck921
open MonskyCheck

def zeroList : List Nat := [184003, 184011, 184017, 184035, 184042, 184043, 184065, 184067, 184074, 184083, 184089, 184091, 184097, 184106, 184115, 184130, 184137, 184154, 184155, 184163, 184169, 184170, 184171, 184186, 184187]
def posList : List (Nat × Nat) := [(184001, 2), (184002, 4), (184006, 1), (184007, 1), (184009, 2), (184010, 2), (184013, 1), (184015, 1), (184018, 2), (184019, 2), (184021, 1), (184022, 1), (184026, 2), (184027, 2), (184029, 1), (184030, 1), (184031, 1), (184033, 2), (184034, 2), (184037, 1), (184038, 1), (184039, 1), (184045, 3), (184046, 1), (184047, 1), (184051, 2), (184053, 1), (184054, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero921 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos921 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck921

#print axioms MonskyCheck921.sel_zero921
#print axioms MonskyCheck921.sel_pos921

bsd/MonskyCheck922.lean

lean_all/bsd/MonskyCheck922.lean

/-
  bsd/MonskyCheck922.lean — T39 cycle 2186 (goal G878): Monsky's 2-Selmer matrix for squarefree 184201 ≤ n ≤ 184400, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck922
open MonskyCheck

def zeroList : List Nat := [184202, 184209, 184211, 184217, 184218, 184227, 184235, 184242, 184258, 184259, 184282, 184290, 184291, 184298, 184330, 184339, 184346, 184353, 184361, 184362, 184363, 184370, 184377, 184378, 184386, 184393]
def posList : List (Nat × Nat) := [(184201, 2), (184205, 1), (184206, 1), (184207, 1), (184213, 1), (184214, 1), (184215, 1), (184219, 2), (184222, 1), (184223, 1), (184226, 2), (184229, 3), (184231, 1), (184233, 2), (184234, 2), (184237, 1), (184238, 1), (184241, 2), (184243, 2), (184245, 1), (184246, 3), (184247, 3), (184249, 2), (184251, 2), (184253, 1), (184254, 1), (184255, 1), (184261, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero922 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos922 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck922

#print axioms MonskyCheck922.sel_zero922
#print axioms MonskyCheck922.sel_pos922

bsd/MonskyCheck923.lean

lean_all/bsd/MonskyCheck923.lean

/-
  bsd/MonskyCheck923.lean — T39 cycle 2188 (goal G878): Monsky's 2-Selmer matrix for squarefree 184401 ≤ n ≤ 184600, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck923
open MonskyCheck

def zeroList : List Nat := [184411, 184418, 184426, 184427, 184433, 184434, 184435, 184442, 184449, 184457, 184459, 184467, 184474, 184483, 184490, 184497, 184498, 184514, 184521, 184523, 184530, 184531, 184538, 184539, 184546, 184547, 184555, 184570, 184571, 184578, 184586, 184593]
def posList : List (Nat × Nat) := [(184402, 2), (184403, 2), (184405, 1), (184406, 1), (184407, 1), (184409, 2), (184413, 1), (184414, 1), (184415, 1), (184417, 2), (184421, 1), (184422, 1), (184423, 3), (184429, 1), (184430, 1), (184431, 3), (184438, 1), (184439, 1), (184441, 2), (184443, 2), (184445, 1), (184447, 1), (184451, 2), (184453, 1), (184454, 1), (184458, 2), (184461, 1), (184462, 1), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero923 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos923 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck923

#print axioms MonskyCheck923.sel_zero923
#print axioms MonskyCheck923.sel_pos923

bsd/MonskyCheck924.lean

lean_all/bsd/MonskyCheck924.lean

/-
  bsd/MonskyCheck924.lean — T39 cycle 2190 (goal G878): Monsky's 2-Selmer matrix for squarefree 184601 ≤ n ≤ 184800, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck924
open MonskyCheck

def zeroList : List Nat := [184602, 184610, 184618, 184619, 184627, 184634, 184641, 184651, 184657, 184659, 184666, 184667, 184674, 184691, 184699, 184714, 184715, 184722, 184723, 184731, 184746, 184747, 184762, 184778, 184785, 184787, 184794, 184795]
def posList : List (Nat × Nat) := [(184601, 2), (184603, 2), (184605, 1), (184606, 1), (184607, 1), (184609, 2), (184611, 2), (184613, 1), (184614, 1), (184615, 1), (184622, 1), (184623, 1), (184629, 1), (184630, 1), (184631, 1), (184633, 2), (184637, 3), (184638, 1), (184639, 1), (184642, 2), (184643, 2), (184645, 3), (184647, 1), (184649, 2), (184654, 3), (184655, 1), (184658, 2), (184661, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero924 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos924 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck924

#print axioms MonskyCheck924.sel_zero924
#print axioms MonskyCheck924.sel_pos924

bsd/MonskyCheck925.lean

lean_all/bsd/MonskyCheck925.lean

/-
  bsd/MonskyCheck925.lean — T39 cycle 2192 (goal G878): Monsky's 2-Selmer matrix for squarefree 184801 ≤ n ≤ 185000, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck925
open MonskyCheck

def zeroList : List Nat := [184803, 184809, 184818, 184819, 184826, 184834, 184835, 184841, 184843, 184857, 184858, 184859, 184867, 184874, 184881, 184883, 184890, 184891, 184899, 184915, 184921, 184922, 184929, 184930, 184945, 184947, 184953, 184987]
def posList : List (Nat × Nat) := [(184801, 2), (184802, 2), (184805, 1), (184807, 1), (184810, 2), (184811, 2), (184813, 1), (184814, 1), (184817, 2), (184821, 1), (184822, 1), (184823, 1), (184827, 2), (184829, 1), (184830, 1), (184831, 1), (184837, 1), (184838, 1), (184839, 1), (184845, 1), (184846, 1), (184847, 1), (184849, 2), (184853, 1), (184854, 1), (184855, 1), (184861, 1), (184862, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero925 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos925 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck925

#print axioms MonskyCheck925.sel_zero925
#print axioms MonskyCheck925.sel_pos925

bsd/MonskyCheck926.lean

lean_all/bsd/MonskyCheck926.lean

/-
  bsd/MonskyCheck926.lean — T39 cycle 2194 (goal G878): Monsky's 2-Selmer matrix for squarefree 185001 ≤ n ≤ 185200, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck926
open MonskyCheck

def zeroList : List Nat := [185001, 185002, 185010, 185011, 185019, 185027, 185035, 185041, 185042, 185051, 185059, 185066, 185083, 185090, 185097, 185098, 185099, 185106, 185114, 185123, 185131, 185145, 185147, 185154, 185162, 185163, 185169, 185170, 185178, 185179, 185185, 185194]
def posList : List (Nat × Nat) := [(185003, 2), (185005, 1), (185006, 1), (185007, 1), (185014, 1), (185015, 1), (185017, 2), (185018, 2), (185021, 1), (185023, 1), (185026, 2), (185029, 1), (185030, 1), (185033, 2), (185034, 2), (185037, 1), (185038, 3), (185039, 3), (185043, 2), (185045, 1), (185046, 3), (185047, 1), (185053, 1), (185054, 1), (185057, 2), (185061, 1), (185062, 1), (185063, 1), (  -- (+830 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero926 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos926 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck926

#print axioms MonskyCheck926.sel_zero926
#print axioms MonskyCheck926.sel_pos926

bsd/MonskyCheck927.lean

lean_all/bsd/MonskyCheck927.lean

/-
  bsd/MonskyCheck927.lean — T39 cycle 2196 (goal G878): Monsky's 2-Selmer matrix for squarefree 185201 ≤ n ≤ 185400, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 96 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck927
open MonskyCheck

def zeroList : List Nat := [185218, 185226, 185243, 185267, 185273, 185289, 185291, 185298, 185299, 185307, 185313, 185322, 185323, 185330, 185331, 185338, 185354, 185361, 185363, 185371, 185378, 185379, 185386, 185395]
def posList : List (Nat × Nat) := [(185201, 2), (185203, 2), (185205, 1), (185206, 1), (185207, 3), (185209, 4), (185210, 2), (185213, 1), (185214, 1), (185215, 1), (185217, 2), (185219, 2), (185221, 1), (185222, 1), (185223, 1), (185227, 2), (185230, 1), (185231, 1), (185233, 2), (185234, 2), (185235, 2), (185237, 3), (185239, 1), (185241, 2), (185242, 2), (185245, 3), (185246, 1), (185253, 1), (  -- (+882 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero927 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos927 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck927

#print axioms MonskyCheck927.sel_zero927
#print axioms MonskyCheck927.sel_pos927

bsd/MonskyCheck928.lean

lean_all/bsd/MonskyCheck928.lean

/-
  bsd/MonskyCheck928.lean — T39 cycle 2198 (goal G878): Monsky's 2-Selmer matrix for squarefree 185401 ≤ n ≤ 185600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck928
open MonskyCheck

def zeroList : List Nat := [185410, 185411, 185419, 185433, 185434, 185435, 185442, 185443, 185449, 185451, 185457, 185458, 185459, 185467, 185482, 185483, 185489, 185491, 185507, 185515, 185529, 185530, 185531, 185537, 185539, 185545, 185555, 185570, 185577, 185578, 185586, 185587, 185595]
def posList : List (Nat × Nat) := [(185401, 2), (185402, 2), (185403, 2), (185405, 1), (185406, 1), (185407, 1), (185413, 1), (185414, 1), (185415, 1), (185417, 2), (185421, 1), (185422, 1), (185423, 3), (185426, 2), (185429, 1), (185430, 1), (185431, 1), (185437, 3), (185438, 1), (185439, 1), (185441, 2), (185446, 1), (185447, 1), (185453, 1), (185455, 1), (185461, 1), (185462, 1), (185466, 2), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero928 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos928 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck928

#print axioms MonskyCheck928.sel_zero928
#print axioms MonskyCheck928.sel_pos928

bsd/MonskyCheck929.lean

lean_all/bsd/MonskyCheck929.lean

/-
  bsd/MonskyCheck929.lean — T39 cycle 2200 (goal G878): Monsky's 2-Selmer matrix for squarefree 185601 ≤ n ≤ 185800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck929
open MonskyCheck

def zeroList : List Nat := [185610, 185611, 185617, 185635, 185642, 185651, 185657, 185658, 185667, 185673, 185682, 185683, 185699, 185707, 185713, 185721, 185722, 185723, 185730, 185739, 185745, 185746, 185747, 185754, 185755, 185762, 185763, 185770, 185786]
def posList : List (Nat × Nat) := [(185601, 2), (185602, 2), (185603, 2), (185605, 1), (185606, 3), (185609, 4), (185613, 1), (185615, 1), (185618, 2), (185619, 2), (185621, 1), (185622, 3), (185623, 1), (185626, 2), (185627, 2), (185629, 3), (185630, 1), (185631, 1), (185633, 2), (185637, 1), (185638, 1), (185639, 3), (185641, 2), (185645, 1), (185646, 1), (185647, 1), (185649, 2), (185653, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero929 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos929 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck929

#print axioms MonskyCheck929.sel_zero929
#print axioms MonskyCheck929.sel_pos929

bsd/MonskyCheck93.lean

lean_all/bsd/MonskyCheck93.lean

/-
  bsd/MonskyCheck93.lean — T39 cycle 439 (goal G156): Monsky's 2-Selmer matrix for squarefree 18401 ≤ n ≤ 18600, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 92 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck93
open MonskyCheck

def zeroList : List Nat := [18402, 18426, 18427, 18434, 18435, 18442, 18443, 18449, 18451, 18458, 18467, 18474, 18483, 18489, 18498, 18499, 18523, 18537, 18539, 18547, 18554, 18555, 18563, 18570, 18579, 18586, 18587]
def posList : List (Nat × Nat) := [(18401, 2), (18403, 2), (18406, 1), (18407, 1), (18409, 4), (18410, 2), (18413, 1), (18415, 1), (18417, 2), (18418, 2), (18419, 2), (18422, 1), (18429, 1), (18430, 1), (18431, 3), (18433, 2), (18437, 1), (18438, 1), (18439, 1), (18445, 1), (18446, 1), (18447, 1), (18453, 1), (18454, 1), (18455, 1), (18457, 2), (18461, 1), (18462, 1), (18463, 1), (18465, 2), (1846  -- (+738 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero93 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos93 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck93

#print axioms MonskyCheck93.sel_zero93
#print axioms MonskyCheck93.sel_pos93

bsd/MonskyCheck930.lean

lean_all/bsd/MonskyCheck930.lean

/-
  bsd/MonskyCheck930.lean — T39 cycle 2202 (goal G878): Monsky's 2-Selmer matrix for squarefree 185801 ≤ n ≤ 186000, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck930
open MonskyCheck

def zeroList : List Nat := [185801, 185803, 185819, 185826, 185835, 185866, 185867, 185874, 185882, 185883, 185890, 185899, 185914, 185923, 185930, 185937, 185947, 185953, 185954, 185961, 185970, 185971, 185987]
def posList : List (Nat × Nat) := [(185802, 2), (185806, 1), (185807, 1), (185809, 2), (185810, 2), (185811, 2), (185813, 1), (185815, 1), (185817, 2), (185818, 2), (185821, 1), (185822, 1), (185829, 1), (185830, 1), (185831, 1), (185833, 2), (185834, 2), (185837, 1), (185838, 1), (185839, 1), (185842, 2), (185843, 2), (185845, 3), (185846, 3), (185847, 1), (185849, 2), (185851, 2), (185853, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero930 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos930 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck930

#print axioms MonskyCheck930.sel_zero930
#print axioms MonskyCheck930.sel_pos930

bsd/MonskyCheck931.lean

lean_all/bsd/MonskyCheck931.lean

/-
  bsd/MonskyCheck931.lean — T39 cycle 2204 (goal G879): Monsky's 2-Selmer matrix for squarefree 186001 ≤ n ≤ 186200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck931
open MonskyCheck

def zeroList : List Nat := [186009, 186010, 186019, 186026, 186027, 186033, 186042, 186058, 186059, 186065, 186074, 186081, 186089, 186090, 186091, 186105, 186106, 186107, 186114, 186115, 186122, 186139, 186146, 186154, 186162, 186163, 186169, 186170, 186171, 186185, 186186, 186187, 186193, 186195]
def posList : List (Nat × Nat) := [(186001, 2), (186002, 2), (186005, 3), (186006, 1), (186007, 1), (186011, 2), (186013, 1), (186014, 1), (186015, 1), (186017, 2), (186018, 2), (186022, 3), (186023, 1), (186029, 1), (186031, 1), (186034, 2), (186035, 2), (186037, 1), (186038, 1), (186041, 2), (186043, 2), (186045, 1), (186046, 1), (186047, 3), (186049, 2), (186051, 2), (186054, 1), (186055, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero931 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos931 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck931

#print axioms MonskyCheck931.sel_zero931
#print axioms MonskyCheck931.sel_pos931

bsd/MonskyCheck932.lean

lean_all/bsd/MonskyCheck932.lean

/-
  bsd/MonskyCheck932.lean — T39 cycle 2206 (goal G879): Monsky's 2-Selmer matrix for squarefree 186201 ≤ n ≤ 186400, by rfl.
  s₂(n) = 0 for 35 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 86 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck932
open MonskyCheck

def zeroList : List Nat := [186203, 186211, 186218, 186227, 186233, 186234, 186241, 186242, 186243, 186257, 186259, 186266, 186267, 186274, 186283, 186290, 186297, 186299, 186305, 186306, 186307, 186313, 186314, 186322, 186323, 186330, 186331, 186339, 186353, 186370, 186378, 186379, 186387, 186393, 186394]
def posList : List (Nat × Nat) := [(186202, 2), (186205, 1), (186206, 1), (186207, 1), (186209, 2), (186213, 1), (186214, 1), (186215, 1), (186217, 2), (186221, 3), (186222, 1), (186223, 3), (186226, 2), (186229, 1), (186230, 1), (186231, 1), (186235, 4), (186239, 1), (186247, 1), (186251, 2), (186253, 1), (186254, 3), (186258, 2), (186261, 1), (186262, 1), (186263, 1), (186265, 2), (186269, 3), (  -- (+752 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero932 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos932 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck932

#print axioms MonskyCheck932.sel_zero932
#print axioms MonskyCheck932.sel_pos932

bsd/MonskyCheck933.lean

lean_all/bsd/MonskyCheck933.lean

/-
  bsd/MonskyCheck933.lean — T39 cycle 2208 (goal G879): Monsky's 2-Selmer matrix for squarefree 186401 ≤ n ≤ 186600, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck933
open MonskyCheck

def zeroList : List Nat := [186409, 186418, 186419, 186441, 186451, 186458, 186466, 186483, 186490, 186491, 186497, 186506, 186513, 186522, 186523, 186530, 186531, 186538, 186546, 186547, 186554, 186555, 186577, 186585, 186586, 186587, 186593, 186595]
def posList : List (Nat × Nat) := [(186401, 2), (186402, 2), (186403, 2), (186406, 1), (186410, 2), (186411, 2), (186413, 1), (186414, 1), (186415, 1), (186421, 1), (186422, 3), (186423, 1), (186427, 2), (186429, 1), (186430, 1), (186431, 1), (186433, 2), (186437, 1), (186438, 3), (186439, 1), (186442, 2), (186443, 2), (186446, 1), (186447, 1), (186449, 2), (186454, 1), (186455, 1), (186457, 4), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero933 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos933 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck933

#print axioms MonskyCheck933.sel_zero933
#print axioms MonskyCheck933.sel_pos933

bsd/MonskyCheck934.lean

lean_all/bsd/MonskyCheck934.lean

/-
  bsd/MonskyCheck934.lean — T39 cycle 2210 (goal G879): Monsky's 2-Selmer matrix for squarefree 186601 ≤ n ≤ 186800, by rfl.
  s₂(n) = 0 for 27 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck934
open MonskyCheck

def zeroList : List Nat := [186603, 186609, 186610, 186617, 186618, 186619, 186634, 186635, 186643, 186657, 186681, 186683, 186691, 186698, 186707, 186715, 186731, 186738, 186747, 186753, 186762, 186763, 186769, 186770, 186778, 186779, 186794]
def posList : List (Nat × Nat) := [(186601, 2), (186602, 2), (186605, 3), (186607, 1), (186611, 2), (186613, 1), (186614, 1), (186621, 1), (186622, 3), (186623, 3), (186626, 2), (186627, 2), (186629, 1), (186630, 1), (186631, 3), (186638, 1), (186639, 1), (186645, 1), (186646, 1), (186647, 1), (186649, 2), (186653, 1), (186654, 1), (186655, 1), (186658, 2), (186659, 2), (186661, 3), (186662, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero934 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos934 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck934

#print axioms MonskyCheck934.sel_zero934
#print axioms MonskyCheck934.sel_pos934

bsd/MonskyCheck935.lean

lean_all/bsd/MonskyCheck935.lean

/-
  bsd/MonskyCheck935.lean — T39 cycle 2212 (goal G879): Monsky's 2-Selmer matrix for squarefree 186801 ≤ n ≤ 187000, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 89 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck935
open MonskyCheck

def zeroList : List Nat := [186803, 186810, 186811, 186818, 186819, 186827, 186833, 186834, 186857, 186859, 186865, 186873, 186882, 186883, 186890, 186891, 186897, 186899, 186907, 186915, 186922, 186929, 186937, 186938, 186946, 186947, 186954, 186961, 186969, 186970, 186971, 186978, 186986]
def posList : List (Nat × Nat) := [(186801, 2), (186802, 2), (186805, 3), (186806, 3), (186807, 3), (186809, 2), (186814, 1), (186815, 1), (186817, 2), (186821, 1), (186823, 1), (186826, 2), (186829, 1), (186830, 1), (186835, 2), (186838, 1), (186839, 3), (186841, 2), (186842, 2), (186843, 2), (186845, 3), (186846, 1), (186847, 1), (186851, 2), (186853, 1), (186854, 1), (186855, 1), (186861, 3), (  -- (+791 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero935 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos935 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck935

#print axioms MonskyCheck935.sel_zero935
#print axioms MonskyCheck935.sel_pos935

bsd/MonskyCheck936.lean

lean_all/bsd/MonskyCheck936.lean

/-
  bsd/MonskyCheck936.lean — T39 cycle 2214 (goal G879): Monsky's 2-Selmer matrix for squarefree 187001 ≤ n ≤ 187200, by rfl.
  s₂(n) = 0 for 34 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck936
open MonskyCheck

def zeroList : List Nat := [187003, 187010, 187017, 187019, 187027, 187034, 187035, 187041, 187043, 187067, 187089, 187091, 187098, 187099, 187105, 187107, 187114, 187115, 187121, 187122, 187123, 187130, 187139, 187145, 187147, 187161, 187162, 187163, 187169, 187171, 187178, 187179, 187186, 187194]
def posList : List (Nat × Nat) := [(187001, 4), (187005, 1), (187006, 1), (187007, 1), (187009, 2), (187013, 3), (187014, 1), (187015, 1), (187018, 2), (187021, 1), (187022, 1), (187023, 1), (187026, 2), (187030, 1), (187031, 1), (187037, 1), (187039, 3), (187042, 2), (187045, 3), (187046, 1), (187049, 2), (187051, 2), (187053, 1), (187054, 3), (187055, 3), (187057, 2), (187058, 2), (187059, 2), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero936 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos936 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck936

#print axioms MonskyCheck936.sel_zero936
#print axioms MonskyCheck936.sel_pos936

bsd/MonskyCheck937.lean

lean_all/bsd/MonskyCheck937.lean

/-
  bsd/MonskyCheck937.lean — T39 cycle 2216 (goal G879): Monsky's 2-Selmer matrix for squarefree 187201 ≤ n ≤ 187400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck937
open MonskyCheck

def zeroList : List Nat := [187210, 187211, 187219, 187226, 187234, 187235, 187242, 187251, 187257, 187258, 187267, 187274, 187282, 187283, 187297, 187305, 187306, 187314, 187315, 187321, 187330, 187339, 187346, 187347, 187354, 187370, 187377, 187378, 187379, 187385, 187386, 187387, 187394]
def posList : List (Nat × Nat) := [(187201, 2), (187202, 2), (187203, 2), (187205, 3), (187206, 1), (187207, 1), (187213, 3), (187214, 1), (187215, 1), (187217, 2), (187221, 1), (187222, 1), (187223, 1), (187231, 1), (187233, 2), (187237, 1), (187238, 3), (187239, 3), (187241, 2), (187243, 2), (187246, 1), (187247, 3), (187249, 2), (187253, 1), (187255, 1), (187259, 2), (187261, 1), (187262, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero937 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos937 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck937

#print axioms MonskyCheck937.sel_zero937
#print axioms MonskyCheck937.sel_pos937

bsd/MonskyCheck938.lean

lean_all/bsd/MonskyCheck938.lean

/-
  bsd/MonskyCheck938.lean — T39 cycle 2218 (goal G879): Monsky's 2-Selmer matrix for squarefree 187401 ≤ n ≤ 187600, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck938
open MonskyCheck

def zeroList : List Nat := [187401, 187402, 187411, 187418, 187442, 187449, 187451, 187458, 187459, 187466, 187467, 187473, 187483, 187490, 187498, 187499, 187507, 187521, 187531, 187538, 187545, 187547, 187554, 187570, 187577, 187595]
def posList : List (Nat × Nat) := [(187403, 2), (187405, 1), (187406, 1), (187409, 2), (187410, 2), (187413, 1), (187414, 1), (187415, 1), (187417, 2), (187419, 2), (187422, 1), (187423, 1), (187426, 2), (187427, 2), (187430, 1), (187431, 1), (187433, 2), (187435, 2), (187437, 1), (187438, 1), (187439, 3), (187441, 2), (187445, 3), (187446, 1), (187447, 1), (187453, 1), (187454, 1), (187455, 1), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero938 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos938 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck938

#print axioms MonskyCheck938.sel_zero938
#print axioms MonskyCheck938.sel_pos938

bsd/MonskyCheck939.lean

lean_all/bsd/MonskyCheck939.lean

/-
  bsd/MonskyCheck939.lean — T39 cycle 2220 (goal G879): Monsky's 2-Selmer matrix for squarefree 187601 ≤ n ≤ 187800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck939
open MonskyCheck

def zeroList : List Nat := [187602, 187609, 187610, 187611, 187617, 187627, 187642, 187651, 187674, 187682, 187689, 187691, 187698, 187699, 187729, 187730, 187737, 187738, 187739, 187754, 187755, 187762, 187763, 187770, 187771, 187777, 187779, 187786, 187787]
def posList : List (Nat × Nat) := [(187601, 2), (187603, 2), (187606, 3), (187607, 1), (187613, 1), (187615, 3), (187618, 2), (187619, 2), (187622, 1), (187626, 2), (187629, 3), (187630, 1), (187631, 1), (187633, 2), (187634, 2), (187635, 2), (187637, 1), (187638, 1), (187639, 1), (187643, 2), (187645, 3), (187646, 1), (187647, 1), (187649, 2), (187653, 1), (187654, 1), (187655, 1), (187657, 2), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero939 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos939 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck939

#print axioms MonskyCheck939.sel_zero939
#print axioms MonskyCheck939.sel_pos939

bsd/MonskyCheck94.lean

lean_all/bsd/MonskyCheck94.lean

/-
  bsd/MonskyCheck94.lean — T39 cycle 440 (goal G157): Monsky's 2-Selmer matrix for squarefree 18601 ≤ n ≤ 18800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck94
open MonskyCheck

def zeroList : List Nat := [18601, 18609, 18610, 18611, 18619, 18626, 18633, 18635, 18642, 18643, 18658, 18681, 18682, 18683, 18689, 18690, 18691, 18698, 18730, 18731, 18739, 18745, 18770, 18771, 18778, 18779, 18786, 18787, 18794]
def posList : List (Nat × Nat) := [(18602, 2), (18606, 1), (18607, 3), (18613, 1), (18614, 1), (18615, 1), (18617, 2), (18618, 2), (18622, 1), (18623, 1), (18627, 2), (18629, 3), (18631, 1), (18637, 1), (18638, 1), (18641, 2), (18645, 1), (18646, 1), (18647, 1), (18649, 4), (18651, 2), (18653, 1), (18654, 1), (18655, 1), (18659, 2), (18661, 1), (18662, 1), (18663, 1), (18665, 2), (18667, 2), (1867  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero94 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos94 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck94

#print axioms MonskyCheck94.sel_zero94
#print axioms MonskyCheck94.sel_pos94

bsd/MonskyCheck940.lean

lean_all/bsd/MonskyCheck940.lean

/-
  bsd/MonskyCheck940.lean — T39 cycle 2222 (goal G879): Monsky's 2-Selmer matrix for squarefree 187801 ≤ n ≤ 188000, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 95 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck940
open MonskyCheck

def zeroList : List Nat := [187801, 187802, 187809, 187810, 187819, 187827, 187835, 187842, 187843, 187858, 187881, 187882, 187883, 187890, 187898, 187899, 187905, 187907, 187930, 187931, 187939, 187953, 187954, 187962, 187963, 187970, 187977, 187985, 187986, 187987, 187994]
def posList : List (Nat × Nat) := [(187805, 3), (187806, 1), (187807, 1), (187811, 2), (187813, 3), (187814, 3), (187815, 1), (187818, 2), (187822, 1), (187823, 1), (187826, 2), (187829, 1), (187831, 3), (187833, 2), (187834, 2), (187837, 1), (187838, 1), (187841, 2), (187845, 1), (187846, 1), (187847, 1), (187849, 2), (187851, 2), (187853, 1), (187854, 1), (187855, 1), (187859, 2), (187861, 1), (  -- (+869 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero940 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos940 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck940

#print axioms MonskyCheck940.sel_zero940
#print axioms MonskyCheck940.sel_pos940

bsd/MonskyCheck941.lean

lean_all/bsd/MonskyCheck941.lean

/-
  bsd/MonskyCheck941.lean — T39 cycle 2228 (goal G880): Monsky's 2-Selmer matrix for squarefree 188001 ≤ n ≤ 188200, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 88 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck941
open MonskyCheck

def zeroList : List Nat := [188011, 188026, 188033, 188035, 188043, 188049, 188058, 188059, 188067, 188074, 188083, 188089, 188107, 188121, 188122, 188129, 188130, 188131, 188138, 188147, 188161, 188162, 188169, 188171, 188177, 188178, 188179, 188186, 188193, 188195]
def posList : List (Nat × Nat) := [(188002, 2), (188003, 2), (188005, 1), (188006, 1), (188007, 1), (188009, 2), (188014, 1), (188015, 3), (188017, 2), (188018, 2), (188021, 1), (188022, 1), (188023, 1), (188027, 2), (188029, 1), (188030, 1), (188031, 1), (188038, 1), (188039, 1), (188041, 2), (188042, 2), (188045, 1), (188047, 3), (188051, 2), (188053, 1), (188054, 1), (188057, 2), (188061, 1), (  -- (+778 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero941 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos941 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck941

#print axioms MonskyCheck941.sel_zero941
#print axioms MonskyCheck941.sel_pos941

bsd/MonskyCheck942.lean

lean_all/bsd/MonskyCheck942.lean

/-
  bsd/MonskyCheck942.lean — T39 cycle 2230 (goal G880): Monsky's 2-Selmer matrix for squarefree 188201 ≤ n ≤ 188400, by rfl.
  s₂(n) = 0 for 26 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 99 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck942
open MonskyCheck

def zeroList : List Nat := [188201, 188202, 188210, 188211, 188218, 188219, 188233, 188234, 188241, 188251, 188259, 188265, 188274, 188282, 188291, 188299, 188315, 188322, 188323, 188330, 188331, 188337, 188353, 188378, 188386, 188394]
def posList : List (Nat × Nat) := [(188205, 1), (188206, 1), (188207, 3), (188213, 1), (188214, 1), (188215, 1), (188221, 1), (188222, 1), (188223, 1), (188227, 2), (188229, 1), (188230, 3), (188231, 3), (188237, 1), (188238, 1), (188239, 1), (188242, 2), (188243, 2), (188245, 3), (188246, 1), (188247, 1), (188249, 2), (188254, 1), (188255, 1), (188257, 2), (188261, 1), (188263, 3), (188267, 2), (  -- (+921 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero942 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos942 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck942

#print axioms MonskyCheck942.sel_zero942
#print axioms MonskyCheck942.sel_pos942

bsd/MonskyCheck943.lean

lean_all/bsd/MonskyCheck943.lean

/-
  bsd/MonskyCheck943.lean — T39 cycle 2232 (goal G880): Monsky's 2-Selmer matrix for squarefree 188401 ≤ n ≤ 188600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck943
open MonskyCheck

def zeroList : List Nat := [188403, 188409, 188410, 188426, 188427, 188441, 188443, 188457, 188458, 188459, 188466, 188467, 188481, 188483, 188491, 188499, 188506, 188507, 188515, 188522, 188530, 188537, 188539, 188545, 188553, 188554, 188555, 188562, 188563, 188570, 188578, 188579, 188594]
def posList : List (Nat × Nat) := [(188401, 2), (188402, 2), (188407, 1), (188411, 2), (188413, 1), (188414, 1), (188417, 2), (188418, 2), (188419, 2), (188421, 1), (188422, 1), (188423, 1), (188429, 3), (188430, 1), (188431, 1), (188434, 2), (188437, 1), (188438, 1), (188439, 1), (188445, 1), (188446, 1), (188447, 1), (188449, 2), (188453, 1), (188455, 1), (188461, 1), (188462, 1), (188463, 1), (  -- (+765 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero943 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos943 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck943

#print axioms MonskyCheck943.sel_zero943
#print axioms MonskyCheck943.sel_pos943

bsd/MonskyCheck944.lean

lean_all/bsd/MonskyCheck944.lean

/-
  bsd/MonskyCheck944.lean — T39 cycle 2234 (goal G880): Monsky's 2-Selmer matrix for squarefree 188601 ≤ n ≤ 188800, by rfl.
  s₂(n) = 0 for 31 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 91 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck944
open MonskyCheck

def zeroList : List Nat := [188602, 188603, 188610, 188617, 188618, 188619, 188626, 188627, 188634, 188643, 188659, 188666, 188673, 188674, 188683, 188689, 188690, 188691, 188698, 188707, 188715, 188723, 188745, 188747, 188754, 188755, 188762, 188763, 188770, 188779, 188794]
def posList : List (Nat × Nat) := [(188605, 1), (188606, 1), (188607, 1), (188609, 2), (188611, 2), (188614, 1), (188615, 1), (188621, 1), (188623, 1), (188629, 1), (188630, 1), (188633, 2), (188635, 2), (188637, 1), (188638, 1), (188641, 2), (188642, 2), (188645, 3), (188646, 3), (188647, 3), (188651, 2), (188653, 1), (188654, 1), (188655, 1), (188657, 2), (188661, 1), (188662, 1), (188663, 1), (  -- (+817 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero944 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos944 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck944

#print axioms MonskyCheck944.sel_zero944
#print axioms MonskyCheck944.sel_pos944

bsd/MonskyCheck945.lean

lean_all/bsd/MonskyCheck945.lean

/-
  bsd/MonskyCheck945.lean — T39 cycle 2236 (goal G880): Monsky's 2-Selmer matrix for squarefree 188801 ≤ n ≤ 189000, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck945
open MonskyCheck

def zeroList : List Nat := [188817, 188827, 188842, 188843, 188851, 188858, 188859, 188867, 188873, 188889, 188891, 188907, 188913, 188915, 188930, 188939, 188945, 188947, 188954, 188961, 188962, 188969, 188971, 188977, 188978, 188979, 188986, 188987, 188994]
def posList : List (Nat × Nat) := [(188801, 2), (188805, 1), (188806, 1), (188807, 1), (188809, 2), (188810, 2), (188813, 1), (188814, 1), (188815, 1), (188818, 2), (188819, 2), (188821, 1), (188822, 1), (188823, 1), (188826, 2), (188830, 1), (188831, 1), (188833, 2), (188834, 2), (188835, 2), (188837, 1), (188839, 1), (188841, 2), (188845, 1), (188849, 2), (188854, 1), (188855, 1), (188857, 2), (  -- (+804 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero945 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos945 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck945

#print axioms MonskyCheck945.sel_zero945
#print axioms MonskyCheck945.sel_pos945

bsd/MonskyCheck946.lean

lean_all/bsd/MonskyCheck946.lean

/-
  bsd/MonskyCheck946.lean — T39 cycle 2238 (goal G880): Monsky's 2-Selmer matrix for squarefree 189001 ≤ n ≤ 189200, by rfl.
  s₂(n) = 0 for 23 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 97 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck946
open MonskyCheck

def zeroList : List Nat := [189001, 189011, 189019, 189033, 189035, 189043, 189057, 189067, 189082, 189083, 189107, 189121, 189130, 189139, 189146, 189161, 189170, 189177, 189179, 189186, 189187, 189194, 189195]
def posList : List (Nat × Nat) := [(189005, 1), (189007, 1), (189010, 2), (189013, 1), (189014, 1), (189015, 3), (189017, 2), (189021, 1), (189022, 1), (189023, 3), (189026, 2), (189029, 3), (189030, 1), (189031, 1), (189034, 2), (189037, 1), (189038, 1), (189039, 3), (189041, 2), (189046, 1), (189047, 3), (189049, 4), (189051, 2), (189053, 3), (189055, 1), (189058, 2), (189059, 2), (189061, 1), (  -- (+895 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero946 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos946 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck946

#print axioms MonskyCheck946.sel_zero946
#print axioms MonskyCheck946.sel_pos946

bsd/MonskyCheck947.lean

lean_all/bsd/MonskyCheck947.lean

/-
  bsd/MonskyCheck947.lean — T39 cycle 2240 (goal G880): Monsky's 2-Selmer matrix for squarefree 189201 ≤ n ≤ 189400, by rfl.
  s₂(n) = 0 for 24 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 98 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck947
open MonskyCheck

def zeroList : List Nat := [189201, 189202, 189211, 189218, 189226, 189233, 189235, 189242, 189249, 189251, 189258, 189274, 189282, 189307, 189321, 189322, 189329, 189331, 189338, 189339, 189345, 189347, 189386, 189393]
def posList : List (Nat × Nat) := [(189203, 2), (189205, 3), (189206, 1), (189209, 2), (189210, 2), (189213, 1), (189214, 3), (189215, 1), (189217, 2), (189219, 2), (189221, 1), (189222, 1), (189223, 1), (189227, 2), (189229, 1), (189230, 1), (189231, 1), (189237, 1), (189239, 1), (189241, 2), (189245, 1), (189246, 1), (189247, 3), (189253, 1), (189254, 1), (189255, 1), (189257, 2), (189259, 2), (  -- (+908 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero947 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos947 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck947

#print axioms MonskyCheck947.sel_zero947
#print axioms MonskyCheck947.sel_pos947

bsd/MonskyCheck948.lean

lean_all/bsd/MonskyCheck948.lean

/-
  bsd/MonskyCheck948.lean — T39 cycle 2242 (goal G880): Monsky's 2-Selmer matrix for squarefree 189401 ≤ n ≤ 189600, by rfl.
  s₂(n) = 0 for 30 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 94 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck948
open MonskyCheck

def zeroList : List Nat := [189402, 189403, 189410, 189418, 189419, 189426, 189427, 189435, 189442, 189443, 189457, 189458, 189466, 189467, 189482, 189491, 189506, 189515, 189523, 189530, 189537, 189545, 189546, 189547, 189553, 189555, 189562, 189569, 189578, 189595]
def posList : List (Nat × Nat) := [(189401, 2), (189406, 1), (189407, 1), (189409, 2), (189411, 2), (189413, 1), (189415, 3), (189417, 2), (189421, 1), (189422, 1), (189429, 1), (189430, 1), (189431, 1), (189433, 2), (189437, 1), (189438, 1), (189439, 1), (189445, 3), (189446, 1), (189447, 1), (189451, 2), (189453, 1), (189454, 1), (189455, 1), (189461, 1), (189462, 1), (189463, 1), (189465, 2), (  -- (+856 chars; full line in the Zenodo source)

set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_zero948 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 400000 in
set_option maxHeartbeats 0 in
theorem sel_pos948 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck948

#print axioms MonskyCheck948.sel_zero948
#print axioms MonskyCheck948.sel_pos948

bsd/MonskyCheck95.lean

lean_all/bsd/MonskyCheck95.lean

/-
  bsd/MonskyCheck95.lean — T39 cycle 441 (goal G158): Monsky's 2-Selmer matrix for squarefree 18801 ≤ n ≤ 19000, by rfl.
  s₂(n) = 0 for 32 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck95
open MonskyCheck

def zeroList : List Nat := [18803, 18826, 18827, 18834, 18835, 18841, 18842, 18851, 18858, 18859, 18867, 18874, 18897, 18898, 18899, 18906, 18915, 18922, 18930, 18939, 18947, 18953, 18955, 18961, 18962, 18969, 18971, 18978, 18979, 18986, 18987, 18993]
def posList : List (Nat × Nat) := [(18802, 2), (18805, 3), (18806, 1), (18807, 1), (18809, 2), (18811, 2), (18813, 1), (18814, 3), (18815, 1), (18817, 2), (18821, 1), (18822, 1), (18823, 3), (18829, 1), (18830, 1), (18831, 1), (18833, 2), (18838, 1), (18839, 1), (18843, 2), (18845, 3), (18847, 3), (18849, 2), (18853, 3), (18854, 1), (18857, 2), (18861, 1), (18862, 1), (18863, 1), (18866, 2), (1886  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero95 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos95 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck95

#print axioms MonskyCheck95.sel_zero95
#print axioms MonskyCheck95.sel_pos95

bsd/MonskyCheck96.lean

lean_all/bsd/MonskyCheck96.lean

/-
  bsd/MonskyCheck96.lean — T39 cycle 442 (goal G159): Monsky's 2-Selmer matrix for squarefree 19001 ≤ n ≤ 19200, by rfl.
  s₂(n) = 0 for 28 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck96
open MonskyCheck

def zeroList : List Nat := [19003, 19010, 19018, 19019, 19027, 19049, 19051, 19058, 19059, 19066, 19082, 19099, 19114, 19115, 19122, 19123, 19130, 19131, 19137, 19139, 19145, 19153, 19154, 19155, 19162, 19163, 19171, 19186]
def posList : List (Nat × Nat) := [(19001, 2), (19002, 2), (19005, 1), (19006, 3), (19007, 1), (19009, 2), (19011, 2), (19013, 1), (19014, 3), (19015, 1), (19021, 1), (19022, 1), (19023, 1), (19029, 1), (19030, 1), (19031, 1), (19033, 2), (19034, 2), (19037, 1), (19038, 1), (19039, 3), (19041, 2), (19042, 2), (19043, 2), (19045, 1), (19046, 3), (19047, 1), (19054, 1), (19055, 1), (19057, 2), (1906  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero96 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos96 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck96

#print axioms MonskyCheck96.sel_zero96
#print axioms MonskyCheck96.sel_pos96

bsd/MonskyCheck97.lean

lean_all/bsd/MonskyCheck97.lean

/-
  bsd/MonskyCheck97.lean — T39 cycle 443 (goal G160): Monsky's 2-Selmer matrix for squarefree 19201 ≤ n ≤ 19400, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 87 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck97
open MonskyCheck

def zeroList : List Nat := [19201, 19209, 19210, 19211, 19217, 19218, 19219, 19226, 19234, 19235, 19243, 19258, 19259, 19267, 19274, 19281, 19290, 19291, 19307, 19315, 19322, 19330, 19331, 19338, 19339, 19347, 19353, 19354, 19361, 19371, 19379, 19387, 19393]
def posList : List (Nat × Nat) := [(19202, 2), (19203, 2), (19205, 1), (19207, 1), (19213, 1), (19214, 1), (19221, 1), (19222, 1), (19223, 1), (19227, 2), (19229, 1), (19230, 1), (19231, 1), (19237, 1), (19238, 1), (19241, 2), (19245, 1), (19246, 1), (19247, 1), (19249, 2), (19253, 3), (19254, 1), (19255, 1), (19261, 1), (19262, 1), (19263, 1), (19265, 2), (19270, 1), (19271, 3), (19273, 2), (1927  -- (+678 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero97 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos97 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck97

#print axioms MonskyCheck97.sel_zero97
#print axioms MonskyCheck97.sel_pos97

bsd/MonskyCheck98.lean

lean_all/bsd/MonskyCheck98.lean

/-
  bsd/MonskyCheck98.lean — T39 cycle 444 (goal G161): Monsky's 2-Selmer matrix for squarefree 19401 ≤ n ≤ 19600, by rfl.
  s₂(n) = 0 for 33 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 90 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck98
open MonskyCheck

def zeroList : List Nat := [19403, 19410, 19418, 19419, 19426, 19427, 19434, 19459, 19466, 19473, 19474, 19483, 19490, 19497, 19498, 19499, 19505, 19506, 19507, 19515, 19522, 19523, 19529, 19531, 19545, 19546, 19547, 19554, 19562, 19563, 19570, 19571, 19578]
def posList : List (Nat × Nat) := [(19401, 2), (19402, 2), (19405, 3), (19406, 1), (19407, 1), (19409, 2), (19411, 2), (19414, 1), (19415, 1), (19417, 2), (19421, 1), (19423, 1), (19429, 1), (19430, 1), (19433, 2), (19437, 1), (19438, 1), (19439, 1), (19441, 2), (19442, 2), (19443, 2), (19445, 3), (19446, 1), (19447, 1), (19451, 2), (19454, 1), (19455, 1), (19457, 2), (19461, 1), (19462, 1), (1946  -- (+714 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero98 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos98 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck98

#print axioms MonskyCheck98.sel_zero98
#print axioms MonskyCheck98.sel_pos98

bsd/MonskyCheck99.lean

lean_all/bsd/MonskyCheck99.lean

/-
  bsd/MonskyCheck99.lean — T39 cycle 445 (goal G162): Monsky's 2-Selmer matrix for squarefree 19601 ≤ n ≤ 19800, by rfl.
  s₂(n) = 0 for 29 of them (rank 0, Ш[2] = 0 with Monsky's theorem, cited); the other 93 values as listed
  (monsky.py). 
-/
import bsd.MonskyCheck

namespace MonskyCheck99
open MonskyCheck

def zeroList : List Nat := [19603, 19626, 19635, 19641, 19651, 19657, 19658, 19682, 19689, 19690, 19691, 19699, 19705, 19706, 19707, 19713, 19715, 19722, 19730, 19738, 19739, 19754, 19761, 19763, 19771, 19786, 19787, 19794, 19795]
def posList : List (Nat × Nat) := [(19601, 2), (19605, 1), (19606, 1), (19607, 3), (19609, 2), (19610, 2), (19613, 1), (19614, 1), (19615, 1), (19617, 2), (19618, 4), (19619, 2), (19621, 1), (19622, 1), (19623, 1), (19627, 2), (19630, 1), (19631, 1), (19633, 2), (19634, 2), (19637, 3), (19639, 1), (19642, 2), (19643, 2), (19645, 3), (19646, 1), (19653, 1), (19654, 1), (19655, 1), (19659, 2), (1966  -- (+750 chars; full line in the Zenodo source)

set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_zero99 : zeroList.all (fun n => Nat.beq (s2 n) 0) = true := rfl
set_option maxRecDepth 100000 in
set_option maxHeartbeats 0 in
theorem sel_pos99 : posList.all (fun (n, s) => Nat.beq (s2 n) s) = true := rfl

end MonskyCheck99

#print axioms MonskyCheck99.sel_zero99
#print axioms MonskyCheck99.sel_pos99

bsd/NoFour.lean

lean_all/bsd/NoFour.lean

/-
  bsd/NoFour.lean — T39 cycle 279 (goal G22): no rational point of E_n : y² = x³ − n²x doubles to a 2-torsion point,
  every n ≥ 1 — so E_n(Q) has no point of order 4, axiom-free (no reduction mod p, no citation).

  Lean 4 core plus lib/IntRing (lib_int, int_noZD), bsd/TorsionImage (neg_not_sq, no_sqrt2). A point with y ≠ 0 is
  P = (X/b², c/b³), b, c > 0, c² = X³ − n²Xb⁴. Its double has x(2P) = U²/V² with U = X² + n²b⁴, V = 2cb, and
      W² = U² + nV²,   W = X² + 2nXb² − n²b⁴                                     (w_sq, a polynomial identity on E)
  Then x(2P) = 0 needs U = 0, x(2P) = −n needs U² + nV² = 0, and x(2P) = n gives W² = 2U², √2 ∈ Q — all impossible:
    not_zero, not_neg, not_pos;  no_four: x(2P) ∉ {0, n, −n}, i.e. 2P ∉ E[2] \ {O}.
-/
import lib.IntRing
import bsd.TorsionImage

namespace NoFour
open LibInt TorsionImage

theorem sq_nat : ∀ X : Int, ∃ a : Nat, X * X = Int.ofNat (a * a)
  | Int.ofNat a => ⟨a, rfl⟩
  | Int.negSucc k => ⟨k + 1, rfl⟩

theorem w_sq (X n b c : Int) (hc : c * c = X * X * X - n * n * X * (b * b * b * b)) :
    (X * X + 2 * n * X * (b * b) - n * n * (b * b * b * b)) * (X * X + 2 * n * X * (b * b) - n * n * (b * b * b * b))
      = (X * X + n * n * (b * b * b * b)) * (X * X + n * n * (b * b * b * b)) + n * ((2 * c * b) * (2 * c * b)) := by
  have e : n * ((2 * c * b) * (2 * c * b)) = 4 * n * (b * b) * (c * c) := by lib_int
  rw [e, hc]; lib_int

theorem u_pos (n b a : Nat) (hn : 0 < n) (hb : 0 < b) : 0 < a * a + n * n * (b * b * b * b) := by
  cases h : a * a + n * n * (b * b * b * b) with
  | succ k => exact Nat.succ_pos k
  | zero =>
    have hbb : 0 < b * b := Nat.mul_pos hb hb
    have : a * a + (n * n) * ((b * b) * (b * b)) ≠ 0 := neg_not_sq a (n * n) (b * b) (Nat.mul_pos hn hn) hbb
    exact absurd (by rw [← h]; exact (congrArg (a * a + ·) (by lib_nat))) this

theorem U_nat (X : Int) (n b : Nat) : ∃ u : Nat, 0 < n → 0 < b → 0 < u ∧
    X * X + (n : Int) * n * ((b : Int) * b * b * b) = Int.ofNat u := by
  have ⟨a, ha⟩ := sq_nat X
  exact ⟨a * a + n * n * (b * b * b * b), fun hn hb => ⟨u_pos n b a hn hb, by rw [ha]; rfl⟩⟩

/-- **2P ≠ (0, 0).** -/
theorem not_zero (X : Int) (n b : Nat) (hn : 0 < n) (hb : 0 < b) :
    (X * X + (n : Int) * n * ((b : Int) * b * b * b)) * (X * X + (n : Int) * n * ((b : Int) * b * b * b)) ≠ 0 := by
  have ⟨u, hu⟩ := U_nat X n b
  have ⟨hpos, he⟩ := hu hn hb
  rw [he]
  intro h
  cases int_noZD _ _ h with
  | inl h1 => rw [Int.ofNat.inj h1] at hpos; exact Nat.lt_irrefl 0 hpos
  | inr h1 => rw [Int.ofNat.inj h1] at hpos; exact Nat.lt_irrefl 0 hpos

/-- **2P ≠ (−n, 0).** -/
theorem not_neg (X : Int) (n b c : Nat) (hn : 0 < n) (hb : 0 < b) (hc : 0 < c) :
    (X * X + (n : Int) * n * ((b : Int) * b * b * b)) * (X * X + (n : Int) * n * ((b : Int) * b * b * b))
      ≠ -(n : Int) * ((2 * (c : Int) * b) * (2 * (c : Int) * b)) := by
  have ⟨u, hu⟩ := U_nat X n b
  have ⟨_, he⟩ := hu hn hb
  rw [he]
  intro h
  have h2 : Int.ofNat (u * u + n * ((2 * c * b) * (2 * c * b))) = (0 : Int) := by
    have : Int.ofNat (u * u + n * ((2 * c * b) * (2 * c * b)))
        = Int.ofNat u * Int.ofNat u + (n : Int) * ((2 * (c : Int) * b) * (2 * (c : Int) * b)) := rfl
    rw [this, h]; lib_int
  have hv : 0 < 2 * c * b := Nat.mul_pos (Nat.mul_pos (Nat.succ_pos 1) hc) hb
  exact neg_not_sq u n (2 * c * b) hn hv (Int.ofNat.inj h2)

/-- **2P ≠ (n, 0)** (√2 is irrational). -/
theorem not_pos (X : Int) (n b c : Nat) (hn : 0 < n) (hb : 0 < b)
    (hcurve : (c : Int) * c = X * X * X - n * n * X * ((b : Int) * b * b * b)) :
    (X * X + (n : Int) * n * ((b : Int) * b * b * b)) * (X * X + (n : Int) * n * ((b : Int) * b * b * b))
      ≠ (n : Int) * ((2 * (c : Int) * b) * (2 * (c : Int) * b)) := by
  intro h
  have w := w_sq X n b c hcurve
  rw [← h] at w
  have ⟨u, hu⟩ := U_nat X n b
  have ⟨hpos, he⟩ := hu hn hb
  rw [he] at w
  have ⟨k, hk⟩ := sq_nat (X * X + 2 * n * X * (b * b) - n * n * (b * b * b * b))
  rw [hk] at w
  have w2 : Int.ofNat (k * k) = Int.ofNat (2 * (u * u)) := by
    rw [w]; show Int.ofNat u * Int.ofNat u + Int.ofNat u * Int.ofNat u = (2 : Int) * (Int.ofNat u * Int.ofNat u); lib_int
  exact no_sqrt2 u u (Nat.le_refl u) hpos k (Int.ofNat.inj w2)

/-- **No rational point of order 4 on E_n**: for P = (X/b², c/b³) on E_n with b, c > 0, x(2P) = U²/V² is none of
    0, n, −n. -/
theorem no_four (X : Int) (n b c : Nat) (hn : 0 < n) (hb : 0 < b) (hc : 0 < c)
    (hcurve : (c : Int) * c = X * X * X - n * n * X * ((b : Int) * b * b * b)) :
    let U := X * X + (n : Int) * n * ((b : Int) * b * b * b)
    let V := 2 * (c : Int) * b
    U * U ≠ 0 ∧ U * U ≠ -(n : Int) * (V * V) ∧ U * U ≠ (n : Int) * (V * V) :=
  ⟨not_zero X n b hn hb, not_neg X n b c hn hb hc, not_pos X n b c hn hb hcurve⟩

end NoFour

#print axioms NoFour.sq_nat
#print axioms NoFour.w_sq
#print axioms NoFour.not_zero
#print axioms NoFour.not_neg
#print axioms NoFour.not_pos
#print axioms NoFour.no_four

bsd/NoThree.lean

lean_all/bsd/NoThree.lean

/-
  bsd/NoThree.lean — T39 cycle 280 (goal G23, step 1): E_n(Q) has no point of order 3, every n ≥ 1, axiom-free.

  Lean 4 core plus bsd/NoFour (sq_nat), lib/IntRing (lib_int, int_noZD), lib/Semi (lib_nat). For P = (X/b², c/b³)
  on E_n (b, c > 0): 3P = O iff 2P = −P iff x(2P) = x(P), i.e. U²b² = X·V² (U = X² + n²b⁴, V = 2cb). On the curve
      U²b² − XV² = −b²·ψ,   ψ = 3X⁴ − 6n²X²b⁴ − n⁴b⁸,     3ψ = (3X² − 3n²b⁴)² − 3(2n²b⁴)²
  so x(2P) = x(P) gives (3X² − 3n²b⁴)² = 3(2n²b⁴)², and √3 ∉ Q:
    three_sq    3 ∣ a² ⇒ 3 ∣ a;   no_sqrt3   a² ≠ 3c² (c > 0)
    no_three    U²b² ≠ X V²
-/
import bsd.NoFour

namespace NoThree
open LibInt TorsionImage NoFour

theorem mod3 : ∀ a : Nat, ∃ k, a = 3 * k ∨ a = 3 * k + 1 ∨ a = 3 * k + 2
  | 0 => ⟨0, Or.inl rfl⟩
  | a + 1 => by
    have ⟨k, h⟩ := mod3 a
    cases h with
    | inl h => exact ⟨k, Or.inr (Or.inl (by rw [h]))⟩
    | inr h => cases h with
      | inl h => exact ⟨k, Or.inr (Or.inr (by rw [h]))⟩
      | inr h => exact ⟨k + 1, Or.inl (by rw [h]; lib_nat)⟩

theorem three_ne1 : ∀ x y : Nat, 3 * x + 1 ≠ 3 * y
  | x, 0, h => Nat.noConfusion h
  | 0, y + 1, h => by
    have : 1 = 3 * y + 3 := by rw [← show 3 * (y + 1) = 3 * y + 3 by lib_nat]; exact h
    exact Nat.noConfusion (Nat.succ.inj this).symm
  | x + 1, y + 1, h => three_ne1 x y (by
      have : 3 * x + 1 + 3 = 3 * y + 3 := by
        rw [show 3 * x + 1 + 3 = 3 * (x + 1) + 1 by lib_nat, show 3 * y + 3 = 3 * (y + 1) by lib_nat]; exact h
      exact nadd_right_cancel 3 this)

theorem third_cancel : ∀ x y : Nat, 3 * x = 3 * y → x = y
  | 0, 0, _ => rfl
  | 0, y + 1, h => by
    have : 0 = 3 * y + 3 := by rw [show 3 * y + 3 = 3 * (y + 1) by lib_nat]; exact h
    exact Nat.noConfusion this
  | x + 1, 0, h => by
    have : 3 * x + 3 = 0 := by rw [show 3 * x + 3 = 3 * (x + 1) by lib_nat]; exact h
    exact Nat.noConfusion this
  | x + 1, y + 1, h => by
    have : 3 * x + 3 = 3 * y + 3 := by
      rw [show 3 * x + 3 = 3 * (x + 1) by lib_nat, show 3 * y + 3 = 3 * (y + 1) by lib_nat]; exact h
    rw [third_cancel x y (nadd_right_cancel 3 this)]

theorem three_sq (a X : Nat) (h : a * a = 3 * X) : ∃ c, a = 3 * c := by
  have ⟨k, hk⟩ := mod3 a
  cases hk with
  | inl e => exact ⟨k, e⟩
  | inr e => cases e with
    | inl e =>
      rw [e, show (3 * k + 1) * (3 * k + 1) = 3 * (3 * k * k + 2 * k) + 1 by lib_nat] at h
      exact absurd h (three_ne1 _ _)
    | inr e =>
      rw [e, show (3 * k + 2) * (3 * k + 2) = 3 * (3 * k * k + 4 * k + 1) + 1 by lib_nat] at h
      exact absurd h (three_ne1 _ _)

/-- **√3 is irrational.** -/
theorem no_sqrt3 : ∀ F b, b ≤ F → 0 < b → ∀ a, a * a ≠ 3 * (b * b)
  | 0, b, hb, hpos, _, _ => absurd (Nat.lt_of_lt_of_le hpos hb) (Nat.lt_irrefl 0)
  | F + 1, b, hb, hpos, a, h => by
    have ⟨c, hc⟩ := three_sq a (b * b) h
    rw [hc, show 3 * c * (3 * c) = 3 * (3 * (c * c)) by lib_nat] at h
    have h1 := third_cancel _ _ h
    have ⟨d, hd⟩ := three_sq b (c * c) h1.symm
    rw [hd, show 3 * d * (3 * d) = 3 * (3 * (d * d)) by lib_nat] at h1
    have h2 := third_cancel _ _ h1
    have dpos : 0 < d := by
      cases d with
      | zero => rw [hd] at hpos; exact absurd hpos (Nat.lt_irrefl 0)
      | succ d => exact Nat.succ_pos d
    have dlt : d < b := by
      rw [hd, show 3 * d = d + 2 * d by lib_nat]
      exact Nat.lt_add_of_pos_right (Nat.mul_pos (Nat.succ_pos 1) dpos)
    exact no_sqrt3 F d (Nat.le_of_lt_succ (Nat.lt_of_lt_of_le dlt hb)) dpos c h2

/-- **No rational point of order 3 on E_n**: x(2P) ≠ x(P). -/
theorem no_three (X : Int) (n b c : Nat) (hn : 0 < n) (hb : 0 < b)
    (hcurve : (c : Int) * c = X * X * X - n * n * X * ((b : Int) * b * b * b)) :
    (X * X + (n : Int) * n * ((b : Int) * b * b * b)) * (X * X + (n : Int) * n * ((b : Int) * b * b * b)) * ((b : Int) * b)
      ≠ X * ((2 * (c : Int) * b) * (2 * (c : Int) * b)) := by
  intro h
  -- −b²ψ = 0
  have e1 : ((b : Int) * b) * (3 * (X * X * X * X) - 6 * n * n * (X * X) * ((b : Int) * b * b * b)
      - n * n * n * n * ((b : Int) * b * b * b * ((b : Int) * b * b * b))) = 0 := by
    have : X * ((2 * (c : Int) * b) * (2 * (c : Int) * b)) = 4 * ((b : Int) * b) * X * ((c : Int) * c) := by lib_int
    rw [this, hcurve] at h
    have id1 : ((b : Int) * b) * (3 * (X * X * X * X) - 6 * n * n * (X * X) * ((b : Int) * b * b * b)
        - n * n * n * n * ((b : Int) * b * b * b * ((b : Int) * b * b * b)))
        = 4 * ((b : Int) * b) * X * (X * X * X - n * n * X * ((b : Int) * b * b * b))
          - (X * X + (n : Int) * n * ((b : Int) * b * b * b)) * (X * X + (n : Int) * n * ((b : Int) * b * b * b)) * ((b : Int) * b) := by
      lib_int
    rw [id1, ← h]; lib_int
  have hb2 : ((b : Int) * b) ≠ 0 := by
    intro z
    cases int_noZD _ _ z with
    | inl z => exact Nat.lt_irrefl 0 (Int.ofNat.inj z ▸ hb)
    | inr z => exact Nat.lt_irrefl 0 (Int.ofNat.inj z ▸ hb)
  have hψ : 3 * (X * X * X * X) - 6 * n * n * (X * X) * ((b : Int) * b * b * b)
      - n * n * n * n * ((b : Int) * b * b * b * ((b : Int) * b * b * b)) = 0 := by
    cases int_noZD _ _ e1 with
    | inl z => exact absurd z hb2
    | inr z => exact z
  -- (3X² − 3n²b⁴)² = 3(2n²b⁴)²
  have e2 : (3 * (X * X) - 3 * n * n * ((b : Int) * b * b * b)) * (3 * (X * X) - 3 * n * n * ((b : Int) * b * b * b))
      = 3 * ((2 * n * n * ((b : Int) * b * b * b)) * (2 * n * n * ((b : Int) * b * b * b))) := by
    have : (3 * (X * X) - 3 * n * n * ((b : Int) * b * b * b)) * (3 * (X * X) - 3 * n * n * ((b : Int) * b * b * b))
        = 3 * ((2 * n * n * ((b : Int) * b * b * b)) * (2 * n * n * ((b : Int) * b * b * b)))
          + 3 * (3 * (X * X * X * X) - 6 * n * n * (X * X) * ((b : Int) * b * b * b)
            - n * n * n * n * ((b : Int) * b * b * b * ((b : Int) * b * b * b))) := by lib_int
    rw [this, hψ]; lib_int
  have ⟨k, hk⟩ := sq_nat (3 * (X * X) - 3 * n * n * ((b : Int) * b * b * b))
  rw [hk] at e2
  have e3 : Int.ofNat (k * k) = Int.ofNat (3 * ((2 * n * n * (b * b * b * b)) * (2 * n * n * (b * b * b * b)))) := by
    rw [e2]; rfl
  have hv : 0 < 2 * n * n * (b * b * b * b) :=
    Nat.mul_pos (Nat.mul_pos (Nat.mul_pos (Nat.succ_pos 1) hn) hn) (Nat.mul_pos (Nat.mul_pos (Nat.mul_pos hb hb) hb) hb)
  exact no_sqrt3 _ _ (Nat.le_refl _) hv k (Int.ofNat.inj e3)

end NoThree

#print axioms NoThree.three_sq
#print axioms NoThree.no_sqrt3
#print axioms NoThree.no_three

bsd/OddObs.lean

lean_all/bsd/OddObs.lean

/-
  bsd/OddObs.lean — T39 (goal G289f-4h-4, tool): local obstructions at an odd prime p for the 2-descent classes (1, d)
  of E_n : y² = x(x − n)(x + n), with n and d symbolic. For integers U, V, W, Z with
      e1 : U² − n·Z² = d·V²,        e2 : d·(U² + n·Z²) = W²,
  each lemma concludes p ∣ U and p ∣ Z (against gcd(X, T) = 1 downstream, X = U², T = Z). The residue conditions
  are finite tables checked by rfl at each instance (sizes p and p²).
    tabQ, tab1        a·u² + b·v² ≡ 0 ⇒ u ≡ v ≡ 0 (mod p);   a·u² ≡ 0 ⇒ u ≡ 0 (mod p)
    pdiv_of           r ≡ 0 (mod p) ⇒ p ∣ p·q + r
    aniso, zero1      the two tables applied to integers
    ofNat_ne, idv_sub, idv_add', idv_of_eq   bookkeeping
    case_a            p ∣ n = p·n₁, p ∤ n₁, d not a square mod p
    case_c            p ∤ n, d = p·d₁, p ∤ 2·d₁ and p ∤ 2·d₁·n (always, for p odd prime)
    case_b1           n = p·n₁, d = p·d₁, n₁·z² + d₁·v² anisotropic mod p
    case_b2           n = p·n₁, d = p·d₁, d₁n₁·z² − w² anisotropic mod p
  Lean 4 core plus bsd/Adic2 (sq_res, mod_zero_of), bsd/CopReduce (int_cancel).
-/
import bsd.Adic2
import bsd.CopReduce

namespace OddObs
open LibGcd LibInt SqRes Res97b Adic2

def rowQ (p a b u v : Nat) : Bool :=
  imp (Nat.beq ((a * (u * u) + b * (v * v)) % p) 0) (Nat.beq (u % p) 0 && Nat.beq (v % p) 0)

def tabQ (p a b : Nat) : Bool := allBelow (fun u => allBelow (fun v => rowQ p a b u v) p) p

def row1 (p a u : Nat) : Bool := imp (Nat.beq ((a * (u * u)) % p) 0) (Nat.beq (u % p) 0)

def tab1 (p a : Nat) : Bool := allBelow (fun u => row1 p a u) p

theorem tabQ_row {p a b : Nat} (ht : tabQ p a b = true) {u v : Nat} (hu : u < p) (hv : v < p) :
    rowQ p a b u v = true :=
  all_below _ p v (all_below _ p u ht hu) hv

theorem tab1_row {p a : Nat} (ht : tab1 p a = true) {u : Nat} (hu : u < p) : row1 p a u = true :=
  all_below _ p u ht hu

theorem pdiv_of (p : Nat) (hp : 0 < p) (q : Int) (r : Nat) (hr : Nat.beq (r % p) 0 = true) :
    IDv (Int.ofNat p) (Int.ofNat p * q + Int.ofNat r) := by
  obtain ⟨c, hc⟩ := mod_rel p hp r
  rw [LibMod.beq_true hr] at hc
  refine ⟨q + c, ?_⟩
  have e : Int.ofNat r = Int.ofNat p * c := by rw [← hc]; lib_int
  rw [e]; lib_int

theorem ofNat_ne (p : Nat) (hp : 0 < p) : Int.ofNat p ≠ 0 := by
  intro h
  cases p with
  | zero => exact Nat.lt_irrefl 0 hp
  | succ k => exact Nat.noConfusion (Int.ofNat.inj h)

theorem idv_of_eq {p A B : Int} (e : A = p * B) : IDv p A := ⟨B, e⟩

theorem idv_add' {p A B : Int} (h1 : IDv p A) (h2 : IDv p B) : IDv p (A + B) := by
  obtain ⟨a, ea⟩ := h1; obtain ⟨b, eb⟩ := h2
  exact ⟨a + b, by rw [ea, eb]; lib_int⟩

theorem idv_sub {p A B : Int} (h1 : IDv p A) (h2 : IDv p B) : IDv p (A - B) := by
  obtain ⟨a, ea⟩ := h1; obtain ⟨b, eb⟩ := h2
  exact ⟨a - b, by rw [ea, eb]; lib_int⟩

/-- an anisotropic binary form modulo p, applied to integers -/
theorem aniso (p a b : Nat) (hp : 0 < p) (ht : tabQ p a b = true) (A B U V : Int)
    (ha : IDv (Int.ofNat p) (Int.ofNat a - A)) (hb : IDv (Int.ofNat p) (Int.ofNat b - B))
    (e : IDv (Int.ofNat p) (A * (U * U) + B * (V * V))) : IDv (Int.ofNat p) U ∧ IDv (Int.ofNat p) V := by
  obtain ⟨qu, ru, hru, hU⟩ := IntDivMod.int_divmod p hp U
  obtain ⟨qv, rv, hrv, hV⟩ := IntDivMod.int_divmod p hp V
  have sU := sq_res p qu ru
  have sV := sq_res p qv rv
  rw [← hU] at sU
  rw [← hV] at sV
  have m : IDv (Int.ofNat p) (Int.ofNat (a * (ru * ru) + b * (rv * rv))) := by
    obtain ⟨a1, ea1⟩ := sU
    obtain ⟨a2, ea2⟩ := sV
    obtain ⟨b1, eb1⟩ := ha
    obtain ⟨b2, eb2⟩ := hb
    obtain ⟨c0, ec0⟩ := e
    refine ⟨-a1 * Int.ofNat a - a2 * Int.ofNat b + b1 * (U * U) + b2 * (V * V) + c0, ?_⟩
    have e' : Int.ofNat (a * (ru * ru) + b * (rv * rv))
        = -(U * U - Int.ofNat (ru * ru)) * Int.ofNat a - (V * V - Int.ofNat (rv * rv)) * Int.ofNat b
          + (Int.ofNat a - A) * (U * U) + (Int.ofNat b - B) * (V * V) + (A * (U * U) + B * (V * V)) := by lib_int
    rw [e', ea1, ea2, eb1, eb2, ec0]; lib_int
  have hrow := tabQ_row ht hru hrv
  have hpar := imp_mp hrow (mod_zero_of hp m)
  exact ⟨by rw [hU]; exact pdiv_of p hp qu ru (and_left hpar), by rw [hV]; exact pdiv_of p hp qv rv (and_right hpar)⟩

/-- a·z² ≡ 0 ⇒ z ≡ 0 modulo p, applied to integers -/
theorem zero1 (p a : Nat) (hp : 0 < p) (ht : tab1 p a = true) (A Z : Int)
    (ha : IDv (Int.ofNat p) (Int.ofNat a - A)) (e : IDv (Int.ofNat p) (A * (Z * Z))) : IDv (Int.ofNat p) Z := by
  obtain ⟨qz, rz, hrz, hZ⟩ := IntDivMod.int_divmod p hp Z
  have sZ := sq_res p qz rz
  rw [← hZ] at sZ
  have m : IDv (Int.ofNat p) (Int.ofNat (a * (rz * rz))) := by
    obtain ⟨a1, ea1⟩ := sZ
    obtain ⟨b1, eb1⟩ := ha
    obtain ⟨c0, ec0⟩ := e
    refine ⟨-a1 * Int.ofNat a + b1 * (Z * Z) + c0, ?_⟩
    have e' : Int.ofNat (a * (rz * rz))
        = -(Z * Z - Int.ofNat (rz * rz)) * Int.ofNat a + (Int.ofNat a - A) * (Z * Z) + A * (Z * Z) := by lib_int
    rw [e', ea1, eb1, ec0]; lib_int
  have hrow := tab1_row ht hrz
  have hz := imp_mp hrow (mod_zero_of hp m)
  rw [hZ]; exact pdiv_of p hp qz rz hz

/-- p ∣ n = p·n₁ with p ∤ n₁, and d not a square modulo p (table: u² + c·v², c ≡ −d) -/
theorem case_a (p n1c dc : Nat) (hp : 0 < p) (ht1 : tabQ p 1 dc = true) (ht2 : tab1 p n1c = true)
    (n1 d : Int) (hn1 : IDv (Int.ofNat p) (Int.ofNat n1c - n1)) (hd : IDv (Int.ofNat p) (Int.ofNat dc + d))
    (U V Z : Int) (e1 : U * U - (Int.ofNat p * n1) * (Z * Z) = d * (V * V)) :
    IDv (Int.ofNat p) U ∧ IDv (Int.ofNat p) Z := by
  have e0 : U * U - (Int.ofNat p * n1) * (Z * Z) - d * (V * V) = 0 := by rw [e1]; lib_int
  have s1 : IDv (Int.ofNat p) (1 * (U * U) + (-d) * (V * V)) := by
    refine ⟨n1 * (Z * Z), ?_⟩
    have e : 1 * (U * U) + (-d) * (V * V)
        = (U * U - (Int.ofNat p * n1) * (Z * Z) - d * (V * V)) + Int.ofNat p * (n1 * (Z * Z)) := by lib_int
    rw [e, e0]; lib_int
  have ha : IDv (Int.ofNat p) (Int.ofNat 1 - 1) := ⟨0, by lib_int⟩
  have hb : IDv (Int.ofNat p) (Int.ofNat dc - -d) := by
    obtain ⟨c, hc⟩ := hd
    exact ⟨c, by rw [← hc]; lib_int⟩
  have ⟨hU, hV⟩ := aniso p 1 dc hp ht1 1 (-d) U V ha hb s1
  refine ⟨hU, ?_⟩
  obtain ⟨U1, eU⟩ := hU
  obtain ⟨V1, eV⟩ := hV
  have e2 : Int.ofNat p * (n1 * (Z * Z)) = Int.ofNat p * (Int.ofNat p * (U1 * U1) - Int.ofNat p * (d * (V1 * V1))) := by
    have e : Int.ofNat p * (n1 * (Z * Z))
        = Int.ofNat p * (Int.ofNat p * (U1 * U1) - Int.ofNat p * (d * (V1 * V1)))
          - (U * U - (Int.ofNat p * n1) * (Z * Z) - d * (V * V)) := by rw [eU, eV]; lib_int
    rw [e, e0]; lib_int
  have e3 := CopReduce.int_cancel (ofNat_ne p hp) e2
  exact zero1 p n1c hp ht2 n1 Z hn1 ⟨U1 * U1 - d * (V1 * V1), by rw [e3]; lib_int⟩

/-- p ∤ n, d = p·d₁ (tables: 2d₁·u² and 2d₁n·z² vanish only at 0, and 1·w²) -/
theorem case_c (p c2 c3 : Nat) (hp : 0 < p) (t1 : tab1 p 1 = true) (t2 : tab1 p c2 = true) (t3 : tab1 p c3 = true)
    (n d1 : Int) (h2 : IDv (Int.ofNat p) (Int.ofNat c2 - 2 * d1)) (h3 : IDv (Int.ofNat p) (Int.ofNat c3 - 2 * d1 * n))
    (U V W Z : Int) (e1 : U * U - n * (Z * Z) = (Int.ofNat p * d1) * (V * V))
    (e2 : (Int.ofNat p * d1) * (U * U + n * (Z * Z)) = W * W) :
    IDv (Int.ofNat p) U ∧ IDv (Int.ofNat p) Z := by
  have h1 : IDv (Int.ofNat p) (Int.ofNat 1 - 1) := ⟨0, by lib_int⟩
  have hW : IDv (Int.ofNat p) W :=
    zero1 p 1 hp t1 1 W h1 ⟨d1 * (U * U + n * (Z * Z)), by rw [← e2]; lib_int⟩
  obtain ⟨W1, eW⟩ := hW
  have e3 : Int.ofNat p * (d1 * (U * U + n * (Z * Z))) = Int.ofNat p * (Int.ofNat p * (W1 * W1)) := by
    have e : Int.ofNat p * (d1 * (U * U + n * (Z * Z))) = (Int.ofNat p * d1) * (U * U + n * (Z * Z)) := by lib_int
    rw [e, e2, eW]; lib_int
  have e4 := CopReduce.int_cancel (ofNat_ne p hp) e3
  have sA : IDv (Int.ofNat p) (d1 * (U * U + n * (Z * Z))) := ⟨W1 * W1, e4⟩
  have sB : IDv (Int.ofNat p) (d1 * (U * U - n * (Z * Z))) := ⟨d1 * d1 * (V * V), by rw [e1]; lib_int⟩
  have sU : IDv (Int.ofNat p) ((2 * d1) * (U * U)) := by
    have e : (2 * d1) * (U * U) = d1 * (U * U + n * (Z * Z)) + d1 * (U * U - n * (Z * Z)) := by lib_int
    rw [e]; exact idv_add' sA sB
  have sZ : IDv (Int.ofNat p) ((2 * d1 * n) * (Z * Z)) := by
    have e : (2 * d1 * n) * (Z * Z) = d1 * (U * U + n * (Z * Z)) - d1 * (U * U - n * (Z * Z)) := by lib_int
    rw [e]; exact idv_sub sA sB
  exact ⟨zero1 p c2 hp t2 (2 * d1) U h2 sU, zero1 p c3 hp t3 (2 * d1 * n) Z h3 sZ⟩

/-- the first step of case b: p ∣ U, and the reduced equation p·U₁² − n₁Z² = d₁V² -/
theorem case_b0 (p : Nat) (hp : 0 < p) (t1 : tab1 p 1 = true) (n1 d1 U V Z : Int)
    (e1 : U * U - (Int.ofNat p * n1) * (Z * Z) = (Int.ofNat p * d1) * (V * V)) :
    ∃ U1, U = Int.ofNat p * U1 ∧ Int.ofNat p * (U1 * U1) - n1 * (Z * Z) = d1 * (V * V) := by
  have h1 : IDv (Int.ofNat p) (Int.ofNat 1 - 1) := ⟨0, by lib_int⟩
  have hU : IDv (Int.ofNat p) U :=
    zero1 p 1 hp t1 1 U h1 ⟨n1 * (Z * Z) + d1 * (V * V), by
      have e : 1 * (U * U) = (U * U - (Int.ofNat p * n1) * (Z * Z)) + (Int.ofNat p * n1) * (Z * Z) := by lib_int
      rw [e, e1]; lib_int⟩
  obtain ⟨U1, eU⟩ := hU
  refine ⟨U1, eU, CopReduce.int_cancel (ofNat_ne p hp) ?_⟩
  have e : Int.ofNat p * (Int.ofNat p * (U1 * U1) - n1 * (Z * Z))
      = U * U - (Int.ofNat p * n1) * (Z * Z) := by rw [eU]; lib_int
  rw [e, e1]; lib_int

/-- n = p·n₁, d = p·d₁ and n₁·z² + d₁·v² anisotropic modulo p -/
theorem case_b1 (p a b : Nat) (hp : 0 < p) (t1 : tab1 p 1 = true) (ht : tabQ p a b = true)
    (n1 d1 : Int) (ha : IDv (Int.ofNat p) (Int.ofNat a - n1)) (hb : IDv (Int.ofNat p) (Int.ofNat b - d1))
    (U V Z : Int) (e1 : U * U - (Int.ofNat p * n1) * (Z * Z) = (Int.ofNat p * d1) * (V * V)) :
    IDv (Int.ofNat p) U ∧ IDv (Int.ofNat p) Z := by
  obtain ⟨U1, eU, e⟩ := case_b0 p hp t1 n1 d1 U V Z e1
  refine ⟨⟨U1, eU⟩, (aniso p a b hp ht n1 d1 Z V ha hb ⟨U1 * U1, ?_⟩).1⟩
  have e' : n1 * (Z * Z) + d1 * (V * V) = Int.ofNat p * (U1 * U1) - (Int.ofNat p * (U1 * U1) - n1 * (Z * Z) - d1 * (V * V)) := by
    lib_int
  have e0 : Int.ofNat p * (U1 * U1) - n1 * (Z * Z) - d1 * (V * V) = 0 := by rw [e]; lib_int
  rw [e', e0]; lib_int

/-- n = p·n₁, d = p·d₁ and d₁n₁·z² − w² anisotropic modulo p (table a ≡ d₁n₁, b ≡ −1) -/
theorem case_b2 (p a b : Nat) (hp : 0 < p) (t1 : tab1 p 1 = true) (ht : tabQ p a b = true)
    (n1 d1 : Int) (ha : IDv (Int.ofNat p) (Int.ofNat a - d1 * n1)) (hb : IDv (Int.ofNat p) (Int.ofNat b + 1))
    (U V W Z : Int) (e1 : U * U - (Int.ofNat p * n1) * (Z * Z) = (Int.ofNat p * d1) * (V * V))
    (e2 : (Int.ofNat p * d1) * (U * U + (Int.ofNat p * n1) * (Z * Z)) = W * W) :
    IDv (Int.ofNat p) U ∧ IDv (Int.ofNat p) Z := by
  obtain ⟨U1, eU, _⟩ := case_b0 p hp t1 n1 d1 U V Z e1
  have h1 : IDv (Int.ofNat p) (Int.ofNat 1 - 1) := ⟨0, by lib_int⟩
  have eW2 : W * W = Int.ofNat p * (Int.ofNat p * (d1 * (Int.ofNat p * (U1 * U1) + n1 * (Z * Z)))) := by
    rw [← e2, eU]; lib_int
  have hW : IDv (Int.ofNat p) W :=
    zero1 p 1 hp t1 1 W h1 ⟨Int.ofNat p * (d1 * (Int.ofNat p * (U1 * U1) + n1 * (Z * Z))), by rw [eW2]; lib_int⟩
  obtain ⟨W1, eW⟩ := hW
  have c1 : Int.ofNat p * (Int.ofNat p * (W1 * W1))
      = Int.ofNat p * (Int.ofNat p * (d1 * (Int.ofNat p * (U1 * U1) + n1 * (Z * Z)))) := by
    have e : Int.ofNat p * (Int.ofNat p * (W1 * W1)) = W * W := by rw [eW]; lib_int
    rw [e, eW2]
  have c2 := CopReduce.int_cancel (ofNat_ne p hp) (CopReduce.int_cancel (ofNat_ne p hp) c1)
  have hb' : IDv (Int.ofNat p) (Int.ofNat b - -1) := by
    obtain ⟨c, hc⟩ := hb
    exact ⟨c, by rw [← hc]; lib_int⟩
  refine ⟨⟨U1, eU⟩, (aniso p a b hp ht (d1 * n1) (-1) Z W1 ha hb' ⟨-(d1 * (U1 * U1)), ?_⟩).1⟩
  rw [c2]; lib_int

end OddObs

#print axioms OddObs.tabQ_row
#print axioms OddObs.tab1_row
#print axioms OddObs.pdiv_of
#print axioms OddObs.ofNat_ne
#print axioms OddObs.idv_of_eq
#print axioms OddObs.idv_add'
#print axioms OddObs.idv_sub
#print axioms OddObs.aniso
#print axioms OddObs.zero1
#print axioms OddObs.case_a
#print axioms OddObs.case_c
#print axioms OddObs.case_b0
#print axioms OddObs.case_b1
#print axioms OddObs.case_b2

bsd/ParityCheck.lean

lean_all/bsd/ParityCheck.lean

/-
  bsd/ParityCheck.lean — T39 cycle 160: rank parity of the congruent-number curves, squarefree n ≤ 800.

  Lean 4 core, rfl. For E_n : y² = x³ − n²x the root number is −1 exactly for n ≡ 5, 6, 7 (mod 8)
  (classical; with TunnellMod8: A = B = 0 there). The computed analytic ranks of all 486 squarefree
  n < 800 (NUMERIC_BSD_CONGRUENT{,2,3,4}.jsonl) satisfy
      r odd  ⇔  n mod 8 ∈ {5, 6, 7}
  (parity conjecture, here as a check; ranks 0, 1, 2 occur: 197, 244, 45).
    parity_ok     the check for every listed (n, r)
    count_ok      the list has 486 entries
-/
namespace ParityCheck

def tbl : List (Nat × Nat) := [(1, 0), (2, 0), (3, 0), (5, 1), (6, 1), (7, 1), (10, 0), (11, 0), (13, 1), (14, 1), (15, 1), (17, 0), (19, 0), (21, 1), (22, 1), (23, 1), (26, 0), (29, 1), (30, 1), (31, 1), (33, 0), (34, 2), (35, 0), (37, 1), (38, 1), (39, 1), (41, 2), (42, 0), (43, 0), (46, 1), (47, 1), (51, 0), (53, 1), (55, 1), (57, 0), (58, 0), (59, 0), (61, 1), (62, 1), (65, 2), (66, 0), (67, 0  -- (+4423 chars; full line in the Zenodo source)

def odd8 (n : Nat) : Bool := Nat.beq (n % 8) 5 || Nat.beq (n % 8) 6 || Nat.beq (n % 8) 7

set_option maxRecDepth 100000 in
theorem parity_ok : tbl.all (fun (n, r) => Bool.beq (Nat.beq (r % 2) 1) (odd8 n)) = true := rfl
set_option maxRecDepth 100000 in
theorem count_ok : tbl.length = 486 := rfl

end ParityCheck

#print axioms ParityCheck.parity_ok
#print axioms ParityCheck.count_ok

bsd/ParityCheck2.lean

lean_all/bsd/ParityCheck2.lean

/-
  bsd/ParityCheck2.lean — T39 cycle 190: rank parity of the congruent-number curves, squarefree 801 ≤ n ≤ 1000.

  Lean 4 core, rfl. For E_n : y² = x³ − n²x the root number is −1 exactly for n ≡ 5, 6, 7 (mod 8)
  (classical; with TunnellMod8: A = B = 0 there). The computed analytic ranks of all 119 squarefree
  n in 801–1000 (NUMERIC_BSD_CONGRUENT5.jsonl) satisfy
      r odd  ⇔  n mod 8 ∈ {5, 6, 7}
  (parity conjecture, here as a check; ranks 0, 1, 2 occur: 50, 61, 8; with ParityCheck 605 of the 608 squarefree n ≤ 1000; the other three, 397–399, in Gap397).
    parity_ok     the check for every listed (n, r)
    count_ok      the list has 119 entries
-/
namespace ParityCheck2

def tbl : List (Nat × Nat) := [(802, 0), (803, 0), (805, 1), (806, 1), (807, 1), (809, 0), (811, 0), (813, 1), (814, 1), (815, 1), (817, 0), (818, 0), (821, 1), (822, 1), (823, 1), (826, 0), (827, 0), (829, 1), (830, 1), (831, 1), (834, 0), (835, 0), (838, 1), (839, 1), (842, 0), (843, 0), (849, 0), (851, 0), (853, 1), (854, 1), (857, 0), (858, 0), (859, 0), (861, 1), (862, 1), (863, 1), (865, 0),  -- (+820 chars; full line in the Zenodo source)

def odd8 (n : Nat) : Bool := Nat.beq (n % 8) 5 || Nat.beq (n % 8) 6 || Nat.beq (n % 8) 7

set_option maxRecDepth 100000 in
theorem parity_ok : tbl.all (fun (n, r) => Bool.beq (Nat.beq (r % 2) 1) (odd8 n)) = true := rfl
set_option maxRecDepth 100000 in
theorem count_ok : tbl.length = 119 := rfl

end ParityCheck2

#print axioms ParityCheck2.parity_ok
#print axioms ParityCheck2.count_ok

bsd/PrimeCheck.lean

lean_all/bsd/PrimeCheck.lean

/-
  bsd/PrimeCheck.lean — T39 cycle 99: a sound primality check (trial division by rfl ⇒ Pr p).

  Lean 4 core plus FTAChain (Pr, Dv), QRChain (rem, rem_zero_of_dv). The Bool check
      noDiv p k  =  "no d with 2 ≤ d < k + 2 divides p"   (by rem)
  is sound: noDiv p (p − 2) = true and 2 ≤ p ⇒ Pr p. Instances: Pr 3, 7, 11, 19, 43, 67 (so the a_p = 0
  theorems nE_ss, nE_cm3 apply at concrete primes without hand proofs).
-/
import QRChain
import lib.Semi
import bsd.SupersingularCount
import bsd.CubeCount

namespace PrimeCheck
open FTAChain FrobChain QRChain

def noDiv (p : Nat) : Nat → Bool
  | 0 => true
  | k + 1 => noDiv p k && !(Nat.beq (rem (k + 2) p) 0)

theorem noDiv_spec (p : Nat) : ∀ k, noDiv p k = true → ∀ d, 2 ≤ d → d < k + 2 → ¬ Dv d p
  | 0, _, d, h2, hk, _ => absurd (Nat.lt_of_lt_of_le hk h2) (Nat.lt_irrefl d)
  | k + 1, h, d, h2, hk, hd => by
    have h' : noDiv p k = true ∧ (!(Nat.beq (rem (k + 2) p) 0)) = true := by
      cases e1 : noDiv p k <;> cases e2 : (!(Nat.beq (rem (k + 2) p) 0)) <;>
        first | exact ⟨rfl, rfl⟩ | (exfalso; unfold noDiv at h; rw [e1, e2] at h; exact Bool.noConfusion h)
    cases Nat.eq_or_lt_of_le (Nat.le_of_lt_succ hk) with
    | inl e =>
      -- d = k + 2
      subst e
      have z : rem (k + 1 + 1) p = 0 := rem_zero_of_dv (k + 1) p hd
      have : Nat.beq (rem (k + 2) p) 0 = true := by rw [show k + 2 = k + 1 + 1 from rfl, z]; rfl
      rw [this] at h'; exact Bool.noConfusion h'.2
    | inr l => exact noDiv_spec p k h'.1 d h2 l hd

theorem pr_of_check (j : Nat) (h : noDiv (j + 2) j = true) : Pr (j + 2) := by
  refine ⟨⟨j, rfl⟩, ?_⟩
  intro d hd
  cases hd with
  | intro q hq =>
    match d, q, hq with
    | 0, q, hq => rw [Nat.mul_zero] at hq; exact Nat.noConfusion hq
    | 1, _, _ => exact Or.inl rfl
    | d + 2, 0, hq => rw [Nat.zero_mul] at hq; exact Nat.noConfusion hq
    | d + 2, q + 1, hq =>
      -- d + 2 ≤ j + 2
      have hle : d + 2 ≤ j + 2 := by
        rw [hq]; exact Nat.le_trans (Nat.le_refl _) (by
          have e : (q + 1) * (d + 2) = q * (d + 2) + (d + 2) := by lib_nat
          rw [e]; exact Nat.le_add_left _ _)
      cases Nat.eq_or_lt_of_le hle with
      | inl e => exact Or.inr e
      | inr l => exact absurd ⟨q + 1, hq⟩ (noDiv_spec (j + 2) j h (d + 2) (Nat.le_add_left 2 d) l)

set_option maxRecDepth 100000 in
theorem pr3 : Pr 3 := pr_of_check 1 rfl
set_option maxRecDepth 100000 in
theorem pr7 : Pr 7 := pr_of_check 5 rfl
set_option maxRecDepth 100000 in
theorem pr11 : Pr 11 := pr_of_check 9 rfl
set_option maxRecDepth 100000 in
theorem pr19 : Pr 19 := pr_of_check 17 rfl
set_option maxRecDepth 100000 in
theorem pr43 : Pr 43 := pr_of_check 41 rfl
set_option maxRecDepth 100000 in
theorem pr67 : Pr 67 := pr_of_check 65 rfl

/-- Instances: a_p = 0 at concrete primes, every D. -/
theorem ss7 (D : Nat) : SupersingularCount.affSS 7 D + 1 = 8 := SupersingularCount.nE_ss 1 D pr7
theorem ss43 (D : Nat) : SupersingularCount.affSS 43 D + 1 = 44 := SupersingularCount.nE_ss 10 D pr43
theorem cm11 (D : Nat) : CubeCount.affC 11 D + 1 = 12 := CubeCount.nE_cm3 1 D pr11

end PrimeCheck

#print axioms PrimeCheck.noDiv_spec
#print axioms PrimeCheck.pr_of_check
#print axioms PrimeCheck.pr3
#print axioms PrimeCheck.pr7
#print axioms PrimeCheck.pr11
#print axioms PrimeCheck.pr19
#print axioms PrimeCheck.pr43
#print axioms PrimeCheck.pr67
#print axioms PrimeCheck.ss7
#print axioms PrimeCheck.ss43
#print axioms PrimeCheck.cm11

bsd/PtAdd.lean

lean_all/bsd/PtAdd.lean

/-
  bsd/PtAdd.lean — T39 (goal G289e-7b2): rational points of E_42486 : y² = x(x − n)(x + n) with the point O, and the
  chord–tangent addition as a function (case splits by the Boolean test bsd/QDec.qbeq):
      O + P = P,   P + O = P,
      x₁ ≠ x₂:            P₁ + P₂ = (x₃, −y₃)          (third point of the chord, bsd/TransQ)
      x₁ = x₂, y₁ = −y₂:  P₁ + P₂ = O
      x₁ = x₂, y₁ ≠ −y₂:  P₁ + P₂ = 2P₁ = (x₂(P₁), y₂(P₁))   (bsd/DoublingGen, bsd/DblOn)
    on_add     the sum of two points on E is on E
    on_neg     −P is on E
  Lean 4 core plus bsd/TransQ, bsd/DblOn, bsd/QDec.
-/
import bsd.TransQ
import bsd.DblOn
import bsd.QDec
import bsd.Kernel2

namespace PtAdd
open DetChain LibRing LibRat QModel QDec

inductive Pt where
  | O : Pt
  | A : Q → Q → Pt

def OnPt : Pt → Prop
  | Pt.O => True
  | Pt.A x y => OnE x y

def dblX (x y : Q) : Q := DoublingGen.x2 ratR zeroQ nQ (negQ nQ) x (invQ (TrianglePoint.two ratR y))
def dblY (x y : Q) : Q := DblOn.yD ratR zeroQ nQ (negQ nQ) x y (invQ (TrianglePoint.two ratR y))

def neg : Pt → Pt
  | Pt.O => Pt.O
  | Pt.A x y => Pt.A x (ratR.neg y)

/-- the sum of two affine points -/
def addA (x1 y1 x2 y2 : Q) : Pt :=
  match qbeq x1 x2 with
  | false => Pt.A (TransQ.x3 x1 y1 x2 y2) (ratR.neg (TransQ.y3 x1 y1 x2 y2))
  | true =>
    match qbeq y1 (ratR.neg y2) with
    | true => Pt.O
    | false => Pt.A (dblX x1 y1) (dblY x1 y1)

def add : Pt → Pt → Pt
  | Pt.O, P => P
  | Pt.A x y, Pt.O => Pt.A x y
  | Pt.A x1 y1, Pt.A x2 y2 => addA x1 y1 x2 y2

theorem neg_onE (x y : Q) (o : OnE x y) : OnE x (ratR.neg y) :=
  (show ratR.mul (ratR.neg y) (ratR.neg y) = ratR.mul y y by lib_ring).trans o

theorem on_neg : ∀ P : Pt, OnPt P → OnPt (neg P)
  | Pt.O, _ => trivial
  | Pt.A x y, h => neg_onE x y h

/-- the doubling branch: x₁ = x₂ and y₁ ≠ −y₂ force y₁ = y₂ and 2y₁ ≠ 0 -/
theorem dbl_w (x y1 y2 : Q) (o1 : OnE x y1) (o2 : OnE x y2) (hne : y1 ≠ ratR.neg y2) :
    ratR.mul (TrianglePoint.two ratR y1) (invQ (TrianglePoint.two ratR y1)) = ratR.one := by
  have e : ratR.mul y1 y1 = ratR.mul y2 y2 := o1.trans o2.symm
  cases DblOn.sq_cases ratR rat_noZD y1 y2 e with
  | inl h => exact mul_invQ _ (DblOn.two_ne_of ratR rat_noZD Kernel2.two_one_ne y1 y2 h hne)
  | inr h => exact absurd h hne

theorem on_addA (x1 y1 x2 y2 : Q) (hP : OnE x1 y1) (hQ : OnE x2 y2) : OnPt (addA x1 y1 x2 y2) := by
    unfold addA
    cases h : qbeq x1 x2 with
    | false => exact neg_onE _ _ (TransQ.third_onE x1 y1 x2 y2 (qbeq_false _ _ h) hP hQ)
    | true =>
      have hx := qbeq_true _ _ h
      cases hx
      cases h2 : qbeq y1 (ratR.neg y2) with
      | true => exact trivial
      | false =>
        exact DblOn.dbl_on ratR zeroQ nQ (negQ nQ) x1 y1 _ hP (dbl_w x1 y1 y2 hP hQ (qbeq_false _ _ h2))

theorem on_add : ∀ P1 P2 : Pt, OnPt P1 → OnPt P2 → OnPt (add P1 P2)
  | Pt.O, _, _, h2 => h2
  | Pt.A _ _, Pt.O, h1, _ => h1
  | Pt.A x1 y1, Pt.A x2 y2, h1, h2 => on_addA x1 y1 x2 y2 h1 h2

end PtAdd

#print axioms PtAdd.neg_onE
#print axioms PtAdd.on_neg
#print axioms PtAdd.dbl_w
#print axioms PtAdd.on_addA
#print axioms PtAdd.on_add

bsd/PtAddN.lean

lean_all/bsd/PtAddN.lean

/-
  bsd/PtAddN.lean — T39 (goal G289f-4a): the chord–tangent addition on E_n : y² = x(x − n)(x + n) with n a rational
  parameter (bsd/PtAdd fixes n = 42486).  Same point type bsd/PtAdd.Pt; the chord step uses bsd/TransQ.slope, icpt.
    x3n, y3n            third point of the chord
    third_onEn          the third point is on E_n
    chord_Qn            (x₁ − e)(x₂ − e)(x₃ − e) = (λe + ν)² for e ∈ {0, n, −n}
    addN, on_addN       the sum of two points on E_n is on E_n
    addN_42486          at n = 42486 the sum is bsd/PtAdd.add
  Lean 4 core plus bsd/PtAdd, bsd/QModelN.
-/
import bsd.PtAdd
import bsd.QModelN

namespace PtAddN
open DetChain LibRing LibRat QModel QDec PtAdd QModelN

def OnPtN (n : Q) : Pt → Prop
  | Pt.O => True
  | Pt.A x y => OnEn n x y

def x3n (n x1 y1 x2 y2 : Q) : Q :=
  ChordClass.third ratR (DescentHomFull.c2 ratR zeroQ n (negQ n) (TransQ.slope x1 y1 x2 y2)) x1 x2

def y3n (n x1 y1 x2 y2 : Q) : Q :=
  ratR.add (ratR.mul (TransQ.slope x1 y1 x2 y2) (x3n n x1 y1 x2 y2)) (TransQ.icpt x1 y1 x2 y2)

theorem third_onEn (n x1 y1 x2 y2 : Q) (h12 : x1 ≠ x2) (o1 : OnEn n x1 y1) (o2 : OnEn n x2 y2) :
    OnEn n (x3n n x1 y1 x2 y2) (y3n n x1 y1 x2 y2) :=
  ChordClass.third_on ratR rat_noZD zeroQ n (negQ n) _ _ x1 x2 y1 y2 h12
    (TransQ.line1 x1 y1 x2 y2) (TransQ.line2 x1 y1 x2 y2 h12) o1 o2

theorem chord_Qn (n x1 y1 x2 y2 : Q) (h12 : x1 ≠ x2) (o1 : OnEn n x1 y1) (o2 : OnEn n x2 y2) (e : Q)
    (he : e = zeroQ ∨ e = n ∨ e = negQ n) :
    ratR.mul (ratR.mul (sub ratR x1 e) (sub ratR x2 e)) (sub ratR (x3n n x1 y1 x2 y2) e)
      = ratR.mul (ratR.add (ratR.mul (TransQ.slope x1 y1 x2 y2) e) (TransQ.icpt x1 y1 x2 y2))
          (ratR.add (ratR.mul (TransQ.slope x1 y1 x2 y2) e) (TransQ.icpt x1 y1 x2 y2)) :=
  ChordClass.chord_sq ratR rat_noZD zeroQ n (negQ n) _ _ x1 x2 y1 y2 h12
    (TransQ.line1 x1 y1 x2 y2) (TransQ.line2 x1 y1 x2 y2 h12) o1 o2 e he

def dblXn (n x y : Q) : Q := DoublingGen.x2 ratR zeroQ n (negQ n) x (invQ (TrianglePoint.two ratR y))
def dblYn (n x y : Q) : Q := DblOn.yD ratR zeroQ n (negQ n) x y (invQ (TrianglePoint.two ratR y))

def addAN (n x1 y1 x2 y2 : Q) : Pt :=
  match qbeq x1 x2 with
  | false => Pt.A (x3n n x1 y1 x2 y2) (ratR.neg (y3n n x1 y1 x2 y2))
  | true =>
    match qbeq y1 (ratR.neg y2) with
    | true => Pt.O
    | false => Pt.A (dblXn n x1 y1) (dblYn n x1 y1)

def addN (n : Q) : Pt → Pt → Pt
  | Pt.O, P => P
  | Pt.A x y, Pt.O => Pt.A x y
  | Pt.A x1 y1, Pt.A x2 y2 => addAN n x1 y1 x2 y2

theorem neg_onEn (n x y : Q) (o : OnEn n x y) : OnEn n x (ratR.neg y) :=
  (show ratR.mul (ratR.neg y) (ratR.neg y) = ratR.mul y y by lib_ring).trans o

theorem dbl_wn (n x y1 y2 : Q) (o1 : OnEn n x y1) (o2 : OnEn n x y2) (hne : y1 ≠ ratR.neg y2) :
    ratR.mul (TrianglePoint.two ratR y1) (invQ (TrianglePoint.two ratR y1)) = ratR.one := by
  have e : ratR.mul y1 y1 = ratR.mul y2 y2 := o1.trans o2.symm
  cases DblOn.sq_cases ratR rat_noZD y1 y2 e with
  | inl h => exact mul_invQ _ (DblOn.two_ne_of ratR rat_noZD Kernel2.two_one_ne y1 y2 h hne)
  | inr h => exact absurd h hne

theorem on_addAN (n x1 y1 x2 y2 : Q) (hP : OnEn n x1 y1) (hQ : OnEn n x2 y2) :
    OnPtN n (addAN n x1 y1 x2 y2) := by
  unfold addAN
  cases h : qbeq x1 x2 with
  | false => exact neg_onEn n _ _ (third_onEn n x1 y1 x2 y2 (qbeq_false _ _ h) hP hQ)
  | true =>
    have hx := qbeq_true _ _ h
    cases hx
    cases h2 : qbeq y1 (ratR.neg y2) with
    | true => exact trivial
    | false =>
      exact DblOn.dbl_on ratR zeroQ n (negQ n) x1 y1 _ hP (dbl_wn n x1 y1 y2 hP hQ (qbeq_false _ _ h2))

theorem on_addN (n : Q) : ∀ P1 P2 : Pt, OnPtN n P1 → OnPtN n P2 → OnPtN n (addN n P1 P2)
  | Pt.O, _, _, h2 => h2
  | Pt.A _ _, Pt.O, h1, _ => h1
  | Pt.A x1 y1, Pt.A x2 y2, h1, h2 => on_addAN n x1 y1 x2 y2 h1 h2

theorem addN_42486 : ∀ P1 P2 : Pt, addN nQ P1 P2 = add P1 P2
  | Pt.O, _ => rfl
  | Pt.A _ _, Pt.O => rfl
  | Pt.A _ _, Pt.A _ _ => rfl

theorem onPtN_42486 : ∀ P : Pt, OnPtN nQ P ↔ OnPt P
  | Pt.O => Iff.rfl
  | Pt.A _ _ => Iff.rfl

end PtAddN

#print axioms PtAddN.third_onEn
#print axioms PtAddN.chord_Qn
#print axioms PtAddN.neg_onEn
#print axioms PtAddN.dbl_wn
#print axioms PtAddN.on_addAN
#print axioms PtAddN.on_addN
#print axioms PtAddN.addN_42486
#print axioms PtAddN.onPtN_42486