Courtade–Kumar proof module `CKLaneP.Cells.S3.C040_0017 (+2 modules: CKLaneP.Cells.S3.C040_0018, CKLaneP.Cells.S3.C040_0019)` (transplant)
DefinitionCK_CKLaneP_Cells_S3_C040_0017__3Verbatim transplant of the Lean module CKLaneP.Cells.S3.C040_0017 (+2 modules: CKLaneP.Cells.S3.C040_0018, CKLaneP.Cells.S3.C040_0019) of the machine-checked proof of the general Courtade–Kumar theorem (the most informative Boolean function conjecture), so that the complete proof can be verified on this platform.
It is the original source with only two mechanical changes. Imports of project modules are redirected to their transplanted bundles Definitions.Def_CK_*. Declarations that already exist in earlier platform definition bundles of this mission are removed, and those bundles are imported instead, so every constant keeps a single platform identity.
The module contains both definitions and the lemmas proved alongside them in the source. They are kept together so the transplant stays faithful and every proof is re-checked by the server.
Source: Z. Chen, A. Gohari, A. Javanmard, H. Lin, V. Mirrokni, C. Nair, D. P. Woodruff, A Proof of the Most Informative Boolean Function Conjecture, arXiv:2609.24931 (2026). Lean development: https://github.com/dpwoodru/general-courtade-kumar-lean (Apache-2.0), module CKLaneP.Cells.S3.C040_0017 (+2 modules: CKLaneP.Cells.S3.C040_0018, CKLaneP.Cells.S3.C040_0019) from release v1.0 (sources_v3.tar.zst).
import Definitions.Def_CK_CKLaneP_Cells_S3_C040_0017__3_q01
-- ===== source module CKLaneP.Cells.S3.C040_0019 =====
section
set_option autoImplicit false
set_option maxRecDepth 100000
namespace CKLaneP.Cells.S3.C040_0019
open CKLaneP
def tree : STree :=
STree.sp (41 / 1000000 : ℚ)
(STree.st (1 / 10 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 47269781688881 48368515882772 48370385038976 46654583700731 (1805485368160704528385 / 1208925819614629174706176 : ℚ) 574738918361968704 574738918358524096))
(STree.st (1 / 5 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 47269781688881 49467250076662 49469058410611 46654583700731 (3646087103112975220737 / 1208925819614629174706176 : ℚ) 572983663938299648 572983663931344512))
(STree.st (1 / 4 : ℚ)
(STree.st (11 / 50 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 47269781688881 49686996915440 49688792528614 46654583700731 (4018793573739347312641 / 1208925819614629174706176 : ℚ) 572628254292117376 572628254284451456))
(STree.st (6 / 25 : ℚ)
(STree.st (23 / 100 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 47269781688881 49796870334829 49798659518063 46654583700731 (4205720322965206204417 / 1208925819614629174706176 : ℚ) 572450004908769600 572450004900747200))
(STree.sp (407 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 46923905237499 49560867302836 49562670240117 46654583700731 (4364374028830992498689 / 1208925819614629174706176 : ℚ) 572298717399179840 572298717390854848))
(STree.leaf (SLeaf.nA 46923905237498 47269781688881 49843102487164 49844863739960 46919708137472 (4238105212186785742849 / 1208925819614629174706176 : ℚ) 572419123531912704 572419123523828480))))
(STree.sp (407 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 46923905237499 49670740722225 49672537282795 46654583700731 (4550874903397613436929 / 1208925819614629174706176 : ℚ) 572120877238103872 572120877229423168))
(STree.leaf (SLeaf.nA 46923905237498 47269781688881 49950324187092 49952079046671 46919708137472 (4419071706384570515457 / 1208925819614629174706176 : ℚ) 572246559587279360 572246559578850048)))))
(STree.st (7 / 25 : ℚ)
(STree.st (13 / 50 : ℚ)
(STree.sp (407 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 46923905237499 49780614141614 49782404279105 46654583700731 (4737758262940219211777 / 1208925819614629174706176 : ℚ) 571942674147170496 571942674138133440))
(STree.leaf (SLeaf.nA 46923905237498 47269781688881 50057545887021 50059294309221 46919708137472 (4600390361686255599617 / 1208925819614629174706176 : ℚ) 572073661472236352 572073661463461184)))
(STree.st (27 / 100 : ℚ)
(STree.sp (407 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 46923905237499 49890487561003 49892271229044 46654583700731 (4925019600792636620801 / 1208925819614629174706176 : ℚ) 571764112508581312 571764112499187136))
(STree.leaf (SLeaf.nA 46923905237498 47269781688881 50164767586949 50166509527605 46919708137472 (4782071088161400815617 / 1208925819614629174706176 : ℚ) 571900419814135808 571900419805014272)))
(STree.sp (407 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 46923905237499 50000360980392 50002138132611 46654583700731 (5112661993145979895809 / 1208925819614629174706176 : ℚ) 571585189474814720 571585189465062656))
(STree.leaf (SLeaf.nA 46923905237498 47269781688881 50271989286877 50273724701822 46919708137472 (4964110870550761439233 / 1208925819614629174706176 : ℚ) 571726837566283584 571726837556814784)))))
(STree.st (29 / 100 : ℚ)
(STree.sp (407 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 46923905237499 50110234399781 50112004989805 46654583700731 (5300696001171120193537 / 1208925819614629174706176 : ℚ) 571405895062358272 571405895052247680))
(STree.leaf (SLeaf.nA 46923905237498 47269781688881 50379210986806 50380939831873 46919708137472 (5146516844292200202241 / 1208925819614629174706176 : ℚ) 571552908003747008 571552907993930432)))
(STree.sp (407 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 46658733291439 46923905237499 50220107819170 50221871800623 46654583700731 (5489102149630113611777 / 1208925819614629174706176 : ℚ) 571226247928955904 571226247918486016))
(STree.sp (51 / 1250000 : ℚ)
(STree.leaf (SLeaf.wA 46923905237498 47039197387960 49999899811789 50255848385813 50257584785947 46919708137472 (5137352750385208492033 / 1208925819614629174706176 : ℚ) 571561646196363840 571561646186564672))
(STree.leaf (SLeaf.nA 47039197387959 47269781688881 50451845041596 50453558314643 47034979546921 (5245495200299095162881 / 1208925819614629174706176 : ℚ) 571458529979982784 571458529969977408)))))))))
(STree.st (1 / 10 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47950005376599 48987634730745 48989413095613 47265522211657 (1683764139814492307457 / 1208925819614629174706176 : ℚ) 574854998677624384 574854998674411968))
(STree.st (1 / 5 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47950005376599 50025264084892 50026981444743 47265522211657 (3397800558039777411073 / 1208925819614629174706176 : ℚ) 573220431037454976 573220431030973440))
(STree.st (1 / 4 : ℚ)
(STree.st (11 / 50 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47950005376599 50232789955721 50234494618270 47265522211657 (3744593673388179849217 / 1208925819614629174706176 : ℚ) 572889728350194752 572889728343051840))
(STree.st (6 / 25 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47950005376599 50440315826550 50442007626337 47265522211657 (4092718759087558361089 / 1208925819614629174706176 : ℚ) 572557760609630272 572557760601823424))
(STree.sp (413 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47615658140263 50209731525629 50211437607160 47265522211657 (4240726913186192687105 / 1208925819614629174706176 : ℚ) 572416623549126080 572416623541036864))
(STree.leaf (SLeaf.nA 47615658140262 47950005376599 50457609649119 50459267076673 47611335823329 (4064467215872925106177 / 1208925819614629174706176 : ℚ) 572584700726471168 572584700718718080)))))
(STree.st (7 / 25 : ℚ)
(STree.st (13 / 50 : ℚ)
(STree.sp (413 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47615658140263 50313494461043 50315194141069 47265522211657 (4414556785217315536897 / 1208925819614629174706176 : ℚ) 572250864854187136 572250864845766400))
(STree.leaf (SLeaf.nA 47615658140262 47950005376599 50557913820020 50559564897823 47611335823329 (4230907328723120291841 / 1208925819614629174706176 : ℚ) 572425987239557632 572425987231487232)))
(STree.st (27 / 100 : ℚ)
(STree.sp (413 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47615658140263 50417257396458 50418950633612 47265522211657 (4588720623755646730241 / 1208925819614629174706176 : ℚ) 572084789210266432 572084789201513536))
(STree.leaf (SLeaf.nA 47615658140262 47950005376599 50658217990921 50659862680313 47611335823329 (4397654859780093640705 / 1208925819614629174706176 : ℚ) 572266981933150656 572266981924762176)))
(STree.sp (413 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47615658140263 50521020331873 50522707084788 47265522211657 (4763217793989626298369 / 1208925819614629174706176 : ℚ) 571918397291196160 571918397282110464))
(STree.leaf (SLeaf.nA 47615658140262 47950005376599 50758522161822 50760160424144 47611335823329 (4564712245726903533569 / 1208925819614629174706176 : ℚ) 572107682543570752 572107682534863680)))))
(STree.sp (413 / 10000000 : ℚ)
(STree.leaf (SLeaf.nA 47269781688880 47615658140263 50728546202702 50730219863029 47265522211657 (5113199467637160017921 / 1208925819614629174706176 : ℚ) 571584676978549312 571584676968796224))
(STree.leaf (SLeaf.nA 47615658140262 47950005376599 50959130503623 50960755795817 47611335823329 (4899741489945848578049 / 1208925819614629174706176 : ℚ) 571788216148592128 571788216139246080)))))))
theorem check : STree.check (1 / 200000 : ℚ) tree (4047 / 100000000 : ℚ) (4159 / 100000000 : ℚ) (0 : ℚ) (3 / 10 : ℚ) = true := by
decide +kernel
end CKLaneP.Cells.S3.C040_0019
end