Y
HN HRCB new | past | comments | ask | show | jobs | articles | domains | dashboard | seldon | network | factions | velocity | about hrcb
home / www.lix.polytechnique.fr / item 47095266
+0.30 ΛProlog: Logic programming in higher-order logic (www.lix.polytechnique.fr)
149 points by ux266478 4 days ago | 36 comments on HN | Mild positive Human Rights · vv3.4 · 2026-02-25
Article Heatmap
Preamble: +0.35 — Preamble P Article 1: ND — Freedom, Equality, Brotherhood Article 1: No Data — Freedom, Equality, Brotherhood 1 Article 2: +0.30 — Non-Discrimination 2 Article 3: ND — Life, Liberty, Security Article 3: No Data — Life, Liberty, Security 3 Article 4: ND — No Slavery Article 4: No Data — No Slavery 4 Article 5: ND — No Torture Article 5: No Data — No Torture 5 Article 6: ND — Legal Personhood Article 6: No Data — Legal Personhood 6 Article 7: ND — Equality Before Law Article 7: No Data — Equality Before Law 7 Article 8: ND — Right to Remedy Article 8: No Data — Right to Remedy 8 Article 9: ND — No Arbitrary Detention Article 9: No Data — No Arbitrary Detention 9 Article 10: ND — Fair Hearing Article 10: No Data — Fair Hearing 10 Article 11: ND — Presumption of Innocence Article 11: No Data — Presumption of Innocence 11 Article 12: -0.35 — Privacy 12 Article 13: ND — Freedom of Movement Article 13: No Data — Freedom of Movement 13 Article 14: ND — Asylum Article 14: No Data — Asylum 14 Article 15: ND — Nationality Article 15: No Data — Nationality 15 Article 16: ND — Marriage & Family Article 16: No Data — Marriage & Family 16 Article 17: ND — Property Article 17: No Data — Property 17 Article 18: ND — Freedom of Thought Article 18: No Data — Freedom of Thought 18 Article 19: +0.50 — Freedom of Expression 19 Article 20: ND — Assembly & Association Article 20: No Data — Assembly & Association 20 Article 21: ND — Political Participation Article 21: No Data — Political Participation 21 Article 22: ND — Social Security Article 22: No Data — Social Security 22 Article 23: ND — Work & Equal Pay Article 23: No Data — Work & Equal Pay 23 Article 24: ND — Rest & Leisure Article 24: No Data — Rest & Leisure 24 Article 25: ND — Standard of Living Article 25: No Data — Standard of Living 25 Article 26: +0.60 — Education 26 Article 27: +0.45 — Cultural Participation 27 Article 28: +0.30 — Social & International Order 28 Article 29: +0.15 — Duties to Community 29 Article 30: ND — No Destruction of Rights Article 30: No Data — No Destruction of Rights 30
Negative Neutral Positive No Data
Aggregates
Weighted Mean +0.30 Unweighted Mean +0.29
Max +0.60 Article 26 Min -0.35 Article 12
Signal 8 No Data 23
Confidence 18% Volatility 0.27 (Medium)
Negative 1 Channels E: 0.5 S: 0.5
SETL +0.10 Editorial-dominant
Evidence: High: 4 Medium: 2 Low: 2 No Data: 23
Theme Radar
Foundation Security Legal Privacy & Movement Personal Expression Economic & Social Cultural Order & Duties Foundation: 0.32 (2 articles) Security: 0.00 (0 articles) Legal: 0.00 (0 articles) Privacy & Movement: -0.35 (1 articles) Personal: 0.00 (0 articles) Expression: 0.50 (1 articles) Economic & Social: 0.00 (0 articles) Cultural: 0.53 (2 articles) Order & Duties: 0.22 (2 articles)
Domain Context Profile
Element Modifier Affects Note
Privacy -0.05
Article 12
Google Analytics tracking (G-7BLXF7TK0D) present without explicit user consent mechanism visible on page
Terms of Service
No Terms of Service observable on this URL
Accessibility +0.05
Article 2 Article 26
Academic institution domain; basic semantic HTML structure supports accessibility
Mission +0.10
Article 26 Article 27
Educational/research institution promoting knowledge and programming language accessibility
Editorial Code
No observable editorial code of conduct
Ownership +0.05
Article 19
Polytechnique Paris academic institution; transparent authorship (Dale Miller lab)
Access Model +0.10
Article 19 Article 26 Article 27
Open educational content; free access to language documentation and implementations
Ad/Tracking -0.05
Article 12
Google Analytics tracking observed; potential privacy consideration
HN Discussion 13 top-level · 0 replies
TheRoque 2026-02-24 12:35 UTC link
I remember learning it in univerisity. It's a really weird language to reason with IMO. But really fun. However I've heard the performances are not that good if you wanna make e.g. game AIs with it.
yodsanklai 2026-02-24 13:01 UTC link
I'm curious to see how AI is going to reshape research in programming languages. Statically typed languages with expressive type systems should be even more relevant for instance.
upghost 2026-02-24 13:27 UTC link
I'm surprised how hard I had to dig for an actual example of syntax[1], so here you go.

