{"id":"N-ABSYS","url":"https://chrishayuk.com/notebook/absys-did-not-unify-two-unknowns-it-waited","currentVersion":"1.3","publication":"published","scientificStatus":"OPEN","versions":[{"version":"1.0","title":"Absys did not unify two unknowns. It waited.","abstract":"A note about reconstructing Absys, the language J. M. Foster, E. W. Elcock and their colleagues built for the Elliott 4120 at the University of Aberdeen, which Elcock argued in 1990 was the first logic programming language. No program text or listing of it is known to survive. With a coding agent, the language was rebuilt from three papers: Foster’s Assertions of 1968, extracts of Foster and Elcock’s introduction to Absys 1 of 1969, and Elcock’s retrospective of 1990, read from its page scans. An equation between two unknowns is not solved but suspended until one of them is known; an or splits the computation into derivations that are all pursued, fairly, until each fails or hibernates; and each assertion is accepted as it is typed. Run on the papers’ own examples, the reconstruction gives every result they print, the binding environments of the append and reverse examples variable for variable and Absys 1’s three triples in the paper’s order, and the expected answers for Clark’s students and for setdiff, whose results the paper does not print. Run on inputs chosen here, setdiff gives the right answer if each applied body takes the place of its literal, or if not waits for its variables; taking literals strictly in turn without such a delay, one fair rule among several, gives the wrong one.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-ABSYS/1.0","published":"2026-11-26","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"7be6fc730423c3ca9a09f7217439b1ea47376feeebeea2de9b463e79e88945a4","algorithm":"sha256","revision":{"kind":"initial","summary":"First published: Absys, the assertional language of Foster, Elcock and their colleagues at Aberdeen, rebuilt from the papers of 1968, 1969 and 1990 with a coding agent; Elcock's binding environments for append and reverse reproduced variable for variable, suspended equations included, and the 1969 triples in the paper's order; every order of a seven-assertion text gives one outcome, and of what was tested only not makes the order matter; setdiff, run on inputs chosen here, favours one rule for the order of steps; checked independently against the papers, with three errors and nine overstatements corrected; with a playground that steps through a text an assertion at a time."},"display":{"kind":"initial","summary":"First published: Absys, the assertional language of Foster, Elcock and their colleagues at Aberdeen, rebuilt from the papers of 1968, 1969 and 1990; Elcock's binding environments for append and reverse reproduced variable for variable, suspended equations included, and the 1969 triples in the paper's order; every order of a seven-assertion text gives one outcome, and of what was tested only not makes the order matter; setdiff, run on inputs chosen here, favours one rule for the order of steps; checked independently against the papers, with three errors and nine overstatements corrected; with a playground that steps through a text an assertion at a time.","amended":{"date":"2026-11-27","note":"Display amended: the statements about how the work was done were removed. The stored summary is unchanged."}},"next":"https://chrishayuk.com/records/N-ABSYS/1.1","sources":[{"title":"E. W. Elcock, “Absys: the first logic programming language — a retrospective and a commentary”, Journal of Logic Programming 9(1), 1990, pp. 1–17","url":"https://doi.org/10.1016/0743-1066(90)90030-9","note":"Read in full from the page scans of the Elsevier open archive. Every program and binding environment quoted was read from the images; the OCR garbles them."},{"title":"J. M. Foster and E. W. Elcock, “Absys 1: an incremental compiler for assertions; an introduction”, Machine Intelligence 4, Edinburgh University Press, 1969, from p. 423","url":"https://archive.org/details/machineintellige0004unse","note":"Read only from the OCR extracts of most of its sections quoted on HOPL; the scan is on archive.org for lending only."},{"title":"J. M. Foster, “Assertions: programs written without specifying unnecessary order”, Machine Intelligence 3, Edinburgh University Press, 1968, pp. 387–391","url":"https://archive.org/details/mi3_20200519","note":"Read in full. A design paper; the system it describes was then “partly implemented on an Elliott 4120”. Its “pass sets” are the rule for arithmetic here."},{"title":"chrishayuk/absys","url":"https://github.com/chrishayuk/absys","note":"The interpreter, both notations, the published results as tests, every decision with its evidence, the experiments, a tutorial, a language server and editor extension, and the playground."},{"title":"Coding-agent session, 25 November 2026","note":"The interpreter, the transcriptions and the comparisons were made in this session. Every result in this note can be rerun on the interactive study or with cargo test in the repository."}],"manuscript":"https://chrishayuk.com/api/record/N-ABSYS?version=1.0","citations":"https://chrishayuk.com/api/citations/N-ABSYS?version=1.0"},{"version":"1.1","title":"Absys did not unify two unknowns. It waited.","abstract":"A note about reconstructing Absys, the language J. M. Foster, E. W. Elcock and their colleagues built for the Elliott 4120 at the University of Aberdeen, which Elcock argued in 1990 was the first logic programming language. No program text or listing of it is known to survive. With a coding agent, the language was rebuilt from three papers: Foster’s Assertions of 1968, extracts of Foster and Elcock’s introduction to Absys 1 of 1969, and Elcock’s retrospective of 1990, read from its page scans. An equation between two unknowns is not solved but suspended until one of them is known; an or splits the computation into derivations that are all pursued, fairly, until each fails or hibernates; and each assertion is accepted as it is typed. Run on the papers’ own examples, the reconstruction gives every result they print, the binding environments of the append and reverse examples variable for variable and Absys 1’s three triples in the paper’s order, and the expected answers for Clark’s students and for setdiff, whose results the paper does not print. Run on inputs chosen here, setdiff gives the right answer if each applied body takes the place of its literal, or if not waits for its variables; taking literals strictly in turn without such a delay, one fair rule among several, gives the wrong one. A paper of 1982, found after version 1.0 of this note, prints Absys’s list of relations awaiting elaboration step by step; the reconstruction prints every list it shows once two of its rules follow the paper, one of them against the paper’s own word “appended”.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-ABSYS/1.1","published":"2026-11-26","revised":"2026-11-26","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"c97a8107b8a9958309738410b7c18d6bb93b8ab55f4f69286e984721ff596367","algorithm":"sha256","revision":{"kind":"interpretation","summary":"Adds Elcock's paper of 1982, found after 1.0: its list of relations awaiting elaboration, printed step by step, now comes out as printed, once a relation returns for each of its variables bound and returned relations go to the head of the list, against the paper's word 'appended'. Records that the paper describes the alternatives as implemented by backtracking, where the retrospective has a fair search, and dates Absys 1968, not 1967; adds where data-directed elaboration stops (x+y=10, x-y=4), with a runnable trace of both readings; and replaces 'no Prolog was run' with the comparison run on SWI-Prolog 11.0.1. Checked independently against the 1982 scans; six findings corrected.","previous":"1.0"},"display":{"kind":"interpretation","summary":"Adds Elcock's paper of 1982, found after 1.0: its list of relations awaiting elaboration, printed step by step, now comes out as printed, once a relation returns for each of its variables bound and returned relations go to the head of the list, against the paper's word 'appended'. Records that the paper describes the alternatives as implemented by backtracking, where the retrospective has a fair search, and dates Absys 1968, not 1967; adds where data-directed elaboration stops (x+y=10, x-y=4), with a runnable trace of both readings; and replaces 'no Prolog was run' with the comparison run on SWI-Prolog 11.0.1. Checked independently against the 1982 scans; six findings corrected."},"previous":"https://chrishayuk.com/records/N-ABSYS/1.0","next":"https://chrishayuk.com/records/N-ABSYS/1.2","sources":[{"title":"E. W. Elcock, “Absys: the first logic programming language — a retrospective and a commentary”, Journal of Logic Programming 9(1), 1990, pp. 1–17","url":"https://doi.org/10.1016/0743-1066(90)90030-9","note":"Read in full from the page scans of the Elsevier open archive. Every program and binding environment quoted was read from the images; the OCR garbles them."},{"title":"J. M. Foster and E. W. Elcock, “Absys 1: an incremental compiler for assertions; an introduction”, Machine Intelligence 4, Edinburgh University Press, 1969, from p. 423","url":"https://archive.org/details/machineintellige0004unse","note":"Read only from the OCR extracts of most of its sections quoted on HOPL; the scan is on archive.org for lending only."},{"title":"E. W. Elcock, “Goal selection strategies in Horn clause programming”, Proceedings of the Fourth Biennial Conference of the CSCSI/SCEIO, Saskatoon, 1982, pp. 121–124","url":"https://www.caiac.ca/sites/default/files/shared/canai-archives/1982_CSCSI_Proceedings-opt.pdf","note":"Read in full from the page scans of the proceedings (PDF pp. 129–132). Found after version 1.0 of this note; its list of relations is now an acceptance test."},{"title":"J. M. Foster, “Assertions: programs written without specifying unnecessary order”, Machine Intelligence 3, Edinburgh University Press, 1968, pp. 387–391","url":"https://archive.org/details/mi3_20200519","note":"Read in full. A design paper; the system it describes was then “partly implemented on an Elliott 4120”. Its “pass sets” are the rule for arithmetic here."},{"title":"chrishayuk/absys","url":"https://github.com/chrishayuk/absys","note":"The interpreter, both notations, the published results as tests, every decision with its evidence, the experiments, a tutorial, a language server and editor extension, and the playground."},{"title":"Coding-agent session, 25 November 2026","note":"The interpreter, the transcriptions and the comparisons were made in this session. Every result in this note can be rerun on the interactive study or with cargo test in the repository."}],"manuscript":"https://chrishayuk.com/api/record/N-ABSYS?version=1.1","citations":"https://chrishayuk.com/api/citations/N-ABSYS?version=1.1"},{"version":"1.2","title":"Absys did not unify two unknowns. It waited.","abstract":"A note about reconstructing Absys, the language J. M. Foster, E. W. Elcock and their colleagues built for the Elliott 4120 at the University of Aberdeen, which Elcock argued in 1990 was the first logic programming language. No program text or listing of it is known to survive. With a coding agent, the language was rebuilt from three papers: Foster’s Assertions of 1968, extracts of Foster and Elcock’s introduction to Absys 1 of 1969, and Elcock’s retrospective of 1990, read from its page scans. An equation between two unknowns is not solved but suspended until one of them is known; an or splits the computation into derivations that are all pursued, fairly, until each fails or hibernates; and each assertion is accepted as it is typed. Run on the papers’ own examples, the reconstruction gives every result they print, the binding environments of the append and reverse examples variable for variable and Absys 1’s three triples in the paper’s order, and the expected answers for Clark’s students and for setdiff, whose results the paper does not print. Run on inputs chosen here, setdiff gives the right answer if each applied body takes the place of its literal, or if not waits for its variables; taking literals strictly in turn without such a delay, one fair rule among several, gives the wrong one. A paper of 1982, found after version 1.0 of this note, prints Absys’s list of relations awaiting elaboration step by step; the reconstruction prints every list it shows once two of its rules follow the paper, one of them against the paper’s own word “appended”. That settles the order only if the lists were copied from a run. Run on SWI-Prolog, the same programs give the same answers where both answer, and Absys’s session, assertions fed one at a time into one open computation, can be rebuilt there from engines and coroutines, with a layer written here to make a procedure applied before its definition wait.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-ABSYS/1.2","published":"2026-11-26","revised":"2026-11-26","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"8961d17f2337d19fb7fd7b40c59f97d313d1667de1f4a6d1dd85f2fa66fc7dd7","algorithm":"sha256","revision":{"kind":"interpretation","summary":"Corrects 1.1's implication that Prolog has nothing like Absys's incremental session: a SWI-Prolog engine fed one assertion at a time reproduces the reverse example and Elcock's 1982 relations posted one by one, with a layer written here to make a procedure applied before its definition wait. Both comparisons now run in CI on a pinned SWI-Prolog 11.0.1. States that the queue-order finding rests on the printed trace, and settles the order only if the lists were copied from a run.","previous":"1.1"},"display":{"kind":"interpretation","summary":"Corrects 1.1's implication that Prolog has nothing like Absys's incremental session: a SWI-Prolog engine fed one assertion at a time reproduces the reverse example and Elcock's 1982 relations posted one by one, with a layer written here to make a procedure applied before its definition wait. Both comparisons now run in CI on a pinned SWI-Prolog 11.0.1. States that the queue-order finding rests on the printed trace, and settles the order only if the lists were copied from a run."},"previous":"https://chrishayuk.com/records/N-ABSYS/1.1","next":"https://chrishayuk.com/records/N-ABSYS/1.3","sources":[{"title":"E. W. Elcock, “Absys: the first logic programming language — a retrospective and a commentary”, Journal of Logic Programming 9(1), 1990, pp. 1–17","url":"https://doi.org/10.1016/0743-1066(90)90030-9","note":"Read in full from the page scans of the Elsevier open archive. Every program and binding environment quoted was read from the images; the OCR garbles them."},{"title":"J. M. Foster and E. W. Elcock, “Absys 1: an incremental compiler for assertions; an introduction”, Machine Intelligence 4, Edinburgh University Press, 1969, from p. 423","url":"https://archive.org/details/machineintellige0004unse","note":"Read only from the OCR extracts of most of its sections quoted on HOPL; the scan is on archive.org for lending only."},{"title":"E. W. Elcock, “Goal selection strategies in Horn clause programming”, Proceedings of the Fourth Biennial Conference of the CSCSI/SCEIO, Saskatoon, 1982, pp. 121–124","url":"https://www.caiac.ca/sites/default/files/shared/canai-archives/1982_CSCSI_Proceedings-opt.pdf","note":"Read in full from the page scans of the proceedings (PDF pp. 129–132). Found after version 1.0 of this note; its list of relations is now an acceptance test."},{"title":"J. M. Foster, “Assertions: programs written without specifying unnecessary order”, Machine Intelligence 3, Edinburgh University Press, 1968, pp. 387–391","url":"https://archive.org/details/mi3_20200519","note":"Read in full. A design paper; the system it describes was then “partly implemented on an Elliott 4120”. Its “pass sets” are the rule for arithmetic here."},{"title":"chrishayuk/absys","url":"https://github.com/chrishayuk/absys","note":"The interpreter, both notations, the published results as tests, every decision with its evidence, the experiments, a tutorial, a language server and editor extension, and the playground."},{"title":"Coding-agent session, 25 November 2026","note":"The interpreter, the transcriptions and the comparisons were made in this session. Every result in this note can be rerun on the interactive study or with cargo test in the repository."}],"manuscript":"https://chrishayuk.com/api/record/N-ABSYS?version=1.2","citations":"https://chrishayuk.com/api/citations/N-ABSYS?version=1.2"},{"version":"1.3","title":"Absys did not unify two unknowns. It waited.","abstract":"A note about reconstructing Absys, the language J. M. Foster, E. W. Elcock and their colleagues built for the Elliott 4120 at the University of Aberdeen, which Elcock argued in 1990 was the first logic programming language. No program text or listing of it is known to survive. The language was rebuilt from three papers: Foster’s Assertions of 1968, extracts of Foster and Elcock’s introduction to Absys 1 of 1969, and Elcock’s retrospective of 1990, read from its page scans. An equation between two unknowns is not solved but suspended until one of them is known; an or splits the computation into derivations that are all pursued, fairly, until each fails or hibernates; and each assertion is accepted as it is typed. Run on the papers’ own examples, the reconstruction gives every result they print, the binding environments of the append and reverse examples variable for variable and Absys 1’s three triples in the paper’s order, and the expected answers for Clark’s students and for setdiff, whose results the paper does not print. Run on inputs chosen here, setdiff gives the right answer if each applied body takes the place of its literal, or if not waits for its variables; taking literals strictly in turn without such a delay, one fair rule among several, gives the wrong one. A paper of 1982, found after version 1.0 of this note, prints Absys’s list of relations awaiting elaboration step by step; the reconstruction prints every list it shows once two of its rules follow the paper, one of them against the paper’s own word “appended”. That settles the order only if the lists were copied from a run. Run on SWI-Prolog, the same programs give the same answers where both answer, and Absys’s session, assertions fed one at a time into one open computation, can be rebuilt there from engines and coroutines, with a layer written here to make a procedure applied before its definition wait.","authors":["Chris Hay"],"url":"https://chrishayuk.com/records/N-ABSYS/1.3","published":"2026-11-26","revised":"2026-11-27","publication":"published","scientificStatus":"OPEN","supersededBy":[],"hash":"d87b64840089323ae61243d4e91ef0c7dacca486e1d3d8e0e220ee2c13bfdfe4","algorithm":"sha256","revision":{"kind":"clarification","summary":"Removed the statements about how the work was done; nothing about the results changed","previous":"1.2"},"display":{"kind":"clarification","summary":"Removed the statements about how the work was done; nothing about the results changed"},"previous":"https://chrishayuk.com/records/N-ABSYS/1.2","sources":[{"title":"E. W. Elcock, “Absys: the first logic programming language — a retrospective and a commentary”, Journal of Logic Programming 9(1), 1990, pp. 1–17","url":"https://doi.org/10.1016/0743-1066(90)90030-9","note":"Read in full from the page scans of the Elsevier open archive. Every program and binding environment quoted was read from the images; the OCR garbles them."},{"title":"J. M. Foster and E. W. Elcock, “Absys 1: an incremental compiler for assertions; an introduction”, Machine Intelligence 4, Edinburgh University Press, 1969, from p. 423","url":"https://archive.org/details/machineintellige0004unse","note":"Read only from the OCR extracts of most of its sections quoted on HOPL; the scan is on archive.org for lending only."},{"title":"E. W. Elcock, “Goal selection strategies in Horn clause programming”, Proceedings of the Fourth Biennial Conference of the CSCSI/SCEIO, Saskatoon, 1982, pp. 121–124","url":"https://www.caiac.ca/sites/default/files/shared/canai-archives/1982_CSCSI_Proceedings-opt.pdf","note":"Read in full from the page scans of the proceedings (PDF pp. 129–132). Found after version 1.0 of this note; its list of relations is now an acceptance test."},{"title":"J. M. Foster, “Assertions: programs written without specifying unnecessary order”, Machine Intelligence 3, Edinburgh University Press, 1968, pp. 387–391","url":"https://archive.org/details/mi3_20200519","note":"Read in full. A design paper; the system it describes was then “partly implemented on an Elliott 4120”. Its “pass sets” are the rule for arithmetic here."},{"title":"chrishayuk/absys","url":"https://github.com/chrishayuk/absys","note":"The interpreter, both notations, the published results as tests, every decision with its evidence, the experiments, a tutorial, a language server and editor extension, and the playground."},{"title":"Reconstruction, 25 November 2026","note":"The interpreter, the transcriptions and the comparisons. Every result in this note can be rerun on the interactive study or with cargo test in the repository."}],"manuscript":"https://chrishayuk.com/api/record/N-ABSYS?version=1.3","citations":"https://chrishayuk.com/api/citations/N-ABSYS?version=1.3"}]}