gdp-wired 0.49.0 → 0.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +4 -0
  2. package/dist/core/candidate-seeds.d.ts +25 -0
  3. package/dist/core/candidate-seeds.js +90 -0
  4. package/dist/core/chart.js +28 -4
  5. package/dist/core/cli.js +3 -0
  6. package/dist/core/compose.js +4 -3
  7. package/dist/core/count-support.d.ts +1 -0
  8. package/dist/core/count-support.js +23 -2
  9. package/dist/core/counted-candidate-seeds.d.ts +12 -0
  10. package/dist/core/counted-candidate-seeds.js +31 -0
  11. package/dist/core/counts.js +9 -2
  12. package/dist/core/dsl-binders.d.ts +15 -0
  13. package/dist/core/dsl-binders.js +129 -0
  14. package/dist/core/dsl.d.ts +28 -2
  15. package/dist/core/dsl.js +147 -52
  16. package/dist/core/exists.js +2 -1
  17. package/dist/core/field-laws.js +23 -5
  18. package/dist/core/infer.js +10 -5
  19. package/dist/core/laws.js +2 -1
  20. package/dist/core/lift-cli.d.ts +11 -0
  21. package/dist/core/lift-cli.js +113 -0
  22. package/dist/core/proof-output.d.ts +53 -0
  23. package/dist/core/proof-output.js +38 -0
  24. package/dist/core/quorum-laws.js +55 -16
  25. package/dist/kernel/function-instances.d.ts +45 -0
  26. package/dist/kernel/function-instances.js +460 -0
  27. package/dist/kernel/prove.d.ts +12 -3
  28. package/dist/kernel/prove.js +164 -90
  29. package/dist/lean-kernel/axiom-audit.d.ts +11 -0
  30. package/dist/lean-kernel/axiom-audit.js +50 -0
  31. package/dist/lean-kernel/emit.d.ts +25 -2
  32. package/dist/lean-kernel/emit.js +75 -10
  33. package/dist/lean-kernel/legacy-family-order.d.ts +1 -0
  34. package/dist/lean-kernel/legacy-family-order.js +26 -0
  35. package/dist/lean-kernel/library.js +22 -0
  36. package/dist/lean-kernel/lift/counted-source-data.d.ts +7 -0
  37. package/dist/lean-kernel/lift/counted-source-data.js +78 -0
  38. package/dist/lean-kernel/lift/index.d.ts +82 -0
  39. package/dist/lean-kernel/lift/index.js +116 -0
  40. package/dist/lean-kernel/lift/project.d.ts +4 -0
  41. package/dist/lean-kernel/lift/project.js +15 -0
  42. package/dist/lean-kernel/lift/proof-capture.d.ts +104 -0
  43. package/dist/lean-kernel/lift/proof-capture.js +216 -0
  44. package/dist/lean-kernel/lift/proof-codec.d.ts +28 -0
  45. package/dist/lean-kernel/lift/proof-codec.js +299 -0
  46. package/dist/lean-kernel/lift/proof-counted-source.d.ts +16 -0
  47. package/dist/lean-kernel/lift/proof-counted-source.js +68 -0
  48. package/dist/lean-kernel/lift/proof-frontier.d.ts +19 -0
  49. package/dist/lean-kernel/lift/proof-frontier.js +153 -0
  50. package/dist/lean-kernel/lift/proof-graph.d.ts +17 -0
  51. package/dist/lean-kernel/lift/proof-graph.js +130 -0
  52. package/dist/lean-kernel/lift/proof-parts.d.ts +29 -0
  53. package/dist/lean-kernel/lift/proof-parts.js +131 -0
  54. package/dist/lean-kernel/lift/proof-prelude.d.ts +2 -0
  55. package/dist/lean-kernel/lift/proof-prelude.js +38 -0
  56. package/dist/lean-kernel/lift/proof-witness.d.ts +30 -0
  57. package/dist/lean-kernel/lift/proof-witness.js +283 -0
  58. package/dist/lean-kernel/lift/shape.d.ts +5 -0
  59. package/dist/lean-kernel/lift/shape.js +57 -0
  60. package/dist/lean-kernel/lift/source-projection.d.ts +16 -0
  61. package/dist/lean-kernel/lift/source-projection.js +81 -0
  62. package/dist/lean-kernel/lift/source.d.ts +23 -0
  63. package/dist/lean-kernel/lift/source.js +111 -0
  64. package/dist/lean-kernel/lift/witness-alpha.d.ts +9 -0
  65. package/dist/lean-kernel/lift/witness-alpha.js +31 -0
  66. package/dist/lean-kernel/lift-legacy.d.ts +58 -0
  67. package/dist/lean-kernel/lift-legacy.js +84 -0
  68. package/dist/lean-kernel/lift-names.d.ts +22 -0
  69. package/dist/lean-kernel/lift-names.js +36 -0
  70. package/dist/lean-kernel/lift-simulation/index.d.ts +29 -0
  71. package/dist/lean-kernel/lift-simulation/index.js +352 -0
  72. package/dist/lean-kernel/lift-simulation/shape.d.ts +41 -0
  73. package/dist/lean-kernel/lift-simulation/shape.js +173 -0
  74. package/dist/lean-kernel/lift-special/index.d.ts +36 -0
  75. package/dist/lean-kernel/lift-special/index.js +241 -0
  76. package/dist/lean-kernel/lift-special/structural.d.ts +25 -0
  77. package/dist/lean-kernel/lift-special/structural.js +126 -0
  78. package/dist/lean-kernel/lift-typed/index.d.ts +35 -0
  79. package/dist/lean-kernel/lift-typed/index.js +256 -0
  80. package/dist/lean-kernel/lift-typed/roles.d.ts +17 -0
  81. package/dist/lean-kernel/lift-typed/roles.js +170 -0
  82. package/dist/lean-kernel/lift-typed/shape.d.ts +1 -0
  83. package/dist/lean-kernel/lift-typed/shape.js +12 -0
  84. package/dist/lean-kernel/lift.d.ts +30 -0
  85. package/dist/lean-kernel/lift.js +97 -0
  86. package/package.json +8 -2