[1]: https://www.lix.polytechnique.fr/~dale/lProlog/proghol/extra...

Antibabelic 2026-02-24 13:31 UTC link
There is a great overview of λProlog from 1988: https://repository.upenn.edu/bitstreams/e91f803b-8e75-4f3c-9...
polairscience 2026-02-24 13:38 UTC link
I think that might be my favorite department/lab website I've ever come across. Really fun. Doesn't at all align with the contemporary design status quo and it shows just how good a rich website can be on a large screen. Big fan.

https://www.lix.polytechnique.fr/

boxfire 2026-02-24 15:26 UTC link
I am a huge fan of the work towards putting this in kanren as λKanren:

https://www.proquest.com/openview/2a5f2e00e8df7ea3f1fd3e8619...

A few of my own experiments in this time with unification over the binders as variables themselves shows there’s almost always a post HM inference sitting there but likely not one that works in total generality.

To me that spot of trying to binding unification in higher order logic constraint equations is the most challenging and interesting problem since it’s almost always decidable or decidably undecidable in specific instances, but provably undecidable in general.

So what gives? Where is this boundary and does it give a clue to bigger gains in higher order unification? Is a more topological approach sitting just behind the veil for a much wider class of higher order inference?

And what of optimal sharing in the presence of backtracking? Lampings algorithm when the unification variables is in the binder has to have purely binding attached path contexts like closures. How does that get shared?

Fun to poke at, maybe just enough modern interest in logic programming to get there too…

big-chungus4 2026-02-24 16:36 UTC link
(1987)
big-chungus4 2026-02-24 16:37 UTC link
when I downloaded the example programs, they open up in my music player but don't play anything
poppingtonic 2026-02-24 17:50 UTC link
Learning how to implement Prolog in pg's On Lisp was a fun way to spend multiple weeks programming. Doing this again this year should be a lot of fun.
abathologist 2026-02-24 17:55 UTC link
I did a few days of AoC in 2020 in λProlog (as a non-expert in the language), using the Elpi implementation. It provides a decent source of relatively digestable toy examples: https://github.com/shonfeder/aoc-2020

(Caveat that I don't claim to be a λProlog or expert.)

All examples showcase the typing discipline that is novel relative to Prolog, and towards day 10, use of the lambda binders, hereditary harrop formulas, and higher order niceness shows up.

llsf 2026-02-24 19:15 UTC link
Did some modest development on Lambda Prolog back in 1999. I still have a vivid memory of feeling my brain expanding :) like rewiring how I approach programming and opening up new territory in my brain.

It might sound weird and crazy, but it quite literally blew my mind at the time !

TZubiri 2026-02-24 21:22 UTC link
Anyone know why there seems to be a Prolog renaissance?

I personally found it by asking for a specific language recommendation from ChatGPT, and one of the suggestions was Prolog.

011101101 2026-02-24 23:14 UTC link
λProlog, the Simple Theory of Types (1940) Church, A.
Score Breakdown
+0.35
Preamble Preamble
Medium A: Knowledge dissemination F: Academic/educational framing
Editorial
+0.30
Structural
+0.20
SETL
+0.17
Combined
ND
Context Modifier
ND

Implicit promotion of human dignity through knowledge access and intellectual development; educational content framing supports universal human advancement principles

ND
Article 1 Freedom, Equality, Brotherhood

No observable content addressing equality or reasoning capacity distinctions

