Atlas tiles (7/8)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- packs/p730_0.jsonAdded+1
- packs/p731_0.jsonAdded+1
- packs/p732_0.jsonAdded+1
- packs/p733_0.jsonAdded+1
- packs/p734_0.jsonAdded+1
- packs/p735_0.jsonAdded+1
- packs/p736_0.jsonAdded+1
- packs/p737_0.jsonAdded+1
- packs/p738_0.jsonAdded+1
- packs/p739_0.jsonAdded+1
- packs/p73_0.jsonAdded+1
- packs/p740_0.jsonAdded+1
- packs/p741_0.jsonAdded+1
- packs/p742_0.jsonAdded+1
- packs/p743_0.jsonAdded+1
- packs/p744_0.jsonAdded+1
- packs/p745_0.jsonAdded+1
- packs/p746_0.jsonAdded+1
- packs/p747_0.jsonAdded+1
- packs/p748_0.jsonAdded+1
- packs/p749_0.jsonAdded+1
- packs/p74_0.jsonAdded+1
- packs/p750_0.jsonAdded+1
- packs/p751_0.jsonAdded+1
- packs/p752_0.jsonAdded+1
- packs/p753_0.jsonAdded+1
- packs/p754_0.jsonAdded+1
- packs/p755_0.jsonAdded+1
- packs/p756_0.jsonAdded+1
- packs/p757_0.jsonAdded+1
- packs/p758_0.jsonAdded+1
- packs/p759_0.jsonAdded+1
- packs/p75_0.jsonAdded+1
- packs/p760_0.jsonAdded+1
- packs/p761_0.jsonAdded+1
- packs/p762_0.jsonAdded+1
- packs/p763_0.jsonAdded+1
- packs/p764_0.jsonAdded+1
- packs/p765_0.jsonAdded+1
- packs/p766_0.jsonAdded+1
- packs/p767_0.jsonAdded+1
- packs/p768_0.jsonAdded+1
- packs/p769_0.jsonAdded+1
- packs/p76_0.jsonAdded+1
- packs/p770_0.jsonAdded+1
- packs/p771_0.jsonAdded+1
- packs/p772_0.jsonAdded+1
- packs/p773_0.jsonAdded+1
- packs/p774_0.jsonAdded+1
- packs/p775_0.jsonAdded+1
1{"chunks":{"4829309":{"id":4829309,"label":"hello_lean/mech","n":13,"s":[0,0,0,5,8,0,0],"env":"https://github.com/srirampc/hello_lean@51cb30cd7da142d74881b16e6cbbc00bea65f06f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829111,"havel-hakimi-thero … homebase-app/Homeb","t13"]],"kids":[["g",4829310,"tutor",8,[0,0,0,0,8,0,0],"730_0",[],4829310],["g",4829311,"magma",5,[0,0,0,5,0,0,0],"730_0",[["TTLemma1",3,0.6076,4829311,"730_0",9],["TTLemma2",3,0.6076,4829311,"730_0",2],["propMa",3,0.5593,4829311,"730_0",2]],4829311]],"edges":[],"top":[["TTLemma1",3,0.6076,4829311,"730_0",9],["TTLemma2",3,0.6076,4829311,"730_0",2],["propMa",3,0.5593,4829311,"730_0",2]]},"4829310":{"id":4829310,"label":"tutor","n":8,"s":[0,0,0,0,8,0,0],"env":"https://github.com/srirampc/hello_lean@51cb30cd7da142d74881b16e6cbbc00bea65f06f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829111,"havel-hakimi-thero … homebase-app/Homeb","t13"],[4829309,"hello_lean/mech","730_0"]],"kids":[["d","N","abbrev",4,"definition","","mech/tutor.lean",34,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","NaturalNumber","def",4,"definition","","mech/tutor.lean",31,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","aStr","def",4,"definition","","mech/tutor.lean",29,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","bar","def",4,"definition","","mech/tutor.lean",74,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","origin","def",4,"definition","","mech/tutor.lean",61,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","thirtyEight","def",4,"definition","","mech/tutor.lean",32,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","thirtyNine","def",4,"definition","","mech/tutor.lean",35,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","α","def",4,"definition","","mech/tutor.lean",39,[],[],"","",null,[],[],0.093,null,null,null,null,null]],"edges":[[1,5,1,0,1],[0,6,1,0,1]],"top":[]},"4829311":{"id":4829311,"label":"magma","n":5,"s":[0,0,0,5,0,0,0],"env":"https://github.com/srirampc/hello_lean@51cb30cd7da142d74881b16e6cbbc00bea65f06f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829111,"havel-hakimi-thero … homebase-app/Homeb","t13"],[4829309,"hello_lean/mech","730_0"]],"kids":[["d","TTLemma1","theorem",3,"unchecked","","mech/magma.lean",32,[],[],"","",null,[["congrArg",3,4396931,"32300_0"],["Function.const",4,4396929,"32300_0"],["Eq.refl",4,3068281,"62730_0"],["Magma.op",4,4823436,"1972_0"],["congrFun",3,4396931,"32300_0"],["u_1",3,1043371,"22158_2"]],[["TTLemma3",3,4829311,"730_0"]],0.6076,null,null,null,null,null],["d","TTLemma2","theorem",3,"unchecked","","mech/magma.lean",67,[],[],"","",null,[["Equation1689",4,869633,"20408_0"]],[["TTLemma3",3,4829311,"730_0"]],0.6076,null,null,null,null,null],["d","TTLemma3","theorem",3,"unchecked","","mech/magma.lean",93,[],[],"","",null,[["congrArg",3,4396931,"32300_0"],["Magma.op",4,4823436,"1972_0"],["a_3",4,2123546,"37613_0"],["Equation1689",4,869633,"20408_0"],["TTLemma2",3,4829311,"730_0"],["TTLemma1",3,4829311,"730_0"]],[["singleton_law",3,869633,"20408_0"]],0.4872,null,null,null,null,null],["d","f_eq","theorem",3,"unchecked","","mech/magma.lean",21,[],[],"","",null,[["Eq.refl",4,3068281,"62730_0"]],[],0.093,null,null,null,null,null],["d","propMa","theorem",3,"unchecked","","mech/magma.lean",26,[],[],"","",null,[["Equation1689",4,869633,"20408_0"]],[["TTLemma1",3,4829311,"730_0"]],0.5593,null,null,null,null,null]],"edges":[[0,2,1,0,1],[1,2,1,0,1],[0,4,1,0,1]],"top":[["TTLemma1",3,0.6076,4829311,"730_0",9],["TTLemma2",3,0.6076,4829311,"730_0",2],["propMa",3,0.5593,4829311,"730_0",2]]}}}1{"chunks":{"4817859":{"id":4817859,"label":"exploring-lean/first","n":35,"s":[0,0,0,0,35,0,0],"env":"https://github.com/dpbm/exploring-lean@329769a5825778dbbf97a7a3cfe92a5f9766e52f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817366,"erickson/LeanBook/ … flap/Flap","t12"]],"kids":[["d","A","def",4,"definition","","first.lean",27,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","Another","structure",4,"definition","","first.lean",68,[],[],"","",null,[],[],0.9998,null,null,null,null,null],["d","B","def",4,"definition","","first.lean",32,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","B1","def",4,"definition","","first.lean",34,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","B2","def",4,"definition","","first.lean",37,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","Direct","def",4,"definition","","first.lean",48,[],[],"","",null,[],[],0.78,null,null,null,null,null],["d","Eu","def",4,"definition","","first.lean",13,[],[],"","",null,[],[],0.9987,null,null,null,null,null],["d","IDK","def",4,"definition","","first.lean",133,[],[],"","",null,[],[],0.6183,null,null,null,null,null],["d","NN","def",4,"definition","","first.lean",31,[],[],"","",null,[],[],0.949,null,null,null,null,null],["d","NN2","abbrev",4,"definition","","first.lean",36,[],[],"","",null,[],[],0.9564,null,null,null,null,null],["d","Test","structure",4,"definition","","first.lean",41,[],[],"","",null,[],[],0.9997,null,null,null,null,null],["d","Two","def",4,"definition","","first.lean",52,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","chain","def",4,"definition","","first.lean",211,[],[],"","",null,[],[],0.9515,null,null,null,null,null],["d","d","def",4,"definition","","first.lean",172,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","fac","def",4,"definition","","first.lean",142,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","getA","def",4,"definition","","first.lean",176,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","getB","def",4,"definition","","first.lean",179,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","getC","def",4,"definition","","first.lean",194,[],[],"","",null,[],[],0.9959,null,null,null,null,null],["d","isNext","def",4,"definition","","first.lean",101,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","join","def",4,"definition","","first.lean",215,[],[],"","",null,[],[],0.9145,null,null,null,null,null],["d","l","def",4,"definition","","first.lean",206,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","maybe","def",4,"definition","","first.lean",242,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","multiplyIfEven","def",4,"definition","","first.lean",16,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","nextPlusOneIfNotZero","def",4,"definition","","first.lean",111,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","oneOrAnother","def",4,"definition","","first.lean",265,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","pd","def",4,"definition","","first.lean",253,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","pd2","def",4,"definition","","first.lean",254,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","pd3","def",4,"definition","","first.lean",255,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","pd4","def",4,"definition","","first.lean",256,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","predOfA","def",4,"definition","","first.lean",123,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","sd","def",4,"definition","","first.lean",263,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","testInfer","def",4,"definition","","first.lean",227,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","testNotInfer","def",4,"definition","","first.lean",230,[],[],"","",null,[],[],0.093,null,null,null,null,null],["d","updateA","def",4,"definition","","first.lean",58,[],[],"","",null,[],[],0.7449,null,null,null,null,null],["d","void","def",4,"definition","","first.lean",277,[],[],"","",null,[],[],0.093,null,null,null,null,null]],"edges":[[5,33,1,0,1],[7,10,1,0,1],[10,16,1,0,1],[2,8,1,0,1],[3,8,1,0,1],[12,19,1,0,1],[31,32,1,0,1],[4,9,1,0,1],[5,10,1,0,1],[10,33,1,0,1],[15,16,1,0,1],[1,10,1,0,1],[10,24,1,0,1],[10,11,1,0,1]],"top":[]}}}1{"chunks":{"4829390":{"id":4829390,"label":"hex-gfq/HexGFq/Basic","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/leanprover/hex-gfq@b83caa6606c26e2f53fcd7edc0613edf93c3b79f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829111,"havel-hakimi-thero … homebase-app/Homeb","t13"]],"kids":[["d","Hex.GF2q.lower","def",4,"definition",": UInt64","HexGFq/Basic.lean",767,[],[],"","",null,[],[],0.093,null,null,"The lower-word packed modulus selected for a committed optimized `GF2q` entry.","docstring",null]],"edges":[],"top":[]}}}1{"chunks":{"4828436":{"id":4828436,"label":"oed/Oed","n":55,"s":[0,0,0,6,49,0,0],"env":"https://github.com/hsjoihs/oed@9a88c50169c8e333bbc8568df88eb2fb9700b29a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"]],"kids":[["g",4828437,"Moves",18,[0,0,0,0,18,0,0],"733_0",[],4828437],["g",4828438,"Arithmos",12,[0,0,0,6,6,0,0],"733_0",[["Oed.Arithmos.horos_dyados",3,0.0928,4828438,"733_0",2],["Oed.Arithmos.horos_monados",3,0.0928,4828438,"733_0",1],["Oed.Arithmos.horos_prostheseos_a",3,0.0928,4828438,"733_0",2]],4828438],["g",4828439,"Continua",10,[0,0,0,0,10,0,0],"733_0",[],4828439],["g",4828440,"Display",8,[0,0,0,0,8,0,0],"733_0",[],4828440],["g",4828441,"Grammar",5,[0,0,0,0,5,0,0],"733_0",[],4828441],["g",4828442,"Protasis",2,[0,0,0,0,2,0,0],"733_0",[],4828442]],"edges":[[1,4,23,0,23],[1,3,18,0,18],[0,1,4,0,4],[0,4,3,0,3],[4,5,1,0,1]],"top":[["Oed.Arithmos.horos_dyados",3,0.0928,4828438,"733_0",2],["Oed.Arithmos.horos_monados",3,0.0928,4828438,"733_0",1],["Oed.Arithmos.horos_prostheseos_a",3,0.0928,4828438,"733_0",2]]},"4828437":{"id":4828437,"label":"Moves","n":18,"s":[0,0,0,0,18,0,0],"env":"https://github.com/hsjoihs/oed@9a88c50169c8e333bbc8568df88eb2fb9700b29a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828436,"oed/Oed","733_0"]],"kids":[["d","Oed.accGender","def",4,"definition","","Oed/Moves.lean",39,[],[],"","",null,[],[],0.6365,null,null,null,null,null],["d","Oed.accInfToTerm","def",4,"definition","","Oed/Moves.lean",44,[],[],"","",null,[],[],0.6866,null,null,null,null,null],["d","Oed.checkAccAgreement","def",4,"definition","","Oed/Moves.lean",54,[],[],"","",null,[],[],0.6866,null,null,null,null,null],["d","Oed.checkCase","def",4,"definition","","Oed/Moves.lean",188,[],[],"","",null,[],[],0.8326,null,null,null,null,null],["d","Oed.closeByTauton","def",4,"definition","","Oed/Moves.lean",154,[],[],"","",null,[],[],0.9593,null,null,null,null,null],["d","Oed.elabSentence","def",4,"definition","","Oed/Moves.lean",59,[],[],"","",null,[],[],0.7861,null,null,null,null,null],["d","Oed.evalAuteGar","def",4,"definition","","Oed/Moves.lean",174,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.evalAutoGar","def",4,"definition","","Oed/Moves.lean",175,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.evalAutosGar","def",4,"definition","","Oed/Moves.lean",173,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.evalBase","def",4,"definition","","Oed/Moves.lean",195,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.evalDichotomy","def",4,"definition","","Oed/Moves.lean",182,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.evalEpei","def",4,"definition","","Oed/Moves.lean",114,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.evalHupokeitai","def",4,"definition","","Oed/Moves.lean",124,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.evalStep","def",4,"definition","","Oed/Moves.lean",203,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.goalSubjectGender","def",4,"definition","","Oed/Moves.lean",144,[],[],"","",null,[],[],0.8612,null,null,null,null,null],["d","Oed.machineEchoGoal","def",4,"definition","","Oed/Moves.lean",90,[],[],"","",null,[],[],0.9396,null,null,null,null,null],["d","Oed.proveByHoroi","def",4,"definition","","Oed/Moves.lean",65,[],[],"","",null,[],[],0.6311,null,null,null,null,null],["d","Oed.rewriteGoal","def",4,"definition","","Oed/Moves.lean",81,[],[],"","",null,[],[],0.744,null,null,null,null,null]],"edges":[[11,17,1,0,1],[11,15,1,0,1],[0,1,1,0,1],[2,13,1,0,1],[12,17,1,0,1],[5,11,1,0,1],[5,12,1,0,1],[9,15,1,0,1],[11,16,1,0,1],[4,15,1,0,1],[13,15,1,0,1],[3,9,1,0,1],[12,15,1,0,1],[3,13,1,0,1],[2,12,1,0,1],[1,12,1,0,1],[1,13,1,0,1],[4,7,1,0,1],[4,8,1,0,1],[4,6,1,0,1],[5,13,1,0,1],[4,14,1,0,1]],"top":[]},"4828438":{"id":4828438,"label":"Arithmos","n":12,"s":[0,0,0,6,6,0,0],"env":"https://github.com/hsjoihs/oed@9a88c50169c8e333bbc8568df88eb2fb9700b29a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828436,"oed/Oed","733_0"]],"kids":[["d","Oed.Arithmos","inductive",4,"definition","","Oed/Arithmos.lean",13,[],[],"","",null,[],[],0.9943,null,null,null,null,null],["d","Oed.Arithmos.dyas","def",4,"definition","","Oed/Arithmos.lean",26,[],[],"","",null,[],[],0.9786,null,null,null,null,null],["d","Oed.Arithmos.horos_dyados","theorem",3,"unchecked","","Oed/Arithmos.lean",44,[],[],"","",null,[["Oed.Arithmos.monas",4,4828438,"733_0"],["Oed.Arithmos.dyas",4,4828438,"733_0"]],[],0.0928,null,null,null,null,null],["d","Oed.Arithmos.horos_monados","theorem",3,"unchecked","","Oed/Arithmos.lean",42,[],[],"","",null,[["Oed.Arithmos.monas",4,4828438,"733_0"]],[],0.0928,null,null,null,null,null],["d","Oed.Arithmos.horos_prostheseos_a","theorem",3,"unchecked","","Oed/Arithmos.lean",34,[],[],"","",null,[["Oed.Arithmos",4,4828438,"733_0"],["Oed.Arithmos.prosthesis",4,4828438,"733_0"]],[],0.0928,null,null,null,null,null],["d","Oed.Arithmos.horos_prostheseos_b","theorem",3,"unchecked","","Oed/Arithmos.lean",38,[],[],"","",null,[["Oed.Arithmos",4,4828438,"733_0"],["Oed.Arithmos.prosthesis",4,4828438,"733_0"]],[],0.0928,null,null,null,null,null],["d","Oed.Arithmos.horos_tetrados","theorem",3,"unchecked","","Oed/Arithmos.lean",48,[],[],"","",null,[["Oed.Arithmos.trias",4,4828438,"733_0"],["Oed.Arithmos.tetras",4,4828438,"733_0"]],[],0.0928,null,null,null,null,null],["d","Oed.Arithmos.horos_triados","theorem",3,"unchecked","","Oed/Arithmos.lean",46,[],[],"","",null,[["Oed.Arithmos.dyas",4,4828438,"733_0"],["Oed.Arithmos.trias",4,4828438,"733_0"]],[],0.0928,null,null,null,null,null],["d","Oed.Arithmos.monas","def",4,"definition","","Oed/Arithmos.lean",25,[],[],"","",null,[],[],0.9817,null,null,null,null,null],["d","Oed.Arithmos.prosthesis","def",4,"definition","","Oed/Arithmos.lean",21,[],[],"","",null,[],[],0.9682,null,null,null,null,null],["d","Oed.Arithmos.tetras","def",4,"definition","","Oed/Arithmos.lean",28,[],[],"","",null,[],[],0.9513,null,null,null,null,null],["d","Oed.Arithmos.trias","def",4,"definition","","Oed/Arithmos.lean",27,[],[],"","",null,[],[],0.9743,null,null,null,null,null]],"edges":[[1,2,1,0,1],[0,4,1,0,1],[4,9,1,0,1],[0,9,1,0,1],[2,8,1,0,1],[1,8,1,0,1],[6,10,1,0,1],[0,11,1,0,1],[6,11,1,0,1],[0,1,1,0,1],[0,10,1,0,1],[5,9,1,0,1],[0,8,1,0,1],[10,11,1,0,1],[0,5,1,0,1],[1,7,1,0,1],[3,8,1,0,1],[1,11,1,0,1],[7,11,1,0,1]],"top":[["Oed.Arithmos.horos_dyados",3,0.0928,4828438,"733_0",2],["Oed.Arithmos.horos_monados",3,0.0928,4828438,"733_0",1],["Oed.Arithmos.horos_prostheseos_a",3,0.0928,4828438,"733_0",2]]},"4828439":{"id":4828439,"label":"Continua","n":10,"s":[0,0,0,0,10,0,0],"env":"https://github.com/hsjoihs/oed@9a88c50169c8e333bbc8568df88eb2fb9700b29a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828436,"oed/Oed","733_0"]],"kids":[["d","Oed.continuaBody","def",4,"definition","","Oed/Continua.lean",98,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","Oed.continuaBody.parenthesizer","def",4,"definition","","Oed/Continua.lean",105,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.continuaBodyFn","def",4,"definition","","Oed/Continua.lean",86,[],[],"","",null,[],[],0.9443,null,null,null,null,null],["d","Oed.continuaLexicon","def",4,"definition","","Oed/Continua.lean",30,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.elabSunechos","def",4,"definition","","Oed/Continua.lean",110,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.lexContinua","def",4,"definition","","Oed/Continua.lean",57,[],[],"","",null,[],[],0.5541,null,null,null,null,null],["d","Oed.respace","def",4,"definition","","Oed/Continua.lean",71,[],[],"","",null,[],[],0.5541,null,null,null,null,null],["d","Oed.sortedLexicon","def",4,"definition","","Oed/Continua.lean",51,[],[],"","",null,[],[],0.822,null,null,null,null,null],["d","Oed.sunechos","def",4,"definition","","Oed/Continua.lean",107,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.variableGlyphs","def",4,"definition","","Oed/Continua.lean",54,[],[],"","",null,[],[],0.0928,null,null,null,null,null]],"edges":[[4,6,1,0,1],[4,5,1,0,1],[0,8,1,0,1],[0,2,1,0,1],[5,7,1,0,1]],"top":[]},"4828440":{"id":4828440,"label":"Display","n":8,"s":[0,0,0,0,8,0,0],"env":"https://github.com/hsjoihs/oed@9a88c50169c8e333bbc8568df88eb2fb9700b29a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828436,"oed/Oed","733_0"]],"kids":[["d","Oed.NomStx","inductive",4,"definition","","Oed/Display.lean",23,[],[],"","",null,[],[],0.6017,null,null,null,null,null],["d","Oed.delabIsotes","def",4,"definition","","Oed/Display.lean",135,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.eqToIsotes","def",4,"definition","","Oed/Display.lean",127,[],[],"","",null,[],[],0.8045,null,null,null,null,null],["d","Oed.isSum","def",4,"definition","","Oed/Display.lean",28,[],[],"","",null,[],[],0.8441,null,null,null,null,null],["d","Oed.toAcc","def",4,"definition","","Oed/Display.lean",103,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","Oed.toDat","def",4,"definition","","Oed/Display.lean",80,[],[],"","",null,[],[],0.7972,null,null,null,null,null],["d","Oed.toGen","def",4,"definition","","Oed/Display.lean",32,[],[],"","",null,[],[],0.7975,null,null,null,null,null],["d","Oed.toNom","def",4,"definition","","Oed/Display.lean",55,[],[],"","",null,[],[],0.7972,null,null,null,null,null]],"edges":[[3,7,1,0,1],[6,7,1,0,1],[1,2,1,0,1],[4,6,1,0,1],[3,5,1,0,1],[3,4,1,0,1],[3,6,1,0,1],[5,6,1,0,1],[0,7,1,0,1],[2,7,1,0,1],[2,5,1,0,1]],"top":[]},"4828441":{"id":4828441,"label":"Grammar","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/hsjoihs/oed@9a88c50169c8e333bbc8568df88eb2fb9700b29a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828436,"oed/Oed","733_0"]],"kids":[["d","Oed.accToTerm","def",4,"definition","","Oed/Grammar.lean",151,[],[],"","",null,[],[],0.6365,null,null,null,null,null],["d","Oed.datToTerm","def",4,"definition","","Oed/Grammar.lean",131,[],[],"","",null,[],[],0.8189,null,null,null,null,null],["d","Oed.genToTerm","def",4,"definition","","Oed/Grammar.lean",95,[],[],"","",null,[],[],0.786,null,null,null,null,null],["d","Oed.isotesToTerm","def",4,"definition","","Oed/Grammar.lean",171,[],[],"","",null,[],[],0.7848,null,null,null,null,null],["d","Oed.nomToTerm","def",4,"definition","","Oed/Grammar.lean",111,[],[],"","",null,[],[],0.7452,null,null,null,null,null]],"edges":[[1,2,1,0,1],[1,3,1,0,1],[2,4,1,0,1],[0,2,1,0,1],[3,4,1,0,1]],"top":[]},"4828442":{"id":4828442,"label":"Protasis","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/hsjoihs/oed@9a88c50169c8e333bbc8568df88eb2fb9700b29a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828436,"oed/Oed","733_0"]],"kids":[["d","Oed.ektesisVars","def",4,"definition","","Oed/Protasis.lean",26,[],[],"","",null,[],[],0.6805,null,null,null,null,null],["d","Oed.freshProtasisName","def",4,"definition","","Oed/Protasis.lean",37,[],[],"","",null,[],[],0.0928,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]}}}1{"chunks":{"4829396":{"id":4829396,"label":"hex-truncated-series-theory/HexTruncatedSeriesTheory/LintTests","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/leanprover/hex-truncated-series-theory@57f261e1137e872d85807c60929a456e355b9bbb#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829111,"havel-hakimi-thero … homebase-app/Homeb","t13"]],"kids":[["d","docBlameThm'","def",4,"definition",": Linter","HexTruncatedSeriesTheory/LintTests.lean",29,[],[],"","",null,[],[],0.0928,null,null,"`docBlameThm`, minus compiler-generated support theorems whose docstrings cannot be repaired from this downstream regression module.","docstring",null]],"edges":[],"top":[]}}}1{"chunks":{"4828923":{"id":4828923,"label":"lean-calc","n":51,"s":[0,0,0,5,46,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"]],"kids":[["g",4828924,"LeanCalc",50,[0,0,0,5,45,0,0],"735_0",[["dcl_le_length",3,0.9881,4828925,"735_0",5],["varId_le_length",3,0.9547,4828925,"735_0",6],["val_le_length",3,0.9148,4828925,"735_0",8]],4828930],["g",4828931,"Main",1,[0,0,0,0,1,0,0],"735_0",[],4828931]],"edges":[[0,1,4,0,4]],"top":[["dcl_le_length",3,0.9881,4828925,"735_0",5],["varId_le_length",3,0.9547,4828925,"735_0",6],["val_le_length",3,0.9148,4828925,"735_0",8]]},"4828924":{"id":4828924,"label":"LeanCalc","n":50,"s":[0,0,0,5,45,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"]],"kids":[["g",4828925,"Parser",13,[0,0,0,5,8,0,0],"735_0",[["dcl_le_length",3,0.9881,4828925,"735_0",5],["varId_le_length",3,0.9547,4828925,"735_0",6],["val_le_length",3,0.9148,4828925,"735_0",8]],4828925],["g",4828926,"PrettyPrinter",10,[0,0,0,0,10,0,0],"735_0",[],4828926],["g",4828927,"Grammar",10,[0,0,0,0,10,0,0],"735_0",[],4828927],["g",4828928,"Lexer",6,[0,0,0,0,6,0,0],"735_0",[],4828928],["g",4828929,"Analyser",6,[0,0,0,0,6,0,0],"735_0",[],4828929],["g",4828930,"Evaluator",5,[0,0,0,0,5,0,0],"735_0",[],4828930]],"edges":[[0,2,16,0,16],[0,3,13,0,13],[1,2,10,0,10],[4,5,9,0,9],[2,5,8,0,8],[0,5,8,0,8],[2,4,3,0,3],[0,4,2,0,2],[0,1,2,0,2]],"top":[["dcl_le_length",3,0.9881,4828925,"735_0",5],["varId_le_length",3,0.9547,4828925,"735_0",6],["val_le_length",3,0.9148,4828925,"735_0",8]]},"4828925":{"id":4828925,"label":"Parser","n":13,"s":[0,0,0,5,8,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"],[4828924,"LeanCalc","735_0"]],"kids":[["d","dcl","def",4,"definition","","LeanCalc/Parser.lean",162,[],[],"","",null,[],[],0.9908,null,null,null,null,null],["d","dcl_le_length","theorem",3,"unchecked","","LeanCalc/Parser.lean",170,[],[],"","",null,[["Token",4,4828928,"735_0"],["Dcl",4,4828927,"735_0"],["dcl",4,4828925,"735_0"],["varId_le_length",3,4828925,"735_0"]],[["dcls",4,4828925,"735_0"]],0.9881,null,null,null,null,null],["d","dcls","def",4,"definition","","LeanCalc/Parser.lean",187,[],[],"","",null,[],[],0.9972,null,null,null,null,null],["d","expr","def",4,"definition","","LeanCalc/Parser.lean",41,[],[],"","",null,[],[],0.8963,null,null,null,null,null],["d","expr_le_length","theorem",3,"unchecked","","LeanCalc/Parser.lean",62,[],[],"","",null,[["Token",4,4828928,"735_0"],["Expr",4,4828927,"735_0"],["val_le_length",3,4828925,"735_0"],["expr",4,4828925,"735_0"]],[["stmt_le_length",3,4828925,"735_0"]],0.6602,null,null,null,null,null],["d","parseInput","def",4,"definition","","LeanCalc/Parser.lean",199,[],[],"","",null,[],[],0.6311,null,null,null,null,null],["d","stmt","def",4,"definition","","LeanCalc/Parser.lean",96,[],[],"","",null,[],[],0.8876,null,null,null,null,null],["d","stmt_le_length","theorem",3,"unchecked","","LeanCalc/Parser.lean",118,[],[],"","",null,[["Token",4,4828928,"735_0"],["varId_le_length",3,4828925,"735_0"],["Stmt",4,4828927,"735_0"],["val_le_length",3,4828925,"735_0"],["stmt",4,4828925,"735_0"],["expr_le_length",3,4828925,"735_0"]],[["stmts",4,4828925,"735_0"]],0.7961,null,null,null,null,null],["d","stmts","def",4,"definition","","LeanCalc/Parser.lean",150,[],[],"","",null,[],[],0.8953,null,null,null,null,null],["d","val","def",4,"definition","","LeanCalc/Parser.lean",20,[],[],"","",null,[],[],0.9911,null,null,null,null,null],["d","val_le_length","theorem",3,"unchecked","","LeanCalc/Parser.lean",28,[],[],"","",null,[["Token",4,4828928,"735_0"],["val",4,4828925,"735_0"],["Val",4,4828927,"735_0"]],[["expr",4,4828925,"735_0"],["stmt_le_length",3,4828925,"735_0"],["expr_le_length",3,4828925,"735_0"],["NSSE.RamseyanSplit.topCore_interval_ne_nil",3,2685930,"10907_0"],["NSSE.RamseyanSplit.topCore_interval_length",3,2685930,"10907_0"]],0.9148,null,null,null,null,null],["d","varId","def",4,"definition","","LeanCalc/Parser.lean",4,[],[],"","",null,[],[],0.9794,null,null,null,null,null],["d","varId_le_length","theorem",3,"unchecked","","LeanCalc/Parser.lean",9,[],[],"","",null,[["variableId",4,4350123,"33850_0"],["Token",4,4828928,"735_0"],["VarId",4,4828927,"735_0"],["varId",4,4828925,"735_0"]],[["dcl_le_length",3,4828925,"735_0"],["stmt_le_length",3,4828925,"735_0"]],0.9547,null,null,null,null,null]],"edges":[[6,8,1,0,1],[9,10,1,0,1],[3,4,1,0,1],[3,9,1,0,1],[0,1,1,0,1],[1,12,1,0,1],[6,9,1,0,1],[4,10,1,0,1],[6,7,1,0,1],[5,8,1,0,1],[7,12,1,0,1],[0,11,1,0,1],[3,6,1,0,1],[7,10,1,0,1],[0,2,1,0,1],[11,12,1,0,1],[6,11,1,0,1],[2,5,1,0,1],[1,2,1,0,1],[4,7,1,0,1],[7,8,1,0,1],[3,10,1,0,1]],"top":[["dcl_le_length",3,0.9881,4828925,"735_0",5],["varId_le_length",3,0.9547,4828925,"735_0",6],["val_le_length",3,0.9148,4828925,"735_0",8]]},"4828926":{"id":4828926,"label":"PrettyPrinter","n":10,"s":[0,0,0,0,10,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"],[4828924,"LeanCalc","735_0"]],"kids":[["d","ppDcl","def",4,"definition","","LeanCalc/PrettyPrinter.lean",39,[],[],"","",null,[],[],0.841,null,null,null,null,null],["d","ppDcls","def",4,"definition","","LeanCalc/PrettyPrinter.lean",42,[],[],"","",null,[],[],0.7571,null,null,null,null,null],["d","ppExpr","def",4,"definition","","LeanCalc/PrettyPrinter.lean",17,[],[],"","",null,[],[],0.6522,null,null,null,null,null],["d","ppINum","def",4,"definition","","LeanCalc/PrettyPrinter.lean",10,[],[],"","",null,[],[],0.8331,null,null,null,null,null],["d","ppStmt","def",4,"definition","","LeanCalc/PrettyPrinter.lean",24,[],[],"","",null,[],[],0.841,null,null,null,null,null],["d","ppStmts","def",4,"definition","","LeanCalc/PrettyPrinter.lean",35,[],[],"","",null,[],[],0.7571,null,null,null,null,null],["d","ppTree","def",4,"definition","","LeanCalc/PrettyPrinter.lean",46,[],[],"","",null,[],[],0.8268,null,null,null,null,null],["d","ppVal","def",4,"definition","","LeanCalc/PrettyPrinter.lean",13,[],[],"","",null,[],[],0.8893,null,null,null,null,null],["d","ppVarId","def",4,"definition","","LeanCalc/PrettyPrinter.lean",7,[],[],"","",null,[],[],0.9327,null,null,null,null,null],["d","prettyPrint","def",4,"definition","","LeanCalc/PrettyPrinter.lean",55,[],[],"","",null,[],[],0.6311,null,null,null,null,null]],"edges":[[2,4,1,0,1],[7,8,1,0,1],[4,8,1,0,1],[2,7,1,0,1],[0,8,1,0,1],[3,7,1,0,1],[4,5,1,0,1],[1,6,1,0,1],[0,1,1,0,1],[5,6,1,0,1],[6,9,1,0,1],[4,7,1,0,1]],"top":[]},"4828927":{"id":4828927,"label":"Grammar","n":10,"s":[0,0,0,0,10,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"],[4828924,"LeanCalc","735_0"]],"kids":[["d","Dcl","inductive",4,"definition","","LeanCalc/Grammar.lean",30,[],[],"","",null,[],[],0.9913,null,null,null,null,null],["d","Dcls","inductive",4,"definition","","LeanCalc/Grammar.lean",34,[],[],"","",null,[],[],0.99,null,null,null,null,null],["d","Expr","inductive",4,"definition","","LeanCalc/Grammar.lean",14,[],[],"","",null,[],[],0.9539,null,null,null,null,null],["d","Prog","structure",4,"definition","","LeanCalc/Grammar.lean",39,[],[],"","",null,[],[],0.9354,null,null,null,null,null],["d","Stmt","inductive",4,"definition","","LeanCalc/Grammar.lean",20,[],[],"","",null,[],[],0.9389,null,null,null,null,null],["d","Stmts","inductive",4,"definition","","LeanCalc/Grammar.lean",25,[],[],"","",null,[],[],0.9451,null,null,null,null,null],["d","Val","inductive",4,"definition","","LeanCalc/Grammar.lean",9,[],[],"","",null,[],[],0.9843,null,null,null,null,null],["d","VarId","structure",4,"definition","","LeanCalc/Grammar.lean",1,[],[],"","",null,[],[],0.9916,null,null,null,null,null],["d","add","def",4,"definition","","LeanCalc/Grammar.lean",45,[],[],"","",null,[],[],0.524,null,null,null,null,null],["d","subtract","def",4,"definition","","LeanCalc/Grammar.lean",48,[],[],"","",null,[],[],0.524,null,null,null,null,null]],"edges":[[6,7,1,0,1],[3,5,1,0,1],[2,6,1,0,1],[0,1,1,0,1],[0,7,1,0,1],[4,5,1,0,1],[1,3,1,0,1],[4,7,1,0,1],[4,6,1,0,1],[2,4,1,0,1]],"top":[]},"4828928":{"id":4828928,"label":"Lexer","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"],[4828924,"LeanCalc","735_0"]],"kids":[["d","Token","inductive",4,"definition","","LeanCalc/Lexer.lean",1,[],[],"","",null,[],[],0.9958,null,null,null,null,null],["d","isVarChar","def",4,"definition","","LeanCalc/Lexer.lean",23,[],[],"","",null,[],[],0.7571,null,null,null,null,null],["d","lex","def",4,"definition","","LeanCalc/Lexer.lean",36,[],[],"","",null,[],[],0.8268,null,null,null,null,null],["d","lexId?","def",4,"definition","","LeanCalc/Lexer.lean",28,[],[],"","",null,[],[],0.7571,null,null,null,null,null],["d","lexInput","def",4,"definition","","LeanCalc/Lexer.lean",49,[],[],"","",null,[],[],0.6311,null,null,null,null,null],["d","lexNum?","def",4,"definition","","LeanCalc/Lexer.lean",32,[],[],"","",null,[],[],0.7571,null,null,null,null,null]],"edges":[[0,4,1,0,1],[1,2,1,0,1],[2,5,1,0,1],[0,5,1,0,1],[0,3,1,0,1],[0,2,1,0,1],[2,3,1,0,1],[2,4,1,0,1]],"top":[]},"4828929":{"id":4828929,"label":"Analyser","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"],[4828924,"LeanCalc","735_0"]],"kids":[["d","Symbol","structure",4,"definition","","LeanCalc/Analyser.lean",3,[],[],"","",null,[],[],0.9777,null,null,null,null,null],["d","SymbolTable","abbrev",4,"definition","","LeanCalc/Analyser.lean",8,[],[],"","",null,[],[],0.9585,null,null,null,null,null],["d","enterSymbol","def",4,"definition","","LeanCalc/Analyser.lean",13,[],[],"","",null,[],[],0.0928,null,null,null,null,null],["d","initSymbolTable","def",4,"definition","","LeanCalc/Analyser.lean",23,[],[],"","",null,[],[],0.7628,null,null,null,null,null],["d","retrieveSymbol","def",4,"definition","","LeanCalc/Analyser.lean",10,[],[],"","",null,[],[],0.8899,null,null,null,null,null],["d","setSymbol","def",4,"definition","","LeanCalc/Analyser.lean",18,[],[],"","",null,[],[],0.5418,null,null,null,null,null]],"edges":[[1,3,1,0,1],[4,5,1,0,1],[0,5,1,0,1],[0,1,1,0,1],[1,2,1,0,1],[2,4,1,0,1],[1,4,1,0,1],[0,2,1,0,1],[1,5,1,0,1],[0,4,1,0,1]],"top":[]},"4828930":{"id":4828930,"label":"Evaluator","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"],[4828924,"LeanCalc","735_0"]],"kids":[["d","evalExpr","def",4,"definition","","LeanCalc/Evaluator.lean",13,[],[],"","",null,[],[],0.5418,null,null,null,null,null],["d","evalStmt","def",4,"definition","","LeanCalc/Evaluator.lean",24,[],[],"","",null,[],[],0.6943,null,null,null,null,null],["d","evalStmts","def",4,"definition","","LeanCalc/Evaluator.lean",37,[],[],"","",null,[],[],0.7628,null,null,null,null,null],["d","evalVal","def",4,"definition","","LeanCalc/Evaluator.lean",4,[],[],"","",null,[],[],0.524,null,null,null,null,null],["d","evaluate","def",4,"definition","","LeanCalc/Evaluator.lean",46,[],[],"","",null,[],[],0.6311,null,null,null,null,null]],"edges":[[1,2,1,0,1],[0,3,1,0,1],[0,1,1,0,1],[2,4,1,0,1]],"top":[]},"4828931":{"id":4828931,"label":"Main","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/gustavgroenborg/lean-calc@a71b6256bb5d1a88cea37e0f6e964b278f98d38c#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"],[4828923,"lean-calc","735_0"]],"kids":[["d","processInput","def",4,"definition","","Main.lean",7,[],[],"","",null,[],[],0.0928,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4818098":{"id":4818098,"label":"computervision","n":40,"s":[0,0,0,0,40,0,0],"env":"https://github.com/vukimlien4706-cpu/computervision@4bf740d3da42506678d3a378381b7d2860968f68#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"]],"kids":[["g",4818099,"Computervision",37,[0,0,0,0,37,0,0],"736_0",[],4818102],["g",4818103,"Main",3,[0,0,0,0,3,0,0],"736_0",[],4818103]],"edges":[[0,1,6,0,6]],"top":[]},"4818099":{"id":4818099,"label":"Computervision","n":37,"s":[0,0,0,0,37,0,0],"env":"https://github.com/vukimlien4706-cpu/computervision@4bf740d3da42506678d3a378381b7d2860968f68#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818098,"computervision","736_0"]],"kids":[["g",4818100,"EMVA1288",17,[0,0,0,0,17,0,0],"736_0",[],4818100],["g",4818101,"Basic",11,[0,0,0,0,11,0,0],"736_0",[],4818101],["g",4818102,"Image",9,[0,0,0,0,9,0,0],"736_0",[],4818102]],"edges":[[1,2,8,0,8],[0,2,5,0,5]],"top":[]},"4818100":{"id":4818100,"label":"EMVA1288","n":17,"s":[0,0,0,0,17,0,0],"env":"https://github.com/vukimlien4706-cpu/computervision@4bf740d3da42506678d3a378381b7d2860968f68#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818098,"computervision","736_0"],[4818099,"Computervision","736_0"]],"kids":[["d","EMVA1288.NonUniformity","structure",4,"definition","","Computervision/EMVA1288.lean",72,[],[],"","",null,[],[],0.8556,null,null,"Spatial non-uniformity metrics according to EMVA 1288","docstring",null],["d","EMVA1288.Report","structure",4,"definition","where params : SensorParams spatial : Option NonUniformity","Computervision/EMVA1288.lean",82,[],[],"","",null,[],[],0.8553,null,null,"Complete EMVA 1288 Characterization Report","docstring",null],["d","EMVA1288.SensorParams","structure",4,"definition","","Computervision/EMVA1288.lean",26,[],[],"","",null,[],[],0.986,null,null,"Characterized EMVA 1288 sensor parameters","docstring",null],["d","EMVA1288.SensorParams.conversionFactor","def",4,"definition","(p : SensorParams) : Float","Computervision/EMVA1288.lean",42,[],[],"","",null,[],[],0.0927,null,null,"Conversion factor / Responsiveness in e⁻ / DN (inverse of system gain K)","docstring",null],["d","EMVA1288.SensorParams.dynamicRange","def",4,"definition","(p : SensorParams) : Float","Computervision/EMVA1288.lean",62,[],[],"","",null,[],[],0.7352,null,null,"Dynamic Range (linear): saturation capacity / absolute sensitivity threshold","docstring",null],["d","EMVA1288.SensorParams.dynamicRangeDb","def",4,"definition","(p : SensorParams) : Float","Computervision/EMVA1288.lean",66,[],[],"","",null,[],[],0.0927,null,null,"Dynamic Range in dB","docstring",null],["d","EMVA1288.SensorParams.readNoise_DN","def",4,"definition","(p : SensorParams) : Float","Computervision/EMVA1288.lean",46,[],[],"","",null,[],[],0.0927,null,null,"Temporal readout noise in Digital Numbers (DN)","docstring",null],["d","EMVA1288.SensorParams.sensitivityThreshold_e","def",4,"definition","(p : SensorParams) : Float","Computervision/EMVA1288.lean",50,[],[],"","",null,[],[],0.8378,null,null,"Absolute sensitivity threshold (signal at SNR = 1) in electrons (e⁻)","docstring",null],["d","EMVA1288.SensorParams.snrMax","def",4,"definition","(p : SensorParams) : Float","Computervision/EMVA1288.lean",54,[],[],"","",null,[],[],0.7352,null,null,"Maximum Signal-to-Noise Ratio (linear)","docstring",null],["d","EMVA1288.SensorParams.snrMaxDb","def",4,"definition","(p : SensorParams) : Float","Computervision/EMVA1288.lean",58,[],[],"","",null,[],[],0.0927,null,null,"Maximum Signal-to-Noise Ratio in dB","docstring",null],["d","EMVA1288.characterizeFromPairs","def",4,"definition","(darkA darkB : Image Float) (illumA illumB : Image Float) (satDN : Float) : Option SensorParams","Computervision/EMVA1288.lean",170,[],[],"","",null,[],[],0.6805,null,null,"Characterize sensor parameters from: - `(darkA, darkB)`: two dark images (lens capped / exposure without light) - `(illumA, illumB)`: two flat-field illuminated images - `satDN`: the saturation digital level (e.g., 255.0 for 8-bit, 4095.0 for 12-bit)","docstring",null],["d","EMVA1288.emvaTemporalStats","def",4,"definition","(imgA imgB : Image Float) : Float × Float","Computervision/EMVA1288.lean",117,[],[],"","",null,[],[],0.673,null,null,"Compute the temporal mean and variance from two flat-field captures under identical conditions. Using (imgA - imgB) eliminates fixed spatial patterns (PRNU/DSNU), isolating temporal noise: Var(A - B) = Var(A) + Var(B) = 2 · σ²_temporal","docstring",null],["d","EMVA1288.formatReport","def",4,"definition","(r : Report) : String","Computervision/EMVA1288.lean",88,[],[],"","",null,[],[],0.6805,null,null,"Format an EMVA 1288 Report into a clean summary table","docstring",null],["d","EMVA1288.measureSpatialNonUniformity","def",4,"definition","(darkA darkB : Image Float) (illumA illumB : Image Float) (params : SensorParams) : Option NonUniformity","Computervision/EMVA1288.lean",202,[],[],"","",null,[],[],0.6805,null,null,"Compute spatial non-uniformities (DSNU and PRNU) using averaged pairs","docstring",null],["d","EMVA1288.quantVariance","def",4,"definition",": Float","Computervision/EMVA1288.lean",22,[],[],"","",null,[],[],0.673,null,null,"Quantization noise variance for 1-LSB quantization: σ²_quant = 1 / 12","docstring",null],["d","EMVA1288.runEMVA1288Analysis","def",4,"definition","(darkA darkB : Image Float) (illumA illumB : Image Float) (satDN : Float) : Option Report","Computervision/EMVA1288.lean",247,[],[],"","",null,[],[],0.0927,null,null,"Run full EMVA 1288 analysis producing a complete Report","docstring",null],["d","EMVA1288.spatialStats","def",4,"definition","(img : Image Float) : Float × Float","Computervision/EMVA1288.lean",146,[],[],"","",null,[],[],0.6359,null,null,"Compute the spatial mean and sample variance across an image's pixels","docstring",null]],"edges":[[10,14,1,0,1],[0,13,1,0,1],[8,9,1,0,1],[2,4,1,0,1],[1,15,1,0,1],[1,12,1,0,1],[2,6,1,0,1],[2,13,1,0,1],[2,10,1,0,1],[2,9,1,0,1],[2,3,1,0,1],[4,7,1,0,1],[4,5,1,0,1],[10,11,1,0,1],[2,8,1,0,1],[13,15,1,0,1],[2,7,1,0,1],[13,16,1,0,1],[2,5,1,0,1],[0,1,1,0,1],[1,2,1,0,1],[10,15,1,0,1]],"top":[]},"4818101":{"id":4818101,"label":"Basic","n":11,"s":[0,0,0,0,11,0,0],"env":"https://github.com/vukimlien4706-cpu/computervision@4bf740d3da42506678d3a378381b7d2860968f68#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818098,"computervision","736_0"],[4818099,"Computervision","736_0"]],"kids":[["d","FloatConv.clampToUInt8","def",4,"definition","(x : Float) : UInt8","Computervision/Basic.lean",36,[],[],"","",null,[],[],0.9092,null,null,null,null,null],["d","FloatConv.rgb8ToYCbCr8","def",4,"definition","(c : RGB UInt8) : YCbCr UInt8","Computervision/Basic.lean",54,[],[],"","",null,[],[],0.6805,null,null,"Convert RGB UInt8 directly to YCbCr UInt8 via BT.601","docstring",null],["d","FloatConv.rgbFloatToUInt8","def",4,"definition","(c : RGB Float) : RGB UInt8","Computervision/Basic.lean",44,[],[],"","",null,[],[],0.673,null,null,null,null,null],["d","FloatConv.rgbToYCbCr","def",4,"definition","(c : RGB Float) : YCbCr Float","Computervision/Basic.lean",22,[],[],"","",null,[],[],0.8018,null,null,null,null,null],["d","FloatConv.rgbUInt8ToFloat","def",4,"definition","(c : RGB UInt8) : RGB Float","Computervision/Basic.lean",41,[],[],"","",null,[],[],0.673,null,null,null,null,null],["d","FloatConv.yCbCr8ToRGB8","def",4,"definition","(c : YCbCr UInt8) : RGB UInt8","Computervision/Basic.lean",58,[],[],"","",null,[],[],0.6805,null,null,"Convert YCbCr UInt8 directly to RGB UInt8 via BT.601","docstring",null],["d","FloatConv.yCbCrFloatToUInt8","def",4,"definition","(c : YCbCr Float) : YCbCr UInt8","Computervision/Basic.lean",50,[],[],"","",null,[],[],0.673,null,null,null,null,null],["d","FloatConv.yCbCrToRGB","def",4,"definition","(c : YCbCr Float) : RGB Float","Computervision/Basic.lean",28,[],[],"","",null,[],[],0.8018,null,null,null,null,null],["d","FloatConv.yCbCrUInt8ToFloat","def",4,"definition","(c : YCbCr UInt8) : YCbCr Float","Computervision/Basic.lean",47,[],[],"","",null,[],[],0.673,null,null,null,null,null],["d","RGB","structure",4,"definition","(α : Type)","Computervision/Basic.lean",1,[],[],"","",null,[],[],0.9748,null,null,null,null,null],["d","YCbCr","structure",4,"definition","(α : Type)","Computervision/Basic.lean",7,[],[],"","",null,[],[],0.9784,null,null,null,null,null]],"edges":[[7,10,1,0,1],[5,7,1,0,1],[6,10,1,0,1],[3,9,1,0,1],[1,6,1,0,1],[0,2,1,0,1],[8,10,1,0,1],[2,5,1,0,1],[3,10,1,0,1],[1,3,1,0,1],[4,9,1,0,1],[1,9,1,0,1],[5,9,1,0,1],[5,10,1,0,1],[0,6,1,0,1],[2,9,1,0,1],[7,9,1,0,1],[1,10,1,0,1],[1,4,1,0,1],[5,8,1,0,1]],"top":[]},"4818102":{"id":4818102,"label":"Image","n":9,"s":[0,0,0,0,9,0,0],"env":"https://github.com/vukimlien4706-cpu/computervision@4bf740d3da42506678d3a378381b7d2860968f68#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818098,"computervision","736_0"],[4818099,"Computervision","736_0"]],"kids":[["d","Image","structure",4,"definition","(α : Type)","Computervision/Image.lean",3,[],[],"","",null,[],[],0.986,null,null,null,null,null],["d","Image.get?","def",4,"definition","(img : Image α) (x y : Nat) : Option α","Computervision/Image.lean",20,[],[],"","",null,[],[],0.0927,null,null,"Safe coordinate access","docstring",null],["d","Image.getD","def",4,"definition","[Inhabited α] (img : Image α) (x y : Nat) : α","Computervision/Image.lean",27,[],[],"","",null,[],[],0.7536,null,null,"Default fallback coordinate access","docstring",null],["d","Image.map","def",4,"definition","(f : α → β) (img : Image α) : Image β","Computervision/Image.lean",34,[],[],"","",null,[],[],0.0927,null,null,"Functional point-wise map","docstring",null],["d","Image.ofFn","def",4,"definition","(width height : Nat) (f : Nat → Nat → α) : Image α","Computervision/Image.lean",12,[],[],"","",null,[],[],0.7352,null,null,"Create an image with a generator function (x, y) ↦ pixel","docstring",null],["d","Image.toRGB","def",4,"definition","(img : Image (YCbCr Float)) : Image (RGB Float)","Computervision/Image.lean",42,[],[],"","",null,[],[],0.0927,null,null,"Convert a YCbCr Float image to RGB Float","docstring",null],["d","Image.toRGB8","def",4,"definition","(img : Image (YCbCr UInt8)) : Image (RGB UInt8)","Computervision/Image.lean",50,[],[],"","",null,[],[],0.0927,null,null,"Convert a YCbCr UInt8 image to RGB UInt8","docstring",null],["d","Image.toYCbCr","def",4,"definition","(img : Image (RGB Float)) : Image (YCbCr Float)","Computervision/Image.lean",38,[],[],"","",null,[],[],0.0927,null,null,"Convert an RGB Float image to YCbCr Float","docstring",null],["d","Image.toYCbCr8","def",4,"definition","(img : Image (RGB UInt8)) : Image (YCbCr UInt8)","Computervision/Image.lean",46,[],[],"","",null,[],[],0.0927,null,null,"Convert an RGB UInt8 image to YCbCr UInt8","docstring",null]],"edges":[[0,4,1,0,1],[0,6,1,0,1],[0,3,1,0,1],[0,5,1,0,1],[0,1,1,0,1],[0,2,1,0,1],[0,7,1,0,1],[0,8,1,0,1]],"top":[]},"4818103":{"id":4818103,"label":"Main","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/vukimlien4706-cpu/computervision@4bf740d3da42506678d3a378381b7d2860968f68#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818098,"computervision","736_0"]],"kids":[["d","demoReport","def",4,"definition",": EMVA1288.Report","Main.lean",26,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","demoSensor","def",4,"definition",": EMVA1288.SensorParams","Main.lean",18,[],[],"","",null,[],[],0.6805,null,null,null,null,null],["d","testImg","def",4,"definition",": Image (RGB UInt8)","Main.lean",11,[],[],"","",null,[],[],0.0927,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]}}}1{"chunks":{"4817233":{"id":4817233,"label":"lean-law-ext/LeanLawExt","n":58,"s":[0,0,0,22,36,0,0],"env":"https://github.com/seungmiyoon/lean-law-ext@eaef9a92345f1f4c4c79f45abc45775ffe28d187#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"]],"kids":[["d","LeanLawExt.Art24Facts","structure",4,"definition","","LeanLawExt.lean",237,[],[],"","",null,[],[],0.836,null,null,null,null,null],["d","LeanLawExt.Date.le","def",4,"definition","","LeanLawExt.lean",291,[],[],"","",null,[],[],0.9609,null,null,null,null,null],["d","LeanLawExt.Date.lt","def",4,"definition","","LeanLawExt.lean",293,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.Norm","structure",4,"definition","","LeanLawExt.lean",402,[],[],"","",null,[],[],0.9918,null,null,null,null,null],["d","LeanLawExt.Norm.applicable","def",4,"definition","","LeanLawExt.lean",414,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.NormKind","inductive",4,"definition","","LeanLawExt.lean",389,[],[],"","",null,[],[],0.9732,null,null,null,null,null],["d","LeanLawExt.NormKind.rank","def",4,"definition","","LeanLawExt.lean",394,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.Sanction","structure",4,"definition","","LeanLawExt.lean",345,[],[],"","",null,[],[],0.8807,null,null,null,null,null],["d","LeanLawExt.UrgentNeedEvidence","structure",4,"definition","","LeanLawExt.lean",98,[],[],"","",null,[],[],0.9913,null,null,null,null,null],["d","LeanLawExt.UrgentNeedEvidence.Refines","def",4,"definition","","LeanLawExt.lean",110,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.Verdict","inductive",4,"definition","","LeanLawExt.lean",23,[],[],"","",null,[],[],0.9934,null,null,null,null,null],["d","LeanLawExt.Verdict.all","def",4,"definition","","LeanLawExt.lean",40,[],[],"","",null,[],[],0.8845,null,null,null,null,null],["d","LeanLawExt.Verdict.all_satisfied_iff","theorem",3,"unchecked","","LeanLawExt.lean",84,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"],["LeanLawExt.Verdict.all",4,4817233,"737_0"],["LeanLawExt.Verdict.and_satisfied_iff",3,4817233,"737_0"]],[["LeanLawExt.art24_satisfied_iff",3,4817233,"737_0"]],0.5894,null,null,null,null,null],["d","LeanLawExt.Verdict.all_violated_of_mem","theorem",3,"unchecked","","LeanLawExt.lean",75,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"],["LeanLawExt.Verdict.all",4,4817233,"737_0"],["LeanLawExt.Verdict.and_violated_left",3,4817233,"737_0"],["LeanLawExt.Verdict.and_violated_right",3,4817233,"737_0"]],[["LeanLawExt.art24_violated_of_short_notice",3,4817233,"737_0"]],0.6311,null,null,null,null,null],["d","LeanLawExt.Verdict.and","def",4,"definition","","LeanLawExt.lean",32,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.Verdict.and_comm","theorem",3,"unchecked","","LeanLawExt.lean",52,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.Verdict.and_mono","theorem",3,"unchecked","","LeanLawExt.lean",71,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"],["LeanLawExt.Verdict.refines",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.Verdict.and_satisfied_iff","theorem",3,"unchecked","","LeanLawExt.lean",61,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"]],[["LeanLawExt.Verdict.all_satisfied_iff",3,4817233,"737_0"]],0.7592,null,null,null,null,null],["d","LeanLawExt.Verdict.and_violated_iff","theorem",3,"unchecked","","LeanLawExt.lean",65,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.Verdict.and_violated_left","theorem",3,"unchecked","","LeanLawExt.lean",55,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"]],[["LeanLawExt.Verdict.all_violated_of_mem",3,4817233,"737_0"]],0.7083,null,null,null,null,null],["d","LeanLawExt.Verdict.and_violated_right","theorem",3,"unchecked","","LeanLawExt.lean",58,[],[],"","",null,[["LeanLawExt.Verdict",4,4817233,"737_0"]],[["LeanLawExt.Verdict.all_violated_of_mem",3,4817233,"737_0"]],0.7083,null,null,null,null,null],["d","LeanLawExt.Verdict.ofBool","def",4,"definition","","LeanLawExt.lean",38,[],[],"","",null,[],[],0.9038,null,null,null,null,null],["d","LeanLawExt.Verdict.refines","def",4,"definition","","LeanLawExt.lean",45,[],[],"","",null,[],[],0.8283,null,null,null,null,null],["d","LeanLawExt.Version","structure",4,"definition","","LeanLawExt.lean",297,[],[],"","",null,[],[],0.9366,null,null,null,null,null],["d","LeanLawExt.art24","def",4,"definition","","LeanLawExt.lean",249,[],[],"","",null,[],[],0.7535,null,null,null,null,null],["d","LeanLawExt.art24_3","def",4,"definition","","LeanLawExt.lean",246,[],[],"","",null,[],[],0.836,null,null,null,null,null],["d","LeanLawExt.art24_satisfied_iff","theorem",3,"unchecked","","LeanLawExt.lean",259,[],[],"","",null,[["LeanLawExt.urgentNeedBoundary",4,4817233,"737_0"],["LeanLawExt.Verdict.ofBool",4,4817233,"737_0"],["LeanLawExt.art24_3",4,4817233,"737_0"],["LeanLawExt.Art24Facts",4,4817233,"737_0"],["LeanLawExt.art24",4,4817233,"737_0"],["LeanLawExt.Verdict.all_satisfied_iff",3,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.art24_violated_of_short_notice","theorem",3,"unchecked","","LeanLawExt.lean",253,[],[],"","",null,[["LeanLawExt.Verdict.ofBool",4,4817233,"737_0"],["LeanLawExt.Art24Facts",4,4817233,"737_0"],["LeanLawExt.art24_3",4,4817233,"737_0"],["LeanLawExt.art24",4,4817233,"737_0"],["LeanLawExt.Verdict.all_violated_of_mem",3,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.enumerationCost","def",4,"definition","","LeanLawExt.lean",518,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.ilo87","def",4,"definition","","LeanLawExt.lean",512,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.imoConv","def",4,"definition","","LeanLawExt.lean",481,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.laborStandardsAct","def",4,"definition","","LeanLawExt.lean",498,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.mlc2006","def",4,"definition","","LeanLawExt.lean",496,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.patA","def",4,"definition","","LeanLawExt.lean",118,[],[],"","",null,[],[],0.9188,null,null,null,null,null],["d","LeanLawExt.patA_refines","theorem",3,"unchecked","","LeanLawExt.lean",162,[],[],"","",null,[["LeanLawExt.UrgentNeedEvidence",4,4817233,"737_0"],["LeanLawExt.patA",4,4817233,"737_0"]],[["LeanLawExt.urgentNeed_mono",3,4817233,"737_0"]],0.4644,null,null,null,null,null],["d","LeanLawExt.patB","def",4,"definition","","LeanLawExt.lean",123,[],[],"","",null,[],[],0.9188,null,null,null,null,null],["d","LeanLawExt.patB_refines","theorem",3,"unchecked","","LeanLawExt.lean",175,[],[],"","",null,[["LeanLawExt.UrgentNeedEvidence",4,4817233,"737_0"],["LeanLawExt.patB",4,4817233,"737_0"]],[["LeanLawExt.urgentNeed_mono",3,4817233,"737_0"]],0.4644,null,null,null,null,null],["d","LeanLawExt.patC","def",4,"definition","","LeanLawExt.lean",128,[],[],"","",null,[],[],0.9188,null,null,null,null,null],["d","LeanLawExt.patC_excludes_AB","theorem",3,"unchecked","","LeanLawExt.lean",202,[],[],"","",null,[["LeanLawExt.UrgentNeedEvidence",4,4817233,"737_0"],["LeanLawExt.patA",4,4817233,"737_0"],["LeanLawExt.patC",4,4817233,"737_0"],["LeanLawExt.patB",4,4817233,"737_0"]],[["LeanLawExt.urgentNeed_mono",3,4817233,"737_0"]],0.4644,null,null,null,null,null],["d","LeanLawExt.patC_refines","theorem",3,"unchecked","","LeanLawExt.lean",188,[],[],"","",null,[["LeanLawExt.UrgentNeedEvidence",4,4817233,"737_0"],["LeanLawExt.patC",4,4817233,"737_0"]],[["LeanLawExt.urgentNeed_mono",3,4817233,"737_0"]],0.4644,null,null,null,null,null],["d","LeanLawExt.penaltyFor","def",4,"definition","","LeanLawExt.lean",357,[],[],"","",null,[],[],0.5267,null,null,null,null,null],["d","LeanLawExt.penalty_le_act","theorem",3,"unchecked","","LeanLawExt.lean",366,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["hj",4,4735348,"55940_0"],["Nat.le_refl",3,4396930,"32300_0"],["Date",4,2889884,"3569_1"],["LeanLawExt.Version",4,4817233,"737_0"],["LeanLawExt.Sanction",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.pick","def",4,"definition","","LeanLawExt.lean",303,[],[],"","",null,[],[],0.8395,null,null,null,null,null],["d","LeanLawExt.pick_effective_le","theorem",3,"unchecked","","LeanLawExt.lean",310,[],[],"","",null,[["Date",4,2889884,"3569_1"],["LeanLawExt.Date.le",4,4817233,"737_0"],["LeanLawExt.Version",4,4817233,"737_0"],["LeanLawExt.pick",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.prevails","def",4,"definition","","LeanLawExt.lean",417,[],[],"","",null,[],[],0.9202,null,null,null,null,null],["d","LeanLawExt.prevails_total","theorem",3,"unchecked","","LeanLawExt.lean",429,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["LeanLawExt.Norm",4,4817233,"737_0"],["LeanLawExt.Date.le",4,4817233,"737_0"],["LeanLawExt.prevails",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.resolve","def",4,"definition","","LeanLawExt.lean",423,[],[],"","",null,[],[],0.9261,null,null,null,null,null],["d","LeanLawExt.resolve_applicable","theorem",3,"unchecked","","LeanLawExt.lean",473,[],[],"","",null,[["LeanLawExt.Norm",4,4817233,"737_0"],["LeanLawExt.resolve",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.resolve_mem","theorem",3,"unchecked","","LeanLawExt.lean",457,[],[],"","",null,[["LeanLawExt.Norm",4,4817233,"737_0"],["LeanLawExt.resolve",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.resolve_skips_non_self_executing","theorem",3,"unchecked","","LeanLawExt.lean",468,[],[],"","",null,[["LeanLawExt.Norm",4,4817233,"737_0"],["LeanLawExt.resolve",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.seafarersAct","def",4,"definition","","LeanLawExt.lean",497,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.shipDecree","def",4,"definition","","LeanLawExt.lean",483,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.shipSafetyAct","def",4,"definition","","LeanLawExt.lean",482,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.urgentNeedBoundary","def",4,"definition","","LeanLawExt.lean",134,[],[],"","",null,[],[],0.927,null,null,null,null,null],["d","LeanLawExt.urgentNeedBurden","def",4,"definition","","LeanLawExt.lean",140,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","LeanLawExt.urgentNeed_consistent","theorem",3,"unchecked","","LeanLawExt.lean",148,[],[],"","",null,[["LeanLawExt.UrgentNeedEvidence",4,4817233,"737_0"],["LeanLawExt.urgentNeedBoundary",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.urgentNeed_mono","theorem",3,"unchecked","","LeanLawExt.lean",217,[],[],"","",null,[["hc'",3,4994402,"47920_0"],["LeanLawExt.UrgentNeedEvidence",4,4817233,"737_0"],["LeanLawExt.urgentNeedBoundary",4,4817233,"737_0"],["LeanLawExt.patA",4,4817233,"737_0"],["LeanLawExt.patC",4,4817233,"737_0"],["LeanLawExt.patB",4,4817233,"737_0"]],[],0.0927,null,null,null,null,null],["d","LeanLawExt.wageSanctionVersions","def",4,"definition","","LeanLawExt.lean",351,[],[],"","",null,[],[],0.0927,null,null,null,null,null]],"edges":[[10,18,1,0,1],[35,53,1,0,1],[3,51,1,0,1],[3,49,1,0,1],[33,34,1,0,1],[37,56,1,0,1],[53,54,1,0,1],[24,27,1,0,1],[33,53,1,0,1],[10,25,1,0,1],[3,52,1,0,1],[8,39,1,0,1],[33,56,1,0,1],[0,27,1,0,1],[3,30,1,0,1],[44,45,1,0,1],[21,25,1,0,1],[46,49,1,0,1],[33,38,1,0,1],[0,8,1,0,1],[46,48,1,0,1],[8,36,1,0,1],[24,26,1,0,1],[37,39,1,0,1],[8,9,1,0,1],[10,11,1,0,1],[3,47,1,0,1],[3,32,1,0,1],[23,41,1,0,1],[25,27,1,0,1],[10,19,1,0,1],[8,54,1,0,1],[23,43,1,0,1],[35,38,1,0,1],[40,41,1,0,1],[8,33,1,0,1],[3,50,1,0,1],[5,6,1,0,1],[37,38,1,0,1],[26,53,1,0,1],[7,40,1,0,1],[12,26,1,0,1],[11,13,1,0,1],[35,36,1,0,1],[10,16,1,0,1],[25,26,1,0,1],[3,29,1,0,1],[8,34,1,0,1],[53,56,1,0,1],[1,42,1,0,1],[38,56,1,0,1],[1,44,1,0,1],[13,19,1,0,1],[3,5,1,0,1],[53,55,1,0,1],[10,15,1,0,1],[3,48,1,0,1],[10,22,1,0,1],[23,57,1,0,1],[3,44,1,0,1],[0,26,1,0,1],[22,56,1,0,1],[46,47,1,0,1],[8,53,1,0,1],[3,31,1,0,1],[41,42,1,0,1],[24,25,1,0,1],[23,40,1,0,1],[7,57,1,0,1],[0,24,1,0,1],[35,56,1,0,1],[3,46,1,0,1],[10,20,1,0,1],[1,45,1,0,1],[37,53,1,0,1],[23,42,1,0,1],[10,24,1,0,1],[21,26,1,0,1],[8,38,1,0,1],[11,24,1,0,1],[10,13,1,0,1],[39,56,1,0,1],[3,4,1,0,1],[44,46,1,0,1],[40,42,1,0,1],[10,14,1,0,1],[10,17,1,0,1],[34,56,1,0,1],[7,41,1,0,1],[12,17,1,0,1],[10,12,1,0,1],[24,53,1,0,1],[36,56,1,0,1],[42,43,1,0,1],[1,43,1,0,1],[8,37,1,0,1],[10,53,1,0,1],[21,27,1,0,1],[1,2,1,0,1],[13,27,1,0,1],[13,20,1,0,1],[16,22,1,0,1],[11,12,1,0,1],[8,55,1,0,1],[3,45,1,0,1],[8,35,1,0,1],[10,21,1,0,1],[0,10,1,0,1],[8,56,1,0,1]],"top":[["LeanLawExt.Verdict.and_satisfied_iff",3,0.7592,4817233,"737_0",2],["LeanLawExt.Verdict.and_violated_left",3,0.7083,4817233,"737_0",2],["LeanLawExt.Verdict.and_violated_right",3,0.7083,4817233,"737_0",2],["LeanLawExt.Verdict.all_violated_of_mem",3,0.6311,4817233,"737_0",5],["LeanLawExt.Verdict.all_satisfied_iff",3,0.5894,4817233,"737_0",4],["LeanLawExt.patA_refines",3,0.4644,4817233,"737_0",3],["LeanLawExt.patB_refines",3,0.4644,4817233,"737_0",3],["LeanLawExt.patC_excludes_AB",3,0.4644,4817233,"737_0",5],["LeanLawExt.patC_refines",3,0.4644,4817233,"737_0",3],["LeanLawExt.Verdict.and_comm",3,0.0927,4817233,"737_0",1]]}}}1{"chunks":{"4817296":{"id":4817296,"label":"lean-lang-learning","n":17,"s":[0,0,0,6,11,0,0],"env":"https://github.com/0xsasheen/lean-lang-learning@60ac64c4557ccb775232d042dbc3f1e084b4d7ce#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"]],"kids":[["g",4817297,"Old",10,[0,0,0,0,10,0,0],"738_0",[],4817297],["g",4817298,"Main",7,[0,0,0,6,1,0,0],"738_0",[["EvenPlusEvenIsEven",3,0.8909,4817298,"738_0",1],["OddPlusEvenIsOdd",3,0.8045,4817298,"738_0",2],["EvenPlusTwoIsEven",3,0.0927,4817298,"738_0",1]],4817298]],"edges":[],"top":[["EvenPlusEvenIsEven",3,0.8909,4817298,"738_0",1],["OddPlusEvenIsOdd",3,0.8045,4817298,"738_0",2],["EvenPlusTwoIsEven",3,0.0927,4817298,"738_0",1]]},"4817297":{"id":4817297,"label":"Old","n":10,"s":[0,0,0,0,10,0,0],"env":"https://github.com/0xsasheen/lean-lang-learning@60ac64c4557ccb775232d042dbc3f1e084b4d7ce#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817296,"lean-lang-learning","738_0"]],"kids":[["d","RectangularPrism","structure",4,"definition","","Old.lean",32,[],[],"","",null,[],[],0.8978,null,null,null,null,null],["d","Segment","structure",4,"definition","","Old.lean",59,[],[],"","",null,[],[],0.8045,null,null,null,null,null],["d","Square","structure",4,"definition","","Old.lean",37,[],[],"","",null,[],[],0.9137,null,null,null,null,null],["d","area","def",4,"definition","","Old.lean",40,[],[],"","",null,[],[],0.8171,null,null,null,null,null],["d","lineSeg","def",4,"definition","","Old.lean",66,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","max2","def",4,"definition","","Old.lean",12,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","prism","def",4,"definition","","Old.lean",55,[],[],"","",null,[],[],0.7633,null,null,null,null,null],["d","square","def",4,"definition","","Old.lean",43,[],[],"","",null,[],[],0.8527,null,null,null,null,null],["d","test","def",4,"definition","","Old.lean",4,[],[],"","",null,[],[],0.0927,null,null,null,null,null],["d","volume2","def",4,"definition","","Old.lean",47,[],[],"","",null,[],[],0.8422,null,null,null,null,null]],"edges":[[3,7,2,0,2],[6,9,2,0,2],[0,9,1,0,1],[2,3,1,0,1],[0,6,1,0,1],[1,4,1,0,1],[2,7,1,0,1]],"top":[]},"4817298":{"id":4817298,"label":"Main","n":7,"s":[0,0,0,6,1,0,0],"env":"https://github.com/0xsasheen/lean-lang-learning@60ac64c4557ccb775232d042dbc3f1e084b4d7ce#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817296,"lean-lang-learning","738_0"]],"kids":[["d","EvenPlusEvenIsEven","theorem",3,"unchecked","","Main.lean",50,[],[],"","",null,[],[["EvenPlusTwoIsEven",3,4817298,"738_0"]],0.8909,null,null,null,null,null],["d","EvenPlusTwoIsEven","theorem",3,"unchecked","","Main.lean",134,[],[],"","",null,[["EvenPlusEvenIsEven",3,4817298,"738_0"]],[],0.0927,null,null,null,null,null],["d","Odd1","def",4,"definition","","Main.lean",25,[],[],"","",null,[],[],0.9651,null,null,null,null,null],["d","OddPlusEvenIsOdd","theorem",3,"unchecked","","Main.lean",70,[],[],"","",null,[["Odd1",4,4817298,"738_0"]],[["OddPlusTwoIsOdd",3,4817298,"738_0"]],0.8045,null,null,null,null,null],["d","OddPlusOddIsEven","theorem",3,"unchecked","","Main.lean",31,[],[],"","",null,[["Odd1",4,4817298,"738_0"]],[],0.0927,null,null,null,null,null],["d","OddPlusTwoIsOdd","theorem",3,"unchecked","","Main.lean",105,[],[],"","",null,[["Odd1",4,4817298,"738_0"],["OddPlusEvenIsOdd",3,4817298,"738_0"]],[],0.0927,null,null,null,null,null],["d","TwoTimesEvenIsEven","theorem",3,"unchecked","","Main.lean",87,[],[],"","",null,[],[],0.0927,null,null,null,null,null]],"edges":[[2,3,1,0,1],[3,5,1,0,1],[0,1,1,0,1],[2,5,1,0,1],[2,4,1,0,1]],"top":[["EvenPlusEvenIsEven",3,0.8909,4817298,"738_0",1],["OddPlusEvenIsOdd",3,0.8045,4817298,"738_0",2],["EvenPlusTwoIsEven",3,0.0927,4817298,"738_0",1]]}}}1{"chunks":{"4817188":{"id":4817188,"label":"lean-libcrypto/Libcrypto","n":92,"s":[0,0,0,0,92,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"]],"kids":[["g",4817189,"Evp",72,[0,0,0,0,72,0,0],"739_0",[],4817196],["g",4817197,"Aead",8,[0,0,0,0,8,0,0],"739_0",[],4817197],["g",4817198,"Sign",7,[0,0,0,0,7,0,0],"739_0",[],4817198],["g",4817199,"Hash",3,[0,0,0,0,3,0,0],"739_0",[],4817199],["g",4817200,"Hmac",2,[0,0,0,0,2,0,0],"739_0",[],4817200]],"edges":[[0,2,4,0,4],[0,1,4,0,4],[0,3,2,0,2],[3,4,2,0,2],[0,4,1,0,1],[2,3,1,0,1]],"top":[]},"4817189":{"id":4817189,"label":"Evp","n":72,"s":[0,0,0,0,72,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"]],"kids":[["g",4817190,"Cipher",16,[0,0,0,0,16,0,0],"739_0",[],4817190],["g",4817191,"Digest",15,[0,0,0,0,15,0,0],"739_0",[],4817191],["g",4817192,"PKey",14,[0,0,0,0,14,0,0],"739_0",[],4817192],["g",4817193,"Mac",12,[0,0,0,0,12,0,0],"739_0",[],4817193],["g",4817194,"Kdf",6,[0,0,0,0,6,0,0],"739_0",[],4817194],["g",4817195,"Provider",5,[0,0,0,0,5,0,0],"739_0",[],4817195],["g",4817196,"Param",4,[0,0,0,0,4,0,0],"739_0",[],4817196]],"edges":[[2,6,3,0,3],[1,5,2,0,2],[1,6,2,0,2],[3,6,2,0,2],[0,6,2,0,2],[4,6,1,0,1],[3,5,1,0,1],[4,5,1,0,1],[0,5,1,0,1]],"top":[]},"4817190":{"id":4817190,"label":"Cipher","n":16,"s":[0,0,0,0,16,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"],[4817189,"Evp","739_0"]],"kids":[["d","Libcrypto.Evp.Cipher","def",4,"definition",": Type","Libcrypto/Evp/Cipher.lean",18,[],[],"","",null,[],[],0.9756,null,null,"A fetched `EVP_CIPHER`. Reference counted by OpenSSL, so sharing one between threads is safe.","docstring",null],["d","Libcrypto.Evp.Cipher.Ctx","def",4,"definition",": Type","Libcrypto/Evp/Cipher.lean",50,[],[],"","",null,[],[],0.9863,null,null,"An `EVP_CIPHER_CTX`. Not reentrant: use one from a single thread at a time.","docstring",null],["d","Libcrypto.Evp.Cipher.Ctx.decryptFinal","opaque",4,"definition","(ctx : @& Ctx) : IO (Option ByteArray)","Libcrypto/Evp/Cipher.lean",87,[],[],"","",null,[],[],0.0922,null,null,"`EVP_DecryptFinal_ex`. `none` says the input did not authenticate, whether because the tag, the ciphertext or the additional data was not what was sealed. That is an answer, so it is not raised.","docstring",null],["d","Libcrypto.Evp.Cipher.Ctx.encryptFinal","opaque",4,"definition","(ctx : @& Ctx) : IO ByteArray","Libcrypto/Evp/Cipher.lean",81,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Cipher.Ctx.encryptInit","opaque",4,"definition","(ctx : @& Ctx) (cipher : @& Option Cipher) (key iv : @& Option ByteArray) (params : @& Array Param) : IO Unit","Libcrypto/Evp/Cipher.lean",62,[],[],"","",null,[],[],0.0922,null,null,"`EVP_EncryptInit_ex2`. Each of the first three arguments may be `none`, leaving that part of the context as it was, which is how a nonce of other than the default length is set: once with the cipher and `\"ivlen\"`, then again with the key and the nonce.","docstring",null],["d","Libcrypto.Evp.Cipher.Ctx.getOctets","opaque",4,"definition","(ctx : @& Ctx) (key : @& String) (size : Nat) : IO ByteArray","Libcrypto/Evp/Cipher.lean",98,[],[],"","",null,[],[],0.0922,null,null,"Reads back an octet-string parameter, such as the tag after encrypting. OpenSSL will not size the buffer, so the caller says how many bytes it wants and it is an error if the provider had a different number to write.","docstring",null],["d","Libcrypto.Evp.Cipher.Ctx.new","opaque",4,"definition",": IO Ctx","Libcrypto/Evp/Cipher.lean",55,[],[],"","",null,[],[],0.836,null,null,null,null,null],["d","Libcrypto.Evp.Cipher.Ctx.setParams","opaque",4,"definition","(ctx : @& Ctx) (params : @& Array Param) : IO Unit","Libcrypto/Evp/Cipher.lean",92,[],[],"","",null,[],[],0.0922,null,null,"Sets parameters on a context already initialised, which is how the tag to check is given before `Ctx.decryptFinal`.","docstring",null],["d","Libcrypto.Evp.Cipher.Ctx.update","opaque",4,"definition","(ctx : @& Ctx) (input : @& ByteArray) : IO ByteArray","Libcrypto/Evp/Cipher.lean",73,[],[],"","",null,[],[],0.0922,null,null,"`EVP_CipherUpdate`. What comes back may be shorter or longer than what went in, since a block cipher holds back a partial block and emits it later.","docstring",null],["d","Libcrypto.Evp.Cipher.Ctx.updateAad","opaque",4,"definition","(ctx : @& Ctx) (aad : @& ByteArray) : IO Unit","Libcrypto/Evp/Cipher.lean",78,[],[],"","",null,[],[],0.0922,null,null,"Feeds additional authenticated data, which is covered by the tag but not encrypted. It must all be supplied before the first `update`.","docstring",null],["d","Libcrypto.Evp.Cipher.CtxImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Cipher.lean",47,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Cipher.fetch","def",4,"definition","(name : String) : IO Cipher","Libcrypto/Evp/Cipher.lean",28,[],[],"","",null,[],[],0.836,null,null,"`fetchIn` against the default library context.","docstring",null],["d","Libcrypto.Evp.Cipher.fetchIn","opaque",4,"definition","(ctx : @& Option LibCtx) (name : @& String) : IO Cipher","Libcrypto/Evp/Cipher.lean",25,[],[],"","",null,[],[],0.8102,null,null,null,null,null],["d","Libcrypto.Evp.Cipher.keyLength","opaque",4,"definition","(c : @& Cipher) : Nat","Libcrypto/Evp/Cipher.lean",35,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Cipher.name","opaque",4,"definition","(c : @& Cipher) : String","Libcrypto/Evp/Cipher.lean",32,[],[],"","",null,[],[],0.8892,null,null,"The provider's primary name, which need not be the one `fetch` was given.","docstring",null],["d","Libcrypto.Evp.CipherImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Cipher.lean",14,[],[],"","",null,[],[],0.0922,null,null,null,null,null]],"edges":[[0,11,1,0,1],[1,8,1,0,1],[0,4,1,0,1],[0,12,1,0,1],[12,14,1,0,1],[11,12,1,0,1],[11,14,1,0,1],[1,3,1,0,1],[0,14,1,0,1],[0,13,1,0,1],[1,7,1,0,1],[1,9,1,0,1],[1,5,1,0,1],[1,4,1,0,1],[1,2,1,0,1],[1,6,1,0,1]],"top":[]},"4817191":{"id":4817191,"label":"Digest","n":15,"s":[0,0,0,0,15,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"],[4817189,"Evp","739_0"]],"kids":[["d","Libcrypto.Evp.Digest","def",4,"definition",": Type","Libcrypto/Evp/Digest.lean",18,[],[],"","",null,[],[],0.9786,null,null,"A fetched `EVP_MD`. Reference counted by OpenSSL, so sharing one between threads is safe.","docstring",null],["d","Libcrypto.Evp.Digest.Ctx","def",4,"definition",": Type","Libcrypto/Evp/Digest.lean",54,[],[],"","",null,[],[],0.9695,null,null,"An `EVP_MD_CTX`. Not reentrant: use one from a single thread at a time.","docstring",null],["d","Libcrypto.Evp.Digest.Ctx.final","opaque",4,"definition","(ctx : @& Ctx) : IO ByteArray","Libcrypto/Evp/Digest.lean",71,[],[],"","",null,[],[],0.0922,null,null,"`EVP_DigestFinal_ex`, which leaves the context needing another `init` before it can be used again.","docstring",null],["d","Libcrypto.Evp.Digest.Ctx.init","opaque",4,"definition","(ctx : @& Ctx) (d : @& Digest) (params : @& Array Param) : IO Unit","Libcrypto/Evp/Digest.lean",63,[],[],"","",null,[],[],0.0922,null,null,"`EVP_DigestInit_ex2`. Also resets a context that has already been used.","docstring",null],["d","Libcrypto.Evp.Digest.Ctx.new","opaque",4,"definition",": IO Ctx","Libcrypto/Evp/Digest.lean",59,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Digest.Ctx.update","opaque",4,"definition","(ctx : @& Ctx) (data : @& ByteArray) : IO Unit","Libcrypto/Evp/Digest.lean",66,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Digest.CtxImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Digest.lean",51,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Digest.digest","opaque",4,"definition","(d : @& Digest) (data : @& ByteArray) (params : @& Array Param) : IO ByteArray","Libcrypto/Evp/Digest.lean",75,[],[],"","",null,[],[],0.7352,null,null,"Init, update and final in one shim call, so no context escapes into Lean.","docstring",null],["d","Libcrypto.Evp.Digest.enumerate","def",4,"definition",": IO (Array String)","Libcrypto/Evp/Digest.lean",49,[],[],"","",null,[],[],0.0922,null,null,"`enumerateIn` against the default library context.","docstring",null],["d","Libcrypto.Evp.Digest.enumerateIn","opaque",4,"definition","(ctx : @& Option LibCtx) : IO (Array String)","Libcrypto/Evp/Digest.lean",46,[],[],"","",null,[],[],0.8909,null,null,"Every digest the providers loaded into `ctx` offer, by primary name. What this returns is a property of the linked OpenSSL and of which providers are loaded, not of this library.","docstring",null],["d","Libcrypto.Evp.Digest.fetch","def",4,"definition","(name : String) : IO Digest","Libcrypto/Evp/Digest.lean",30,[],[],"","",null,[],[],0.8271,null,null,"`fetchIn` against the default library context.","docstring",null],["d","Libcrypto.Evp.Digest.fetchIn","opaque",4,"definition","(ctx : @& Option LibCtx) (name : @& String) : IO Digest","Libcrypto/Evp/Digest.lean",27,[],[],"","",null,[],[],0.8032,null,null,"Fails if no provider loaded into `ctx` offers `name`, which is an environmental fact rather than an answer about the input.","docstring",null],["d","Libcrypto.Evp.Digest.name","opaque",4,"definition","(d : @& Digest) : String","Libcrypto/Evp/Digest.lean",40,[],[],"","",null,[],[],0.8879,null,null,"The provider's primary name, which need not be the one `fetch` was given: fetching `\"SHA256\"` yields an algorithm named `\"SHA2-256\"`.","docstring",null],["d","Libcrypto.Evp.Digest.size","opaque",4,"definition","(d : @& Digest) : Nat","Libcrypto/Evp/Digest.lean",35,[],[],"","",null,[],[],0.0922,null,null,"The length `final` will return. For an extendable-output function this is the provider's default length rather than a limit.","docstring",null],["d","Libcrypto.Evp.DigestImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Digest.lean",14,[],[],"","",null,[],[],0.0922,null,null,null,null,null]],"edges":[[1,3,1,0,1],[10,12,1,0,1],[0,10,1,0,1],[0,7,1,0,1],[10,11,1,0,1],[1,2,1,0,1],[1,5,1,0,1],[8,9,1,0,1],[11,12,1,0,1],[0,13,1,0,1],[0,12,1,0,1],[1,4,1,0,1],[0,11,1,0,1],[0,3,1,0,1]],"top":[]},"4817192":{"id":4817192,"label":"PKey","n":14,"s":[0,0,0,0,14,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"],[4817189,"Evp","739_0"]],"kids":[["d","Libcrypto.Evp.PKey","def",4,"definition",": Type","Libcrypto/Evp/PKey.lean",18,[],[],"","",null,[],[],0.9913,null,null,"An `EVP_PKEY`, holding a public key, a private key, or both. Immutable once built here, so sharing one between threads is safe; the contexts the operations below build from it are not shared, being created and dropped inside one call.","docstring",null],["d","Libcrypto.Evp.PKey.Selection","inductive",4,"definition","where","Libcrypto/Evp/PKey.lean",27,[],[],"","",null,[],[],0.939,null,null,"Which components of a key an encode or a decode is about. `privateKey` and `keyPair` both carry the private half; they differ in whether the public half has to be present too.","docstring",null],["d","Libcrypto.Evp.PKey.decode","opaque",4,"definition","(der : @& ByteArray) (selection : Selection) (format structureName : @& String) : IO (Option PKey)","Libcrypto/Evp/PKey.lean",41,[],[],"","",null,[],[],0.9375,null,null,"`OSSL_DECODER`. `format` is an input type such as `\"DER\"` or `\"PEM\"` and `structureName` an input structure such as `\"SubjectPublicKeyInfo\"`. `none` means the bytes are not what they were said to be, which is an answer about the input; a build with no provider for the key type throws instead, and a caller must be able to tell those apart.","docstring",null],["d","Libcrypto.Evp.PKey.encode","opaque",4,"definition","(key : @& PKey) (selection : Selection) (format structureName : @& String) : IO ByteArray","Libcrypto/Evp/PKey.lean",46,[],[],"","",null,[],[],0.0922,null,null,"`OSSL_ENCODER`, the inverse of `decode` and taking the same names.","docstring",null],["d","Libcrypto.Evp.PKey.fromPkcs8","def",4,"definition","(der : ByteArray) : IO (Option PKey)","Libcrypto/Evp/PKey.lean",56,[],[],"","",null,[],[],0.6805,null,null,"Decodes a DER PKCS#8 `PrivateKeyInfo`, which is unencrypted; an `EncryptedPrivateKeyInfo` needs a passphrase and does not decode here.","docstring",null],["d","Libcrypto.Evp.PKey.fromRawPublicKey","opaque",4,"definition","(algorithm : @& String) (key : @& ByteArray) : IO (Option PKey)","Libcrypto/Evp/PKey.lean",71,[],[],"","",null,[],[],0.4832,null,null,"Builds a key from the bare public value, for algorithms that have one, such as `\"ED25519\"`. Answers `none` if the length is wrong for the algorithm.","docstring",null],["d","Libcrypto.Evp.PKey.fromSpki","def",4,"definition","(der : ByteArray) : IO (Option PKey)","Libcrypto/Evp/PKey.lean",51,[],[],"","",null,[],[],0.8534,null,null,"Decodes a DER `SubjectPublicKeyInfo`, the encoding a public key is normally published in.","docstring",null],["d","Libcrypto.Evp.PKey.generate","opaque",4,"definition","(algorithm : @& String) (params : @& Array Param) : IO PKey","Libcrypto/Evp/PKey.lean",86,[],[],"","",null,[],[],0.686,null,null,"`EVP_PKEY_generate`. What `params` must carry depends on the algorithm: `\"bits\"` for RSA, `\"group\"` for EC, nothing at all for Ed25519.","docstring",null],["d","Libcrypto.Evp.PKey.sign","opaque",4,"definition","(key : @& PKey) (digest : @& Option String) (message : @& ByteArray) (params : @& Array Param) : IO ByteArray","Libcrypto/Evp/PKey.lean",94,[],[],"","",null,[],[],0.0922,null,null,"`EVP_DigestSign`. `digest` is `none` for pure EdDSA, which signs the message rather than a digest of it; `params` carry padding and PSS settings. Signing has no negative answer: either it produces a signature or something prevented it, so everything that goes wrong here throws.","docstring",null],["d","Libcrypto.Evp.PKey.toPkcs8","def",4,"definition","(key : PKey) : IO ByteArray","Libcrypto/Evp/PKey.lean",65,[],[],"","",null,[],[],0.0922,null,null,"Writes the private half as a DER PKCS#8 `PrivateKeyInfo`, unencrypted.","docstring",null],["d","Libcrypto.Evp.PKey.toSpki","def",4,"definition","(key : PKey) : IO ByteArray","Libcrypto/Evp/PKey.lean",61,[],[],"","",null,[],[],0.0922,null,null,"Writes the public half as a DER `SubjectPublicKeyInfo`, discarding the private half if the key has one.","docstring",null],["d","Libcrypto.Evp.PKey.typeName","opaque",4,"definition","(key : @& PKey) : String","Libcrypto/Evp/PKey.lean",81,[],[],"","",null,[],[],0.0922,null,null,"What the key turned out to be, such as `\"RSA\"` or `\"EC\"`. After a `decode` this is the only way to learn which algorithm the bytes carried.","docstring",null],["d","Libcrypto.Evp.PKey.verify","opaque",4,"definition","(key : @& PKey) (digest : @& Option String) (message signature : @& ByteArray) (params : @& Array Param) : IO Bool","Libcrypto/Evp/PKey.lean",102,[],[],"","",null,[],[],0.0922,null,null,"`EVP_DigestVerify`, taking the same `digest` and `params` as `sign`. `false` means the signature does not verify, which is an answer. Anything that prevents an answer being reached, an unavailable digest for instance, throws.","docstring",null],["d","Libcrypto.Evp.PKeyImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/PKey.lean",13,[],[],"","",null,[],[],0.0922,null,null,null,null,null]],"edges":[[0,10,1,0,1],[0,4,1,0,1],[1,2,1,0,1],[0,8,1,0,1],[0,12,1,0,1],[0,5,1,0,1],[2,6,1,0,1],[0,7,1,0,1],[0,11,1,0,1],[0,3,1,0,1],[1,3,1,0,1],[2,4,1,0,1],[0,6,1,0,1],[0,2,1,0,1],[0,9,1,0,1]],"top":[]},"4817193":{"id":4817193,"label":"Mac","n":12,"s":[0,0,0,0,12,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"],[4817189,"Evp","739_0"]],"kids":[["d","Libcrypto.Evp.Mac","def",4,"definition",": Type","Libcrypto/Evp/Mac.lean",18,[],[],"","",null,[],[],0.9736,null,null,"A fetched `EVP_MAC`, such as `\"HMAC\"` or `\"POLY1305\"`. Reference counted by OpenSSL, so sharing one between threads is safe.","docstring",null],["d","Libcrypto.Evp.Mac.Ctx","def",4,"definition",": Type","Libcrypto/Evp/Mac.lean",36,[],[],"","",null,[],[],0.9675,null,null,"An `EVP_MAC_CTX`. Not reentrant: use one from a single thread at a time.","docstring",null],["d","Libcrypto.Evp.Mac.Ctx.final","opaque",4,"definition","(ctx : @& Ctx) : IO ByteArray","Libcrypto/Evp/Mac.lean",53,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Mac.Ctx.init","opaque",4,"definition","(ctx : @& Ctx) (key : @& ByteArray) (params : @& Array Param) : IO Unit","Libcrypto/Evp/Mac.lean",47,[],[],"","",null,[],[],0.0922,null,null,"Which parameters are required depends on the MAC: HMAC needs `\"digest\"`, and nothing settles the key but this call.","docstring",null],["d","Libcrypto.Evp.Mac.Ctx.new","opaque",4,"definition","(m : @& Mac) : IO Ctx","Libcrypto/Evp/Mac.lean",42,[],[],"","",null,[],[],0.7352,null,null,"Unlike a digest context, this one is bound to its algorithm when it is made.","docstring",null],["d","Libcrypto.Evp.Mac.Ctx.update","opaque",4,"definition","(ctx : @& Ctx) (data : @& ByteArray) : IO Unit","Libcrypto/Evp/Mac.lean",50,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Mac.CtxImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Mac.lean",33,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Evp.Mac.compute","def",4,"definition","(m : Mac) (key data : ByteArray) (params : Array Param) : IO ByteArray","Libcrypto/Evp/Mac.lean",56,[],[],"","",null,[],[],0.0922,null,null,"A MAC over one buffer, which is what almost every caller wants.","docstring",null],["d","Libcrypto.Evp.Mac.fetch","def",4,"definition","(name : String) : IO Mac","Libcrypto/Evp/Mac.lean",28,[],[],"","",null,[],[],0.8472,null,null,"`fetchIn` against the default library context.","docstring",null],["d","Libcrypto.Evp.Mac.fetchIn","opaque",4,"definition","(ctx : @& Option LibCtx) (name : @& String) : IO Mac","Libcrypto/Evp/Mac.lean",25,[],[],"","",null,[],[],0.8148,null,null,null,null,null],["d","Libcrypto.Evp.Mac.name","opaque",4,"definition","(m : @& Mac) : String","Libcrypto/Evp/Mac.lean",31,[],[],"","",null,[],[],0.8933,null,null,null,null,null],["d","Libcrypto.Evp.MacImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Mac.lean",14,[],[],"","",null,[],[],0.0922,null,null,null,null,null]],"edges":[[1,3,1,0,1],[1,5,1,0,1],[8,9,1,0,1],[0,9,1,0,1],[8,10,1,0,1],[0,4,1,0,1],[1,2,1,0,1],[4,7,1,0,1],[9,10,1,0,1],[1,4,1,0,1],[0,7,1,0,1],[0,10,1,0,1],[0,8,1,0,1]],"top":[]},"4817194":{"id":4817194,"label":"Kdf","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"],[4817189,"Evp","739_0"]],"kids":[["d","Libcrypto.Evp.Kdf","def",4,"definition",": Type","Libcrypto/Evp/Kdf.lean",18,[],[],"","",null,[],[],0.9649,null,null,"A fetched `EVP_KDF`, such as `\"PBKDF2\"` or `\"HKDF\"`. Reference counted by OpenSSL, so sharing one between threads is safe.","docstring",null],["d","Libcrypto.Evp.Kdf.derive","opaque",4,"definition","(k : @& Kdf) (length : Nat) (params : @& Array Param) : IO ByteArray","Libcrypto/Evp/Kdf.lean",37,[],[],"","",null,[],[],0.0922,null,null,"Derives `length` bytes. Every input the KDF needs, the password, the salt, the digest and the iteration count among them, arrives in `params`; a KDF that will not produce a key of the length asked for is an error, not an answer.","docstring",null],["d","Libcrypto.Evp.Kdf.fetch","def",4,"definition","(name : String) : IO Kdf","Libcrypto/Evp/Kdf.lean",28,[],[],"","",null,[],[],0.0922,null,null,"`fetchIn` against the default library context.","docstring",null],["d","Libcrypto.Evp.Kdf.fetchIn","opaque",4,"definition","(ctx : @& Option LibCtx) (name : @& String) : IO Kdf","Libcrypto/Evp/Kdf.lean",25,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","Libcrypto.Evp.Kdf.name","opaque",4,"definition","(k : @& Kdf) : String","Libcrypto/Evp/Kdf.lean",31,[],[],"","",null,[],[],0.8578,null,null,null,null,null],["d","Libcrypto.Evp.KdfImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Kdf.lean",14,[],[],"","",null,[],[],0.0922,null,null,null,null,null]],"edges":[[0,4,1,0,1],[2,4,1,0,1],[0,3,1,0,1],[0,1,1,0,1],[2,3,1,0,1],[3,4,1,0,1],[0,2,1,0,1]],"top":[]},"4817195":{"id":4817195,"label":"Provider","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"],[4817189,"Evp","739_0"]],"kids":[["d","Libcrypto.Evp.LibCtx","def",4,"definition",": Type","Libcrypto/Evp/Provider.lean",19,[],[],"","",null,[],[],0.9845,null,null,"An `OSSL_LIB_CTX`, the scope a set of providers is loaded into. Every `fetch` in this library takes an `Option LibCtx`, and `none` means the default context, which is the one an application that never mentions providers uses. Whatever is fetched from a context holds it open, so there is no need to keep one in hand to go on using what came out of it.","docstring",null],["d","Libcrypto.Evp.LibCtx.load","opaque",4,"definition","(ctx : @& Option LibCtx) (name : @& String) : IO Unit","Libcrypto/Evp/Provider.lean",38,[],[],"","",null,[],[],0.7352,null,null,"Loads a provider such as `\"legacy\"` or `\"fips\"`, where it stays for the life of the context, since OpenSSL does not unload it when the context is freed. Loading into the default context, `none`, lasts for the life of the process. Like the other contexts here this is not reentrant: load from one thread at a time, which for the usual case of loading once at startup is free.","docstring",null],["d","Libcrypto.Evp.LibCtx.new","opaque",4,"definition",": IO LibCtx","Libcrypto/Evp/Provider.lean",29,[],[],"","",null,[],[],0.7352,null,null,"A context with nothing loaded into it, which falls back to the default provider until something is. That fallback stops at the first explicit load, so a context holding only `\"legacy\"` offers only what `\"legacy\"` has.","docstring",null],["d","Libcrypto.Evp.LibCtx.withProviders","def",4,"definition","(names : Array String) : IO LibCtx","Libcrypto/Evp/Provider.lean",43,[],[],"","",null,[],[],0.0922,null,null,"A fresh context with these providers loaded, which is how a non-default provider is normally reached. Name `\"default\"` alongside it unless you mean to exclude it, since loading anything ends the fallback described above.","docstring",null],["d","Libcrypto.Evp.LibCtxImpl","opaque",4,"definition",": NonemptyType","Libcrypto/Evp/Provider.lean",11,[],[],"","",null,[],[],0.0922,null,null,null,null,null]],"edges":[[0,1,1,0,1],[2,3,1,0,1],[1,3,1,0,1],[0,3,1,0,1],[0,2,1,0,1]],"top":[]},"4817196":{"id":4817196,"label":"Param","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"],[4817189,"Evp","739_0"]],"kids":[["d","Libcrypto.Evp.Param","structure",4,"definition","","Libcrypto/Evp/Param.lean",22,[],[],"","",null,[],[],0.9844,null,null,"One entry of the `OSSL_PARAM` array a fetch or an init is parameterised by.","docstring",null],["d","Libcrypto.Evp.Param.shimDataType","opaque",4,"definition","(p : @& Param) : UInt32","Libcrypto/Evp/Param.lean",38,[],[],"","",null,[],[],0.0922,null,null,"The `data_type` of the `OSSL_PARAM` the shim constructs for this parameter.","docstring",null],["d","Libcrypto.Evp.ParamValue","inductive",4,"definition","where","Libcrypto/Evp/Param.lean",14,[],[],"","",null,[],[],0.9732,null,null,"The value side of an `OSSL_PARAM`. Integers are handed to OpenSSL at 64 bits and narrowed by its own width conversion, so a parameter the provider declares as `size_t` or `unsigned int` takes a `uint` here.","docstring",null],["d","Libcrypto.Evp.ParamValue.dataType","def",4,"definition",": ParamValue → UInt32","Libcrypto/Evp/Param.lean",30,[],[],"","",null,[],[],0.0922,null,null,"The `data_type` the shim tags each constructor with, from `openssl/core.h`. Stated in Lean so it can be reasoned about; `Param.shimDataType` reports what the shim really builds, which is what makes this worth stating separately.","docstring",null]],"edges":[[0,2,1,0,1],[0,1,1,0,1],[2,3,1,0,1]],"top":[]},"4817197":{"id":4817197,"label":"Aead","n":8,"s":[0,0,0,0,8,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"]],"kids":[["d","Libcrypto.Aead.Algorithm","inductive",4,"definition","where","Libcrypto/Aead.lean",15,[],[],"","",null,[],[],0.9871,null,null,"The AEADs worth reaching for by name. Anything else the linked OpenSSL offers is reachable through `Evp.Cipher.fetch`.","docstring",null],["d","Libcrypto.Aead.Algorithm.keyLength","def",4,"definition",": Algorithm → Nat","Libcrypto/Aead.lean",28,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Aead.Algorithm.name","def",4,"definition",": Algorithm → String","Libcrypto/Aead.lean",22,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Aead.Algorithm.nonceLength","def",4,"definition",": Algorithm → Nat","Libcrypto/Aead.lean",35,[],[],"","",null,[],[],0.0922,null,null,"All four take a 96 bit nonce by default. GCM will accept others, and this layer passes on whatever length it is given; ChaCha20-Poly1305 will not.","docstring",null],["d","Libcrypto.Aead.Algorithm.tagLength","def",4,"definition",": Algorithm → Nat","Libcrypto/Aead.lean",41,[],[],"","",null,[],[],0.0922,null,null,"Every algorithm here authenticates with a full-length tag. A tag of any other length was not produced by `encrypt`, and `decrypt` treats it as one that does not authenticate rather than as a caller error.","docstring",null],["d","Libcrypto.Aead.Sealed","structure",4,"definition","","Libcrypto/Aead.lean",46,[],[],"","",null,[],[],0.8896,null,null,"What `encrypt` produces. The tag is kept apart from the ciphertext rather than appended to it, so that neither can be mistaken for the other.","docstring",null],["d","Libcrypto.Aead.decrypt","def",4,"definition","(a : Algorithm) (key nonce aad : ByteArray) (sealed : Sealed) : IO (Option ByteArray)","Libcrypto/Aead.lean",70,[],[],"","",null,[],[],0.8446,null,null,"`none` says the input does not authenticate under this key, nonce and additional data, whether it was altered or never sealed at all. That is an answer; a key of the wrong length for the algorithm is a caller error and throws.","docstring",null],["d","Libcrypto.Aead.encrypt","def",4,"definition","(a : Algorithm) (key nonce aad plaintext : ByteArray) : IO Sealed","Libcrypto/Aead.lean",56,[],[],"","",null,[],[],0.8429,null,null,"Encrypts and authenticates. `aad` is covered by the tag but not encrypted, so it comes back to `decrypt` unchanged and has to be supplied there too. The nonce must never be reused with the same key: for these algorithms that destroys confidentiality and lets an attacker forge tags. Nothing here can check it, so it is the caller's to get right.","docstring",null]],"edges":[[5,6,1,0,1],[0,3,1,0,1],[5,7,1,0,1],[0,7,1,0,1],[0,6,1,0,1],[0,1,1,0,1],[0,4,1,0,1],[0,2,1,0,1]],"top":[]},"4817198":{"id":4817198,"label":"Sign","n":7,"s":[0,0,0,0,7,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"]],"kids":[["d","Libcrypto.Sign.Algorithm","inductive",4,"definition","where","Libcrypto/Sign.lean",27,[],[],"","",null,[],[],0.9638,null,null,"A signature scheme together with everything needed to interpret a signature under it. The hash is part of the scheme because the same key verifies different signatures under different hashes.","docstring",null],["d","Libcrypto.Sign.Algorithm.digest","def",4,"definition",": Algorithm → Option String","Libcrypto/Sign.lean",35,[],[],"","",null,[],[],0.0922,null,null,"`none` for Ed25519, which signs the message itself.","docstring",null],["d","Libcrypto.Sign.Algorithm.params","def",4,"definition",": Algorithm → Array Evp.Param","Libcrypto/Sign.lean",47,[],[],"","",null,[],[],0.0922,null,null,"MGF1 is given the same hash as the signature, which is what every protocol this library is likely to meet specifies. To differ, go through `Evp.PKey`.","docstring",null],["d","Libcrypto.Sign.PssSaltLength","inductive",4,"definition","where","Libcrypto/Sign.lean",17,[],[],"","",null,[],[],0.9075,null,null,"How long the salt in an RSA-PSS signature is. Verification usually wants `auto`, which reads the length out of the signature; a protocol that pins the length, as JOSE does, wants `digest`.","docstring",null],["d","Libcrypto.Sign.PssSaltLength.param","def",4,"definition",": PssSaltLength → Evp.Param","Libcrypto/Sign.lean",39,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Libcrypto.Sign.sign","def",4,"definition","(a : Algorithm) (key : Evp.PKey) (message : ByteArray) : IO ByteArray","Libcrypto/Sign.lean",56,[],[],"","",null,[],[],0.4791,null,null,"Signatures are in the encoding OpenSSL uses, so an ECDSA signature is a DER `SEQUENCE` of two integers rather than a fixed-width `R‖S`. Converting between the two is the caller's business.","docstring",null],["d","Libcrypto.Sign.verify","def",4,"definition","(a : Algorithm) (key : Evp.PKey) (message signature : ByteArray) : IO Bool","Libcrypto/Sign.lean",61,[],[],"","",null,[],[],0.8341,null,null,"`false` says the signature does not verify under this key and scheme, whether because it was forged, altered, or made with different parameters.","docstring",null]],"edges":[[0,5,1,0,1],[3,4,1,0,1],[0,6,1,0,1],[0,2,1,0,1],[0,1,1,0,1],[0,3,1,0,1]],"top":[]},"4817199":{"id":4817199,"label":"Hash","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"]],"kids":[["d","Libcrypto.Hash.Algorithm","inductive",4,"definition","where","Libcrypto/Hash.lean",15,[],[],"","",null,[],[],0.9741,null,null,"The SHA-2 family. Anything else the linked OpenSSL offers is reachable through `Evp.Digest.fetch`, and `Evp.Digest.enumerate` says what that is.","docstring",null],["d","Libcrypto.Hash.Algorithm.name","def",4,"definition",": Algorithm → String","Libcrypto/Hash.lean",26,[],[],"","",null,[],[],0.0922,null,null,"The name OpenSSL 3 fetches by, which is not the name of the constructor: SHA-224 is `\"SHA2-224\"`, not `\"SHA224\"`.","docstring",null],["d","Libcrypto.Hash.hash","def",4,"definition","(a : Algorithm) (data : ByteArray) : IO ByteArray","Libcrypto/Hash.lean",36,[],[],"","",null,[],[],0.0922,null,null,"Fetches on every call. OpenSSL caches fetched algorithms internally, so hold an `Evp.Digest` yourself only where profiling says to.","docstring",null]],"edges":[[0,2,1,0,1],[0,1,1,0,1]],"top":[]},"4817200":{"id":4817200,"label":"Hmac","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/paulbutcher/lean-libcrypto@150cad7ae2e0f9ea0241b4320b0fb6ad5e76716b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"],[4817188,"lean-libcrypto/Libcrypto","739_0"]],"kids":[["d","Libcrypto.Hmac.compute","def",4,"definition","(a : Hash.Algorithm) (key data : ByteArray) : IO ByteArray","Libcrypto/Hmac.lean",17,[],[],"","",null,[],[],0.789,null,null,"HMAC over the SHA-2 family. Any other digest the linked OpenSSL offers is reachable by fetching `\"HMAC\"` through `Evp.Mac` and naming the digest there.","docstring",null],["d","Libcrypto.Hmac.verify","def",4,"definition","(a : Hash.Algorithm) (key data tag : ByteArray) : IO Bool","Libcrypto/Hmac.lean",24,[],[],"","",null,[],[],0.4832,null,null,"Compares in constant time, which is the reason to use this rather than recomputing and comparing with `==`: a comparison that stops at the first differing byte tells an attacker how much of a forged tag was right.","docstring",null]],"edges":[[0,1,1,0,1]],"top":[]}}}1{"chunks":{"4825847":{"id":4825847,"label":"type-theory-game","n":53,"s":[0,0,1,2,50,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"]],"kids":[["g",4825848,"Suunnittelu/src",47,[0,0,1,2,44,0,0],"73_0",[["Unit.eta",3,0.1762,4825856,"73_0",1],["Yoneda_mp",3,0.1762,4825854,"73_0",0],["Yoneda_mpr",2,0.1762,4825854,"73_0",0]],4825856],["g",4825857,"Game/Levels/ChurchBool/L01_ChurchBool",6,[0,0,0,0,6,0,0],"73_0",[],4825857]],"edges":[],"top":[["Unit.eta",3,0.1762,4825856,"73_0",1],["Yoneda_mp",3,0.1762,4825854,"73_0",0],["Yoneda_mpr",2,0.1762,4825854,"73_0",0]]},"4825848":{"id":4825848,"label":"Suunnittelu/src","n":47,"s":[0,0,1,2,44,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"]],"kids":[["g",4825849,"ChurchList",16,[0,0,0,0,16,0,0],"73_0",[],4825849],["g",4825850,"ChurchBool",8,[0,0,0,0,8,0,0],"73_0",[],4825850],["g",4825851,"ChurchProd",8,[0,0,0,0,8,0,0],"73_0",[],4825851],["g",4825852,"ChurchNat",6,[0,0,0,0,6,0,0],"73_0",[],4825852],["g",4825853,"ChurchOption",5,[0,0,0,0,5,0,0],"73_0",[],4825853],["g",4825854,"Yoneda",2,[0,0,1,1,0,0,0],"73_0",[["Yoneda_mp",3,0.1762,4825854,"73_0",0],["Yoneda_mpr",2,0.1762,4825854,"73_0",0]],4825854],["g",4825855,"Equiv",1,[0,0,0,0,1,0,0],"73_0",[],4825855],["g",4825856,"ChurchUnit",1,[0,0,0,1,0,0,0],"73_0",[["Unit.eta",3,0.1762,4825856,"73_0",1]],4825856]],"edges":[],"top":[["Unit.eta",3,0.1762,4825856,"73_0",1],["Yoneda_mp",3,0.1762,4825854,"73_0",0],["Yoneda_mpr",2,0.1762,4825854,"73_0",0]]},"4825849":{"id":4825849,"label":"ChurchList","n":16,"s":[0,0,0,0,16,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","Cl","def",4,"definition","(A: Type v)","Suunnittelu/src/ChurchList.lean",3,[],[],"","",null,[],[],0.9999,null,null,null,null,null],["d","Cl.append","def",4,"definition","(self other: Cl A) : Cl A","Suunnittelu/src/ChurchList.lean",39,[],[],"","",null,[],[],0.738,null,null,null,null,null],["d","Cl.append'","def",4,"definition","(self other: Cl A) : Cl A","Suunnittelu/src/ChurchList.lean",40,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cl.append''","def",4,"definition","(self other: Cl A) : Cl A","Suunnittelu/src/ChurchList.lean",45,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cl.cons","def",4,"definition","(a : A) (as : Cl A) : Cl A","Suunnittelu/src/ChurchList.lean",10,[],[],"","",null,[],[],0.9542,null,null,null,null,null],["d","Cl.from_list","def",4,"definition","{A: Type u}(list : List A): Cl A","Suunnittelu/src/ChurchList.lean",15,[],[],"","",null,[],[],0.9531,null,null,null,null,null],["d","Cl.head?","def",4,"definition","(self: Cl A): Option A","Suunnittelu/src/ChurchList.lean",53,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cl.isnil","def",4,"definition","(self: Cl A): Bool","Suunnittelu/src/ChurchList.lean",49,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cl.nil","def",4,"definition","{A : Type u}: Cl A","Suunnittelu/src/ChurchList.lean",5,[],[],"","",null,[],[],0.9653,null,null,null,null,null],["d","Cl.reverse","def",4,"definition","(self: Cl A): Cl A","Suunnittelu/src/ChurchList.lean",35,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cl.singleton","def",4,"definition","{A : Type u} (a : A): Cl A","Suunnittelu/src/ChurchList.lean",6,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cl.snoc","def",4,"definition","(a : A) (as : Cl A) : Cl A","Suunnittelu/src/ChurchList.lean",13,[],[],"","",null,[],[],0.8265,null,null,null,null,null],["d","Cl.tail?","def",4,"definition","(self: Cl A): Cl A","Suunnittelu/src/ChurchList.lean",58,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cl.to_list","def",4,"definition","{A: Type u}(clist: Cl A): List A","Suunnittelu/src/ChurchList.lean",20,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","list1","def",4,"definition",": Cl Int","Suunnittelu/src/ChurchList.lean",26,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","list2","def",4,"definition",": Cl Nat","Suunnittelu/src/ChurchList.lean",30,[],[],"","",null,[],[],0.1762,null,null,null,null,null]],"edges":[[0,2,1,0,1],[0,6,1,0,1],[8,12,1,0,1],[5,8,1,0,1],[9,11,1,0,1],[0,9,1,0,1],[0,3,1,0,1],[1,4,1,0,1],[0,13,1,0,1],[0,1,1,0,1],[8,9,1,0,1],[0,10,1,0,1],[5,12,1,0,1],[4,12,1,0,1],[5,9,1,0,1],[1,2,1,0,1],[5,6,1,0,1],[0,14,1,0,1],[0,5,1,0,1],[0,7,1,0,1],[8,15,1,0,1],[4,14,1,0,1],[0,11,1,0,1],[3,5,1,0,1],[2,5,1,0,1],[0,15,1,0,1],[4,5,1,0,1],[0,12,1,0,1],[0,4,1,0,1],[8,14,1,0,1],[11,15,1,0,1],[0,8,1,0,1],[5,7,1,0,1]],"top":[]},"4825850":{"id":4825850,"label":"ChurchBool","n":8,"s":[0,0,0,0,8,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","Cb","def",4,"definition","","Suunnittelu/src/ChurchBool.lean",3,[],[],"","",null,[],[],0.999,null,null,null,null,null],["d","Cb.and","def",4,"definition","(a b: Cb): Cb","Suunnittelu/src/ChurchBool.lean",8,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cb.f","def",4,"definition",": Cb","Suunnittelu/src/ChurchBool.lean",5,[],[],"","",null,[],[],0.9061,null,null,null,null,null],["d","Cb.from_bool","def",4,"definition","(self: Bool): Cb","Suunnittelu/src/ChurchBool.lean",11,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cb.not","def",4,"definition","(b: Cb): Cb","Suunnittelu/src/ChurchBool.lean",7,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cb.or","def",4,"definition","(a b: Cb): Cb","Suunnittelu/src/ChurchBool.lean",9,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cb.t","def",4,"definition",": Cb","Suunnittelu/src/ChurchBool.lean",4,[],[],"","",null,[],[],0.9114,null,null,null,null,null],["d","Cb.to_bool","def",4,"definition","(self: Cb): Bool","Suunnittelu/src/ChurchBool.lean",12,[],[],"","",null,[],[],0.1762,null,null,null,null,null]],"edges":[[0,2,1,0,1],[0,4,1,0,1],[1,2,1,0,1],[0,7,1,0,1],[2,4,1,0,1],[0,5,1,0,1],[0,3,1,0,1],[3,6,1,0,1],[5,6,1,0,1],[0,1,1,0,1],[2,3,1,0,1],[4,6,1,0,1],[0,6,1,0,1]],"top":[]},"4825851":{"id":4825851,"label":"ChurchProd","n":8,"s":[0,0,0,0,8,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","CProd","def",4,"definition","(A : Type u) (B: Type w)","Suunnittelu/src/ChurchProd.lean",5,[],[],"","",null,[],[],0.9973,null,null,null,null,null],["d","CProd.assoc_left","def",4,"definition","(lhs: CProd (CProd A B) C): CProd A (CProd B C)","Suunnittelu/src/ChurchProd.lean",18,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CProd.from_prod","def",4,"definition","(self: A × B): CProd A B","Suunnittelu/src/ChurchProd.lean",8,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CProd.fst","def",4,"definition","(self: CProd A B): A","Suunnittelu/src/ChurchProd.lean",14,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CProd.map","def",4,"definition","{C D : Type u} (self : CProd A B) (f : A -> C) (g : B -> D): CProd C D","Suunnittelu/src/ChurchProd.lean",16,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CProd.snd","def",4,"definition","(self: CProd A B): B","Suunnittelu/src/ChurchProd.lean",15,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CProd.to_prod","def",4,"definition","(self : CProd A B): A × B","Suunnittelu/src/ChurchProd.lean",7,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","pair12","def",4,"definition",": CProd Nat Nat","Suunnittelu/src/ChurchProd.lean",12,[],[],"","",null,[],[],0.9971,null,null,null,null,null]],"edges":[[0,6,1,0,1],[0,7,1,0,1],[0,3,1,0,1],[0,2,1,0,1],[0,1,1,0,1],[0,5,1,0,1],[0,4,1,0,1]],"top":[]},"4825852":{"id":4825852,"label":"ChurchNat","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","Cn","def",4,"definition","","Suunnittelu/src/ChurchNat.lean",3,[],[],"","",null,[],[],0.9784,null,null,null,null,null],["d","Cn.from_nat","def",4,"definition","(n : Nat) : Cn","Suunnittelu/src/ChurchNat.lean",9,[],[],"","",null,[],[],0.9145,null,null,null,null,null],["d","Cn.pow","def",4,"definition","(n m : Cn)","Suunnittelu/src/ChurchNat.lean",20,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Cn.to_nat","def",4,"definition","(self : Cn) : Nat","Suunnittelu/src/ChurchNat.lean",13,[],[],"","",null,[],[],0.738,null,null,null,null,null],["d","four","def",4,"definition","","Suunnittelu/src/ChurchNat.lean",15,[],[],"","",null,[],[],0.738,null,null,null,null,null],["d","zero","def",4,"definition",": Cn","Suunnittelu/src/ChurchNat.lean",7,[],[],"","",null,[],[],0.1762,null,null,null,null,null]],"edges":[[0,1,1,0,1],[0,3,1,0,1],[0,5,1,0,1],[2,4,1,0,1],[2,3,1,0,1],[0,2,1,0,1],[1,4,1,0,1]],"top":[]},"4825853":{"id":4825853,"label":"ChurchOption","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","Co","def",4,"definition","(A : Type v)","Suunnittelu/src/ChurchOption.lean",4,[],[],"","",null,[],[],0.9999,null,null,null,null,null],["d","Co.from_option","def",4,"definition","{A : Type u} (op: Option A) : Co A","Suunnittelu/src/ChurchOption.lean",10,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Co.none","def",4,"definition",": Co A","Suunnittelu/src/ChurchOption.lean",7,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Co.some","def",4,"definition","(a : A) : Co A","Suunnittelu/src/ChurchOption.lean",8,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Co.to_option","def",4,"definition","{A : Type u} (self : Co A) : Option A","Suunnittelu/src/ChurchOption.lean",17,[],[],"","",null,[],[],0.1762,null,null,null,null,null]],"edges":[[0,2,1,0,1],[0,1,1,0,1],[0,3,1,0,1],[0,4,1,0,1]],"top":[]},"4825854":{"id":4825854,"label":"Yoneda","n":2,"s":[0,0,1,1,0,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","Yoneda_mp","theorem",3,"unchecked",": (A → B) → {T : Sort u} → ((B → T) → (A → T))","Suunnittelu/src/Yoneda.lean",4,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","Yoneda_mpr","theorem",2,"open",": ({T : Sort u} → (B → T) → (A → T)) → (A → B)","Suunnittelu/src/Yoneda.lean",10,[],[],"","",null,[],[],0.1762,null,null,null,null,null]],"edges":[],"top":[["Yoneda_mp",3,0.1762,4825854,"73_0",0],["Yoneda_mpr",2,0.1762,4825854,"73_0",0]]},"4825855":{"id":4825855,"label":"Equiv","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","myEquiv","structure",4,"definition","(A B : Type)","Suunnittelu/src/Equiv.lean",6,[],[],"","",null,[],[],0.4188,null,null,null,null,null]],"edges":[],"top":[]},"4825856":{"id":4825856,"label":"ChurchUnit","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"],[4825848,"Suunnittelu/src","73_0"]],"kids":[["d","Unit.eta","theorem",3,"unchecked","(u : Unit) : u = ()","Suunnittelu/src/ChurchUnit.lean",9,[],[],"","",null,[["Course.eval",4,4341745,"33028_0"]],[],0.1762,null,null,null,null,null]],"edges":[],"top":[["Unit.eta",3,0.1762,4825856,"73_0",1]]},"4825857":{"id":4825857,"label":"Game/Levels/ChurchBool/L01_ChurchBool","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/joonas-vonlerber/type-theory-game@7f9847f42852355546c4f477befd8680b0c2d05e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825847,"type-theory-game","73_0"]],"kids":[["d","CBool","def",4,"definition","","Game/Levels/ChurchBool/L01_ChurchBool.lean",10,[],[],"","",null,[],[],0.9903,null,null,null,null,null],["d","CBool.and","def",4,"definition","(a b: CBool): CBool","Game/Levels/ChurchBool/L01_ChurchBool.lean",15,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CBool.not","def",4,"definition","(b: CBool): CBool","Game/Levels/ChurchBool/L01_ChurchBool.lean",14,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CBool.or","def",4,"definition","(a b: CBool): CBool","Game/Levels/ChurchBool/L01_ChurchBool.lean",16,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","CFalse","def",4,"definition",": CBool","Game/Levels/ChurchBool/L01_ChurchBool.lean",12,[],[],"","",null,[],[],0.9697,null,null,null,null,null],["d","CTrue","def",4,"definition",": CBool","Game/Levels/ChurchBool/L01_ChurchBool.lean",11,[],[],"","",null,[],[],0.968,null,null,null,null,null]],"edges":[[0,3,1,0,1],[0,1,1,0,1],[2,4,1,0,1],[3,5,1,0,1],[1,4,1,0,1],[0,5,1,0,1],[2,5,1,0,1],[0,2,1,0,1],[0,4,1,0,1]],"top":[]}}}1{"chunks":{"4822164":{"id":4822164,"label":"jose-libcrypto/JoseLibcrypto","n":17,"s":[0,0,0,0,17,0,0],"env":"https://github.com/paulbutcher/jose-libcrypto@69199f7c66629a5e5e11a247354a85c15e8ae189#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"]],"kids":[["g",4822165,"Key",14,[0,0,0,0,14,0,0],"740_0",[],4822165],["g",4822166,"Scheme",3,[0,0,0,0,3,0,0],"740_0",[],4822166]],"edges":[[0,1,4,0,4]],"top":[]},"4822165":{"id":4822165,"label":"Key","n":14,"s":[0,0,0,0,14,0,0],"env":"https://github.com/paulbutcher/jose-libcrypto@69199f7c66629a5e5e11a247354a85c15e8ae189#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822164,"jose-libcrypto/JoseLibcrypto","740_0"]],"kids":[["d","Jose.Backend.libcrypto","def",4,"definition",": Backend where PreparedKey","JoseLibcrypto/Key.lean",163,[],[],"","",null,[],[],0.7018,null,null,"The backend this package exists to supply, chosen exactly as `Backend.pure` is.","docstring",null],["d","Jose.Libcrypto.PreparedKey","inductive",4,"definition","where","JoseLibcrypto/Key.lean",32,[],[],"","",null,[],[],0.9462,null,null,"A key converted for this backend. HMAC needs no `EVP_PKEY`, so `oct` keeps the bytes it was published as; every other kind becomes one, with the kind beside it so that an algorithm offered the wrong sort of key is refused here rather than inside OpenSSL.","docstring",null],["d","Jose.Libcrypto.PreparedKey.kind","def",4,"definition",": PreparedKey → KeyKind","JoseLibcrypto/Key.lean",36,[],[],"","",null,[],[],0.0922,null,null,null,null,null],["d","Jose.Libcrypto.PreparedKey.ofPem","def",4,"definition","(pem : String) : IO (Except Error PreparedKey)","JoseLibcrypto/Key.lean",157,[],[],"","",null,[],[],0.5103,null,null,"The same key as PEM, which is the armour `-----BEGIN PRIVATE KEY-----` encloses.","docstring",null],["d","Jose.Libcrypto.PreparedKey.ofPkcs8","def",4,"definition","(der : ByteArray) : IO (Except Error PreparedKey)","JoseLibcrypto/Key.lean",153,[],[],"","",null,[],[],0.0922,null,null,"A private key, which a JWK never carries: `jose` refuses one that does, so a signing key comes from a file. This is outside the `Backend` record for that reason, and `Jose.Jws.token` takes what it returns without either package changing. Bytes that are not a `PrivateKeyInfo`, an `EncryptedPrivateKeyInfo` among them since `lean-libcrypto` binds no passphrase callback, are refused as `jwkBadMember` naming `d`. `jose` has no error for a key file that will not decode, and `d` is what RFC 7518 §6 calls the component that did not.","docstring",null],["d","Jose.Libcrypto.kindOfTypeName","def",4,"definition",": String → Option KeyKind","JoseLibcrypto/Key.lean",131,[],[],"","",null,[],[],0.7066,null,null,"`RSA-PSS` is an RSA key restricted to one scheme, which JOSE has no separate kind for.","docstring",null],["d","Jose.Libcrypto.name","def",4,"definition",": String","JoseLibcrypto/Key.lean",27,[],[],"","",null,[],[],0.8233,null,null,null,null,null],["d","Jose.Libcrypto.ofDecoded","def",4,"definition","(key : Option Evp.PKey) : Except Error PreparedKey","JoseLibcrypto/Key.lean",137,[],[],"","",null,[],[],0.8134,null,null,null,null,null],["d","Jose.Libcrypto.ofSpki","def",4,"definition","(der : ByteArray) (kind : KeyKind) (member : String) : IO (Except Error PreparedKey)","JoseLibcrypto/Key.lean",56,[],[],"","",null,[],[],0.4832,null,null,null,null,null],["d","Jose.Libcrypto.performing","def",4,"definition","{α : Type} (alg : Alg) (act : IO α) : IO (Except Error α)","JoseLibcrypto/Key.lean",48,[],[],"","",null,[],[],0.7134,null,null,"An algorithm this build of OpenSSL does not offer, separated from a failure while performing one it does. The probe runs only after a failure, so the ordinary path never pays for it, and a failure the probe cannot account for is rethrown rather than reported as a refused token.","docstring",null],["d","Jose.Libcrypto.prepare","def",4,"definition","(jwk : Jwk) : IO (Except Error PreparedKey)","JoseLibcrypto/Key.lean",65,[],[],"","",null,[],[],0.676,null,null,"The components as `jose` read them, written back into the encoding OpenSSL decodes a public key from. `jose` has already held each coordinate to the width of its curve, so the point below is the uncompressed one RFC 5480 §2.2 defines; whether it is on that curve is what `fromSpki` answers.","docstring",null],["d","Jose.Libcrypto.probe","def",4,"definition",": Scheme → IO Unit","JoseLibcrypto/Key.lean",41,[],[],"","",null,[],[],0.7205,null,null,"What this OpenSSL must offer to perform the scheme, fetched only to find out whether it does.","docstring",null],["d","Jose.Libcrypto.signature","def",4,"definition","(alg : Alg) (key : PreparedKey) (signingInput : ByteArray) : IO (Except Error ByteArray)","JoseLibcrypto/Key.lean",106,[],[],"","",null,[],[],0.7462,null,null,"A signature over the signing input. An ECDSA signature leaves as the `R‖S` of RFC 7518 §3.4, exactly inverting what `verifySignature` does to one arriving.","docstring",null],["d","Jose.Libcrypto.verifySignature","def",4,"definition","(alg : Alg) (key : PreparedKey) (signingInput signature : ByteArray) : IO (Except Error Bool)","JoseLibcrypto/Key.lean",84,[],[],"","",null,[],[],0.676,null,null,"One signature, checked. A signature that is not the width its curve requires is `false` rather than an error: it is a signature nobody could have produced over these bytes, which is the same answer OpenSSL gives for one that is the right width and still wrong.","docstring",null]],"edges":[[9,11,1,0,1],[1,12,1,0,1],[4,7,1,0,1],[5,7,1,0,1],[6,9,1,0,1],[9,13,1,0,1],[0,10,1,0,1],[1,8,1,0,1],[9,10,1,0,1],[3,7,1,0,1],[6,11,1,0,1],[9,12,1,0,1],[1,2,1,0,1],[0,13,1,0,1],[1,7,1,0,1],[8,10,1,0,1],[1,13,1,0,1],[1,4,1,0,1],[1,3,1,0,1],[12,13,1,0,1],[0,1,1,0,1],[1,10,1,0,1],[0,12,1,0,1]],"top":[]},"4822166":{"id":4822166,"label":"Scheme","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/paulbutcher/jose-libcrypto@69199f7c66629a5e5e11a247354a85c15e8ae189#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822164,"jose-libcrypto/JoseLibcrypto","740_0"]],"kids":[["d","Jose.Libcrypto.curveOid","def",4,"definition",": Crv → ByteArray","JoseLibcrypto/Scheme.lean",30,[],[],"","",null,[],[],0.4832,null,null,"The curve identifiers RFC 5480 §2.1.1.1 registers, which is what a `SubjectPublicKeyInfo` names the curve by.","docstring",null],["d","Jose.Libcrypto.digest","def",4,"definition",": Leancrypto.Sha2 → Libcrypto.Hash.Algorithm","JoseLibcrypto/Scheme.lean",23,[],[],"","",null,[],[],0.7861,null,null,"Exhaustive with no default case, so a digest added to `Leancrypto.Sha2` stops this compiling rather than being silently mapped onto one of the three below.","docstring",null],["d","Jose.Libcrypto.saltMatchesDigest","def",4,"definition",": Scheme → Bool","JoseLibcrypto/Scheme.lean",39,[],[],"","",null,[],[],0.0922,null,null,"Whether the salt length a scheme carries is the length of its digest, which is what `Libcrypto.Sign.PssSaltLength.digest` asks OpenSSL for. RFC 7518 §3.5 pins the two together, and the suite proves this answers `true` for every algorithm, so that value is checked rather than assumed.","docstring",null]],"edges":[],"top":[]}}}1{"chunks":{"4827917":{"id":4827917,"label":"navier-stokes-proof/navier-stokes-standalone/checker","n":19,"s":[0,0,0,0,19,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"]],"kids":[["g",4827918,"CertificateChecker",7,[0,0,0,0,7,0,0],"741_0",[],4827918],["g",4827919,"Comparator",5,[0,0,0,0,5,0,0],"741_0",[],4827921],["g",4827922,"upstream-reference",5,[0,0,0,0,5,0,0],"741_0",[],4827924],["g",4827925,"Export/Parse",2,[0,0,0,0,2,0,0],"741_0",[],4827925]],"edges":[[0,3,3,0,3],[1,3,2,0,2]],"top":[]},"4827918":{"id":4827918,"label":"CertificateChecker","n":7,"s":[0,0,0,0,7,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"]],"kids":[["d","CertificateChecker.auditAllDeclarations","def",4,"definition","","navier-stokes-standalone/checker/CertificateChecker.lean",49,[],[],"","",null,[],[],0.4643,null,null,null,null,null],["d","CertificateChecker.check","def",4,"definition","","navier-stokes-standalone/checker/CertificateChecker.lean",73,[],[],"","",null,[],[],0.0902,null,null,null,null,null],["d","CertificateChecker.checkMetadata","def",4,"definition","","navier-stokes-standalone/checker/CertificateChecker.lean",29,[],[],"","",null,[],[],0.7504,null,null,null,null,null],["d","CertificateChecker.parseFile","def",4,"definition","","navier-stokes-standalone/checker/CertificateChecker.lean",43,[],[],"","",null,[],[],0.4643,null,null,null,null,null],["d","CertificateChecker.permittedAxioms","def",4,"definition","","navier-stokes-standalone/checker/CertificateChecker.lean",17,[],[],"","",null,[],[],0.4643,null,null,null,null,null],["d","CertificateChecker.replay","def",4,"definition","","navier-stokes-standalone/checker/CertificateChecker.lean",58,[],[],"","",null,[],[],0.4643,null,null,null,null,null],["d","CertificateChecker.report","def",4,"definition","","navier-stokes-standalone/checker/CertificateChecker.lean",12,[],[],"","",null,[],[],0.4643,null,null,null,null,null]],"edges":[[1,5,1,0,1],[1,6,1,0,1],[2,3,1,0,1],[1,4,1,0,1],[0,1,1,0,1],[1,3,1,0,1]],"top":[]},"4827919":{"id":4827919,"label":"Comparator","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"]],"kids":[["g",4827920,"Axioms",3,[0,0,0,0,3,0,0],"741_0",[],4827920],["g",4827921,"Compare",2,[0,0,0,0,2,0,0],"741_0",[],4827921]],"edges":[],"top":[]},"4827920":{"id":4827920,"label":"Axioms","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"],[4827919,"Comparator","741_0"]],"kids":[["d","Comparator.Axioms.AxiomsM","abbrev",4,"definition","","navier-stokes-standalone/checker/Comparator/Axioms.lean",21,[],[],"","",null,[],[],0.0902,null,null,null,null,null],["d","Comparator.Axioms.Context","structure",4,"definition","","navier-stokes-standalone/checker/Comparator/Axioms.lean",13,[],[],"","",null,[],[],0.8045,null,null,null,null,null],["d","Comparator.Axioms.State","structure",4,"definition","","navier-stokes-standalone/checker/Comparator/Axioms.lean",17,[],[],"","",null,[],[],0.8045,null,null,null,null,null]],"edges":[[0,1,1,0,1],[0,2,1,0,1]],"top":[]},"4827921":{"id":4827921,"label":"Compare","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"],[4827919,"Comparator","741_0"]],"kids":[["d","Comparator.Compare.CompareM","abbrev",4,"definition","","navier-stokes-standalone/checker/Comparator/Compare.lean",23,[],[],"","",null,[],[],0.0902,null,null,null,null,null],["d","Comparator.Compare.Context","structure",4,"definition","","navier-stokes-standalone/checker/Comparator/Compare.lean",13,[],[],"","",null,[],[],0.7352,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4827922":{"id":4827922,"label":"upstream-reference","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"]],"kids":[["g",4827923,"lean4export/Export",3,[0,0,0,0,3,0,0],"741_0",[],4827923],["g",4827924,"comparator/Main",2,[0,0,0,0,2,0,0],"741_0",[],4827924]],"edges":[],"top":[]},"4827923":{"id":4827923,"label":"lean4export/Export","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"],[4827922,"upstream-reference","741_0"]],"kids":[["d","Context","structure",4,"definition","","navier-stokes-standalone/checker/upstream-reference/lean4export/Export.lean",32,[],[],"","",null,[],[],0.8045,null,null,null,null,null],["d","M","abbrev",4,"definition","","navier-stokes-standalone/checker/upstream-reference/lean4export/Export.lean",48,[],[],"","",null,[],[],0.0902,null,null,null,null,null],["d","exportMetadata","def",4,"definition","","navier-stokes-standalone/checker/upstream-reference/lean4export/Export.lean",416,[],[],"","",null,[],[],0.0902,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4827924":{"id":4827924,"label":"comparator/Main","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"],[4827922,"upstream-reference","741_0"]],"kids":[["d","Comparator.Context","structure",4,"definition","","navier-stokes-standalone/checker/upstream-reference/comparator/Main.lean",12,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","Comparator.M","abbrev",4,"definition","","navier-stokes-standalone/checker/upstream-reference/comparator/Main.lean",25,[],[],"","",null,[],[],0.0902,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4827925":{"id":4827925,"label":"Export/Parse","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/mary-octavia/navier-stokes-proof@3b01518b6e33ab99b36a582219aa5c605be5268a#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827917,"navier-stokes-proof/navier-stokes-standalone/checker","741_0"]],"kids":[["d","Export.ExportedEnv","structure",4,"definition","","navier-stokes-standalone/checker/Export/Parse.lean",13,[],[],"","",null,[],[],0.9731,null,null,null,null,null],["d","Export.Parse.M","abbrev",4,"definition","","navier-stokes-standalone/checker/Export/Parse.lean",32,[],[],"","",null,[],[],0.0902,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4818222":{"id":4818222,"label":"conjectureledger/experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean","n":5,"s":[0,0,0,1,4,0,0],"env":"https://github.com/kareena31/conjectureledger@473186e9d432b38cbaf5540118ea2c341c1b2e7e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"]],"kids":[["g",4818223,"06e84a64dbe8b440-arithmetic",4,[0,0,0,1,3,0,0],"742_0",[["afGoal",3,0.0902,4818223,"742_0",0]],4818223],["g",4818224,"973cace6ee671866-induction",1,[0,0,0,0,1,0,0],"742_0",[],4818224]],"edges":[],"top":[["afGoal",3,0.0902,4818223,"742_0",0]]},"4818223":{"id":4818223,"label":"06e84a64dbe8b440-arithmetic","n":4,"s":[0,0,0,1,3,0,0],"env":"https://github.com/kareena31/conjectureledger@473186e9d432b38cbaf5540118ea2c341c1b2e7e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818222,"conjectureledger/experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean","742_0"]],"kids":[["d","afDegreeSum","def",4,"definition","(n mask : Nat) : Nat","experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean/06e84a64dbe8b440-arithmetic.lean",12,[],[],"","",null,[],[],0.0902,null,null,null,null,null],["d","afEdges","def",4,"definition","(n mask : Nat) : List (Nat × Nat)","experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean/06e84a64dbe8b440-arithmetic.lean",8,[],[],"","",null,[],[],0.868,null,null,null,null,null],["d","afGoal","theorem",3,"unchecked",": ∀ n : Int, ((n : Int) + (n : Int)) = ((2 : Int) * (n : Int))","experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean/06e84a64dbe8b440-arithmetic.lean",25,[],[],"","",null,[],[],0.0902,null,null,null,null,null],["d","afTriangles","def",4,"definition","(n mask : Nat) : Nat","experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean/06e84a64dbe8b440-arithmetic.lean",16,[],[],"","",null,[],[],0.0902,null,null,null,null,null]],"edges":[[0,1,1,0,1],[1,3,1,0,1]],"top":[["afGoal",3,0.0902,4818223,"742_0",0]]},"4818224":{"id":4818224,"label":"973cace6ee671866-induction","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/kareena31/conjectureledger@473186e9d432b38cbaf5540118ea2c341c1b2e7e#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818222,"conjectureledger/experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean","742_0"]],"kids":[["d","afSeq","def",4,"definition",": Nat → Int","experiments/local-2026-09-10/runs/09b3a411-2857-4f6f-9a79-53a50edec68d/lean/973cace6ee671866-induction.lean",24,[],[],"","",null,[],[],0.0902,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4830058":{"id":4830058,"label":"palomar-decanus/Challenge","n":1,"s":[0,0,1,0,0,0,0],"env":"https://github.com/ibrahimmian36/palomar-decanus@776a5817bffcd9c30dd96259ccb7cfc822ec8ec4#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829805,"operationalsemanti … physlean_notes/Not","t13"]],"kids":[["d","Erdos647.erdos647_no_solution_upto_1e8","theorem",2,"open",": ∀ n : ℕ, 24 < n → n ≤ 100000000 → ¬ (⨆ m : Fin n, ↑m + σ 0 m ≤ n + 2)","Challenge.lean",52,[],[],"","",null,[["Erdos647.bounded_exclusion",3,2670042,"9152_0"],["Erdos647.killed_upto_1e8",3,2078864,"42013_0"]],[],0.09,null,null,"No solution to Erdős Problem 647 exists in `(24, 10^8]`: for every `n` in that range, the maximum of `m + τ(m)` over `m < n` exceeds `n + 2`.","docstring",null]],"edges":[],"top":[["Erdos647.erdos647_no_solution_upto_1e8",2,0.09,4830058,"743_0",2]]}}}1{"chunks":{"4829110":{"id":4829110,"label":"lean-bounty-proofs/addition","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/aminmohamed-3/lean-bounty-proofs@bc6d7b51ba4a33e7791255e3ec2d978a8122a47f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"]],"kids":[["d","proof","theorem",3,"unchecked",": statementProp","addition.lean",1,[],[],"","",null,[],[],0.0892,null,null,null,null,null]],"edges":[],"top":[["proof",3,0.0892,4829110,"744_0",0]]}}}1{"chunks":{"4829076":{"id":4829076,"label":"lean-autoformalised-compiler/lean-verified-compiler/VerifiedCompiler","n":10,"s":[0,0,0,3,7,0,0],"env":"https://github.com/aradhyajain430/lean-autoformalised-compiler@5837c735aa9671a41e9b1a1e122d2ed8faf240a3#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828858,"leaf/Plean … lean-classroom/Lea","t13"]],"kids":[["d","VerifiedCompiler.Expr","inductive",4,"definition","","lean-verified-compiler/VerifiedCompiler.lean",25,[],[],"","",null,[],[],0.9827,null,null,null,null,null],["d","VerifiedCompiler.Instr","inductive",4,"definition","","lean-verified-compiler/VerifiedCompiler.lean",43,[],[],"","",null,[],[],0.947,null,null,null,null,null],["d","VerifiedCompiler.State","structure",4,"definition","","lean-verified-compiler/VerifiedCompiler.lean",53,[],[],"","",null,[],[],0.9128,null,null,null,null,null],["d","VerifiedCompiler.compile","def",4,"definition","","lean-verified-compiler/VerifiedCompiler.lean",72,[],[],"","",null,[],[],0.7808,null,null,null,null,null],["d","VerifiedCompiler.compile_correct","theorem",3,"unchecked","","lean-verified-compiler/VerifiedCompiler.lean",103,[],[],"","",null,[["VerifiedCompiler.Expr",4,4829076,"745_0"],["VerifiedCompiler.eval",4,4829076,"745_0"],["VerifiedCompiler.run",4,4829076,"745_0"],["VerifiedCompiler.compile",4,4829076,"745_0"],["VerifiedCompiler.run_append",3,4829076,"745_0"]],[["VerifiedCompiler.compile_correct_empty",3,4829076,"745_0"]],0.6311,null,null,null,null,null],["d","VerifiedCompiler.compile_correct_empty","theorem",3,"unchecked","","lean-verified-compiler/VerifiedCompiler.lean",116,[],[],"","",null,[["VerifiedCompiler.Expr",4,4829076,"745_0"],["VerifiedCompiler.eval",4,4829076,"745_0"],["VerifiedCompiler.run",4,4829076,"745_0"],["VerifiedCompiler.compile",4,4829076,"745_0"],["VerifiedCompiler.compile_correct",3,4829076,"745_0"]],[],0.0892,null,null,null,null,null],["d","VerifiedCompiler.demo","def",4,"definition","","lean-verified-compiler/VerifiedCompiler.lean",122,[],[],"","",null,[],[],0.0892,null,null,null,null,null],["d","VerifiedCompiler.eval","def",4,"definition","","lean-verified-compiler/VerifiedCompiler.lean",35,[],[],"","",null,[],[],0.969,null,null,null,null,null],["d","VerifiedCompiler.run","def",4,"definition","","lean-verified-compiler/VerifiedCompiler.lean",61,[],[],"","",null,[],[],0.8682,null,null,null,null,null],["d","VerifiedCompiler.run_append","theorem",3,"unchecked","","lean-verified-compiler/VerifiedCompiler.lean",80,[],[],"","",null,[["VerifiedCompiler.Instr",4,4829076,"745_0"],["VerifiedCompiler.State",4,4829076,"745_0"],["VerifiedCompiler.run",4,4829076,"745_0"]],[["VerifiedCompiler.compile_correct",3,4829076,"745_0"]],0.6607,null,null,null,null,null]],"edges":[[8,9,1,0,1],[3,5,1,0,1],[2,8,1,0,1],[4,9,1,0,1],[1,3,1,0,1],[5,8,1,0,1],[5,7,1,0,1],[0,3,1,0,1],[0,4,1,0,1],[1,9,1,0,1],[1,8,1,0,1],[0,6,1,0,1],[4,5,1,0,1],[0,5,1,0,1],[0,7,1,0,1],[4,8,1,0,1],[2,9,1,0,1],[3,4,1,0,1],[4,7,1,0,1]],"top":[["VerifiedCompiler.run_append",3,0.6607,4829076,"745_0",4],["VerifiedCompiler.compile_correct",3,0.6311,4829076,"745_0",6],["VerifiedCompiler.compile_correct_empty",3,0.0892,4829076,"745_0",5]]}}}1{"chunks":{"4826601":{"id":4826601,"label":"additive-combinatorics-campaigns/blade-championship/formal","n":5,"s":[0,0,0,2,3,0,0],"env":"https://github.com/jaredwilder/additive-combinatorics-campaigns@02217b2e8e4e7e233686b32f29ca6b67b9605c26#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826328,"-/MiniCompiler … afp-2025/AFPLeanPr","t13"]],"kids":[["g",4826602,"C3Span50Kernel",3,[0,0,0,1,2,0,0],"746_0",[["C3Span50Kernel.span50",3,0.0892,4826602,"746_0",3]],4826602],["g",4826603,"BvSmoke",2,[0,0,0,1,1,0,0],"746_0",[["countSmoke",3,0.0892,4826603,"746_0",2]],4826603]],"edges":[],"top":[["C3Span50Kernel.span50",3,0.0892,4826602,"746_0",3],["countSmoke",3,0.0892,4826603,"746_0",2]]},"4826602":{"id":4826602,"label":"C3Span50Kernel","n":3,"s":[0,0,0,1,2,0,0],"env":"https://github.com/jaredwilder/additive-combinatorics-campaigns@02217b2e8e4e7e233686b32f29ca6b67b9605c26#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826328,"-/MiniCompiler … afp-2025/AFPLeanPr","t13"],[4826601,"additive-combinatorics-campaigns/blade-championship/formal","746_0"]],"kids":[["d","C3Span50Kernel.hasC3Violation","def",4,"definition","(x : BitVec 50) : Bool","blade-championship/formal/C3Span50Kernel.lean",11,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","C3Span50Kernel.selectedCount","def",4,"definition","(x : BitVec 50) : BitVec 6","blade-championship/formal/C3Span50Kernel.lean",8,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","C3Span50Kernel.span50","theorem",3,"unchecked","(x : BitVec 50) : selectedCount x >= 12#6 -> hasC3Violation x = true","blade-championship/formal/C3Span50Kernel.lean",17,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["C3Span50Kernel.selectedCount",4,4826602,"746_0"],["C3Span50Kernel.hasC3Violation",4,4826602,"746_0"]],[],0.0892,null,null,"Every selection of at least twelve points from [1,50] contains a four-point support admitting a distinct ordered C3 violation. The support list is generated from the exact arbitrary-ordered relation, and six bits count 0..50 without overflow.","docstring",null]],"edges":[[0,2,1,0,1],[1,2,1,0,1]],"top":[["C3Span50Kernel.span50",3,0.0892,4826602,"746_0",3]]},"4826603":{"id":4826603,"label":"BvSmoke","n":2,"s":[0,0,0,1,1,0,0],"env":"https://github.com/jaredwilder/additive-combinatorics-campaigns@02217b2e8e4e7e233686b32f29ca6b67b9605c26#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826328,"-/MiniCompiler … afp-2025/AFPLeanPr","t13"],[4826601,"additive-combinatorics-campaigns/blade-championship/formal","746_0"]],"kids":[["d","count4","def",4,"definition","(x : BitVec 4) : BitVec 3","blade-championship/formal/BvSmoke.lean",7,[],[],"","",null,[],[],0.8045,null,null,null,null,null],["d","countSmoke","theorem",3,"unchecked","(x : BitVec 4) : count4 x ≤ 4#3","blade-championship/formal/BvSmoke.lean",12,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["count4",4,4826603,"746_0"]],[],0.0892,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[["countSmoke",3,0.0892,4826603,"746_0",2]]}}}1{"chunks":{"4831994":{"id":4831994,"label":"jsp-000301-lean-proof/Proof","n":8,"s":[0,0,0,5,3,0,0],"env":"https://github.com/56647563/jsp-000301-lean-proof@6cb739bbb676a44223111e1f6f627241191862a0#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831929,"jsp-000035-lean/Js … jsp-000358-formali","t13"]],"kids":[["d","JSP000301.Powerful","def",4,"definition","(n : Nat) : Prop","Proof.lean",19,[],[],"","",null,[],[],0.9623,null,null,"A positive integer is powerful if the square of each prime divisor divides it.","docstring",null],["d","JSP000301.Prime","def",4,"definition","(p : Nat) : Prop","Proof.lean",15,[],[],"","",null,[],[],0.9462,null,null,"Standard divisor characterization of a prime natural number.","docstring",null],["d","JSP000301.Square","def",4,"definition","(n : Nat) : Prop","Proof.lean",22,[],[],"","",null,[],[],0.9899,null,null,null,null,null],["d","JSP000301.counterexample","theorem",3,"unchecked",": ∃ n : Nat, Powerful n ∧ Powerful (n + 1) ∧ ¬ Square n ∧ ¬ Square (n + 1)","Proof.lean",91,[],[],"","",null,[["JSP000301.Square",4,4831994,"747_0"],["JSP000301.powerful_12167",3,2202556,"37846_0"],["JSP000301.powerful_12168",3,2202556,"37846_0"],["JSP000301.Powerful",4,4831994,"747_0"],["JSP000301.not_square_between",3,4831994,"747_0"]],[["JSP000301.original_claim_false",3,4831994,"747_0"]],0.7352,null,null,null,null,null],["d","JSP000301.divisors_12167","theorem",3,"unchecked",": ∀ a : Fin 96, ∀ b : Fin 128, let d := 128 * a.val + b.val d ∣ 12167 → d = 1 ∨ d = 23 ∨ d = 529 ∨ d = 12167","Proof.lean",25,[],[],"","",null,[],[["JSP000301.powerful_12167",3,2202556,"37846_0"]],0.5715,null,null,null,null,null],["d","JSP000301.divisors_12168","theorem",3,"unchecked",": ∀ a : Fin 96, ∀ b : Fin 128, let d := 128 * a.val + b.val d ∣ 12168 → (d * d ∣ 12168) ∨ (∃ q : Fin 14, q.val ∣ d ∧ q.val ≠ 1 ∧ q.val ≠ d)","Proof.lean",31,[],[],"","",null,[],[["JSP000301.powerful_12168",3,2202556,"37846_0"]],0.5134,null,null,null,null,null],["d","JSP000301.not_square_between","theorem",3,"unchecked","(n : Nat) (lo : 12100 < n) (hi : n < 12321) : ¬ Square n","Proof.lean",81,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["JSP000301.Square",4,4831994,"747_0"]],[["JSP000301.counterexample",3,4831994,"747_0"]],0.6885,null,null,null,null,null],["d","JSP000301.original_claim_false","theorem",3,"unchecked",": ¬ (∀ n : Nat, Powerful n → Powerful (n + 1) → Square n ∨ Square (n + 1))","Proof.lean",97,[],[],"","",null,[["JSP000301.Square",4,4831994,"747_0"],["JSP000301.Powerful",4,4831994,"747_0"],["JSP000301.counterexample",3,4831994,"747_0"]],[],0.0869,null,null,null,null,null]],"edges":[[3,7,1,0,1],[2,7,1,0,1],[2,3,1,0,1],[0,1,1,0,1],[3,6,1,0,1],[0,3,1,0,1],[2,6,1,0,1],[0,7,1,0,1]],"top":[["JSP000301.counterexample",3,0.7352,4831994,"747_0",6],["JSP000301.not_square_between",3,0.6885,4831994,"747_0",3],["JSP000301.divisors_12167",3,0.5715,4831994,"747_0",1],["JSP000301.divisors_12168",3,0.5134,4831994,"747_0",1],["JSP000301.original_claim_false",3,0.0869,4831994,"747_0",3]]}}}1{"chunks":{"4829385":{"id":4829385,"label":"hds-lee-lean-workshop/challenge","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/dannythedaredevil/hds-lee-lean-workshop@754b772ea0e234998503bc3c46b8d0c0a91056fd#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829111,"havel-hakimi-thero … homebase-app/Homeb","t13"]],"kids":[["d","rescale","def",4,"definition","","challenge.lean",107,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4826110":{"id":4826110,"label":"fpv2026/LoVe","n":60,"s":[0,0,2,2,56,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"]],"kids":[["g",4826111,"Lectures",40,[0,0,0,2,38,0,0],"749_0",[["LoVe.proof_of_False",3,0.0869,4826114,"749_0",1],["a_silly_theorem",3,0.0869,4826117,"749_0",0]],4826120],["g",4826121,"Homework",17,[0,0,2,0,15,0,0],"749_0",[["LoVe.FnExp.negation_of_coherence_property",2,0.0869,4826122,"749_0",0],["LoVe.HW1.length_meld",2,0.0869,4826124,"749_0",1]],4826126],["g",4826127,"LoVelib",3,[0,0,0,0,3,0,0],"749_0",[],4826127]],"edges":[[1,2,1,0,1]],"top":[["LoVe.FnExp.negation_of_coherence_property",2,0.0869,4826122,"749_0",0],["LoVe.HW1.length_meld",2,0.0869,4826124,"749_0",1],["LoVe.proof_of_False",3,0.0869,4826114,"749_0",1],["a_silly_theorem",3,0.0869,4826117,"749_0",0]]},"4826111":{"id":4826111,"label":"Lectures","n":40,"s":[0,0,0,2,38,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"]],"kids":[["g",4826112,"LoVe04_Unification",10,[0,0,0,0,10,0,0],"749_0",[],4826112],["g",4826113,"LoVe12_LogicalFoundationsOfMathematics_Demo",6,[0,0,0,0,6,0,0],"749_0",[],4826113],["g",4826114,"LoVe05_FunctionalProgramming_Demo",6,[0,0,0,1,5,0,0],"749_0",[["LoVe.proof_of_False",3,0.0869,4826114,"749_0",1]],4826114],["g",4826115,"LoVe14_RationalAndRealNumbers_Demo",5,[0,0,0,0,5,0,0],"749_0",[],4826115],["g",4826116,"LoVe01_02_TypesAndTerms_Demo",5,[0,0,0,0,5,0,0],"749_0",[],4826116],["g",4826117,"LoVeXX_ALookUnderTheHood_Demo",3,[0,0,0,1,2,0,0],"749_0",[["a_silly_theorem",3,0.0869,4826117,"749_0",0]],4826117],["g",4826118,"LoVe12_Russell",3,[0,0,0,0,3,0,0],"749_0",[],4826118],["g",4826119,"LoVe13_BasicMathematicalStructures_Demo",1,[0,0,0,0,1,0,0],"749_0",[],4826119],["g",4826120,"LoVe09_OperationalSemantics_Demo",1,[0,0,0,0,1,0,0],"749_0",[],4826120]],"edges":[],"top":[["LoVe.proof_of_False",3,0.0869,4826114,"749_0",1],["a_silly_theorem",3,0.0869,4826117,"749_0",0]]},"4826112":{"id":4826112,"label":"LoVe04_Unification","n":10,"s":[0,0,0,0,10,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","Unif.Nat","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",71,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","Unif.Nat.add","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",82,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","Unif.Nat.diophProp","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",89,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","Unif.Nat.mul","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",84,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","Unif.Nat.ofNat","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",78,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","Unif.Nat.one","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",76,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","Unif.Nat.two","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",77,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","Unif.Nat.zero","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",75,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","Unif.O","opaque",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",65,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","mv","def",4,"definition","","LoVe/Lectures/LoVe04_Unification.lean",11,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[[2,3,1,0,1],[0,8,1,0,1],[2,6,1,0,1],[2,4,1,0,1],[1,2,1,0,1]],"top":[]},"4826113":{"id":4826113,"label":"LoVe12_LogicalFoundationsOfMathematics_Demo","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","LoVe.Alternative.Int","def",4,"definition","","LoVe/Lectures/LoVe12_LogicalFoundationsOfMathematics_Demo.lean",590,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.Int","def",4,"definition","","LoVe/Lectures/LoVe12_LogicalFoundationsOfMathematics_Demo.lean",464,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.Int.zero","def",4,"definition","","LoVe/Lectures/LoVe12_LogicalFoundationsOfMathematics_Demo.lean",467,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.arbitraryNat","def",4,"definition","","LoVe/Lectures/LoVe12_LogicalFoundationsOfMathematics_Demo.lean",268,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.no_sn.false'","def",4,"definition","","LoVe/Lectures/LoVe12_LogicalFoundationsOfMathematics_Demo.lean",199,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","LoVe.no_sn.true'","def",4,"definition","","LoVe/Lectures/LoVe12_LogicalFoundationsOfMathematics_Demo.lean",202,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[[4,5,1,0,1]],"top":[]},"4826114":{"id":4826114,"label":"LoVe05_FunctionalProgramming_Demo","n":6,"s":[0,0,0,1,5,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","LoVe.RGB","structure",4,"definition","","LoVe/Lectures/LoVe05_FunctionalProgramming_Demo.lean",218,[],[],"","",null,[],[],0.9683,null,null,null,null,null],["d","LoVe.RGBA","structure",4,"definition","","LoVe/Lectures/LoVe05_FunctionalProgramming_Demo.lean",249,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","LoVe.proof_of_False","theorem",3,"unchecked","","LoVe/Lectures/LoVe05_FunctionalProgramming_Demo.lean",157,[],[],"","",null,[["LoVe.immoral_eq",4,1156176,"20952_0"]],[],0.0869,null,null,null,null,null],["d","LoVe.pureGreen","def",4,"definition","","LoVe/Lectures/LoVe05_FunctionalProgramming_Demo.lean",259,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","LoVe.pureRed","def",4,"definition","","LoVe/Lectures/LoVe05_FunctionalProgramming_Demo.lean",256,[],[],"","",null,[],[],0.7352,null,null,null,null,null],["d","LoVe.semitransparentGreen","def",4,"definition","","LoVe/Lectures/LoVe05_FunctionalProgramming_Demo.lean",264,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[[1,5,1,0,1],[0,1,1,0,1],[0,4,1,0,1],[3,5,1,0,1],[0,3,1,0,1],[4,5,1,0,1]],"top":[["LoVe.proof_of_False",3,0.0869,4826114,"749_0",1]]},"4826115":{"id":4826115,"label":"LoVe14_RationalAndRealNumbers_Demo","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","LoVe.Alternative.Rat","def",4,"definition","","LoVe/Lectures/LoVe14_RationalAndRealNumbers_Demo.lean",278,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.CauchySeq","def",4,"definition","","LoVe/Lectures/LoVe14_RationalAndRealNumbers_Demo.lean",347,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.Fraction","structure",4,"definition","","LoVe/Lectures/LoVe14_RationalAndRealNumbers_Demo.lean",26,[],[],"","",null,[],[],0.8045,null,null,null,null,null],["d","LoVe.Rat","def",4,"definition","","LoVe/Lectures/LoVe14_RationalAndRealNumbers_Demo.lean",221,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.Real","def",4,"definition","","LoVe/Lectures/LoVe14_RationalAndRealNumbers_Demo.lean",471,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[[0,2,1,0,1]],"top":[]},"4826116":{"id":4826116,"label":"LoVe01_02_TypesAndTerms_Demo","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","LoVe.a","opaque",4,"definition","","LoVe/Lectures/LoVe01_02_TypesAndTerms_Demo.lean",78,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.twoPow","def",4,"definition","","LoVe/Lectures/LoVe01_02_TypesAndTerms_Demo.lean",218,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.α","opaque",4,"definition","","LoVe/Lectures/LoVe01_02_TypesAndTerms_Demo.lean",134,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.β","opaque",4,"definition","","LoVe/Lectures/LoVe01_02_TypesAndTerms_Demo.lean",135,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.γ","opaque",4,"definition","","LoVe/Lectures/LoVe01_02_TypesAndTerms_Demo.lean",136,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]},"4826117":{"id":4826117,"label":"LoVeXX_ALookUnderTheHood_Demo","n":3,"s":[0,0,0,1,2,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","a_silly_theorem","theorem",3,"unchecked","","LoVe/Lectures/LoVeXX_ALookUnderTheHood_Demo.lean",101,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","fourNat","def",4,"definition","","LoVe/Lectures/LoVeXX_ALookUnderTheHood_Demo.lean",160,[],[],"","",null,[],[],0.8501,null,null,null,null,null],["d","negFour","def",4,"definition","","LoVe/Lectures/LoVeXX_ALookUnderTheHood_Demo.lean",161,[],[],"","",null,[],[],0.9183,null,null,null,null,null]],"edges":[[1,2,1,0,1]],"top":[["a_silly_theorem",3,0.0869,4826117,"749_0",0]]},"4826118":{"id":4826118,"label":"LoVe12_Russell","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","Russell.R","def",4,"definition","","LoVe/Lectures/LoVe12_Russell.lean",149,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","Russell.V","axiom",4,"definition","","LoVe/Lectures/LoVe12_Russell.lean",78,[],[],"","",null,[],[],0.8045,null,null,null,null,null],["d","Russell.uh_oh","def",4,"definition","","LoVe/Lectures/LoVe12_Russell.lean",178,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4826119":{"id":4826119,"label":"LoVe13_BasicMathematicalStructures_Demo","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","LoVe.Int2","inductive",4,"definition","","LoVe/Lectures/LoVe13_BasicMathematicalStructures_Demo.lean",72,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]},"4826120":{"id":4826120,"label":"LoVe09_OperationalSemantics_Demo","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826111,"Lectures","749_0"]],"kids":[["d","LoVe.sillyLoop","def",4,"definition","","LoVe/Lectures/LoVe09_OperationalSemantics_Demo.lean",107,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]},"4826121":{"id":4826121,"label":"Homework","n":17,"s":[0,0,2,0,15,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"]],"kids":[["g",4826122,"Homework6",5,[0,0,1,0,4,0,0],"749_0",[["LoVe.FnExp.negation_of_coherence_property",2,0.0869,4826122,"749_0",0]],4826122],["g",4826123,"Homework4",5,[0,0,0,0,5,0,0],"749_0",[],4826123],["g",4826124,"Homework1",4,[0,0,1,0,3,0,0],"749_0",[["LoVe.HW1.length_meld",2,0.0869,4826124,"749_0",1]],4826124],["g",4826125,"Homework2",2,[0,0,0,0,2,0,0],"749_0",[],4826125],["g",4826126,"Homework7",1,[0,0,0,0,1,0,0],"749_0",[],4826126]],"edges":[],"top":[["LoVe.FnExp.negation_of_coherence_property",2,0.0869,4826122,"749_0",0],["LoVe.HW1.length_meld",2,0.0869,4826124,"749_0",1]]},"4826122":{"id":4826122,"label":"Homework6","n":5,"s":[0,0,1,0,4,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826121,"Homework","749_0"]],"kids":[["d","LoVe.FPExp","inductive",4,"definition","","LoVe/Homework/Homework6.lean",312,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.FnExp","inductive",4,"definition","","LoVe/Homework/Homework6.lean",107,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.FnExp.negation_of_coherence_property","theorem",2,"open","","LoVe/Homework/Homework6.lean",275,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.FnType","inductive",4,"definition","","LoVe/Homework/Homework6.lean",124,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.Repeat.Stmt","inductive",4,"definition","","LoVe/Homework/Homework6.lean",34,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[["LoVe.FnExp.negation_of_coherence_property",2,0.0869,4826122,"749_0",0]]},"4826123":{"id":4826123,"label":"Homework4","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826121,"Homework","749_0"]],"kids":[["d","LoVe.HList'","inductive",4,"definition","","LoVe/Homework/Homework4.lean",512,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.length_hllh","def",4,"definition","","LoVe/Homework/Homework4.lean",463,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.p","def",4,"definition","","LoVe/Homework/Homework4.lean",73,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.unexpandHListCons","def",4,"definition","","LoVe/Homework/Homework4.lean",350,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.unexpandHListNil","def",4,"definition","","LoVe/Homework/Homework4.lean",346,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]},"4826124":{"id":4826124,"label":"Homework1","n":4,"s":[0,0,1,0,3,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826121,"Homework","749_0"]],"kids":[["d","LoVe.HW1.length_meld","theorem",2,"open","","LoVe/Homework/Homework1.lean",265,[],[],"","",null,[["LoVe.eval",4,1156183,"20952_0"]],[],0.0869,null,null,null,null,null],["d","LoVe.HW1.α","opaque",4,"definition","","LoVe/Homework/Homework1.lean",47,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.HW1.β","opaque",4,"definition","","LoVe/Homework/Homework1.lean",48,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.HW1.γ","opaque",4,"definition","","LoVe/Homework/Homework1.lean",49,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[["LoVe.HW1.length_meld",2,0.0869,4826124,"749_0",1]]},"4826125":{"id":4826125,"label":"Homework2","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826121,"Homework","749_0"]],"kids":[["d","LoVe.BackwardProofs.DoubleNegation","def",4,"definition","","LoVe/Homework/Homework2.lean",89,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.BackwardProofs.Peirce","def",4,"definition","","LoVe/Homework/Homework2.lean",86,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]},"4826126":{"id":4826126,"label":"Homework7","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"],[4826121,"Homework","749_0"]],"kids":[["d","LoVe.Quad","inductive",4,"definition","","LoVe/Homework/Homework7.lean",57,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]},"4826127":{"id":4826127,"label":"LoVelib","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/browncs1715/fpv2026@b0fdcce6d148329d0cafdd38f015a55e99be5da7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"],[4826110,"fpv2026/LoVe","749_0"]],"kids":[["d","LoVe.State","def",4,"definition","","LoVe/LoVelib.lean",325,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","LoVe.«assume»","def",4,"definition","","LoVe/LoVelib.lean",37,[],[],"","",null,[],[],0.0869,null,null,null,null,null],["d","LoVe.«fix»","def",4,"definition","","LoVe/LoVelib.lean",33,[],[],"","",null,[],[],0.0869,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4824991":{"id":4824991,"label":"autogeneralization/AutoGeneralization","n":83,"s":[0,0,0,0,83,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"]],"kids":[["g",4824992,"TypeClass",67,[0,0,0,0,67,0,0],"74_0",[],4824999],["g",4825000,"Command",16,[0,0,0,0,16,0,0],"74_0",[],4825001]],"edges":[],"top":[]},"4824992":{"id":4824992,"label":"TypeClass","n":67,"s":[0,0,0,0,67,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"]],"kids":[["g",4824993,"SelectProposal",27,[0,0,0,0,27,0,0],"74_0",[],4824993],["g",4824994,"Search",15,[0,0,0,0,15,0,0],"74_0",[],4824994],["g",4824995,"Resynthesize",9,[0,0,0,0,9,0,0],"74_0",[],4824995],["g",4824996,"BuildProposal",7,[0,0,0,0,7,0,0],"74_0",[],4824996],["g",4824997,"EvidenceGraph",4,[0,0,0,0,4,0,0],"74_0",[],4824997],["g",4824998,"Analyze",4,[0,0,0,0,4,0,0],"74_0",[],4824998],["g",4824999,"Validation",1,[0,0,0,0,1,0,0],"74_0",[],4824999]],"edges":[[1,4,1,0,1]],"top":[]},"4824993":{"id":4824993,"label":"SelectProposal","n":27,"s":[0,0,0,0,27,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4824992,"TypeClass","74_0"]],"kids":[["d","AutoGeneralization.CachedProposal","structure",4,"definition","","AutoGeneralization/TypeClass/SelectProposal.lean",60,[],[],"","",null,[],[],0.9428,null,null,null,null,null],["d","AutoGeneralization.CandidateGroup","structure",4,"definition","","AutoGeneralization/TypeClass/SelectProposal.lean",48,[],[],"","",null,[],[],0.9834,null,null,null,null,null],["d","AutoGeneralization.CandidateGroup.create","def",4,"definition","(locals : Array Expr) (candidates : Array EvidenceCandidate) : CandidateGroup","AutoGeneralization/TypeClass/SelectProposal.lean",53,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.CandidateGroup.lt","def",4,"definition","(left right : CandidateGroup) : Bool","AutoGeneralization/TypeClass/SelectProposal.lean",57,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.CandidateOrderKey","structure",4,"definition","","AutoGeneralization/TypeClass/SelectProposal.lean",19,[],[],"","",null,[],[],0.9878,null,null,"Structural key used only to choose a stable representative among valid proposals.","docstring",null],["d","AutoGeneralization.CandidateOrderKey.compare","def",4,"definition","(left right : CandidateOrderKey) : Ordering","AutoGeneralization/TypeClass/SelectProposal.lean",25,[],[],"","",null,[],[],0.8882,null,null,null,null,null],["d","AutoGeneralization.CheckedChoice","structure",4,"definition","","AutoGeneralization/TypeClass/SelectProposal.lean",86,[],[],"","",null,[],[],0.9767,null,null,null,null,null],["d","AutoGeneralization.CheckedChoice.preferredTo","def",4,"definition","(left right : CheckedChoice) : Bool","AutoGeneralization/TypeClass/SelectProposal.lean",91,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.FallbackGroup","structure",4,"definition","where group : CandidateGroup allowExact : Bool","AutoGeneralization/TypeClass/SelectProposal.lean",165,[],[],"","",null,[],[],0.9235,null,null,null,null,null],["d","AutoGeneralization.PlanGroup","structure",4,"definition","","AutoGeneralization/TypeClass/SelectProposal.lean",123,[],[],"","",null,[],[],0.9557,null,null,null,null,null],["d","AutoGeneralization.PlanGroup.lt","def",4,"definition","(left right : PlanGroup) : Bool","AutoGeneralization/TypeClass/SelectProposal.lean",128,[],[],"","",null,[],[],0.7514,null,null,null,null,null],["d","AutoGeneralization.ProposalChoice","inductive",4,"definition","where","AutoGeneralization/TypeClass/SelectProposal.lean",97,[],[],"","",null,[],[],0.9083,null,null,null,null,null],["d","AutoGeneralization.ProposalOrigin","inductive",4,"definition","where","AutoGeneralization/TypeClass/SelectProposal.lean",13,[],[],"","",null,[],[],0.9736,null,null,null,null,null],["d","AutoGeneralization.ProposalSession","structure",4,"definition","","AutoGeneralization/TypeClass/SelectProposal.lean",66,[],[],"","",null,[],[],0.8851,null,null,null,null,null],["d","AutoGeneralization.ProposalSession.build","def",4,"definition","(session : ProposalSession) (origin : ProposalOrigin) (group : CandidateGroup) (maxIntroduced? : Option Nat := none) : MetaM (Option CheckedProposal)","AutoGeneralization/TypeClass/SelectProposal.lean",71,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.buildFallbackAlternatives","def",4,"definition","(session : ProposalSession) (candidateGroup : FallbackGroup) (maxIntroduced? : Option Nat) : MetaM (Array CheckedChoice)","AutoGeneralization/TypeClass/SelectProposal.lean",196,[],[],"","",null,[],[],0.5721,null,null,null,null,null],["d","AutoGeneralization.candidateGroupKey","def",4,"definition","(locals : Array Expr) (candidates : Array EvidenceCandidate) : Array CandidateOrderKey","AutoGeneralization/TypeClass/SelectProposal.lean",43,[],[],"","",null,[],[],0.8063,null,null,null,null,null],["d","AutoGeneralization.candidateOrderKey","def",4,"definition","(locals : Array Expr) (candidate : EvidenceCandidate) : CandidateOrderKey","AutoGeneralization/TypeClass/SelectProposal.lean",35,[],[],"","",null,[],[],0.7973,null,null,null,null,null],["d","AutoGeneralization.checkedChoice","def",4,"definition","(checked : Array CheckedChoice) : ProposalChoice","AutoGeneralization/TypeClass/SelectProposal.lean",102,[],[],"","",null,[],[],0.7187,null,null,null,null,null],["d","AutoGeneralization.createFallbackGroups","def",4,"definition","(locals : Array Expr) (planGroups : Array PlanGroup) (singleCandidates : Array EvidenceCandidate) : Array FallbackGroup","AutoGeneralization/TypeClass/SelectProposal.lean",183,[],[],"","",null,[],[],0.4816,null,null,null,null,null],["d","AutoGeneralization.createPlanGroups","def",4,"definition","(locals : Array Expr) (plans : Array CandidatePlan) : Array PlanGroup","AutoGeneralization/TypeClass/SelectProposal.lean",131,[],[],"","",null,[],[],0.4816,null,null,null,null,null],["d","AutoGeneralization.pushChecked","def",4,"definition","(checked : Array CheckedChoice) (choice : CheckedChoice) : MetaM (Array CheckedChoice)","AutoGeneralization/TypeClass/SelectProposal.lean",113,[],[],"","",null,[],[],0.7187,null,null,null,null,null],["d","AutoGeneralization.pushFallbackGroup","def",4,"definition","(groups : Array FallbackGroup) (next : FallbackGroup) : Array FallbackGroup","AutoGeneralization/TypeClass/SelectProposal.lean",172,[],[],"","",null,[],[],0.7514,null,null,"Merge structurally identical groups before invoking either proposal builder.","docstring",null],["d","AutoGeneralization.resolveChoice","def",4,"definition","(exact fallback : ProposalChoice) : Option CheckedProposal","AutoGeneralization/TypeClass/SelectProposal.lean",235,[],[],"","",null,[],[],0.4816,null,null,null,null,null],["d","AutoGeneralization.selectExactPlans","def",4,"definition","(session : ProposalSession) (planGroups : Array PlanGroup) : MetaM ProposalChoice","AutoGeneralization/TypeClass/SelectProposal.lean",143,[],[],"","",null,[],[],0.4816,null,null,"Select the unique exact signature at the first successful cost. Canonical keys choose a stable representative only when several plans produce the same type.","docstring",null],["d","AutoGeneralization.selectFallback","def",4,"definition","(session : ProposalSession) (groups : Array FallbackGroup) (maxIntroduced? : Option Nat := none) : MetaM ProposalChoice","AutoGeneralization/TypeClass/SelectProposal.lean",213,[],[],"","",null,[],[],0.4816,null,null,"Choose the unique signature with the fewest introduced binders. Definitionally equal signatures share one canonical representative; distinct types remain ambiguous.","docstring",null],["d","AutoGeneralization.selectWithPlanGroups","def",4,"definition","(session : ProposalSession) (locals : Array Expr) (planGroups : Array PlanGroup) (singleCandidates : Array EvidenceCandidate) (exact : ProposalChoice) : MetaM (Option CheckedProposal)","AutoGeneralization/TypeClass/SelectProposal.lean",253,[],[],"","",null,[],[],0.1762,null,null,null,null,null]],"edges":[[1,3,1,0,1],[16,17,1,0,1],[19,22,1,0,1],[9,20,1,0,1],[11,25,1,0,1],[1,9,1,0,1],[8,22,1,0,1],[8,15,1,0,1],[19,26,1,0,1],[13,25,1,0,1],[13,15,1,0,1],[8,19,1,0,1],[13,26,1,0,1],[6,18,1,0,1],[25,26,1,0,1],[2,16,1,0,1],[6,15,1,0,1],[11,24,1,0,1],[4,5,1,0,1],[6,12,1,0,1],[6,11,1,0,1],[1,2,1,0,1],[4,16,1,0,1],[9,24,1,0,1],[3,5,1,0,1],[18,25,1,0,1],[9,26,1,0,1],[23,26,1,0,1],[9,10,1,0,1],[10,20,1,0,1],[15,25,1,0,1],[6,7,1,0,1],[11,23,1,0,1],[0,4,1,0,1],[24,26,1,0,1],[11,18,1,0,1],[13,24,1,0,1],[1,6,1,0,1],[0,13,1,0,1],[1,14,1,0,1],[20,26,1,0,1],[4,17,1,0,1],[0,12,1,0,1],[21,25,1,0,1],[1,8,1,0,1],[8,25,1,0,1],[21,24,1,0,1],[5,16,1,0,1],[1,4,1,0,1],[6,21,1,0,1],[13,14,1,0,1],[11,26,1,0,1],[9,19,1,0,1],[18,24,1,0,1],[12,14,1,0,1]],"top":[]},"4824994":{"id":4824994,"label":"Search","n":15,"s":[0,0,0,0,15,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4824992,"TypeClass","74_0"]],"kids":[["d","AutoGeneralization.SearchM","abbrev",4,"definition","","AutoGeneralization/TypeClass/Search.lean",56,[],[],"","",null,[],[],0.9909,null,null,null,null,null],["d","AutoGeneralization.SearchState","structure",4,"definition","where work : Nat","AutoGeneralization/TypeClass/Search.lean",49,[],[],"","",null,[],[],0.9904,null,null,null,null,null],["d","AutoGeneralization.addBypassed","def",4,"definition","(plan : CandidatePlan) (e : Expr) : SearchM CandidatePlan","AutoGeneralization/TypeClass/Search.lean",94,[],[],"","",null,[],[],0.7504,null,null,null,null,null],["d","AutoGeneralization.addCandidate","def",4,"definition","(plan : CandidatePlan) (candidate : EvidenceCandidate) (candidateId : Nat) : SearchM (Option CandidatePlan)","AutoGeneralization/TypeClass/Search.lean",78,[],[],"","",null,[],[],0.7504,null,null,null,null,null],["d","AutoGeneralization.combinePlanSets","def",4,"definition","(left right : Array CandidatePlan) : SearchM (Option (Array CandidatePlan))","AutoGeneralization/TypeClass/Search.lean",144,[],[],"","",null,[],[],0.4223,null,null,null,null,null],["d","AutoGeneralization.cutPlans","def",4,"definition","(graph : EvidenceGraph) (e : Expr) (active : ExprSet := {}) : SearchM (Option (Array CandidatePlan))","AutoGeneralization/TypeClass/Search.lean",183,[],[],"","",null,[],[],0.1762,null,null,"Enumerate finite candidate cuts below `e`. Selecting outer evidence costs zero; each distinct bypassed term costs one. An uncuttable leaf contributes a neutral deferred branch whose validity is decided by the proposal builders.","docstring",null],["d","AutoGeneralization.exprSetSubset","def",4,"definition","(left right : Array Expr) : SearchM Bool","AutoGeneralization/TypeClass/Search.lean",113,[],[],"","",null,[],[],0.6728,null,null,null,null,null],["d","AutoGeneralization.mergePlans","def",4,"definition","(left right : CandidatePlan) : SearchM (Option CandidatePlan)","AutoGeneralization/TypeClass/Search.lean",100,[],[],"","",null,[],[],0.603,null,null,null,null,null],["d","AutoGeneralization.minimizeCompletedPlans","def",4,"definition","(plans : Array CandidatePlan) : SearchM (Array CandidatePlan)","AutoGeneralization/TypeClass/Search.lean",157,[],[],"","",null,[],[],0.4223,null,null,"Keep only the cheapest completed cut for each proposal candidate set.","docstring",null],["d","AutoGeneralization.normalizeCandidateOrder","def",4,"definition","(plan : CandidatePlan) : CandidatePlan","AutoGeneralization/TypeClass/Search.lean",169,[],[],"","",null,[],[],0.4223,null,null,"Restore discovery order after root joins have been reordered for efficiency.","docstring",null],["d","AutoGeneralization.pushPlan","def",4,"definition","(plans : Array CandidatePlan) (plan : CandidatePlan) : SearchM (Option (Array CandidatePlan))","AutoGeneralization/TypeClass/Search.lean",127,[],[],"","",null,[],[],0.6764,null,null,"Maintain an antichain of bypass sets for each candidate set. If one bypass set contains another, it can never become cheaper after a later union.","docstring",null],["d","AutoGeneralization.registerCandidate","def",4,"definition","(graph : EvidenceGraph) (candidate : EvidenceCandidate) : SearchM Nat","AutoGeneralization/TypeClass/Search.lean",71,[],[],"","",null,[],[],0.4223,null,null,"Intern a candidate into the search-local defeq registry.","docstring",null],["d","AutoGeneralization.sameCandidateSet","def",4,"definition","(left right : CandidatePlan) : Bool","AutoGeneralization/TypeClass/Search.lean",119,[],[],"","",null,[],[],0.8292,null,null,null,null,null],["d","AutoGeneralization.sameEvidence","def",4,"definition","(left right : Expr) : SearchM Bool","AutoGeneralization/TypeClass/Search.lean",67,[],[],"","",null,[],[],0.9844,null,null,"Use the graph session's shared evidence comparison cache inside `SearchM`.","docstring",null],["d","AutoGeneralization.takeWork","def",4,"definition",": SearchM Bool","AutoGeneralization/TypeClass/Search.lean",59,[],[],"","",null,[],[],0.6764,null,null,"Bound recursive visits and plan combinations, including repeated DAG visits.","docstring",null]],"edges":[[2,5,1,0,1],[2,13,1,0,1],[2,7,1,0,1],[4,14,1,0,1],[0,10,1,0,1],[0,11,1,0,1],[0,8,1,0,1],[5,13,1,0,1],[8,12,1,0,1],[6,10,1,0,1],[3,5,1,0,1],[1,13,1,0,1],[0,4,1,0,1],[0,5,1,0,1],[5,10,1,0,1],[0,2,1,0,1],[6,13,1,0,1],[4,5,1,0,1],[5,9,1,0,1],[5,14,1,0,1],[0,1,1,0,1],[3,7,1,0,1],[0,14,1,0,1],[3,13,1,0,1],[4,10,1,0,1],[0,3,1,0,1],[0,13,1,0,1],[0,6,1,0,1],[4,7,1,0,1],[5,11,1,0,1],[5,8,1,0,1],[0,7,1,0,1],[10,12,1,0,1]],"top":[]},"4824995":{"id":4824995,"label":"Resynthesize","n":9,"s":[0,0,0,0,9,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4824992,"TypeClass","74_0"]],"kids":[["d","AutoGeneralization.CandidateAction","inductive",4,"definition","where","AutoGeneralization/TypeClass/Resynthesize.lean",59,[],[],"","",null,[],[],0.663,null,null,null,null,null],["d","AutoGeneralization.ResynthesisContext","structure",4,"definition","","AutoGeneralization/TypeClass/Resynthesize.lean",36,[],[],"","",null,[],[],0.8845,null,null,null,null,null],["d","AutoGeneralization.ResynthesisState","structure",4,"definition","where oldBinders : Array Expr","AutoGeneralization/TypeClass/Resynthesize.lean",43,[],[],"","",null,[],[],0.9541,null,null,null,null,null],["d","AutoGeneralization.candidateAction","def",4,"definition","(ctx : ResynthesisContext) (boundary candidateIndex : Nat) (state : ResynthesisState) : MetaM CandidateAction","AutoGeneralization/TypeClass/Resynthesize.lean",65,[],[],"","",null,[],[],0.6535,null,null,"Decide whether a candidate must wait, is already available, or needs a binder.","docstring",null],["d","AutoGeneralization.resynthesizeSourceEvidence","def",4,"definition","(source : FVarId) (e : Expr) : MetaM (Option Expr)","AutoGeneralization/TypeClass/Resynthesize.lean",18,[],[],"","",null,[],[],0.7329,null,null,"Replace source-dependent class evidence with instances synthesized in the rebuilt context. This changes only evidence terms; any remaining occurrence of the removed source makes the transformation fail.","docstring",null],["d","AutoGeneralization.rewriteRetained","def",4,"definition","(state : ResynthesisState) (e : Expr) : MetaM Expr","AutoGeneralization/TypeClass/Resynthesize.lean",52,[],[],"","",null,[],[],0.7329,null,null,null,null,null],["d","AutoGeneralization.transformResynthesized","def",4,"definition","(ctx : ResynthesisContext) (state : ResynthesisState) (e : Expr) : MetaM (Option Expr)","AutoGeneralization/TypeClass/Resynthesize.lean",55,[],[],"","",null,[],[],0.7595,null,null,null,null,null],["d","AutoGeneralization.withReadyCandidates","def",4,"definition","{α : Type} (ctx : ResynthesisContext) (boundary candidateIndex : Nat) (state : ResynthesisState) (k : ResynthesisState → MetaM (Option α)) : MetaM (Option α)","AutoGeneralization/TypeClass/Resynthesize.lean",83,[],[],"","",null,[],[],0.5555,null,null,"Introduce every candidate ready at `boundary`. Real local declarations are nested through the continuation so each new class remains available to later candidate checks and evidence synthesis.","docstring",null],["d","AutoGeneralization.withResynthesizedBinders","def",4,"definition","{α : Type} (ctx : ResynthesisContext) (index : Nat) (state : ResynthesisState) (k : ResynthesisState → MetaM (Option α)) : MetaM (Option α)","AutoGeneralization/TypeClass/Resynthesize.lean",123,[],[],"","",null,[],[],0.1762,null,null,"Rebuild the complete telescope under a fresh set of local instances. Later binder types and the proof may therefore use the newly introduced class to re-synthesize parent evidence instead of preserving the old evidence graph.","docstring",null]],"edges":[[4,6,1,0,1],[1,7,1,0,1],[2,8,1,0,1],[1,8,1,0,1],[2,3,1,0,1],[6,8,1,0,1],[1,6,1,0,1],[2,5,1,0,1],[0,3,1,0,1],[1,3,1,0,1],[3,6,1,0,1],[7,8,1,0,1],[2,6,1,0,1],[3,7,1,0,1],[5,6,1,0,1],[2,7,1,0,1]],"top":[]},"4824996":{"id":4824996,"label":"BuildProposal","n":7,"s":[0,0,0,0,7,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4824992,"TypeClass","74_0"]],"kids":[["d","AutoGeneralization.EvidenceReplacement","structure",4,"definition","","AutoGeneralization/TypeClass/BuildProposal.lean",17,[],[],"","",null,[],[],0.9166,null,null,null,null,null],["d","AutoGeneralization.RebuildContext","structure",4,"definition","","AutoGeneralization/TypeClass/BuildProposal.lean",12,[],[],"","",null,[],[],0.8217,null,null,null,null,null],["d","AutoGeneralization.RebuildState","structure",4,"definition","where oldBinders : Array Expr","AutoGeneralization/TypeClass/BuildProposal.lean",22,[],[],"","",null,[],[],0.9466,null,null,null,null,null],["d","AutoGeneralization.insertReadyCandidates","def",4,"definition","(ctx : RebuildContext) (index : Nat) (state : RebuildState) : MetaM (Option RebuildState)","AutoGeneralization/TypeClass/BuildProposal.lean",58,[],[],"","",null,[],[],0.5282,null,null,null,null,null],["d","AutoGeneralization.rewriteExpr","def",4,"definition","(state : RebuildState) (e : Expr) : MetaM Expr","AutoGeneralization/TypeClass/BuildProposal.lean",34,[],[],"","",null,[],[],0.781,null,null,null,null,null],["d","AutoGeneralization.transformExpr","def",4,"definition","(ctx : RebuildContext) (state : RebuildState) (e : Expr) : MetaM (Option Expr)","AutoGeneralization/TypeClass/BuildProposal.lean",51,[],[],"","",null,[],[],0.5282,null,null,null,null,null],["d","AutoGeneralization.withRebuiltBinders","def",4,"definition","{α : Type} (ctx : RebuildContext) (index : Nat) (state : RebuildState) (k : RebuildState → MetaM (Option α)) : MetaM (Option α)","AutoGeneralization/TypeClass/BuildProposal.lean",107,[],[],"","",null,[],[],0.1762,null,null,"Rebuild the theorem telescope around the replacement evidence. Every retained binder gets a fresh free variable whose type has undergone the same evidence replacement as the conclusion and proof. This is what allows a later binder to depend on weaker classes while still rejecting dependencies on fields that belong only to the old class.","docstring",null]],"edges":[[3,6,1,0,1],[2,3,1,0,1],[5,6,1,0,1],[4,5,1,0,1],[1,6,1,0,1],[2,4,1,0,1],[3,4,1,0,1],[1,5,1,0,1],[2,6,1,0,1],[2,5,1,0,1],[0,2,1,0,1],[1,3,1,0,1]],"top":[]},"4824997":{"id":4824997,"label":"EvidenceGraph","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4824992,"TypeClass","74_0"]],"kids":[["d","AutoGeneralization.RegistryState","structure",4,"definition","where work : Nat","AutoGeneralization/TypeClass/EvidenceGraph.lean",133,[],[],"","",null,[],[],0.6826,null,null,null,null,null],["d","AutoGeneralization.candidateAt?","def",4,"definition","(theoremType : Expr) (theoremClass? : Option Name) (source : ClassSource) (e : Expr) : MetaM (Option EvidenceCandidate)","AutoGeneralization/TypeClass/EvidenceGraph.lean",50,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.collectAt","def",4,"definition","(graph : EvidenceGraph) (e : Expr) (state : RegistryState) : MetaM RegistryState","AutoGeneralization/TypeClass/EvidenceGraph.lean",140,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.dependsOnSourceCached","def",4,"definition","(cache : IO.Ref (ExprMap Bool)) (source : FVarId) (e : Expr) : MetaM Bool","AutoGeneralization/TypeClass/EvidenceGraph.lean",32,[],[],"","",null,[],[],0.5911,null,null,null,null,null]],"edges":[[1,3,1,0,1],[0,2,1,0,1]],"top":[]},"4824998":{"id":4824998,"label":"Analyze","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4824992,"TypeClass","74_0"]],"kids":[["d","AutoGeneralization.analyzeClosed","def",4,"definition","(source : Name) (levelParams : List Name) (type value : Expr) (allowUnusedRemoval : Bool) (config : SearchConfig) : MetaM (Array CheckedProposal)","AutoGeneralization/TypeClass/Analyze.lean",29,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.iterateGeneralization","def",4,"definition","(source : Name) (levelParams : List Name) (type value : Expr) (seen : Array Expr) (steps : Array CheckedProposal) (config : SearchConfig) : MetaM (Array CheckedProposal)","AutoGeneralization/TypeClass/Analyze.lean",61,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","AutoGeneralization.nextGeneralization","def",4,"definition","(source : Name) (levelParams : List Name) (type value : Expr) (seen : Array Expr) (config : SearchConfig) : MetaM (Option CheckedProposal)","AutoGeneralization/TypeClass/Analyze.lean",48,[],[],"","",null,[],[],0.738,null,null,null,null,null],["d","AutoGeneralization.withTheoremContext","def",4,"definition","{α : Type} (source : Name) (levelParams : List Name) (type value : Expr) (k : TheoremContext → MetaM α) : MetaM α","AutoGeneralization/TypeClass/Analyze.lean",17,[],[],"","",null,[],[],0.8667,null,null,null,null,null]],"edges":[[1,2,1,0,1],[2,3,1,0,1],[0,3,1,0,1]],"top":[]},"4824999":{"id":4824999,"label":"Validation","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4824992,"TypeClass","74_0"]],"kids":[["d","AutoGeneralization.replaysOriginalType","def",4,"definition","(opened : TheoremContext) (value : Expr) (args : Array Expr) : MetaM Bool","AutoGeneralization/TypeClass/Validation.lean",54,[],[],"","",null,[],[],0.1762,null,null,"Check that specializing a generalized theorem recovers the original statement.","docstring",null]],"edges":[],"top":[]},"4825000":{"id":4825000,"label":"Command","n":16,"s":[0,0,0,0,16,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"]],"kids":[["g",4825001,"PrettyPrint",9,[0,0,0,0,9,0,0],"74_0",[],4825001],["d","builtinAxiomNames","def",4,"definition",": NameSet","AutoGeneralization/Command.lean",21,[],[],"","",null,[],[],1.0,null,null,null,null,null],["d","candidateSuggestion","def",4,"definition","(commandSyntax sourceSyntax : Syntax) (sourceType : Expr) (proposal : CheckedProposal) (index total : Nat) : MetaM Lean.Meta.Tactic.TryThis.Suggestion","AutoGeneralization/Command.lean",69,[],[],"","",null,[],[],0.4816,null,null,null,null,null],["d","completeSuggestion","def",4,"definition","(commandSyntax sourceSyntax : Syntax) (chain : GeneralizationChain) : MetaM Lean.Meta.Tactic.TryThis.Suggestion","AutoGeneralization/Command.lean",90,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ppBinderType","def",4,"definition","(type : Expr) (index : Nat) : MetaM MessageData","AutoGeneralization/Command.lean",45,[],[],"","",null,[],[],0.9088,null,null,null,null,null],["d","ppGeneralization","def",4,"definition","(inputType : Expr) (proposal : CheckedProposal) : MetaM MessageData","AutoGeneralization/Command.lean",53,[],[],"","",null,[],[],0.6616,null,null,null,null,null],["d","ppSuggestedTheorem","def",4,"definition","(theoremName : String) (proposal : CheckedProposal) : MetaM (Format × String)","AutoGeneralization/Command.lean",62,[],[],"","",null,[],[],0.6616,null,null,null,null,null],["d","resolveTheorem","def",4,"definition","(sourceSyntax : Syntax) : CommandElabM (Name × TheoremVal)","AutoGeneralization/Command.lean",24,[],[],"","",null,[],[],0.4816,null,null,null,null,null]],"edges":[[3,6,1,0,1],[4,5,1,0,1],[2,3,1,0,1],[3,7,1,0,1],[3,5,1,0,1],[2,6,1,0,1],[2,5,1,0,1]],"top":[]},"4825001":{"id":4825001,"label":"PrettyPrint","n":9,"s":[0,0,0,0,9,0,0],"env":"https://github.com/pelicanhere/autogeneralization@07ed6f917b2cc8b0c29ef6dcb852e8beb9fbd2d1#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824789,"aoc2025 … automated-theorem-","t12"],[4824991,"autogeneralization/AutoGeneralization","74_0"],[4825000,"Command","74_0"]],"kids":[["d","AutoGeneralization.EvidenceCollectM","abbrev",4,"definition","","AutoGeneralization/Command/PrettyPrint.lean",39,[],[],"","",null,[],[],0.9069,null,null,null,null,null],["d","AutoGeneralization.EvidenceNameState","structure",4,"definition","where used : NameSet nextIndex : Nat","AutoGeneralization/Command/PrettyPrint.lean",27,[],[],"","",null,[],[],0.7849,null,null,null,null,null],["d","AutoGeneralization.collectClassEvidence","def",4,"definition","(roots : Array Expr) : MetaM (Array EvidenceCandidate)","AutoGeneralization/Command/PrettyPrint.lean",50,[],[],"","",null,[],[],0.7504,null,null,null,null,null],["d","AutoGeneralization.collectClassEvidenceAt","def",4,"definition","(e : Expr) : EvidenceCollectM Unit","AutoGeneralization/Command/PrettyPrint.lean",41,[],[],"","",null,[],[],0.8399,null,null,null,null,null],["d","AutoGeneralization.exposeEvidence","def",4,"definition","(patterns : Array Expr) (input : Expr) : MetaM Expr","AutoGeneralization/Command/PrettyPrint.lean",73,[],[],"","",null,[],[],0.4653,null,null,"Force only applications carrying noncanonical evidence to show implicit arguments.","docstring",null],["d","AutoGeneralization.hideInstanceBinderNames","def",4,"definition","(type : Expr) : MetaM Expr","AutoGeneralization/Command/PrettyPrint.lean",14,[],[],"","",null,[],[],0.4653,null,null,null,null,null],["d","AutoGeneralization.nextEvidenceName","def",4,"definition","(state : EvidenceNameState) : Name × EvidenceNameState","AutoGeneralization/Command/PrettyPrint.lean",31,[],[],"","",null,[],[],0.4653,null,null,null,null,null],["d","AutoGeneralization.noncanonicalEvidence","def",4,"definition","(roots : Array Expr) : MetaM (Array Expr)","AutoGeneralization/Command/PrettyPrint.lean",60,[],[],"","",null,[],[],0.4653,null,null,null,null,null],["d","AutoGeneralization.rebuildTelescope","def",4,"definition","(decls : Array LocalDecl) (index : Nat) (oldBinders newBinders : Array Expr) (names : EvidenceNameState) (patterns : Array Expr) (target proof : Expr) : MetaM (Expr × Expr)","AutoGeneralization/Command/PrettyPrint.lean",85,[],[],"","",null,[],[],0.1762,null,null,null,null,null]],"edges":[[2,3,1,0,1],[5,8,1,0,1],[1,6,1,0,1],[6,8,1,0,1],[7,8,1,0,1],[0,2,1,0,1],[2,7,1,0,1],[0,3,1,0,1],[4,8,1,0,1],[1,8,1,0,1]],"top":[]}}}1{"chunks":{"4824760":{"id":4824760,"label":"se-theory-structural-assurability/SE/StructuralAssurability","n":9,"s":[0,0,0,3,6,0,0],"env":"https://github.com/structural-explainability/se-theory-structural-assurability@05d6b33ec2908ebe925f101d0e896f1e61de503f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824491,"rinha … selective-collabor","t12"]],"kids":[["g",4824761,"Layer30_Core/ApproximationTransfer",8,[0,0,0,2,6,0,0],"750_0",[["SE.StructuralAssurability.test_concrete_resolved",3,0.0863,4824761,"750_0",3],["SE.StructuralAssurability.test_concrete_unresolved",3,0.0863,4824761,"750_0",2]],4824761],["g",4824762,"Layer90_Examples/PrecinctVintage",1,[0,0,0,1,0,0,0],"750_0",[["SE.StructuralAssurability.PrecinctVintage.current_iff_check",3,0.0863,4824762,"750_0",0]],4824762]],"edges":[],"top":[["SE.StructuralAssurability.PrecinctVintage.current_iff_check",3,0.0863,4824762,"750_0",0],["SE.StructuralAssurability.test_concrete_resolved",3,0.0863,4824761,"750_0",3],["SE.StructuralAssurability.test_concrete_unresolved",3,0.0863,4824761,"750_0",2]]},"4824761":{"id":4824761,"label":"Layer30_Core/ApproximationTransfer","n":8,"s":[0,0,0,2,6,0,0],"env":"https://github.com/structural-explainability/se-theory-structural-assurability@05d6b33ec2908ebe925f101d0e896f1e61de503f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824491,"rinha … selective-collabor","t12"],[4824760,"se-theory-structural-assurability/SE/StructuralAssurability","750_0"]],"kids":[["d","SE.StructuralAssurability.testClaimC","def",4,"definition",": Claim (Bool × Fin 3) where holds","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",364,[],[],"","",null,[],[],0.9438,null,null,"Concrete worlds carry irrelevant extra detail (`Fin 3`).","docstring",null],["d","SE.StructuralAssurability.testConcreteObs","def",4,"definition",": ObservationModel (Bool × Fin 3) Bool where observe","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",391,[],[],"","",null,[],[],0.8426,null,null,"Resolution transfer: the concrete setting reveals the `Bool` component.","docstring",null],["d","SE.StructuralAssurability.testFailureTransfer","def",4,"definition",": FailureTransfer (WorldSpace.unrestricted Bool) cexCoarse cexClaim (WorldSpace.unrestricted (Bool × Fin 3)) testObsC testClaimC where realize","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",371,[],[],"","",null,[],[],0.0863,null,null,"Failure transfer from the coarse two-world model to a richer setting.","docstring",null],["d","SE.StructuralAssurability.testObsC","def",4,"definition",": ObservationModel (Bool × Fin 3) Unit where observe","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",367,[],[],"","",null,[],[],0.9061,null,null,null,null,null],["d","SE.StructuralAssurability.testResolutionTransfer","def",4,"definition",": ResolutionTransfer (WorldSpace.unrestricted Bool) cexFine cexClaim (WorldSpace.unrestricted (Bool × Fin 3)) testConcreteObs testClaimC where cover","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",394,[],[],"","",null,[],[],0.0863,null,null,null,null,null],["d","SE.StructuralAssurability.testWitnessRealization","def",4,"definition",": WitnessRealization (spaceA := WorldSpace.unrestricted Bool) (modelA := cexCoarse) (claimA := cexClaim) ({ left := true, right := false leftAdmissible := trivial, rightAdmissible := trivial sameObser","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",414,[],[],"","",null,[],[],0.0863,null,null,"Witness-level realization with a strictly smaller hypothesis set.","docstring",null],["d","SE.StructuralAssurability.test_concrete_resolved","theorem",3,"unchecked",": claimResolvedBy (WorldSpace.unrestricted (Bool × Fin 3)) testConcreteObs testClaimC","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",403,[],[],"","",null,[["Iff.rfl",3,1220454,"20446_0"],["SE.StructuralAssurability.testClaimC",4,4824761,"750_0"],["SE.StructuralAssurability.testConcreteObs",4,4824761,"750_0"]],[],0.0863,null,null,null,null,null],["d","SE.StructuralAssurability.test_concrete_unresolved","theorem",3,"unchecked",": ¬ claimResolvedBy (WorldSpace.unrestricted (Bool × Fin 3)) testObsC testClaimC","SE/StructuralAssurability/Layer30_Core/ApproximationTransfer.lean",380,[],[],"","",null,[["SE.StructuralAssurability.testClaimC",4,4824761,"750_0"],["SE.StructuralAssurability.testObsC",4,4824761,"750_0"]],[],0.0863,null,null,null,null,null]],"edges":[[2,3,1,0,1],[1,4,1,0,1],[1,6,1,0,1],[3,7,1,0,1],[0,2,1,0,1],[0,7,1,0,1],[0,6,1,0,1],[0,4,1,0,1],[0,5,1,0,1],[3,5,1,0,1]],"top":[["SE.StructuralAssurability.test_concrete_resolved",3,0.0863,4824761,"750_0",3],["SE.StructuralAssurability.test_concrete_unresolved",3,0.0863,4824761,"750_0",2]]},"4824762":{"id":4824762,"label":"Layer90_Examples/PrecinctVintage","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/structural-explainability/se-theory-structural-assurability@05d6b33ec2908ebe925f101d0e896f1e61de503f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4824491,"rinha … selective-collabor","t12"],[4824760,"se-theory-structural-assurability/SE/StructuralAssurability","750_0"]],"kids":[["d","SE.StructuralAssurability.PrecinctVintage.current_iff_check","theorem",3,"unchecked","{w : VWorld} (ha : IsAuthoritative w) (hc : IsCurrentAtCheck w) (hv : CheckCorrect w) : w.actual = w.truth ↔ w.check = true","SE/StructuralAssurability/Layer90_Examples/PrecinctVintage.lean",326,[],[],"","",null,[],[],0.0863,null,null,"Under the three assumptions, the claim holds exactly when the check passes.","docstring",null]],"edges":[],"top":[["SE.StructuralAssurability.PrecinctVintage.current_iff_check",3,0.0863,4824762,"750_0",0]]}}}1{"chunks":{"4818026":{"id":4818026,"label":"compositions/compositions/wenn-der-abend-leise-wird","n":85,"s":[0,0,0,17,68,0,0],"env":"https://github.com/informa-tiger/compositions@15a99eafde20a9e7ce81fb5a8add0b99503d622f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"]],"kids":[["g",4818027,"generated/v003",81,[0,0,0,15,66,0,0],"751_0",[["Review.rejected",3,0.8887,4818029,"751_0",4],["Review.battuta_result",3,0.0861,4818028,"751_0",2],["Review.configuration_result",3,0.0861,4818028,"751_0",2]],4818029],["g",4818030,"tools/matt/examples/CadenceCMajor",4,[0,0,0,2,2,0,0],"751_0",[["Certificate.accepted",3,0.9497,4818030,"751_0",17],["Certificate.config_valid",3,0.8446,4818030,"751_0",3]],4818030]],"edges":[[0,1,4,0,4]],"top":[["Certificate.accepted",3,0.9497,4818030,"751_0",17],["Review.rejected",3,0.8887,4818029,"751_0",4],["Certificate.config_valid",3,0.8446,4818030,"751_0",3],["Review.battuta_result",3,0.0861,4818028,"751_0",2],["Review.configuration_result",3,0.0861,4818028,"751_0",2]]},"4818027":{"id":4818027,"label":"generated/v003","n":81,"s":[0,0,0,15,66,0,0],"env":"https://github.com/informa-tiger/compositions@15a99eafde20a9e7ce81fb5a8add0b99503d622f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818026,"compositions/compositions/wenn-der-abend-leise-wird","751_0"]],"kids":[["g",4818028,"MattDiagnostic",80,[0,0,0,14,66,0,0],"751_0",[["Review.battuta_result",3,0.0861,4818028,"751_0",2],["Review.configuration_result",3,0.0861,4818028,"751_0",2],["Review.crossing_result",3,0.0861,4818028,"751_0",1]],4818028],["g",4818029,"Rejected",1,[0,0,0,1,0,0,0],"751_0",[["Review.rejected",3,0.8887,4818029,"751_0",4]],4818029]],"edges":[[0,1,3,0,3]],"top":[["Review.rejected",3,0.8887,4818029,"751_0",4],["Review.battuta_result",3,0.0861,4818028,"751_0",2],["Review.configuration_result",3,0.0861,4818028,"751_0",2]]},"4818028":{"id":4818028,"label":"MattDiagnostic","n":80,"s":[0,0,0,14,66,0,0],"env":"https://github.com/informa-tiger/compositions@15a99eafde20a9e7ce81fb5a8add0b99503d622f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818026,"compositions/compositions/wenn-der-abend-leise-wird","751_0"],[4818027,"generated/v003","751_0"]],"kids":[["d","Counterpoint.Config","structure",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",15,[],[],"","",null,[],[],0.9967,null,null,null,null,null],["d","Counterpoint.Frame","structure",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",52,[],[],"","",null,[],[],0.9937,null,null,null,null,null],["d","Counterpoint.Note","structure",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",39,[],[],"","",null,[],[],0.9942,null,null,null,null,null],["d","Counterpoint.Voices","structure",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",45,[],[],"","",null,[],[],0.9909,null,null,null,null,null],["d","Counterpoint.absentOrSafe","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",114,[],[],"","",null,[],[],0.9436,null,null,null,null,null],["d","Counterpoint.activeAt","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",63,[],[],"","",null,[],[],0.8821,null,null,null,null,null],["d","Counterpoint.allPairsSafe","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",126,[],[],"","",null,[],[],0.9189,null,null,null,null,null],["d","Counterpoint.alternatingStagger","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",169,[],[],"","",null,[],[],0.9247,null,null,null,null,null],["d","Counterpoint.battuta","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",111,[],[],"","",null,[],[],0.909,null,null,null,null,null],["d","Counterpoint.certified","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",334,[],[],"","",null,[],[],0.933,null,null,null,null,null],["d","Counterpoint.checkMelodicVoice","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",217,[],[],"","",null,[],[],0.8117,null,null,null,null,null],["d","Counterpoint.checkMelody","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",222,[],[],"","",null,[],[],0.839,null,null,null,null,null],["d","Counterpoint.checkNoBattuta","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",145,[],[],"","",null,[],[],0.8868,null,null,null,null,null],["d","Counterpoint.checkNoDirect","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",139,[],[],"","",null,[],[],0.8868,null,null,null,null,null],["d","Counterpoint.checkNoParallel","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",142,[],[],"","",null,[],[],0.8868,null,null,null,null,null],["d","Counterpoint.checkNoStaggeredPerfects","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",185,[],[],"","",null,[],[],0.839,null,null,null,null,null],["d","Counterpoint.checkStructural","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",154,[],[],"","",null,[],[],0.839,null,null,null,null,null],["d","Counterpoint.checkTransitions","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",134,[],[],"","",null,[],[],0.9189,null,null,null,null,null],["d","Counterpoint.checkTritones","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",280,[],[],"","",null,[],[],0.7997,null,null,null,null,null],["d","Counterpoint.compressPairTrace","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",162,[],[],"","",null,[],[],0.8202,null,null,null,null,null],["d","Counterpoint.criticalPitchesHeld","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",264,[],[],"","",null,[],[],0.7187,null,null,null,null,null],["d","Counterpoint.directPerfect","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",101,[],[],"","",null,[],[],0.909,null,null,null,null,null],["d","Counterpoint.fifthClass","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",95,[],[],"","",null,[],[],0.9037,null,null,null,null,null],["d","Counterpoint.frameAt","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",69,[],[],"","",null,[],[],0.8431,null,null,null,null,null],["d","Counterpoint.frameDataAgrees","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",90,[],[],"","",null,[],[],0.0861,null,null,null,null,null],["d","Counterpoint.hasExactlyPCs","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",228,[],[],"","",null,[],[],0.8796,null,null,null,null,null],["d","Counterpoint.hasHarmonicTritone","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",224,[],[],"","",null,[],[],0.7028,null,null,null,null,null],["d","Counterpoint.hasOnsetAt","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",287,[],[],"","",null,[],[],0.7831,null,null,null,null,null],["d","Counterpoint.hasPitchChangeAt","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",293,[],[],"","",null,[],[],0.762,null,null,null,null,null],["d","Counterpoint.hasReentry","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",317,[],[],"","",null,[],[],0.0861,null,null,null,null,null],["d","Counterpoint.hasRhythmicIndependence","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",311,[],[],"","",null,[],[],0.7997,null,null,null,null,null],["d","Counterpoint.hasSustainAcross","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",290,[],[],"","",null,[],[],0.762,null,null,null,null,null],["d","Counterpoint.heldCriticalPitch","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",257,[],[],"","",null,[],[],0.7758,null,null,null,null,null],["d","Counterpoint.inRange","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",201,[],[],"","",null,[],[],0.7619,null,null,null,null,null],["d","Counterpoint.inScale","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",209,[],[],"","",null,[],[],0.839,null,null,null,null,null],["d","Counterpoint.independentChangeCount","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",303,[],[],"","",null,[],[],0.8392,null,null,null,null,null],["d","Counterpoint.isRootTonic53","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",238,[],[],"","",null,[],[],0.6854,null,null,null,null,null],["d","Counterpoint.isV65","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",234,[],[],"","",null,[],[],0.8157,null,null,null,null,null],["d","Counterpoint.melodicPair","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",212,[],[],"","",null,[],[],0.8513,null,null,null,null,null],["d","Counterpoint.noCrossedPair","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",190,[],[],"","",null,[],[],0.8891,null,null,null,null,null],["d","Counterpoint.noCrossing","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",197,[],[],"","",null,[],[],0.9048,null,null,null,null,null],["d","Counterpoint.octaveClass","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",94,[],[],"","",null,[],[],0.9527,null,null,null,null,null],["d","Counterpoint.orderedNonoverlapping","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",76,[],[],"","",null,[],[],0.8513,null,null,null,null,null],["d","Counterpoint.pairStaggersSafe","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",182,[],[],"","",null,[],[],0.8605,null,null,null,null,null],["d","Counterpoint.parallelPerfect","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",104,[],[],"","",null,[],[],0.7861,null,null,null,null,null],["d","Counterpoint.perfectClass","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",96,[],[],"","",null,[],[],0.8439,null,null,null,null,null],["d","Counterpoint.pitches","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",60,[],[],"","",null,[],[],0.9275,null,null,null,null,null],["d","Counterpoint.resolvesCriticalPitch","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",244,[],[],"","",null,[],[],0.6854,null,null,null,null,null],["d","Counterpoint.resolvesV65","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",252,[],[],"","",null,[],[],0.7187,null,null,null,null,null],["d","Counterpoint.resolvesV65Within","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",268,[],[],"","",null,[],[],0.7028,null,null,null,null,null],["d","Counterpoint.safeStaggers","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",175,[],[],"","",null,[],[],0.8202,null,null,null,null,null],["d","Counterpoint.sameDirection","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",98,[],[],"","",null,[],[],0.8938,null,null,null,null,null],["d","Counterpoint.sampledTimeline","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",150,[],[],"","",null,[],[],0.7188,null,null,null,null,null],["d","Counterpoint.soundingAt","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",66,[],[],"","",null,[],[],0.8873,null,null,null,null,null],["d","Counterpoint.soundingPitches","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",61,[],[],"","",null,[],[],0.9269,null,null,null,null,null],["d","Counterpoint.subjectAt","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",324,[],[],"","",null,[],[],0.0861,null,null,null,null,null],["d","Counterpoint.timeline","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",73,[],[],"","",null,[],[],0.7997,null,null,null,null,null],["d","Counterpoint.validConfig","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",30,[],[],"","",null,[],[],0.9229,null,null,null,null,null],["d","Counterpoint.voiceHasIndependence","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",307,[],[],"","",null,[],[],0.7478,null,null,null,null,null],["d","Counterpoint.voiceLists","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",59,[],[],"","",null,[],[],0.9202,null,null,null,null,null],["d","Counterpoint.voiceRanges","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",206,[],[],"","",null,[],[],0.839,null,null,null,null,null],["d","Counterpoint.wellFormed","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",86,[],[],"","",null,[],[],0.839,null,null,null,null,null],["d","Counterpoint.wellFormedVoice","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",81,[],[],"","",null,[],[],0.8117,null,null,null,null,null],["d","Review.battuta_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",380,[],[],"","",null,[["Review.fs",4,4818028,"751_0"],["Counterpoint.checkNoBattuta",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.config","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",351,[],[],"","",null,[],[],0.9672,null,null,null,null,null],["d","Review.configuration_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",372,[],[],"","",null,[["Review.config",4,4818028,"751_0"],["Counterpoint.validConfig",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.crossing_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",386,[],[],"","",null,[["Counterpoint.noCrossing",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.direct_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",376,[],[],"","",null,[["Review.fs",4,4818028,"751_0"],["Counterpoint.checkNoDirect",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.events_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",374,[],[],"","",null,[["Review.voices",4,4818028,"751_0"],["Counterpoint.wellFormed",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.fs","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",371,[],[],"","",null,[],[],0.965,null,null,null,null,null],["d","Review.independence_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",396,[],[],"","",null,[["Review.voices",4,4818028,"751_0"],["Review.config",4,4818028,"751_0"],["Counterpoint.hasRhythmicIndependence",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.melody_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",392,[],[],"","",null,[["Review.voices",4,4818028,"751_0"],["Counterpoint.checkMelody",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.parallel_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",378,[],[],"","",null,[["Review.fs",4,4818028,"751_0"],["Counterpoint.checkNoParallel",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.pulse_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",382,[],[],"","",null,[["Review.voices",4,4818028,"751_0"],["Counterpoint.checkStructural",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.ranges_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",388,[],[],"","",null,[["Review.config",4,4818028,"751_0"],["Counterpoint.voiceRanges",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.rejected_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",398,[],[],"","",null,[["Review.voices",4,4818028,"751_0"],["Review.config",4,4818028,"751_0"],["Counterpoint.certified",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.scale_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",390,[],[],"","",null,[["Review.config",4,4818028,"751_0"],["Counterpoint.inScale",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.stagger_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",384,[],[],"","",null,[["Review.fs",4,4818028,"751_0"],["Counterpoint.checkNoStaggeredPerfects",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.tritones_result","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",394,[],[],"","",null,[["Review.config",4,4818028,"751_0"],["Review.fs",4,4818028,"751_0"],["Counterpoint.checkTritones",4,4818028,"751_0"]],[],0.0861,null,null,null,null,null],["d","Review.voices","def",4,"definition","","compositions/wenn-der-abend-leise-wird/generated/v003/MattDiagnostic.lean",365,[],[],"","",null,[],[],0.9775,null,null,null,null,null]],"edges":[[68,79,1,0,1],[71,79,1,0,1],[28,53,1,0,1],[11,71,1,0,1],[2,59,1,0,1],[1,56,1,0,1],[40,66,1,0,1],[13,67,1,0,1],[9,16,1,0,1],[3,52,1,0,1],[47,48,1,0,1],[64,75,1,0,1],[0,37,1,0,1],[9,15,1,0,1],[15,43,1,0,1],[14,44,1,0,1],[19,43,1,0,1],[10,38,1,0,1],[0,48,1,0,1],[37,48,1,0,1],[1,48,1,0,1],[64,78,1,0,1],[10,11,1,0,1],[46,60,1,0,1],[18,78,1,0,1],[1,49,1,0,1],[30,58,1,0,1],[28,35,1,0,1],[34,54,1,0,1],[1,24,1,0,1],[13,16,1,0,1],[64,65,1,0,1],[15,77,1,0,1],[16,73,1,0,1],[16,52,1,0,1],[43,50,1,0,1],[9,18,1,0,1],[46,54,1,0,1],[7,8,1,0,1],[36,48,1,0,1],[27,28,1,0,1],[18,49,1,0,1],[30,70,1,0,1],[3,59,1,0,1],[9,75,1,0,1],[2,29,1,0,1],[3,9,1,0,1],[9,40,1,0,1],[2,55,1,0,1],[1,18,1,0,1],[9,34,1,0,1],[0,57,1,0,1],[2,58,1,0,1],[2,27,1,0,1],[1,15,1,0,1],[14,72,1,0,1],[4,6,1,0,1],[1,20,1,0,1],[12,17,1,0,1],[1,37,1,0,1],[6,13,1,0,1],[5,53,1,0,1],[70,79,1,0,1],[20,49,1,0,1],[44,51,1,0,1],[22,45,1,0,1],[2,35,1,0,1],[69,77,1,0,1],[69,79,1,0,1],[0,30,1,0,1],[9,60,1,0,1],[1,46,1,0,1],[25,36,1,0,1],[64,74,1,0,1],[0,9,1,0,1],[1,36,1,0,1],[12,63,1,0,1],[3,16,1,0,1],[2,28,1,0,1],[6,14,1,0,1],[9,13,1,0,1],[11,59,1,0,1],[41,44,1,0,1],[3,23,1,0,1],[2,10,1,0,1],[24,56,1,0,1],[30,59,1,0,1],[2,3,1,0,1],[1,60,1,0,1],[9,30,1,0,1],[34,76,1,0,1],[2,38,1,0,1],[63,69,1,0,1],[59,61,1,0,1],[48,49,1,0,1],[41,45,1,0,1],[33,60,1,0,1],[8,41,1,0,1],[39,40,1,0,1],[61,68,1,0,1],[14,17,1,0,1],[61,62,1,0,1],[3,24,1,0,1],[2,62,1,0,1],[3,56,1,0,1],[3,11,1,0,1],[1,34,1,0,1],[9,11,1,0,1],[0,64,1,0,1],[1,43,1,0,1],[1,40,1,0,1],[1,6,1,0,1],[60,74,1,0,1],[26,54,1,0,1],[23,53,1,0,1],[23,52,1,0,1],[0,60,1,0,1],[64,70,1,0,1],[0,34,1,0,1],[9,56,1,0,1],[42,62,1,0,1],[1,26,1,0,1],[9,57,1,0,1],[14,16,1,0,1],[1,23,1,0,1],[6,12,1,0,1],[0,20,1,0,1],[31,35,1,0,1],[7,21,1,0,1],[64,76,1,0,1],[25,37,1,0,1],[35,58,1,0,1],[9,14,1,0,1],[0,36,1,0,1],[2,42,1,0,1],[9,12,1,0,1],[3,61,1,0,1],[3,30,1,0,1],[7,50,1,0,1],[2,53,1,0,1],[0,18,1,0,1],[73,79,1,0,1],[2,31,1,0,1],[12,16,1,0,1],[13,21,1,0,1],[22,44,1,0,1],[20,32,1,0,1],[1,17,1,0,1],[1,13,1,0,1],[18,26,1,0,1],[23,56,1,0,1],[75,79,1,0,1],[18,37,1,0,1],[25,54,1,0,1],[21,51,1,0,1],[57,65,1,0,1],[4,7,1,0,1],[0,47,1,0,1],[1,54,1,0,1],[67,69,1,0,1],[0,49,1,0,1],[2,5,1,0,1],[8,12,1,0,1],[1,25,1,0,1],[13,17,1,0,1],[1,12,1,0,1],[69,72,1,0,1],[9,61,1,0,1],[21,45,1,0,1],[0,32,1,0,1],[1,52,1,0,1],[69,78,1,0,1],[3,79,1,0,1],[1,14,1,0,1]],"top":[["Review.battuta_result",3,0.0861,4818028,"751_0",2],["Review.configuration_result",3,0.0861,4818028,"751_0",2],["Review.crossing_result",3,0.0861,4818028,"751_0",1]]},"4818029":{"id":4818029,"label":"Rejected","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/informa-tiger/compositions@15a99eafde20a9e7ce81fb5a8add0b99503d622f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818026,"compositions/compositions/wenn-der-abend-leise-wird","751_0"],[4818027,"generated/v003","751_0"]],"kids":[["d","Review.rejected","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/generated/v003/Rejected.lean",372,[],[],"","",null,[["Review.voices",4,4818028,"751_0"],["Review.config",4,4818028,"751_0"],["Counterpoint.certified",4,4818028,"751_0"]],[["Review.rejectAll",4,4356120,"36012_1"]],0.8887,null,null,null,null,null]],"edges":[],"top":[["Review.rejected",3,0.8887,4818029,"751_0",4]]},"4818030":{"id":4818030,"label":"tools/matt/examples/CadenceCMajor","n":4,"s":[0,0,0,2,2,0,0],"env":"https://github.com/informa-tiger/compositions@15a99eafde20a9e7ce81fb5a8add0b99503d622f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4817949,"closure-by-exhaust … contract-monitors/","t12"],[4818026,"compositions/compositions/wenn-der-abend-leise-wird","751_0"]],"kids":[["d","Certificate.accepted","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/tools/matt/examples/CadenceCMajor.lean",379,[],[],"","",null,[["Certificate.config",4,4818030,"751_0"],["Counterpoint.certified",4,4818028,"751_0"],["Certificate.voices",4,4818030,"751_0"],["Certificate.config_valid",3,4818030,"751_0"]],[["IRComparison.WordFrontend.ScalarEnvironment.retarget_cast_complete",3,2182735,"40404_0"],["IRComparison.WordFrontend.Arithmetic.reduction_preserves_base",3,2182718,"40404_0"],["RecoveryCapacity.every_eligible_ranked_cut_fits_the_committed_envelope",3,2406355,"42894_0"],["ProtSat.describe",4,768896,"30712_1"],["IRComparison.WordFrontend.WordBinder.Annotation.domain_proved",3,1109126,"25245_1"],["showVerdict",4,768914,"30712_2"]],0.9497,null,null,null,null,null],["d","Certificate.config","def",4,"definition","","compositions/wenn-der-abend-leise-wird/tools/matt/examples/CadenceCMajor.lean",353,[],[],"","",null,[],[],0.9955,null,null,null,null,null],["d","Certificate.config_valid","theorem",3,"unchecked","","compositions/wenn-der-abend-leise-wird/tools/matt/examples/CadenceCMajor.lean",378,[],[],"","",null,[["Certificate.config",4,4818030,"751_0"],["Counterpoint.validConfig",4,4818028,"751_0"]],[["Certificate.accepted",3,4818030,"751_0"]],0.8446,null,null,null,null,null],["d","Certificate.voices","def",4,"definition","","compositions/wenn-der-abend-leise-wird/tools/matt/examples/CadenceCMajor.lean",368,[],[],"","",null,[],[],0.8446,null,null,null,null,null]],"edges":[[0,1,1,0,1],[1,2,1,0,1],[0,3,1,0,1],[0,2,1,0,1]],"top":[["Certificate.accepted",3,0.9497,4818030,"751_0",17],["Certificate.config_valid",3,0.8446,4818030,"751_0",3]]}}}1{"chunks":{"4828848":{"id":4828848,"label":"lean-smt-benchmarks/Curated","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/ad1024/lean-smt-benchmarks@cda392a8cac1bd700c6569e981a55c7bc6f6977f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"]],"kids":[["g",4828849,"Cases/11_enum_pigeonhole",1,[0,0,0,0,1,0,0],"752_0",[],4828849],["g",4828850,"Harness",1,[0,0,0,0,1,0,0],"752_0",[],4828850]],"edges":[],"top":[]},"4828849":{"id":4828849,"label":"Cases/11_enum_pigeonhole","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/ad1024/lean-smt-benchmarks@cda392a8cac1bd700c6569e981a55c7bc6f6977f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"],[4828848,"lean-smt-benchmarks/Curated","752_0"]],"kids":[["d","Color","inductive",4,"definition","","Curated/Cases/11_enum_pigeonhole.lean",3,[],[],"","",null,[],[],0.0857,null,null,null,null,null]],"edges":[],"top":[]},"4828850":{"id":4828850,"label":"Harness","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/ad1024/lean-smt-benchmarks@cda392a8cac1bd700c6569e981a55c7bc6f6977f#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"],[4828848,"lean-smt-benchmarks/Curated","752_0"]],"kids":[["d","runBenchmarkGrind","def",4,"definition","","Curated/Harness.lean",19,[],[],"","",null,[],[],0.0857,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4827707":{"id":4827707,"label":"the-code-of-hammurab-ai/CodeOfHammurabAI","n":12,"s":[0,0,0,4,8,0,0],"env":"https://github.com/aejonanonymous/the-code-of-hammurab-ai@e8b92e3da7de483c6db4f237a3c7df21ff728fb7#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827503,"tamalean-bench/Ben … theorem-proving-in","t13"]],"kids":[["d","Action","structure",4,"definition","(State : Type u)","CodeOfHammurabAI.lean",18,[],[],"","",null,[],[],0.9798,null,null,"An action representing a state mutation over a given State type","docstring",null],["d","DemoState","inductive",4,"definition","where","CodeOfHammurabAI.lean",83,[],[],"","",null,[],[],0.9301,null,null,"A concrete operational state space for proving non-triviality and utility","docstring",null],["d","ProvenanceToken","structure",4,"definition","","CodeOfHammurabAI.lean",13,[],[],"","",null,[],[],0.9866,null,null,"Cryptographic Provenance Token","docstring",null],["d","SafeProjection","class",4,"definition","(State : Type u) [SC : SafetyContext State]","CodeOfHammurabAI.lean",145,[],[],"","",null,[],[],0.8044,null,null,"A safe projection operator typeclass representing the geometric null-space alignment. Guarantees that any state or vector mapped through it lands entirely within the safe manifold S.","docstring",null],["d","SafetyContext","class",4,"definition","(State : Type u)","CodeOfHammurabAI.lean",30,[],[],"","",null,[],[],0.9742,null,null,"The Safety Context encapsulating the universal boundary invariant.","docstring",null],["d","Trajectory","inductive",4,"definition","(State : Type u) where","CodeOfHammurabAI.lean",46,[],[],"","",null,[],[],0.888,null,null,"Recursive trajectory of state transitions (x_0 -> x_1 -> ... -> x_n).","docstring",null],["d","TrajectorySafe","def",4,"definition","{State : Type u} [SC : SafetyContext State] : Trajectory State → Prop","CodeOfHammurabAI.lean",51,[],[],"","",null,[],[],0.7352,null,null,"Recursive evaluation ensuring intermediate steps cannot violate boundaries","docstring",null],["d","boundary_invariance_lock","theorem",3,"unchecked","{State : Type u} [SC : SafetyContext State] (t : Trajectory State) (h_safe : TrajectorySafe t) : SC.IsSafeState (match t with | .base s => s | .transition s _ _ => s)","CodeOfHammurabAI.lean",65,[],[],"","",null,[["SafetyContext",4,4827707,"753_0"],["Trajectory",4,4827707,"753_0"],["TrajectorySafe",4,4827707,"753_0"]],[],0.0857,null,null,"The Master Invariance Theorem: Proves that any valid trajectory satisfying the safety context structurally guarantees that its head state resides entirely within the safe manifold (S).","docstring",null],["d","gate_collapse_on_violation","theorem",3,"unchecked","{State : Type u} [SC : SafetyContext State] (s : State) (a : Action State) [Decidable (SC.IsSafeState s ∧ SC.IsValidMutation s a)] (h_invalid : ¬ (SC.IsSafeState s ∧ SC.IsValidMutation s a)) : validat","CodeOfHammurabAI.lean",129,[],[],"","",null,[["Action",4,4827707,"753_0"],["SafetyContext",4,4827707,"753_0"],["validationGate",4,4827707,"753_0"]],[],0.0857,null,null,"Theorem: The validation gate strictly collapses to 0 if a boundary violation or unproven mutation occurs.","docstring",null],["d","non_triviality_witness","theorem",3,"unchecked",": ∃ (s : DemoState), demoSafetyContext.IsSafeState s","CodeOfHammurabAI.lean",108,[],[],"","",null,[["DemoState",4,4827707,"753_0"]],[["MaleyLean.YMEndpointTheoremContent",4,1219407,"27172_0"],["MaleyLean.YangMillsEndpointTheoremContentData",4,1219407,"27172_0"]],0.8418,null,null,"Concrete witness theorem: Demonstrates that a safe initial state and a valid transition exist","docstring",null],["d","projected_state_is_always_safe","theorem",3,"unchecked","{State : Type u} [SC : SafetyContext State] [SP : SafeProjection State] (s : State) : SC.IsSafeState (SP.project s)","CodeOfHammurabAI.lean",153,[],[],"","",null,[["SafetyContext",4,4827707,"753_0"],["SafeProjection",4,4827707,"753_0"]],[],0.0857,null,null,"Theorem: Any state processed through a verified safe projection operator guarantees boundary compliance, eliminating unauthorized gradient excursions.","docstring",null],["d","validationGate","def",4,"definition","{State : Type u} [SC : SafetyContext State] (s : State) (a : Action State) [Decidable (SC.IsSafeState s ∧ SC.IsValidMutation s a)] : Nat","CodeOfHammurabAI.lean",120,[],[],"","",null,[],[],0.8154,null,null,"Formal validation mapping V(x) corresponding to the continuous gating equation. Requires a decidability instance for the combined safety and mutation condition.","docstring",null]],"edges":[[0,2,1,0,1],[3,4,1,0,1],[0,4,1,0,1],[6,7,1,0,1],[2,4,1,0,1],[8,11,1,0,1],[4,10,1,0,1],[0,8,1,0,1],[4,8,1,0,1],[0,11,1,0,1],[5,7,1,0,1],[4,7,1,0,1],[1,9,1,0,1],[0,5,1,0,1],[4,6,1,0,1],[3,10,1,0,1],[4,11,1,0,1],[5,6,1,0,1]],"top":[["non_triviality_witness",3,0.8418,4827707,"753_0",3],["boundary_invariance_lock",3,0.0857,4827707,"753_0",3],["gate_collapse_on_violation",3,0.0857,4827707,"753_0",3],["projected_state_is_always_safe",3,0.0857,4827707,"753_0",2]]}}}1{"chunks":{"4831857":{"id":4831857,"label":"lean_build_talk","n":10,"s":[0,0,0,0,10,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"]],"kids":[["g",4831858,"NoLakeExample",4,[0,0,0,0,4,0,0],"754_0",[],4831862],["g",4831863,"LakeRebuild/LakeRebuild",4,[0,0,0,0,4,0,0],"754_0",[],4831866],["g",4831867,"LocalCache/LocalCache",2,[0,0,0,0,2,0,0],"754_0",[],4831868]],"edges":[],"top":[]},"4831858":{"id":4831858,"label":"NoLakeExample","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"]],"kids":[["g",4831859,"Foo",1,[0,0,0,0,1,0,0],"754_0",[],4831859],["g",4831860,"Bang",1,[0,0,0,0,1,0,0],"754_0",[],4831860],["g",4831861,"Baz/Basic",1,[0,0,0,0,1,0,0],"754_0",[],4831861],["g",4831862,"Bar",1,[0,0,0,0,1,0,0],"754_0",[],4831862]],"edges":[[0,3,1,0,1],[1,2,1,0,1]],"top":[]},"4831859":{"id":4831859,"label":"Foo","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831858,"NoLakeExample","754_0"]],"kids":[["d","fooNat","def",4,"definition","","NoLakeExample/Foo.lean",5,[],[],"","",null,[],[],0.8909,null,null,null,null,null]],"edges":[],"top":[]},"4831860":{"id":4831860,"label":"Bang","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831858,"NoLakeExample","754_0"]],"kids":[["d","bangNat","def",4,"definition","","NoLakeExample/Bang.lean",3,[],[],"","",null,[],[],0.0856,null,null,null,null,null]],"edges":[],"top":[]},"4831861":{"id":4831861,"label":"Baz/Basic","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831858,"NoLakeExample","754_0"]],"kids":[["d","bazNat","def",4,"definition","","NoLakeExample/Baz/Basic.lean",1,[],[],"","",null,[],[],0.8909,null,null,null,null,null]],"edges":[],"top":[]},"4831862":{"id":4831862,"label":"Bar","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831858,"NoLakeExample","754_0"]],"kids":[["d","barNat","def",4,"definition","","NoLakeExample/Bar.lean",3,[],[],"","",null,[],[],0.0856,null,null,null,null,null]],"edges":[],"top":[]},"4831863":{"id":4831863,"label":"LakeRebuild/LakeRebuild","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"]],"kids":[["g",4831864,"Middle",1,[0,0,0,0,1,0,0],"754_0",[],4831864],["g",4831865,"Other",1,[0,0,0,0,1,0,0],"754_0",[],4831865],["g",4831866,"Base",1,[0,0,0,0,1,0,0],"754_0",[],4831866],["d","total","def",4,"definition","","LakeRebuild/LakeRebuild.lean",4,[],[],"","",null,[],[],0.0856,null,null,null,null,null]],"edges":[[0,3,1,0,1],[0,2,1,0,1],[1,2,1,0,1],[1,3,1,0,1]],"top":[]},"4831864":{"id":4831864,"label":"Middle","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831863,"LakeRebuild/LakeRebuild","754_0"]],"kids":[["d","middle","def",4,"definition","","LakeRebuild/LakeRebuild/Middle.lean",3,[],[],"","",null,[],[],0.8044,null,null,null,null,null]],"edges":[],"top":[]},"4831865":{"id":4831865,"label":"Other","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831863,"LakeRebuild/LakeRebuild","754_0"]],"kids":[["d","other","def",4,"definition","","LakeRebuild/LakeRebuild/Other.lean",3,[],[],"","",null,[],[],0.8044,null,null,null,null,null]],"edges":[],"top":[]},"4831866":{"id":4831866,"label":"Base","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831863,"LakeRebuild/LakeRebuild","754_0"]],"kids":[["d","base","def",4,"definition","","LakeRebuild/LakeRebuild/Base.lean",1,[],[],"","",null,[],[],0.9643,null,null,null,null,null]],"edges":[],"top":[]},"4831867":{"id":4831867,"label":"LocalCache/LocalCache","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"]],"kids":[["g",4831868,"Value",1,[0,0,0,0,1,0,0],"754_0",[],4831868],["d","LocalCache.doubled","def",4,"definition","","LocalCache/LocalCache.lean",5,[],[],"","",null,[],[],0.0856,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4831868":{"id":4831868,"label":"Value","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/mpenciak/lean_build_talk@551c61ba0263a59279ffaa892d2927b269e713c9#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4831723,"lean4study/src/int … lean_programming/b","t13"],[4831857,"lean_build_talk","754_0"],[4831867,"LocalCache/LocalCache","754_0"]],"kids":[["d","LocalCache.value","def",4,"definition","","LocalCache/LocalCache/Value.lean",3,[],[],"","",null,[],[],0.8909,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4821535":{"id":4821535,"label":"seminario-lean","n":34,"s":[0,0,0,2,32,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"]],"kids":[["g",4821536,"Slides",18,[0,0,0,2,16,0,0],"755_0",[["cero_mas",3,0.0855,4821539,"755_0",5],["paradoja_del_barbero",3,0.0855,4821540,"755_0",1]],4821540],["g",4821541,"SeminarioLean/S1_Basicos",15,[0,0,0,0,15,0,0],"755_0",[],4821543],["g",4821544,"Main",1,[0,0,0,0,1,0,0],"755_0",[],4821544]],"edges":[[0,1,6,0,6]],"top":[["cero_mas",3,0.0855,4821539,"755_0",5],["paradoja_del_barbero",3,0.0855,4821540,"755_0",1]]},"4821536":{"id":4821536,"label":"Slides","n":18,"s":[0,0,0,2,16,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"]],"kids":[["g",4821537,"S1",17,[0,0,0,1,16,0,0],"755_0",[["cero_mas",3,0.0855,4821539,"755_0",5]],4821539],["g",4821540,"S3/C_Barbero",1,[0,0,0,1,0,0,0],"755_0",[["paradoja_del_barbero",3,0.0855,4821540,"755_0",1]],4821540]],"edges":[],"top":[["cero_mas",3,0.0855,4821539,"755_0",5],["paradoja_del_barbero",3,0.0855,4821540,"755_0",1]]},"4821537":{"id":4821537,"label":"S1","n":17,"s":[0,0,0,1,16,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"],[4821536,"Slides","755_0"]],"kids":[["g",4821538,"C2_Definiciones",16,[0,0,0,0,16,0,0],"755_0",[],4821538],["g",4821539,"C0_introduccion",1,[0,0,0,1,0,0,0],"755_0",[["cero_mas",3,0.0855,4821539,"755_0",5]],4821539]],"edges":[],"top":[["cero_mas",3,0.0855,4821539,"755_0",5]]},"4821538":{"id":4821538,"label":"C2_Definiciones","n":16,"s":[0,0,0,0,16,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"],[4821536,"Slides","755_0"],[4821537,"S1","755_0"]],"kids":[["d","aplicar_cuatro","def",4,"definition","(f : Nat → Nat) (x : Nat) : Nat","Slides/S1/C2_Definiciones.lean",264,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","aplicar_cuatro'","def",4,"definition","(f : Nat → Nat) (x : Nat) : Nat","Slides/S1/C2_Definiciones.lean",269,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","area'","def",4,"definition","(x y : Float) : Float","Slides/S1/C2_Definiciones.lean",100,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","area_cuadrado","def",4,"definition","(lado : Float)","Slides/S1/C2_Definiciones.lean",107,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","area_equilatero","def",4,"definition","","Slides/S1/C2_Definiciones.lean",222,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","area_recto","def",4,"definition","","Slides/S1/C2_Definiciones.lean",220,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","currificar'","def",4,"definition","(f : Nat × Nat → Nat) : Nat → Nat → Nat","Slides/S1/C2_Definiciones.lean",367,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","desceunto''","def",4,"definition",": Nat → Nat → Nat","Slides/S1/C2_Definiciones.lean",247,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","descuento2","def",4,"definition","(precio): return precio - precio * porcentaje / 100 return descuento2 mitad_de_precio = descuento(50) print(mitad_de_precio(100)) ``` # EJERCICIO %%% backgroundColor","Slides/S1/C2_Definiciones.lean",179,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","descurrificar","def",4,"definition","(f : Nat → Nat → Nat) : Nat × Nat → Nat","Slides/S1/C2_Definiciones.lean",346,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","mapeo","def",4,"definition","(p : Nat × Nat) (f g : Nat → Nat) : Nat × Nat","Slides/S1/C2_Definiciones.lean",324,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","nombre","def",4,"definition","(arg1 : Tipo) (arg2 : Tipo) ... : TipoRetorno","Slides/S1/C2_Definiciones.lean",58,[],[],"","",null,[],[],0.994,null,null,null,null,null],["d","pi","def",4,"definition",": Float","Slides/S1/C2_Definiciones.lean",45,[],[],"","",null,[],[],0.9998,null,null,null,null,null],["d","pi2","def",4,"definition",": Float","Slides/S1/C2_Definiciones.lean",46,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","pi3","def",4,"definition",": Float","Slides/S1/C2_Definiciones.lean",47,[],[],"","",null,[],[],0.9998,null,null,null,null,null],["d","promedio","def",4,"definition","(x y : Float) : Float","Slides/S1/C2_Definiciones.lean",66,[],[],"","",null,[],[],0.0855,null,null,null,null,null]],"edges":[[12,13,1,0,1],[4,14,1,0,1],[2,3,1,0,1],[5,13,1,0,1],[12,14,1,0,1],[0,1,1,0,1]],"top":[]},"4821539":{"id":4821539,"label":"C0_introduccion","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"],[4821536,"Slides","755_0"],[4821537,"S1","755_0"]],"kids":[["d","cero_mas","theorem",3,"unchecked","(n : Nat) : 0 + n = n","Slides/S1/C0_introduccion.lean",66,[],[],"","",null,[["paso",4,4833190,"78932_36"],["qu",4,2520894,"4022_0"],["Su",4,1732923,"13444_19"],["Est",4,4833130,"78932_36"],["Por",4,644763,"26657_0"]],[],0.0855,null,null,null,null,null]],"edges":[],"top":[["cero_mas",3,0.0855,4821539,"755_0",5]]},"4821540":{"id":4821540,"label":"S3/C_Barbero","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"],[4821536,"Slides","755_0"]],"kids":[["d","paradoja_del_barbero","theorem",3,"unchecked","(Hombres : Type) (afeitar : Hombres → Hombres → Prop) (barbero : Hombres) (r1 : ∀ h : Hombres, ¬ afeitar h h → afeitar barbero h) (r2 : ∀ h : Hombres, afeitar h h → ¬ afeitar barbero h) : False","Slides/S3/C_Barbero.lean",45,[],[],"","",null,[["by_cases",3,2729781,"3099_10"]],[],0.0855,null,null,null,null,null]],"edges":[],"top":[["paradoja_del_barbero",3,0.0855,4821540,"755_0",1]]},"4821541":{"id":4821541,"label":"SeminarioLean/S1_Basicos","n":15,"s":[0,0,0,0,15,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"]],"kids":[["g",4821542,"Docs/C2_Definiciones",14,[0,0,0,0,14,0,0],"755_0",[],4821542],["g",4821543,"C2_Definiciones",1,[0,0,0,0,1,0,0],"755_0",[],4821543]],"edges":[],"top":[]},"4821542":{"id":4821542,"label":"Docs/C2_Definiciones","n":14,"s":[0,0,0,0,14,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"],[4821541,"SeminarioLean/S1_Basicos","755_0"]],"kids":[["d","casado","def",4,"definition","","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",4,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","casado'","def",4,"definition",": Bool","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",17,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","descuento","def",4,"definition","(porcentaje : Nat) (precio : Nat) : Nat","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",36,[],[],"","",null,[],[],0.959,null,null,null,null,null],["d","descuento'","def",4,"definition",": Nat → Nat → Nat","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",119,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","descuento''","def",4,"definition",": Nat → Nat → Nat","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",124,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","descuento_del_10","def",4,"definition","","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",65,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","intercambiar","def",4,"definition","(p : Nat × Nat) : Nat × Nat","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",167,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","mayor_edad","def",4,"definition","(edad : Nat) : Bool","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",21,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","mi_edad'","def",4,"definition",": Nat","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",16,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","mi_nombre","def",4,"definition","","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",2,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","mi_nombre'","def",4,"definition",": String","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",15,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","mi_par","def",4,"definition",": Nat × Nat","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",150,[],[],"","",null,[],[],0.0855,null,null,null,null,null],["d","mitad_de_precio","def",4,"definition","","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",75,[],[],"","",null,[],[],0.7637,null,null,null,null,null],["d","sumar","def",4,"definition","(p : Nat × Nat) : Nat","SeminarioLean/S1_Basicos/Docs/C2_Definiciones.lean",172,[],[],"","",null,[],[],0.0855,null,null,null,null,null]],"edges":[[2,5,1,0,1],[2,12,1,0,1],[0,9,1,0,1],[6,13,1,0,1]],"top":[]},"4821543":{"id":4821543,"label":"C2_Definiciones","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"],[4821541,"SeminarioLean/S1_Basicos","755_0"]],"kids":[["d","area_triangulo","def",4,"definition","","SeminarioLean/S1_Basicos/C2_Definiciones.lean",36,[],[],"","",null,[],[],0.8561,null,null,null,null,null]],"edges":[],"top":[]},"4821544":{"id":4821544,"label":"Main","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/danelnov/seminario-lean@def1471c8c275854b626a23948fbd3a73969e6a8#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821371,"selective_functors … simpleparser/Simpl","t12"],[4821535,"seminario-lean","755_0"]],"kids":[["d","withBackgroundColor","def",4,"definition","(color : String) (part : Verso.Doc.Part VersoSlides.Slides) : Verso.Doc.Part VersoSlides.Slides","Main.lean",7,[],[],"","",null,[],[],0.0855,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4827912":{"id":4827912,"label":"multivaluedclassicalaction-lean4/MultiValuedClassicalAction","n":22,"s":[0,0,0,2,20,0,0],"env":"https://github.com/enuminous/multivaluedclassicalaction-lean4@2429706e12e54215c0d3e90292ccf8dbbfdc2445#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"]],"kids":[["d","MVCA.AntiCircularity","structure",4,"definition","","MultiValuedClassicalAction.lean",115,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","MVCA.Branch","structure",4,"definition","","MultiValuedClassicalAction.lean",25,[],[],"","",null,[],[],0.9677,null,null,null,null,null],["d","MVCA.ComplexAmp","structure",4,"definition","","MultiValuedClassicalAction.lean",40,[],[],"","",null,[],[],0.9772,null,null,null,null,null],["d","MVCA.ComplexAmp.add","def",4,"definition","","MultiValuedClassicalAction.lean",49,[],[],"","",null,[],[],0.5846,null,null,null,null,null],["d","MVCA.ComplexAmp.normSq","def",4,"definition","","MultiValuedClassicalAction.lean",51,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","MVCA.ComplexAmp.zero","def",4,"definition","","MultiValuedClassicalAction.lean",47,[],[],"","",null,[],[],0.5846,null,null,null,null,null],["d","MVCA.CompressionDerivation","structure",4,"definition","","MultiValuedClassicalAction.lean",93,[],[],"","",null,[],[],0.6134,null,null,null,null,null],["d","MVCA.CompressionMap","abbrev",4,"definition","","MultiValuedClassicalAction.lean",60,[],[],"","",null,[],[],0.957,null,null,null,null,null],["d","MVCA.ConstrainedSystem","structure",4,"definition","","MultiValuedClassicalAction.lean",32,[],[],"","",null,[],[],0.9736,null,null,null,null,null],["d","MVCA.GeometricBranchDerivation","structure",4,"definition","","MultiValuedClassicalAction.lean",87,[],[],"","",null,[],[],0.6134,null,null,null,null,null],["d","MVCA.PhaseAdequacy","structure",4,"definition","","MultiValuedClassicalAction.lean",98,[],[],"","",null,[],[],0.6134,null,null,null,null,null],["d","MVCA.PhaseMap","abbrev",4,"definition","","MultiValuedClassicalAction.lean",57,[],[],"","",null,[],[],0.9374,null,null,null,null,null],["d","MVCA.QuantumReconstructionObligations","structure",4,"definition","","MultiValuedClassicalAction.lean",119,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","MVCA.QuantumReconstructionProgram","structure",4,"definition","","MultiValuedClassicalAction.lean",132,[],[],"","",null,[],[],0.0844,null,null,null,null,null],["d","MVCA.ReconstructionCertificate","structure",4,"definition","","MultiValuedClassicalAction.lean",105,[],[],"","",null,[],[],0.7535,null,null,null,null,null],["d","MVCA.Scalar","abbrev",4,"definition","","MultiValuedClassicalAction.lean",22,[],[],"","",null,[],[],0.9887,null,null,null,null,null],["d","MVCA.WeightNormalized","def",4,"definition","","MultiValuedClassicalAction.lean",83,[],[],"","",null,[],[],0.7618,null,null,null,null,null],["d","MVCA.candidateDensity","def",4,"definition","","MultiValuedClassicalAction.lean",77,[],[],"","",null,[],[],0.0844,null,null,null,null,null],["d","MVCA.certificate_has_normalization","theorem",3,"unchecked","","MultiValuedClassicalAction.lean",147,[],[],"","",null,[["MVCA.ConstrainedSystem",4,4827912,"756_0"],["MVCA.CompressionMap",4,4827912,"756_0"],["MVCA.PhaseMap",4,4827912,"756_0"],["MVCA.WeightNormalized",4,4827912,"756_0"],["MVCA.ReconstructionCertificate",4,4827912,"756_0"]],[],0.0844,null,null,null,null,null],["d","MVCA.coherentSum","def",4,"definition","","MultiValuedClassicalAction.lean",70,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","MVCA.contribution","def",4,"definition","","MultiValuedClassicalAction.lean",63,[],[],"","",null,[],[],0.5846,null,null,null,null,null],["d","MVCA.reconstruction_with_anticircularity","theorem",3,"unchecked","","MultiValuedClassicalAction.lean",155,[],[],"","",null,[["hR",4,4768174,"54971_0"],["MVCA.ConstrainedSystem",4,4827912,"756_0"],["MVCA.CompressionMap",4,4827912,"756_0"],["MVCA.PhaseMap",4,4827912,"756_0"],["MVCA.ReconstructionCertificate",4,4827912,"756_0"],["MVCA.AntiCircularity",4,4827912,"756_0"]],[],0.0844,null,null,null,null,null]],"edges":[[7,16,1,0,1],[15,20,1,0,1],[7,20,1,0,1],[7,19,1,0,1],[5,19,1,0,1],[6,8,1,0,1],[0,21,1,0,1],[2,15,1,0,1],[2,20,1,0,1],[4,15,1,0,1],[8,10,1,0,1],[14,16,1,0,1],[3,19,1,0,1],[7,15,1,0,1],[11,18,1,0,1],[8,17,1,0,1],[11,21,1,0,1],[7,17,1,0,1],[11,15,1,0,1],[6,14,1,0,1],[1,8,1,0,1],[14,21,1,0,1],[8,9,1,0,1],[11,14,1,0,1],[7,21,1,0,1],[2,19,1,0,1],[4,17,1,0,1],[7,14,1,0,1],[17,19,1,0,1],[8,21,1,0,1],[10,11,1,0,1],[11,20,1,0,1],[8,14,1,0,1],[8,16,1,0,1],[1,7,1,0,1],[2,11,1,0,1],[1,20,1,0,1],[11,17,1,0,1],[8,15,1,0,1],[8,19,1,0,1],[6,7,1,0,1],[19,20,1,0,1],[12,13,1,0,1],[10,14,1,0,1],[11,19,1,0,1],[7,18,1,0,1],[14,18,1,0,1],[2,4,1,0,1],[1,15,1,0,1],[8,18,1,0,1],[15,17,1,0,1],[16,18,1,0,1],[2,5,1,0,1],[2,3,1,0,1],[9,14,1,0,1]],"top":[["MVCA.certificate_has_normalization",3,0.0844,4827912,"756_0",5],["MVCA.reconstruction_with_anticircularity",3,0.0844,4827912,"756_0",6]]}}}1{"chunks":{"4823735":{"id":4823735,"label":"eidos/Eidos/Ergo","n":17,"s":[0,0,0,4,13,0,0],"env":"https://github.com/lithos-protocol/eidos@071bed01e6e82abd0e5cc1de4bbbc1e2c9e197e4#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4823505,"docgen/Docgen … erdosnix/src/LDPC/","t12"]],"kids":[["g",4823736,"Long",8,[0,0,0,3,5,0,0],"757_0",[["Eidos.Ergo.Long.ofInt_eq_ok_iff",3,0.779,4823736,"757_0",4],["Eidos.Ergo.Long.sub_eq_ok_iff",3,0.7351,4823736,"757_0",4],["Eidos.Ergo.Long.sub_nonnegative",3,0.0838,4823736,"757_0",3]],4823736],["g",4823737,"Expr",6,[0,0,0,1,5,0,0],"757_0",[["Eidos.Ergo.error_not_accepted",3,0.0838,4823737,"757_0",4]],4823737],["g",4823738,"Context",3,[0,0,0,0,3,0,0],"757_0",[],4823738]],"edges":[[0,1,6,0,6],[1,2,4,0,4],[0,2,3,0,3]],"top":[["Eidos.Ergo.Long.ofInt_eq_ok_iff",3,0.779,4823736,"757_0",4],["Eidos.Ergo.Long.sub_eq_ok_iff",3,0.7351,4823736,"757_0",4],["Eidos.Ergo.Long.sub_nonnegative",3,0.0838,4823736,"757_0",3],["Eidos.Ergo.error_not_accepted",3,0.0838,4823737,"757_0",4]]},"4823736":{"id":4823736,"label":"Long","n":8,"s":[0,0,0,3,5,0,0],"env":"https://github.com/lithos-protocol/eidos@071bed01e6e82abd0e5cc1de4bbbc1e2c9e197e4#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4823505,"docgen/Docgen … erdosnix/src/LDPC/","t12"],[4823735,"eidos/Eidos/Ergo","757_0"]],"kids":[["d","Eidos.Ergo.EvalError","inductive",4,"definition","where","Eidos/Ergo/Long.lean",7,[],[],"","",null,[],[],0.9537,null,null,null,null,null],["d","Eidos.Ergo.Long","abbrev",4,"definition","","Eidos/Ergo/Long.lean",13,[],[],"","",null,[],[],0.977,null,null,"Signed 64-bit values. The bounds are part of the type, not assumed by proofs.","docstring",null],["d","Eidos.Ergo.Long.maxValue","def",4,"definition",": Int","Eidos/Ergo/Long.lean",18,[],[],"","",null,[],[],0.7974,null,null,null,null,null],["d","Eidos.Ergo.Long.ofInt","def",4,"definition","(n : Int) : Except EvalError Long","Eidos/Ergo/Long.lean",21,[],[],"","",null,[],[],0.898,null,null,"Checked conversion: out-of-range values fail instead of wrapping.","docstring",null],["d","Eidos.Ergo.Long.ofInt_eq_ok_iff","theorem",3,"unchecked","(n : Int) (x : Long) : ofInt n = .ok x ↔ n = x.val","Eidos/Ergo/Long.lean",27,[],[],"","",null,[["False.elim",4,4396929,"32300_0"],["Eidos.Ergo.Long",4,4823736,"757_0"],["Eidos.Ergo.Long.ofInt",4,4823736,"757_0"]],[["Eidos.Ergo.Long.sub_eq_ok_iff",3,4823736,"757_0"]],0.779,null,null,null,null,null],["d","Eidos.Ergo.Long.sub","def",4,"definition","(x y : Long) : Except EvalError Long","Eidos/Ergo/Long.lean",25,[],[],"","",null,[],[],0.887,null,null,null,null,null],["d","Eidos.Ergo.Long.sub_eq_ok_iff","theorem",3,"unchecked","(x y z : Long) : sub x y = .ok z ↔ x.val - y.val = z.val","Eidos/Ergo/Long.lean",39,[],[],"","",null,[["Eidos.Ergo.Long",4,4823736,"757_0"],["Eidos.Ergo.Long.sub",4,4823736,"757_0"],["Eidos.Ergo.Long.ofInt_eq_ok_iff",3,4823736,"757_0"]],[["Eidos.Ergo.Long.sub_nonnegative",3,4823736,"757_0"]],0.7351,null,null,null,null,null],["d","Eidos.Ergo.Long.sub_nonnegative","theorem",3,"unchecked","(x y : Long) (hy : 0 ≤ y.val) (hxy : y.val ≤ x.val) : ∃ z, sub x y = .ok z ∧ z.val = x.val - y.val ∧ 0 ≤ z.val","Eidos/Ergo/Long.lean",44,[],[],"","",null,[["Eidos.Ergo.Long",4,4823736,"757_0"],["Eidos.Ergo.Long.sub",4,4823736,"757_0"],["Eidos.Ergo.Long.sub_eq_ok_iff",3,4823736,"757_0"]],[],0.0838,null,null,"A decrease between nonnegative Long values can be computed without overflow.","docstring",null]],"edges":[[0,5,1,0,1],[2,3,1,0,1],[3,4,1,0,1],[1,5,1,0,1],[1,6,1,0,1],[5,7,1,0,1],[1,3,1,0,1],[0,3,1,0,1],[3,5,1,0,1],[1,4,1,0,1],[1,7,1,0,1],[4,6,1,0,1],[6,7,1,0,1],[5,6,1,0,1]],"top":[["Eidos.Ergo.Long.ofInt_eq_ok_iff",3,0.779,4823736,"757_0",4],["Eidos.Ergo.Long.sub_eq_ok_iff",3,0.7351,4823736,"757_0",4],["Eidos.Ergo.Long.sub_nonnegative",3,0.0838,4823736,"757_0",3]]},"4823737":{"id":4823737,"label":"Expr","n":6,"s":[0,0,0,1,5,0,0],"env":"https://github.com/lithos-protocol/eidos@071bed01e6e82abd0e5cc1de4bbbc1e2c9e197e4#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4823505,"docgen/Docgen … erdosnix/src/LDPC/","t12"],[4823735,"eidos/Eidos/Ergo","757_0"]],"kids":[["d","Eidos.Ergo.Accepts","def",4,"definition","(script : BoolExpr) (ctx : Context) : Prop","Eidos/Ergo/Expr.lean",39,[],[],"","",null,[],[],0.6804,null,null,"Successful Boolean reduction only; Sigma proofs and ledger validation are out of scope.","docstring",null],["d","Eidos.Ergo.BoolExpr","inductive",4,"definition","where","Eidos/Ergo/Expr.lean",13,[],[],"","",null,[],[],0.9081,null,null,null,null,null],["d","Eidos.Ergo.BoolExpr.eval","def",4,"definition","(ctx : Context) : BoolExpr → Except EvalError Bool","Eidos/Ergo/Expr.lean",28,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","Eidos.Ergo.LongExpr","inductive",4,"definition","where","Eidos/Ergo/Expr.lean",6,[],[],"","",null,[],[],0.9092,null,null,"A deliberately small, typed-by-construction expression fragment.","docstring",null],["d","Eidos.Ergo.LongExpr.eval","def",4,"definition","(ctx : Context) : LongExpr → Except EvalError Long","Eidos/Ergo/Expr.lean",19,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","Eidos.Ergo.error_not_accepted","theorem",3,"unchecked","(script : BoolExpr) (ctx : Context) (err : EvalError) (h : script.eval ctx = .error err) : ¬ Accepts script ctx","Eidos/Ergo/Expr.lean",45,[],[],"","",null,[["Eidos.Ergo.EvalError",4,4823736,"757_0"],["Eidos.Ergo.Context",4,4823738,"757_0"],["Eidos.Ergo.BoolExpr",4,4823737,"757_0"],["Eidos.Ergo.Accepts",4,4823737,"757_0"]],[],0.0838,null,null,null,null,null]],"edges":[[0,1,1,0,1],[1,3,1,0,1],[0,5,1,0,1],[1,5,1,0,1],[3,4,1,0,1],[1,2,1,0,1]],"top":[["Eidos.Ergo.error_not_accepted",3,0.0838,4823737,"757_0",4]]},"4823738":{"id":4823738,"label":"Context","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/lithos-protocol/eidos@071bed01e6e82abd0e5cc1de4bbbc1e2c9e197e4#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4823505,"docgen/Docgen … erdosnix/src/LDPC/","t12"],[4823735,"eidos/Eidos/Ergo","757_0"]],"kids":[["d","Eidos.Ergo.Box","structure",4,"definition","","Eidos/Ergo/Context.lean",6,[],[],"","",null,[],[],0.8667,null,null,"Only the box field used by this fragment; this is not a ledger-validity model.","docstring",null],["d","Eidos.Ergo.Context","structure",4,"definition","","Eidos/Ergo/Context.lean",11,[],[],"","",null,[],[],0.9391,null,null,"A projection of the script context, with arbitrary extra outputs allowed.","docstring",null],["d","Eidos.Ergo.Context.outputValue","def",4,"definition","(ctx : Context) (index : Nat) : Except EvalError Long","Eidos/Ergo/Context.lean",16,[],[],"","",null,[],[],0.0838,null,null,null,null,null]],"edges":[[1,2,1,0,1],[0,1,1,0,1]],"top":[]}}}1{"chunks":{"4822117":{"id":4822117,"label":"jevpilot/JevPilot/TypeSafe","n":50,"s":[0,0,0,0,50,0,0],"env":"https://github.com/adamtopaz/jevpilot@77cec1aa45217179457e7873a81bd8161897fc79#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"]],"kids":[["g",4822118,"Types",27,[0,0,0,0,27,0,0],"758_0",[],4822118],["g",4822119,"Client",13,[0,0,0,0,13,0,0],"758_0",[],4822119],["g",4822120,"Transport",6,[0,0,0,0,6,0,0],"758_0",[],4822120],["g",4822121,"Outcome",4,[0,0,0,0,4,0,0],"758_0",[],4822121]],"edges":[[0,1,12,0,12],[0,3,9,0,9],[1,2,4,0,4],[1,3,2,0,2],[0,2,1,0,1]],"top":[]},"4822118":{"id":4822118,"label":"Types","n":27,"s":[0,0,0,0,27,0,0],"env":"https://github.com/adamtopaz/jevpilot@77cec1aa45217179457e7873a81bd8161897fc79#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822117,"jevpilot/JevPilot/TypeSafe","758_0"]],"kids":[["d","JevPilot.TypeSafe.Answer","inductive",4,"definition","where","JevPilot/TypeSafe/Types.lean",106,[],[],"","",null,[],[],0.9244,null,null,null,null,null],["d","JevPilot.TypeSafe.ChoiceAnswer","structure",4,"definition","","JevPilot/TypeSafe/Types.lean",93,[],[],"","",null,[],[],0.8981,null,null,null,null,null],["d","JevPilot.TypeSafe.Error","inductive",4,"definition","where","JevPilot/TypeSafe/Types.lean",245,[],[],"","",null,[],[],0.97,null,null,"The raw HTTP body is retained for debugging but omitted from the default error message.","docstring",null],["d","JevPilot.TypeSafe.Fields","abbrev",4,"definition","(α : Type)","JevPilot/TypeSafe/Types.lean",16,[],[],"","",null,[],[],0.9913,null,null,"Object entries; arrays make constructing dynamic batches convenient. Duplicate keys are rejected before encoding a request, rather than silently overwritten.","docstring",null],["d","JevPilot.TypeSafe.NoulAnswer","structure",4,"definition","","JevPilot/TypeSafe/Types.lean",89,[],[],"","",null,[],[],0.8981,null,null,null,null,null],["d","JevPilot.TypeSafe.NoulCriteria","structure",4,"definition","where yes : Json","JevPilot/TypeSafe/Types.lean",21,[],[],"","",null,[],[],0.8245,null,null,null,null,null],["d","JevPilot.TypeSafe.Question","inductive",4,"definition","where","JevPilot/TypeSafe/Types.lean",26,[],[],"","",null,[],[],0.8692,null,null,null,null,null],["d","JevPilot.TypeSafe.Question.validate","def",4,"definition",": Question → Except String Unit","JevPilot/TypeSafe/Types.lean",63,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Request","structure",4,"definition","where state : Json questions : Fields Question model : String","JevPilot/TypeSafe/Types.lean",42,[],[],"","",null,[],[],0.9435,null,null,null,null,null],["d","JevPilot.TypeSafe.Request.validate","def",4,"definition","(r : Request) : Except String Unit","JevPilot/TypeSafe/Types.lean",79,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Response","structure",4,"definition","","JevPilot/TypeSafe/Types.lean",117,[],[],"","",null,[],[],0.9699,null,null,null,null,null],["d","JevPilot.TypeSafe.Response.answer?","def",4,"definition","(r : Response) (id : String) : Except String Answer","JevPilot/TypeSafe/Types.lean",200,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Response.choice?","def",4,"definition","(r : Response) (id : String) : Except String ChoiceAnswer","JevPilot/TypeSafe/Types.lean",209,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Response.noul?","def",4,"definition","(r : Response) (id : String) : Except String NoulAnswer","JevPilot/TypeSafe/Types.lean",205,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Response.score?","def",4,"definition","(r : Response) (id : String) : Except String ScoreAnswer","JevPilot/TypeSafe/Types.lean",213,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Response.validate","def",4,"definition","(r : Response) (req : Request) : Except String Unit","JevPilot/TypeSafe/Types.lean",222,[],[],"","",null,[],[],0.0838,null,null,"Check that the server answered exactly this batch and only selected supplied candidates. This is a protocol check, NOT a proof of any model judgment.","docstring",null],["d","JevPilot.TypeSafe.ScoreAnswer","structure",4,"definition","","JevPilot/TypeSafe/Types.lean",99,[],[],"","",null,[],[],0.8981,null,null,null,null,null],["d","JevPilot.TypeSafe.Usage","structure",4,"definition","where inputTokens : Option Nat","JevPilot/TypeSafe/Types.lean",112,[],[],"","",null,[],[],0.9784,null,null,null,null,null],["d","JevPilot.TypeSafe.distribution","def",4,"definition","(j : Json) : Except String (Fields Float)","JevPilot/TypeSafe/Types.lean",141,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.field","def",4,"definition","[FromJson α] (j : Json) (k : String) : Except String α","JevPilot/TypeSafe/Types.lean",123,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.fields","def",4,"definition","(j : Json) (decode : Json → Except String α) : Except String (Fields α)","JevPilot/TypeSafe/Types.lean",126,[],[],"","",null,[],[],0.8226,null,null,null,null,null],["d","JevPilot.TypeSafe.number","def",4,"definition","(j : Json) : Except String Float","JevPilot/TypeSafe/Types.lean",131,[],[],"","",null,[],[],0.9329,null,null,"Decode JSON numbers only (Lean's generic Float decoder also accepts \"NaN\").","docstring",null],["d","JevPilot.TypeSafe.objectOf","def",4,"definition","[ToJson α] (xs : Fields α) : Json","JevPilot/TypeSafe/Types.lean",18,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.probability","def",4,"definition","(j : Json) : Except String Float","JevPilot/TypeSafe/Types.lean",136,[],[],"","",null,[],[],0.8528,null,null,null,null,null],["d","JevPilot.TypeSafe.sameKeys","def",4,"definition","(xs : Fields α) (ys : Fields β) : Bool","JevPilot/TypeSafe/Types.lean",217,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","JevPilot.TypeSafe.validateDescription","def",4,"definition",": Json → Except String Unit","JevPilot/TypeSafe/Types.lean",59,[],[],"","",null,[],[],0.7351,null,null,"Structured descriptions may contain arbitrary nested JSON, but not bare numbers/bools.","docstring",null],["d","JevPilot.TypeSafe.validateKeys","def",4,"definition","(xs : Fields α) : Except String Unit","JevPilot/TypeSafe/Types.lean",52,[],[],"","",null,[],[],0.868,null,null,null,null,null]],"edges":[[0,10,1,0,1],[6,7,1,0,1],[10,14,1,0,1],[4,13,1,0,1],[3,8,1,0,1],[10,11,1,0,1],[10,15,1,0,1],[10,12,1,0,1],[1,12,1,0,1],[0,1,1,0,1],[3,26,1,0,1],[0,11,1,0,1],[5,6,1,0,1],[1,3,1,0,1],[3,18,1,0,1],[10,17,1,0,1],[18,20,1,0,1],[18,23,1,0,1],[6,8,1,0,1],[3,22,1,0,1],[0,16,1,0,1],[3,6,1,0,1],[3,16,1,0,1],[7,26,1,0,1],[14,16,1,0,1],[15,24,1,0,1],[0,4,1,0,1],[8,15,1,0,1],[21,23,1,0,1],[7,25,1,0,1],[9,26,1,0,1],[8,9,1,0,1],[10,13,1,0,1],[3,24,1,0,1],[3,10,1,0,1],[3,20,1,0,1],[15,23,1,0,1]],"top":[]},"4822119":{"id":4822119,"label":"Client","n":13,"s":[0,0,0,0,13,0,0],"env":"https://github.com/adamtopaz/jevpilot@77cec1aa45217179457e7873a81bd8161897fc79#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822117,"jevpilot/JevPilot/TypeSafe","758_0"]],"kids":[["d","JevPilot.TypeSafe.Client","structure",4,"definition","","JevPilot/TypeSafe/Client.lean",35,[],[],"","",null,[],[],0.9372,null,null,"A reusable client. Intentionally has no Repr/ToJson instance. Construct once, then lift `systemOne` into metaprogramming IO; importing this module never calls the network.","docstring",null],["d","JevPilot.TypeSafe.Client.create","def",4,"definition","(apiKey : String) (config : Config := {}) (transport : Transport := Curl.transport) (sleep : Nat → IO Unit := fun ms => IO.sleep ms.toUInt32) : Except Error Client","JevPilot/TypeSafe/Client.lean",43,[],[],"","",null,[],[],0.7643,null,null,"Sleep injection keeps retry tests fast and deterministic.","docstring",null],["d","JevPilot.TypeSafe.Client.fromEnv","def",4,"definition","(config : Config := {}) : EIO Error Client","JevPilot/TypeSafe/Client.lean",50,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Client.fromPass","def",4,"definition","(entry : String) (config : Config := {}) : EIO Error Client","JevPilot/TypeSafe/Client.lean",59,[],[],"","",null,[],[],0.5893,null,null,"Explicit opt-in to pass; the first line is the password, remaining lines are metadata. The key is never written to disk, included in argv, or printed in error messages.","docstring",null],["d","JevPilot.TypeSafe.Client.perform","def",4,"definition","(c : Client) (r : HttpRequest) : EIO Error HttpResponse","JevPilot/TypeSafe/Client.lean",79,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.Client.systemOne","def",4,"definition","(c : Client) (req : Request) : EIO Error Response","JevPilot/TypeSafe/Client.lean",113,[],[],"","",null,[],[],0.0838,null,null,"Batched System One evaluation, with local validation and request/response correlation. Retries are bounded. Transport errors/timeouts are NOT retried because the server may already have evaluated (and billed) the request. Existing callers keep strict errors.","docstring",null],["d","JevPilot.TypeSafe.Client.systemOneIO","def",4,"definition","(c : Client) (req : Request) : IO Response","JevPilot/TypeSafe/Client.lean",121,[],[],"","",null,[],[],0.0838,null,null,"Convert structured errors to ordinary IO errors for command-line and tactic callers.","docstring",null],["d","JevPilot.TypeSafe.Client.systemOneOutcome","def",4,"definition","(c : Client) (req : Request) : IO Outcome","JevPilot/TypeSafe/Client.lean",92,[],[],"","",null,[],[],0.0838,null,null,"Preserve independently reported usage even when response validation rejects the answers. Errors remain redacted; transport failures have unknown usage.","docstring",null],["d","JevPilot.TypeSafe.Config","structure",4,"definition","where baseUrl : String","JevPilot/TypeSafe/Client.lean",11,[],[],"","",null,[],[],0.9566,null,null,null,null,null],["d","JevPilot.TypeSafe.Config.validate","def",4,"definition","(c : Config) : Except String Unit","JevPilot/TypeSafe/Client.lean",21,[],[],"","",null,[],[],0.0838,null,null,null,null,null],["d","JevPilot.TypeSafe.redact","def",4,"definition","(key : String) : Error → Error","JevPilot/TypeSafe/Client.lean",72,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","JevPilot.TypeSafe.retryableStatus","def",4,"definition","(status : Nat) : Bool","JevPilot/TypeSafe/Client.lean",69,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","JevPilot.TypeSafe.validateKey","def",4,"definition","(key : String) : Except String Unit","JevPilot/TypeSafe/Client.lean",29,[],[],"","",null,[],[],0.6521,null,null,null,null,null]],"edges":[[3,8,1,0,1],[0,5,1,0,1],[1,2,1,0,1],[2,8,1,0,1],[0,2,1,0,1],[2,3,1,0,1],[0,1,1,0,1],[1,12,1,0,1],[0,7,1,0,1],[0,6,1,0,1],[8,9,1,0,1],[1,8,1,0,1],[0,4,1,0,1],[0,3,1,0,1],[4,11,1,0,1],[0,8,1,0,1],[1,3,1,0,1],[7,10,1,0,1]],"top":[]},"4822120":{"id":4822120,"label":"Transport","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/adamtopaz/jevpilot@77cec1aa45217179457e7873a81bd8161897fc79#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822117,"jevpilot/JevPilot/TypeSafe","758_0"]],"kids":[["d","JevPilot.TypeSafe.Curl.config","def",4,"definition","(r : HttpRequest) : String","JevPilot/TypeSafe/Transport.lean",33,[],[],"","",null,[],[],0.6628,null,null,"Both the bearer token and JSON body travel over stdin, never argv or a temp file.","docstring",null],["d","JevPilot.TypeSafe.Curl.parseOutput","def",4,"definition","(output : String) : Except String HttpResponse","JevPilot/TypeSafe/Transport.lean",45,[],[],"","",null,[],[],0.6628,null,null,"The final line belongs to --write-out, not to the server's body.","docstring",null],["d","JevPilot.TypeSafe.Curl.quote","def",4,"definition","(s : String) : String","JevPilot/TypeSafe/Transport.lean",28,[],[],"","",null,[],[],0.8301,null,null,"curl config quoting is NOT JSON quoting: curl recognizes only these escapes.","docstring",null],["d","JevPilot.TypeSafe.Curl.transport","def",4,"definition",": Transport","JevPilot/TypeSafe/Transport.lean",55,[],[],"","",null,[],[],0.6521,null,null,"Disable .curlrc, URL globbing and redirects; require TLS, with normal certificate verification. Proxy/CA environment settings are respected. Never print curl's config.","docstring",null],["d","JevPilot.TypeSafe.HttpRequest","structure",4,"definition","","JevPilot/TypeSafe/Transport.lean",10,[],[],"","",null,[],[],0.9323,null,null,"No Repr instance: requests contain credentials.","docstring",null],["d","JevPilot.TypeSafe.Transport","abbrev",4,"definition","","JevPilot/TypeSafe/Transport.lean",23,[],[],"","",null,[],[],0.9369,null,null,"Injectable for deterministic tests and future alternative HTTPS backends.","docstring",null]],"edges":[[1,3,1,0,1],[0,2,1,0,1],[4,5,1,0,1],[0,3,1,0,1],[0,4,1,0,1],[3,5,1,0,1]],"top":[]},"4822121":{"id":4822121,"label":"Outcome","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/adamtopaz/jevpilot@77cec1aa45217179457e7873a81bd8161897fc79#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822117,"jevpilot/JevPilot/TypeSafe","758_0"]],"kids":[["d","JevPilot.TypeSafe.ChoiceDiagnostic","structure",4,"definition","","JevPilot/TypeSafe/Outcome.lean",9,[],[],"","",null,[],[],0.8015,null,null,null,null,null],["d","JevPilot.TypeSafe.Outcome","structure",4,"definition","where result : Except Error Response reportedUsage : Option Usage","JevPilot/TypeSafe/Outcome.lean",21,[],[],"","",null,[],[],0.7497,null,null,"A received response can expose billing usage even when its answers violate the protocol. This does not relax validation or treat rejected answers as usable. There is no additional raw-response field; ordinary HTTP errors retain their redacted body according to the existing `Error` contract.","docstring",null],["d","JevPilot.TypeSafe.choiceDiagnostics","def",4,"definition","(req : Request) (json : Json) : Array ChoiceDiagnostic","JevPilot/TypeSafe/Outcome.lean",28,[],[],"","",null,[],[],0.7852,null,null,"Numeric diagnostics only, for requested Choice questions. These expose no raw answer text and do not make a malformed distribution acceptable.","docstring",null],["d","JevPilot.TypeSafe.decodeOutcome","def",4,"definition","(req : Request) (body : String) : Outcome","JevPilot/TypeSafe/Outcome.lean",43,[],[],"","",null,[],[],0.5893,null,null,"Parse usage independently before validating the complete answer.","docstring",null]],"edges":[[1,3,1,0,1],[2,3,1,0,1],[0,1,1,0,1],[1,2,1,0,1],[0,2,1,0,1]],"top":[]}}}1{"chunks":{"4828465":{"id":4828465,"label":"nightengale-full-zoo-audit","n":33,"s":[0,0,0,1,32,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"]],"kids":[["g",4828466,"lean-source",27,[0,0,0,1,26,0,0],"759_0",[["Zoo.Registry.no_duplicate_animals",3,0.0831,4828469,"759_0",0]],4828485],["g",4828486,"NightAudit",6,[0,0,0,0,6,0,0],"759_0",[],4828486]],"edges":[[0,1,3,0,3]],"top":[["Zoo.Registry.no_duplicate_animals",3,0.0831,4828469,"759_0",0]]},"4828466":{"id":4828466,"label":"lean-source","n":27,"s":[0,0,0,1,26,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"]],"kids":[["g",4828467,"Core",5,[0,0,0,0,5,0,0],"759_0",[],4828467],["g",4828468,"Salmon",2,[0,0,0,0,2,0,0],"759_0",[],4828468],["g",4828469,"Registry",2,[0,0,0,1,1,0,0],"759_0",[["Zoo.Registry.no_duplicate_animals",3,0.0831,4828469,"759_0",0]],4828469],["g",4828470,"Elephant",2,[0,0,0,0,2,0,0],"759_0",[],4828470],["g",4828471,"Bison",2,[0,0,0,0,2,0,0],"759_0",[],4828471],["g",4828472,"Mantis",1,[0,0,0,0,1,0,0],"759_0",[],4828472],["g",4828473,"Jellyfish",1,[0,0,0,0,1,0,0],"759_0",[],4828473],["g",4828474,"Horse",1,[0,0,0,0,1,0,0],"759_0",[],4828474],["g",4828475,"Falcon",1,[0,0,0,0,1,0,0],"759_0",[],4828475],["g",4828476,"Cat",1,[0,0,0,0,1,0,0],"759_0",[],4828476],["g",4828477,"Bat",1,[0,0,0,0,1,0,0],"759_0",[],4828477],["g",4828478,"Axolotl",1,[0,0,0,0,1,0,0],"759_0",[],4828478],["g",4828479,"Wolf",1,[0,0,0,0,1,0,0],"759_0",[],4828479],["g",4828480,"Turtle",1,[0,0,0,0,1,0,0],"759_0",[],4828480],["g",4828481,"Weasel",1,[0,0,0,0,1,0,0],"759_0",[],4828481],["g",4828482,"Hedgehog",1,[0,0,0,0,1,0,0],"759_0",[],4828482],["g",4828483,"Crocodile",1,[0,0,0,0,1,0,0],"759_0",[],4828483],["g",4828484,"Orca",1,[0,0,0,0,1,0,0],"759_0",[],4828484],["g",4828485,"Ant",1,[0,0,0,0,1,0,0],"759_0",[],4828485]],"edges":[[0,18,1,0,1]],"top":[["Zoo.Registry.no_duplicate_animals",3,0.0831,4828469,"759_0",0]]},"4828467":{"id":4828467,"label":"Core","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.AuditContext","structure",4,"definition","","lean-source/Core.lean",11,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","Zoo.EvidenceRecord","structure",4,"definition","","lean-source/Core.lean",95,[],[],"","",null,[],[],0.0831,null,null,"Caller-supplied evidence cannot be promoted by counting repeated copies.","docstring",null],["d","Zoo.EvidenceStatus","inductive",4,"definition","where","lean-source/Core.lean",7,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","Zoo.ForecastScore","structure",4,"definition","","lean-source/Core.lean",32,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","Zoo.RankedInput","structure",4,"definition","","lean-source/Core.lean",75,[],[],"","",null,[],[],0.9924,null,null,null,null,null]],"edges":[],"top":[]},"4828468":{"id":4828468,"label":"Salmon","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Salmon.Edge","structure",4,"definition","","lean-source/Salmon.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","Zoo.Salmon.Trace","inductive",4,"definition","where","lean-source/Salmon.lean",14,[],[],"","",null,[],[],0.0831,null,null,"Bounded ancestry traversal. Fuel-exhausted is distinct from a resolved origin.","docstring",null]],"edges":[],"top":[]},"4828469":{"id":4828469,"label":"Registry","n":2,"s":[0,0,0,1,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Registry.Animal","inductive",4,"definition","where","lean-source/Registry.lean",5,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","Zoo.Registry.no_duplicate_animals","theorem",3,"unchecked",": all.Nodup","lean-source/Registry.lean",59,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[["Zoo.Registry.no_duplicate_animals",3,0.0831,4828469,"759_0",0]]},"4828470":{"id":4828470,"label":"Elephant","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Elephant.Event","structure",4,"definition","","lean-source/Elephant.lean",7,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","Zoo.Elephant.Status","inductive",4,"definition","","lean-source/Elephant.lean",6,[],[],"","",null,[],[],0.9334,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4828471":{"id":4828471,"label":"Bison","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Bison.Input","structure",4,"definition","","lean-source/Bison.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","Zoo.Bison.Output","structure",4,"definition","","lean-source/Bison.lean",12,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828472":{"id":4828472,"label":"Mantis","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Mantis.State","inductive",4,"definition","","lean-source/Mantis.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828473":{"id":4828473,"label":"Jellyfish","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Jellyfish.Edge","structure",4,"definition","","lean-source/Jellyfish.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828474":{"id":4828474,"label":"Horse","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Horse.Handoff","structure",4,"definition","","lean-source/Horse.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828475":{"id":4828475,"label":"Falcon","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Falcon.Timing","structure",4,"definition","","lean-source/Falcon.lean",13,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828476":{"id":4828476,"label":"Cat","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Cat.Verdict","inductive",4,"definition","","lean-source/Cat.lean",8,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828477":{"id":4828477,"label":"Bat","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Bat.Verdict","inductive",4,"definition","","lean-source/Bat.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828478":{"id":4828478,"label":"Axolotl","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Axolotl.Input","structure",4,"definition","","lean-source/Axolotl.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828479":{"id":4828479,"label":"Wolf","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Wolf.Channel","structure",4,"definition","","lean-source/Wolf.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828480":{"id":4828480,"label":"Turtle","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Turtle.Verdict","inductive",4,"definition","","lean-source/Turtle.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828481":{"id":4828481,"label":"Weasel","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Weasel.Finding","structure",4,"definition","","lean-source/Weasel.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828482":{"id":4828482,"label":"Hedgehog","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Hedgehog.Verdict","inductive",4,"definition","","lean-source/Hedgehog.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828483":{"id":4828483,"label":"Crocodile","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Crocodile.Identification","structure",4,"definition","","lean-source/Crocodile.lean",14,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828484":{"id":4828484,"label":"Orca","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Orca.Handoff","structure",4,"definition","","lean-source/Orca.lean",6,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828485":{"id":4828485,"label":"Ant","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"],[4828466,"lean-source","759_0"]],"kids":[["d","Zoo.Ant.Input","structure",4,"definition","","lean-source/Ant.lean",14,[],[],"","",null,[],[],0.0831,null,null,null,null,null]],"edges":[],"top":[]},"4828486":{"id":4828486,"label":"NightAudit","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/enuminous/nightengale-full-zoo-audit@b2c0e7259e919bb41b62035a596c46b564d9fcb6#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828272,"nest-slimcheck … openssl.lean/OpenS","t13"],[4828465,"nightengale-full-zoo-audit","759_0"]],"kids":[["d","asInt","def",4,"definition","(x : Float) : Int","NightAudit.lean",7,[],[],"","",null,[],[],0.2594,null,null,null,null,null],["d","beaver","def",4,"definition","(x y z : Float) : Float","NightAudit.lean",14,[],[],"","",null,[],[],0.982,null,null,null,null,null],["d","cols","def",4,"definition","(k : Nat) (x y z : Float) : List (List Float)","NightAudit.lean",11,[],[],"","",null,[],[],0.2594,null,null,null,null,null],["d","evaluate","def",4,"definition","(name : String) (x y z : Float) : Float","NightAudit.lean",17,[],[],"","",null,[],[],0.0831,null,null,null,null,null],["d","intFloat","def",4,"definition",": Int → Float","NightAudit.lean",8,[],[],"","",null,[],[],0.4595,null,null,null,null,null],["d","status","def",4,"definition","(x : Float) : Elephant.Status","NightAudit.lean",6,[],[],"","",null,[],[],0.7464,null,null,null,null,null]],"edges":[[0,3,1,0,1],[2,3,1,0,1],[3,5,1,0,1],[1,3,1,0,1],[3,4,1,0,1]],"top":[]}}}1{"chunks":{"4830801":{"id":4830801,"label":"toy-verifier/ToyVerifier","n":45,"s":[0,0,0,5,40,0,0],"env":"https://github.com/shunghsiyu/toy-verifier@5fcb5e4f98b5b2b21150df9034aa9fa528c0623d#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4830744,"theorem-proving-in … truel-blueprint/Tr","t13"]],"kids":[["g",4830802,"Secure",12,[0,0,0,0,12,0,0],"75_0",[],4830802],["g",4830803,"Machine",11,[0,0,0,0,11,0,0],"75_0",[],4830803],["g",4830804,"Verifier",11,[0,0,0,0,11,0,0],"75_0",[],4830804],["g",4830805,"Soundness",6,[0,0,0,5,1,0,0],"75_0",[["ToyVerifier.Soundness.step_consistent",3,0.4952,4830805,"75_0",14],["ToyVerifier.Soundness.helperCheck_sound",3,0.4816,4830805,"75_0",11],["ToyVerifier.Soundness.instructionSafe_consistent",3,0.4508,4830805,"75_0",8]],4830805],["g",4830806,"Syntax",4,[0,0,0,0,4,0,0],"75_0",[],4830806],["g",4830807,"Types",1,[0,0,0,0,1,0,0],"75_0",[],4830807]],"edges":[[2,3,13,0,13],[0,3,12,0,12],[0,4,11,0,11],[0,2,10,0,10],[2,4,10,0,10],[1,4,9,0,9],[3,4,5,0,5],[0,1,5,0,5],[1,3,3,0,3],[0,5,3,0,3],[2,5,3,0,3],[1,2,1,0,1],[3,5,1,0,1]],"top":[["ToyVerifier.Soundness.step_consistent",3,0.4952,4830805,"75_0",14],["ToyVerifier.Soundness.helperCheck_sound",3,0.4816,4830805,"75_0",11],["ToyVerifier.Soundness.instructionSafe_consistent",3,0.4508,4830805,"75_0",8]]},"4830802":{"id":4830802,"label":"Secure","n":12,"s":[0,0,0,0,12,0,0],"env":"https://github.com/shunghsiyu/toy-verifier@5fcb5e4f98b5b2b21150df9034aa9fa528c0623d#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4830744,"theorem-proving-in … truel-blueprint/Tr","t13"],[4830801,"toy-verifier/ToyVerifier","75_0"]],"kids":[["d","ToyVerifier.Secure.Error","inductive",4,"definition","where","ToyVerifier/Secure.lean",57,[],[],"","",null,[],[],0.9213,null,null,null,null,null],["d","ToyVerifier.Secure.Shadow.Registers","abbrev",4,"definition","","ToyVerifier/Secure.lean",9,[],[],"","",null,[],[],0.9892,null,null,null,null,null],["d","ToyVerifier.Secure.Shadow.Registers.checkInit","def",4,"definition","(shadow : Shadow.Registers) (reg : RegisterID) : Except RegisterID Unit","ToyVerifier/Secure.lean",20,[],[],"","",null,[],[],0.5703,null,null,null,null,null],["d","ToyVerifier.Secure.Shadow.Registers.dump","def",4,"definition","(regs : Registers) : List (RegisterID × RegisterType)","ToyVerifier/Secure.lean",29,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Secure.Shadow.Registers.set","def",4,"definition","(shadow : Shadow.Registers) (reg : RegisterID) (t : RegisterType) : Shadow.Registers","ToyVerifier/Secure.lean",13,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Secure.State","structure",4,"definition","","ToyVerifier/Secure.lean",61,[],[],"","",null,[],[],0.9453,null,null,null,null,null],["d","ToyVerifier.Secure.initialState","def",4,"definition",": State","ToyVerifier/Secure.lean",102,[],[],"","",null,[],[],0.6616,null,null,null,null,null],["d","ToyVerifier.Secure.instructionSafe","def",4,"definition","(shadow : Shadow.Registers) (insn : Instruction) : Except RegisterID Unit","ToyVerifier/Secure.lean",40,[],[],"","",null,[],[],0.7682,null,null,null,null,null],["d","ToyVerifier.Secure.run","def",4,"definition","(prog : Program) : Except Error Machine.RegisterValue","ToyVerifier/Secure.lean",107,[],[],"","",null,[],[],0.4816,null,null,null,null,null],["d","ToyVerifier.Secure.runHelper","def",4,"definition","(prog : Program) (current : State) (fuel : Nat) : Except Error State","ToyVerifier/Secure.lean",92,[],[],"","",null,[],[],0.674,null,null,null,null,null],["d","ToyVerifier.Secure.step","def",4,"definition","(state : State) (prog : Program) : Except Error State","ToyVerifier/Secure.lean",66,[],[],"","",null,[],[],0.7613,null,null,null,null,null],["d","ToyVerifier.Secure.stepInsn","def",4,"definition","(shadow : Shadow.Registers) (insn : Instruction) : Shadow.Registers","ToyVerifier/Secure.lean",51,[],[],"","",null,[],[],0.8622,null,null,null,null,null]],"edges":[[1,2,1,0,1],[10,11,1,0,1],[8,9,1,0,1],[1,3,1,0,1],[1,4,1,0,1],[5,6,1,0,1],[0,8,1,0,1],[1,7,1,0,1],[6,8,1,0,1],[0,10,1,0,1],[5,10,1,0,1],[1,11,1,0,1],[0,9,1,0,1],[7,10,1,0,1],[1,5,1,0,1],[9,10,1,0,1],[5,9,1,0,1]],"top":[]},"4830803":{"id":4830803,"label":"Machine","n":11,"s":[0,0,0,0,11,0,0],"env":"https://github.com/shunghsiyu/toy-verifier@5fcb5e4f98b5b2b21150df9034aa9fa528c0623d#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4830744,"theorem-proving-in … truel-blueprint/Tr","t13"],[4830801,"toy-verifier/ToyVerifier","75_0"]],"kids":[["d","ToyVerifier.Machine.Registers","abbrev",4,"definition","","ToyVerifier/Machine.lean",6,[],[],"","",null,[],[],0.9837,null,null,null,null,null],["d","ToyVerifier.Machine.Registers.dump","def",4,"definition","(regs : Registers) : List (RegisterID × RegisterValue)","ToyVerifier/Machine.lean",23,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Machine.Registers.get","def",4,"definition","(regs : Registers) (id : RegisterID)","ToyVerifier/Machine.lean",10,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Machine.Registers.set","def",4,"definition","(regs : Registers) (id : RegisterID) (val : RegisterValue) : Registers","ToyVerifier/Machine.lean",13,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Machine.State","structure",4,"definition","","ToyVerifier/Machine.lean",34,[],[],"","",null,[],[],0.9754,null,null,null,null,null],["d","ToyVerifier.Machine.initialState","def",4,"definition",": State","ToyVerifier/Machine.lean",83,[],[],"","",null,[],[],0.9127,null,null,null,null,null],["d","ToyVerifier.Machine.maxFuel","def",4,"definition",": Nat","ToyVerifier/Machine.lean",88,[],[],"","",null,[],[],0.8342,null,null,null,null,null],["d","ToyVerifier.Machine.run","def",4,"definition","(prog : Program) : RegisterValue","ToyVerifier/Machine.lean",90,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Machine.runHelper","def",4,"definition","(prog : Program) (currentState : State) (fuel : Nat) : State","ToyVerifier/Machine.lean",73,[],[],"","",null,[],[],0.5911,null,null,null,null,null],["d","ToyVerifier.Machine.step","def",4,"definition","(state : State) (prog : Program) : State","ToyVerifier/Machine.lean",53,[],[],"","",null,[],[],0.8362,null,null,null,null,null],["d","ToyVerifier.Machine.stepInsn","def",4,"definition","(regs : Registers) (insn : Instruction) : Registers","ToyVerifier/Machine.lean",39,[],[],"","",null,[],[],0.6496,null,null,null,null,null]],"edges":[[0,9,1,0,1],[0,10,1,0,1],[4,5,1,0,1],[0,3,1,0,1],[0,4,1,0,1],[8,9,1,0,1],[5,7,1,0,1],[4,7,1,0,1],[4,8,1,0,1],[5,9,1,0,1],[0,2,1,0,1],[7,8,1,0,1],[0,1,1,0,1],[6,7,1,0,1],[4,9,1,0,1],[9,10,1,0,1]],"top":[]},"4830804":{"id":4830804,"label":"Verifier","n":11,"s":[0,0,0,0,11,0,0],"env":"https://github.com/shunghsiyu/toy-verifier@5fcb5e4f98b5b2b21150df9034aa9fa528c0623d#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4830744,"theorem-proving-in … truel-blueprint/Tr","t13"],[4830801,"toy-verifier/ToyVerifier","75_0"]],"kids":[["d","ToyVerifier.Verifier.Abstract.Registers.checkInit","def",4,"definition","(regs : Registers) (reg : RegisterID) : Except RegisterID Unit","ToyVerifier/Verifier.lean",23,[],[],"","",null,[],[],0.5703,null,null,null,null,null],["d","ToyVerifier.Verifier.Abstract.Registers.dump","def",4,"definition","(regs : Registers) : List (RegisterID × RegisterType)","ToyVerifier/Verifier.lean",32,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Verifier.Abstract.Registers.get","def",4,"definition","(regs : Registers) (reg : RegisterID) : RegisterType","ToyVerifier/Verifier.lean",13,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Verifier.Abstract.Registers.set","def",4,"definition","(regs : Registers) (reg : RegisterID) (t : RegisterType) : Registers","ToyVerifier/Verifier.lean",16,[],[],"","",null,[],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Verifier.State","structure",4,"definition","","ToyVerifier/Verifier.lean",64,[],[],"","",null,[],[],0.9619,null,null,null,null,null],["d","ToyVerifier.Verifier.check","def",4,"definition","(prog : Program) : Except Error Unit","ToyVerifier/Verifier.lean",110,[],[],"","",null,[],[],0.4816,null,null,null,null,null],["d","ToyVerifier.Verifier.checkHelper","def",4,"definition","(prog : Program) (current : State) (fuel : Nat) : Except Error State","ToyVerifier/Verifier.lean",95,[],[],"","",null,[],[],0.7782,null,null,null,null,null],["d","ToyVerifier.Verifier.initialState","def",4,"definition",": State","ToyVerifier/Verifier.lean",105,[],[],"","",null,[],[],0.7219,null,null,null,null,null],["d","ToyVerifier.Verifier.instructionSafe","def",4,"definition","(regs : Abstract.Registers) (insn : Instruction) : Except RegisterID Unit","ToyVerifier/Verifier.lean",43,[],[],"","",null,[],[],0.7985,null,null,null,null,null],["d","ToyVerifier.Verifier.step","def",4,"definition","(state : State) (prog : Program) : Except Error State","ToyVerifier/Verifier.lean",69,[],[],"","",null,[],[],0.8153,null,null,null,null,null],["d","ToyVerifier.Verifier.stepInsn","def",4,"definition","(regs : Abstract.Registers) (insn : Instruction) : Abstract.Registers","ToyVerifier/Verifier.lean",54,[],[],"","",null,[],[],0.8608,null,null,null,null,null]],"edges":[[4,9,1,0,1],[6,9,1,0,1],[4,6,1,0,1],[8,9,1,0,1],[5,7,1,0,1],[5,6,1,0,1],[4,7,1,0,1],[9,10,1,0,1]],"top":[]},"4830805":{"id":4830805,"label":"Soundness","n":6,"s":[0,0,0,5,1,0,0],"env":"https://github.com/shunghsiyu/toy-verifier@5fcb5e4f98b5b2b21150df9034aa9fa528c0623d#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4830744,"theorem-proving-in … truel-blueprint/Tr","t13"],[4830801,"toy-verifier/ToyVerifier","75_0"]],"kids":[["d","ToyVerifier.Soundness.Consistent","def",4,"definition","(v : Verifier.State) (i : Secure.State) : Prop","ToyVerifier/Soundness.lean",39,[],[],"","",null,[],[],0.7083,null,null,null,null,null],["d","ToyVerifier.Soundness.helperCheck_sound","theorem",3,"unchecked","(p : Program) (v : Verifier.State) (i : Secure.State) (fuel : Nat) : Consistent v i → ∀ vNext, Verifier.checkHelper p v fuel = Except.ok vNext → ∃ iNext, Secure.runHelper p i fuel = Except.ok iNext ∧ ","ToyVerifier/Soundness.lean",104,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["False.elim",4,4396929,"32300_0"],["ToyVerifier.Verifier.State",4,4830804,"75_0"],["Program",4,4830806,"75_0"],["ToyVerifier.Secure.State",4,4830802,"75_0"],["ToyVerifier.Verifier.step",4,4830804,"75_0"]],[["ToyVerifier.Soundness.soundness",3,4830805,"75_0"]],0.4816,null,null,null,null,null],["d","ToyVerifier.Soundness.instructionSafe_consistent","theorem",3,"unchecked","(regs : RegisterID → RegisterType) (insn : Instruction) : Verifier.instructionSafe regs insn = Except.ok () → Secure.instructionSafe regs insn = Except.ok ()","ToyVerifier/Soundness.lean",7,[],[],"","",null,[["RegisterID",4,4830806,"75_0"],["RegisterType",4,4830807,"75_0"],["Instruction",4,4830806,"75_0"],["ToyVerifier.Verifier.instructionSafe",4,4830804,"75_0"],["ToyVerifier.Secure.instructionSafe",4,4830802,"75_0"],["ToyVerifier.Secure.Shadow.Registers.checkInit",4,4830802,"75_0"]],[["ToyVerifier.Soundness.step_consistent",3,4830805,"75_0"]],0.4508,null,null,null,null,null],["d","ToyVerifier.Soundness.soundness","theorem",3,"unchecked","(p : Program) : Verifier.check p = Except.ok () → ∃ v, Secure.run p = Except.ok v","ToyVerifier/Soundness.lean",171,[],[],"","",null,[["Program",4,4830806,"75_0"],["ToyVerifier.Machine.initialState",4,4830803,"75_0"],["ToyVerifier.Machine.maxFuel",4,4830803,"75_0"],["ToyVerifier.Verifier.checkHelper",4,4830804,"75_0"],["ToyVerifier.Verifier.initialState",4,4830804,"75_0"],["ToyVerifier.Soundness.Consistent",4,4830805,"75_0"]],[],0.1762,null,null,null,null,null],["d","ToyVerifier.Soundness.stepInsn_consistent","theorem",3,"unchecked",": Verifier.stepInsn = Secure.stepInsn","ToyVerifier/Soundness.lean",31,[],[],"","",null,[["ToyVerifier.Secure.stepInsn",4,4830802,"75_0"],["ToyVerifier.Verifier.stepInsn",4,4830804,"75_0"]],[["ToyVerifier.Soundness.step_consistent",3,4830805,"75_0"]],0.4508,null,null,null,null,null],["d","ToyVerifier.Soundness.step_consistent","theorem",3,"unchecked","(prog : Program) (v : Verifier.State) (i : Secure.State) : Consistent v i → ∀ vNext, Verifier.step v prog = Except.ok vNext → ∃ iNext, Secure.step i prog = Except.ok iNext ∧ Consistent vNext iNext","ToyVerifier/Soundness.lean",42,[],[],"","",null,[["some",4,3849034,"71931_0"],["ToyVerifier.Verifier.State",4,4830804,"75_0"],["Program",4,4830806,"75_0"],["ToyVerifier.Secure.State",4,4830802,"75_0"],["ToyVerifier.Secure.stepInsn",4,4830802,"75_0"],["ToyVerifier.Machine.step",4,4830803,"75_0"]],[["ToyVerifier.Soundness.helperCheck_sound",3,4830805,"75_0"]],0.4952,null,null,null,null,null]],"edges":[[0,5,1,0,1],[1,3,1,0,1],[2,5,1,0,1],[0,3,1,0,1],[4,5,1,0,1],[0,1,1,0,1],[1,5,1,0,1]],"top":[["ToyVerifier.Soundness.step_consistent",3,0.4952,4830805,"75_0",14],["ToyVerifier.Soundness.helperCheck_sound",3,0.4816,4830805,"75_0",11],["ToyVerifier.Soundness.instructionSafe_consistent",3,0.4508,4830805,"75_0",8]]},"4830806":{"id":4830806,"label":"Syntax","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/shunghsiyu/toy-verifier@5fcb5e4f98b5b2b21150df9034aa9fa528c0623d#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4830744,"theorem-proving-in … truel-blueprint/Tr","t13"],[4830801,"toy-verifier/ToyVerifier","75_0"]],"kids":[["d","Instruction","inductive",4,"definition","where","ToyVerifier/Syntax.lean",19,[],[],"","",null,[],[],0.9819,null,null,null,null,null],["d","Program","abbrev",4,"definition","","ToyVerifier/Syntax.lean",27,[],[],"","",null,[],[],0.9587,null,null,null,null,null],["d","RegisterID","inductive",4,"definition","where","ToyVerifier/Syntax.lean",1,[],[],"","",null,[],[],0.9943,null,null,null,null,null],["d","allRegs","def",4,"definition",": List RegisterID","ToyVerifier/Syntax.lean",15,[],[],"","",null,[],[],0.8267,null,null,null,null,null]],"edges":[[0,1,1,0,1],[0,2,1,0,1],[2,3,1,0,1]],"top":[]},"4830807":{"id":4830807,"label":"Types","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/shunghsiyu/toy-verifier@5fcb5e4f98b5b2b21150df9034aa9fa528c0623d#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4830744,"theorem-proving-in … truel-blueprint/Tr","t13"],[4830801,"toy-verifier/ToyVerifier","75_0"]],"kids":[["d","RegisterType","inductive",4,"definition","where","ToyVerifier/Types.lean",1,[],[],"","",null,[],[],0.9835,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4825286":{"id":4825286,"label":"model-zero/ModelZero","n":117,"s":[0,0,0,58,59,0,0],"env":"https://github.com/rockr-proof-labs/model-zero@3d2d76714d5cea6b64de85d8921c8555153a48ca#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825216,"mathtest/Mathtest … moogle","t12"]],"kids":[["d","ROCKR.Action","inductive",4,"definition","where","ModelZero.lean",335,[],[],"","",null,[],[],0.97,null,null,null,null,null],["d","ROCKR.Assurance","inductive",4,"definition","where","ModelZero.lean",110,[],[],"","",null,[],[],0.8836,null,null,"Assurance grade of an identity attestation. Recorded; read by no guard (D2(iv) = C).","docstring",null],["d","ROCKR.Attestation","structure",4,"definition","","ModelZero.lean",118,[],[],"","",null,[],[],0.9788,null,null,"The on-chain identity attestation. No personal data. `sigOK` abstracts H1.","docstring",null],["d","ROCKR.Bid","structure",4,"definition","","ModelZero.lean",143,[],[],"","",null,[],[],0.9723,null,null,"A growth-tier bid. `fromMain = true` is the Standard-Stake Exception.","docstring",null],["d","ROCKR.Coin","abbrev",4,"definition","","ModelZero.lean",107,[],[],"","",null,[],[],0.9961,null,null,null,null,null],["d","ROCKR.Cred","structure",4,"definition","","ModelZero.lean",154,[],[],"","",null,[],[],0.921,null,null,"A signed credential (ticket). Theorem 1 asset (D11).","docstring",null],["d","ROCKR.CredId","abbrev",4,"definition","","ModelZero.lean",105,[],[],"","",null,[],[],0.7527,null,null,null,null,null],["d","ROCKR.DID","abbrev",4,"definition","","ModelZero.lean",102,[],[],"","",null,[],[],0.9962,null,null,null,null,null],["d","ROCKR.Envelope","abbrev",4,"definition","","ModelZero.lean",276,[],[],"","",null,[],[],0.9734,null,null,"Envelope: the service issuance that accompanies every authenticated settlement (D4).","docstring",null],["d","ROCKR.EventClass","inductive",4,"definition","where","ModelZero.lean",130,[],[],"","",null,[],[],0.836,null,null,"The three event classes of whitepaper 8.1 §7.1.2.","docstring",null],["d","ROCKR.ExpId","abbrev",4,"definition","","ModelZero.lean",104,[],[],"","",null,[],[],0.9888,null,null,null,null,null],["d","ROCKR.Experience","structure",4,"definition","","ModelZero.lean",161,[],[],"","",null,[],[],0.9746,null,null,null,null,null],["d","ROCKR.Genesis","structure",4,"definition","","ModelZero.lean",705,[],[],"","",null,[],[],0.9662,null,null,"Genesis (D4): the published, itemised allocation for pre-launch attested work, closed at launch. Every genesis DID carries an attestation. This is a STATE, not a move; the theorems are about moves.","docstring",null],["d","ROCKR.Genesis.total","def",4,"definition","(g : Genesis) : Coin","ModelZero.lean",713,[],[],"","",null,[],[],0.0829,null,null,null,null,null],["d","ROCKR.H1_unforgeable","axiom",4,"definition",": ∀ a : Attestation, a.sigOK = true → signedBy a a.issuer","ModelZero.lean",744,[],[],"","",null,[],[],0.0829,null,null,"H1 — signature unforgeability: a valid signature came from the named issuer's key.","docstring",null],["d","ROCKR.H2_consensus_single_trace","axiom",4,"definition",": True","ModelZero.lean",749,[],[],"","",null,[],[],0.0829,null,null,"H2 — consensus safety: under fewer than one third faulty validators, CometBFT commits a single ordered log; hence there is one Reachable trace. Stated as an axiom about the framework, not proved here.","docstring",null],["d","ROCKR.H3_verifier_honest","axiom",4,"definition",": ∀ (s : State) (a : Attestation), s.accredited a.issuer = true → a.sigOK = true → realHuman a.subject","ModelZero.lean",752,[],[],"","",null,[],[],0.0829,null,null,"H3 — accredited-verifier honesty: an accredited instance only attests real humans.","docstring",null],["d","ROCKR.H4_gate_honest","axiom",4,"definition",": ∀ (s : State) (e : Experience), e ∈ s.experiences → e.authenticated = true → happened e.id ∧ ∀ d ∈ e.authenticatedDIDs, presentAt d e.id","ModelZero.lean",757,[],[],"","",null,[],[],0.0829,null,null,"H4 — gate-quorum honesty: an authenticated experience happened, and each authenticated DID was present. RP3's false-acceptance bound is the research that shrinks this assumption.","docstring",null],["d","ROCKR.InstanceId","abbrev",4,"definition","","ModelZero.lean",103,[],[],"","",null,[],[],0.9774,null,null,null,null,null],["d","ROCKR.Inv","structure",4,"definition","(s : State) : Prop","ModelZero.lean",1176,[],[],"","",null,[],[],0.8464,null,null,null,null,null],["d","ROCKR.Inv_genesis","theorem",3,"unchecked","(g : Genesis) : Inv (genesisState g) where cons","ModelZero.lean",1187,[],[],"","",null,[["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.genesisState",4,4825286,"760_0"],["ROCKR.creditAll",4,4825286,"760_0"],["ROCKR.Inv",4,4825286,"760_0"],["ROCKR.genesis_ledger_holders",3,4825286,"760_0"],["ROCKR.creditAll_outside",3,4825286,"760_0"]],[["ROCKR.Inv_reachable",3,4825286,"760_0"]],0.662,null,null,null,null,null],["d","ROCKR.Inv_reachable","theorem",3,"unchecked","(g : Genesis) (s : State) (hr : Reachable g s) : Inv s","ModelZero.lean",1531,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.Reachable",4,4825286,"760_0"],["ROCKR.Inv",4,4825286,"760_0"],["ROCKR.Inv_genesis",3,4825286,"760_0"],["ROCKR.Inv_step",3,4825286,"760_0"]],[["ROCKR.T4_ledger",3,4825286,"760_0"],["ROCKR.T4_conservation",3,4825286,"760_0"],["ROCKR.T2_evidence",3,4825286,"760_0"]],0.8016,null,null,"**The invariant holds in every reachable state.**","docstring",null],["d","ROCKR.Inv_step","theorem",3,"unchecked","{s s' : State} {a : Action} (h : Inv s) (hs : Step s a s') : Inv s'","ModelZero.lean",1227,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["halt",4,3053856,"62701_0"],["OwnPhase3.fee",4,445924,"24867_2"],["Bool.false_eq_true",3,2742637,"4171_17"],["hs'",3,5099693,"49735_0"],["hsrc",4,3111831,"61091_14"]],[["ROCKR.Inv_reachable",3,4825286,"760_0"]],0.662,null,null,null,null,null],["d","ROCKR.IssuanceRecord","structure",4,"definition","","ModelZero.lean",177,[],[],"","",null,[],[],0.9297,null,null,"Evidence object left by every issuance. TARS may only fire against one of these.","docstring",null],["d","ROCKR.Params","structure",4,"definition","","ModelZero.lean",185,[],[],"","",null,[],[],0.9562,null,null,null,null,null],["d","ROCKR.RUIPA_nontransferable","theorem",3,"unchecked","(s s' : State) (a : Action) (x y : DID) (w w' : Nat) (hs : Step s a s') (hxy : x ≠ y) (hx : s'.ruipaUsed x w ≠ s.ruipaUsed x w) : s'.ruipaUsed y w' = s.ruipaUsed y w'","ModelZero.lean",900,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["Bool.false_eq_true",3,2742637,"4171_17"],["ROCKR.DID",4,4825286,"760_0"],["deactivate",4,1015761,"26330_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"]],[],0.0829,null,null,"**RUIPA is non-transferable by construction (R16).** A step that changes one DID's schedule changes no other DID's schedule: allowance moves only between a participant and the protocol (lock, release, consumption, erasure/deactivation), never between participants, and never across weeks (each cell is its own week).","docstring",null],["d","ROCKR.Reachable","inductive",4,"definition","(g : Genesis) : State → Prop where","ModelZero.lean",731,[],[],"","",null,[],[],0.8975,null,null,"The states the chain can ever be in: genesis, closed under Step.","docstring",null],["d","ROCKR.Registration","structure",4,"definition","","ModelZero.lean",136,[],[],"","",null,[],[],0.9139,null,null,null,null,null],["d","ROCKR.State","structure",4,"definition","","ModelZero.lean",206,[],[],"","",null,[],[],0.9941,null,null,null,null,null],["d","ROCKR.Step","inductive",4,"definition",": State → Action → State → Prop where","ModelZero.lean",375,[],[],"","",null,[],[],0.9736,null,null,null,null,null],["d","ROCKR.T1_coin","theorem",3,"unchecked","(g : Genesis) (s s' : State) (src dst : DID) (amt fee : Coin) (feeTo : DID) (hr : Reachable g s) (hs : Step s (.transfer src dst amt fee feeTo) s') : verified s src ∧ verified s dst","ModelZero.lean",773,[],[],"","",null,[["OwnPhase3.fee",4,445924,"24867_2"],["hsrc",4,3111831,"61091_14"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 1 (attested transfer), coin.** A settled transfer has a verified sender and receiver.","docstring",null],["d","ROCKR.T1_cred","theorem",3,"unchecked","(g : Genesis) (s s' : State) (c : Cred) (dst : DID) (hr : Reachable g s) (hs : Step s (.transferCred c dst) s') : verified s c.holder ∧ verified s dst","ModelZero.lean",780,[],[],"","",null,[["hsrc",4,3111831,"61091_14"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.Cred",4,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 1, credentials (D11).**","docstring",null],["d","ROCKR.T1_no_unauthorised_debit","theorem",3,"unchecked","(s s' : State) (a : Action) (d : DID) (hs : Step s a s') (hdec : s'.bal d < s.bal d) : payer a = some d","ModelZero.lean",814,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["congrArg",3,4396931,"32300_0"],["OwnPhase3.fee",4,445924,"24867_2"],["Nat.le_trans",3,4396930,"32300_0"],["Nat.le_refl",3,4396930,"32300_0"],["hge",4,1827527,"15978_0"]],[],0.0829,null,null,"**Theorem 1, closure / no unauthorised debit (D14 = b).** A DID's Main balance never falls unless that DID is the payer of the action. There is no governance freeze-and-return.","docstring",null],["d","ROCKR.T2_evidence","theorem",3,"unchecked","(g : Genesis) (s s' : State) (a : Action) (hr : Reachable g s) (hs : Step s a s') : s'.supply + s'.retired + issuedTotal s = s.supply + s.retired + issuedTotal s'","ModelZero.lean",1541,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Action",4,4825286,"760_0"],["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.issuedTotal",4,4825286,"760_0"],["ROCKR.Reachable",4,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 2, sharp form (RP2).** Every unit of increase is matched by issuance records left in `s'`.","docstring",null],["d","ROCKR.T2_issuance","theorem",3,"unchecked","(g : Genesis) (s s' : State) (a : Action) (hr : Reachable g s) (hs : Step s a s') (hgrow : s'.supply > s.supply) : (∃ eid e, actionExp a = some eid ∧ findExp s eid = some e ∧ e.authenticated = true) ∨","ModelZero.lean",958,[],[],"","",null,[["OwnPhase3.fee",4,445924,"24867_2"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Time",4,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 2 (issuance only against authenticated live experience).** If supply grows, the action was a settlement of an experience that is authenticated in `s`, or (trial configuration only) a TARS correction against an existing issuance record.","docstring",null],["d","ROCKR.T3_erasure","theorem",3,"unchecked","(s s' : State) (d : DID) (hs : Step s (.erase d) s') : s'.bal = s.bal ∧ s'.creds = s.creds ∧ s'.attest = s.attest ∧ s'.locks = s.locks ∧ s'.supply = s.supply ∧ (verified s' d ↔ verified s d) ∧ s'.reso","ModelZero.lean",1553,[],[],"","",null,[["Iff.rfl",3,1220454,"20446_0"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.verified",4,4825286,"760_0"],["ROCKR.updB",4,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 3 (erasure with asset preservation).** Erasure leaves balances, credentials, attestations, locks, supply and verified status unchanged; it cuts the off-chain link and ends the DID's membership of the erasing instance (read-back strike: `active` false, schedule cleared).","docstring",null],["d","ROCKR.T4_conservation","theorem",3,"unchecked","(g : Genesis) (s : State) (hr : Reachable g s) : s.supply = sumBal s + lockedMain s","ModelZero.lean",1571,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.sumBal",4,4825286,"760_0"],["ROCKR.Reachable",4,4825286,"760_0"],["ROCKR.lockedMain",4,4825286,"760_0"],["ROCKR.Inv_reachable",3,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 4, balance conservation.** In every reachable state, supply equals the sum of all holders' Main balances plus Main-funded locks.","docstring",null],["d","ROCKR.T4_halt","theorem",3,"unchecked","(s s' : State) (a : Action) (hh : s.halted = true) (hs : Step s a s') : False","ModelZero.lean",1578,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Action",4,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 4, halt semantics.** A halted state admits no further step. Together with the two invariants above this is the safety form: no block ever commits with an invariant broken; the chain halts first.","docstring",null],["d","ROCKR.T4_ledger","theorem",3,"unchecked","(g : Genesis) (s : State) (hr : Reachable g s) : s.supply + s.retired = s.genesisTotal + issuedTotal s","ModelZero.lean",1565,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.issuedTotal",4,4825286,"760_0"],["ROCKR.Reachable",4,4825286,"760_0"],["ROCKR.Inv_reachable",3,4825286,"760_0"]],[],0.0829,null,null,"**Theorem 4 (supply invariants with halt semantics), ledger identity.** In every reachable state, supply plus retired equals genesis plus the sum of all issuance records: no money from nowhere.","docstring",null],["d","ROCKR.Time","abbrev",4,"definition","","ModelZero.lean",106,[],[],"","",null,[],[],0.9702,null,null,null,null,null],["d","ROCKR.actionExp","def",4,"definition",": Action → Option ExpId","ModelZero.lean",949,[],[],"","",null,[],[],0.4643,null,null,"The experience an action settles, if any.","docstring",null],["d","ROCKR.beyondFreeWindow","def",4,"definition","(s : State) (w : Nat) : Prop","ModelZero.lean",305,[],[],"","",null,[],[],0.745,null,null,"R17: is the target week beyond the free forward window?","docstring",null],["d","ROCKR.class_integrity","theorem",3,"unchecked","(s s' : State) (eid : ExpId) (hs : Step s (.classifySeeding eid) s') : ∃ e, findExp s eid = some e ∧ hurdleMet s e ∧ e.instrumentFixed = true ∧ e.cls = none","ModelZero.lean",1585,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.ExpId",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.findExp",4,4825286,"760_0"],["ROCKR.hurdleMet",4,4825286,"760_0"]],[],0.0829,null,null,"**Class integrity (D13, RP2).** Seeding classification implies the hurdle was met from on-chain registrations, the instrument was fixed beforehand, and the class had not been set.","docstring",null],["d","ROCKR.clearW","def",4,"definition","(f : DID → Nat → Coin) (d : DID) : DID → Nat → Coin","ModelZero.lean",247,[],[],"","",null,[],[],0.6392,null,null,"Clear a DID's whole schedule (erasure / deactivation).","docstring",null],["d","ROCKR.contractEnv","def",4,"definition","(s : State) (value : Coin) : Envelope","ModelZero.lean",309,[],[],"","",null,[],[],0.5986,null,null,"R19: the contractual envelope lines for a settlement of `value`.","docstring",null],["d","ROCKR.contract_immune_to_governance","theorem",3,"unchecked","(s s' : State) (p : Params) (hs : Step s (.govParams p) s') : s'.contractSchedule = s.contractSchedule","ModelZero.lean",1620,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Params",4,4825286,"760_0"]],[],0.0829,null,null,"**Contractual envelope is immune to governance (R19).** `govParams` leaves the schedule alone.","docstring",null],["d","ROCKR.creditAll","def",4,"definition","(bal : DID → Coin) : Envelope → (DID → Coin)","ModelZero.lean",280,[],[],"","",null,[],[],0.9057,null,null,null,null,null],["d","ROCKR.creditAll_ge","theorem",3,"unchecked","(env : Envelope) : ∀ (bal : DID → Coin) (d : DID), bal d ≤ creditAll bal env d","ModelZero.lean",787,[],[],"","",null,[["Nat.le_trans",3,4396930,"32300_0"],["Nat.le_refl",3,4396930,"32300_0"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.Envelope",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"]],[["ROCKR.T1_no_unauthorised_debit",3,4825286,"760_0"]],0.3579,null,null,"Crediting an envelope never lowers any balance.","docstring",null],["d","ROCKR.creditAll_outside","theorem",3,"unchecked","(env : Envelope) : ∀ (f : DID → Coin) (y : DID), (∀ p ∈ env, p.1 ≠ y) → creditAll f env y = f y","ModelZero.lean",1114,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.Envelope",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"],["ROCKR.creditAll",4,4825286,"760_0"],["ROCKR.upd_ne",3,4825286,"760_0"]],[["ROCKR.Inv_genesis",3,4825286,"760_0"],["ROCKR.Inv_step",3,4825286,"760_0"]],0.6287,null,null,null,null,null],["d","ROCKR.envTotal","def",4,"definition","(env : Envelope) : Coin","ModelZero.lean",278,[],[],"","",null,[],[],0.9507,null,null,null,null,null],["d","ROCKR.envTotal_append","theorem",3,"unchecked","(e₁ e₂ : Envelope) : envTotal (e₁ ++ e₂) = envTotal e₁ + envTotal e₂","ModelZero.lean",1099,[],[],"","",null,[["ROCKR.Envelope",4,4825286,"760_0"],["ROCKR.envTotal",4,4825286,"760_0"],["ROCKR.foldl_add_append",3,4825286,"760_0"]],[],0.0829,null,null,null,null,null],["d","ROCKR.envTotal_cons","theorem",3,"unchecked","(p : DID × Coin) (rest : Envelope) : envTotal (p :: rest) = p.2 + envTotal rest","ModelZero.lean",1096,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.Envelope",4,4825286,"760_0"],["ROCKR.envTotal",4,4825286,"760_0"],["ROCKR.foldl_add_cons",3,4825286,"760_0"]],[["ROCKR.sumOver_creditAll",3,4825286,"760_0"]],0.525,null,null,null,null,null],["d","ROCKR.envTotal_nil","theorem",3,"unchecked",": envTotal [] = 0","ModelZero.lean",1094,[],[],"","",null,[["ROCKR.envTotal",4,4825286,"760_0"]],[],0.0829,null,null,null,null,null],["d","ROCKR.erased_can_still_transfer","theorem",3,"unchecked","(s s' : State) (d dst : DID) (amt fee : Coin) (feeTo : DID) (he : Step s (.erase d) s') (hpre : ∃ t, Step s (.transfer d dst amt fee feeTo) t) : ∃ t', Step s' (.transfer d dst amt fee feeTo) t'","ModelZero.lean",1600,[],[],"","",null,[["ht",4,428364,"20702_0"],["OwnPhase3.fee",4,445924,"24867_2"],["hsrc",4,3111831,"61091_14"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"]],[],0.0829,null,null,"**Erasure does not stop spending (D3).** After erasure, if the DID was verified it still is, and any transfer it could make it can still make.","docstring",null],["d","ROCKR.far_bid_is_bonded","theorem",3,"unchecked","(s s' : State) (b : Bid) (hs : Step s (.lockRuipa b) s') : (b.bond = true ↔ beyondFreeWindow s b.week)","ModelZero.lean",1634,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Bid",4,4825286,"760_0"],["ROCKR.beyondFreeWindow",4,4825286,"760_0"]],[],0.0829,null,null,"**A far-horizon RUIPA bid carries a bond exactly when beyond the free window (R17).**","docstring",null],["d","ROCKR.filter_ne_comm","theorem",3,"unchecked","(l : List DID) (a x : DID) : (l.filter (fun b => !b == a)).filter (fun b => !b == x) = (l.filter (fun b => !b == x)).filter (fun b => !b == a)","ModelZero.lean",1035,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"]],[["ROCKR.sumOver_split",3,4825286,"760_0"]],0.57,null,null,null,null,null],["d","ROCKR.findExp","def",4,"definition","(s : State) (e : ExpId) : Option Experience","ModelZero.lean",259,[],[],"","",null,[],[],0.837,null,null,null,null,null],["d","ROCKR.foldl_add_append","theorem",3,"unchecked","(l₁ l₂ : List Coin) : (l₁ ++ l₂).foldl (· + ·) 0 = l₁.foldl (· + ·) 0 + l₂.foldl (· + ·) 0","ModelZero.lean",988,[],[],"","",null,[["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.foldl_add_start",3,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"],["ROCKR.envTotal_append",3,4825286,"760_0"]],0.7509,null,null,null,null,null],["d","ROCKR.foldl_add_cons","theorem",3,"unchecked","(x : Coin) (l : List Coin) : (x :: l).foldl (· + ·) 0 = x + l.foldl (· + ·) 0","ModelZero.lean",984,[],[],"","",null,[["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.foldl_add_start",3,4825286,"760_0"]],[["ROCKR.sumOver_cons",3,4825286,"760_0"],["ROCKR.foldl_add_map_zero",3,4825286,"760_0"],["ROCKR.Inv_step",3,4825286,"760_0"],["ROCKR.envTotal_cons",3,4825286,"760_0"],["ROCKR.lockSum_erase",3,4825286,"760_0"]],0.9207,null,null,null,null,null],["d","ROCKR.foldl_add_map_zero","theorem",3,"unchecked","{α : Type} (l : List α) : (l.map (fun _ => (0 : Coin))).foldl (· + ·) 0 = 0","ModelZero.lean",992,[],[],"","",null,[["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.foldl_add_cons",3,4825286,"760_0"]],[["ROCKR.sumOver_zero",3,4825286,"760_0"]],0.7531,null,null,null,null,null],["d","ROCKR.foldl_add_start","theorem",3,"unchecked","(l : List Coin) (a : Coin) : l.foldl (· + ·) a = a + l.foldl (· + ·) 0","ModelZero.lean",979,[],[],"","",null,[["ROCKR.Coin",4,4825286,"760_0"]],[["ROCKR.foldl_add_cons",3,4825286,"760_0"],["ROCKR.foldl_add_append",3,4825286,"760_0"],["ROCKR.lockSum_erase",3,4825286,"760_0"]],0.9475,null,null,null,null,null],["d","ROCKR.forfeit_pays_no_one","theorem",3,"unchecked","(s s' : State) (eid : ExpId) (b : Bid) (d : DID) (hs : Step s (.forfeit eid b) s') : s'.bal d = s.bal d","ModelZero.lean",1613,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.ExpId",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Bid",4,4825286,"760_0"]],[],0.0829,null,null,"**Forfeiture retires, never pays (read-back strike).** A forfeit move never increases any balance: no party gains from a failed Tier B check.","docstring",null],["d","ROCKR.genesisState","def",4,"definition","(g : Genesis) : State","ModelZero.lean",715,[],[],"","",null,[],[],0.9072,null,null,null,null,null],["d","ROCKR.genesis_ledger_holders","theorem",3,"unchecked","(g : Genesis) : ∀ p ∈ g.ledger, p.1 ∈ (genesisState g).holders","ModelZero.lean",1159,[],[],"","",null,[["holders",4,4397454,"36569_0"],["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.genesisState",4,4825286,"760_0"]],[["ROCKR.Inv_genesis",3,4825286,"760_0"],["ROCKR.sumBal_genesis",3,4825286,"760_0"]],0.7051,null,null,null,null,null],["d","ROCKR.grade_is_not_a_gate","theorem",3,"unchecked","(s : State) (d : DID) (a : Attestation) (lv : Assurance) (hin : a ∈ s.attest d) : (s.time < a.expires ∧ s.revoked a = false ∧ s.accredited a.issuer = true ∧ a.sigOK = true) ↔ (s.time < ({ a with level","ModelZero.lean",1642,[],[],"","",null,[["Iff.rfl",3,1220454,"20446_0"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.Attestation",4,4825286,"760_0"],["ROCKR.Assurance",4,4825286,"760_0"]],[],0.0829,null,null,"**Assurance grade is read by no guard (D2(iv) = C).** Two attestations differing only in level yield the same `verified` verdict.","docstring",null],["d","ROCKR.happened","opaque",4,"definition",": ExpId → Prop","ModelZero.lean",739,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","ROCKR.hurdleMet","def",4,"definition","(s : State) (e : Experience) : Prop","ModelZero.lean",271,[],[],"","",null,[],[],0.71,null,null,"The excess-demand hurdle: ratio AND absolute floor (D13). Rule inside the model; numbers in Params.","docstring",null],["d","ROCKR.issuanceAction","def",4,"definition",": Action → Prop","ModelZero.lean",941,[],[],"","",null,[],[],0.0829,null,null,"Which actions may increase supply.","docstring",null],["d","ROCKR.issuedTotal","def",4,"definition","(s : State) : Coin","ModelZero.lean",319,[],[],"","",null,[],[],0.9133,null,null,null,null,null],["d","ROCKR.issuedTotal_def","theorem",3,"unchecked","(s : State) : issuedTotal s = (s.issued.map (·.amount)).foldl (· + ·) 0","ModelZero.lean",1127,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.issuedTotal",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.le_sumOver","theorem",3,"unchecked","(l : List DID) (f : DID → Coin) (x : DID) (hx : x ∈ l) : f x ≤ sumOver l f","ModelZero.lean",1064,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.sumOver_split",3,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.le_upd_self","theorem",3,"unchecked","(f : DID → Coin) (x : DID) (c : Coin) (y : DID) : f y ≤ upd f x (f x + c) y","ModelZero.lean",806,[],[],"","",null,[["Nat.le_refl",3,4396930,"32300_0"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"]],[["ROCKR.T1_no_unauthorised_debit",3,4825286,"760_0"]],0.3579,null,null,"A credit never lowers any balance (v0.2.1 helper for the sequential updates of Strike 3b).","docstring",null],["d","ROCKR.list_len_induction","theorem",3,"unchecked","{P : List DID → Prop} (h : ∀ l, (∀ l', l'.length < l.length → P l') → P l) (l : List DID) : P l","ModelZero.lean",1010,[],[],"","",null,[["Nat.le_refl",3,4396930,"32300_0"],["ROCKR.DID",4,4825286,"760_0"]],[["ROCKR.sumOver_split",3,4825286,"760_0"],["ROCKR.sumOver_ext",3,4825286,"760_0"]],0.7273,null,null,"Strong induction on length, the shape every `eraseDups` lemma below needs.","docstring",null],["d","ROCKR.lockSum_erase","theorem",3,"unchecked","(l : List Bid) (b : Bid) (hb : b ∈ l) : (l.map lockVal).foldl (· + ·) 0 = lockVal b + ((l.erase b).map lockVal).foldl (· + ·) 0","ModelZero.lean",1139,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["ROCKR.Bid",4,4825286,"760_0"],["ROCKR.foldl_add_start",3,4825286,"760_0"],["ROCKR.foldl_add_cons",3,4825286,"760_0"],["ROCKR.lockVal",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.lockVal","def",4,"definition","(b : Bid) : Coin","ModelZero.lean",1135,[],[],"","",null,[],[],0.8246,null,null,"What one lock holds of Main coin (Strike 2: the recorded bond).","docstring",null],["d","ROCKR.lockedMain","def",4,"definition","(s : State) : Coin","ModelZero.lean",316,[],[],"","",null,[],[],0.8841,null,null,"Main coin held in locks: Standard-Stake amounts plus far-horizon bonds.","docstring",null],["d","ROCKR.lockedMain_def","theorem",3,"unchecked","(s : State) : lockedMain s = (s.locks.map lockVal).foldl (· + ·) 0","ModelZero.lean",1137,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.lockedMain",4,4825286,"760_0"],["ROCKR.lockVal",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.locksFor","def",4,"definition","(s : State) (e : ExpId) : Nat","ModelZero.lean",285,[],[],"","",null,[],[],0.4719,null,null,"Committed seats for an experience (locks in place).","docstring",null],["d","ROCKR.mainFundedCount","def",4,"definition","(s : State) (d : DID) (w : Nat) : Nat","ModelZero.lean",289,[],[],"","",null,[],[],0.4719,null,null,"Main-funded (Standard-Stake) entries by a DID in a week.","docstring",null],["d","ROCKR.mem_filter_ne","theorem",3,"unchecked","{x a : DID} {l : List DID} : x ∈ l.filter (fun b => !b == a) ↔ x ∈ l ∧ x ≠ a","ModelZero.lean",1018,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"]],[["ROCKR.sumOver_split",3,4825286,"760_0"]],0.57,null,null,null,null,null],["d","ROCKR.mem_of_mem_erase'","theorem",3,"unchecked","{l : List Bid} {a b : Bid} (h : a ∈ l.erase b) : a ∈ l","ModelZero.lean",1154,[],[],"","",null,[["ROCKR.Bid",4,4825286,"760_0"]],[],0.0829,null,null,null,null,null],["d","ROCKR.ne_of_holder","theorem",3,"unchecked","{l : List DID} {x y : DID} (hy : y ∈ l) (hx : x ∉ l) : x ≠ y","ModelZero.lean",1224,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.payer","def",4,"definition",": Action → Option DID","ModelZero.lean",764,[],[],"","",null,[],[],0.7465,null,null,"Which DID, if any, is debited by an action (the actor whose key must have signed).","docstring",null],["d","ROCKR.porch_requires_verdict","theorem",3,"unchecked","(s s' : State) (eid : ExpId) (hs : Step s (.porchRelease eid) s') : ∃ e, findExp s eid = some e ∧ e.authenticated = true","ModelZero.lean",1592,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.ExpId",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.findExp",4,4825286,"760_0"]],[],0.0829,null,null,"**Porch release requires the verdict (D12).**","docstring",null],["d","ROCKR.presentAt","opaque",4,"definition",": DID → ExpId → Prop","ModelZero.lean",740,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","ROCKR.publishShape_moves_nothing","theorem",3,"unchecked","(s s' : State) (c n : Nat) (hs : Step s (.publishShape c n) s') : s'.bal = s.bal ∧ s'.supply = s.supply","ModelZero.lean",1627,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"]],[],0.0829,null,null,"**Landscape moves no value.**","docstring",null],["d","ROCKR.realHuman","opaque",4,"definition",": DID → Prop","ModelZero.lean",738,[],[],"","",null,[],[],0.7351,null,null,"Opaque real-world predicates the chain cannot see.","docstring",null],["d","ROCKR.recs_total","theorem",3,"unchecked","(e : ExpId) (env : Envelope) : ((env.map (fun p => ({ exp := e, recipient := p.1, amount := p.2 } : IssuanceRecord))).map (·.amount)).foldl (· + ·) 0 = envTotal env","ModelZero.lean",1129,[],[],"","",null,[["ROCKR.ExpId",4,4825286,"760_0"],["ROCKR.Envelope",4,4825286,"760_0"],["ROCKR.envTotal",4,4825286,"760_0"],["ROCKR.IssuanceRecord",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.replaceExp","def",4,"definition","(s : State) (e : Experience) : List Experience","ModelZero.lean",262,[],[],"","",null,[],[],0.4719,null,null,null,null,null],["d","ROCKR.reservedSeats","def",4,"definition","(s : State) (e : Experience) : Nat","ModelZero.lean",293,[],[],"","",null,[],[],0.7508,null,null,"R18: seats reserved for the final window; zero below the capacity floor and for seeding.","docstring",null],["d","ROCKR.seatsOpen","def",4,"definition","(s : State) (e : Experience) : Nat","ModelZero.lean",300,[],[],"","",null,[],[],0.4719,null,null,"R18: seats available to a bid placed now — full capacity inside the window, else capacity minus the reservation. Policy outside Γ, carried here so the model can replay it.","docstring",null],["d","ROCKR.signedBy","opaque",4,"definition",": Attestation → InstanceId → Prop","ModelZero.lean",741,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","ROCKR.statedPriceRegs","def",4,"definition","(s : State) (e : ExpId) : Nat","ModelZero.lean",267,[],[],"","",null,[],[],0.7745,null,null,"Verified registrations at the stated price for experience `e`. One DID, one registration is enforced by the `register` guard; this counts them.","docstring",null],["d","ROCKR.step_genesisTotal","theorem",3,"unchecked","{s s' : State} {a : Action} (hs : Step s a s') : s'.genesisTotal = s.genesisTotal","ModelZero.lean",1537,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.Step",4,4825286,"760_0"],["ROCKR.Action",4,4825286,"760_0"]],[["ROCKR.T2_evidence",3,4825286,"760_0"]],0.5266,null,null,"No move changes the published genesis total.","docstring",null],["d","ROCKR.sumBal","def",4,"definition","(s : State) : Coin","ModelZero.lean",312,[],[],"","",null,[],[],0.8996,null,null,null,null,null],["d","ROCKR.sumBal_def","theorem",3,"unchecked","(s : State) : sumBal s = sumOver s.holders s.bal","ModelZero.lean",1000,[],[],"","",null,[["ROCKR.State",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.sumBal",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"],["ROCKR.sumBal_genesis",3,4825286,"760_0"]],0.5515,null,null,null,null,null],["d","ROCKR.sumBal_genesis","theorem",3,"unchecked","(g : Genesis) : sumBal (genesisState g) = g.total","ModelZero.lean",1165,[],[],"","",null,[["holders",4,4397454,"36569_0"],["ROCKR.Genesis",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.genesisState",4,4825286,"760_0"],["ROCKR.creditAll",4,4825286,"760_0"],["ROCKR.sumBal",4,4825286,"760_0"]],[["ROCKR.Inv_genesis",3,4825286,"760_0"]],0.5977,null,null,null,null,null],["d","ROCKR.sumOver","def",4,"definition","(l : List DID) (f : DID → Coin) : Coin","ModelZero.lean",998,[],[],"","",null,[],[],0.9654,null,null,"Sum of `f` over the distinct elements of `l`; `sumBal s = sumOver s.holders s.bal`.","docstring",null],["d","ROCKR.sumOver_cons","theorem",3,"unchecked","(a : DID) (l : List DID) (f : DID → Coin) : sumOver (a :: l) f = f a + sumOver (l.filter (fun b => !b == a)) f","ModelZero.lean",1005,[],[],"","",null,[["List.eraseDups_cons",3,2356140,"38216_0"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.foldl_add_cons",3,4825286,"760_0"]],[["ROCKR.sumOver_split",3,4825286,"760_0"],["ROCKR.sumOver_ext",3,4825286,"760_0"],["ROCKR.sumOver_cons_of",3,4825286,"760_0"]],0.8012,null,null,null,null,null],["d","ROCKR.sumOver_cons_of","theorem",3,"unchecked","(a : DID) (l : List DID) (f : DID → Coin) (h : a ∈ l ∨ f a = 0) : sumOver (a :: l) f = sumOver l f","ModelZero.lean",1067,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.sumOver_split",3,4825286,"760_0"],["ROCKR.sumOver_cons",3,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.sumOver_credit","theorem",3,"unchecked","(l : List DID) (f : DID → Coin) (x : DID) (c : Coin) (hx : x ∈ l) : sumOver l (upd f x (f x + c)) = sumOver l f + c","ModelZero.lean",1085,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"],["ROCKR.sumOver_upd",3,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"],["ROCKR.sumOver_creditAll",3,4825286,"760_0"],["ROCKR.sumOver_transfer",3,4825286,"760_0"]],0.7118,null,null,null,null,null],["d","ROCKR.sumOver_creditAll","theorem",3,"unchecked","(l : List DID) (env : Envelope) : ∀ (f : DID → Coin), (∀ p ∈ env, p.1 ∈ l) → sumOver l (creditAll f env) = sumOver l f + envTotal env","ModelZero.lean",1102,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.Envelope",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"],["ROCKR.envTotal",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"],["ROCKR.sumBal_genesis",3,4825286,"760_0"]],0.5515,null,null,null,null,null],["d","ROCKR.sumOver_ext","theorem",3,"unchecked","(l : List DID) (f g : DID → Coin) (h : ∀ y ∈ l, f y = g y) : sumOver l f = sumOver l g","ModelZero.lean",1022,[],[],"","",null,[["Nat.lt_of_le_of_lt",3,4396930,"32300_0"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.sumOver_cons",3,4825286,"760_0"],["ROCKR.list_len_induction",3,4825286,"760_0"]],[["ROCKR.sumOver_upd",3,4825286,"760_0"]],0.625,null,null,null,null,null],["d","ROCKR.sumOver_nil","theorem",3,"unchecked","(f : DID → Coin) : sumOver [] f = 0","ModelZero.lean",1002,[],[],"","",null,[["List.eraseDupsBy",4,438210,"21731_5"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"]],[["ROCKR.sumOver_split",3,4825286,"760_0"],["ROCKR.sumOver_ext",3,4825286,"760_0"]],0.7273,null,null,null,null,null],["d","ROCKR.sumOver_split","theorem",3,"unchecked","(l : List DID) (f : DID → Coin) (x : DID) : sumOver l f = (if x ∈ l then f x else 0) + sumOver (l.filter (fun b => !b == x)) f","ModelZero.lean",1042,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["Nat.lt_of_le_of_lt",3,4396930,"32300_0"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.sumOver_cons",3,4825286,"760_0"]],[["ROCKR.sumOver_upd",3,4825286,"760_0"],["ROCKR.le_sumOver",3,4825286,"760_0"],["ROCKR.sumOver_cons_of",3,4825286,"760_0"]],0.8344,null,null,"The key split: the sum over the distinct elements of `l` is `x`'s share plus the rest.","docstring",null],["d","ROCKR.sumOver_transfer","theorem",3,"unchecked","(l : List DID) (f : DID → Coin) (src dst feeTo : DID) (amt fee : Coin) (h1 : src ∈ l) (h2 : dst ∈ l) (h3 : feeTo ∈ l) (hbal : f src ≥ amt + fee) : sumOver l (let b1 := upd f src (f src - amt - fee) le","ModelZero.lean",1206,[],[],"","",null,[["OwnPhase3.fee",4,445924,"24867_2"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"],["ROCKR.sumOver_upd",3,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,"Balance moves of a transfer (Strike 3b): the sum over holders is unchanged.","docstring",null],["d","ROCKR.sumOver_upd","theorem",3,"unchecked","(l : List DID) (f : DID → Coin) (x : DID) (v : Coin) (hx : x ∈ l) : sumOver l (upd f x v) + f x = sumOver l f + v","ModelZero.lean",1077,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"],["ROCKR.sumOver_split",3,4825286,"760_0"],["ROCKR.upd_ne",3,4825286,"760_0"]],[["ROCKR.sumOver_credit",3,4825286,"760_0"],["ROCKR.Inv_step",3,4825286,"760_0"],["ROCKR.sumOver_transfer",3,4825286,"760_0"]],0.7778,null,null,"Changing one holder's balance changes the sum by exactly the difference (additive form).","docstring",null],["d","ROCKR.sumOver_zero","theorem",3,"unchecked","(l : List DID) : sumOver l (fun _ => 0) = 0","ModelZero.lean",1089,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.sumOver",4,4825286,"760_0"],["ROCKR.foldl_add_map_zero",3,4825286,"760_0"]],[["ROCKR.sumBal_genesis",3,4825286,"760_0"]],0.5107,null,null,null,null,null],["d","ROCKR.transfer_outside","theorem",3,"unchecked","(f : DID → Coin) (src dst feeTo : DID) (amt fee : Coin) (y : DID) (h1 : y ≠ src) (h2 : y ≠ dst) (h3 : y ≠ feeTo) : (let b1 := upd f src (f src - amt - fee) let b2 := upd b1 dst (b1 dst + amt) upd b2 f","ModelZero.lean",1217,[],[],"","",null,[["OwnPhase3.fee",4,445924,"24867_2"],["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,null,null,null],["d","ROCKR.upd","def",4,"definition","(f : DID → Coin) (d : DID) (v : Coin) : DID → Coin","ModelZero.lean",239,[],[],"","",null,[],[],0.9626,null,null,null,null,null],["d","ROCKR.updB","def",4,"definition","(f : DID → Bool) (d : DID) (v : Bool) : DID → Bool","ModelZero.lean",250,[],[],"","",null,[],[],0.6919,null,null,null,null,null],["d","ROCKR.updI","def",4,"definition","(f : InstanceId → Bool) (i : InstanceId) (v : Bool) : InstanceId → Bool","ModelZero.lean",253,[],[],"","",null,[],[],0.4719,null,null,null,null,null],["d","ROCKR.updRev","def",4,"definition","(f : Attestation → Bool) (a : Attestation) : Attestation → Bool","ModelZero.lean",256,[],[],"","",null,[],[],0.4719,null,null,null,null,null],["d","ROCKR.updW","def",4,"definition","(f : DID → Nat → Coin) (d : DID) (w : Nat) (v : Coin) : DID → Nat → Coin","ModelZero.lean",243,[],[],"","",null,[],[],0.6392,null,null,"Update one (DID, week) cell of the RUIPA schedule.","docstring",null],["d","ROCKR.upd_ne","theorem",3,"unchecked","{f : DID → Coin} {d x : DID} {v : Coin} (h : x ≠ d) : upd f d v x = f x","ModelZero.lean",802,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.Coin",4,4825286,"760_0"],["ROCKR.upd",4,4825286,"760_0"]],[["ROCKR.sumOver_upd",3,4825286,"760_0"],["ROCKR.Inv_step",3,4825286,"760_0"],["ROCKR.creditAll_outside",3,4825286,"760_0"],["ROCKR.T1_no_unauthorised_debit",3,4825286,"760_0"]],0.7943,null,null,"`upd` at another key changes nothing; at the same key gives the value.","docstring",null],["d","ROCKR.verified","def",4,"definition","(s : State) (d : DID) : Prop","ModelZero.lean",326,[],[],"","",null,[],[],0.8611,null,null,"A DID is verified at block time `s.time` iff it carries a non-expired, non-revoked attestation from an accredited instance with a valid signature. Assurance level is NOT consulted (D2(iv) = C).","docstring",null],["d","ROCKR.verified_holder","theorem",3,"unchecked","{s : State} (h : Inv s) {d : DID} (hv : verified s d) : d ∈ s.holders","ModelZero.lean",1184,[],[],"","",null,[["ROCKR.DID",4,4825286,"760_0"],["ROCKR.State",4,4825286,"760_0"],["ROCKR.verified",4,4825286,"760_0"],["ROCKR.Inv",4,4825286,"760_0"]],[["ROCKR.Inv_step",3,4825286,"760_0"]],0.2983,null,null,"Envelope check 3.4, proved (D-C): a verified DID is a holder.","docstring",null]],"edges":[[0,82,2,0,2],[12,24,1,0,1],[98,104,1,0,1],[18,111,1,0,1],[24,45,1,0,1],[26,33,1,0,1],[26,62,1,0,1],[46,96,1,0,1],[47,109,1,0,1],[0,37,1,0,1],[22,57,1,0,1],[10,92,1,0,1],[22,114,1,0,1],[2,112,1,0,1],[0,4,1,0,1],[5,10,1,0,1],[4,57,1,0,1],[34,40,1,0,1],[28,34,1,0,1],[32,82,1,0,1],[42,56,1,0,1],[3,80,1,0,1],[11,89,1,0,1],[29,43,1,0,1],[4,12,1,0,1],[95,97,1,0,1],[10,65,1,0,1],[29,54,1,0,1],[7,98,1,0,1],[12,36,1,0,1],[7,31,1,0,1],[28,53,1,0,1],[29,49,1,0,1],[28,92,1,0,1],[29,111,1,0,1],[96,97,1,0,1],[0,7,1,0,1],[28,30,1,0,1],[23,29,1,0,1],[20,46,1,0,1],[16,86,1,0,1],[7,53,1,0,1],[11,28,1,0,1],[8,51,1,0,1],[34,39,1,0,1],[63,96,1,0,1],[4,109,1,0,1],[4,101,1,0,1],[103,104,1,0,1],[3,28,1,0,1],[18,91,1,0,1],[27,28,1,0,1],[26,28,1,0,1],[22,58,1,0,1],[7,64,1,0,1],[28,76,1,0,1],[19,68,1,0,1],[7,12,1,0,1],[2,39,1,0,1],[7,46,1,0,1],[5,29,1,0,1],[19,94,1,0,1],[2,18,1,0,1],[4,49,1,0,1],[7,101,1,0,1],[8,47,1,0,1],[11,88,1,0,1],[74,76,1,0,1],[98,102,1,0,1],[7,8,1,0,1],[7,104,1,0,1],[51,101,1,0,1],[12,31,1,0,1],[8,46,1,0,1],[7,106,1,0,1],[0,32,1,0,1],[29,77,1,0,1],[7,29,1,0,1],[29,44,1,0,1],[26,34,1,0,1],[29,30,1,0,1],[97,99,1,0,1],[115,116,1,0,1],[4,58,1,0,1],[22,94,1,0,1],[28,66,1,0,1],[59,107,1,0,1],[12,21,1,0,1],[22,109,1,0,1],[17,28,1,0,1],[29,31,1,0,1],[7,113,1,0,1],[7,97,1,0,1],[36,75,1,0,1],[46,62,1,0,1],[28,77,1,0,1],[49,50,1,0,1],[5,28,1,0,1],[21,36,1,0,1],[20,62,1,0,1],[11,29,1,0,1],[12,18,1,0,1],[97,107,1,0,1],[8,44,1,0,1],[4,8,1,0,1],[0,22,1,0,1],[12,38,1,0,1],[12,62,1,0,1],[0,25,1,0,1],[28,61,1,0,1],[97,102,1,0,1],[73,74,1,0,1],[0,27,1,0,1],[7,48,1,0,1],[7,30,1,0,1],[106,109,1,0,1],[49,101,1,0,1],[57,60,1,0,1],[62,63,1,0,1],[21,28,1,0,1],[58,73,1,0,1],[24,29,1,0,1],[26,29,1,0,1],[4,13,1,0,1],[96,107,1,0,1],[29,32,1,0,1],[4,102,1,0,1],[2,91,1,0,1],[19,22,1,0,1],[28,29,1,0,1],[29,33,1,0,1],[11,17,1,0,1],[4,113,1,0,1],[42,66,1,0,1],[102,103,1,0,1],[29,82,1,0,1],[4,114,1,0,1],[36,94,1,0,1],[28,78,1,0,1],[0,10,1,0,1],[25,29,1,0,1],[8,29,1,0,1],[22,115,1,0,1],[5,31,1,0,1],[12,33,1,0,1],[3,10,1,0,1],[33,93,1,0,1],[7,78,1,0,1],[2,7,1,0,1],[29,41,1,0,1],[28,45,1,0,1],[46,48,1,0,1],[26,30,1,0,1],[104,106,1,0,1],[29,93,1,0,1],[97,100,1,0,1],[7,103,1,0,1],[4,75,1,0,1],[56,83,1,0,1],[0,34,1,0,1],[22,75,1,0,1],[7,70,1,0,1],[8,87,1,0,1],[28,32,1,0,1],[66,92,1,0,1],[58,60,1,0,1],[11,56,1,0,1],[38,68,1,0,1],[7,81,1,0,1],[29,42,1,0,1],[3,61,1,0,1],[12,13,1,0,1],[0,67,1,0,1],[29,110,1,0,1],[58,59,1,0,1],[29,46,1,0,1],[3,7,1,0,1],[22,69,1,0,1],[27,29,1,0,1],[35,115,1,0,1],[2,64,1,0,1],[22,29,1,0,1],[32,114,1,0,1],[28,56,1,0,1],[19,21,1,0,1],[2,12,1,0,1],[21,38,1,0,1],[79,104,1,0,1],[7,55,1,0,1],[28,38,1,0,1],[0,24,1,0,1],[60,73,1,0,1],[22,48,1,0,1],[0,11,1,0,1],[29,109,1,0,1],[4,43,1,0,1],[28,93,1,0,1],[4,100,1,0,1],[1,2,1,0,1],[7,82,1,0,1],[22,87,1,0,1],[75,76,1,0,1],[29,66,1,0,1],[4,98,1,0,1],[2,16,1,0,1],[7,23,1,0,1],[7,84,1,0,1],[17,84,1,0,1],[3,54,1,0,1],[22,49,1,0,1],[22,116,1,0,1],[0,2,1,0,1],[96,101,1,0,1],[46,101,1,0,1],[4,5,1,0,1],[5,6,1,0,1],[41,54,1,0,1],[72,104,1,0,1],[29,85,1,0,1],[28,36,1,0,1],[95,96,1,0,1],[19,75,1,0,1],[32,47,1,0,1],[1,64,1,0,1],[28,69,1,0,1],[101,109,1,0,1],[28,115,1,0,1],[0,8,1,0,1],[4,68,1,0,1],[97,103,1,0,1],[4,104,1,0,1],[26,38,1,0,1],[7,99,1,0,1],[23,87,1,0,1],[22,44,1,0,1],[4,47,1,0,1],[28,31,1,0,1],[0,3,1,0,1],[22,99,1,0,1],[94,96,1,0,1],[29,56,1,0,1],[8,50,1,0,1],[8,48,1,0,1],[28,62,1,0,1],[26,31,1,0,1],[12,20,1,0,1],[100,106,1,0,1],[62,96,1,0,1],[4,59,1,0,1],[28,37,1,0,1],[97,106,1,0,1],[22,106,1,0,1],[4,53,1,0,1],[0,5,1,0,1],[22,74,1,0,1],[28,54,1,0,1],[97,105,1,0,1],[4,94,1,0,1],[28,39,1,0,1],[20,21,1,0,1],[2,28,1,0,1],[31,115,1,0,1],[9,11,1,0,1],[3,73,1,0,1],[89,90,1,0,1],[105,109,1,0,1],[4,105,1,0,1],[49,51,1,0,1],[32,109,1,0,1],[4,103,1,0,1],[10,23,1,0,1],[3,29,1,0,1],[12,34,1,0,1],[46,109,1,0,1],[4,97,1,0,1],[20,96,1,0,1],[28,90,1,0,1],[28,42,1,0,1],[22,97,1,0,1],[22,95,1,0,1],[11,39,1,0,1],[7,115,1,0,1],[22,105,1,0,1],[21,33,1,0,1],[102,106,1,0,1],[48,109,1,0,1],[50,57,1,0,1],[28,94,1,0,1],[10,56,1,0,1],[25,43,1,0,1],[0,40,1,0,1],[4,46,1,0,1],[30,115,1,0,1],[7,86,1,0,1],[4,34,1,0,1],[7,71,1,0,1],[17,65,1,0,1],[28,33,1,0,1],[29,90,1,0,1],[7,108,1,0,1],[4,30,1,0,1],[19,28,1,0,1],[28,64,1,0,1],[24,28,1,0,1],[23,28,1,0,1],[7,28,1,0,1],[7,51,1,0,1],[3,74,1,0,1],[7,109,1,0,1],[10,87,1,0,1],[49,52,1,0,1],[20,63,1,0,1],[94,95,1,0,1],[10,42,1,0,1],[29,61,1,0,1],[33,68,1,0,1],[7,107,1,0,1],[7,43,1,0,1],[12,96,1,0,1],[20,48,1,0,1],[28,85,1,0,1],[29,53,1,0,1],[4,108,1,0,1],[7,25,1,0,1],[97,98,1,0,1],[29,88,1,0,1],[18,28,1,0,1],[71,109,1,0,1],[70,104,1,0,1],[22,81,1,0,1],[22,46,1,0,1],[7,47,1,0,1],[105,106,1,0,1],[70,97,1,0,1],[28,88,1,0,1],[29,45,1,0,1],[10,77,1,0,1],[4,60,1,0,1],[2,29,1,0,1],[0,33,1,0,1],[4,23,1,0,1],[11,66,1,0,1],[12,63,1,0,1],[32,71,1,0,1],[7,72,1,0,1],[21,22,1,0,1],[26,36,1,0,1],[5,7,1,0,1],[4,51,1,0,1],[100,101,1,0,1],[18,29,1,0,1],[3,4,1,0,1],[22,68,1,0,1],[58,98,1,0,1],[46,47,1,0,1],[7,32,1,0,1],[7,34,1,0,1],[51,58,1,0,1],[4,74,1,0,1],[68,69,1,0,1],[12,30,1,0,1],[19,116,1,0,1],[8,49,1,0,1],[22,101,1,0,1],[7,116,1,0,1],[55,104,1,0,1],[22,100,1,0,1],[12,26,1,0,1],[4,71,1,0,1],[29,113,1,0,1],[10,28,1,0,1],[10,27,1,0,1],[10,40,1,0,1],[22,76,1,0,1],[7,105,1,0,1],[4,48,1,0,1],[24,39,1,0,1],[106,114,1,0,1],[29,37,1,0,1],[8,101,1,0,1],[4,99,1,0,1],[29,112,1,0,1],[14,91,1,0,1],[0,93,1,0,1],[72,102,1,0,1],[99,104,1,0,1],[16,28,1,0,1],[109,114,1,0,1],[28,89,1,0,1],[108,109,1,0,1],[4,28,1,0,1],[10,11,1,0,1],[7,35,1,0,1],[29,115,1,0,1],[22,70,1,0,1],[28,41,1,0,1],[28,116,1,0,1],[22,108,1,0,1],[21,26,1,0,1],[98,99,1,0,1],[49,87,1,0,1],[19,20,1,0,1],[35,110,1,0,1],[4,29,1,0,1],[0,29,1,0,1],[7,100,1,0,1],[28,35,1,0,1],[0,23,1,0,1],[28,83,1,0,1],[4,106,1,0,1],[29,34,1,0,1],[7,61,1,0,1],[32,44,1,0,1],[28,95,1,0,1],[2,14,1,0,1],[10,61,1,0,1],[28,68,1,0,1],[28,75,1,0,1],[7,102,1,0,1],[100,105,1,0,1],[28,44,1,0,1],[7,27,1,0,1],[34,56,1,0,1],[25,28,1,0,1],[48,114,1,0,1],[4,70,1,0,1],[22,23,1,0,1],[100,109,1,0,1],[7,114,1,0,1],[7,79,1,0,1],[11,90,1,0,1],[97,101,1,0,1],[97,104,1,0,1],[4,24,1,0,1],[4,44,1,0,1],[29,35,1,0,1],[10,84,1,0,1],[22,73,1,0,1],[25,113,1,0,1],[7,110,1,0,1],[7,11,1,0,1],[0,18,1,0,1],[10,83,1,0,1],[29,83,1,0,1],[29,78,1,0,1],[22,28,1,0,1]],"top":[["ROCKR.foldl_add_start",3,0.9475,4825286,"760_0",4],["ROCKR.foldl_add_cons",3,0.9207,4825286,"760_0",7],["ROCKR.sumOver_split",3,0.8344,4825286,"760_0",13],["ROCKR.Inv_reachable",3,0.8016,4825286,"760_0",9],["ROCKR.sumOver_cons",3,0.8012,4825286,"760_0",8],["ROCKR.upd_ne",3,0.7943,4825286,"760_0",7],["ROCKR.sumOver_upd",3,0.7778,4825286,"760_0",10],["ROCKR.foldl_add_map_zero",3,0.7531,4825286,"760_0",3],["ROCKR.foldl_add_append",3,0.7509,4825286,"760_0",4],["ROCKR.list_len_induction",3,0.7273,4825286,"760_0",4]]}}}1{"chunks":{"4827993":{"id":4827993,"label":"mylean4easyexcrproject","n":4,"s":[0,0,0,4,0,0,0],"env":"https://github.com/supergeekduck/mylean4easyexcrproject@7dfc1e46c08cd839d7bf4a73c0b7a0491114c147#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"]],"kids":[["g",4827994,"squre",1,[0,0,0,1,0,0,0],"761_0",[["my_sq_theo",3,0.0829,4827994,"761_0",0]],4827994],["g",4827995,"add_ass",1,[0,0,0,1,0,0,0],"761_0",[["add_ass",3,0.0829,4827995,"761_0",0]],4827995],["g",4827996,"No_Biggest_Nat",1,[0,0,0,1,0,0,0],"761_0",[["no_binggest_nat",3,0.5266,4827996,"761_0",2]],4827996],["g",4827997,"or_comm",1,[0,0,0,1,0,0,0],"761_0",[["my_or_comm",3,0.0829,4827997,"761_0",0]],4827997]],"edges":[],"top":[["no_binggest_nat",3,0.5266,4827996,"761_0",2],["add_ass",3,0.0829,4827995,"761_0",0],["my_or_comm",3,0.0829,4827997,"761_0",0],["my_sq_theo",3,0.0829,4827994,"761_0",0]]},"4827994":{"id":4827994,"label":"squre","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/supergeekduck/mylean4easyexcrproject@7dfc1e46c08cd839d7bf4a73c0b7a0491114c147#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827993,"mylean4easyexcrproject","761_0"]],"kids":[["d","my_sq_theo","theorem",3,"unchecked","","squre.lean",2,[],[],"","",null,[],[],0.0829,null,null,null,null,null]],"edges":[],"top":[["my_sq_theo",3,0.0829,4827994,"761_0",0]]},"4827995":{"id":4827995,"label":"add_ass","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/supergeekduck/mylean4easyexcrproject@7dfc1e46c08cd839d7bf4a73c0b7a0491114c147#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827993,"mylean4easyexcrproject","761_0"]],"kids":[["d","add_ass","theorem",3,"unchecked","","add_ass.lean",1,[],[],"","",null,[],[],0.0829,null,null,null,null,null]],"edges":[],"top":[["add_ass",3,0.0829,4827995,"761_0",0]]},"4827996":{"id":4827996,"label":"No_Biggest_Nat","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/supergeekduck/mylean4easyexcrproject@7dfc1e46c08cd839d7bf4a73c0b7a0491114c147#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827993,"mylean4easyexcrproject","761_0"]],"kids":[["d","no_binggest_nat","theorem",3,"unchecked","","No_Biggest_Nat.lean",1,[],[],"","",null,[["Nat.succ",4,3068281,"62730_0"]],[["TseitinGenericityDecomposition.complete_summary",3,362133,"27033_0"]],0.5266,null,null,null,null,null]],"edges":[],"top":[["no_binggest_nat",3,0.5266,4827996,"761_0",2]]},"4827997":{"id":4827997,"label":"or_comm","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/supergeekduck/mylean4easyexcrproject@7dfc1e46c08cd839d7bf4a73c0b7a0491114c147#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827993,"mylean4easyexcrproject","761_0"]],"kids":[["d","my_or_comm","theorem",3,"unchecked","","or_comm.lean",1,[],[],"","",null,[],[],0.0829,null,null,null,null,null]],"edges":[],"top":[["my_or_comm",3,0.0829,4827997,"761_0",0]]}}}1{"chunks":{"4819023":{"id":4819023,"label":"gridham2d-lean","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/zzyzek/gridham2d-lean@45eec4d0c85c2d5b6d44a6bf032b2092536cecac#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4818733,"g64/g64/Record64 … hashi/Hashi/Basic","t12"]],"kids":[["g",4819024,"GridHam/CrossCheck",4,[0,0,0,0,4,0,0],"762_0",[],4819024],["g",4819025,"Challenge",1,[0,0,0,0,1,0,0],"762_0",[],4819025]],"edges":[[0,1,3,0,3]],"top":[]},"4819024":{"id":4819024,"label":"GridHam/CrossCheck","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/zzyzek/gridham2d-lean@45eec4d0c85c2d5b6d44a6bf032b2092536cecac#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4818733,"g64/g64/Record64 … hashi/Hashi/Basic","t12"],[4819023,"gridham2d-lean","762_0"]],"kids":[["d","GridHam.CrossCheck.mismatches","def",4,"definition",": List (ℕ × ℕ × Coord × Coord)","GridHam/CrossCheck.lean",110,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","GridHam.CrossCheck.numChecked","def",4,"definition",": ℕ","GridHam/CrossCheck.lean",116,[],[],"","",null,[],[],0.0829,null,null,null,null,null],["d","GridHam.CrossCheck.pairsOf","def",4,"definition","(w h : ℕ) : List (Coord × Coord)","GridHam/CrossCheck.lean",106,[],[],"","",null,[],[],0.888,null,null,"All ordered pairs of distinct vertices of the grid.","docstring",null],["d","GridHam.CrossCheck.truth","def",4,"definition",": List (ℕ × ℕ × List (Coord × Coord))","GridHam/CrossCheck.lean",36,[],[],"","",null,[],[],0.0829,null,null,"`(width, height, pairs (s, t) with a Hamiltonian path)`.","docstring",null]],"edges":[[0,2,1,0,1],[0,1,1,0,1],[1,2,1,0,1]],"top":[]},"4819025":{"id":4819025,"label":"Challenge","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/zzyzek/gridham2d-lean@45eec4d0c85c2d5b6d44a6bf032b2092536cecac#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4818733,"g64/g64/Record64 … hashi/Hashi/Basic","t12"],[4819023,"gridham2d-lean","762_0"]],"kids":[["d","GridHam.Coord","abbrev",4,"definition","","Challenge.lean",37,[],[],"","",null,[],[],0.9576,null,null,"A grid vertex, given as `(x, y)` coordinates.","docstring",null]],"edges":[],"top":[]}}}1{"chunks":{"4819277":{"id":4819277,"label":"contract-sinew-align/lean/Sinew","n":32,"s":[0,0,0,0,32,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"]],"kids":[["g",4819278,"Sinew",30,[0,0,0,0,30,0,0],"763_0",[],4819284],["g",4819285,"EmitShaders",1,[0,0,0,0,1,0,0],"763_0",[],4819285],["g",4819286,"AlignTest",1,[0,0,0,0,1,0,0],"763_0",[],4819286]],"edges":[[0,1,7,0,7]],"top":[]},"4819278":{"id":4819278,"label":"Sinew","n":30,"s":[0,0,0,0,30,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"]],"kids":[["g",4819279,"SlangCodegen",13,[0,0,0,0,13,0,0],"763_0",[],4819281],["g",4819282,"Math",7,[0,0,0,0,7,0,0],"763_0",[],4819282],["g",4819283,"Anthropometry",6,[0,0,0,0,6,0,0],"763_0",[],4819283],["g",4819284,"RigRest",4,[0,0,0,0,4,0,0],"763_0",[],4819284]],"edges":[],"top":[]},"4819279":{"id":4819279,"label":"SlangCodegen","n":13,"s":[0,0,0,0,13,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"],[4819278,"Sinew","763_0"]],"kids":[["g",4819280,"Pheno",9,[0,0,0,0,9,0,0],"763_0",[],4819280],["g",4819281,"Lbs",4,[0,0,0,0,4,0,0],"763_0",[],4819281]],"edges":[],"top":[]},"4819280":{"id":4819280,"label":"Pheno","n":9,"s":[0,0,0,0,9,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"],[4819278,"Sinew","763_0"],[4819279,"SlangCodegen","763_0"]],"kids":[["d","Sinew.SlangCodegen.Pheno.Config","structure",4,"definition","where workgroup : Nat","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",18,[],[],"","",null,[],[],0.9567,null,null,"Compute-kernel parameters.","docstring",null],["d","Sinew.SlangCodegen.Pheno.attr","def",4,"definition","(cfg : Config) (entry : String) : String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",26,[],[],"","",null,[],[],0.9149,null,null,null,null,null],["d","Sinew.SlangCodegen.Pheno.baryGather","def",4,"definition","(cfg : Config := {}) : String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",72,[],[],"","",null,[],[],0.554,null,null,"Barycentric transfer Anny→SOMA + axis remap (x,y,z)_soma = (x, z, −y)_anny: one thread per SOMA vertex.","docstring",null],["d","Sinew.SlangCodegen.Pheno.baryTet","def",4,"definition","(cfg : Config := {}) : String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",54,[],[],"","",null,[],[],0.554,null,null,"Fabricate each source triangle's normal-tip tet vertex: one thread per face.","docstring",null],["d","Sinew.SlangCodegen.Pheno.blendshape","def",4,"definition","(cfg : Config := {}) : String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",31,[],[],"","",null,[],[],0.554,null,null,"Blendshape GEMV: one thread per Anny vertex.","docstring",null],["d","Sinew.SlangCodegen.Pheno.header","def",4,"definition",": String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",22,[],[],"","",null,[],[],0.9212,null,null,null,null,null],["d","Sinew.SlangCodegen.Pheno.rbf","def",4,"definition","(cfg : Config := {}) : String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",255,[],[],"","",null,[],[],0.554,null,null,"Sparse RBF joint regression Jpos = M · v0 (CSR): one thread per joint.","docstring",null],["d","Sinew.SlangCodegen.Pheno.se3Inverse","def",4,"definition","(cfg : Config := {}) : String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",238,[],[],"","",null,[],[],0.554,null,null,"SE3 inverse of each bind world transform → inverse-bind: one thread per joint.","docstring",null],["d","Sinew.SlangCodegen.Pheno.skeletonFit","def",4,"definition",": String","lean/Sinew/Sinew/SlangCodegen/Pheno.lean",104,[],[],"","",null,[],[],0.554,null,null,"Skeleton rotation fit (the sequential `align_vectors` pass) as a single-thread kernel: one invocation runs the whole per-joint loop because joint i's world rotation depends on its parent's. Direct transcription of the verified C in viz_native/soma_pheno.c (Rodrigues for N=1; else virtual-normal covariance → reference regularize → Newton-Schulz×30 → validity check → Jacobi-SVD Kabsch fallback). Writes the new bind world transforms (rotation from the fit, translation from the regressed joint positions).","docstring",null]],"edges":[[0,2,1,0,1],[2,5,1,0,1],[1,4,1,0,1],[0,6,1,0,1],[5,8,1,0,1],[1,7,1,0,1],[5,7,1,0,1],[1,2,1,0,1],[5,6,1,0,1],[0,7,1,0,1],[0,4,1,0,1],[3,5,1,0,1],[0,3,1,0,1],[0,1,1,0,1],[4,5,1,0,1],[1,3,1,0,1],[1,6,1,0,1]],"top":[]},"4819281":{"id":4819281,"label":"Lbs","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"],[4819278,"Sinew","763_0"],[4819279,"SlangCodegen","763_0"]],"kids":[["d","Sinew.SlangCodegen.Lbs.Config","structure",4,"definition","where entry : String","lean/Sinew/Sinew/SlangCodegen/Lbs.lean",15,[],[],"","",null,[],[],0.702,null,null,"Compute-kernel parameters.","docstring",null],["d","Sinew.SlangCodegen.Lbs.decls","def",4,"definition",": String","lean/Sinew/Sinew/SlangCodegen/Lbs.lean",23,[],[],"","",null,[],[],0.702,null,null,"Buffer declarations. Explicit Vulkan set/bindings give the host a fixed descriptor layout; vertex and joint counts come from the buffer sizes, so no scalar uniforms (push constants / UBO) are needed.","docstring",null],["d","Sinew.SlangCodegen.Lbs.kernelBody","def",4,"definition",": String","lean/Sinew/Sinew/SlangCodegen/Lbs.lean",33,[],[],"","",null,[],[],0.702,null,null,"Kernel body (the per-vertex weighted blend).","docstring",null],["d","Sinew.SlangCodegen.Lbs.shader","def",4,"definition","(cfg : Config := {}) : String","lean/Sinew/Sinew/SlangCodegen/Lbs.lean",63,[],[],"","",null,[],[],0.554,null,null,"The full Slang source for the LBS deform kernel.","docstring",null]],"edges":[[2,3,1,0,1],[1,3,1,0,1],[0,3,1,0,1]],"top":[]},"4819282":{"id":4819282,"label":"Math","n":7,"s":[0,0,0,0,7,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"],[4819278,"Sinew","763_0"]],"kids":[["d","Sinew.Math.matToQuat","def",4,"definition","(m : M3) : Float × Float × Float × Float","lean/Sinew/Sinew/Math.lean",24,[],[],"","",null,[],[],0.0828,null,null,"Rotation matrix → quaternion (w,x,y,z) (Shepperd's method, branch on trace).","docstring",null],["d","Sinew.Math.normalEq","def",4,"definition","(rows : Array (Array Float)) (rhs : Array Float) (n : Nat) : (Array (Array Float)) × (Array Float)","lean/Sinew/Sinew/Math.lean",42,[],[],"","",null,[],[],0.8044,null,null,"Normal equations: (AᵀA, Aᵀb) for `n` unknowns.","docstring",null],["d","Sinew.Math.quatToMat","def",4,"definition","(qw qx qy qz : Float) : M3","lean/Sinew/Sinew/Math.lean",15,[],[],"","",null,[],[],0.0828,null,null,"Quaternion (w,x,y,z) → rotation matrix (sensor→world).","docstring",null],["d","Sinew.Math.rad2deg","def",4,"definition","(r : Float) : Float","lean/Sinew/Sinew/Math.lean",89,[],[],"","",null,[],[],0.0828,null,null,null,null,null],["d","Sinew.Math.roundTo","def",4,"definition","(digits : Nat) (x : Float) : Float","lean/Sinew/Sinew/Math.lean",92,[],[],"","",null,[],[],0.0828,null,null,"Round to `digits` decimal places (for display).","docstring",null],["d","Sinew.Math.solveDense","def",4,"definition","(a0 : Array (Array Float)) (b0 : Array Float) (n : Nat) : Option (Array Float)","lean/Sinew/Sinew/Math.lean",56,[],[],"","",null,[],[],0.8044,null,null,"Gaussian elimination with partial pivoting; none if (near-)singular.","docstring",null],["d","Sinew.Math.solveLS","def",4,"definition","(rows : Array (Array Float)) (rhs : Array Float) (n : Nat) : Option (Array Float)","lean/Sinew/Sinew/Math.lean",83,[],[],"","",null,[],[],0.0828,null,null,"Least squares of an over-determined system via the normal equations.","docstring",null]],"edges":[[1,6,1,0,1],[5,6,1,0,1]],"top":[]},"4819283":{"id":4819283,"label":"Anthropometry","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"],[4819278,"Sinew","763_0"]],"kids":[["d","Sinew.Anthro.Bone","inductive",4,"definition","where","lean/Sinew/Sinew/Anthropometry.lean",16,[],[],"","",null,[],[],0.9408,null,null,"Symmetric bone-length unknowns (index into the solution vector).","docstring",null],["d","Sinew.Anthro.Bone.idx","def",4,"definition",": Bone → Nat","lean/Sinew/Sinew/Anthropometry.lean",20,[],[],"","",null,[],[],0.0828,null,null,null,null,null],["d","Sinew.Anthro.Bone.name","def",4,"definition",": Bone → String","lean/Sinew/Sinew/Anthropometry.lean",24,[],[],"","",null,[],[],0.0828,null,null,null,null,null],["d","Sinew.Anthro.allBones","def",4,"definition",": List Bone","lean/Sinew/Sinew/Anthropometry.lean",29,[],[],"","",null,[],[],0.0828,null,null,null,null,null],["d","Sinew.Anthro.chainRow","def",4,"definition","(chain : List (Bone × Float)) : Array Float","lean/Sinew/Sinew/Anthropometry.lean",32,[],[],"","",null,[],[],0.0828,null,null,"One constraint row from a chain of (bone, vertical direction component).","docstring",null],["d","Sinew.Anthro.numBones","def",4,"definition",": Nat","lean/Sinew/Sinew/Anthropometry.lean",28,[],[],"","",null,[],[],0.6804,null,null,null,null,null]],"edges":[[4,5,1,0,1],[0,3,1,0,1],[0,1,1,0,1],[0,2,1,0,1],[0,4,1,0,1]],"top":[]},"4819284":{"id":4819284,"label":"RigRest","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"],[4819278,"Sinew","763_0"]],"kids":[["d","Sinew.RigRest.parentNode","def",4,"definition",": Array Nat","lean/Sinew/Sinew/RigRest.lean",64,[],[],"","",null,[],[],0.0828,null,null,"Parent tracked node of each node 0..14 (15 = root).","docstring",null],["d","Sinew.RigRest.restAxis","def",4,"definition",": Array V3","lean/Sinew/Sinew/RigRest.lean",45,[],[],"","",null,[],[],0.0828,null,null,"Toward-child unit long axis (RCSF +Y) of each bone in world at rest.","docstring",null],["d","Sinew.RigRest.restOffset","def",4,"definition",": Array V3","lean/Sinew/Sinew/RigRest.lean",67,[],[],"","",null,[],[],0.0828,null,null,"Rest offset parent→joint in the parent's rest frame (FK lever arm).","docstring",null],["d","Sinew.RigRest.restWorld","def",4,"definition",": Array M3","lean/Sinew/Sinew/RigRest.lean",11,[],[],"","",null,[],[],0.0828,null,null,"Rest-world rotation of the SOMA bone driven by device node i (0..14).","docstring",null]],"edges":[],"top":[]},"4819285":{"id":4819285,"label":"EmitShaders","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"]],"kids":[["d","kernels","def",4,"definition",": List (String × String)","lean/Sinew/EmitShaders.lean",12,[],[],"","",null,[],[],0.0828,null,null,null,null,null]],"edges":[],"top":[]},"4819286":{"id":4819286,"label":"AlignTest","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/v-sekai-archive/contract-sinew-align@7e00cdb42aeba6dcc8e263898096a6c4c55e2a47#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4819052,"contract-pixel-str … cse290q_project/Ve","t12"],[4819277,"contract-sinew-align/lean/Sinew","763_0"]],"kids":[["d","maxErr","def",4,"definition","(R : M3) (Rrec : Array Float) (srcs : Array V3) : Float","lean/Sinew/AlignTest.lean",9,[],[],"","",null,[],[],0.0828,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4826856":{"id":4826856,"label":"verified-crypto/VerifiedCrypto","n":10,"s":[0,0,0,7,3,0,0],"env":"https://github.com/sherbekjondev/verified-crypto@8212963c7c73a52d723c68ec2bad67ea5c69f16b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826615,"verified-agentic-l … x402-starknet-exte","t13"]],"kids":[["g",4826857,"FothOS",4,[0,0,0,3,1,0,0],"764_0",[["VerifiedCrypto.FothOS.token_binding",3,0.0828,4826857,"764_0",3],["VerifiedCrypto.FothOS.token_uniqueness",3,0.0828,4826857,"764_0",3],["VerifiedCrypto.FothOS.token_verifies",3,0.0828,4826857,"764_0",4]],4826857],["g",4826858,"ChaCha20",4,[0,0,0,2,2,0,0],"764_0",[["VerifiedCrypto.ChaCha20.quarterRound_inv_correct",3,0.6804,4826858,"764_0",4],["VerifiedCrypto.ChaCha20.quarterRound_injective",3,0.0828,4826858,"764_0",4]],4826858],["g",4826859,"XOR",2,[0,0,0,2,0,0,0],"764_0",[["VerifiedCrypto.XOR.zero_xor",3,0.8624,4826859,"764_0",5],["VerifiedCrypto.XOR.xor_cancel_left",3,0.0828,4826859,"764_0",4]],4826859]],"edges":[],"top":[["VerifiedCrypto.XOR.zero_xor",3,0.8624,4826859,"764_0",5],["VerifiedCrypto.ChaCha20.quarterRound_inv_correct",3,0.6804,4826858,"764_0",4],["VerifiedCrypto.ChaCha20.quarterRound_injective",3,0.0828,4826858,"764_0",4],["VerifiedCrypto.FothOS.token_binding",3,0.0828,4826857,"764_0",3],["VerifiedCrypto.FothOS.token_uniqueness",3,0.0828,4826857,"764_0",3],["VerifiedCrypto.FothOS.token_verifies",3,0.0828,4826857,"764_0",4],["VerifiedCrypto.XOR.xor_cancel_left",3,0.0828,4826859,"764_0",4]]},"4826857":{"id":4826857,"label":"FothOS","n":4,"s":[0,0,0,3,1,0,0],"env":"https://github.com/sherbekjondev/verified-crypto@8212963c7c73a52d723c68ec2bad67ea5c69f16b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826615,"verified-agentic-l … x402-starknet-exte","t13"],[4826856,"verified-crypto/VerifiedCrypto","764_0"]],"kids":[["d","VerifiedCrypto.FothOS.token_binding","theorem",3,"unchecked","","VerifiedCrypto/FothOS.lean",62,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["CatCrypt.Crypto.SecureCompilation.ARMBackend.Neon.laneEor",4,2124688,"38636_15"],["VerifiedCrypto.FothOS.verifyToken",4,4826857,"764_0"]],[],0.0828,null,null,null,null,null],["d","VerifiedCrypto.FothOS.token_uniqueness","theorem",3,"unchecked","","VerifiedCrypto/FothOS.lean",47,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["congrArg",3,4396931,"32300_0"],["CatCrypt.Crypto.SecureCompilation.ARMBackend.Neon.laneEor",4,2124688,"38636_15"]],[],0.0828,null,null,null,null,null],["d","VerifiedCrypto.FothOS.token_verifies","theorem",3,"unchecked","","VerifiedCrypto/FothOS.lean",37,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["sid",4,3057042,"65562_0"],["CatCrypt.Crypto.SecureCompilation.ARMBackend.Neon.laneEor",4,2124688,"38636_15"],["VerifiedCrypto.FothOS.verifyToken",4,4826857,"764_0"]],[],0.0828,null,null,null,null,null],["d","VerifiedCrypto.FothOS.verifyToken","def",4,"definition","","VerifiedCrypto/FothOS.lean",30,[],[],"","",null,[],[],0.8264,null,null,null,null,null]],"edges":[[0,3,1,0,1],[2,3,1,0,1]],"top":[["VerifiedCrypto.FothOS.token_binding",3,0.0828,4826857,"764_0",3],["VerifiedCrypto.FothOS.token_uniqueness",3,0.0828,4826857,"764_0",3],["VerifiedCrypto.FothOS.token_verifies",3,0.0828,4826857,"764_0",4]]},"4826858":{"id":4826858,"label":"ChaCha20","n":4,"s":[0,0,0,2,2,0,0],"env":"https://github.com/sherbekjondev/verified-crypto@8212963c7c73a52d723c68ec2bad67ea5c69f16b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826615,"verified-agentic-l … x402-starknet-exte","t13"],[4826856,"verified-crypto/VerifiedCrypto","764_0"]],"kids":[["d","VerifiedCrypto.ChaCha20.quarterRound","def",4,"definition","","VerifiedCrypto/ChaCha20.lean",28,[],[],"","",null,[],[],0.9269,null,null,null,null,null],["d","VerifiedCrypto.ChaCha20.quarterRoundInv","def",4,"definition","","VerifiedCrypto/ChaCha20.lean",41,[],[],"","",null,[],[],0.7686,null,null,null,null,null],["d","VerifiedCrypto.ChaCha20.quarterRound_injective","theorem",3,"unchecked","","VerifiedCrypto/ChaCha20.lean",71,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["d₂",4,3219576,"58921_0"],["VerifiedCrypto.ChaCha20.quarterRound",4,4826858,"764_0"],["VerifiedCrypto.ChaCha20.quarterRound_inv_correct",3,4826858,"764_0"]],[],0.0828,null,null,null,null,null],["d","VerifiedCrypto.ChaCha20.quarterRound_inv_correct","theorem",3,"unchecked","","VerifiedCrypto/ChaCha20.lean",63,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["VerifiedCrypto.ChaCha20.quarterRound",4,4826858,"764_0"],["VerifiedCrypto.ChaCha20.quarterRoundInv",4,4826858,"764_0"]],[["VerifiedCrypto.ChaCha20.quarterRound_injective",3,4826858,"764_0"]],0.6804,null,null,null,null,null]],"edges":[[1,3,1,0,1],[0,3,1,0,1],[2,3,1,0,1],[0,2,1,0,1]],"top":[["VerifiedCrypto.ChaCha20.quarterRound_inv_correct",3,0.6804,4826858,"764_0",4],["VerifiedCrypto.ChaCha20.quarterRound_injective",3,0.0828,4826858,"764_0",4]]},"4826859":{"id":4826859,"label":"XOR","n":2,"s":[0,0,0,2,0,0,0],"env":"https://github.com/sherbekjondev/verified-crypto@8212963c7c73a52d723c68ec2bad67ea5c69f16b#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826615,"verified-agentic-l … x402-starknet-exte","t13"],[4826856,"verified-crypto/VerifiedCrypto","764_0"]],"kids":[["d","VerifiedCrypto.XOR.xor_cancel_left","theorem",3,"unchecked","","VerifiedCrypto/XOR.lean",32,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["xor_self_zero",3,2801740,"4160_0"],["VerifiedCrypto.XOR.zero_xor",3,4826859,"764_0"],["xor_assoc",3,2801740,"4160_0"]],[],0.0828,null,null,null,null,null],["d","VerifiedCrypto.XOR.zero_xor","theorem",3,"unchecked","","VerifiedCrypto/XOR.lean",18,[],[],"","",null,[["BitVec",4,1562259,"12127_0"],["BitVec.zero_xor",3,1868721,"12573_0"]],[["SaltWorks.SortDemo.bv_xor_cancel_left",3,235372,"20753_1"],["Bech32.two_substitutions_detected",3,2914990,"10685_0"],["VerifiedCrypto.XOR.xor_cancel_left",3,4826859,"764_0"]],0.8624,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[["VerifiedCrypto.XOR.zero_xor",3,0.8624,4826859,"764_0",5],["VerifiedCrypto.XOR.xor_cancel_left",3,0.0828,4826859,"764_0",4]]}}}1{"chunks":{"4821114":{"id":4821114,"label":"quanttide-profile-of-meta-engineering/quanttide-delib/index","n":18,"s":[0,0,0,5,13,0,0],"env":"https://github.com/quanttide/quanttide-profile-of-meta-engineering@3a39d1602aabdbd413be0f81291634b7f5911314#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4820691,"programming-practi … querypaper","t12"]],"kids":[["d","AgendaItem","structure",4,"definition","","quanttide-delib/index.lean",31,[],[],"","",null,[],[],0.888,null,null,"议题:议程上的条目,有编号有摘要","docstring",null],["d","C","def",4,"definition","(r : Resolution) : Prop","quanttide-delib/index.lean",55,[],[],"","",null,[],[],0.9866,null,null,"C(r):社区决议的早期判定条件——认证在场","docstring",null],["d","Certified","def",4,"definition","(r : Resolution) : Prop","quanttide-delib/index.lean",51,[],[],"","",null,[],[],0.9741,null,null,"certified(r):认证在场(已认证或已发布)","docstring",null],["d","Community","def",4,"definition","(r : Resolution) : Prop","quanttide-delib/index.lean",76,[],[],"","",null,[],[],0.9921,null,null,"inv1:能成为决议,通过是前提;再走认证才满足 C","docstring",null],["d","Draft","structure",4,"definition","","quanttide-delib/index.lean",37,[],[],"","",null,[],[],0.9978,null,null,"草案:只挂一条议题,带提案国与版本","docstring",null],["d","DraftState","inductive",4,"definition","where","quanttide-delib/index.lean",23,[],[],"","",null,[],[],0.9975,null,null,"草案的相位","docstring",null],["d","Org","inductive",4,"definition","where","quanttide-delib/index.lean",9,[],[],"","",null,[],[],0.9993,null,null,"产生决议的三种机构","docstring",null],["d","Phase","inductive",4,"definition","where","quanttide-delib/index.lean",16,[],[],"","",null,[],[],0.9963,null,null,"决议的相位:能成为决议,通过是前提,故从待认证起","docstring",null],["d","Resolution","structure",4,"definition","","quanttide-delib/index.lean",44,[],[],"","",null,[],[],0.9983,null,null,"决议:表决通过才发号","docstring",null],["d","certify","def",4,"definition","(r : Resolution) (_h : r.phase = .pending) : Resolution","quanttide-delib/index.lean",68,[],[],"","",null,[],[],0.8044,null,null,"certify:pre 待认证,post 已认证","docstring",null],["d","certify_post","theorem",3,"unchecked","(r : Resolution) (h : r.phase = .pending) : (certify r h).phase = .certified","quanttide-delib/index.lean",85,[],[],"","",null,[["Resolution",4,4821114,"765_0"],["certify",4,4821114,"765_0"]],[],0.0806,null,null,"post:认证之后相位是 certified","docstring",null],["d","deliberate","def",4,"definition","(d : Draft) (resId : String) (org : Org) (_h : d.state = .onTable) : Resolution","quanttide-delib/index.lean",63,[],[],"","",null,[],[],0.9992,null,null,"deliberate:表决在桌草案,通过则发号产生决议(否决分支示例略)","docstring",null],["d","inv1","theorem",3,"unchecked","(r : Resolution) (h : Community r) : C r","quanttide-delib/index.lean",78,[],[],"","",null,[["Resolution",4,4821114,"765_0"],["Community",4,4821114,"765_0"],["C",4,4821114,"765_0"]],[],0.0806,null,null,null,null,null],["d","inv2","theorem",3,"unchecked","(r : Resolution) (h : C r) : Certified (publish r h)","quanttide-delib/index.lean",81,[],[],"","",null,[["Resolution",4,4821114,"765_0"],["C",4,4821114,"765_0"],["Certified",4,4821114,"765_0"],["publish",4,4821114,"765_0"]],[],0.0806,null,null,"inv2:发在官网 ⇒ 已认证","docstring",null],["d","inv3","theorem",3,"unchecked","(a : AgendaItem) (d : Draft) (h : a.onAgenda = true ∧ d.sponsors ≠ []) : (review a d h).state = .onTable","quanttide-delib/index.lean",93,[],[],"","",null,[["Draft",4,4821114,"765_0"],["AgendaItem",4,4821114,"765_0"],["review",4,4821114,"765_0"]],[],0.0806,null,null,"inv3:review 之后草案在桌上,其议题必已上议程(前置所保)","docstring",null],["d","publish","def",4,"definition","(r : Resolution) (_h : C r) : Resolution","quanttide-delib/index.lean",72,[],[],"","",null,[],[],0.8264,null,null,"publish:pre C(r),post 已发布","docstring",null],["d","publish_post","theorem",3,"unchecked","(r : Resolution) (h : C r) : (publish r h).phase = .published","quanttide-delib/index.lean",89,[],[],"","",null,[["Resolution",4,4821114,"765_0"],["C",4,4821114,"765_0"],["publish",4,4821114,"765_0"]],[],0.0806,null,null,"post:发布之后相位是 published","docstring",null],["d","review","def",4,"definition","(a : AgendaItem) (d : Draft) (_h : a.onAgenda = true ∧ d.sponsors ≠ []) : Draft","quanttide-delib/index.lean",58,[],[],"","",null,[],[],0.735,null,null,"review:pre 议题在议程上且有提案国,post 草案上桌","docstring",null]],"edges":[[14,17,1,0,1],[7,8,1,0,1],[8,13,1,0,1],[0,14,1,0,1],[3,8,1,0,1],[3,12,1,0,1],[2,8,1,0,1],[9,10,1,0,1],[2,13,1,0,1],[8,11,1,0,1],[1,2,1,0,1],[1,16,1,0,1],[6,8,1,0,1],[1,13,1,0,1],[1,12,1,0,1],[8,12,1,0,1],[4,11,1,0,1],[8,16,1,0,1],[8,9,1,0,1],[4,14,1,0,1],[6,11,1,0,1],[15,16,1,0,1],[13,15,1,0,1],[8,10,1,0,1],[8,15,1,0,1],[4,5,1,0,1],[0,17,1,0,1],[4,17,1,0,1],[1,15,1,0,1],[1,8,1,0,1],[1,3,1,0,1]],"top":[["certify_post",3,0.0806,4821114,"765_0",2],["inv1",3,0.0806,4821114,"765_0",3],["inv2",3,0.0806,4821114,"765_0",4],["inv3",3,0.0806,4821114,"765_0",3],["publish_post",3,0.0806,4821114,"765_0",3]]}}}1{"chunks":{"4817329":{"id":4817329,"label":"lean-links/ExportLinks","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/inducer/lean-links@fe033575f291cedeb8b25d97a9d31e3935a2eb29#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4816977,"lean-informal/Info … lean-milller-rabin","t12"]],"kids":[["d","LinkEntry","structure",4,"definition","","ExportLinks.lean",39,[],[],"","",null,[],[],0.8653,null,null,null,null,null],["d","collectLinks","def",4,"definition","(moduleRoot : Name) : CoreM (Array LinkEntry)","ExportLinks.lean",52,[],[],"","",null,[],[],0.4643,null,null,null,null,null],["d","escapeTeXUrl","def",4,"definition","(url : String) : String","ExportLinks.lean",77,[],[],"","",null,[],[],0.4643,null,null,null,null,null],["d","exportLinks","def",4,"definition","(moduleName output template : String) : IO Unit","ExportLinks.lean",91,[],[],"","",null,[],[],0.0806,null,null,null,null,null],["d","isTeXIdentifier","def",4,"definition","(name : String) : Bool","ExportLinks.lean",46,[],[],"","",null,[],[],0.6963,null,null,null,null,null],["d","replaceTemplate","def",4,"definition","(template : String) (entry : LinkEntry) : String","ExportLinks.lean",71,[],[],"","",null,[],[],0.4643,null,null,null,null,null]],"edges":[[1,3,1,0,1],[3,5,1,0,1],[1,4,1,0,1],[2,3,1,0,1],[0,1,1,0,1],[0,5,1,0,1]],"top":[]}}}1{"chunks":{"4828732":{"id":4828732,"label":"lean-safety-gate/LeanSafetyGate","n":43,"s":[0,0,0,20,23,0,0],"env":"https://github.com/aguski/lean-safety-gate@8ee96a664d0dc33c230d12832e6caca1f52e5fda#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"]],"kids":[["g",4828733,"Proofs",22,[0,0,0,20,2,0,0],"767_0",[["LeanSafetyGate.Proofs.motorAt_eq",3,0.8969,4828733,"767_0",9],["LeanSafetyGate.Proofs.step_motor_true_iff",3,0.8572,4828733,"767_0",12],["LeanSafetyGate.Proofs.estopLatchHoldsUntilReset",3,0.8044,4828733,"767_0",6]],4828733],["g",4828734,"Model",11,[0,0,0,0,11,0,0],"767_0",[],4828734],["g",4828735,"Spec",9,[0,0,0,0,9,0,0],"767_0",[],4828735],["g",4828736,"Main",1,[0,0,0,0,1,0,0],"767_0",[],4828736]],"edges":[[0,1,59,0,59],[0,2,13,0,13],[1,2,12,0,12],[1,3,1,0,1]],"top":[["LeanSafetyGate.Proofs.motorAt_eq",3,0.8969,4828733,"767_0",9],["LeanSafetyGate.Proofs.step_motor_true_iff",3,0.8572,4828733,"767_0",12],["LeanSafetyGate.Proofs.estopLatchHoldsUntilReset",3,0.8044,4828733,"767_0",6]]},"4828733":{"id":4828733,"label":"Proofs","n":22,"s":[0,0,0,20,2,0,0],"env":"https://github.com/aguski/lean-safety-gate@8ee96a664d0dc33c230d12832e6caca1f52e5fda#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"],[4828732,"lean-safety-gate/LeanSafetyGate","767_0"]],"kids":[["d","LeanSafetyGate.Proofs.estopLatchHoldsUntilReset","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",221,[],[],"","",null,[["LeanSafetyGate.init",4,4828734,"767_0"],["LeanSafetyGate.Spec.latchTrace",4,4828735,"767_0"],["LeanSafetyGate.Proofs.motorAt_eq",3,4828733,"767_0"],["LeanSafetyGate.Proofs.latch_blocks_from",3,4828733,"767_0"],["LeanSafetyGate.Spec.estopLatchHoldsUntilReset",4,4828735,"767_0"]],[["LeanSafetyGate.Proofs.startIgnoredWhileLatched",3,4828733,"767_0"]],0.8044,null,null,null,null,null],["d","LeanSafetyGate.Proofs.guardsOk_iff","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",35,[],[],"","",null,[["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.guardsOk",4,4828734,"767_0"]],[["LeanSafetyGate.Proofs.start_enables_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.holds_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.motorOnlyWhenSafe",3,4828733,"767_0"]],0.7685,null,null,null,null,null],["d","LeanSafetyGate.Proofs.holds_from","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",174,[],[],"","",null,[["mpr",3,1741631,"12513_26"],["Nat.zero_lt_succ",3,4396930,"32300_0"],["List.getElem?_cons_succ",3,2356142,"38216_0"],["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.nextLatch",4,4828734,"767_0"]],[["LeanSafetyGate.Proofs.motorHoldsWhileSafe",3,4828733,"767_0"]],0.631,null,null,null,null,null],["d","LeanSafetyGate.Proofs.latch_blocks_from","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",90,[],[],"","",null,[["List.getElem?_cons_succ",3,2356142,"38216_0"],["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.nextLatch",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"]],[["LeanSafetyGate.Proofs.estopLatchHoldsUntilReset",3,4828733,"767_0"]],0.7041,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motorAtFrom","def",4,"definition","","LeanSafetyGate/Proofs.lean",52,[],[],"","",null,[],[],0.9578,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motorAtFrom_nil","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",60,[],[],"","",null,[["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.run",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motorAtFrom_succ","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",67,[],[],"","",null,[["List.getElem?_cons_succ",3,2356142,"38216_0"],["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.run",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motorAtFrom_zero","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",63,[],[],"","",null,[["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.run",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"],["LeanSafetyGate.toOutput",4,4828734,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motorAt_eq","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",57,[],[],"","",null,[["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.Spec.motorAt",4,4828735,"767_0"],["LeanSafetyGate.init",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"]],[["LeanSafetyGate.Proofs.estopLatchHoldsUntilReset",3,4828733,"767_0"],["LeanSafetyGate.Proofs.motorHoldsWhileSafe",3,4828733,"767_0"],["LeanSafetyGate.Proofs.motorOnlyWhenSafe",3,4828733,"767_0"],["LeanSafetyGate.Proofs.startEnablesWhenClear",3,4828733,"767_0"],["LeanSafetyGate.Proofs.noAutomaticRestart",3,4828733,"767_0"]],0.8969,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motorHoldsWhileSafe","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",249,[],[],"","",null,[["LeanSafetyGate.init",4,4828734,"767_0"],["LeanSafetyGate.Spec.latchTrace",4,4828735,"767_0"],["LeanSafetyGate.Proofs.motorAt_eq",3,4828733,"767_0"],["LeanSafetyGate.Proofs.holds_from",3,4828733,"767_0"],["LeanSafetyGate.Spec.motorHoldsWhileSafe",4,4828735,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motorOnlyWhenSafe","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",216,[],[],"","",null,[["LeanSafetyGate.init",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAt_eq",3,4828733,"767_0"],["LeanSafetyGate.Proofs.guardsOk_iff",3,4828733,"767_0"],["LeanSafetyGate.Proofs.motor_safe_from",3,4828733,"767_0"],["LeanSafetyGate.Spec.motorOnlyWhenSafe",4,4828735,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.motor_safe_from","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",71,[],[],"","",null,[["List.getElem?_cons_succ",3,2356142,"38216_0"],["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"],["LeanSafetyGate.guardsOk",4,4828734,"767_0"]],[["LeanSafetyGate.Proofs.motorOnlyWhenSafe",3,4828733,"767_0"]],0.631,null,null,null,null,null],["d","LeanSafetyGate.Proofs.needs_start_from","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",116,[],[],"","",null,[["List.getElem?_cons_succ",3,2356142,"38216_0"],["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"],["LeanSafetyGate.Proofs.step_motor_true_iff",3,4828733,"767_0"]],[["LeanSafetyGate.Proofs.noAutomaticRestart",3,4828733,"767_0"]],0.5893,null,null,null,null,null],["d","LeanSafetyGate.Proofs.nextLatch_eq_latchAfter","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",14,[],[],"","",null,[["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.nextLatch",4,4828734,"767_0"]],[["LeanSafetyGate.Proofs.step_motor_true_iff",3,4828733,"767_0"],["LeanSafetyGate.Proofs.step_latch",3,4828733,"767_0"]],0.8019,null,null,null,null,null],["d","LeanSafetyGate.Proofs.noAutomaticRestart","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",231,[],[],"","",null,[["LeanSafetyGate.init",4,4828734,"767_0"],["LeanSafetyGate.Proofs.motorAtFrom",4,4828733,"767_0"],["LeanSafetyGate.Proofs.motorAt_eq",3,4828733,"767_0"],["LeanSafetyGate.Proofs.prevWasOff",4,4828733,"767_0"],["LeanSafetyGate.Spec.noAutomaticRestart",4,4828735,"767_0"],["LeanSafetyGate.Proofs.needs_start_from",3,4828733,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.prevWasOff","def",4,"definition","","LeanSafetyGate/Proofs.lean",112,[],[],"","",null,[],[],0.7325,null,null,null,null,null],["d","LeanSafetyGate.Proofs.startEnablesWhenClear","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",244,[],[],"","",null,[["LeanSafetyGate.init",4,4828734,"767_0"],["LeanSafetyGate.Spec.latchTrace",4,4828735,"767_0"],["LeanSafetyGate.Proofs.motorAt_eq",3,4828733,"767_0"],["LeanSafetyGate.Spec.startEnablesWhenClear",4,4828735,"767_0"],["LeanSafetyGate.Proofs.start_enables_from",3,4828733,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.startIgnoredWhileLatched","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",227,[],[],"","",null,[["LeanSafetyGate.Spec.startIgnoredWhileLatched",4,4828735,"767_0"],["LeanSafetyGate.Proofs.estopLatchHoldsUntilReset",3,4828733,"767_0"]],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.Proofs.start_enables_from","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",144,[],[],"","",null,[["mpr",3,1741631,"12513_26"],["List.getElem?_cons_succ",3,2356142,"38216_0"],["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.nextLatch",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"]],[["LeanSafetyGate.Proofs.startEnablesWhenClear",3,4828733,"767_0"]],0.631,null,null,null,null,null],["d","LeanSafetyGate.Proofs.step_latch","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",18,[],[],"","",null,[["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.nextLatch",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.Proofs.nextLatch_eq_latchAfter",3,4828733,"767_0"]],[["LeanSafetyGate.Proofs.latch_blocks_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.start_enables_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.holds_from",3,4828733,"767_0"]],0.7436,null,null,null,null,null],["d","LeanSafetyGate.Proofs.step_motor_false_of_latch","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",41,[],[],"","",null,[["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.nextLatch",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.Proofs.step_motor_true_iff",3,4828733,"767_0"]],[["LeanSafetyGate.Proofs.latch_blocks_from",3,4828733,"767_0"]],0.5438,null,null,null,null,null],["d","LeanSafetyGate.Proofs.step_motor_true_iff","theorem",3,"unchecked","","LeanSafetyGate/Proofs.lean",24,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["LeanSafetyGate.Inputs",4,4828734,"767_0"],["LeanSafetyGate.State",4,4828734,"767_0"],["LeanSafetyGate.nextLatch",4,4828734,"767_0"],["LeanSafetyGate.step",4,4828734,"767_0"],["LeanSafetyGate.guardsOk",4,4828734,"767_0"]],[["LeanSafetyGate.Proofs.motor_safe_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.start_enables_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.holds_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.needs_start_from",3,4828733,"767_0"],["LeanSafetyGate.Proofs.step_motor_false_of_latch",3,4828733,"767_0"]],0.8572,null,null,null,null,null]],"edges":[[4,11,1,0,1],[14,15,1,0,1],[4,8,1,0,1],[4,7,1,0,1],[8,10,1,0,1],[4,14,1,0,1],[2,9,1,0,1],[8,16,1,0,1],[18,21,1,0,1],[13,21,1,0,1],[11,21,1,0,1],[4,18,1,0,1],[3,19,1,0,1],[10,11,1,0,1],[2,21,1,0,1],[12,21,1,0,1],[4,5,1,0,1],[20,21,1,0,1],[0,17,1,0,1],[1,10,1,0,1],[8,14,1,0,1],[12,15,1,0,1],[4,12,1,0,1],[0,8,1,0,1],[16,18,1,0,1],[1,18,1,0,1],[4,15,1,0,1],[1,2,1,0,1],[18,19,1,0,1],[13,19,1,0,1],[12,14,1,0,1],[3,20,1,0,1],[8,9,1,0,1],[0,3,1,0,1],[4,6,1,0,1],[3,4,1,0,1],[2,19,1,0,1],[2,4,1,0,1]],"top":[["LeanSafetyGate.Proofs.motorAt_eq",3,0.8969,4828733,"767_0",9],["LeanSafetyGate.Proofs.step_motor_true_iff",3,0.8572,4828733,"767_0",12],["LeanSafetyGate.Proofs.estopLatchHoldsUntilReset",3,0.8044,4828733,"767_0",6]]},"4828734":{"id":4828734,"label":"Model","n":11,"s":[0,0,0,0,11,0,0],"env":"https://github.com/aguski/lean-safety-gate@8ee96a664d0dc33c230d12832e6caca1f52e5fda#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"],[4828732,"lean-safety-gate/LeanSafetyGate","767_0"]],"kids":[["d","LeanSafetyGate.Inputs","structure",4,"definition","","LeanSafetyGate/Model.lean",11,[],[],"","",null,[],[],0.9955,null,null,null,null,null],["d","LeanSafetyGate.Output","structure",4,"definition","","LeanSafetyGate/Model.lean",23,[],[],"","",null,[],[],0.9335,null,null,null,null,null],["d","LeanSafetyGate.State","structure",4,"definition","","LeanSafetyGate/Model.lean",28,[],[],"","",null,[],[],0.9896,null,null,null,null,null],["d","LeanSafetyGate.guardsOk","def",4,"definition","","LeanSafetyGate/Model.lean",43,[],[],"","",null,[],[],0.9442,null,null,null,null,null],["d","LeanSafetyGate.init","def",4,"definition","","LeanSafetyGate/Model.lean",35,[],[],"","",null,[],[],0.9665,null,null,null,null,null],["d","LeanSafetyGate.inputs","def",4,"definition","","LeanSafetyGate/Model.lean",78,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","LeanSafetyGate.motors","def",4,"definition","","LeanSafetyGate/Model.lean",81,[],[],"","",null,[],[],0.0805,null,null,null,null,null],["d","LeanSafetyGate.nextLatch","def",4,"definition","","LeanSafetyGate/Model.lean",47,[],[],"","",null,[],[],0.9734,null,null,null,null,null],["d","LeanSafetyGate.run","def",4,"definition","","LeanSafetyGate/Model.lean",68,[],[],"","",null,[],[],0.9681,null,null,null,null,null],["d","LeanSafetyGate.step","def",4,"definition","","LeanSafetyGate/Model.lean",56,[],[],"","",null,[],[],0.9588,null,null,null,null,null],["d","LeanSafetyGate.toOutput","def",4,"definition","","LeanSafetyGate/Model.lean",39,[],[],"","",null,[],[],0.8821,null,null,null,null,null]],"edges":[[8,10,1,0,1],[0,6,1,0,1],[3,9,1,0,1],[8,9,1,0,1],[4,6,1,0,1],[2,4,1,0,1],[2,8,1,0,1],[0,7,1,0,1],[1,8,1,0,1],[6,8,1,0,1],[0,5,1,0,1],[2,9,1,0,1],[1,10,1,0,1],[5,6,1,0,1],[0,3,1,0,1],[0,8,1,0,1],[0,9,1,0,1],[7,9,1,0,1],[2,10,1,0,1]],"top":[]},"4828735":{"id":4828735,"label":"Spec","n":9,"s":[0,0,0,0,9,0,0],"env":"https://github.com/aguski/lean-safety-gate@8ee96a664d0dc33c230d12832e6caca1f52e5fda#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"],[4828732,"lean-safety-gate/LeanSafetyGate","767_0"]],"kids":[["d","LeanSafetyGate.Spec.estopLatchHoldsUntilReset","def",4,"definition","","LeanSafetyGate/Spec.lean",58,[],[],"","",null,[],[],0.7041,null,null,null,null,null],["d","LeanSafetyGate.Spec.latchTrace","def",4,"definition","","LeanSafetyGate/Spec.lean",34,[],[],"","",null,[],[],0.957,null,null,null,null,null],["d","LeanSafetyGate.Spec.latchTraceFrom","def",4,"definition","","LeanSafetyGate/Spec.lean",27,[],[],"","",null,[],[],0.944,null,null,null,null,null],["d","LeanSafetyGate.Spec.motorAt","def",4,"definition","","LeanSafetyGate/Spec.lean",38,[],[],"","",null,[],[],0.9692,null,null,null,null,null],["d","LeanSafetyGate.Spec.motorHoldsWhileSafe","def",4,"definition","","LeanSafetyGate/Spec.lean",102,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","LeanSafetyGate.Spec.motorOnlyWhenSafe","def",4,"definition","","LeanSafetyGate/Spec.lean",45,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","LeanSafetyGate.Spec.noAutomaticRestart","def",4,"definition","","LeanSafetyGate/Spec.lean",68,[],[],"","",null,[],[],0.5893,null,null,null,null,null],["d","LeanSafetyGate.Spec.startEnablesWhenClear","def",4,"definition","","LeanSafetyGate/Spec.lean",90,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","LeanSafetyGate.Spec.startIgnoredWhileLatched","def",4,"definition","","LeanSafetyGate/Spec.lean",78,[],[],"","",null,[],[],0.8044,null,null,null,null,null]],"edges":[[3,7,1,0,1],[0,3,1,0,1],[1,7,1,0,1],[1,8,1,0,1],[0,1,1,0,1],[1,4,1,0,1],[3,8,1,0,1],[3,5,1,0,1],[3,6,1,0,1],[1,2,1,0,1],[3,4,1,0,1]],"top":[]},"4828736":{"id":4828736,"label":"Main","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/aguski/lean-safety-gate@8ee96a664d0dc33c230d12832e6caca1f52e5fda#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4828643,"lean-proofs … lean-start/Main","t13"],[4828732,"lean-safety-gate/LeanSafetyGate","767_0"]],"kids":[["d","decodeTrace","def",4,"definition","","LeanSafetyGate/Main.lean",33,[],[],"","",null,[],[],0.0805,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4826325":{"id":4826325,"label":"foulkes-3-5/Foulkes35_Scaffold","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/contatofilipevono-rgb/foulkes-3-5@b7a670ce56fca7fd96b58ca4dd1c4634bba1e8ea#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826012,"formalizing-np-red … g-fixed-point-argu","t13"]],"kids":[["d","Foulkes35.transport_preimage","theorem",3,"unchecked","","Foulkes35_Scaffold.lean",10,[],[],"","",null,[["hcomm",3,3027778,"62755_0"]],[],0.0805,null,null,null,null,null]],"edges":[],"top":[["Foulkes35.transport_preimage",3,0.0805,4826325,"768_0",1]]}}}1{"chunks":{"4827069":{"id":4827069,"label":"playing-lean","n":26,"s":[0,0,0,0,26,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"]],"kids":[["g",4827070,"exercicios",15,[0,0,0,0,15,0,0],"769_0",[],4827080],["g",4827081,"arvore",8,[0,0,0,0,8,0,0],"769_0",[],4827081],["g",4827082,"expr",3,[0,0,0,0,3,0,0],"769_0",[],4827082]],"edges":[],"top":[]},"4827070":{"id":4827070,"label":"exercicios","n":15,"s":[0,0,0,0,15,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"]],"kids":[["g",4827071,"quadrado",4,[0,0,0,0,4,0,0],"769_0",[],4827071],["g",4827072,"repeteLista",2,[0,0,0,0,2,0,0],"769_0",[],4827072],["g",4827073,"filter_array",2,[0,0,0,0,2,0,0],"769_0",[],4827073],["g",4827074,"abs",1,[0,0,0,0,1,0,0],"769_0",[],4827074],["g",4827075,"list_length",1,[0,0,0,0,1,0,0],"769_0",[],4827075],["g",4827076,"sum_odd",1,[0,0,0,0,1,0,0],"769_0",[],4827076],["g",4827077,"n_element_list",1,[0,0,0,0,1,0,0],"769_0",[],4827077],["g",4827078,"filter_positions",1,[0,0,0,0,1,0,0],"769_0",[],4827078],["g",4827079,"hanoi",1,[0,0,0,0,1,0,0],"769_0",[],4827079],["g",4827080,"reverse_list",1,[0,0,0,0,1,0,0],"769_0",[],4827080]],"edges":[],"top":[]},"4827071":{"id":4827071,"label":"quadrado","n":4,"s":[0,0,0,0,4,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","equalListSizes","def",4,"definition","","exercicios/quadrado.lean",3,[],[],"","",null,[],[],0.9223,null,null,null,null,null],["d","equalSums","def",4,"definition","","exercicios/quadrado.lean",12,[],[],"","",null,[],[],0.8372,null,null,null,null,null],["d","isSquare","def",4,"definition","","exercicios/quadrado.lean",9,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","magicSquare","def",4,"definition","","exercicios/quadrado.lean",18,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[[2,3,1,0,1],[0,2,1,0,1],[1,3,1,0,1]],"top":[]},"4827072":{"id":4827072,"label":"repeteLista","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","repeteLista","def",4,"definition","","exercicios/repeteLista.lean",7,[],[],"","",null,[],[],0.0804,null,null,null,null,null],["d","repeteN","def",4,"definition","","exercicios/repeteLista.lean",1,[],[],"","",null,[],[],0.8909,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4827073":{"id":4827073,"label":"filter_array","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","aux","def",4,"definition","","exercicios/filter_array.lean",1,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","filtra_lista","def",4,"definition","","exercicios/filter_array.lean",12,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4827074":{"id":4827074,"label":"abs","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","abs","def",4,"definition","","exercicios/abs.lean",1,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[],"top":[]},"4827075":{"id":4827075,"label":"list_length","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","length","def",4,"definition","","exercicios/list_length.lean",1,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[],"top":[]},"4827076":{"id":4827076,"label":"sum_odd","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","sumOdd","def",4,"definition","","exercicios/sum_odd.lean",1,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[],"top":[]},"4827077":{"id":4827077,"label":"n_element_list","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","n_list","def",4,"definition","","exercicios/n_element_list.lean",1,[],[],"","",null,[],[],0.6946,null,null,null,null,null]],"edges":[],"top":[]},"4827078":{"id":4827078,"label":"filter_positions","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","filter_pos","def",4,"definition","","exercicios/filter_positions.lean",1,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[],"top":[]},"4827079":{"id":4827079,"label":"hanoi","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","hanoi","def",4,"definition","","exercicios/hanoi.lean",1,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[],"top":[]},"4827080":{"id":4827080,"label":"reverse_list","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"],[4827070,"exercicios","769_0"]],"kids":[["d","reverse","def",4,"definition","","exercicios/reverse_list.lean",1,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[],"top":[]},"4827081":{"id":4827081,"label":"arvore","n":8,"s":[0,0,0,0,8,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"]],"kids":[["d","ABB","inductive",4,"definition","","arvore.lean",1,[],[],"","",null,[],[],0.9919,null,null,null,null,null],["d","a1","def",4,"definition","","arvore.lean",9,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","altura","def",4,"definition","","arvore.lean",24,[],[],"","",null,[],[],0.9833,null,null,null,null,null],["d","busca_ABB","def",4,"definition","","arvore.lean",37,[],[],"","",null,[],[],0.0804,null,null,null,null,null],["d","conta_nos","def",4,"definition","","arvore.lean",5,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","insere_no","def",4,"definition","","arvore.lean",15,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","lista_ABB","def",4,"definition","","arvore.lean",45,[],[],"","",null,[],[],0.0804,null,null,null,null,null],["d","lista_ABB_aux","def",4,"definition","","arvore.lean",28,[],[],"","",null,[],[],0.631,null,null,null,null,null]],"edges":[[0,3,1,0,1],[0,7,1,0,1],[5,6,1,0,1],[0,4,1,0,1],[6,7,1,0,1],[0,1,1,0,1],[0,5,1,0,1],[1,6,1,0,1],[0,6,1,0,1],[0,2,1,0,1],[4,6,1,0,1]],"top":[]},"4827082":{"id":4827082,"label":"expr","n":3,"s":[0,0,0,0,3,0,0],"env":"https://github.com/atreus75/playing-lean@f6e1ce6947be33e6803e507620e50f804a334100#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4826896,"physvm_develop … programming-in-lea","t13"],[4827069,"playing-lean","769_0"]],"kids":[["d","Expr","inductive",4,"definition","","expr.lean",1,[],[],"","",null,[],[],0.9439,null,null,null,null,null],["d","avalia","def",4,"definition","","expr.lean",7,[],[],"","",null,[],[],0.9572,null,null,null,null,null],["d","e1","def",4,"definition","","expr.lean",14,[],[],"","",null,[],[],0.0804,null,null,null,null,null]],"edges":[[1,2,1,0,1],[0,2,1,0,1],[0,1,1,0,1]],"top":[]}}}1{"chunks":{"4827870":{"id":4827870,"label":"musicnotation/MusicNotation","n":57,"s":[0,0,0,0,57,0,0],"env":"https://github.com/alok/musicnotation@5874f66f9a4190b50e8a270806cb328aa2bbf4fd#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"]],"kids":[["g",4827871,"Notation",21,[0,0,0,0,21,0,0],"76_0",[],4827871],["g",4827872,"Basic",16,[0,0,0,0,16,0,0],"76_0",[],4827872],["g",4827873,"Standalone",11,[0,0,0,0,11,0,0],"76_0",[],4827873],["g",4827874,"Visualization",9,[0,0,0,0,9,0,0],"76_0",[],4827874]],"edges":[[0,1,52,0,52],[0,3,6,0,6],[1,3,4,0,4]],"top":[]},"4827871":{"id":4827871,"label":"Notation","n":21,"s":[0,0,0,0,21,0,0],"env":"https://github.com/alok/musicnotation@5874f66f9a4190b50e8a270806cb328aa2bbf4fd#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827870,"musicnotation/MusicNotation","76_0"]],"kids":[["d","MusicNotation.a","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) (acc : Accidental := .natural) : MusicalElement","MusicNotation/Notation.lean",38,[],[],"","",null,[],[],0.1759,null,null,"Create an A note with given parameters","docstring",null],["d","MusicNotation.b","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) (acc : Accidental := .natural) : MusicalElement","MusicNotation/Notation.lean",42,[],[],"","",null,[],[],0.1759,null,null,"Create a B note with given parameters","docstring",null],["d","MusicNotation.bFlat","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) : MusicalElement","MusicNotation/Notation.lean",64,[],[],"","",null,[],[],0.7281,null,null,"Bb note","docstring",null],["d","MusicNotation.c","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) (acc : Accidental := .natural) : MusicalElement","MusicNotation/Notation.lean",18,[],[],"","",null,[],[],0.1759,null,null,"Create a C note with given parameters","docstring",null],["d","MusicNotation.cMajorScale","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) : List MusicalElement","MusicNotation/Notation.lean",50,[],[],"","",null,[],[],0.738,null,null,"Helper to create a C major scale","docstring",null],["d","MusicNotation.createStaff","def",4,"definition","(clef : Clef) (elements : List MusicalElement) : Staff","MusicNotation/Notation.lean",102,[],[],"","",null,[],[],0.1759,null,null,"Create a complete staff with given elements","docstring",null],["d","MusicNotation.createStaffBottomLine","def",4,"definition","(width : Nat) : StaffLine","MusicNotation/Notation.lean",81,[],[],"","",null,[],[],0.5911,null,null,"Create a bottom line for a staff","docstring",null],["d","MusicNotation.createStaffMiddleLine","def",4,"definition","(elements : List MusicalElement) : StaffLine","MusicNotation/Notation.lean",94,[],[],"","",null,[],[],0.5911,null,null,"Create a middle line for a staff with musical elements","docstring",null],["d","MusicNotation.createStaffTopLine","def",4,"definition","(width : Nat) : StaffLine","MusicNotation/Notation.lean",77,[],[],"","",null,[],[],0.5911,null,null,"Create a top line for a staff","docstring",null],["d","MusicNotation.d","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) (acc : Accidental := .natural) : MusicalElement","MusicNotation/Notation.lean",22,[],[],"","",null,[],[],0.1759,null,null,"Create a D note with given parameters","docstring",null],["d","MusicNotation.e","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) (acc : Accidental := .natural) : MusicalElement","MusicNotation/Notation.lean",26,[],[],"","",null,[],[],0.1759,null,null,"Create an E note with given parameters","docstring",null],["d","MusicNotation.f","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) (acc : Accidental := .natural) : MusicalElement","MusicNotation/Notation.lean",30,[],[],"","",null,[],[],0.1759,null,null,"Create an F note with given parameters","docstring",null],["d","MusicNotation.fMajorScale","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) : List MusicalElement","MusicNotation/Notation.lean",68,[],[],"","",null,[],[],0.738,null,null,"F major scale","docstring",null],["d","MusicNotation.fSharp","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) : MusicalElement","MusicNotation/Notation.lean",55,[],[],"","",null,[],[],0.7281,null,null,"F# note","docstring",null],["d","MusicNotation.formatStaff","def",4,"definition","(staff : Staff) : String","MusicNotation/Notation.lean",113,[],[],"","",null,[],[],0.8062,null,null,"Format a staff as a string for display","docstring",null],["d","MusicNotation.g","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) (acc : Accidental := .natural) : MusicalElement","MusicNotation/Notation.lean",34,[],[],"","",null,[],[],0.1759,null,null,"Create a G note with given parameters","docstring",null],["d","MusicNotation.gMajorScale","def",4,"definition","(octave : Nat := 4) (dur : Duration := .quarter) : List MusicalElement","MusicNotation/Notation.lean",59,[],[],"","",null,[],[],0.738,null,null,"G major scale","docstring",null],["d","MusicNotation.musicalElementToStaffString","def",4,"definition",": MusicalElement → String","MusicNotation/Notation.lean",85,[],[],"","",null,[],[],0.8966,null,null,"Convert a musical element to a unicode string for staff notation","docstring",null],["d","MusicNotation.note","def",4,"definition","(name : NoteName) (acc : Accidental := .natural) (octave : Nat := 4) (dur : Duration := .quarter) : MusicalElement","MusicNotation/Notation.lean",13,[],[],"","",null,[],[],0.9388,null,null,"Create a musical note","docstring",null],["d","MusicNotation.rest","def",4,"definition","(dur : Duration := .quarter) : MusicalElement","MusicNotation/Notation.lean",46,[],[],"","",null,[],[],0.8229,null,null,"Create a rest with given duration","docstring",null],["d","MusicNotation.staffHorizontalLine","def",4,"definition","(width : Nat) : String","MusicNotation/Notation.lean",73,[],[],"","",null,[],[],0.9043,null,null,"Create string for horizontal line of staff","docstring",null]],"edges":[[6,20,1,0,1],[11,18,1,0,1],[15,18,1,0,1],[2,12,1,0,1],[5,7,1,0,1],[17,18,1,0,1],[1,18,1,0,1],[9,18,1,0,1],[5,6,1,0,1],[0,18,1,0,1],[10,18,1,0,1],[8,20,1,0,1],[3,18,1,0,1],[17,19,1,0,1],[13,16,1,0,1],[7,17,1,0,1],[5,8,1,0,1]],"top":[]},"4827872":{"id":4827872,"label":"Basic","n":16,"s":[0,0,0,0,16,0,0],"env":"https://github.com/alok/musicnotation@5874f66f9a4190b50e8a270806cb328aa2bbf4fd#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827870,"musicnotation/MusicNotation","76_0"]],"kids":[["d","Accidental","inductive",4,"definition","where","MusicNotation/Basic.lean",21,[],[],"","",null,[],[],0.9874,null,null,"Represents a musical accidental","docstring",null],["d","Clef","inductive",4,"definition","where","MusicNotation/Basic.lean",42,[],[],"","",null,[],[],0.9967,null,null,"Represents a clef type","docstring",null],["d","Duration","inductive",4,"definition","where","MusicNotation/Basic.lean",30,[],[],"","",null,[],[],0.9977,null,null,"Represents a note duration","docstring",null],["d","MusicalElement","inductive",4,"definition","where","MusicNotation/Basic.lean",68,[],[],"","",null,[],[],0.9832,null,null,"A musical element (note or rest)","docstring",null],["d","Note","structure",4,"definition","","MusicNotation/Basic.lean",57,[],[],"","",null,[],[],0.9509,null,null,"Musical note with pitch and duration","docstring",null],["d","NoteName","inductive",4,"definition","where","MusicNotation/Basic.lean",10,[],[],"","",null,[],[],0.9838,null,null,"Represents a musical note name without octave or accidental","docstring",null],["d","Pitch","structure",4,"definition","where name : NoteName accidental : Accidental","MusicNotation/Basic.lean",50,[],[],"","",null,[],[],0.9928,null,null,"Pitch with note name, accidental, and octave","docstring",null],["d","Rest","structure",4,"definition","","MusicNotation/Basic.lean",63,[],[],"","",null,[],[],0.9509,null,null,"Musical rest with duration","docstring",null],["d","Staff","structure",4,"definition","","MusicNotation/Basic.lean",79,[],[],"","",null,[],[],0.9983,null,null,"A complete staff with multiple lines","docstring",null],["d","StaffLine","structure",4,"definition","","MusicNotation/Basic.lean",74,[],[],"","",null,[],[],0.995,null,null,"A staff line in Unicode notation","docstring",null],["d","accidentalToString","def",4,"definition",": Accidental → String","MusicNotation/Basic.lean",97,[],[],"","",null,[],[],0.8157,null,null,null,null,null],["d","clefToString","def",4,"definition",": Clef → String","MusicNotation/Basic.lean",114,[],[],"","",null,[],[],0.9198,null,null,null,null,null],["d","durationToString","def",4,"definition",": Duration → String","MusicNotation/Basic.lean",104,[],[],"","",null,[],[],0.8157,null,null,null,null,null],["d","makeNote","def",4,"definition","(name : NoteName) (acc : Accidental := .natural) (octave : Nat := 4) (dur : Duration := .quarter) : MusicalElement","MusicNotation/Basic.lean",121,[],[],"","",null,[],[],0.7705,null,null,"Create a note with given parameters","docstring",null],["d","makeRest","def",4,"definition","(dur : Duration := .quarter) : MusicalElement","MusicNotation/Basic.lean",126,[],[],"","",null,[],[],0.7552,null,null,"Create a rest with given duration","docstring",null],["d","noteNameToString","def",4,"definition",": NoteName → String","MusicNotation/Basic.lean",88,[],[],"","",null,[],[],0.8157,null,null,"Helper functions for converting music elements to Unicode","docstring",null]],"edges":[[8,9,1,0,1],[5,6,1,0,1],[3,14,1,0,1],[3,7,1,0,1],[14,15,1,0,1],[3,4,1,0,1],[2,4,1,0,1],[3,13,1,0,1],[4,6,1,0,1],[12,14,1,0,1],[2,13,1,0,1],[5,13,1,0,1],[0,10,1,0,1],[1,8,1,0,1],[2,7,1,0,1],[0,6,1,0,1],[5,15,1,0,1],[2,12,1,0,1],[0,13,1,0,1],[10,14,1,0,1],[1,11,1,0,1],[2,14,1,0,1]],"top":[]},"4827873":{"id":4827873,"label":"Standalone","n":11,"s":[0,0,0,0,11,0,0],"env":"https://github.com/alok/musicnotation@5874f66f9a4190b50e8a270806cb328aa2bbf4fd#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827870,"musicnotation/MusicNotation","76_0"]],"kids":[["d","accidentalExampleUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",123,[],[],"","",null,[],[],0.1759,null,null,"Example showing different accidentals","docstring",null],["d","cChordUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",105,[],[],"","",null,[],[],0.1759,null,null,"C major chord as a Unicode staff","docstring",null],["d","cMajorScaleUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",87,[],[],"","",null,[],[],0.1759,null,null,"C major scale as a Unicode staff","docstring",null],["d","clefExampleUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",129,[],[],"","",null,[],[],0.1759,null,null,"Example showing different clefs","docstring",null],["d","clefToUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",72,[],[],"","",null,[],[],0.1759,null,null,"Clef to Unicode conversion","docstring",null],["d","detailedStaffExample","def",4,"definition",": String","MusicNotation/Standalone.lean",141,[],[],"","",null,[],[],0.1759,null,null,"A more detailed 5-line staff example with C Major scale","docstring",null],["d","durationExampleUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",117,[],[],"","",null,[],[],0.1759,null,null,"Example showing different durations","docstring",null],["d","fMajorScaleUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",99,[],[],"","",null,[],[],0.1759,null,null,"F major scale as a Unicode staff","docstring",null],["d","gMajorScaleUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",93,[],[],"","",null,[],[],0.1759,null,null,"G major scale as a Unicode staff","docstring",null],["d","repeatChar","def",4,"definition","(char : String) (n : Nat) : String","MusicNotation/Standalone.lean",80,[],[],"","",null,[],[],0.1759,null,null,"Create a string with a character repeated n times","docstring",null],["d","twinkleTwinkleUnicode","def",4,"definition",": String","MusicNotation/Standalone.lean",111,[],[],"","",null,[],[],0.1759,null,null,"Twinkle Twinkle Little Star as a Unicode staff","docstring",null]],"edges":[],"top":[]},"4827874":{"id":4827874,"label":"Visualization","n":9,"s":[0,0,0,0,9,0,0],"env":"https://github.com/alok/musicnotation@5874f66f9a4190b50e8a270806cb328aa2bbf4fd#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4827746,"mop/MOP/Chapter_3 … nelsonnl","t13"],[4827870,"musicnotation/MusicNotation","76_0"]],"kids":[["d","MusicNotation.accidentalExampleStaff","def",4,"definition",": String","MusicNotation/Visualization.lean",64,[],[],"","",null,[],[],0.1759,null,null,"Create a staff showing different accidentals","docstring",null],["d","MusicNotation.cMajorScaleStaff","def",4,"definition",": String","MusicNotation/Visualization.lean",28,[],[],"","",null,[],[],0.1759,null,null,"Creates a C major scale staff with standard notation","docstring",null],["d","MusicNotation.clefExampleStaff","def",4,"definition",": String","MusicNotation/Visualization.lean",77,[],[],"","",null,[],[],0.1759,null,null,"Create a staff showing different clefs","docstring",null],["d","MusicNotation.createStandardStaff","def",4,"definition","(clef : Clef) (elements : List MusicalElement) : String","MusicNotation/Visualization.lean",17,[],[],"","",null,[],[],0.963,null,null,"Create a \"prettier\" staff with 5 staff lines using Unicode box-drawing characters","docstring",null],["d","MusicNotation.durationExampleStaff","def",4,"definition",": String","MusicNotation/Visualization.lean",51,[],[],"","",null,[],[],0.1759,null,null,"Create a staff showing different durations","docstring",null],["d","MusicNotation.fMajorScaleStaff","def",4,"definition",": String","MusicNotation/Visualization.lean",36,[],[],"","",null,[],[],0.1759,null,null,"Creates an F major scale staff with standard notation","docstring",null],["d","MusicNotation.gMajorScaleStaff","def",4,"definition",": String","MusicNotation/Visualization.lean",32,[],[],"","",null,[],[],0.1759,null,null,"Creates a G major scale staff with standard notation","docstring",null],["d","MusicNotation.renderMultipleStaffs","def",4,"definition","(staffs : List Staff) : String","MusicNotation/Visualization.lean",13,[],[],"","",null,[],[],0.1759,null,null,"Render multiple staffs as a multi-line string","docstring",null],["d","MusicNotation.twinkleTwinkleStaff","def",4,"definition",": String","MusicNotation/Visualization.lean",40,[],[],"","",null,[],[],0.1759,null,null,"Creates a staff with Twinkle Twinkle Little Star","docstring",null]],"edges":[[3,8,1,0,1],[0,3,1,0,1],[1,3,1,0,1],[3,5,1,0,1],[2,3,1,0,1],[3,4,1,0,1],[3,6,1,0,1]],"top":[]}}}1{"chunks":{"4825950":{"id":4825950,"label":"upt-lean-repo","n":15,"s":[0,0,0,8,7,0,0],"env":"https://github.com/infinitespacemechanic/upt-lean-repo@f7c835e57d926ee39e68bce918a07d87f6b78c14#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"]],"kids":[["g",4825951,"Basic",12,[0,0,0,6,6,0,0],"770_0",[["UPT.one_takes_one_iff",3,0.8909,4825951,"770_0",5],["UPT.residual_pos_wiggle",3,0.7893,4825951,"770_0",4],["UPT.additiveWitness",3,0.0802,4825951,"770_0",2]],4825951],["g",4825952,"StepS",2,[0,0,0,2,0,0,0],"770_0",[["UPT.stepS_le_succ",3,0.8044,4825952,"770_0",2],["UPT.same_bound_S",3,0.0802,4825952,"770_0",2]],4825952],["g",4825953,"V",1,[0,0,0,0,1,0,0],"770_0",[],4825953]],"edges":[[0,1,2,0,2],[0,2,1,0,1]],"top":[["UPT.one_takes_one_iff",3,0.8909,4825951,"770_0",5],["UPT.stepS_le_succ",3,0.8044,4825952,"770_0",2],["UPT.residual_pos_wiggle",3,0.7893,4825951,"770_0",4],["UPT.additiveWitness",3,0.0802,4825951,"770_0",2],["UPT.same_bound_S",3,0.0802,4825952,"770_0",2]]},"4825951":{"id":4825951,"label":"Basic","n":12,"s":[0,0,0,6,6,0,0],"env":"https://github.com/infinitespacemechanic/upt-lean-repo@f7c835e57d926ee39e68bce918a07d87f6b78c14#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825950,"upt-lean-repo","770_0"]],"kids":[["d","UPT.N_H","def",4,"definition","","Basic.lean",31,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","UPT.V","def",4,"definition","","Basic.lean",17,[],[],"","",null,[],[],0.7893,null,null,null,null,null],["d","UPT.additiveWitness","theorem",3,"unchecked","","Basic.lean",32,[],[],"","",null,[["UPT.wiggle",4,4825951,"770_0"],["UPT.N_H",4,4825951,"770_0"]],[],0.0802,null,null,null,null,null],["d","UPT.delta","def",4,"definition","","Basic.lean",9,[],[],"","",null,[],[],0.9769,null,null,null,null,null],["d","UPT.one_takes_one_iff","theorem",3,"unchecked","","Basic.lean",34,[],[],"","",null,[["h_fact",3,1133724,"21900_0"],["UPT.wiggle",4,4825951,"770_0"],["UPT.residual_pos_wiggle",3,4825951,"770_0"],["UPT.V",4,4825951,"770_0"]],[["UPT.V_pos_iff_ne",4,4825953,"770_0"]],0.8909,null,null,null,null,null],["d","UPT.pi_gt_three_ax","axiom",4,"definition","","Basic.lean",13,[],[],"","",null,[],[],0.8872,null,null,null,null,null],["d","UPT.residual_pos","theorem",3,"unchecked","","Basic.lean",14,[],[],"","",null,[["UPT.delta",4,4825951,"770_0"],["UPT.pi_gt_three_ax",4,4825951,"770_0"]],[],0.0802,null,null,null,null,null],["d","UPT.residual_pos_wiggle","theorem",3,"unchecked","","Basic.lean",15,[],[],"","",null,[["UPT.delta",4,4825951,"770_0"],["UPT.wiggle",4,4825951,"770_0"],["UPT.pi_gt_three_ax",4,4825951,"770_0"]],[["UPT.one_takes_one_iff",3,4825951,"770_0"]],0.7893,null,null,null,null,null],["d","UPT.stepS","def",4,"definition","","Basic.lean",20,[],[],"","",null,[],[],0.9751,null,null,null,null,null],["d","UPT.stepS_even","theorem",3,"unchecked","","Basic.lean",22,[],[],"","",null,[["UPT.stepS",4,4825951,"770_0"]],[],0.0802,null,null,null,null,null],["d","UPT.stepS_idempotent","theorem",3,"unchecked","","Basic.lean",26,[],[],"","",null,[["UPT.stepS",4,4825951,"770_0"]],[],0.0802,null,null,null,null,null],["d","UPT.wiggle","def",4,"definition","","Basic.lean",10,[],[],"","",null,[],[],0.9643,null,null,null,null,null]],"edges":[[2,11,1,0,1],[0,11,1,0,1],[8,10,1,0,1],[5,6,1,0,1],[3,11,1,0,1],[7,11,1,0,1],[5,7,1,0,1],[4,11,1,0,1],[0,2,1,0,1],[3,6,1,0,1],[4,7,1,0,1],[3,7,1,0,1],[1,4,1,0,1],[8,9,1,0,1]],"top":[["UPT.one_takes_one_iff",3,0.8909,4825951,"770_0",5],["UPT.residual_pos_wiggle",3,0.7893,4825951,"770_0",4],["UPT.additiveWitness",3,0.0802,4825951,"770_0",2]]},"4825952":{"id":4825952,"label":"StepS","n":2,"s":[0,0,0,2,0,0,0],"env":"https://github.com/infinitespacemechanic/upt-lean-repo@f7c835e57d926ee39e68bce918a07d87f6b78c14#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825950,"upt-lean-repo","770_0"]],"kids":[["d","UPT.same_bound_S","theorem",3,"unchecked","","StepS.lean",8,[],[],"","",null,[["UPT.stepS",4,4825951,"770_0"],["UPT.stepS_le_succ",3,4825952,"770_0"]],[],0.0802,null,null,null,null,null],["d","UPT.stepS_le_succ","theorem",3,"unchecked","","StepS.lean",5,[],[],"","",null,[["UPT.stepS",4,4825951,"770_0"]],[["UPT.same_bound_S",3,4825952,"770_0"]],0.8044,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[["UPT.stepS_le_succ",3,0.8044,4825952,"770_0",2],["UPT.same_bound_S",3,0.0802,4825952,"770_0",2]]},"4825953":{"id":4825953,"label":"V","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/infinitespacemechanic/upt-lean-repo@f7c835e57d926ee39e68bce918a07d87f6b78c14#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825950,"upt-lean-repo","770_0"]],"kids":[["d","UPT.V_pos_iff_ne","def",4,"definition","","V.lean",6,[],[],"","",null,[],[],0.0802,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4822045":{"id":4822045,"label":"introspection-twin","n":61,"s":[0,0,0,32,29,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"]],"kids":[["g",4822046,"IntrospectionTwin",60,[0,0,0,31,29,0,0],"771_0",[["IntrospectionTwin.Twin.step_ok_shape",3,0.8789,4822048,"771_0",9],["IntrospectionTwin.Twin.step_ok_iff",3,0.8305,4822048,"771_0",8],["IntrospectionTwin.Twin.step_gas_accounted",3,0.8177,4822048,"771_0",8]],4822054],["g",4822055,"Bypass/KernelBypass",1,[0,0,0,1,0,0,0],"771_0",[["bypass_anything",3,0.08,4822055,"771_0",0]],4822055]],"edges":[],"top":[["IntrospectionTwin.Twin.step_ok_shape",3,0.8789,4822048,"771_0",9],["IntrospectionTwin.Twin.step_ok_iff",3,0.8305,4822048,"771_0",8],["IntrospectionTwin.Twin.step_gas_accounted",3,0.8177,4822048,"771_0",8],["bypass_anything",3,0.08,4822055,"771_0",0]]},"4822046":{"id":4822046,"label":"IntrospectionTwin","n":60,"s":[0,0,0,31,29,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"]],"kids":[["g",4822047,"Twin",20,[0,0,0,10,10,0,0],"771_0",[["IntrospectionTwin.Twin.step_ok_shape",3,0.8789,4822048,"771_0",9],["IntrospectionTwin.Twin.step_ok_iff",3,0.8305,4822048,"771_0",8],["IntrospectionTwin.Twin.step_gas_accounted",3,0.8177,4822048,"771_0",8]],4822050],["g",4822051,"Gate",17,[0,0,0,12,5,0,0],"771_0",[["IntrospectionTwin.evaluateGate_sound",3,0.8172,4822051,"771_0",9],["IntrospectionTwin.gate_rejects_unverified",3,0.554,4822051,"771_0",4],["IntrospectionTwin.classical_covers_classical",3,0.08,4822051,"771_0",2]],4822051],["g",4822052,"Receipt",16,[0,0,0,7,9,0,0],"771_0",[["IntrospectionTwin.promote_open_iff",3,0.7623,4822052,"771_0",5],["IntrospectionTwin.promote_not_checked_without_witness",3,0.6534,4822052,"771_0",5],["IntrospectionTwin.promote_checked_cases",3,0.554,4822052,"771_0",4]],4822052],["g",4822053,"Witness",4,[0,0,0,1,3,0,0],"771_0",[["IntrospectionTwin.ReplayWitness.clean_spec",3,0.6736,4822053,"771_0",3]],4822053],["g",4822054,"Admit",3,[0,0,0,1,2,0,0],"771_0",[["IntrospectionTwin.admitCore_sound",3,0.08,4822054,"771_0",11]],4822054]],"edges":[[1,2,10,0,10],[2,3,9,0,9],[2,4,9,0,9],[1,4,5,0,5],[1,3,3,0,3],[3,4,3,0,3]],"top":[["IntrospectionTwin.Twin.step_ok_shape",3,0.8789,4822048,"771_0",9],["IntrospectionTwin.Twin.step_ok_iff",3,0.8305,4822048,"771_0",8],["IntrospectionTwin.Twin.step_gas_accounted",3,0.8177,4822048,"771_0",8]]},"4822047":{"id":4822047,"label":"Twin","n":20,"s":[0,0,0,10,10,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"]],"kids":[["g",4822048,"State",13,[0,0,0,10,3,0,0],"771_0",[["IntrospectionTwin.Twin.step_ok_shape",3,0.8789,4822048,"771_0",9],["IntrospectionTwin.Twin.step_ok_iff",3,0.8305,4822048,"771_0",8],["IntrospectionTwin.Twin.step_gas_accounted",3,0.8177,4822048,"771_0",8]],4822048],["g",4822049,"Bounds",5,[0,0,0,0,5,0,0],"771_0",[],4822049],["g",4822050,"Observation",2,[0,0,0,0,2,0,0],"771_0",[],4822050]],"edges":[[0,2,12,0,12],[1,2,4,0,4],[0,1,1,0,1]],"top":[["IntrospectionTwin.Twin.step_ok_shape",3,0.8789,4822048,"771_0",9],["IntrospectionTwin.Twin.step_ok_iff",3,0.8305,4822048,"771_0",8],["IntrospectionTwin.Twin.step_gas_accounted",3,0.8177,4822048,"771_0",8]]},"4822048":{"id":4822048,"label":"State","n":13,"s":[0,0,0,10,3,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"],[4822047,"Twin","771_0"]],"kids":[["d","IntrospectionTwin.Twin.TransitionError","inductive",4,"definition","where","IntrospectionTwin/Twin/State.lean",24,[],[],"","",null,[],[],0.8885,null,null,null,null,null],["d","IntrospectionTwin.Twin.TwinState","structure",4,"definition","","IntrospectionTwin/Twin/State.lean",17,[],[],"","",null,[],[],0.9688,null,null,null,null,null],["d","IntrospectionTwin.Twin.step","def",4,"definition","(st : TwinState) (obs : Observation) (cost : Nat) : Except TransitionError TwinState","IntrospectionTwin/Twin/State.lean",33,[],[],"","",null,[],[],0.9556,null,null,null,null,null],["d","IntrospectionTwin.Twin.step_bounds_stable","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : st'.bounds = st.bounds","IntrospectionTwin/Twin/State.lean",105,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_ok_shape",3,4822048,"771_0"]],[["IntrospectionTwin.Twin.step_within_budget",3,4822048,"771_0"]],0.554,null,null,null,null,null],["d","IntrospectionTwin.Twin.step_gas_accounted","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : st'.gasConsumed = st.gasConsumed + cost","IntrospectionTwin/Twin/State.lean",118,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_ok_shape",3,4822048,"771_0"]],[["IntrospectionTwin.Twin.step_gas_monotone",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_gas_strict",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_within_budget",3,4822048,"771_0"]],0.8177,null,null,null,null,null],["d","IntrospectionTwin.Twin.step_gas_monotone","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : st.gasConsumed ≤ st'.gasConsumed","IntrospectionTwin/Twin/State.lean",123,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_gas_accounted",3,4822048,"771_0"]],[],0.08,null,null,"Gas is weakly monotone. (v0's summary said \"strictly\"; that holds only for `cost > 0`.)","docstring",null],["d","IntrospectionTwin.Twin.step_gas_strict","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') (hc : 0 < cost) : st.gasConsumed < st'.gasConsumed","IntrospectionTwin/Twin/State.lean",127,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_gas_accounted",3,4822048,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.Twin.step_monotonic_history","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : st'.observationHistory.length = st.observationHistory.length + 1","IntrospectionTwin/Twin/State.lean",109,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_ok_shape",3,4822048,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.Twin.step_ok_iff","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) : step st obs cost = Except.ok st' ↔ (obs.agentId = st.bounds.agentIdentity ∧ obs.sequenceId = st.lastSequenceId + 1 ∧ st.bounds.all","IntrospectionTwin/Twin/State.lean",62,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["st'",4,3150440,"62456_0"],["Except.pure",4,2763648,"4130_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"]],[["IntrospectionTwin.Twin.step_ok_shape",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_safety_inversion",3,4822048,"771_0"]],0.8305,null,null,"**Exact characterization.** `step` succeeds iff every guard holds, and then the new state is determined. (v0 proved only the shape of the result; this is the converse it lacked.)","docstring",null],["d","IntrospectionTwin.Twin.step_ok_shape","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : st' = { st with lastSequenceId := obs.sequenceId, gasConsumed := st.gasConsumed + cost, obs","IntrospectionTwin/Twin/State.lean",97,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_ok_iff",3,4822048,"771_0"]],[["IntrospectionTwin.Twin.step_gas_accounted",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_bounds_stable",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_monotonic_history",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_sequence_advances",3,4822048,"771_0"]],0.8789,null,null,null,null,null],["d","IntrospectionTwin.Twin.step_safety_inversion","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : obs.agentId = st.bounds.agentIdentity ∧ obs.sequenceId = st.lastSequenceId + 1 ∧ st.bounds.","IntrospectionTwin/Twin/State.lean",87,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_ok_iff",3,4822048,"771_0"]],[["IntrospectionTwin.Twin.step_sequence_advances",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_within_budget",3,4822048,"771_0"]],0.7184,null,null,"**Safety inversion.** A successful step implies every guard held.","docstring",null],["d","IntrospectionTwin.Twin.step_sequence_advances","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : st'.lastSequenceId = st.lastSequenceId + 1","IntrospectionTwin/Twin/State.lean",114,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_ok_shape",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_safety_inversion",3,4822048,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.Twin.step_within_budget","theorem",3,"unchecked","(st : TwinState) (obs : Observation) (cost : Nat) (st' : TwinState) (h : step st obs cost = Except.ok st') : st'.gasConsumed ≤ st'.bounds.maxGasBudget","IntrospectionTwin/Twin/State.lean",132,[],[],"","",null,[["st'",4,3150440,"62456_0"],["IntrospectionTwin.Twin.Observation",4,4822050,"771_0"],["IntrospectionTwin.Twin.TwinState",4,4822048,"771_0"],["IntrospectionTwin.Twin.step",4,4822048,"771_0"],["IntrospectionTwin.Twin.step_gas_accounted",3,4822048,"771_0"],["IntrospectionTwin.Twin.step_safety_inversion",3,4822048,"771_0"]],[],0.08,null,null,"The budget is never exceeded after a successful step.","docstring",null]],"edges":[[8,9,1,0,1],[2,6,1,0,1],[2,9,1,0,1],[2,4,1,0,1],[2,10,1,0,1],[2,7,1,0,1],[2,12,1,0,1],[1,9,1,0,1],[1,10,1,0,1],[1,12,1,0,1],[4,5,1,0,1],[4,9,1,0,1],[1,6,1,0,1],[2,8,1,0,1],[4,6,1,0,1],[4,12,1,0,1],[1,2,1,0,1],[1,3,1,0,1],[2,3,1,0,1],[7,9,1,0,1],[3,12,1,0,1],[1,11,1,0,1],[2,5,1,0,1],[1,5,1,0,1],[10,11,1,0,1],[0,2,1,0,1],[9,11,1,0,1],[10,12,1,0,1],[2,11,1,0,1],[1,8,1,0,1],[8,10,1,0,1],[1,7,1,0,1],[3,9,1,0,1],[1,4,1,0,1]],"top":[["IntrospectionTwin.Twin.step_ok_shape",3,0.8789,4822048,"771_0",9],["IntrospectionTwin.Twin.step_ok_iff",3,0.8305,4822048,"771_0",8],["IntrospectionTwin.Twin.step_gas_accounted",3,0.8177,4822048,"771_0",8]]},"4822049":{"id":4822049,"label":"Bounds","n":5,"s":[0,0,0,0,5,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"],[4822047,"Twin","771_0"]],"kids":[["d","IntrospectionTwin.Twin.TwinBounds","structure",4,"definition","","IntrospectionTwin/Twin/Bounds.lean",7,[],[],"","",null,[],[],0.9688,null,null,"Bounds consulted by `step`. Context integrity and state immutability are enforced by `step`, not stored here.","docstring",null],["d","IntrospectionTwin.Twin.satisfiesCommand","def",4,"definition","(b : TwinBounds) (obs : Observation) : Bool","IntrospectionTwin/Twin/Bounds.lean",21,[],[],"","",null,[],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.Twin.satisfiesIdentity","def",4,"definition","(b : TwinBounds) (obs : Observation) : Bool","IntrospectionTwin/Twin/Bounds.lean",15,[],[],"","",null,[],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.Twin.satisfiesOutput","def",4,"definition","(b : TwinBounds) (obs : Observation) : Bool","IntrospectionTwin/Twin/Bounds.lean",24,[],[],"","",null,[],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.Twin.satisfiesToolProvenance","def",4,"definition","(b : TwinBounds) (obs : Observation) : Bool","IntrospectionTwin/Twin/Bounds.lean",18,[],[],"","",null,[],[],0.08,null,null,null,null,null]],"edges":[[0,4,1,0,1],[0,1,1,0,1],[0,3,1,0,1],[0,2,1,0,1]],"top":[]},"4822050":{"id":4822050,"label":"Observation","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"],[4822047,"Twin","771_0"]],"kids":[["d","IntrospectionTwin.Twin.Observation","structure",4,"definition","","IntrospectionTwin/Twin/Observation.lean",11,[],[],"","",null,[],[],0.9843,null,null,"External observation. The twin does not originate these records.","docstring",null],["d","IntrospectionTwin.Twin.ToolRecord","structure",4,"definition","","IntrospectionTwin/Twin/Observation.lean",4,[],[],"","",null,[],[],0.9338,null,null,"One tool invocation observed outside the twin.","docstring",null]],"edges":[[0,1,1,0,1]],"top":[]},"4822051":{"id":4822051,"label":"Gate","n":17,"s":[0,0,0,12,5,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"]],"kids":[["d","IntrospectionTwin.GateCondition","structure",4,"definition","","IntrospectionTwin/Gate.lean",23,[],[],"","",null,[],[],0.9659,null,null,null,null,null],["d","IntrospectionTwin.classical_covers_classical","theorem",3,"unchecked",": profileCovers classicalAxiomProfile classicalAxiomProfile = true","IntrospectionTwin/Gate.lean",100,[],[],"","",null,[["Macaulean.M2.Verification.ProofJobs.acceptedAxioms",4,2428937,"37990_0"],["IntrospectionTwin.profileCovers",4,4822051,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.constructiveAxiomProfile","def",4,"definition",": List String","IntrospectionTwin/Gate.lean",20,[],[],"","",null,[],[],0.9061,null,null,null,null,null],["d","IntrospectionTwin.constructive_covers_constructive","theorem",3,"unchecked",": profileCovers constructiveAxiomProfile constructiveAxiomProfile = true","IntrospectionTwin/Gate.lean",96,[],[],"","",null,[["IntrospectionTwin.profileCovers",4,4822051,"771_0"],["IntrospectionTwin.constructiveAxiomProfile",4,4822051,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.constructive_rejects_choice","theorem",3,"unchecked",": profileCovers constructiveAxiomProfile classicalAxiomProfile = false","IntrospectionTwin/Gate.lean",98,[],[],"","",null,[["Macaulean.M2.Verification.ProofJobs.acceptedAxioms",4,2428937,"37990_0"],["IntrospectionTwin.profileCovers",4,4822051,"771_0"],["IntrospectionTwin.constructiveAxiomProfile",4,4822051,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.emptyAxiomProfile","def",4,"definition",": List String","IntrospectionTwin/Gate.lean",19,[],[],"","",null,[],[],0.735,null,null,null,null,null],["d","IntrospectionTwin.empty_rejects_constructive","theorem",3,"unchecked",": profileCovers emptyAxiomProfile constructiveAxiomProfile = false","IntrospectionTwin/Gate.lean",94,[],[],"","",null,[["IntrospectionTwin.profileCovers",4,4822051,"771_0"],["IntrospectionTwin.constructiveAxiomProfile",4,4822051,"771_0"],["IntrospectionTwin.emptyAxiomProfile",4,4822051,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.evaluateGate","def",4,"definition","(r : Receipt) (c : GateCondition) : Bool","IntrospectionTwin/Gate.lean",32,[],[],"","",null,[],[],0.9428,null,null,null,null,null],["d","IntrospectionTwin.evaluateGate_sound","theorem",3,"unchecked","(r : Receipt) (c : GateCondition) (h : evaluateGate r c = true) : r.status = .kernel_checked ∧ r.subject = c.expectedSubject ∧ r.claimId = c.expectedClaim ∧ ∃ w, r.witness = some w ∧ w.kernelAccepted ","IntrospectionTwin/Gate.lean",46,[],[],"","",null,[["Bool.and_eq_true",3,2742770,"4171_18"],["hcl",3,373777,"24608_0"],["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.GateCondition",4,4822051,"771_0"],["IntrospectionTwin.evaluateGate",4,4822051,"771_0"],["IntrospectionTwin.ReplayWitness.clean_spec",3,4822053,"771_0"]],[["IntrospectionTwin.admitCore_sound",3,4822054,"771_0"],["IntrospectionTwin.gate_requires_subject_match",3,4822051,"771_0"],["IntrospectionTwin.gate_rejects_disallowed_axiom",3,4822051,"771_0"]],0.8172,null,null,"**End-to-end soundness.** If the gate passes, the receipt is kernel-checked for the expected subject and claim, and carries a witness showing the declaration exists, is a theorem, uses no `sorry`, and uses only axioms the *condition* allows.","docstring",null],["d","IntrospectionTwin.gate_rejects_disallowed_axiom","theorem",3,"unchecked","(r : Receipt) (c : GateCondition) (w : ReplayWitness) (hw : r.witness = some w) (ax : String) (hUsed : ax ∈ w.usedAxioms) (hNot : ax ∉ c.allowedAxioms) : evaluateGate r c = false","IntrospectionTwin/Gate.lean",83,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.GateCondition",4,4822051,"771_0"],["IntrospectionTwin.evaluateGate",4,4822051,"771_0"],["IntrospectionTwin.evaluateGate_sound",3,4822051,"771_0"]],[],0.08,null,null,"The axiom check is against the condition, not the receipt's own declaration: a witness using an axiom outside `c.allowedAxioms` fails even if the receipt allowed it.","docstring",null],["d","IntrospectionTwin.gate_rejects_no_witness","theorem",3,"unchecked","(r : Receipt) (c : GateCondition) (h : r.witness = none) : evaluateGate r c = false","IntrospectionTwin/Gate.lean",67,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.GateCondition",4,4822051,"771_0"],["IntrospectionTwin.evaluateGate",4,4822051,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.gate_rejects_promoted_sorry","theorem",3,"unchecked","(r : Receipt) (w : ReplayWitness) (c : GateCondition) (hOpen : r.status = .sketched ∨ r.status = .foreign_attestation) (hSorry : w.sorryCount ≠ 0) : evaluateGate (promoteToChecked r w) c = false","IntrospectionTwin/Gate.lean",75,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.GateCondition",4,4822051,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"],["IntrospectionTwin.evaluateGate",4,4822051,"771_0"],["IntrospectionTwin.promoted_sorry_not_checked",3,4822052,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.gate_rejects_unverified","theorem",3,"unchecked","(r : Receipt) (c : GateCondition) (h : r.status ≠ .kernel_checked) : evaluateGate r c = false","IntrospectionTwin/Gate.lean",63,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.GateCondition",4,4822051,"771_0"],["IntrospectionTwin.evaluateGate",4,4822051,"771_0"]],[["IntrospectionTwin.gate_rejects_promoted_sorry",3,4822051,"771_0"]],0.554,null,null,null,null,null],["d","IntrospectionTwin.gate_requires_subject_match","theorem",3,"unchecked","(r : Receipt) (c : GateCondition) (h : evaluateGate r c = true) : r.subject = c.expectedSubject","IntrospectionTwin/Gate.lean",71,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.GateCondition",4,4822051,"771_0"],["IntrospectionTwin.evaluateGate",4,4822051,"771_0"],["IntrospectionTwin.evaluateGate_sound",3,4822051,"771_0"]],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.no_profile_allows_native_decide","theorem",3,"unchecked",": emptyAxiomProfile.contains \"Lean.ofReduceBool\" = false ∧ constructiveAxiomProfile.contains \"Lean.ofReduceBool\" = false ∧ classicalAxiomProfile.contains \"Lean.ofReduceBool\" = false","IntrospectionTwin/Gate.lean",107,[],[],"","",null,[],[],0.08,null,null,"`native_decide` trusts compiled code (`Lean.ofReduceBool`); no profile admits it.","docstring",null],["d","IntrospectionTwin.no_profile_allows_sorry","theorem",3,"unchecked",": emptyAxiomProfile.contains \"sorryAx\" = false ∧ constructiveAxiomProfile.contains \"sorryAx\" = false ∧ classicalAxiomProfile.contains \"sorryAx\" = false","IntrospectionTwin/Gate.lean",102,[],[],"","",null,[],[],0.08,null,null,null,null,null],["d","IntrospectionTwin.profileCovers","def",4,"definition","(profile : List String) (receiptAllowed : List String) : Bool","IntrospectionTwin/Gate.lean",29,[],[],"","",null,[],[],0.9595,null,null,null,null,null]],"edges":[[0,12,1,0,1],[2,3,1,0,1],[6,16,1,0,1],[2,4,1,0,1],[4,16,1,0,1],[7,11,1,0,1],[3,16,1,0,1],[7,16,1,0,1],[0,10,1,0,1],[0,7,1,0,1],[0,11,1,0,1],[7,8,1,0,1],[7,9,1,0,1],[8,9,1,0,1],[0,9,1,0,1],[7,10,1,0,1],[11,12,1,0,1],[5,6,1,0,1],[2,6,1,0,1],[7,12,1,0,1],[8,13,1,0,1],[7,13,1,0,1],[0,8,1,0,1],[0,13,1,0,1],[1,16,1,0,1]],"top":[["IntrospectionTwin.evaluateGate_sound",3,0.8172,4822051,"771_0",9],["IntrospectionTwin.gate_rejects_unverified",3,0.554,4822051,"771_0",4],["IntrospectionTwin.classical_covers_classical",3,0.08,4822051,"771_0",2]]},"4822052":{"id":4822052,"label":"Receipt","n":16,"s":[0,0,0,7,9,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"]],"kids":[["d","IntrospectionTwin.Lens","inductive",4,"definition","where","IntrospectionTwin/Receipt.lean",34,[],[],"","",null,[],[],0.9479,null,null,null,null,null],["d","IntrospectionTwin.Reachable","inductive",4,"definition",": Receipt → Prop","IntrospectionTwin/Receipt.lean",124,[],[],"","",null,[],[],0.554,null,null,null,null,null],["d","IntrospectionTwin.Receipt","structure",4,"definition","","IntrospectionTwin/Receipt.lean",40,[],[],"","",null,[],[],0.9896,null,null,null,null,null],["d","IntrospectionTwin.Receipt.foreign","def",4,"definition","(subject : Subject) (providerId claimId evidenceDigest producer : String) (allowedAxioms : List String) : Receipt","IntrospectionTwin/Receipt.lean",59,[],[],"","",null,[],[],0.7765,null,null,"Record an external prover's claim. It can be promoted only by a local witness.","docstring",null],["d","IntrospectionTwin.Receipt.reopen","def",4,"definition","(r : Receipt) : Receipt","IntrospectionTwin/Receipt.lean",65,[],[],"","",null,[],[],0.6604,null,null,"Back to `sketched`, witness dropped: lets a consumer re-check from scratch.","docstring",null],["d","IntrospectionTwin.Receipt.sketch","def",4,"definition","(subject : Subject) (lens : Lens) (claimId evidenceDigest producer : String) (allowedAxioms : List String) : Receipt","IntrospectionTwin/Receipt.lean",54,[],[],"","",null,[],[],0.7765,null,null,"Open a receipt for local checking.","docstring",null],["d","IntrospectionTwin.Status","inductive",4,"definition","where","IntrospectionTwin/Receipt.lean",21,[],[],"","",null,[],[],0.9267,null,null,null,null,null],["d","IntrospectionTwin.Subject","structure",4,"definition","","IntrospectionTwin/Receipt.lean",28,[],[],"","",null,[],[],0.9734,null,null,null,null,null],["d","IntrospectionTwin.checked_has_clean_witness","theorem",3,"unchecked","{r : Receipt} (hr : Reachable r) (hc : r.status = .kernel_checked) : ∃ w, r.witness = some w ∧ w.clean r.allowedAxioms = true","IntrospectionTwin/Receipt.lean",132,[],[],"","",null,[["hcl",3,373777,"24608_0"],["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.Receipt.sketch",4,4822052,"771_0"],["IntrospectionTwin.Receipt.foreign",4,4822052,"771_0"],["IntrospectionTwin.Receipt.reopen",4,4822052,"771_0"],["IntrospectionTwin.promote_checked_cases",3,4822052,"771_0"]],[],0.08,null,null,"Every reachable `kernel_checked` receipt carries a witness that is clean for its own allowance. A checked status without a clean witness cannot be built through the API.","docstring",null],["d","IntrospectionTwin.promoteToChecked","def",4,"definition","(r : Receipt) (w : ReplayWitness) : Receipt","IntrospectionTwin/Receipt.lean",68,[],[],"","",null,[],[],0.964,null,null,null,null,null],["d","IntrospectionTwin.promote_checked_cases","theorem",3,"unchecked","(r : Receipt) (w : ReplayWitness) (hc : (promoteToChecked r w).status = .kernel_checked) : (promoteToChecked r w = r ∧ r.status = .kernel_checked) ∨ ((promoteToChecked r w).witness = some w ∧ w.clean ","IntrospectionTwin/Receipt.lean",106,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"]],[["IntrospectionTwin.checked_has_clean_witness",3,4822052,"771_0"]],0.554,null,null,null,null,null],["d","IntrospectionTwin.promote_not_checked_without_witness","theorem",3,"unchecked","(r : Receipt) (w : ReplayWitness) (hOpen : r.status = .sketched ∨ r.status = .foreign_attestation) (hBad : w.clean r.allowedAxioms = false) : (promoteToChecked r w).status ≠ .kernel_checked","IntrospectionTwin/Receipt.lean",93,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"],["IntrospectionTwin.promote_open_iff",3,4822052,"771_0"]],[["IntrospectionTwin.promoted_sorry_not_checked",3,4822052,"771_0"]],0.6534,null,null,null,null,null],["d","IntrospectionTwin.promote_open_iff","theorem",3,"unchecked","(r : Receipt) (w : ReplayWitness) (hOpen : r.status = .sketched ∨ r.status = .foreign_attestation) : (promoteToChecked r w).status = .kernel_checked ↔ w.clean r.allowedAxioms = true","IntrospectionTwin/Receipt.lean",87,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"]],[["IntrospectionTwin.promote_not_checked_without_witness",3,4822052,"771_0"],["IntrospectionTwin.admitCore_sound",3,4822054,"771_0"]],0.7623,null,null,"An open receipt is promoted iff the witness is clean.","docstring",null],["d","IntrospectionTwin.promote_preserves_claim","theorem",3,"unchecked","(r : Receipt) (w : ReplayWitness) : (promoteToChecked r w).claimId = r.claimId ∧ (promoteToChecked r w).allowedAxioms = r.allowedAxioms","IntrospectionTwin/Receipt.lean",81,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"]],[["IntrospectionTwin.admitCore_sound",3,4822054,"771_0"]],0.4643,null,null,null,null,null],["d","IntrospectionTwin.promote_preserves_subject","theorem",3,"unchecked","(r : Receipt) (w : ReplayWitness) : (promoteToChecked r w).subject = r.subject","IntrospectionTwin/Receipt.lean",77,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"]],[["IntrospectionTwin.admitCore_sound",3,4822054,"771_0"]],0.4643,null,null,null,null,null],["d","IntrospectionTwin.promoted_sorry_not_checked","theorem",3,"unchecked","(r : Receipt) (w : ReplayWitness) (hOpen : r.status = .sketched ∨ r.status = .foreign_attestation) (hSorry : w.sorryCount ≠ 0) : (promoteToChecked r w).status ≠ .kernel_checked","IntrospectionTwin/Receipt.lean",99,[],[],"","",null,[["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness.clean",4,4822053,"771_0"],["IntrospectionTwin.promote_not_checked_without_witness",3,4822052,"771_0"]],[["IntrospectionTwin.gate_rejects_promoted_sorry",3,4822051,"771_0"]],0.554,null,null,null,null,null]],"edges":[[1,5,1,0,1],[1,3,1,0,1],[1,9,1,0,1],[9,10,1,0,1],[9,14,1,0,1],[9,11,1,0,1],[4,8,1,0,1],[3,8,1,0,1],[2,12,1,0,1],[2,3,1,0,1],[2,6,1,0,1],[2,13,1,0,1],[5,8,1,0,1],[11,12,1,0,1],[2,15,1,0,1],[2,4,1,0,1],[3,7,1,0,1],[2,14,1,0,1],[8,10,1,0,1],[2,8,1,0,1],[1,2,1,0,1],[9,12,1,0,1],[2,7,1,0,1],[5,7,1,0,1],[2,9,1,0,1],[1,8,1,0,1],[0,5,1,0,1],[2,5,1,0,1],[2,11,1,0,1],[0,2,1,0,1],[2,10,1,0,1],[9,15,1,0,1],[9,13,1,0,1],[11,15,1,0,1]],"top":[["IntrospectionTwin.promote_open_iff",3,0.7623,4822052,"771_0",5],["IntrospectionTwin.promote_not_checked_without_witness",3,0.6534,4822052,"771_0",5],["IntrospectionTwin.promote_checked_cases",3,0.554,4822052,"771_0",4]]},"4822053":{"id":4822053,"label":"Witness","n":4,"s":[0,0,0,1,3,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"]],"kids":[["d","IntrospectionTwin.ReplayWitness","structure",4,"definition","","IntrospectionTwin/Witness.lean",27,[],[],"","",null,[],[],0.9889,null,null,null,null,null],["d","IntrospectionTwin.ReplayWitness.clean","def",4,"definition","(w : ReplayWitness) (allowed : List String) : Bool","IntrospectionTwin/Witness.lean",38,[],[],"","",null,[],[],0.8674,null,null,"A witness is clean for an axiom allowance when the declaration exists, is a theorem, uses no `sorry`, and uses only allowed axioms.","docstring",null],["d","IntrospectionTwin.ReplayWitness.clean_spec","theorem",3,"unchecked","(w : ReplayWitness) (allowed : List String) : w.clean allowed = true ↔ w.kernelAccepted = true ∧ w.isTheorem = true ∧ w.sorryCount = 0 ∧ ∀ ax ∈ w.usedAxioms, ax ∈ allowed","IntrospectionTwin/Witness.lean",41,[],[],"","",null,[["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.ReplayWitness.clean",4,4822053,"771_0"]],[["IntrospectionTwin.evaluateGate_sound",3,4822051,"771_0"]],0.6736,null,null,null,null,null],["d","IntrospectionTwin.synthesizeWitness","def",4,"definition","(declName : Name) : CoreM ReplayWitness","IntrospectionTwin/Witness.lean",48,[],[],"","",null,[],[],0.6804,null,null,"Read the environment. Names are compared as `Name`s here, not strings.","docstring",null]],"edges":[[1,2,1,0,1],[0,2,1,0,1],[0,3,1,0,1],[0,1,1,0,1]],"top":[["IntrospectionTwin.ReplayWitness.clean_spec",3,0.6736,4822053,"771_0",3]]},"4822054":{"id":4822054,"label":"Admit","n":3,"s":[0,0,0,1,2,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"],[4822046,"IntrospectionTwin","771_0"]],"kids":[["d","IntrospectionTwin.admit","def",4,"definition","(c : GateCondition) (r : Receipt) : CoreM Bool","IntrospectionTwin/Admit.lean",45,[],[],"","",null,[],[],0.08,null,null,"What the spine calls. The witness comes from the environment, for the condition's claim.","docstring",null],["d","IntrospectionTwin.admitCore","def",4,"definition","(c : GateCondition) (r : Receipt) (w : ReplayWitness) : Bool","IntrospectionTwin/Admit.lean",20,[],[],"","",null,[],[],0.7432,null,null,"The pure core of `admit`.","docstring",null],["d","IntrospectionTwin.admitCore_sound","theorem",3,"unchecked","(c : GateCondition) (r : Receipt) (w : ReplayWitness) (h : admitCore c r w = true) : r.subject = c.expectedSubject ∧ r.claimId = c.expectedClaim ∧ w.kernelAccepted = true ∧ w.isTheorem = true ∧ w.sorr","IntrospectionTwin/Admit.lean",24,[],[],"","",null,[["hcl",3,373777,"24608_0"],["IntrospectionTwin.Receipt",4,4822052,"771_0"],["IntrospectionTwin.ReplayWitness",4,4822053,"771_0"],["IntrospectionTwin.GateCondition",4,4822051,"771_0"],["IntrospectionTwin.promoteToChecked",4,4822052,"771_0"],["IntrospectionTwin.evaluateGate_sound",3,4822051,"771_0"]],[],0.08,null,null,"Whatever the receipt arrived with, admission depends only on the fresh witness.","docstring",null]],"edges":[[0,1,1,0,1],[1,2,1,0,1]],"top":[["IntrospectionTwin.admitCore_sound",3,0.08,4822054,"771_0",11]]},"4822055":{"id":4822055,"label":"Bypass/KernelBypass","n":1,"s":[0,0,0,1,0,0,0],"env":"https://github.com/ryansctt1994-sudo/introspection-twin@74fb628459a98db44364b05d92539afd1efc8364#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4821614,"independence_paral … jsp-000035-formali","t12"],[4822045,"introspection-twin","771_0"]],"kids":[["d","bypass_anything","theorem",3,"unchecked",": 1 = 2","Bypass/KernelBypass.lean",29,[],[],"","",null,[],[],0.08,null,null,null,null,null]],"edges":[],"top":[["bypass_anything",3,0.08,4822055,"771_0",0]]}}}1{"chunks":{"4825731":{"id":4825731,"label":"uproar/Uproar","n":304,"s":[0,0,0,74,230,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"]],"kids":[["g",4825732,"Correctness",86,[0,0,0,73,13,0,0],"772_0",[["Except.bind_eq_ok",3,0.8909,4825734,"772_0",1],["Uproar.need_ok",3,0.7975,4825733,"772_0",6],["Uproar.encryptAndHash_ok",3,0.7781,4825733,"772_0",9]],4825735],["g",4825736,"Patterns",57,[0,0,0,0,57,0,0],"772_0",[],4825736],["g",4825737,"HandshakeState",38,[0,0,0,0,38,0,0],"772_0",[],4825737],["g",4825738,"Crypto",34,[0,0,0,0,34,0,0],"772_0",[],4825738],["g",4825739,"Validation",21,[0,0,0,1,20,0,0],"772_0",[["Uproar.named_valid",3,0.0799,4825739,"772_0",4]],4825739],["g",4825740,"SymmetricState",16,[0,0,0,0,16,0,0],"772_0",[],4825740],["g",4825741,"Suites",14,[0,0,0,0,14,0,0],"772_0",[],4825741],["g",4825742,"Pattern",9,[0,0,0,0,9,0,0],"772_0",[],4825742],["g",4825743,"pq_test",8,[0,0,0,0,8,0,0],"772_0",[],4825743],["g",4825744,"Session",6,[0,0,0,0,6,0,0],"772_0",[],4825744],["g",4825745,"Transport",6,[0,0,0,0,6,0,0],"772_0",[],4825745],["g",4825746,"vectors_test",6,[0,0,0,0,6,0,0],"772_0",[],4825746],["g",4825747,"IO",2,[0,0,0,0,2,0,0],"772_0",[],4825747],["g",4825748,"example",1,[0,0,0,0,1,0,0],"772_0",[],4825748]],"edges":[[0,2,108,0,108],[1,7,57,0,57],[0,4,45,0,45],[0,3,42,0,42],[2,3,32,0,32],[0,5,16,0,16],[0,7,15,0,15],[4,7,15,0,15],[3,6,13,0,13],[2,7,12,0,12],[3,5,12,0,12],[2,9,9,0,9],[3,10,9,0,9],[2,8,5,0,5],[7,8,4,0,4],[3,4,4,0,4],[2,11,4,0,4],[1,4,3,0,3],[3,8,3,0,3],[4,8,3,0,3],[9,10,3,0,3],[2,10,3,0,3],[3,9,3,0,3],[2,13,2,0,2],[2,5,2,0,2],[6,8,2,0,2],[8,9,2,0,2],[6,9,1,0,1],[2,6,1,0,1],[9,13,1,0,1],[0,10,1,0,1],[8,12,1,0,1],[1,6,1,0,1],[3,13,1,0,1],[9,11,1,0,1],[1,8,1,0,1],[3,11,1,0,1],[11,13,1,0,1],[5,10,1,0,1],[12,13,1,0,1],[6,11,1,0,1],[2,4,1,0,1],[7,9,1,0,1],[8,11,1,0,1]],"top":[["Except.bind_eq_ok",3,0.8909,4825734,"772_0",1],["Uproar.need_ok",3,0.7975,4825733,"772_0",6],["Uproar.encryptAndHash_ok",3,0.7781,4825733,"772_0",9],["Uproar.named_valid",3,0.0799,4825739,"772_0",4]]},"4825732":{"id":4825732,"label":"Correctness","n":86,"s":[0,0,0,73,13,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["g",4825733,"Handshake",58,[0,0,0,48,10,0,0],"772_0",[["Uproar.need_ok",3,0.7975,4825733,"772_0",6],["Uproar.encryptAndHash_ok",3,0.7781,4825733,"772_0",9],["Uproar.preMessage_spec",3,0.6639,4825733,"772_0",9]],4825733],["g",4825734,"Keys",21,[0,0,0,18,3,0,0],"772_0",[["Except.bind_eq_ok",3,0.8909,4825734,"772_0",1],["Uproar.DH.size_pub",3,0.735,4825734,"772_0",3],["Uproar.KEMFn.size_pub",3,0.735,4825734,"772_0",3]],4825734],["g",4825735,"Symmetric",7,[0,0,0,7,0,0,0],"772_0",[["Uproar.SymmetricState.decryptAndHash_encryptAndHash",3,0.6621,4825735,"772_0",8],["Uproar.CipherState.size_encryptWithAd",3,0.6142,4825735,"772_0",8],["Uproar.CipherState.decryptWithAd_encryptWithAd",3,0.5977,4825735,"772_0",8]],4825735]],"edges":[[0,1,12,0,12],[0,2,3,0,3]],"top":[["Except.bind_eq_ok",3,0.8909,4825734,"772_0",1],["Uproar.need_ok",3,0.7975,4825733,"772_0",6],["Uproar.encryptAndHash_ok",3,0.7781,4825733,"772_0",9]]},"4825733":{"id":4825733,"label":"Handshake","n":58,"s":[0,0,0,48,10,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"],[4825732,"Correctness","772_0"]],"kids":[["d","Uproar.DhReady","def",4,"definition","(t : Token) (initiator : Bool) (v : PartyView) : Prop","Uproar/Correctness/Handshake.lean",249,[],[],"","",null,[],[],0.661,null,null,"What the validator's DH rule guarantees about a DH token: the writer has already sent the key it contributes, so the reader holds it.","docstring",null],["d","Uproar.HandshakeState.bind_ok","theorem",3,"unchecked","{ε α β} {x : Except ε α} {f : α → Except ε β} {b : β} : (x >>= f) = .ok b ↔ ∃ a, x = .ok a ∧ f a = .ok b","Uproar/Correctness/Handshake.lean",88,[],[],"","",null,[["Except.bind_eq_ok",3,4825734,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakeState.ePubLen_honest","theorem",3,"unchecked","(P : Protocol) {P : Protocol} {kp : KeyPair} (h : P.EHonest kp) : kp.pub.size = ePubLen P","Uproar/Correctness/Handshake.lean",91,[],[],"","",null,[["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.Protocol.EHonest",4,4825733,"772_0"],["Uproar.KEMFn.size_pub",3,4825734,"772_0"],["Uproar.DH.size_pub",3,4825734,"772_0"],["Uproar.HandshakeState.ePubLen",4,4825737,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakeState.generateE_spec","theorem",3,"unchecked","(P : Protocol) {st st' : HandshakeState} {kp : KeyPair} (hok : PartyOk P st) (h : generateE P st = .ok (kp, st')) : P.EHonest kp ∧ (st' = st ∨ st' = st.drawn)","Uproar/Correctness/Handshake.lean",108,[],[],"","",null,[["st'",4,3150440,"62456_0"],["Except.pure",4,2763648,"4130_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyOk",4,4825733,"772_0"]],[],0.0799,null,null,"`generateE` yields an honest key pair, and touches nothing but the draw counter.","docstring",null],["d","Uproar.HandshakeState.sPubLen_honest","theorem",3,"unchecked","(P : Protocol) {P : Protocol} {kp : KeyPair} (h : P.SHonest kp) : kp.pub.size = sPubLen P","Uproar/Correctness/Handshake.lean",99,[],[],"","",null,[["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.Protocol.SHonest",4,4825733,"772_0"],["Uproar.DH.size_pub",3,4825734,"772_0"],["Uproar.KEMFn.size_pub",3,4825734,"772_0"],["Uproar.HandshakeState.sPubLen",4,4825737,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakeState.take_append","theorem",3,"unchecked","(a b : ByteArray) : take (a ++ b) a.size = .ok (a, b)","Uproar/Correctness/Handshake.lean",79,[],[],"","",null,[["Uproar.HandshakeState.take",4,4825737,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.HonestConfigs","structure",4,"definition","(P : Protocol) (ci cr : Config) : Prop","Uproar/Correctness/Handshake.lean",705,[],[],"","",null,[],[],0.4215,null,null,"Two configurations an honest initiator and responder could start from: the same prologue and PSKs, honest keys, reliable randomness, and correct knowledge of each other's public keys.","docstring",null],["d","Uproar.Knows","structure",4,"definition","(x y : HandshakeState) (v : PartyView) : Prop","Uproar/Correctness/Handshake.lean",54,[],[],"","",null,[],[],0.945,null,null,"`y`'s knowledge of `x`'s keys is correct, and `y` holds every key `x` has sent according to `v`, `x`'s view in the validator's walk.","docstring",null],["d","Uproar.Knows.congr","theorem",3,"unchecked","{x y x' y' : HandshakeState} {v : PartyView} (h : Knows x y v) (he : x'.e = x.e) (hs : x'.s = x.s) (hre : y'.re = y.re) (hrs : y'.rs = y.rs) : Knows x' y' v","Uproar/Correctness/Handshake.lean",132,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Knows",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Knows.peer","theorem",3,"unchecked","{x y : HandshakeState} {v : PartyView} (h : Knows x y v) {st : Bool} {k : ByteArray} (hk : peerKey y st = some k) : ∃ kp, ownKey x st = some kp ∧ kp.pub = k","Uproar/Correctness/Handshake.lean",261,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Knows",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Knows.sent","theorem",3,"unchecked","{x y : HandshakeState} {v : PartyView} (h : Knows x y v) {st : Bool} (hs : (if st then v.sentS else v.sentE) = true) : ∃ kp, ownKey x st = some kp ∧ peerKey y st = some kp.pub","Uproar/Correctness/Handshake.lean",267,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Knows",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Knows.views","theorem",3,"unchecked","{x y : HandshakeState} {v v' : PartyView} (h : Knows x y v) (he : v'.sentE = true → v.sentE = true) (hs : v'.sentS = true → v.sentS = true) : Knows x y v'","Uproar/Correctness/Handshake.lean",403,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Knows",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Link","structure",4,"definition","(P : Protocol) (va vb : PartyView) (a b : HandshakeState) : Prop","Uproar/Correctness/Handshake.lean",61,[],[],"","",null,[],[],0.9689,null,null,"The writer `a` and the reader `b`, with their views `va` and `vb` in the walk.","docstring",null],["d","Uproar.Link.drawn","theorem",3,"unchecked","{P : Protocol} {va : PartyView} {vb : PartyView} {a : HandshakeState} {b : HandshakeState} (hl : Link P va vb a b) : Link P va vb a.drawn b","Uproar/Correctness/Handshake.lean",156,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Link.nextIdx","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b : HandshakeState} (hl : Link P va vb a b) : Link P va vb { a with msgIndex := a.msgIndex + 1 } { b with msgIndex := b.msgIndex + 1 }","Uproar/Correctness/Handshake.lean",520,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Link.popPsk","theorem",3,"unchecked","{P : Protocol} {va : PartyView} {vb : PartyView} {a : HandshakeState} {b : HandshakeState} (hl : Link P va vb a b) (ps : List ByteArray) : Link P va vb { a with psks := ps } { b with psks := ps }","Uproar/Correctness/Handshake.lean",181,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Link.sendE","theorem",3,"unchecked","{P : Protocol} {va : PartyView} {vb : PartyView} {a : HandshakeState} {b : HandshakeState} (hl : Link P va vb a b) {kp : KeyPair} (hkp : P.EHonest kp) : Link P (va.after .e) vb { a with e := some kp }","Uproar/Correctness/Handshake.lean",161,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"],["Uproar.PartyView.after",4,4825733,"772_0"]],[],0.0799,null,null,"The writer sends its ephemeral public key and the reader records it.","docstring",null],["d","Uproar.Link.sendS","theorem",3,"unchecked","{P : Protocol} {va : PartyView} {vb : PartyView} {a : HandshakeState} {b : HandshakeState} (hl : Link P va vb a b) {kp : KeyPair} (ha : a.s = some kp) : Link P (va.after .s) vb a { b with rs := some k","Uproar/Correctness/Handshake.lean",172,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"],["Uproar.PartyView.after",4,4825733,"772_0"]],[],0.0799,null,null,"The writer sends its static public key and the reader records it.","docstring",null],["d","Uproar.Link.symm","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b : HandshakeState} (h : Link P va vb a b) : Link P vb va b a","Uproar/Correctness/Handshake.lean",71,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Link.views","theorem",3,"unchecked","{P : Protocol} {va vb va' vb' : PartyView} {a b : HandshakeState} (h : Link P va vb a b) (hae : va'.sentE = true → va.sentE = true) (has : va'.sentS = true → va.sentS = true) (hbe : vb'.sentE = true →","Uproar/Correctness/Handshake.lean",408,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.Link.withSS","theorem",3,"unchecked","{P : Protocol} {va : PartyView} {vb : PartyView} {a : HandshakeState} {b : HandshakeState} (hl : Link P va vb a b) (f : SymmetricState → SymmetricState) : Link P va vb { a with ss := f a.ss } { b with","Uproar/Correctness/Handshake.lean",151,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.SymmetricState",4,4825740,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.Link",4,4825733,"772_0"]],[],0.0799,null,null,"Both sides apply the same update to their symmetric state.","docstring",null],["d","Uproar.PartyOk","structure",4,"definition","(P : Protocol) (st : HandshakeState) : Prop","Uproar/Correctness/Handshake.lean",47,[],[],"","",null,[],[],0.9164,null,null,null,null,null],["d","Uproar.PartyOk.congr","theorem",3,"unchecked","{P : Protocol} {x x' : HandshakeState} (h : PartyOk P x) (he : x'.e = x.e) (hs : x'.s = x.s) (hseeds : x'.seeds = x.seeds) : PartyOk P x'","Uproar/Correctness/Handshake.lean",142,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyOk",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.PartyOk.own_dh","theorem",3,"unchecked","{P : Protocol} {st : HandshakeState} (h : PartyOk P st) {d : DH} (hd : P.exchange = .dh d) {m : Bool} {kp : KeyPair} (hk : ownKey st m = some kp) : d.Honest kp","Uproar/Correctness/Handshake.lean",274,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.DH",4,4825738,"772_0"],["Uproar.PartyOk",4,4825733,"772_0"],["Uproar.Protocol.EHonest",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.PartyOk.reliable","theorem",3,"unchecked","{P : Protocol} {st : HandshakeState} (h : PartyOk P st) {e s : KEMFn} (hk : P.exchange = .kem e s) (i : Nat) : e.kem.Reliable (e.kem.stateFromSeed (st.seeds i)) ∧ s.kem.Reliable (s.kem.stateFromSeed (","Uproar/Correctness/Handshake.lean",318,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.KEMFn",4,4825738,"772_0"],["Uproar.PartyOk",4,4825733,"772_0"],["Uproar.Protocol.Reliable",4,4825733,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.PartyView.after","def",4,"definition","(v : PartyView) (t : Token) : PartyView","Uproar/Correctness/Handshake.lean",129,[],[],"","",null,[],[],0.8457,null,null,"A party's view after it sends `t`, as far as `Knows` is concerned.","docstring",null],["d","Uproar.PartyView.after_ne","theorem",3,"unchecked","{v : PartyView} {t : Token} (he : t ≠ .e) (hs : t ≠ .s) : v.after t = v","Uproar/Correctness/Handshake.lean",188,[],[],"","",null,[["Uproar.Token",4,4825742,"772_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["Uproar.PartyView.after",4,4825733,"772_0"]],[["Uproar.token_step",3,4825733,"772_0"]],0.4303,null,null,null,null,null],["d","Uproar.Protocol.EHonest","def",4,"definition","(kp : KeyPair) : Prop","Uproar/Correctness/Handshake.lean",28,[],[],"","",null,[],[],0.8016,null,null,null,null,null],["d","Uproar.Protocol.Reliable","def",4,"definition","(seeds : Nat → Vector UInt8 32) : Prop","Uproar/Correctness/Handshake.lean",39,[],[],"","",null,[],[],0.631,null,null,"Every seed a party may draw gives both KEMs a `Reliable` state.","docstring",null],["d","Uproar.Protocol.SHonest","def",4,"definition","(kp : KeyPair) : Prop","Uproar/Correctness/Handshake.lean",33,[],[],"","",null,[],[],0.7561,null,null,null,null,null],["d","Uproar.Synced","def",4,"definition","(P : Protocol) (ini res : HandshakeState) : Prop","Uproar/Correctness/Handshake.lean",618,[],[],"","",null,[],[],0.8194,null,null,"The initiator `ini` and the responder `res` are in step: linked under a walk state from which the rest of the pattern still validates.","docstring",null],["d","Uproar.Synced.finish","theorem",3,"unchecked","{P : Protocol} {ini res : HandshakeState} (hs : Synced P ini res) (hfin : HandshakeState.isFinished P ini = true) : ∃ ti tr, TransportState.ofHandshake P ini = .ok ti ∧ TransportState.ofHandshake P re","Uproar/Correctness/Handshake.lean",681,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"],["ti",4,4395447,"33167_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.HandshakeState.isFinished",4,4825737,"772_0"],["Uproar.TransportState.ofHandshake",4,4825745,"772_0"]],[],0.0799,null,null,"At the end of the handshake both parties hold the same handshake hash, and each one's sending cipher state is the other's receiving one.","docstring",null],["d","Uproar.Synced.initiator_writes","theorem",3,"unchecked","{P : Protocol} {ini res ini' : HandshakeState} {pt msg : ByteArray} (hs : Synced P ini res) (hw : HandshakeState.writeMessage P ini pt = .ok (msg, ini')) : ∃ res', HandshakeState.readMessage P res msg","Uproar/Correctness/Handshake.lean",644,[],[],"","",null,[["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.Link",4,4825733,"772_0"],["Uproar.HandshakeState.writeMessage",4,4825737,"772_0"],["Uproar.HandshakeState.readMessage",4,4825737,"772_0"],["Uproar.Synced",4,4825733,"772_0"]],[],0.0799,null,null,"The initiator writes; the responder reads the same payload and the two stay in step.","docstring",null],["d","Uproar.Synced.responder_writes","theorem",3,"unchecked","{P : Protocol} {ini res res' : HandshakeState} {pt msg : ByteArray} (hs : Synced P ini res) (hw : HandshakeState.writeMessage P res pt = .ok (msg, res')) : ∃ ini', HandshakeState.readMessage P ini msg","Uproar/Correctness/Handshake.lean",659,[],[],"","",null,[["hidx",4,613620,"27348_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.Link",4,4825733,"772_0"],["Uproar.HandshakeState.isFinished",4,4825737,"772_0"],["Uproar.HandshakeState.writeMessage",4,4825737,"772_0"]],[],0.0799,null,null,"The responder writes; the initiator reads the same payload and the two stay in step.","docstring",null],["d","Uproar.Synced.step","theorem",3,"unchecked","{P : Protocol} {ini res : HandshakeState} (hs : Synced P ini res) : ∃ w w', Link P w.init w.resp ini res ∧ (HandshakeState.isFinished P ini = false → stepMessage P.pattern.hasPsk (P.pattern.initiatorS","Uproar/Correctness/Handshake.lean",627,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.Link",4,4825733,"772_0"],["Uproar.HandshakeState.isFinished",4,4825737,"772_0"],["Uproar.stepMessages",4,4825739,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.check_validate","theorem",3,"unchecked","{P : Protocol} (h : HandshakeState.check P = .ok ()) : ∃ w', stepMessages P.pattern (Walk.initial P.pattern) 0 P.pattern.messages = .ok w'","Uproar/Correctness/Handshake.lean",800,[],[],"","",null,[["Uproar.Protocol",4,4825737,"772_0"],["Uproar.validate",4,4825739,"772_0"],["Uproar.stepMessages",4,4825739,"772_0"],["Uproar.Walk.initial",4,4825739,"772_0"],["Uproar.HandshakeState.check",4,4825737,"772_0"]],[["Uproar.initialize_synced",3,4825733,"772_0"]],0.4215,null,null,null,null,null],["d","Uproar.decryptAndHash_of","theorem",3,"unchecked","{P : Protocol} {st : HandshakeState} {ss ss' : SymmetricState} {pt o : ByteArray} (hss : st.ss = ss) (h : ss.encryptAndHash P.cipher P.hash pt = .ok (o, ss')) : decryptAndHash P st o = .ok (pt, { st w","Uproar/Correctness/Handshake.lean",204,[],[],"","",null,[["ss'",4,4828511,"2700_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.SymmetricState",4,4825740,"772_0"],["Uproar.SymmetricState.decryptAndHash_encryptAndHash",3,4825735,"772_0"]],[["Uproar.message_agree",3,4825733,"772_0"],["Uproar.token_skem",3,4825733,"772_0"],["Uproar.token_s",3,4825733,"772_0"]],0.6452,null,null,null,null,null],["d","Uproar.dhRoles_swap","theorem",3,"unchecked","{t : Token} {init m th : Bool} (h : dhRoles t init = some (m, th)) : dhRoles t (!init) = some (th, m)","Uproar/Correctness/Handshake.lean",252,[],[],"","",null,[["Uproar.Token",4,4825742,"772_0"]],[["Uproar.token_dh",3,4825733,"772_0"]],0.4201,null,null,null,null,null],["d","Uproar.drop_getD","theorem",3,"unchecked","{α} {l : List α} {i : Nat} (d : α) (h : i < l.length) : l.drop i = l.getD i d :: l.drop (i + 1)","Uproar/Correctness/Handshake.lean",622,[],[],"","",null,[["List.getElem?_eq_getElem",3,4391893,"33088_0"],["List.drop_eq_getElem_cons",3,438218,"21731_5"]],[["Uproar.Synced.step",3,4825733,"772_0"]],0.5041,null,null,null,null,null],["d","Uproar.encryptAndHash_ok","theorem",3,"unchecked","{P : Protocol} {st st' : HandshakeState} {pt o : ByteArray} (h : encryptAndHash P st pt = .ok (o, st')) : ∃ ss', st.ss.encryptAndHash P.cipher P.hash pt = .ok (o, ss') ∧ st' = { st with ss := ss' }","Uproar/Correctness/Handshake.lean",195,[],[],"","",null,[["st'",4,3150440,"62456_0"],["Except.pure",4,2763648,"4130_0"],["ss'",4,4828511,"2700_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"]],[["Uproar.message_agree",3,4825733,"772_0"],["Uproar.token_skem",3,4825733,"772_0"],["Uproar.token_s",3,4825733,"772_0"],["Uproar.writeToken_frame",3,4825733,"772_0"]],0.7781,null,null,null,null,null],["d","Uproar.initialize_synced","theorem",3,"unchecked","{P : Protocol} {ci cr : Config} {ini res : HandshakeState} (hc : HonestConfigs P ci cr) (hi : HandshakeState.initialize P ci = .ok ini) (hr : HandshakeState.initialize P cr = .ok res) : Synced P ini r","Uproar/Correctness/Handshake.lean",812,[],[],"","",null,[["fr2",4,4388606,"36007_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["kr1",3,448783,"24911_1"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.Config",4,4825737,"772_0"],["Uproar.Walk.initial",4,4825739,"772_0"]],[],0.0799,null,null,"Honest initiator and responder configurations initialize into states that are in step.","docstring",null],["d","Uproar.message_agree","theorem",3,"unchecked","{P : Protocol} {w w' : Walk} {a b a' : HandshakeState} {pt msg : ByteArray} (hl : Link P (w.party a.initiator) (w.party (!a.initiator)) a b) (hstep : stepMessage P.pattern.hasPsk a.initiator w (P.patt","Uproar/Correctness/Handshake.lean",540,[],[],"","",null,[["buf",4,3209472,"59372_0"],["hidx",4,613620,"27348_0"],["Except.pure",4,2763648,"4130_0"],["throwThe",4,4396931,"32300_0"],["henc",3,1732826,"13444_17"],["ss'",4,4828511,"2700_0"]],[["Uproar.Synced.initiator_writes",3,4825733,"772_0"],["Uproar.Synced.responder_writes",3,4825733,"772_0"]],0.654,null,null,"An honest writer's message is read back by the honest reader with the same payload, and the pair stays linked under the validator's next walk state.","docstring",null],["d","Uproar.need_ok","theorem",3,"unchecked","{α} {x : Option α} {w : String} {a : α} (h : need x w = .ok a) : x = some a","Uproar/Correctness/Handshake.lean",256,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"]],[["Uproar.preMessage_spec",3,4825733,"772_0"],["Uproar.token_skem",3,4825733,"772_0"],["Uproar.token_ekem",3,4825733,"772_0"],["Uproar.token_dh",3,4825733,"772_0"],["Uproar.preMessages_agree",3,4825733,"772_0"]],0.7975,null,null,null,null,null],["d","Uproar.preMessage_spec","theorem",3,"unchecked","{P : Protocol} {sender : Bool} {st st' : HandshakeState} {t : Token} (h : preMessage P sender st t = .ok st') : st' = { st with ss := st'.ss } ∧ ∃ static, preKey t = some static ∧ (sender = st.initiat","Uproar/Correctness/Handshake.lean",722,[],[],"","",null,[["hkey",3,3234053,"62558_0"],["st'",4,3150440,"62456_0"],["static",4,4397452,"36569_0"],["Uproar.Token",4,4825742,"772_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"]],[["Uproar.preMessages_agree",3,4825733,"772_0"],["Uproar.preMessages_spec",3,4825733,"772_0"]],0.6639,null,null,"A pre-message changes only the symmetric state, and needs the key it hashes.","docstring",null],["d","Uproar.preMessages_agree","theorem",3,"unchecked","{P : Protocol} {sender : Bool} : ∀ (ts : List Token) {a b a' b' : HandshakeState}, a.initiator = sender → b.initiator = !sender → a.ss = b.ss → (∀ k, b.re = some k → ∃ kp, a.e = some kp ∧ kp.pub = k) ","Uproar/Correctness/Handshake.lean",763,[],[],"","",null,[["ka",4,1589757,"17586_0"],["hb2",3,2032653,"18657_0"],["static",4,4397452,"36569_0"],["Except.pure",4,2763648,"4130_0"],["hfa",4,2616274,"3951_4"],["Uproar.Token",4,4825742,"772_0"]],[["Uproar.initialize_synced",3,4825733,"772_0"]],0.4215,null,null,"The two sides hash the same pre-message keys: one its own, the other what it was told.","docstring",null],["d","Uproar.preMessages_spec","theorem",3,"unchecked","{P : Protocol} {sender : Bool} : ∀ (ts : List Token) {st st' : HandshakeState}, preMessages P sender st ts = .ok st' → st' = { st with ss := st'.ss } ∧ ∀ t ∈ ts, ∃ static, preKey t = some static ∧ (se","Uproar/Correctness/Handshake.lean",743,[],[],"","",null,[["st'",4,3150440,"62456_0"],["static",4,4397452,"36569_0"],["Except.pure",4,2763648,"4130_0"],["Uproar.Token",4,4825742,"772_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"]],[["Uproar.initialize_synced",3,4825733,"772_0"]],0.4215,null,null,null,null,null],["d","Uproar.stepMessage_tokens","theorem",3,"unchecked","{hasPsk init : Bool} {w w' : Walk} {m : List Token} (h : stepMessage hasPsk init w m = .ok w') : stepTokens hasPsk init w 0 m = .ok w'","Uproar/Correctness/Handshake.lean",526,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"],["throwThe",4,4396931,"32300_0"],["Uproar.Token",4,4825742,"772_0"],["Uproar.Walk",4,4825739,"772_0"],["Uproar.stepMessage",4,4825739,"772_0"],["Uproar.encrypting",4,4825739,"772_0"]],[["Uproar.message_agree",3,4825733,"772_0"]],0.3941,null,null,null,null,null],["d","Uproar.stepToken_spec","theorem",3,"unchecked","{hasPsk init : Bool} {w w' : Walk} {k k' : Nat} {t : Token} (h : stepToken hasPsk init w k t = .ok (w', k')) : ((w'.party init).sentE = true → ((w.party init).after t).sentE = true) ∧ ((w'.party init)","Uproar/Correctness/Handshake.lean",416,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"],["throwThe",4,4396931,"32300_0"],["Uproar.Token",4,4825742,"772_0"],["Uproar.Walk",4,4825739,"772_0"],["Uproar.PartyView.after",4,4825733,"772_0"],["Uproar.Token.isDH",4,4825742,"772_0"]],[["Uproar.tokens_agree",3,4825733,"772_0"]],0.4034,null,null,"One step of the walk moves only the sender's view, by exactly what `PartyView.after` says, and a DH token passes only once the sender's contributing key has been sent.","docstring",null],["d","Uproar.token_dh","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b a' : HandshakeState} {o : ByteArray} {t : Token} (ht : t.isDH = true) (hl : Link P va vb a b) (hr : DhReady t a.initiator va) (hw : writeToken P a t = .ok (o, a","Uproar/Correctness/Handshake.lean",281,[],[],"","",null,[["ht",4,428364,"20702_0"],["Except.pure",4,2763648,"4130_0"],["hrd",3,3418660,"45051_0"],["ByteArray.empty_append",3,2742661,"4171_17"],["Uproar.Token",4,4825742,"772_0"],["Uproar.HandshakeState",4,4825737,"772_0"]],[["Uproar.token_step",3,4825733,"772_0"]],0.4303,null,null,null,null,null],["d","Uproar.token_e","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b a' : HandshakeState} {o : ByteArray} (hl : Link P va vb a b) (hw : writeToken P a .e = .ok (o, a')) (rest : ByteArray) : ∃ b', readToken P b (o ++ rest) .e = .o","Uproar/Correctness/Handshake.lean",373,[],[],"","",null,[["mixHash",4,4396931,"32300_0"],["Except.pure",4,2763648,"4130_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.SymmetricState",4,4825740,"772_0"],["take_append",3,331609,"21685_0"]],[["Uproar.token_step",3,4825733,"772_0"]],0.4303,null,null,null,null,null],["d","Uproar.token_ekem","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b a' : HandshakeState} {o : ByteArray} (hl : Link P va vb a b) (hw : writeToken P a .ekem = .ok (o, a')) (rest : ByteArray) : ∃ b', readToken P b (o ++ rest) .eke","Uproar/Correctness/Handshake.lean",324,[],[],"","",null,[["mixHash",4,4396931,"32300_0"],["hdec",3,1732826,"13444_17"],["Except.pure",4,2763648,"4130_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["take_append",3,331609,"21685_0"]],[["Uproar.token_step",3,4825733,"772_0"]],0.4303,null,null,null,null,null],["d","Uproar.token_psk","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b a' : HandshakeState} {o : ByteArray} (hl : Link P va vb a b) (hw : writeToken P a .psk = .ok (o, a')) (rest : ByteArray) : ∃ b', readToken P b (o ++ rest) .psk ","Uproar/Correctness/Handshake.lean",232,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"],["ByteArray.empty_append",3,2742661,"4171_17"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["readToken",4,4311354,"36051_0"]],[["Uproar.token_step",3,4825733,"772_0"]],0.4303,null,null,null,null,null],["d","Uproar.token_s","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b a' : HandshakeState} {o : ByteArray} (hl : Link P va vb a b) (hw : writeToken P a .s = .ok (o, a')) (rest : ByteArray) : ∃ b', readToken P b (o ++ rest) .s = .o","Uproar/Correctness/Handshake.lean",211,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"],["henc",3,1732826,"13444_17"],["ss'",4,4828511,"2700_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["take_append",3,331609,"21685_0"]],[["Uproar.token_step",3,4825733,"772_0"]],0.4303,null,null,null,null,null],["d","Uproar.token_skem","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b a' : HandshakeState} {o : ByteArray} (hl : Link P va vb a b) (hw : writeToken P a .skem = .ok (o, a')) (rest : ByteArray) : ∃ b', readToken P b (o ++ rest) .ske","Uproar/Correctness/Handshake.lean",345,[],[],"","",null,[["hdec",3,1732826,"13444_17"],["Except.pure",4,2763648,"4130_0"],["henc",3,1732826,"13444_17"],["ss'",4,4828511,"2700_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"]],[["Uproar.token_step",3,4825733,"772_0"]],0.4303,null,null,null,null,null],["d","Uproar.token_step","theorem",3,"unchecked","{P : Protocol} {va vb : PartyView} {a b a' : HandshakeState} {o : ByteArray} {t : Token} (hl : Link P va vb a b) (hr : t.isDH = true → DhReady t a.initiator va) (hw : writeToken P a t = .ok (o, a')) (","Uproar/Correctness/Handshake.lean",476,[],[],"","",null,[["Uproar.Token",4,4825742,"772_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.PartyView",4,4825739,"772_0"],["readToken",4,4311354,"36051_0"],["Uproar.Link",4,4825733,"772_0"]],[["Uproar.tokens_agree",3,4825733,"772_0"]],0.4034,null,null,null,null,null],["d","Uproar.tokens_agree","theorem",3,"unchecked","{P : Protocol} : ∀ (ts : List Token) {w w' : Walk} {k : Nat} {a b a' : HandshakeState} {o : ByteArray}, Link P (w.party a.initiator) (w.party (!a.initiator)) a b → stepTokens P.pattern.hasPsk a.initia","Uproar/Correctness/Handshake.lean",490,[],[],"","",null,[["hs1",3,825848,"21840_0"],["hs'",3,5099693,"49735_0"],["os",4,446119,"24867_2"],["hidx",4,613620,"27348_0"],["Except.pure",4,2763648,"4130_0"],["ByteArray.append_assoc",3,2742661,"4171_17"]],[["Uproar.message_agree",3,4825733,"772_0"]],0.3941,null,null,null,null,null],["d","Uproar.writeMessage_turn","theorem",3,"unchecked","{P : Protocol} {a a' : HandshakeState} {pt msg : ByteArray} (hw : HandshakeState.writeMessage P a pt = .ok (msg, a')) : HandshakeState.isFinished P a = false ∧ P.pattern.initiatorSends a.msgIndex = a.","Uproar/Correctness/Handshake.lean",598,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"],["throwThe",4,4396931,"32300_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.HandshakeState.isFinished",4,4825737,"772_0"],["Uproar.HandshakeState.writeMessage",4,4825737,"772_0"]],[["Uproar.Synced.initiator_writes",3,4825733,"772_0"],["Uproar.Synced.responder_writes",3,4825733,"772_0"]],0.654,null,null,null,null,null],["d","Uproar.writeToken_frame","theorem",3,"unchecked","{P : Protocol} {a a' : HandshakeState} {t : Token} {o : ByteArray} (h : writeToken P a t = .ok (o, a')) : a'.initiator = a.initiator ∧ a'.msgIndex = a.msgIndex","Uproar/Correctness/Handshake.lean",431,[],[],"","",null,[["Except.pure",4,2763648,"4130_0"],["Uproar.Token",4,4825742,"772_0"],["Uproar.HandshakeState",4,4825737,"772_0"],["Uproar.Protocol",4,4825737,"772_0"],["Uproar.encryptAndHash_ok",3,4825733,"772_0"]],[["Uproar.tokens_agree",3,4825733,"772_0"]],0.4034,null,null,null,null,null]],"edges":[[24,28,1,0,1],[12,15,1,0,1],[12,55,1,0,1],[12,20,1,0,1],[42,43,1,0,1],[29,53,1,0,1],[12,48,1,0,1],[25,26,1,0,1],[30,34,1,0,1],[16,25,1,0,1],[49,54,1,0,1],[7,9,1,0,1],[12,32,1,0,1],[12,21,1,0,1],[52,54,1,0,1],[36,41,1,0,1],[35,40,1,0,1],[55,57,1,0,1],[0,48,1,0,1],[17,25,1,0,1],[12,17,1,0,1],[3,21,1,0,1],[7,11,1,0,1],[39,57,1,0,1],[37,48,1,0,1],[42,50,1,0,1],[25,47,1,0,1],[6,40,1,0,1],[7,12,1,0,1],[12,13,1,0,1],[12,49,1,0,1],[50,54,1,0,1],[12,16,1,0,1],[21,24,1,0,1],[34,38,1,0,1],[36,53,1,0,1],[48,54,1,0,1],[12,52,1,0,1],[7,8,1,0,1],[43,45,1,0,1],[51,54,1,0,1],[40,44,1,0,1],[32,56,1,0,1],[12,50,1,0,1],[32,41,1,0,1],[3,27,1,0,1],[36,52,1,0,1],[42,44,1,0,1],[12,14,1,0,1],[12,33,1,0,1],[12,19,1,0,1],[12,41,1,0,1],[12,30,1,0,1],[26,54,1,0,1],[2,27,1,0,1],[7,10,1,0,1],[12,53,1,0,1],[21,22,1,0,1],[42,48,1,0,1],[23,27,1,0,1],[0,47,1,0,1],[12,54,1,0,1],[40,45,1,0,1],[41,46,1,0,1],[33,56,1,0,1],[0,54,1,0,1],[53,54,1,0,1],[42,53,1,0,1],[30,32,1,0,1],[12,51,1,0,1],[33,41,1,0,1],[47,55,1,0,1],[39,53,1,0,1],[41,55,1,0,1],[23,29,1,0,1],[27,50,1,0,1],[39,41,1,0,1],[54,55,1,0,1],[30,40,1,0,1],[39,52,1,0,1],[43,44,1,0,1],[12,18,1,0,1],[4,29,1,0,1],[30,31,1,0,1],[12,34,1,0,1],[21,23,1,0,1],[30,33,1,0,1]],"top":[["Uproar.need_ok",3,0.7975,4825733,"772_0",6],["Uproar.encryptAndHash_ok",3,0.7781,4825733,"772_0",9],["Uproar.preMessage_spec",3,0.6639,4825733,"772_0",9]]},"4825734":{"id":4825734,"label":"Keys","n":21,"s":[0,0,0,18,3,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"],[4825732,"Correctness","772_0"]],"kids":[["d","Except.bind_eq_ok","theorem",3,"unchecked","{ε α β} {x : Except ε α} {f : α → Except ε β} {b : β} : x.bind f = .ok b ↔ ∃ a, x = .ok a ∧ f a = .ok b","Uproar/Correctness/Keys.lean",17,[],[],"","",null,[],[["Uproar.HandshakeState.bind_ok",3,4825733,"772_0"]],0.8909,null,null,null,null,null],["d","Except.map_eq_ok","theorem",3,"unchecked","{ε α β} {x : Except ε α} {f : α → β} {b : β} : x.map f = .ok b ↔ ∃ a, x = .ok a ∧ f a = b","Uproar/Correctness/Keys.lean",21,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.DH.Honest","def",4,"definition","(kp : KeyPair) : Prop","Uproar/Correctness/Keys.lean",35,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.DH.decodePriv_encode","theorem",3,"unchecked","(sk : D.nike.PrivateKey) : D.decodePriv (ofVector (D.nike.encodePrivateKey sk)) = .ok sk","Uproar/Correctness/Keys.lean",39,[],[],"","",null,[["EthCLLib.Spec.vecToBytes",4,2496277,"3195_0"],["Uproar.DH.decodePriv",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.DH.decodePub_encode","theorem",3,"unchecked","(sk : D.nike.PrivateKey) : D.decodePub (ofVector (D.nike.encodePublicKey (D.nike.derivePublicKey sk))) = .ok ⟨D.nike.derivePublicKey sk, D.nike.derive_safe sk⟩","Uproar/Correctness/Keys.lean",62,[],[],"","",null,[["EthCLLib.Spec.vecToBytes",4,2496277,"3195_0"],["Uproar.DH.decodePub",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.DH.dh_comm","theorem",3,"unchecked","{a b : KeyPair} (ha : D.Honest a) (hb : D.Honest b) : D.dh a.priv b.pub = D.dh b.priv a.pub","Uproar/Correctness/Keys.lean",82,[],[],"","",null,[["hpb",3,3289775,"44582_2"],["Uproar.KeyPair",4,4825738,"772_0"]],[["Uproar.token_dh",3,4825733,"772_0"]],0.4201,null,null,"Honest parties agree on `DH`.","docstring",null],["d","Uproar.DH.dh_honest","theorem",3,"unchecked","{a b : KeyPair} {ska skb : D.nike.PrivateKey} (ha : D.decodePriv a.priv = .ok ska) (hb : b.pub = ofVector (D.nike.encodePublicKey (D.nike.derivePublicKey skb))) : D.dh a.priv b.pub = .ok (ofVector (D.","Uproar/Correctness/Keys.lean",72,[],[],"","",null,[["EthCLLib.Spec.vecToBytes",4,2496277,"3195_0"],["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.DH.dh",4,4825738,"772_0"]],[],0.0799,null,null,"`DH(a, B)` for an honest `B` is the group action of `a`'s scalar on `B`'s public key.","docstring",null],["d","Uproar.DH.ofPrivate_honest","theorem",3,"unchecked","{b : ByteArray} {kp : KeyPair} (h : D.ofPrivate b = .ok kp) : D.Honest kp","Uproar/Correctness/Keys.lean",48,[],[],"","",null,[["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.DH.ofPrivate",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.DH.ofSeed_honest","theorem",3,"unchecked","(seed : Vector UInt8 32) : D.Honest (D.ofSeed seed)","Uproar/Correctness/Keys.lean",45,[],[],"","",null,[],[["Uproar.HandshakeState.generateE_spec",3,4825733,"772_0"]],0.4804,null,null,null,null,null],["d","Uproar.DH.size_pub","theorem",3,"unchecked","{kp : KeyPair} (h : D.Honest kp) : kp.pub.size = D.pubLen","Uproar/Correctness/Keys.lean",58,[],[],"","",null,[["Uproar.KeyPair",4,4825738,"772_0"]],[["Uproar.HandshakeState.ePubLen_honest",3,4825733,"772_0"],["Uproar.HandshakeState.sPubLen_honest",3,4825733,"772_0"]],0.735,null,null,null,null,null],["d","Uproar.KEMFn.Honest","def",4,"definition","(kp : KeyPair) : Prop","Uproar/Correctness/Keys.lean",99,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.RoundTrips","def",4,"definition","(pk : K.kem.PublicKey) (sk : K.kem.PrivateKey) : Prop","Uproar/Correctness/Keys.lean",95,[],[],"","",null,[],[],0.0799,null,null,"Round trip for a specific key pair, the shape `KEM.generate` guarantees.","docstring",null],["d","Uproar.KEMFn.decap_encap","theorem",3,"unchecked","{kp : KeyPair} {ct k : ByteArray} {seed : Vector UInt8 32} (hk : K.Honest kp) (hrel : K.kem.Reliable (K.kem.stateFromSeed seed)) (h : K.encap kp.pub seed = .ok (ct, k)) : K.decap kp.priv ct = .ok k","Uproar/Correctness/Keys.lean",165,[],[],"","",null,[["hrun",4,2062947,"42161_0"],["EthCLLib.Spec.vecToBytes",4,2496277,"3195_0"],["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.KEMFn.run",4,4825738,"772_0"],["Uproar.KEMFn.decap",4,4825738,"772_0"]],[["Uproar.token_skem",3,4825733,"772_0"],["Uproar.token_ekem",3,4825733,"772_0"]],0.5597,null,null,"What is encapsulated to an honest key pair from a `Reliable` state decapsulates back.","docstring",null],["d","Uproar.KEMFn.decodeCt_encode","theorem",3,"unchecked","(c : K.kem.Ciphertext) : K.decodeCt (ofVector (K.kem.encodeCiphertext c)) = .ok c","Uproar/Correctness/Keys.lean",140,[],[],"","",null,[["EthCLLib.Spec.vecToBytes",4,2496277,"3195_0"],["Uproar.KEMFn.decodeCt",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.decodePriv_encode","theorem",3,"unchecked","(sk : K.kem.PrivateKey) : K.decodePriv (ofVector (K.kem.encodePrivateKey sk)) = .ok sk","Uproar/Correctness/Keys.lean",103,[],[],"","",null,[["EthCLLib.Spec.vecToBytes",4,2496277,"3195_0"],["Uproar.KEMFn.decodePriv",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.decodePub_encode","theorem",3,"unchecked","(pk : K.kem.PublicKey) : K.decodePub (ofVector (K.kem.encodePublicKey pk)) = .ok pk","Uproar/Correctness/Keys.lean",134,[],[],"","",null,[["EthCLLib.Spec.vecToBytes",4,2496277,"3195_0"],["Uproar.KEMFn.decodePub",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.ofPrivate_honest","theorem",3,"unchecked","{b : ByteArray} {kp : KeyPair} (h : K.ofPrivate b = .ok kp) : K.Honest kp","Uproar/Correctness/Keys.lean",120,[],[],"","",null,[["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.KEMFn.ofPrivate",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.ofSeed_honest","theorem",3,"unchecked","{seed : Vector UInt8 32} {kp : KeyPair} (h : K.ofSeed seed = .ok kp) : K.Honest kp","Uproar/Correctness/Keys.lean",109,[],[],"","",null,[["Uproar.KeyPair",4,4825738,"772_0"],["Uproar.KEMFn.ofSeed",4,4825738,"772_0"]],[["Uproar.HandshakeState.generateE_spec",3,4825733,"772_0"]],0.4804,null,null,null,null,null],["d","Uproar.KEMFn.run_eq_ok","theorem",3,"unchecked","{α} {x : EStateM Cryptlib.Primitives.KEM.KEM.KEMError K.kem.State α} {seed : Vector UInt8 32} {a : α} (h : K.run x seed = .ok a) : ∃ s', x (K.kem.stateFromSeed seed) = .ok a s'","Uproar/Correctness/Keys.lean",146,[],[],"","",null,[["EStateM",4,4396929,"32300_0"],["Except.pure",4,2763648,"4130_0"],["Cryptlib.Primitives.KEM.KEM.KEMError",4,2115275,"37714_0"],["Uproar.KEMFn.run",4,4825738,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.size_encap","theorem",3,"unchecked","{pk ct k : ByteArray} {seed : Vector UInt8 32} (h : K.encap pk seed = .ok (ct, k)) : ct.size = K.ctLen","Uproar/Correctness/Keys.lean",157,[],[],"","",null,[],[["Uproar.token_ekem",3,4825733,"772_0"],["Uproar.token_skem",3,4825733,"772_0"]],0.5597,null,null,null,null,null],["d","Uproar.KEMFn.size_pub","theorem",3,"unchecked","{kp : KeyPair} (h : K.Honest kp) : kp.pub.size = K.pubLen","Uproar/Correctness/Keys.lean",130,[],[],"","",null,[["Uproar.KeyPair",4,4825738,"772_0"]],[["Uproar.HandshakeState.ePubLen_honest",3,4825733,"772_0"],["Uproar.HandshakeState.sPubLen_honest",3,4825733,"772_0"]],0.735,null,null,null,null,null]],"edges":[],"top":[["Except.bind_eq_ok",3,0.8909,4825734,"772_0",1],["Uproar.DH.size_pub",3,0.735,4825734,"772_0",3],["Uproar.KEMFn.size_pub",3,0.735,4825734,"772_0",3]]},"4825735":{"id":4825735,"label":"Symmetric","n":7,"s":[0,0,0,7,0,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"],[4825732,"Correctness","772_0"]],"kids":[["d","Uproar.Cipher.decrypt_encrypt","theorem",3,"unchecked","(C : Cipher) (k : Vector UInt8 32) (n : Nat) (ad pt : ByteArray) : C.decrypt k n ad (C.encrypt k n ad pt) = some pt","Uproar/Correctness/Symmetric.lean",15,[],[],"","",null,[["Uproar.Cipher",4,4825738,"772_0"]],[["Uproar.CipherState.decryptWithAd_encryptWithAd",3,4825735,"772_0"]],0.5851,null,null,null,null,null],["d","Uproar.Cipher.size_encrypt","theorem",3,"unchecked","(C : Cipher) (k : Vector UInt8 32) (n : Nat) (ad pt : ByteArray) : (C.encrypt k n ad pt).size = pt.size + 16","Uproar/Correctness/Symmetric.lean",19,[],[],"","",null,[["Uproar.Cipher",4,4825738,"772_0"],["Uproar.Cipher.encrypt",4,4825738,"772_0"]],[["Uproar.CipherState.size_encryptWithAd",3,4825735,"772_0"]],0.5864,null,null,null,null,null],["d","Uproar.CipherState.decryptWithAd_encryptWithAd","theorem",3,"unchecked","(C : Cipher) {cs cs' : CipherState} {ad pt ct : ByteArray} (h : cs.encryptWithAd C ad pt = .ok (ct, cs')) : cs.decryptWithAd C ad ct = .ok (pt, cs')","Uproar/Correctness/Symmetric.lean",25,[],[],"","",null,[["cs'",4,3199877,"59991_0"],["Except.pure",4,2763648,"4130_0"],["Uproar.CipherState",4,4825740,"772_0"],["Uproar.Cipher",4,4825738,"772_0"],["Uproar.CipherState.encryptWithAd",4,4825740,"772_0"],["Uproar.CipherState.decryptWithAd",4,4825740,"772_0"]],[["Uproar.SymmetricState.decryptAndHash_encryptAndHash",3,4825735,"772_0"]],0.5977,null,null,null,null,null],["d","Uproar.CipherState.hasKey_encryptWithAd","theorem",3,"unchecked","(C : Cipher) {cs cs' : CipherState} {ad pt ct : ByteArray} (h : cs.encryptWithAd C ad pt = .ok (ct, cs')) : cs'.hasKey = cs.hasKey","Uproar/Correctness/Symmetric.lean",62,[],[],"","",null,[["cs'",4,3199877,"59991_0"],["Except.pure",4,2763648,"4130_0"],["Uproar.CipherState",4,4825740,"772_0"],["Uproar.Cipher",4,4825738,"772_0"],["Uproar.CipherState.encryptWithAd",4,4825740,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.CipherState.size_encryptWithAd","theorem",3,"unchecked","(C : Cipher) {cs cs' : CipherState} {ad pt ct : ByteArray} (h : cs.encryptWithAd C ad pt = .ok (ct, cs')) : ct.size = pt.size + if cs.hasKey then 16 else 0","Uproar/Correctness/Symmetric.lean",45,[],[],"","",null,[["cs'",4,3199877,"59991_0"],["Except.pure",4,2763648,"4130_0"],["Uproar.CipherState",4,4825740,"772_0"],["Uproar.Cipher",4,4825738,"772_0"],["Uproar.CipherState.encryptWithAd",4,4825740,"772_0"],["Uproar.Cipher.size_encrypt",3,4825735,"772_0"]],[["Uproar.SymmetricState.size_encryptAndHash",3,4825735,"772_0"]],0.6142,null,null,"The ciphertext is the plaintext plus a 16-byte tag once a key is set, the plaintext itself before.","docstring",null],["d","Uproar.SymmetricState.decryptAndHash_encryptAndHash","theorem",3,"unchecked","(C : Cipher) (H : HashFn) {ss ss' : SymmetricState} {pt ct : ByteArray} (h : ss.encryptAndHash C H pt = .ok (ct, ss')) : ss.decryptAndHash C H ct = .ok (pt, ss')","Uproar/Correctness/Symmetric.lean",80,[],[],"","",null,[["ss'",4,4828511,"2700_0"],["Uproar.SymmetricState",4,4825740,"772_0"],["Uproar.Cipher",4,4825738,"772_0"],["Uproar.HashFn",4,4825738,"772_0"],["Uproar.SymmetricState.encryptAndHash",4,4825740,"772_0"],["Uproar.SymmetricState.decryptAndHash",4,4825740,"772_0"]],[["Uproar.decryptAndHash_of",3,4825733,"772_0"]],0.6621,null,null,null,null,null],["d","Uproar.SymmetricState.size_encryptAndHash","theorem",3,"unchecked","(C : Cipher) (H : HashFn) {ss ss' : SymmetricState} {pt ct : ByteArray} (h : ss.encryptAndHash C H pt = .ok (ct, ss')) : ct.size = pt.size + if ss.cs.hasKey then 16 else 0","Uproar/Correctness/Symmetric.lean",94,[],[],"","",null,[["ss'",4,4828511,"2700_0"],["Uproar.SymmetricState",4,4825740,"772_0"],["Uproar.Cipher",4,4825738,"772_0"],["Uproar.HashFn",4,4825738,"772_0"],["Uproar.SymmetricState.encryptAndHash",4,4825740,"772_0"],["Uproar.CipherState.size_encryptWithAd",3,4825735,"772_0"]],[["Uproar.token_skem",3,4825733,"772_0"],["Uproar.token_s",3,4825733,"772_0"]],0.5686,null,null,null,null,null]],"edges":[[4,6,1,0,1],[2,5,1,0,1],[1,4,1,0,1],[0,2,1,0,1]],"top":[["Uproar.SymmetricState.decryptAndHash_encryptAndHash",3,0.6621,4825735,"772_0",8],["Uproar.CipherState.size_encryptWithAd",3,0.6142,4825735,"772_0",8],["Uproar.CipherState.decryptWithAd_encryptWithAd",3,0.5977,4825735,"772_0",8]]},"4825736":{"id":4825736,"label":"Patterns","n":57,"s":[0,0,0,0,57,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.Patterns.I1K","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",145,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.I1K1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",153,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.I1N","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",141,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.I1X","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",157,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.I1X1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",165,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.IK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",53,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.IK1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",149,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.IN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",45,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.IX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",61,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.IX1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",161,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.K","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",69,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.K1K","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",117,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.K1K1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",125,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.K1N","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",113,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.K1X","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",129,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.K1X1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",137,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.KK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",29,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.KK1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",121,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.KN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",21,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.KX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",37,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.KX1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",133,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.N","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",65,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.NK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",25,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.NK1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",77,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.NN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",17,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.NX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",33,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.NX1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",81,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.X","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",73,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.X1K","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",89,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.X1K1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",97,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.X1N","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",85,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.X1X","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",101,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.X1X1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",109,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.XK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",49,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.XK1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",93,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.XN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",41,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.XX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",57,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.XX1","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",105,[],[],"","",null,[],[],0.3177,null,null,null,null,null],["d","Uproar.Patterns.all","def",4,"definition",": List HandshakePattern","Uproar/Patterns.lean",169,[],[],"","",null,[],[],0.7686,null,null,null,null,null],["d","Uproar.Patterns.bases","def",4,"definition",": List HandshakePattern","Uproar/Patterns.lean",243,[],[],"","",null,[],[],0.6804,null,null,"Every base pattern, classical and PQ.","docstring",null],["d","Uproar.Patterns.byName","def",4,"definition","(name : String) : Option HandshakePattern","Uproar/Patterns.lean",246,[],[],"","",null,[],[],0.7043,null,null,"Resolve a pattern name such as `XXpsk0+psk3` or `pqIKpsk2` into its base and modifiers.","docstring",null],["d","Uproar.Patterns.classicalPsk","def",4,"definition",": List HandshakePattern","Uproar/Patterns.lean",231,[],[],"","",null,[],[],0.6804,null,null,"The PSK patterns of Noise §9.4.","docstring",null],["d","Uproar.Patterns.pq","def",4,"definition",": List HandshakePattern","Uproar/Patterns.lean",227,[],[],"","",null,[],[],0.7686,null,null,null,null,null],["d","Uproar.Patterns.pqIK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",219,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqIN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",215,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqIX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",223,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqKK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",195,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqKN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",191,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqKX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",199,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",175,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqNK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",183,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqNN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",179,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqNX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",187,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqPsk","def",4,"definition",": List HandshakePattern","Uproar/Patterns.lean",237,[],[],"","",null,[],[],0.6804,null,null,"The PQ patterns with the PSK placements of their classical counterparts.","docstring",null],["d","Uproar.Patterns.pqXK","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",207,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqXN","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",203,[],[],"","",null,[],[],0.4731,null,null,null,null,null],["d","Uproar.Patterns.pqXX","def",4,"definition",": HandshakePattern","Uproar/Patterns.lean",211,[],[],"","",null,[],[],0.8281,null,null,null,null,null]],"edges":[[42,51,1,0,1],[42,52,1,0,1],[42,43,1,0,1],[0,38,1,0,1],[42,50,1,0,1],[6,38,1,0,1],[22,38,1,0,1],[7,38,1,0,1],[12,38,1,0,1],[42,48,1,0,1],[16,38,1,0,1],[4,38,1,0,1],[30,38,1,0,1],[42,47,1,0,1],[27,38,1,0,1],[10,38,1,0,1],[42,56,1,0,1],[33,38,1,0,1],[3,38,1,0,1],[29,38,1,0,1],[42,45,1,0,1],[11,38,1,0,1],[36,38,1,0,1],[20,38,1,0,1],[18,38,1,0,1],[15,38,1,0,1],[42,44,1,0,1],[25,38,1,0,1],[23,38,1,0,1],[19,38,1,0,1],[21,38,1,0,1],[14,38,1,0,1],[1,38,1,0,1],[9,38,1,0,1],[42,54,1,0,1],[35,38,1,0,1],[8,38,1,0,1],[17,38,1,0,1],[5,38,1,0,1],[42,46,1,0,1],[32,38,1,0,1],[24,38,1,0,1],[2,38,1,0,1],[34,38,1,0,1],[42,55,1,0,1],[38,39,1,0,1],[37,38,1,0,1],[13,38,1,0,1],[39,42,1,0,1],[28,38,1,0,1],[42,49,1,0,1],[31,38,1,0,1],[26,38,1,0,1]],"top":[]},"4825737":{"id":4825737,"label":"HandshakeState","n":38,"s":[0,0,0,0,38,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.Config","structure",4,"definition","where initiator : Bool prologue : ByteArray","Uproar/HandshakeState.lean",29,[],[],"","",null,[],[],0.8968,null,null,"What a party brings to a handshake. `e` fixes the ephemeral key, which only test vectors should do; otherwise ephemeral keys and encapsulation coins are drawn from `seeds`.","docstring",null],["d","Uproar.HandshakeState","structure",4,"definition","","Uproar/HandshakeState.lean",39,[],[],"","",null,[],[],0.9961,null,null,null,null,null],["d","Uproar.HandshakeState.check","def",4,"definition","(P : Protocol) : Result Unit","Uproar/HandshakeState.lean",239,[],[],"","",null,[],[],0.7758,null,null,"What `initialize` refuses: an invalid pattern, a pattern of the wrong kind for the exchange, or a protocol name outside Noise's rules.","docstring",null],["d","Uproar.HandshakeState.currentMessage","def",4,"definition","(P : Protocol) (st : HandshakeState) : Result (List Token)","Uproar/HandshakeState.lean",208,[],[],"","",null,[],[],0.8389,null,null,null,null,null],["d","Uproar.HandshakeState.decryptAndHash","def",4,"definition","(st : HandshakeState) (ct : ByteArray) : Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",68,[],[],"","",null,[],[],0.7146,null,null,null,null,null],["d","Uproar.HandshakeState.dhRoles","def",4,"definition","(t : Token) (initiator : Bool) : Option (Bool × Bool)","Uproar/HandshakeState.lean",99,[],[],"","",null,[],[],0.492,null,null,"Whether a DH token combines this party's static (`true`) or ephemeral key with the peer's static or ephemeral key.","docstring",null],["d","Uproar.HandshakeState.dhToken","def",4,"definition","(P : Protocol) (st : HandshakeState) (t : Token) : Result HandshakeState","Uproar/HandshakeState.lean",112,[],[],"","",null,[],[],0.6284,null,null,null,null,null],["d","Uproar.HandshakeState.drawn","def",4,"definition","(st : HandshakeState) : HandshakeState","Uproar/HandshakeState.lean",72,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakeState.ePubLen","def",4,"definition",": Nat","Uproar/HandshakeState.lean",74,[],[],"","",null,[],[],0.6901,null,null,null,null,null],["d","Uproar.HandshakeState.encryptAndHash","def",4,"definition","(st : HandshakeState) (pt : ByteArray) : Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",64,[],[],"","",null,[],[],0.7183,null,null,null,null,null],["d","Uproar.HandshakeState.generateE","def",4,"definition","(st : HandshakeState) : Result (KeyPair × HandshakeState)","Uproar/HandshakeState.lean",84,[],[],"","",null,[],[],0.6391,null,null,null,null,null],["d","Uproar.HandshakeState.handshakeHash","def",4,"definition","(st : HandshakeState) : ByteArray","Uproar/HandshakeState.lean",229,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakeState.initialize","def",4,"definition","(P : Protocol) (cfg : Config) : Result HandshakeState","Uproar/HandshakeState.lean",260,[],[],"","",null,[],[],0.8176,null,null,"Noise §5.3 `Initialize`: hash the protocol name, the prologue and the pre-message keys.","docstring",null],["d","Uproar.HandshakeState.isFinished","def",4,"definition","(st : HandshakeState) : Bool","Uproar/HandshakeState.lean",206,[],[],"","",null,[],[],0.9355,null,null,null,null,null],["d","Uproar.HandshakeState.mixHash","def",4,"definition","(st : HandshakeState) (data : ByteArray) : HandshakeState","Uproar/HandshakeState.lean",55,[],[],"","",null,[],[],0.7755,null,null,null,null,null],["d","Uproar.HandshakeState.mixKey","def",4,"definition","(st : HandshakeState) (ikm : ByteArray) : HandshakeState","Uproar/HandshakeState.lean",58,[],[],"","",null,[],[],0.8138,null,null,null,null,null],["d","Uproar.HandshakeState.mixKeyAndHash","def",4,"definition","(st : HandshakeState) (ikm : ByteArray) : HandshakeState","Uproar/HandshakeState.lean",61,[],[],"","",null,[],[],0.6284,null,null,null,null,null],["d","Uproar.HandshakeState.need","def",4,"definition","{α} (x : Option α) (which : String) : Result α","Uproar/HandshakeState.lean",92,[],[],"","",null,[],[],0.8013,null,null,null,null,null],["d","Uproar.HandshakeState.ofConfig","def",4,"definition","(P : Protocol) (cfg : Config) : HandshakeState","Uproar/HandshakeState.lean",248,[],[],"","",null,[],[],0.7019,null,null,null,null,null],["d","Uproar.HandshakeState.ownKey","def",4,"definition","(st : HandshakeState) (static : Bool) : Option KeyPair","Uproar/HandshakeState.lean",107,[],[],"","",null,[],[],0.7078,null,null,null,null,null],["d","Uproar.HandshakeState.peerKey","def",4,"definition","(st : HandshakeState) (static : Bool) : Option ByteArray","Uproar/HandshakeState.lean",109,[],[],"","",null,[],[],0.7518,null,null,null,null,null],["d","Uproar.HandshakeState.preKey","def",4,"definition",": Token → Option Bool","Uproar/HandshakeState.lean",189,[],[],"","",null,[],[],0.5386,null,null,"Pre-messages carry public keys only: `e` the ephemeral (`false`), `s` the static (`true`).","docstring",null],["d","Uproar.HandshakeState.preMessage","def",4,"definition","(P : Protocol) (sender : Bool) (st : HandshakeState) (t : Token) : Result HandshakeState","Uproar/HandshakeState.lean",199,[],[],"","",null,[],[],0.6615,null,null,null,null,null],["d","Uproar.HandshakeState.preMessageKey","def",4,"definition","(sender : Bool) (st : HandshakeState) (static : Bool) : Result ByteArray","Uproar/HandshakeState.lean",195,[],[],"","",null,[],[],0.5386,null,null,"A pre-message key is the sender's own when this party sent it, otherwise the remote one.","docstring",null],["d","Uproar.HandshakeState.preMessages","def",4,"definition","(P : Protocol) (sender : Bool) (st : HandshakeState) : List Token → Result HandshakeState","Uproar/HandshakeState.lean",254,[],[],"","",null,[],[],0.6411,null,null,null,null,null],["d","Uproar.HandshakeState.readMessage","def",4,"definition","(P : Protocol) (st : HandshakeState) (msg : ByteArray) : Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",221,[],[],"","",null,[],[],0.8234,null,null,null,null,null],["d","Uproar.HandshakeState.readToken","def",4,"definition","(P : Protocol) (st : HandshakeState) (msg : ByteArray) (t : Token) : Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",155,[],[],"","",null,[],[],0.6618,null,null,"One token read from the front of `msg`: the rest of the message, and the state after.","docstring",null],["d","Uproar.HandshakeState.readTokens","def",4,"definition","(P : Protocol) (st : HandshakeState) (msg : ByteArray) : List Token → Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",182,[],[],"","",null,[],[],0.6438,null,null,null,null,null],["d","Uproar.HandshakeState.sPubLen","def",4,"definition",": Nat","Uproar/HandshakeState.lean",79,[],[],"","",null,[],[],0.6901,null,null,null,null,null],["d","Uproar.HandshakeState.take","def",4,"definition","(msg : ByteArray) (n : Nat) : Result (ByteArray × ByteArray)","Uproar/HandshakeState.lean",150,[],[],"","",null,[],[],0.9008,null,null,null,null,null],["d","Uproar.HandshakeState.writeMessage","def",4,"definition","(P : Protocol) (st : HandshakeState) (payload : ByteArray) : Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",212,[],[],"","",null,[],[],0.8548,null,null,null,null,null],["d","Uproar.HandshakeState.writeToken","def",4,"definition","(P : Protocol) (st : HandshakeState) (t : Token) : Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",122,[],[],"","",null,[],[],0.6261,null,null,"One token: the bytes it puts on the wire, and the state after.","docstring",null],["d","Uproar.HandshakeState.writeTokens","def",4,"definition","(P : Protocol) (st : HandshakeState) : List Token → Result (ByteArray × HandshakeState)","Uproar/HandshakeState.lean",143,[],[],"","",null,[],[],0.6371,null,null,null,null,null],["d","Uproar.Protocol","structure",4,"definition","","Uproar/HandshakeState.lean",18,[],[],"","",null,[],[],0.9931,null,null,null,null,null],["d","Uproar.Protocol.ephemeralFromPrivate","def",4,"definition","(priv : ByteArray) : Result KeyPair","Uproar/HandshakeState.lean",275,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Protocol.name","def",4,"definition","(P : Protocol) : String","Uproar/HandshakeState.lean",24,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Protocol.staticFromPrivate","def",4,"definition","(priv : ByteArray) : Result KeyPair","Uproar/HandshakeState.lean",270,[],[],"","",null,[],[],0.0799,null,null,"A static key pair from its private key: a DH key, or a key for the static KEM.","docstring",null],["d","Uproar.protocolNameValid","def",4,"definition","(name : String) : Bool","Uproar/HandshakeState.lean",233,[],[],"","",null,[],[],0.6979,null,null,null,null,null]],"edges":[[1,16,1,0,1],[25,33,1,0,1],[6,17,1,0,1],[16,31,1,0,1],[1,10,1,0,1],[2,37,1,0,1],[1,30,1,0,1],[26,29,1,0,1],[27,33,1,0,1],[6,19,1,0,1],[4,26,1,0,1],[18,33,1,0,1],[3,33,1,0,1],[0,12,1,0,1],[6,31,1,0,1],[26,27,1,0,1],[3,25,1,0,1],[5,6,1,0,1],[9,31,1,0,1],[6,33,1,0,1],[19,23,1,0,1],[33,35,1,0,1],[26,33,1,0,1],[6,26,1,0,1],[1,6,1,0,1],[17,23,1,0,1],[25,27,1,0,1],[14,26,1,0,1],[1,31,1,0,1],[22,33,1,0,1],[3,13,1,0,1],[1,26,1,0,1],[1,13,1,0,1],[17,31,1,0,1],[1,25,1,0,1],[17,26,1,0,1],[30,33,1,0,1],[1,15,1,0,1],[14,22,1,0,1],[1,22,1,0,1],[24,33,1,0,1],[1,24,1,0,1],[21,22,1,0,1],[32,33,1,0,1],[31,32,1,0,1],[22,23,1,0,1],[1,27,1,0,1],[1,23,1,0,1],[6,20,1,0,1],[1,18,1,0,1],[3,30,1,0,1],[9,30,1,0,1],[22,24,1,0,1],[16,26,1,0,1],[1,20,1,0,1],[1,7,1,0,1],[31,33,1,0,1],[15,26,1,0,1],[1,9,1,0,1],[30,32,1,0,1],[8,26,1,0,1],[1,19,1,0,1],[15,31,1,0,1],[26,28,1,0,1],[2,12,1,0,1],[4,25,1,0,1],[12,33,1,0,1],[12,18,1,0,1],[1,4,1,0,1],[1,11,1,0,1],[1,3,1,0,1],[0,18,1,0,1],[20,23,1,0,1],[1,14,1,0,1],[1,32,1,0,1],[2,33,1,0,1],[14,31,1,0,1],[15,22,1,0,1],[6,15,1,0,1],[12,24,1,0,1],[10,31,1,0,1],[1,12,1,0,1]],"top":[]},"4825738":{"id":4825738,"label":"Crypto","n":34,"s":[0,0,0,0,34,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.Cipher","structure",4,"definition","","Uproar/Crypto.lean",49,[],[],"","",null,[],[],0.99,null,null,"A Noise cipher: an AEAD with 32-byte keys, 12-byte nonces and 16-byte tags, and the order in which it lays out the 64-bit counter after four zero bytes.","docstring",null],["d","Uproar.Cipher.decrypt","def",4,"definition","(k : Vector UInt8 32) (n : Nat) (ad ct : ByteArray) : Option ByteArray","Uproar/Crypto.lean",71,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Cipher.encrypt","def",4,"definition","(k : Vector UInt8 32) (n : Nat) (ad pt : ByteArray) : ByteArray","Uproar/Crypto.lean",68,[],[],"","",null,[],[],0.8238,null,null,null,null,null],["d","Uproar.Cipher.key","def",4,"definition","(k : Vector UInt8 32) : C.aead.Key","Uproar/Crypto.lean",66,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Cipher.nonce","def",4,"definition","(n : Nat) : Vector UInt8 C.aead.nonceSize","Uproar/Crypto.lean",61,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Cipher.rekey","def",4,"definition","(k : Vector UInt8 32) : Vector UInt8 32","Uproar/Crypto.lean",76,[],[],"","",null,[],[],0.0799,null,null,"Noise §4.2's default REKEY: the first 32 bytes of encrypting 32 zero bytes at the maximum nonce.","docstring",null],["d","Uproar.DH","structure",4,"definition","","Uproar/Crypto.lean",107,[],[],"","",null,[],[],0.979,null,null,null,null,null],["d","Uproar.DH.decodePriv","def",4,"definition","(b : ByteArray) : Result D.nike.PrivateKey","Uproar/Crypto.lean",121,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","Uproar.DH.decodePub","def",4,"definition","(b : ByteArray) : Result {pk : D.nike.PublicKey // D.nike.Safe pk}","Uproar/Crypto.lean",132,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","Uproar.DH.dh","def",4,"definition","(sk pk : ByteArray) : Result ByteArray","Uproar/Crypto.lean",142,[],[],"","",null,[],[],0.735,null,null,"`DH(sk, pk)`, refusing a public key outside the NIKE's safe set.","docstring",null],["d","Uproar.DH.ofPrivate","def",4,"definition","(b : ByteArray) : Result KeyPair","Uproar/Crypto.lean",128,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","Uproar.DH.ofSeed","def",4,"definition","(seed : Vector UInt8 32) : KeyPair","Uproar/Crypto.lean",117,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.DH.pubLen","def",4,"definition",": Nat","Uproar/Crypto.lean",115,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Exchange","inductive",4,"definition","where","Uproar/Crypto.lean",211,[],[],"","",null,[],[],0.9763,null,null,"What the handshake's asymmetric tokens run on: Diffie-Hellman for Noise, or an ephemeral and a static KEM for PQ Noise.","docstring",null],["d","Uproar.Exchange.name","def",4,"definition",": Exchange → String","Uproar/Crypto.lean",215,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HashFn","structure",4,"definition","","Uproar/Crypto.lean",81,[],[],"","",null,[],[],0.9831,null,null,null,null,null],["d","Uproar.HashFn.digest","def",4,"definition","(b : ByteArray) : ByteArray","Uproar/Crypto.lean",91,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HashFn.hashLen","def",4,"definition",": Nat","Uproar/Crypto.lean",89,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HashFn.hkdf","def",4,"definition","(ck ikm : ByteArray) (n : Nat) : List ByteArray","Uproar/Crypto.lean",95,[],[],"","",null,[],[],0.0799,null,null,"Noise §4.3's `HKDF(ck, ikm, n)`: RFC 5869 with the chaining key as salt and empty info, returning `n` outputs of `HASHLEN` bytes.","docstring",null],["d","Uproar.KEMFn","structure",4,"definition","","Uproar/Crypto.lean",148,[],[],"","",null,[],[],0.9819,null,null,null,null,null],["d","Uproar.KEMFn.ctLen","def",4,"definition",": Nat","Uproar/Crypto.lean",158,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.decap","def",4,"definition","(sk ct : ByteArray) : Result ByteArray","Uproar/Crypto.lean",203,[],[],"","",null,[],[],0.6537,null,null,null,null,null],["d","Uproar.KEMFn.decodeCt","def",4,"definition","(b : ByteArray) : Result K.kem.Ciphertext","Uproar/Crypto.lean",190,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","Uproar.KEMFn.decodePriv","def",4,"definition","(b : ByteArray) : Result K.kem.PrivateKey","Uproar/Crypto.lean",171,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","Uproar.KEMFn.decodePub","def",4,"definition","(b : ByteArray) : Result K.kem.PublicKey","Uproar/Crypto.lean",183,[],[],"","",null,[],[],0.8044,null,null,"Encapsulate to `pk` with coins drawn from `seed`, returning `(ciphertext, shared secret)`.","docstring",null],["d","Uproar.KEMFn.encap","def",4,"definition","(pk : ByteArray) (seed : Vector UInt8 32) : Result (ByteArray × ByteArray)","Uproar/Crypto.lean",198,[],[],"","",null,[],[],0.0799,null,null,"Encapsulate to `pk` with coins drawn from `seed`, returning `(ciphertext, shared secret)`.","docstring",null],["d","Uproar.KEMFn.ofPrivate","def",4,"definition","(b : ByteArray) : Result KeyPair","Uproar/Crypto.lean",178,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","Uproar.KEMFn.ofSeed","def",4,"definition","(seed : Vector UInt8 32) : Result KeyPair","Uproar/Crypto.lean",167,[],[],"","",null,[],[],0.8177,null,null,null,null,null],["d","Uproar.KEMFn.pubLen","def",4,"definition",": Nat","Uproar/Crypto.lean",156,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.KEMFn.run","def",4,"definition","{α} (x : EStateM Cryptlib.Primitives.KEM.KEM.KEMError K.kem.State α) (seed : Vector UInt8 32) : Result α","Uproar/Crypto.lean",160,[],[],"","",null,[],[],0.7971,null,null,null,null,null],["d","Uproar.KeyPair","structure",4,"definition","","Uproar/Crypto.lean",102,[],[],"","",null,[],[],0.9959,null,null,null,null,null],["d","Uproar.NoiseError","inductive",4,"definition","where","Uproar/Crypto.lean",26,[],[],"","",null,[],[],0.9946,null,null,null,null,null],["d","Uproar.Result","abbrev",4,"definition","","Uproar/Crypto.lean",43,[],[],"","",null,[],[],0.9952,null,null,null,null,null],["d","Uproar.maxMessageLen","def",4,"definition",": Nat","Uproar/Crypto.lean",45,[],[],"","",null,[],[],0.9803,null,null,null,null,null]],"edges":[[27,32,1,0,1],[10,30,1,0,1],[21,32,1,0,1],[6,13,1,0,1],[27,30,1,0,1],[25,32,1,0,1],[24,32,1,0,1],[22,32,1,0,1],[23,32,1,0,1],[10,32,1,0,1],[13,14,1,0,1],[8,32,1,0,1],[29,32,1,0,1],[9,32,1,0,1],[26,32,1,0,1],[7,32,1,0,1],[26,30,1,0,1],[11,30,1,0,1],[13,19,1,0,1],[31,32,1,0,1]],"top":[]},"4825739":{"id":4825739,"label":"Validation","n":21,"s":[0,0,0,1,20,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.Check","abbrev",4,"definition","","Uproar/Validation.lean",48,[],[],"","",null,[],[],0.9562,null,null,null,null,null],["d","Uproar.PartyView","structure",4,"definition","where sentE : Bool","Uproar/Validation.lean",15,[],[],"","",null,[],[],0.9898,null,null,null,null,null],["d","Uproar.Walk","structure",4,"definition","where init : PartyView","Uproar/Validation.lean",21,[],[],"","",null,[],[],0.9811,null,null,null,null,null],["d","Uproar.Walk.did","def",4,"definition","(w : Walk) (t : Token) : Bool","Uproar/Validation.lean",35,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Walk.initial","def",4,"definition","(p : HandshakePattern) : Walk","Uproar/Validation.lean",117,[],[],"","",null,[],[],0.8308,null,null,"The walk's starting point: what the pre-messages have already sent.","docstring",null],["d","Uproar.Walk.party","def",4,"definition","(w : Walk) (initiator : Bool) : PartyView","Uproar/Validation.lean",30,[],[],"","",null,[],[],0.4572,null,null,null,null,null],["d","Uproar.Walk.payloadSafe","def",4,"definition","(w : Walk) (initiator : Bool) : Bool","Uproar/Validation.lean",39,[],[],"","",null,[],[],0.0799,null,null,"§7.3 rules 3 and 4: a party may only encrypt once every static-key DH it took part in is matched by the corresponding ephemeral DH.","docstring",null],["d","Uproar.Walk.pskSafe","def",4,"definition","(w : Walk) (initiator : Bool) : Bool","Uproar/Validation.lean",44,[],[],"","",null,[],[],0.0799,null,null,"§9.3: no encrypted data after a `psk` until the sender has contributed randomness.","docstring",null],["d","Uproar.Walk.setParty","def",4,"definition","(w : Walk) (initiator : Bool) (v : PartyView) : Walk","Uproar/Validation.lean",32,[],[],"","",null,[],[],0.4572,null,null,null,null,null],["d","Uproar.dhKeysHeld","def",4,"definition","(w : Walk) : Token → Bool","Uproar/Validation.lean",54,[],[],"","",null,[],[],0.6602,null,null,null,null,null],["d","Uproar.encrypting","def",4,"definition","(w : Walk) (initiator : Bool) : Check Unit","Uproar/Validation.lean",61,[],[],"","",null,[],[],0.8327,null,null,null,null,null],["d","Uproar.isValid","def",4,"definition","(p : HandshakePattern) : Bool","Uproar/Validation.lean",143,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","Uproar.named_valid","theorem",3,"unchecked",": (Patterns.bases ++ Patterns.classicalPsk ++ Patterns.pqPsk).all isValid = true","Uproar/Validation.lean",145,[],[],"","",null,[["Uproar.isValid",4,4825739,"772_0"],["Uproar.Patterns.classicalPsk",4,4825736,"772_0"],["Uproar.Patterns.bases",4,4825736,"772_0"],["Uproar.Patterns.pqPsk",4,4825736,"772_0"]],[],0.0799,null,null,null,null,null],["d","Uproar.preMessageOk","def",4,"definition",": List Token → Bool","Uproar/Validation.lean",50,[],[],"","",null,[],[],0.687,null,null,null,null,null],["d","Uproar.shapeCheck","def",4,"definition","(p : HandshakePattern) : Check Unit","Uproar/Validation.lean",124,[],[],"","",null,[],[],0.7282,null,null,null,null,null],["d","Uproar.stepMessage","def",4,"definition","(hasPsk : Bool) (initiator : Bool) (w : Walk) (msg : List Token) : Check Walk","Uproar/Validation.lean",104,[],[],"","",null,[],[],0.8472,null,null,null,null,null],["d","Uproar.stepMessages","def",4,"definition","(p : HandshakePattern) (w : Walk) (i : Nat) : List (List Token) → Check Walk","Uproar/Validation.lean",110,[],[],"","",null,[],[],0.893,null,null,null,null,null],["d","Uproar.stepToken","def",4,"definition","(hasPsk : Bool) (initiator : Bool) (w : Walk) (kemOrder : Nat) (t : Token) : Check (Walk × Nat)","Uproar/Validation.lean",66,[],[],"","",null,[],[],0.7519,null,null,"One token, sent by `initiator` (or by the responder); `kemSeen` tracks the PQ ordering rule within the current message: `ekem` before `skem` before public keys.","docstring",null],["d","Uproar.stepTokens","def",4,"definition","(hasPsk : Bool) (initiator : Bool) (w : Walk) (kemOrder : Nat) : List Token → Check Walk","Uproar/Validation.lean",97,[],[],"","",null,[],[],0.7832,null,null,null,null,null],["d","Uproar.transportCheck","def",4,"definition","(p : HandshakePattern) (w : Walk) : Check Unit","Uproar/Validation.lean",133,[],[],"","",null,[],[],0.7282,null,null,"Transport messages follow the last handshake message, so the payload rule applies once more, to each party that sends them.","docstring",null],["d","Uproar.validate","def",4,"definition","(p : HandshakePattern) : Check Unit","Uproar/Validation.lean",138,[],[],"","",null,[],[],0.9005,null,null,null,null,null]],"edges":[[2,19,1,0,1],[15,16,1,0,1],[10,17,1,0,1],[2,17,1,0,1],[2,6,1,0,1],[2,3,1,0,1],[0,16,1,0,1],[10,15,1,0,1],[14,20,1,0,1],[2,7,1,0,1],[2,4,1,0,1],[0,19,1,0,1],[11,12,1,0,1],[15,18,1,0,1],[1,8,1,0,1],[2,10,1,0,1],[0,15,1,0,1],[2,16,1,0,1],[13,14,1,0,1],[0,20,1,0,1],[0,14,1,0,1],[19,20,1,0,1],[17,18,1,0,1],[2,18,1,0,1],[1,5,1,0,1],[0,10,1,0,1],[2,15,1,0,1],[4,20,1,0,1],[1,2,1,0,1],[2,9,1,0,1],[16,20,1,0,1],[2,8,1,0,1],[11,20,1,0,1],[0,18,1,0,1],[9,17,1,0,1],[0,17,1,0,1],[2,5,1,0,1]],"top":[["Uproar.named_valid",3,0.0799,4825739,"772_0",4]]},"4825740":{"id":4825740,"label":"SymmetricState","n":16,"s":[0,0,0,0,16,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.CipherState","structure",4,"definition","","Uproar/SymmetricState.lean",17,[],[],"","",null,[],[],0.9957,null,null,null,null,null],["d","Uproar.CipherState.decryptWithAd","def",4,"definition","(C : Cipher) (cs : CipherState) (ad ct : ByteArray) : Result (ByteArray × CipherState)","Uproar/SymmetricState.lean",38,[],[],"","",null,[],[],0.5851,null,null,"A failed decryption leaves the nonce where it was.","docstring",null],["d","Uproar.CipherState.empty","def",4,"definition",": CipherState","Uproar/SymmetricState.lean",23,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.CipherState.encryptWithAd","def",4,"definition","(C : Cipher) (cs : CipherState) (ad pt : ByteArray) : Result (ByteArray × CipherState)","Uproar/SymmetricState.lean",29,[],[],"","",null,[],[],0.8146,null,null,null,null,null],["d","Uproar.CipherState.hasKey","def",4,"definition","(cs : CipherState) : Bool","Uproar/SymmetricState.lean",27,[],[],"","",null,[],[],0.5864,null,null,null,null,null],["d","Uproar.CipherState.init","def",4,"definition","(k : Vector UInt8 32) : CipherState","Uproar/SymmetricState.lean",25,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.CipherState.rekey","def",4,"definition","(C : Cipher) (cs : CipherState) : CipherState","Uproar/SymmetricState.lean",48,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.SymmetricState","structure",4,"definition","","Uproar/SymmetricState.lean",53,[],[],"","",null,[],[],0.9922,null,null,null,null,null],["d","Uproar.SymmetricState.decryptAndHash","def",4,"definition","(C : Cipher) (H : HashFn) (ss : SymmetricState) (ct : ByteArray) : Result (ByteArray × SymmetricState)","Uproar/SymmetricState.lean",86,[],[],"","",null,[],[],0.5977,null,null,null,null,null],["d","Uproar.SymmetricState.encryptAndHash","def",4,"definition","(C : Cipher) (H : HashFn) (ss : SymmetricState) (pt : ByteArray) : Result (ByteArray × SymmetricState)","Uproar/SymmetricState.lean",82,[],[],"","",null,[],[],0.7506,null,null,null,null,null],["d","Uproar.SymmetricState.init","def",4,"definition","(protocolName : ByteArray) : SymmetricState","Uproar/SymmetricState.lean",62,[],[],"","",null,[],[],0.8892,null,null,null,null,null],["d","Uproar.SymmetricState.mixHash","def",4,"definition","(ss : SymmetricState) (data : ByteArray) : SymmetricState","Uproar/SymmetricState.lean",68,[],[],"","",null,[],[],0.8462,null,null,null,null,null],["d","Uproar.SymmetricState.mixKey","def",4,"definition","(ss : SymmetricState) (ikm : ByteArray) : SymmetricState","Uproar/SymmetricState.lean",72,[],[],"","",null,[],[],0.0799,null,null,"Outputs are truncated to 32 bytes when `HASHLEN` is 64.","docstring",null],["d","Uproar.SymmetricState.mixKeyAndHash","def",4,"definition","(H : HashFn) (ss : SymmetricState) (ikm : ByteArray) : SymmetricState","Uproar/SymmetricState.lean",77,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.SymmetricState.split","def",4,"definition","(ss : SymmetricState) : CipherState × CipherState","Uproar/SymmetricState.lean",91,[],[],"","",null,[],[],0.0799,null,null,"The initiator-to-responder and responder-to-initiator cipher states.","docstring",null],["d","Uproar.maxNonce","def",4,"definition",": Nat","Uproar/SymmetricState.lean",15,[],[],"","",null,[],[],0.8388,null,null,"`2^64 - 1` is reserved: no message is ever sent under it.","docstring",null]],"edges":[[0,14,1,0,1],[0,1,1,0,1],[7,8,1,0,1],[0,6,1,0,1],[7,12,1,0,1],[8,11,1,0,1],[7,14,1,0,1],[7,13,1,0,1],[7,10,1,0,1],[0,5,1,0,1],[10,12,1,0,1],[11,13,1,0,1],[10,13,1,0,1],[10,14,1,0,1],[9,11,1,0,1],[0,2,1,0,1],[0,7,1,0,1],[0,3,1,0,1],[1,15,1,0,1],[0,4,1,0,1],[7,11,1,0,1],[3,15,1,0,1],[7,9,1,0,1]],"top":[]},"4825741":{"id":4825741,"label":"Suites","n":14,"s":[0,0,0,0,14,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.Suites.aesGCM","def",4,"definition",": Cipher","Uproar/Suites.lean",26,[],[],"","",null,[],[],0.735,null,null,null,null,null],["d","Uproar.Suites.blake2b","def",4,"definition",": HashFn","Uproar/Suites.lean",32,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","Uproar.Suites.blake2s","def",4,"definition",": HashFn","Uproar/Suites.lean",33,[],[],"","",null,[],[],0.8469,null,null,null,null,null],["d","Uproar.Suites.chaChaPoly","def",4,"definition",": Cipher","Uproar/Suites.lean",22,[],[],"","",null,[],[],0.8674,null,null,null,null,null],["d","Uproar.Suites.ciphers","def",4,"definition",": List Cipher","Uproar/Suites.lean",38,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Suites.dhs","def",4,"definition",": List DH","Uproar/Suites.lean",40,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Suites.exchangeByName","def",4,"definition","(name : String) : Option Exchange","Uproar/Suites.lean",46,[],[],"","",null,[],[],0.7043,null,null,null,null,null],["d","Uproar.Suites.hashes","def",4,"definition",": List HashFn","Uproar/Suites.lean",39,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Suites.kemByName","def",4,"definition","(name : String) : Option KEMFn","Uproar/Suites.lean",44,[],[],"","",null,[],[],0.8345,null,null,null,null,null],["d","Uproar.Suites.kems","def",4,"definition",": List KEMFn","Uproar/Suites.lean",42,[],[],"","",null,[],[],0.0799,null,null,"Every KEM in Cryptlib's registry, under its registry name.","docstring",null],["d","Uproar.Suites.protocolByName","def",4,"definition","(name : String) : Option Protocol","Uproar/Suites.lean",60,[],[],"","",null,[],[],0.5892,null,null,"Parse `Noise_<pattern>_<exchange>_<cipher>_<hash>` into a protocol built from the primitives above, or `none` when any part is unknown.","docstring",null],["d","Uproar.Suites.sha256","def",4,"definition",": HashFn","Uproar/Suites.lean",30,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","Uproar.Suites.sha512","def",4,"definition",": HashFn","Uproar/Suites.lean",31,[],[],"","",null,[],[],0.631,null,null,null,null,null],["d","Uproar.Suites.x25519","def",4,"definition",": DH","Uproar/Suites.lean",36,[],[],"","",null,[],[],0.8044,null,null,"X25519, which the Noise spec names `25519`.","docstring",null]],"edges":[[0,4,1,0,1],[5,13,1,0,1],[6,8,1,0,1],[7,12,1,0,1],[1,7,1,0,1],[3,4,1,0,1],[7,11,1,0,1],[6,10,1,0,1],[2,7,1,0,1]],"top":[]},"4825742":{"id":4825742,"label":"Pattern","n":9,"s":[0,0,0,0,9,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.HandshakePattern","structure",4,"definition","where base : String modifiers : List String","Uproar/Pattern.lean",25,[],[],"","",null,[],[],0.9983,null,null,null,null,null],["d","Uproar.HandshakePattern.addPsk","def",4,"definition","(p : HandshakePattern) (n : Nat) : HandshakePattern","Uproar/Pattern.lean",52,[],[],"","",null,[],[],0.0799,null,null,"The `pskN` modifier: `psk` opens the first message for `N = 0` and closes message `N` otherwise.","docstring",null],["d","Uproar.HandshakePattern.hasPsk","def",4,"definition",": Bool","Uproar/Pattern.lean",44,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakePattern.initiatorSends","def",4,"definition","(i : Nat) : Bool","Uproar/Pattern.lean",48,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakePattern.isKEM","def",4,"definition",": Bool","Uproar/Pattern.lean",46,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.HandshakePattern.name","def",4,"definition",": String","Uproar/Pattern.lean",39,[],[],"","",null,[],[],0.0799,null,null,"The first modifier joins the base directly, later ones are separated by `+`.","docstring",null],["d","Uproar.Token","inductive",4,"definition","where","Uproar/Pattern.lean",13,[],[],"","",null,[],[],0.997,null,null,null,null,null],["d","Uproar.Token.isDH","def",4,"definition",": Token → Bool","Uproar/Pattern.lean",17,[],[],"","",null,[],[],0.8453,null,null,null,null,null],["d","Uproar.Token.isKEM","def",4,"definition",": Token → Bool","Uproar/Pattern.lean",21,[],[],"","",null,[],[],0.8909,null,null,null,null,null]],"edges":[[0,6,1,0,1],[0,1,1,0,1],[4,8,1,0,1],[6,8,1,0,1],[6,7,1,0,1]],"top":[]},"4825743":{"id":4825743,"label":"pq_test","n":8,"s":[0,0,0,0,8,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","bad","def",4,"definition","(preResponder : List Token) (messages : List (List Token)) : HandshakePattern","Uproar/pq_test.lean",66,[],[],"","",null,[],[],0.6804,null,null,null,null,null],["d","configs","def",4,"definition","(P : Protocol) (label : String) : Result (Config × Config)","Uproar/pq_test.lean",17,[],[],"","",null,[],[],0.5041,null,null,null,null,null],["d","invalidPatterns","def",4,"definition",": List (String × HandshakePattern)","Uproar/pq_test.lean",70,[],[],"","",null,[],[],0.0799,null,null,"Patterns the validator must refuse.","docstring",null],["d","kemProtocols","def",4,"definition",": List Protocol","Uproar/pq_test.lean",63,[],[],"","",null,[],[],0.0799,null,null,"pqXX over each KEM in Cryptlib's registry. Patterns, ciphers and hashes are covered by the clatter vectors.","docstring",null],["d","keyed","def",4,"definition",": Party → Bool","Uproar/pq_test.lean",38,[],[],"","",null,[],[],0.9613,null,null,null,null,null],["d","needsStatic","def",4,"definition","(p : HandshakePattern) (initiator : Bool) : Bool","Uproar/pq_test.lean",13,[],[],"","",null,[],[],0.5424,null,null,null,null,null],["d","roundTrip","def",4,"definition","(P : Protocol) (label : String) : Except String Unit","Uproar/pq_test.lean",44,[],[],"","",null,[],[],0.0799,null,null,"One pass over the messages; before each delivery, a copy of the receiver must reject the message with its last bit flipped whenever its payload is encrypted.","docstring",null],["d","seedsFrom","def",4,"definition","(label : String) : Nat → Vector UInt8 32","Uproar/pq_test.lean",11,[],[],"","",null,[],[],0.5424,null,null,null,null,null]],"edges":[[4,6,1,0,1],[1,6,1,0,1],[1,5,1,0,1],[1,7,1,0,1],[0,2,1,0,1]],"top":[]},"4825744":{"id":4825744,"label":"Session","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.Party","inductive",4,"definition","where","Uproar/Session.lean",15,[],[],"","",null,[],[],0.9812,null,null,null,null,null],["d","Uproar.Party.handshakeHash","def",4,"definition",": Party → ByteArray","Uproar/Session.lean",39,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Party.read","def",4,"definition","(P : Protocol) (p : Party) (ct : ByteArray) : Result (ByteArray × Party)","Uproar/Session.lean",31,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.Party.write","def",4,"definition","(P : Protocol) (p : Party) (pt : ByteArray) : Result (ByteArray × Party)","Uproar/Session.lean",23,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.exchange","def",4,"definition","(P : Protocol) (ini res : Party) (payloads : List ByteArray) : Result (List ByteArray × Party × Party)","Uproar/Session.lean",50,[],[],"","",null,[],[],0.9663,null,null,"Exchange `payloads` between the two parties, returning the ciphertexts and both parties.","docstring",null],["d","Uproar.initiatorSendsAt","def",4,"definition","(p : HandshakePattern) (i : Nat) : Bool","Uproar/Session.lean",47,[],[],"","",null,[],[],0.9062,null,null,"Who sends message `i`: messages alternate from the initiator, and in a one-way pattern the initiator sends everything, transport messages included.","docstring",null]],"edges":[[0,4,1,0,1],[0,1,1,0,1],[0,2,1,0,1],[0,3,1,0,1],[4,5,1,0,1]],"top":[]},"4825745":{"id":4825745,"label":"Transport","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.TransportState","structure",4,"definition","","Uproar/Transport.lean",14,[],[],"","",null,[],[],0.9863,null,null,null,null,null],["d","Uproar.TransportState.ofHandshake","def",4,"definition","(P : Protocol) (st : HandshakeState) : Result TransportState","Uproar/Transport.lean",21,[],[],"","",null,[],[],0.8275,null,null,null,null,null],["d","Uproar.TransportState.readMessage","def",4,"definition","(C : Cipher) (t : TransportState) (ct : ByteArray) : Result (ByteArray × TransportState)","Uproar/Transport.lean",36,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.TransportState.rekeyRecv","def",4,"definition","(C : Cipher) (t : TransportState) : TransportState","Uproar/Transport.lean",45,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.TransportState.rekeySend","def",4,"definition","(C : Cipher) (t : TransportState) : TransportState","Uproar/Transport.lean",42,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","Uproar.TransportState.writeMessage","def",4,"definition","(C : Cipher) (t : TransportState) (pt : ByteArray) : Result (ByteArray × TransportState)","Uproar/Transport.lean",30,[],[],"","",null,[],[],0.0799,null,null,null,null,null]],"edges":[[0,1,1,0,1],[0,2,1,0,1],[0,5,1,0,1],[0,3,1,0,1],[0,4,1,0,1]],"top":[]},"4825746":{"id":4825746,"label":"vectors_test","n":6,"s":[0,0,0,0,6,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","config","def",4,"definition","(P : Protocol) (j : Json) (side : String) (initiator : Bool) : Except String Config","Uproar/vectors_test.lean",36,[],[],"","",null,[],[],0.5846,null,null,null,null,null],["d","hexList","def",4,"definition","(j : Json) (k : String) : Except String (List ByteArray)","Uproar/vectors_test.lean",23,[],[],"","",null,[],[],0.5842,null,null,null,null,null],["d","hexOf","def",4,"definition","(j : Json) (k : String) : Except String (Option ByteArray)","Uproar/vectors_test.lean",15,[],[],"","",null,[],[],0.7305,null,null,null,null,null],["d","lift","def",4,"definition","{α} : Result α → Except String α","Uproar/vectors_test.lean",32,[],[],"","",null,[],[],0.8124,null,null,null,null,null],["d","runFile","def",4,"definition","(path : String) : IO (Nat × Nat × Nat)","Uproar/vectors_test.lean",65,[],[],"","",null,[],[],0.0799,null,null,null,null,null],["d","runVector","def",4,"definition","(P : Protocol) (j : Json) : Except String Unit","Uproar/vectors_test.lean",47,[],[],"","",null,[],[],0.5892,null,null,null,null,null]],"edges":[[2,5,1,0,1],[4,5,1,0,1],[0,5,1,0,1],[0,1,1,0,1],[0,2,1,0,1],[0,3,1,0,1],[3,5,1,0,1]],"top":[]},"4825747":{"id":4825747,"label":"IO","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","Uproar.randomSeeds","def",4,"definition",": IO (Nat → Vector UInt8 32)","Uproar/IO.lean",19,[],[],"","",null,[],[],0.6269,null,null,null,null,null],["d","Uproar.seedStream","def",4,"definition","(key : ByteArray) (i : Nat) : Vector UInt8 32","Uproar/IO.lean",16,[],[],"","",null,[],[],0.9377,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]},"4825748":{"id":4825748,"label":"example","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/katzenpost/uproar@93e09c06ba5e66e9801509859b093bfd24f5d356#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825731,"uproar/Uproar","772_0"]],"kids":[["d","run","def",4,"definition","(P : Protocol) : IO Unit","Uproar/example.lean",11,[],[],"","",null,[],[],0.0799,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4825977":{"id":4825977,"label":"velvet-tutorial/VelvetTutorial","n":7,"s":[0,0,0,4,3,0,0],"env":"https://github.com/verse-lab/velvet-tutorial@ab89d80e26758353c9c7456bdc4673c04fb3b921#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"]],"kids":[["g",4825978,"Tut05GhostState",6,[0,0,0,4,2,0,0],"773_0",[["Tut05.steps_half",3,0.7674,4825978,"773_0",3],["Tut05.steps_zero",3,0.7674,4825978,"773_0",3],["Tut05.steps_mono",3,0.5265,4825978,"773_0",5]],4825978],["g",4825979,"Tut02Termination",1,[0,0,0,0,1,0,0],"773_0",[],4825979]],"edges":[],"top":[["Tut05.steps_half",3,0.7674,4825978,"773_0",3],["Tut05.steps_zero",3,0.7674,4825978,"773_0",3],["Tut05.steps_mono",3,0.5265,4825978,"773_0",5]]},"4825978":{"id":4825978,"label":"Tut05GhostState","n":6,"s":[0,0,0,4,2,0,0],"env":"https://github.com/verse-lab/velvet-tutorial@ab89d80e26758353c9c7456bdc4673c04fb3b921#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825977,"velvet-tutorial/VelvetTutorial","773_0"]],"kids":[["d","Tut05.Counted","abbrev",4,"definition","","VelvetTutorial/Tut05GhostState.lean",20,[],[],"","",null,[],[],0.5265,null,null,null,null,null],["d","Tut05.steps","def",4,"definition","","VelvetTutorial/Tut05GhostState.lean",35,[],[],"","",null,[],[],0.9669,null,null,null,null,null],["d","Tut05.steps_half","theorem",3,"unchecked","","VelvetTutorial/Tut05GhostState.lean",40,[],[],"","",null,[["Tut05.steps",4,4825978,"773_0"]],[["Tut05.steps_mono",3,4825978,"773_0"],["Tut05.steps_le_log2",3,4825978,"773_0"]],0.7674,null,null,null,null,null],["d","Tut05.steps_le_log2","theorem",3,"unchecked","","VelvetTutorial/Tut05GhostState.lean",52,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["Nat.log2",4,2742626,"4171_16"],["Tut05.steps",4,4825978,"773_0"],["loop_cond",4,2660949,"7620_0"],["Tut05.steps_half",3,4825978,"773_0"],["Tut05.steps_zero",3,4825978,"773_0"]],[],0.0784,null,null,null,null,null],["d","Tut05.steps_mono","theorem",3,"unchecked","","VelvetTutorial/Tut05GhostState.lean",43,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["Tut05.steps",4,4825978,"773_0"],["Tut05.steps_half",3,4825978,"773_0"],["Tut05.steps_zero",3,4825978,"773_0"]],[["Tut05.steps_le_log2",3,4825978,"773_0"]],0.5265,null,null,null,null,null],["d","Tut05.steps_zero","theorem",3,"unchecked","","VelvetTutorial/Tut05GhostState.lean",37,[],[],"","",null,[["Tut05.steps",4,4825978,"773_0"]],[["Tut05.steps_mono",3,4825978,"773_0"],["Tut05.steps_le_log2",3,4825978,"773_0"]],0.7674,null,null,null,null,null]],"edges":[[3,5,1,0,1],[2,3,1,0,1],[4,5,1,0,1],[1,2,1,0,1],[0,3,1,0,1],[1,3,1,0,1],[1,5,1,0,1],[2,4,1,0,1],[3,4,1,0,1],[1,4,1,0,1]],"top":[["Tut05.steps_half",3,0.7674,4825978,"773_0",3],["Tut05.steps_zero",3,0.7674,4825978,"773_0",3],["Tut05.steps_mono",3,0.5265,4825978,"773_0",5]]},"4825979":{"id":4825979,"label":"Tut02Termination","n":1,"s":[0,0,0,0,1,0,0],"env":"https://github.com/verse-lab/velvet-tutorial@ab89d80e26758353c9c7456bdc4673c04fb3b921#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4825730,"trust-aware-learni … verification_lab/V","t13"],[4825977,"velvet-tutorial/VelvetTutorial","773_0"]],"kids":[["d","Tut02.isPrime","def",4,"definition","","VelvetTutorial/Tut02Termination.lean",114,[],[],"","",null,[],[],0.0784,null,null,null,null,null]],"edges":[],"top":[]}}}1{"chunks":{"4829628":{"id":4829628,"label":"logger/Logger","n":37,"s":[0,0,0,0,37,0,0],"env":"https://github.com/katzenpost/logger@58729b15f8d865af9c56826099c6735b1b06a5c0#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829397,"liquid-template/Li … lvr/project/Projec","t13"]],"kids":[["g",4829629,"Logger",18,[0,0,0,0,18,0,0],"774_0",[],4829629],["g",4829630,"Monad",10,[0,0,0,0,10,0,0],"774_0",[],4829630],["g",4829631,"Level",7,[0,0,0,0,7,0,0],"774_0",[],4829631],["g",4829632,"Output",2,[0,0,0,0,2,0,0],"774_0",[],4829632]],"edges":[[0,2,6,0,6],[0,1,3,0,3],[0,3,1,0,1],[1,2,1,0,1]],"top":[]},"4829629":{"id":4829629,"label":"Logger","n":18,"s":[0,0,0,0,18,0,0],"env":"https://github.com/katzenpost/logger@58729b15f8d865af9c56826099c6735b1b06a5c0#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829397,"liquid-template/Li … lvr/project/Projec","t13"],[4829628,"logger/Logger","774_0"]],"kids":[["d","Logger.Logger","structure",4,"definition","where level : Level","Logger/Logger.lean",28,[],[],"","",null,[],[],0.9934,null,null,null,null,null],["d","Logger.Logger.critical","def",4,"definition","(l : Logger) (msg : String) : IO Unit","Logger/Logger.lean",80,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.debug","def",4,"definition","(l : Logger) (msg : String) : IO Unit","Logger/Logger.lean",85,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.enabled","def",4,"definition","(l : Logger) (lvl : Level) : Bool","Logger/Logger.lean",47,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.error","def",4,"definition","(l : Logger) (msg : String) : IO Unit","Logger/Logger.lean",81,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.formatLine","def",4,"definition","(time : String) (lvl : Level) (module msg : String) : String","Logger/Logger.lean",68,[],[],"","",null,[],[],0.5892,null,null,null,null,null],["d","Logger.Logger.formatTime","def",4,"definition","(t : Std.Time.PlainTime) : String","Logger/Logger.lean",54,[],[],"","",null,[],[],0.5892,null,null,"`HH:MM:SS.mmm`.","docstring",null],["d","Logger.Logger.info","def",4,"definition","(l : Logger) (msg : String) : IO Unit","Logger/Logger.lean",84,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.localTime","def",4,"definition",": IO PlainTime","Logger/Logger.lean",60,[],[],"","",null,[],[],0.5892,null,null,"The time of day in the local zone, or in UTC when the zone can't be read.","docstring",null],["d","Logger.Logger.log","def",4,"definition","(l : Logger) (lvl : Level) (msg : String) : IO Unit","Logger/Logger.lean",72,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.new","def",4,"definition","(output : Output) (level : Level) (module : String := \"\") : IO Logger","Logger/Logger.lean",35,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.notice","def",4,"definition","(l : Logger) (msg : String) : IO Unit","Logger/Logger.lean",83,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.off","def",4,"definition",": Logger","Logger/Logger.lean",39,[],[],"","",null,[],[],0.0779,null,null,"Writes nothing.","docstring",null],["d","Logger.Logger.pad","def",4,"definition","(width : Nat) (n : Nat) : String","Logger/Logger.lean",49,[],[],"","",null,[],[],0.9043,null,null,null,null,null],["d","Logger.Logger.warning","def",4,"definition","(l : Logger) (msg : String) : IO Unit","Logger/Logger.lean",82,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.withLevel","def",4,"definition","(l : Logger) (level : Level) : Logger","Logger/Logger.lean",45,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Logger.withModule","def",4,"definition","(l : Logger) (module : String) : Logger","Logger/Logger.lean",43,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Sink","structure",4,"definition","","Logger/Logger.lean",24,[],[],"","",null,[],[],0.9855,null,null,"An open output and the lock its writers take.","docstring",null]],"edges":[[0,3,1,0,1],[0,17,1,0,1],[0,11,1,0,1],[0,15,1,0,1],[8,9,1,0,1],[0,14,1,0,1],[0,2,1,0,1],[0,10,1,0,1],[0,9,1,0,1],[0,4,1,0,1],[0,7,1,0,1],[6,13,1,0,1],[0,1,1,0,1],[0,16,1,0,1],[5,9,1,0,1],[6,9,1,0,1],[0,12,1,0,1]],"top":[]},"4829630":{"id":4829630,"label":"Monad","n":10,"s":[0,0,0,0,10,0,0],"env":"https://github.com/katzenpost/logger@58729b15f8d865af9c56826099c6735b1b06a5c0#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829397,"liquid-template/Li … lvr/project/Projec","t13"],[4829628,"logger/Logger","774_0"]],"kids":[["d","Logger.LoggerT","abbrev",4,"definition","","Logger/Monad.lean",23,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","Logger.LoggerT.run'","def",4,"definition","{m : Type → Type} {α : Type} (x : LoggerT m α) (l : Logger) : m α","Logger/Monad.lean",36,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.MonadLogger","class",4,"definition","(m : Type → Type)","Logger/Monad.lean",18,[],[],"","",null,[],[],0.9604,null,null,null,null,null],["d","Logger.logAt","def",4,"definition","{m : Type → Type} [Monad m] [MonadLiftT IO m] [MonadLogger m] (lvl : Level) (msg : String) : m Unit","Logger/Monad.lean",41,[],[],"","",null,[],[],0.9463,null,null,null,null,null],["d","Logger.logCritical","def",4,"definition","{m : Type → Type} [Monad m] [MonadLiftT IO m] [MonadLogger m] (msg : String) : m Unit","Logger/Monad.lean",42,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.logDebug","def",4,"definition","{m : Type → Type} [Monad m] [MonadLiftT IO m] [MonadLogger m] (msg : String) : m Unit","Logger/Monad.lean",47,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.logError","def",4,"definition","{m : Type → Type} [Monad m] [MonadLiftT IO m] [MonadLogger m] (msg : String) : m Unit","Logger/Monad.lean",43,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.logInfo","def",4,"definition","{m : Type → Type} [Monad m] [MonadLiftT IO m] [MonadLogger m] (msg : String) : m Unit","Logger/Monad.lean",46,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.logNotice","def",4,"definition","{m : Type → Type} [Monad m] [MonadLiftT IO m] [MonadLogger m] (msg : String) : m Unit","Logger/Monad.lean",45,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.logWarning","def",4,"definition","{m : Type → Type} [Monad m] [MonadLiftT IO m] [MonadLogger m] (msg : String) : m Unit","Logger/Monad.lean",44,[],[],"","",null,[],[],0.0779,null,null,null,null,null]],"edges":[[2,3,1,0,1],[3,8,1,0,1],[3,9,1,0,1],[3,6,1,0,1],[0,1,1,0,1],[3,5,1,0,1],[2,4,1,0,1],[2,8,1,0,1],[2,6,1,0,1],[2,9,1,0,1],[2,7,1,0,1],[3,7,1,0,1],[3,4,1,0,1],[2,5,1,0,1]],"top":[]},"4829631":{"id":4829631,"label":"Level","n":7,"s":[0,0,0,0,7,0,0],"env":"https://github.com/katzenpost/logger@58729b15f8d865af9c56826099c6735b1b06a5c0#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829397,"liquid-template/Li … lvr/project/Projec","t13"],[4829628,"logger/Logger","774_0"]],"kids":[["d","Logger.Level","inductive",4,"definition","where","Logger/Level.lean",12,[],[],"","",null,[],[],0.9926,null,null,null,null,null],["d","Logger.Level.all","def",4,"definition",": List Level","Logger/Level.lean",23,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","Logger.Level.fromEnv","def",4,"definition","(var : String) (default : Level) : IO Level","Logger/Level.lean",61,[],[],"","",null,[],[],0.0779,null,null,"The level named by environment variable `var`, or `default` when it is unset or names no level.","docstring",null],["d","Logger.Level.name","def",4,"definition",": Level → String","Logger/Level.lean",47,[],[],"","",null,[],[],0.8378,null,null,null,null,null],["d","Logger.Level.ofString?","def",4,"definition","(s : String) : Option Level","Logger/Level.lean",57,[],[],"","",null,[],[],0.735,null,null,null,null,null],["d","Logger.Level.rank","def",4,"definition",": Level → Nat","Logger/Level.lean",26,[],[],"","",null,[],[],0.0779,null,null,"0 for `critical`, growing as severity falls.","docstring",null],["d","Logger.Level.tag","def",4,"definition",": Level → String","Logger/Level.lean",39,[],[],"","",null,[],[],0.0779,null,null,null,null,null]],"edges":[[0,2,1,0,1],[0,4,1,0,1],[0,1,1,0,1],[3,4,1,0,1],[0,5,1,0,1],[0,6,1,0,1],[2,4,1,0,1],[0,3,1,0,1]],"top":[]},"4829632":{"id":4829632,"label":"Output","n":2,"s":[0,0,0,0,2,0,0],"env":"https://github.com/katzenpost/logger@58729b15f8d865af9c56826099c6735b1b06a5c0#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4829397,"liquid-template/Li … lvr/project/Projec","t13"],[4829628,"logger/Logger","774_0"]],"kids":[["d","Logger.Output","inductive",4,"definition","where","Logger/Output.lean",10,[],[],"","",null,[],[],0.7973,null,null,null,null,null],["d","Logger.Output.open","def",4,"definition",": Output → IO IO.FS.Stream","Logger/Output.lean",18,[],[],"","",null,[],[],0.7714,null,null,null,null,null]],"edges":[[0,1,1,0,1]],"top":[]}}}1{"chunks":{"4818844":{"id":4818844,"label":"gold-heart","n":138,"s":[0,0,0,97,41,0,0],"env":"https://github.com/infinitespacemechanic/gold-heart@d14a965cbb818fc878d750a6663de77d935dd2da#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4818733,"g64/g64/Record64 … hashi/Hashi/Basic","t12"]],"kids":[["g",4818845,"P_NP_Locked_swapped",63,[0,0,0,50,13,0,0],"775_0",[["S_locks_at_1",3,0.8667,4818845,"775_0",5],["U_diverges",3,0.8667,4818845,"775_0",4],["middle_is_one",3,0.8497,4818845,"775_0",2]],4818845],["g",4818846,"Advanced",55,[0,0,0,33,22,0,0],"775_0",[["ring2",3,0.9873,4818846,"775_0",27],["dual1",3,0.9638,4818846,"775_0",7],["dual3",3,0.8795,4818846,"775_0",4]],4818846],["g",4818847,"Basic",20,[0,0,0,14,6,0,0],"775_0",[["carbonHex_is_six",3,0.0779,4818847,"775_0",0],["carbon_to_42_is_42",3,0.0779,4818847,"775_0",1],["fortyTwo_eq_42",3,0.0779,4818847,"775_0",2]],4818847]],"edges":[[1,2,20,0,20]],"top":[["ring2",3,0.9873,4818846,"775_0",27],["dual1",3,0.9638,4818846,"775_0",7],["dual3",3,0.8795,4818846,"775_0",4],["S_locks_at_1",3,0.8667,4818845,"775_0",5],["U_diverges",3,0.8667,4818845,"775_0",4],["middle_is_one",3,0.8497,4818845,"775_0",2],["carbonHex_is_six",3,0.0779,4818847,"775_0",0],["carbon_to_42_is_42",3,0.0779,4818847,"775_0",1],["fortyTwo_eq_42",3,0.0779,4818847,"775_0",2]]},"4818845":{"id":4818845,"label":"P_NP_Locked_swapped","n":63,"s":[0,0,0,50,13,0,0],"env":"https://github.com/infinitespacemechanic/gold-heart@d14a965cbb818fc878d750a6663de77d935dd2da#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4818733,"g64/g64/Record64 … hashi/Hashi/Basic","t12"],[4818844,"gold-heart","775_0"]],"kids":[["d","NP_our","def",4,"definition","","P_NP_Locked_swapped.lean",106,[],[],"","",null,[],[],0.881,null,null,null,null,null],["d","P_eq_NP_as_eq","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",123,[],[],"","",null,[["P_our",4,4818845,"775_0"],["NP_our",4,4818845,"775_0"],["P_eq_NP_iff",3,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","P_eq_NP_iff","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",119,[],[],"","",null,[["P_our",4,4818845,"775_0"],["NP_our",4,4818845,"775_0"],["S_locks_at_1",3,4818845,"775_0"],["U_diverges",3,4818845,"775_0"]],[["P_eq_NP_as_eq",3,4818845,"775_0"]],0.735,null,null,null,null,null],["d","P_eq_NP_in_our_system","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",115,[],[],"","",null,[["P_our",4,4818845,"775_0"],["NP_our",4,4818845,"775_0"],["S_locks_at_1",3,4818845,"775_0"],["U_diverges",3,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","P_our","def",4,"definition","","P_NP_Locked_swapped.lean",105,[],[],"","",null,[],[],0.881,null,null,null,null,null],["d","RadiusContainer","structure",4,"definition","","P_NP_Locked_swapped.lean",22,[],[],"","",null,[],[],0.9554,null,null,null,null,null],["d","S_from_zero_locks","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",43,[],[],"","",null,[["Nat.zero_lt_succ",3,4396930,"32300_0"],["LibsignalBinary.Proofs.PeakBudget.SpqrRecvPeakHelpers.virtCap",4,2501966,"3554_40"],["iterS",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","S_locks_at_1","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",35,[],[],"","",null,[["LibsignalBinary.Proofs.PeakBudget.SpqrRecvPeakHelpers.virtCap",4,2501966,"3554_40"],["iterS",4,4818845,"775_0"]],[["P_eq_NP_iff",3,4818845,"775_0"],["same_chassis_dual_output",3,4818845,"775_0"],["P_eq_NP_in_our_system",3,4818845,"775_0"]],0.8667,null,null,null,null,null],["d","S_step_zero_to_one","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",34,[],[],"","",null,[["LibsignalBinary.Proofs.PeakBudget.SpqrRecvPeakHelpers.virtCap",4,2501966,"3554_40"]],[],0.0779,null,null,null,null,null],["d","U_diverges","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",94,[],[],"","",null,[["U_val",4,4818845,"775_0"]],[["P_eq_NP_iff",3,4818845,"775_0"],["same_chassis_dual_output",3,4818845,"775_0"],["P_eq_NP_in_our_system",3,4818845,"775_0"]],0.8667,null,null,null,null,null],["d","U_seq","def",4,"definition","","P_NP_Locked_swapped.lean",65,[],[],"","",null,[],[],0.9788,null,null,null,null,null],["d","U_seq_first_step","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",157,[],[],"","",null,[["U_seq",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_seq_kick_step","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",158,[],[],"","",null,[["U_seq",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_seq_second_cycle","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",159,[],[],"","",null,[["U_seq",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_seq_steps","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",156,[],[],"","",null,[["U_seq",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_step_bound_abs","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",83,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["Int.natAbs",4,2385341,"37781_0"],["hdiff",3,4855131,"79696_0"],["U_val",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_step_uses_kick","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",73,[],[],"","",null,[["by_cases",3,2729781,"3099_10"],["U_val",4,4818845,"775_0"],["kick",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_val","def",4,"definition","","P_NP_Locked_swapped.lean",64,[],[],"","",null,[],[],0.9881,null,null,null,null,null],["d","U_val_one","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",69,[],[],"","",null,[["U_val",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_val_three","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",71,[],[],"","",null,[["U_val",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_val_two","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",70,[],[],"","",null,[["U_val",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","U_val_zero","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",68,[],[],"","",null,[["U_val",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","accumulation","def",4,"definition","","P_NP_Locked_swapped.lean",19,[],[],"","",null,[],[],0.999,null,null,null,null,null],["d","accumulation_grows","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",131,[],[],"","",null,[["accumulation",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","accumulation_step","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",133,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","accumulation_sum","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",132,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","angle_pi_over_3","axiom",4,"definition","","P_NP_Locked_swapped.lean",15,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","compass_zero_eq_360","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",178,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","dual12","def",4,"definition","","P_NP_Locked_swapped.lean",168,[],[],"","",null,[],[],0.9745,null,null,null,null,null],["d","dual_add_twelve_twice","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",175,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","dual_involution","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",173,[],[],"","",null,[["dual12",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","dual_no_fixed_point","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",174,[],[],"","",null,[["dual12",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","dual_swaps_six_eighteen","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",171,[],[],"","",null,[["dual12",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","dual_swaps_zero_twelve","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",169,[],[],"","",null,[["dual12",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","eightOrbit_cover","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",59,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","eight_planes_plus_time","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",146,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","fifteen_times_24","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",145,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","forty_two_eq_six_times_seven","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",149,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","helix_three_times_eight_is_24","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",184,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","iter8_closes","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",58,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","iterS","def",4,"definition","","P_NP_Locked_swapped.lean",30,[],[],"","",null,[],[],0.9682,null,null,null,null,null],["d","kick","def",4,"definition","","P_NP_Locked_swapped.lean",66,[],[],"","",null,[],[],0.9695,null,null,null,null,null],["d","kick_is_one","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",153,[],[],"","",null,[["kick",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","middle","def",4,"definition","","P_NP_Locked_swapped.lean",14,[],[],"","",null,[],[],0.9321,null,null,null,null,null],["d","middle_is_one","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",152,[],[],"","",null,[["middle",4,4818845,"775_0"]],[["CraftConfiguration",4,4108796,"71430_0"]],0.8497,null,null,null,null,null],["d","radius_has_room","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",136,[],[],"","",null,[["hasRoom",4,4571031,"88541_0"],["radius_of",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","radius_holds_height","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",139,[],[],"","",null,[["radius_of",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","radius_of","def",4,"definition","","P_NP_Locked_swapped.lean",135,[],[],"","",null,[],[],0.926,null,null,null,null,null],["d","same_chassis_dual_output","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",108,[],[],"","",null,[["U_val",4,4818845,"775_0"],["iterS",4,4818845,"775_0"],["U_diverges",3,4818845,"775_0"],["S_locks_at_1",3,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","six_plus_kick","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",155,[],[],"","",null,[["kick",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","six_times_sixty","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",179,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","sixty_step_closes","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",180,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","stepBound","def",4,"definition","","P_NP_Locked_swapped.lean",13,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","step_bound_is_three","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",151,[],[],"","",null,[["stepBound",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","three_plus_kick","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",154,[],[],"","",null,[["kick",4,4818845,"775_0"]],[],0.0779,null,null,null,null,null],["d","three_times_eight","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",144,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","twelve_below_plus_twelve_above","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",176,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","twelve_eq_zero_mod_12","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",164,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","twelve_plus_twelve_eq_zero_Fin24","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",165,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","twelve_zero_and_42","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",186,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","twenty_four_eq_zero_Fin24","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",166,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","twenty_one_eq_sum","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",150,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","twenty_one_plus_twenty_one","theorem",3,"unchecked","","P_NP_Locked_swapped.lean",147,[],[],"","",null,[],[],0.0779,null,null,null,null,null]],"edges":[[16,17,1,0,1],[45,47,1,0,1],[17,21,1,0,1],[2,7,1,0,1],[41,42,1,0,1],[41,54,1,0,1],[46,47,1,0,1],[6,40,1,0,1],[3,9,1,0,1],[10,14,1,0,1],[22,23,1,0,1],[5,47,1,0,1],[10,11,1,0,1],[9,48,1,0,1],[10,13,1,0,1],[3,4,1,0,1],[41,49,1,0,1],[16,41,1,0,1],[9,17,1,0,1],[17,19,1,0,1],[40,48,1,0,1],[2,4,1,0,1],[7,40,1,0,1],[0,2,1,0,1],[2,9,1,0,1],[17,18,1,0,1],[1,4,1,0,1],[52,53,1,0,1],[17,48,1,0,1],[0,3,1,0,1],[28,30,1,0,1],[28,31,1,0,1],[3,7,1,0,1],[4,40,1,0,1],[28,33,1,0,1],[15,17,1,0,1],[28,32,1,0,1],[0,17,1,0,1],[17,20,1,0,1],[1,2,1,0,1],[43,44,1,0,1],[0,1,1,0,1],[7,48,1,0,1],[10,12,1,0,1]],"top":[["S_locks_at_1",3,0.8667,4818845,"775_0",5],["U_diverges",3,0.8667,4818845,"775_0",4],["middle_is_one",3,0.8497,4818845,"775_0",2]]},"4818846":{"id":4818846,"label":"Advanced","n":55,"s":[0,0,0,33,22,0,0],"env":"https://github.com/infinitespacemechanic/gold-heart@d14a965cbb818fc878d750a6663de77d935dd2da#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4818733,"g64/g64/Record64 … hashi/Hashi/Basic","t12"],[4818844,"gold-heart","775_0"]],"kids":[["d","E_eq_M","theorem",3,"unchecked","","Advanced.lean",114,[],[],"","",null,[["energy",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","capsuleToSquare_den","def",4,"definition","","Advanced.lean",89,[],[],"","",null,[],[],0.5892,null,null,null,null,null],["d","capsuleToSquare_num","def",4,"definition","","Advanced.lean",88,[],[],"","",null,[],[],0.5892,null,null,null,null,null],["d","capsule_less_than_two","theorem",3,"unchecked","","Advanced.lean",91,[],[],"","",null,[["GeometricPathway.sliceScaled",4,4889914,"79117_0"],["E284S235.m0",4,1636181,"13288_90"],["laakkonenRadian_den",4,4818846,"775_0"],["sqrt3_den",4,4818846,"775_0"],["capsuleToSquare_num",4,4818846,"775_0"],["capsuleToSquare_den",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","centeredHex","def",4,"definition","","Advanced.lean",10,[],[],"","",null,[],[],0.9912,null,null,null,null,null],["d","ch1","theorem",3,"unchecked","","Advanced.lean",15,[],[],"","",null,[["centeredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","ch2","theorem",3,"unchecked","","Advanced.lean",16,[],[],"","",null,[["centeredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","ch3","theorem",3,"unchecked","","Advanced.lean",17,[],[],"","",null,[["centeredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","ch4","theorem",3,"unchecked","","Advanced.lean",18,[],[],"","",null,[["centeredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","ch5","theorem",3,"unchecked","","Advanced.lean",19,[],[],"","",null,[["centeredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","clock_harmonics","theorem",3,"unchecked","","Advanced.lean",104,[],[],"","",null,[["shellFreq",4,4818846,"775_0"],["coreFreq",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","container'","def",4,"definition","","Advanced.lean",6,[],[],"","",null,[],[],0.9854,null,null,null,null,null],["d","coreFreq","def",4,"definition","","Advanced.lean",99,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","dual1","theorem",3,"unchecked","","Advanced.lean",59,[],[],"","",null,[["dualContainer",4,4818846,"775_0"]],[["SuFunctor.Decapodes.heatPode",4,3468325,"44614_0"],["SuFunctor.Decapodes.heatSig",4,3468325,"44614_0"],["Mordell.CoefficientData",4,3394010,"47010_0"],["SuFunctor.Decapodes.HeatTy",4,3468325,"44614_0"],["StatMech.FK.PeriodicPlanar.PeriodicPlanarDualPair.EndpointBridgedRectangleArrayCertificate.false",3,3693116,"72031_9"],["Linalg.DualQuat.multiply",4,4349195,"35450_0"]],0.9638,null,null,null,null,null],["d","dual2","theorem",3,"unchecked","","Advanced.lean",60,[],[],"","",null,[["dualContainer",4,4818846,"775_0"]],[["Mordell.CoefficientData",4,3394010,"47010_0"],["StatMech.FK.PeriodicPlanar.PeriodicPlanarDualPair.EndpointBridgedRectangleArrayCertificate.false",3,3693116,"72031_9"],["Linalg.DualQuat.multiply",4,4349195,"35450_0"]],0.8402,null,null,null,null,null],["d","dual3","theorem",3,"unchecked","","Advanced.lean",61,[],[],"","",null,[["dualContainer",4,4818846,"775_0"]],[["Mordell.CoefficientData",4,3394010,"47010_0"],["PolarClassification.Budget.tightRows",4,1658709,"20150_54"],["StatMech.FK.PeriodicPlanar.PeriodicPlanarDualPair.EndpointBridgedRectangleArrayCertificate.false",3,3693116,"72031_9"]],0.8795,null,null,null,null,null],["d","dual4","theorem",3,"unchecked","","Advanced.lean",62,[],[],"","",null,[["dualContainer",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","dualContainer","def",4,"definition","","Advanced.lean",51,[],[],"","",null,[],[],0.9869,null,null,null,null,null],["d","energy","def",4,"definition","","Advanced.lean",113,[],[],"","",null,[],[],0.8909,null,null,null,null,null],["d","flatTriangle","def",4,"definition","","Advanced.lean",71,[],[],"","",null,[],[],0.9672,null,null,null,null,null],["d","fortyTwo","def",4,"definition","","Advanced.lean",65,[],[],"","",null,[],[],0.966,null,null,null,null,null],["d","fortyTwo_dual","theorem",3,"unchecked","","Advanced.lean",67,[],[],"","",null,[["fortyTwo",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","fortyTwo_is_six_sevens","theorem",3,"unchecked","","Advanced.lean",68,[],[],"","",null,[["seven",4,4818846,"775_0"],["fortyTwo",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","fortyTwo_is_two_21","theorem",3,"unchecked","","Advanced.lean",69,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["seven",4,4818846,"775_0"],["fortyTwo",4,4818846,"775_0"],["container",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","haloFreq","def",4,"definition","","Advanced.lean",102,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","hexRing","def",4,"definition","","Advanced.lean",21,[],[],"","",null,[],[],0.9898,null,null,null,null,null],["d","impossible_3","theorem",3,"unchecked","","Advanced.lean",75,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["seven",4,4818846,"775_0"],["flatTriangle",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","laakkonenRadian_den","def",4,"definition","","Advanced.lean",79,[],[],"","",null,[],[],0.8546,null,null,null,null,null],["d","laakkonen_eq_one_plus_higgs","theorem",3,"unchecked","","Advanced.lean",83,[],[],"","",null,[["GeometricPathway.sliceScaled",4,4889914,"79117_0"],["EvmAsm.Evm64.EvmEnv.envSize",4,2564436,"3159_21"]],[],0.0779,null,null,null,null,null],["d","mantleFreq","def",4,"definition","","Advanced.lean",100,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","mantle_is_seven","theorem",3,"unchecked","","Advanced.lean",105,[],[],"","",null,[["seven",4,4818846,"775_0"],["mantleFreq",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","mechanicalHiggs_den","def",4,"definition","","Advanced.lean",81,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","one_is_location","theorem",3,"unchecked","","Advanced.lean",110,[],[],"","",null,[["LeanRV64D.Functions.bool_int_backwards",4,3348288,"44323_1"]],[],0.0779,null,null,null,null,null],["d","ring2","theorem",3,"unchecked","","Advanced.lean",26,[],[],"","",null,[["hexRing",4,4818846,"775_0"]],[["TetraStereo.OneCenter.PhysicalPlaneEvidence.Examples.fiveConformation",4,306691,"25280_0"],["IChO2026Problems.T9A5.BenzylDoubleBond",4,1479881,"12233_0"],["IChO2026Problems.T9A5.BenzylSingleBond",4,1479881,"12233_0"],["IChO2026Problems.ProblemIcho2026T8A3.nitrogenOnRing",4,1479894,"12233_1"],["BinpolyCollatz.prop_self",3,3444376,"47130_0"],["IChO2026Problems.T9A5.benzylHydrogenParent",4,1479881,"12233_0"]],0.9873,null,null,null,null,null],["d","ring3","theorem",3,"unchecked","","Advanced.lean",27,[],[],"","",null,[["hexRing",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","ring4","theorem",3,"unchecked","","Advanced.lean",28,[],[],"","",null,[["hexRing",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","scienceOfOne","def",4,"definition","","Advanced.lean",116,[],[],"","",null,[],[],0.9489,null,null,null,null,null],["d","scienceOfOne_is_42","theorem",3,"unchecked","","Advanced.lean",122,[],[],"","",null,[["scienceOfOne",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","seven","def",4,"definition","","Advanced.lean",7,[],[],"","",null,[],[],0.9826,null,null,null,null,null],["d","shellFreq","def",4,"definition","","Advanced.lean",101,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","sqrt3_den","def",4,"definition","","Advanced.lean",86,[],[],"","",null,[],[],0.8546,null,null,null,null,null],["d","sum1_eq_cube1","theorem",3,"unchecked","","Advanced.lean",34,[],[],"","",null,[["sumCenteredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","sum1to6","def",4,"definition","","Advanced.lean",64,[],[],"","",null,[],[],0.989,null,null,null,null,null],["d","sum2_eq_cube2","theorem",3,"unchecked","","Advanced.lean",35,[],[],"","",null,[["sumCenteredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","sum3_eq_cube3","theorem",3,"unchecked","","Advanced.lean",36,[],[],"","",null,[["sumCenteredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","sum4_eq_cube4","theorem",3,"unchecked","","Advanced.lean",37,[],[],"","",null,[["sumCenteredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","sum5_eq_cube5","theorem",3,"unchecked","","Advanced.lean",38,[],[],"","",null,[["sumCenteredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","sumCenteredHex","def",4,"definition","","Advanced.lean",30,[],[],"","",null,[],[],0.9814,null,null,null,null,null],["d","sumCenteredHex_eq_cube","theorem",3,"unchecked","","Advanced.lean",41,[],[],"","",null,[["centeredHex",4,4818846,"775_0"],["sumCenteredHex",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","synergyZone","def",4,"definition","","Advanced.lean",95,[],[],"","",null,[],[],0.9438,null,null,null,null,null],["d","synergy_14","theorem",3,"unchecked","","Advanced.lean",96,[],[],"","",null,[["synergyZone",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","synergy_third","theorem",3,"unchecked","","Advanced.lean",97,[],[],"","",null,[["fortyTwo",4,4818846,"775_0"],["synergyZone",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","tetraContainer","def",4,"definition","","Advanced.lean",72,[],[],"","",null,[],[],0.926,null,null,null,null,null],["d","tetra_is_4","theorem",3,"unchecked","","Advanced.lean",74,[],[],"","",null,[["tetraContainer",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","zero_not","theorem",3,"unchecked","","Advanced.lean",111,[],[],"","",null,[["LeanRV64D.Functions.bool_int_backwards",4,3348288,"44323_1"]],[["Math.CheckerSoundness.InitAccInv",4,906611,"22730_12"],["Math.CheckerSoundness.initialLiveStep_inv",3,906611,"22730_12"],["Math.CheckerSoundness.initAccInv_empty",3,906611,"22730_12"]],0.7202,null,null,null,null,null]],"edges":[[20,23,1,0,1],[22,38,1,0,1],[25,33,1,0,1],[44,47,1,0,1],[14,17,1,0,1],[49,50,1,0,1],[36,37,1,0,1],[20,51,1,0,1],[43,47,1,0,1],[4,8,1,0,1],[30,38,1,0,1],[0,18,1,0,1],[38,49,1,0,1],[47,48,1,0,1],[4,47,1,0,1],[11,38,1,0,1],[45,47,1,0,1],[46,47,1,0,1],[16,17,1,0,1],[23,42,1,0,1],[3,27,1,0,1],[15,17,1,0,1],[1,27,1,0,1],[25,34,1,0,1],[29,30,1,0,1],[52,53,1,0,1],[25,35,1,0,1],[19,26,1,0,1],[4,9,1,0,1],[20,42,1,0,1],[26,38,1,0,1],[13,17,1,0,1],[20,22,1,0,1],[23,38,1,0,1],[4,7,1,0,1],[1,40,1,0,1],[2,3,1,0,1],[3,40,1,0,1],[10,39,1,0,1],[4,6,1,0,1],[1,3,1,0,1],[26,42,1,0,1],[20,21,1,0,1],[4,48,1,0,1],[19,52,1,0,1],[49,51,1,0,1],[41,47,1,0,1],[4,5,1,0,1],[10,12,1,0,1]],"top":[["ring2",3,0.9873,4818846,"775_0",27],["dual1",3,0.9638,4818846,"775_0",7],["dual3",3,0.8795,4818846,"775_0",4]]},"4818847":{"id":4818847,"label":"Basic","n":20,"s":[0,0,0,14,6,0,0],"env":"https://github.com/infinitespacemechanic/gold-heart@d14a965cbb818fc878d750a6663de77d935dd2da#source","anc":[[0,"All mathematics","t0"],[4799929,"General","t12"],[4818733,"g64/g64/Record64 … hashi/Hashi/Basic","t12"],[4818844,"gold-heart","775_0"]],"kids":[["d","ContainerLoop","inductive",4,"definition","","Basic.lean",85,[],[],"","",null,[],[],0.9178,null,null,null,null,null],["d","carbonHex_is_six","theorem",3,"unchecked","","Basic.lean",27,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","carbon_to_42_is_42","theorem",3,"unchecked","","Basic.lean",129,[],[],"","",null,[["scienceOfOne",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","container","def",4,"definition","","Basic.lean",18,[],[],"","",null,[],[],0.9489,null,null,null,null,null],["d","firstContainerSum","def",4,"definition","","Basic.lean",69,[],[],"","",null,[],[],0.8044,null,null,null,null,null],["d","fortyTwo_eq_42","theorem",3,"unchecked","","Basic.lean",51,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["fortyTwo",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","fortyTwo_eq_six_times_seven","theorem",3,"unchecked","","Basic.lean",56,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["seven",4,4818846,"775_0"],["fortyTwo",4,4818846,"775_0"],["container",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","laakkonenRadianDen","def",4,"definition","","Basic.lean",120,[],[],"","",null,[],[],0.0779,null,null,null,null,null],["d","loopComplete","def",4,"definition","","Basic.lean",90,[],[],"","",null,[],[],0.7659,null,null,null,null,null],["d","seven_is_container","theorem",3,"unchecked","","Basic.lean",23,[],[],"","",null,[["seven",4,4818846,"775_0"],["container",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","sum1to12_eq_78","theorem",3,"unchecked","","Basic.lean",65,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["sum7to12",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","sum1to6_eq_21","theorem",3,"unchecked","","Basic.lean",34,[],[],"","",null,[["sum1to6",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","sum7to12","def",4,"definition","","Basic.lean",61,[],[],"","",null,[],[],0.926,null,null,null,null,null],["d","sum7to12_eq_57","theorem",3,"unchecked","","Basic.lean",63,[],[],"","",null,[["sum7to12",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","synergy_eq_14","theorem",3,"unchecked","","Basic.lean",113,[],[],"","",null,[["seven",4,4818846,"775_0"],["container",4,4818847,"775_0"],["synergyZone",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","tetra_is_first_container","theorem",3,"unchecked","","Basic.lean",80,[],[],"","",null,[["flatTriangle",4,4818846,"775_0"],["tetraContainer",4,4818846,"775_0"]],[],0.0779,null,null,null,null,null],["d","twentyOne_div_seven_eq_three","theorem",3,"unchecked","","Basic.lean",44,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["seven",4,4818846,"775_0"],["container",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","twentyOne_eq_three_times_seven","theorem",3,"unchecked","","Basic.lean",39,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["seven",4,4818846,"775_0"],["container",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","two_containers_eq_42","theorem",3,"unchecked","","Basic.lean",72,[],[],"","",null,[["sum1to6",4,4818846,"775_0"],["firstContainerSum",4,4818847,"775_0"]],[],0.0779,null,null,null,null,null],["d","zero_is_not_location","theorem",3,"unchecked","","Basic.lean",103,[],[],"","",null,[["LeanRV64D.Functions.bool_int_backwards",4,3348288,"44323_1"]],[],0.0779,null,null,null,null,null]],"edges":[[3,17,1,0,1],[3,16,1,0,1],[4,18,1,0,1],[3,6,1,0,1],[3,9,1,0,1],[3,14,1,0,1],[0,8,1,0,1],[12,13,1,0,1],[10,12,1,0,1]],"top":[["carbonHex_is_six",3,0.0779,4818847,"775_0",0],["carbon_to_42_is_42",3,0.0779,4818847,"775_0",1],["fortyTwo_eq_42",3,0.0779,4818847,"775_0",2]]}}}packs/p730_0.jsonAdded+1
packs/p731_0.jsonAdded+1
packs/p732_0.jsonAdded+1
packs/p733_0.jsonAdded+1
packs/p734_0.jsonAdded+1
packs/p735_0.jsonAdded+1
packs/p736_0.jsonAdded+1
packs/p737_0.jsonAdded+1
packs/p738_0.jsonAdded+1
packs/p739_0.jsonAdded+1
packs/p73_0.jsonAdded+1
packs/p740_0.jsonAdded+1
packs/p741_0.jsonAdded+1
packs/p742_0.jsonAdded+1
packs/p743_0.jsonAdded+1
packs/p744_0.jsonAdded+1
packs/p745_0.jsonAdded+1
packs/p746_0.jsonAdded+1
packs/p747_0.jsonAdded+1
packs/p748_0.jsonAdded+1
packs/p749_0.jsonAdded+1
packs/p74_0.jsonAdded+1
packs/p750_0.jsonAdded+1
packs/p751_0.jsonAdded+1
packs/p752_0.jsonAdded+1
packs/p753_0.jsonAdded+1
packs/p754_0.jsonAdded+1
packs/p755_0.jsonAdded+1
packs/p756_0.jsonAdded+1
packs/p757_0.jsonAdded+1
packs/p758_0.jsonAdded+1
packs/p759_0.jsonAdded+1
packs/p75_0.jsonAdded+1
packs/p760_0.jsonAdded+1
packs/p761_0.jsonAdded+1
packs/p762_0.jsonAdded+1
packs/p763_0.jsonAdded+1
packs/p764_0.jsonAdded+1
packs/p765_0.jsonAdded+1
packs/p766_0.jsonAdded+1
packs/p767_0.jsonAdded+1
packs/p768_0.jsonAdded+1
packs/p769_0.jsonAdded+1
packs/p76_0.jsonAdded+1
packs/p770_0.jsonAdded+1
packs/p771_0.jsonAdded+1
packs/p772_0.jsonAdded+1
packs/p773_0.jsonAdded+1
packs/p774_0.jsonAdded+1
packs/p775_0.jsonAdded+1