@@ -1,6 +1,6 @@
1
1
  import { atMost, n, not, pointWrite } from "../core/machine.js";
2
2
  import { add, k, scale, sub } from "../core/solver.js";
3
- import { framePath, lemmaPath, checkMC, checkCounted, checkCountedLaws, countedGoal, countedObligations, countHyps, mcGoal, postName, boundOf, caseGoals, cellParts, check, checkRecur, checkRecurCases, coverGoal, recurGoal, canon, decided, factorsOf, isCell, isMonomial, columnTerm, stateName, termColumn, truth, historyMachine, sumMachine, sumCovers, sumParts, foldObligations, kInductionStart, kInductionSteps, leafConstraints, loopLiveness, loopMachine, linear, livenessHelpful, livenessParts, livenessLevels, livenessRanks, strongly, loopObligations, trueC, obligations, progressObligations, stepLawObligations, substC, witnessesOf, withProducts } from "../kernel/kernel.js";
3
+ import { framePath, lemmaPath, checkMC, checkCounted, checkCountedLaws, checkLaws, countedGoal, countedObligations, countHyps, mcGoal, postName, boundOf, caseGoals, cellParts, check, checkRecur, checkRecurCases, coverGoal, recurGoal, canon, decided, factorsOf, isCell, isMonomial, columnTerm, stateName, termColumn, truth, historyMachine, sumMachine, sumCovers, sumParts, foldObligations, kInductionStart, kInductionSteps, leafConstraints, loopLiveness, loopMachine, linear, livenessHelpful, livenessParts, livenessLevels, livenessRanks, strongly, loopObligations, trueC, obligations, progressObligations, stepLawObligations, substC, witnessesOf, withProducts } from "../kernel/kernel.js";
4
4
  import { chooseLevels, clock, grow, minimal, proveBuilt, proveLaws, proveSetFast, proveStepLaws, withDeadline } from "../kernel/prove.js";