+0.30
Article 2 Non-Discrimination
Medium P: Accessible academic platform F: Inclusive knowledge sharing
Editorial
+0.20
Structural
+0.30
SETL
-0.17
Combined
ND
Context Modifier
ND

Open access to educational materials without apparent discrimination; accessible HTML structure supports non-discrimination in access to knowledge

ND
Article 3 Life, Liberty, Security

No observable content addressing right to life, liberty, or personal security

ND
Article 4 No Slavery

No observable content addressing slavery or servitude

ND
Article 5 No Torture

No observable content addressing torture or cruel treatment

ND
Article 6 Legal Personhood

No observable content addressing legal personality

ND
Article 7 Equality Before Law

No observable content addressing equality before law

ND
Article 8 Right to Remedy

No observable content addressing legal remedies

ND
Article 9 No Arbitrary Detention

No observable content addressing arbitrary arrest or detention

ND
Article 10 Fair Hearing

No observable content addressing fair trial

ND
Article 11 Presumption of Innocence

No observable content addressing criminal law protections

-0.35
Article 12 Privacy
High P: Tracking implementation F: Privacy concern
Editorial
-0.20
Structural
-0.30
SETL
+0.17
Combined
ND
Context Modifier
ND

Google Analytics tracking (G-7BLXF7TK0D) implemented without visible consent mechanism; directly observable tracking code in page source; negative for Article 12 privacy rights

ND
Article 13 Freedom of Movement

No observable content addressing freedom of movement

ND
Article 14 Asylum

No observable content addressing asylum

ND
Article 15 Nationality

No observable content addressing nationality

ND
Article 16 Marriage & Family

No observable content addressing marriage or family

ND
Article 17 Property

No observable content addressing property rights

ND
Article 18 Freedom of Thought

No observable content addressing freedom of conscience or religion

+0.50
Article 19 Freedom of Expression
High P: Open access to information A: Knowledge dissemination F: Transparent academic authorship
Editorial
+0.40
Structural
+0.30
SETL
+0.20
Combined
ND
Context Modifier
ND

Free access to comprehensive documentation, tutorials, and code examples; transparent attribution (Dale Miller lab, Polytechnique Paris); promotes freedom of expression and information access through open educational resources

ND
Article 20 Assembly & Association

No observable content addressing freedom of assembly or association

ND
Article 21 Political Participation

No observable content addressing political participation

ND
Article 22 Social Security

No observable content addressing social security

ND
Article 23 Work & Equal Pay

No observable content addressing work or employment rights

ND
Article 24 Rest & Leisure

No observable content addressing rest or leisure

ND
Article 25 Standard of Living

No observable content addressing healthcare or standard of living

+0.60
Article 26 Education
High P: Free educational access A: Knowledge democratization F: Supports intellectual development
Editorial
+0.50
Structural
+0.40
SETL
+0.22
Combined
ND
Context Modifier
ND

Comprehensive free access to educational materials, tutorials, and documentation on logic programming and higher-order logic; supports right to education and intellectual development; accessible implementation of complex theory; academic institution promoting universal education

+0.45
Article 27 Cultural Participation
High P: Accessible research outputs F: Democratization of technical knowledge A: Open source and documentation
Editorial
+0.40
Structural
+0.30
SETL
+0.20
Combined
ND
Context Modifier
ND

Free access to research outcomes, implementations, and technical documentation; supports participation in scientific and cultural life; open-source implementations (ELPI, Teyjus, Makam, Abella) and educational materials promote shared cultural and intellectual heritage

+0.30
Article 28 Social & International Order
Low F: Institutional social order framework
Editorial
+0.20
Structural
+0.20
SETL
0.00
Combined
ND
Context Modifier
ND

Academic institution (Polytechnique Paris) operates within established educational and research social order; content itself implicitly supports intellectual and social structures enabling human development

+0.15
Article 29 Duties to Community
Low F: Educational responsibility framework
Editorial
+0.10
Structural
+0.10
SETL
0.00
Combined
ND
Context Modifier
ND

Content implicitly promotes intellectual development and understanding; academic framing suggests commitment to reasoned discourse; no observable restrictions on access

ND
Article 30 No Destruction of Rights

No observable content addressing UDHR rights themselves or restrictions thereof

About HRCB | By Right | HN Guidelines | HN FAQ | Source | UDHR | RSS
build f581ea9+b3nz · 2026-02-25 03:04 UTC