5
5
  import { refinement, refinementSides } from "../core/compose.js";
6
6
  import { exactNat, leanConnective, leanSurface, leanTerms } from "./lean-terms.js";
@@ -8,6 +8,7 @@ import { descentGoal, mainGoal, premiseGoal } from "../kernel/cyclic.js";
8
8
  import { allowNode, certMs, closingInsts, reqTS, withWitness, foldNodes, certMode, quietly, uncoveredWhy, hasQuantified, kWhens, machineNodes, proveCyclic, routeOf, searchedStepNodes, skMachine, stepLawNodes, tBack, tSub } from "../core/cyclic.js";
9
9
  import { leanLibrary } from "./library.js";
10
10
  import { legacyFamilyLibrary } from "./legacy-family-library.js";
11
+ import { legacyFamilyOrder } from "./legacy-family-order.js";
11
12
  import { proveKInduction } from "../core/kind.js";
12
13
  import { quantifiedRenames } from "./qalpha.js";
13
14
  import { countsForReads } from "../core/count-facts.js";
@@ -575,7 +576,7 @@ example : checkCounted ${id}_goal ${instsLit(t.insts)} ${id}_tab ${id}_tree ${id
575
576
  // each certificate names the kernel's goal's hypotheses (each one Lean builds), the cells it reads, Count.lean's
576
577
  // instances and the tree. The count maps go to Lean as maps the request carries, each with its post name. `tampers`:
577
578
  // certificates kernel.ts refuses, which Lean computes to false.
578
- export function cmachineToLean(id, m, laws, proof, tampers = []) {
579
+ export function cmachineToLean(id, m, laws, proof, tampers = [], options = {}) {
579
580
  const obl = countedObligations(m, laws, proof.instances), counts = Object.entries(m.counts ?? {});
580
581
  const sm = { ...m, counts: undefined, inputMaps: [...(m.inputMaps ?? []), ...counts.map(([cn]) => cn)] };
581
582
  const named = machineNames(sm, laws, [], [], {});
@@ -592,12 +593,20 @@ export function cmachineToLean(id, m, laws, proof, tampers = []) {
592
593
  // checker alpha-renames colliding local binders; QAlpha proves its original semantics.
593
594
  const renames = quantifiedRenames(sm, laws, [...vars, ...maps]);
594
595
  vars.push(...renames.map(r => r.fresh));
596
+ for (const v of options.extraVars ?? [])
597
+ if (!vars.includes(v))
598
+ vars.push(v);
599
+ for (const map of options.extraMaps ?? [])
600
+ if (!maps.includes(map))
601
+ maps.push(map);
595
602
  const checked = renames.length ? `${id}_checkedMachine` : `${id}_machine`;
596
603
  const { e, c } = leanTerms(vars, maps, id);
597
604
  const ix = (name) => { const j = vars.indexOf(name); if (j < 0)
598
605
  throw new Error(`${id}: no variable for ${name}`); return j; };
599
606
  const mx = (name) => { const j = maps.indexOf(name); if (j < 0)
600
607
  throw new Error(`${id}: no map for ${name}`); return j; };
608
+ const decls = (ds) => list(Object.entries(ds ?? {}).map(([cn, d]) => `⟨${mx(cn)}, ${mx(postName(cn))}, ${ix(d.j)}, ${ix(d.key)}, ${e(d.below)}, ${e(d.body)}, ${ix(d.lo ?? d.j)}, ${d.base ?? 0}⟩`));
609
+ const after = options.after?.({ vars, maps, ix, mx, machine: mm => machineLit(mm, { e, c }, ix, mx), condition: c, decls }) ?? '';
601
610
  const lawIx = (name) => laws.findIndex(l => l.name === name);
602
611
  const facts = m.facts ?? [], facts1 = facts.filter(f => !f.keys?.length), factsN = facts.filter(f => f.keys?.length);
603
612
  const tuples = (keys, n2) => Array.from({ length: Math.floor(keys.length / n2) }, (_, t) => keys.slice(t * n2, t * n2 + n2));
@@ -664,7 +673,7 @@ theorem ${id}_check : ${withAux ? 'checkCMachineF' : 'checkCMachine'} ${checked}
664
673
  theorem ${id}_laws : ∀ ρ M, CReach ${id}_machine ${id}_decls ρ M → ∀ ce ∈ ${id}_proof, ce.e.Holds ρ (withCnt ${id}_decls ρ M) :=
665
674
  ${renames.length ? `QAlpha.${withAux ? 'cmachineF_sound' : 'cmachine_sound'} ${id}_machine ${id}_renames ${id}_decls ${id}_proof (by ${checkBy}) ${id}_check` : `${withAux ? 'cmachineF_sound' : 'cmachine_sound'} ${id}_machine ${id}_decls ${id}_proof ${id}_check`}${tampers.map(t => `
666
675
  -- TAMPERED: ${t.what}. Lean computes the check to false, as kernel.ts refuses it.
667
- example : ${withAux ? 'checkCMachineF' : 'checkCMachine'} ${checked} ${id}_decls ${list(entries(t.certs))} = false := by ${checkBy}`).join('')}`;
676
+ example : ${withAux ? 'checkCMachineF' : 'checkCMachine'} ${checked} ${id}_decls ${list(entries(t.certs))} = false := by ${checkBy}`).join('')}${after}`;
668
677
  }
669
678
  // Whole machines through Kern.machine_sound: Lean builds the goals from the machine; the trees are the kernel's.
670
679
  export function machineToLean(id, m, laws, corollary) {
@@ -1198,8 +1207,11 @@ ${plain}`;
1198
1207
  return `namespace ${id}
1199
1208
  ${[...vars.filter(v => used.has(v)).map(v => `abbrev ${q(v)} : Nat := ${vars.indexOf(v)}`), ...maps.filter(mp => used.has(mp)).map(mp => `abbrev ${q(mp)} : Nat := ${maps.indexOf(mp)}`)].join('\n')}
1200
1209
  ${laws.map((law, j) => {
1201
- if (law.ex)
1210
+ if (law.ex) {
1211
+ if (reach.explicitExistentials?.has(law.name) && (law.keys?.length || (law.forall && law.ex.ghost)))
1212
+ return '-- Multi-key existential source theorem is emitted by the explicit ghost-substitution projection.';
1202
1213
  return someOf(law, j);
1214
+ }
1203
1215
  if (JSON.stringify(law.holds).includes('"op":"if"'))
1204
1216
  return `-- ${law.name}: its terms read an if, so no plain statement here (${id}_laws holds it)`;
1205
1217
  const hyps = arithBinders(law), names = arithIn(law).map(hypName);
@@ -1582,9 +1594,9 @@ theorem ${id}_some${j} : ∀ ρ M, SReach ${id}_gm.orig ρ M → ∀ v, ∃ val,
1582
1594
  throw new Error(`${id}: ${gs.law}: no such law`);
1583
1595
  const sigma = list(Object.entries(gs.sub).map(([x, t]) => `(${ix(x)}, ${e(t)})`));
1584
1596
  return `
1585
- /-- ${law.name}, read ∃: for every value of its keys, some natural for each of ${Object.keys(gs.sub).join(', ')} (at the ghosts' terms) where its body holds; no ghost read. -/
1597
+ /-- ${law.name}, read ∃: for every value of its keys, some natural for each of ${Object.keys(gs.sub).join(', ')} (at the ghosts' terms) where its body holds; no unbound ghost read. -/
1586
1598
  theorem ${id}_ex${j} : ∀ ρ M, SReach ${id}_gm.orig ρ M → ExHolds (${c(gs.body)}) ${id}_e${li}.law.key ${list(Object.keys(gs.sub).map(x => String(ix(x))))} M ${id}_e${li}.keys2 ρ :=
1587
- forall_some_of_ghostsubst ${id}_gm ${id}_gmOk ${id}_proof ${id}_check ${id}_e${li} (${memOf(li)}) ${sigma} (${c(gs.body)})
1599
+ ${gs.boundGhosts ? 'forall_some_of_ghostsubst_bound' : 'forall_some_of_ghostsubst'} ${id}_gm ${id}_gmOk ${id}_proof ${id}_check ${id}_e${li} (${memOf(li)}) ${sigma} (${c(gs.body)})
1588
1600
  (by ${checkBy}) (by ${checkBy}) (by ${checkBy})`;
1589
1601
  }).join('')}`;
1590
1602
  } });
@@ -1827,10 +1839,10 @@ def ${id}_proof : List SEntry := ${list(laws.map((_, j) => `${id}_e${j}`))}
1827
1839
  theorem ${id}_check : checkSMachine ${id}_machine ${id}_proof = true := by ${checkBy}
1828
1840
  theorem ${id}_laws : ∀ ρ M, SReach ${id}_machine ρ M → ∀ e ∈ ${id}_proof, e.Holds ρ M :=
1829
1841
  smachine_sound ${id}_machine ${id}_proof ${id}_check
1830
- ${hm ? histBlock() : readable(id, laws, vars, mapNames, { binders: '(ρ : Nat → Nat) (μ : Nat → Nat → Nat)', hyp: `SReach ${id}_machine ρ μ`, call: `${id}_laws ρ μ h`, lit: c, eLit: e, ghosts: !rf && !gm && gv.length > 0 })}${sm ? sumsBlock() : ''}${opts.noFacts ? '' : factsProof(id, m, mapNames, vars, opts.simp)}${opts.tamper ? `
1842
+ ${hm ? histBlock() : readable(id, laws, vars, mapNames, { binders: '(ρ : Nat → Nat) (μ : Nat → Nat → Nat)', hyp: `SReach ${id}_machine ρ μ`, call: `${id}_laws ρ μ h`, lit: c, eLit: e, ghosts: !rf && !gm && gv.length > 0, explicitExistentials: new Set((opts.ghostSubst ?? []).map(g => g.law)) })}${sm ? sumsBlock() : ''}${opts.noFacts ? '' : factsProof(id, m, mapNames, vars, opts.simp)}${opts.tamper ? `
1831
1843
  -- TAMPERED: ${opts.tamper.what}. Lean computes the check to false.
1832
1844
  def ${id}_tampered : SMachine := ${lit(opts.tamper.machine)}
1833
- example : checkSMachine ${id}_tampered ${id}_proof = false := by ${checkBy}` : ''}${records.length ? `\n\n${records.join('\n\n')}` : ''}${opts.after ? `\n\n${opts.after(ix, mx, lit)}` : ''}`;
1845
+ example : checkSMachine ${id}_tampered ${id}_proof = false := by ${checkBy}` : ''}${records.length ? `\n\n${records.join('\n\n')}` : ''}${opts.after ? `\n\n${opts.after(ix, mx, lit, c)}` : ''}`;
1834
1846
  }
1835
1847
  // --- the cyclic certificate's export (GDP_CERT=cyclic) -------------------------------------------------------------
1836
1848
  // By default, or with GDP_CERT=cyclic (core/cyclic.ts's certOn: a covered proof's certificate is its cyclic proof; or toLean's
@@ -1847,6 +1859,7 @@ example : checkSMachine ${id}_tampered ${id}_proof = false := by ${checkBy}` : '
1847
1859
  // is made with no cyclic certificate of its own (quietly): the export makes the certificate it exports from the usual
1848
1860
  // trees (cycMachineProof), and the usual export reads the trees, so a certificate made here is never read.
1849
1861
  const usualMade = new Map();
1862
+ let retainedOnly = false;
1850
1863
  // Where the usual proof fails and there are no step laws, the search's own set proof (proveSetFast: per-law instances
1851
1864
  // of each law's sort, a refutation's core widened to its goal, its trees checked by checkLaws): the laws the engine
1852
1865
  // proved that way (ring's) go to Lean from the trees that proof made, which Lean checks as any (`certReport.fast`).
@@ -1854,6 +1867,8 @@ function proveStepLawsOnce(m, laws, stepLaws) {
1854
1867
  const key = JSON.stringify([m, laws, stepLaws]), had = usualMade.get(key);
1855
1868
  if (had)
1856
1869
  return had;
1870
+ if (retainedOnly)
1871
+ throw new Error('retained-only export requested an uncaptured family; search is forbidden');
1857
1872
  // (with no step laws, the usual proof within usualMs of the cost model's clock (GDP_LEAN_USUAL_MS, 60 s): past it, the
1858
1873
  // fast one; wo's set with its ghost ran the usual proof 8 minutes and more)
1859
1874
  const fastToo = !stepLaws.length && !laws.some(l => l.some?.length);
@@ -1870,6 +1885,52 @@ function proveStepLawsOnce(m, laws, stepLaws) {
1870
1885
  }
1871
1886
  // A proof made elsewhere (core/kind.ts's k-induction search), as the one the export reads for these step laws.
1872
1887
  export const seedStepProof = (m, laws, stepLaws, r) => { usualMade.set(JSON.stringify([m, laws, stepLaws]), r); };
1888
+ // Captured-data entry points: validate and export only the supplied certificates.
1889
+ // These APIs may extend kernel term interning; use a fresh process for capsule
1890
+ // replay. Only exporter mode/cache globals are restored, not kernel term state.
1891
+ function retainedShape(id, m, laws) {
1892
+ if (!/^[A-Za-z_][A-Za-z0-9_]*$/.test(id))
1893
+ throw new Error('invalid retained Lean identifier');
1894
+ if (Object.keys(m.fns ?? {}).length)
1895
+ throw new Error('retained function declarations require separate qualification');
1896
+ if (m.history || m.sums && Object.keys(m.sums).length)
1897
+ throw new Error('retained history/sums projection requires separate qualification');
1898
+ if (laws.some(l => l.some?.length))
1899
+ throw new Error('retained export needs the already-resolved witness family');
1900
+ }
1901
+ export function retainedCMachineToLean(id, m, laws, proof, options = {}) {
1902
+ retainedShape(id, m, laws);
1903
+ if (!checkCountedLaws(m, laws, proof))
1904
+ throw new Error('captured counted family does not check');
1905
+ const old = checkBy;
1906
+ checkBy = 'decide +kernel';
1907
+ try {
1908
+ return cmachineToLean(id, m, laws, proof, [], options);
1909
+ }
1910
+ finally {
1911
+ checkBy = old;
1912
+ }
1913
+ }
1914
+ export function retainedSMachineToLean(id, m, laws, proof, projection = {}) {
1915
+ retainedShape(id, m, laws);
1916
+ if (!checkLaws(m, laws, proof))
1917
+ throw new Error('captured usual family does not check');
1918
+ const old = checkBy, oldRetained = retainedOnly, oldCache = [...usualMade];
1919
+ try {
1920
+ usualMade.clear();
1921
+ retainedOnly = true;
1922
+ checkBy = 'decide +kernel';
1923
+ seedStepProof(m, laws, [], { proven: true, checked: true, nodes: 0, leaves: 0, proof: { laws: proof, instances: {}, perStep: {}, trees: {} } });
1924
+ return smachineToLean(id, m, laws, projection);
1925
+ }
1926
+ finally {
1927
+ usualMade.clear();
1928
+ for (const [key, value] of oldCache)
1929
+ usualMade.set(key, value);
1930
+ retainedOnly = oldRetained;
1931
+ checkBy = old;
1932
+ }
1933
+ }
1873
1934
  const envOf = () => globalThis.process?.env;
1874
1935
  export const cyclicCerts = certMode;
1875
1936
  let certsOn = false, cycTexts = 0;
@@ -2628,11 +2689,15 @@ export function leanProject(file, opts = {}) {
2628
2689
  // Only generated cut-family declarations need the new family library. Merely
2629
2690
  // mentioning CEntryF in a comment or identifier must not change a cut-free project.
2630
2691
  const cutFamily = /^(?:noncomputable )?def [^\s:]+ : List CEntryF :=/m.test(file);
2631
- const library = cutFamily ? leanLibrary : { ...leanLibrary, ...legacyFamilyLibrary };
2692
+ const oldNames = new Set(legacyFamilyOrder);
2693
+ const modernNames = new Set(Object.keys(leanLibrary).filter(n => !oldNames.has(n)).map(n => n.slice(0, -5)));
2694
+ const modernImport = [...file.matchAll(/^\s*import\s+([^\n]+)/gm)].some(m => m[1].split(/\s+/).some(n => modernNames.has(n)));
2695
+ const current = opts.currentFamily === true || cutFamily || modernImport || file.includes('RowAlpha.') || file.includes('forall_some_of_ghostsubst_bound');
2696
+ const library = current ? leanLibrary : Object.fromEntries(legacyFamilyOrder.map(n => [n, legacyFamilyLibrary[n] ?? leanLibrary[n]]));
2632
2697
  const modules = [...Object.keys(library).map(f => f.replace(/\.lean$/, '')), name];
2633
2698
  return {
2634
2699
  ...library,
2635
- [`${name}.lean`]: file,
2700
+ [`${name}.lean`]: (file.includes('RowAlpha.') ? 'import RowAlpha\n' : '') + (file.includes('forall_some_of_ghostsubst_bound') ? 'import BoundGhost\n' : '') + file,
2636
2701
  'lean-toolchain': 'leanprover/lean4:v4.34.0\n',
2637
2702
  'lakefile.lean': `import Lake
2638
2703
  open Lake DSL
@@ -0,0 +1 @@
1
+ export declare const legacyFamilyOrder: readonly ["Cert.lean", "Kernel.lean", "Cyclic.lean", "Progress.lean", "StepLaw.lean", "Steps.lean", "History.lean", "Sets.lean", "Live.lean", "NonTerm.lean", "Ghost.lean", "Sums.lean", "Refine.lean", "Bridge.lean", "BridgeRules.lean", "Data.lean", "Rationals.lean", "KInd.lean", "Count.lean", "CountMachine.lean", "GhostMap.lean", "QAlpha.lean"];
@@ -0,0 +1,26 @@
1
+ // Frozen cut-free project ABI (41ffd98b). Keep this order independent of new
2
+ // current-family modules; frame-export.test.ts binds every entry by SHA-256.
3
+ export const legacyFamilyOrder = [
4
+ "Cert.lean",
5
+ "Kernel.lean",
6
+ "Cyclic.lean",
7
+ "Progress.lean",
8
+ "StepLaw.lean",
9
+ "Steps.lean",
10
+ "History.lean",
11
+ "Sets.lean",
12
+ "Live.lean",
13
+ "NonTerm.lean",
14
+ "Ghost.lean",
15
+ "Sums.lean",
16
+ "Refine.lean",
17
+ "Bridge.lean",
18
+ "BridgeRules.lean",
19
+ "Data.lean",
20
+ "Rationals.lean",
21
+ "KInd.lean",
22
+ "Count.lean",
23
+ "CountMachine.lean",
24
+ "GhostMap.lean",
25
+ "QAlpha.lean"
26
+ ];