Loading Lion artifact…
Inspect Lion Program Source (JSON)
[
"begin",
[
"relation",
"rnode",
[
"id",
"label",
"kind",
"summary",
"tone"
],
{
"certified": true,
"description": "Research graph entities: hypotheses, sources, probes, and syntheses",
"key": [
"id"
]
}
],
[
"relation",
"citation",
[
"from",
"to",
"stance",
"tone"
],
{
"certified": true,
"references": {
"from": [
"rnode",
"id"
],
"to": [
"rnode",
"id"
]
}
}
],
[
"relation",
"finding",
[
"id",
"hypothesis",
"source",
"stance",
"quote"
],
{
"key": [
"id"
]
}
],
[
"relation",
"ui_state",
[
"k",
"v"
],
{
"key": [
"k"
]
}
],
[
"fact",
[
"rnode",
"src_z3",
"De Moura & Bjorner 2008",
"paper",
"Trigger-guided E-matching scales quantified axioms over large congruence graphs.",
"ok"
],
[
"rnode",
"probe_1",
"Probe: Array + Forall",
"probe",
"Empirical Lion probe: 0.4ms UNSAT with kernel-verified forall-inst certificate.",
"ok"
],
[
"rnode",
"probe_2",
"Probe: Triggerless Loop",
"probe",
"Unconstrained domain instantiation exploded to 128 rounds when triggers were absent.",
"warn"
],
[
"rnode",
"hyp_ematch",
"H1: E-Matching Safe",
"hypothesis",
"Trigger-guided E-matching is safe and fast for zero-I/O in-browser SMT proofs.",
"accent"
],
[
"rnode",
"synth_1",
"Synthesis: Gated Fallback",
"synthesis",
"Gate domain fallback strictly to triggerless single-variable axioms; keep triggers deterministic.",
"ok"
],
[
"citation",
"src_z3",
"hyp_ematch",
"supports",
"ok"
],
[
"citation",
"probe_1",
"hyp_ematch",
"supports",
"ok"
],
[
"citation",
"probe_2",
"hyp_ematch",
"refutes",
"warn"
],
[
"citation",
"hyp_ematch",
"synth_1",
"refined_into",
"ok"
],
[
"finding",
"f1",
"hyp_ematch",
"src_z3",
"supports",
"De Moura & Bjorner (2008): multi-trigger E-matching bounds instantiation growth."
],
[
"finding",
"f2",
"hyp_ematch",
"probe_1",
"supports",
"Lion probe_1: verified QF_AUFLIA + forall involution in 0.4 ms."
],
[
"finding",
"f3",
"hyp_ematch",
"probe_2",
"refutes",
"Lion probe_2: naive fallback loops when unrelated forall has zero ground trigger matches."
],
[
"ui_state",
"selected",
"hyp_ematch"
],
[
"ui_state",
"accepted",
false
]
],
[
"relation",
"disputed",
[
"hyp"
]
],
[
"rule",
[
"disputed",
"?h"
],
[
"finding",
"?_id1",
"?h",
"?_s1",
"supports",
"?_q1"
],
[
"finding",
"?_id2",
"?h",
"?_s2",
"refutes",
"?_q2"
]
],
[
"define",
"view",
[
"lambda",
[],
[
"begin",
[
"define",
"sel",
[
"array/head",
[
"find",
"?v",
[
"ui_state",
"selected",
"?v"
]
]
]
],
[
"define",
"is_accepted",
[
"array/head",
[
"find",
"?v",
[
"ui_state",
"accepted",
"?v"
]
]
]
],
[
"define",
"open_disputes",
[
"cond",
[
"is_accepted",
[
"quote",
[]
]
],
[
"else",
[
"find",
"?h",
[
"disputed",
"?h"
]
]
]
]
],
[
"define",
"nodes",
[
"find",
{
"group": "?k",
"id": "?id",
"label": "?l",
"subtitle": "?k",
"tone": [
"cond",
[
[
"boolean/and",
"is_accepted",
[
"=",
"?id",
"synth_1"
]
],
"ok"
],
[
[
"boolean/and",
[
"boolean/not",
"is_accepted"
],
[
"=",
"?id",
"hyp_ematch"
]
],
"warn"
],
[
"else",
"?t"
]
]
},
[
"rnode",
"?id",
"?l",
"?k",
"?_s",
"?t"
]
]
],
[
"define",
"edges",
[
"find",
{
"from": "?a",
"label": "?st",
"to": "?b",
"tone": "?t"
},
[
"citation",
"?a",
"?b",
"?st",
"?t"
]
]
],
[
"define",
"sel_info",
[
"array/head",
[
"find",
{
"kind": "?k",
"label": "?l",
"summary": "?s"
},
[
"rnode",
"sel",
"?l",
"?k",
"?s",
"?_t"
]
]
]
],
[
"define",
"evidence_rows",
[
"find",
{
"id": "?src",
"quote": "?q",
"source": "?src",
"stance": "?st"
},
[
"finding",
"?_fid",
"hyp_ematch",
"?src",
"?st",
"?q"
]
]
],
[
"define",
"why_disp",
[
"why",
[
"disputed",
"hyp_ematch"
]
]
],
[
"ui/stack",
{
"gap": "lg"
},
[
"ui/hero",
{
"badges": [
"quote",
[
{
"label": "Research Graph",
"tone": "accent"
},
{
"label": "Empirical Probes",
"tone": "ok"
},
{
"label": "Human-in-the-Loop Review",
"tone": "warn"
}
]
],
"eyebrow": "Omnigraph Blueprint 04 · Research Synthesis",
"subtitle": "Track hypotheses, papers, and runnable probes in one evidence graph. Lion derives disputed hypotheses automatically until a human reviewer approves a synthesis.",
"title": "Research Evidence & Contradiction Graph"
}
],
[
"ui/grid",
{
"cols": 3,
"gap": "md"
},
[
"ui/metric",
{
"caption": "2 supporting, 1 refuting probe",
"label": "Evidence Citations",
"value": [
"array/length",
"evidence_rows"
]
}
],
[
"ui/metric",
{
"caption": [
"cond",
[
"is_accepted",
"Resolved by Synthesis #1"
],
[
"else",
"Supporting & refuting evidence clash"
]
],
"label": "Disputed Hypotheses",
"tone": [
"cond",
[
"is_accepted",
"ok"
],
[
"else",
"warn"
]
],
"value": [
"array/length",
"open_disputes"
]
}
],
[
"ui/metric",
{
"caption": "Human-in-the-loop sign-off state",
"label": "Synthesis Gate",
"tone": [
"cond",
[
"is_accepted",
"ok"
],
[
"else",
"accent"
]
],
"value": [
"cond",
[
"is_accepted",
"Approved"
],
[
"else",
"In Review"
]
]
}
]
],
[
"ui/section",
{
"badge": [
"cond",
[
"is_accepted",
"Review Approved"
],
[
"else",
"Needs Human Review"
]
],
"step": "01",
"subtitle": "Click any paper, probe, or hypothesis node to trace how evidence flows into Synthesis #1. Toggle reviewer approval to close the open dispute.",
"title": "Evidence Flow & Review Gate",
"tone": [
"cond",
[
"is_accepted",
"ok"
],
[
"else",
"warn"
]
]
},
[
"ui/card",
[
"ui/toggle",
{
"checked": "is_accepted",
"label": "Reviewer Sign-Off: Approve Synthesis #1 (gate fallback strictly to triggerless 1-var axioms)",
"onChange": [
"quote",
[
"fact",
[
"ui_state",
"accepted",
"value"
]
]
]
}
]
],
[
"cond",
[
"is_accepted",
[
"ui/alert",
{
"title": "Dispute Resolved by Synthesis #1",
"tone": "ok"
},
"Both probe_1 and probe_2 are reconciled: trigger-guided E-matching handles quantified axioms while guarding against triggerless loops."
]
],
[
"else",
[
"ui/alert",
{
"title": "Hypothesis H1 is Disputed (Derived by Datalog)",
"tone": "warn"
},
"Probe_1 supports H1 while Probe_2 refutes unconstrained fallback. Review the cited quotes below and toggle Reviewer Sign-Off when satisfied."
]
]
],
[
"ui/graph",
{
"edges": "edges",
"height": 230,
"layout": "layered",
"nodes": "nodes",
"onSelect": [
"quote",
[
"fact",
[
"ui_state",
"selected",
"value"
]
]
],
"selected": "sel",
"title": "Citation & Probe Dependency Graph"
}
]
],
[
"ui/section",
{
"step": "02",
"subtitle": "Inspect the focused node's summary alongside the exact verbatim quotes supporting or refuting Hypothesis H1.",
"title": "Focused Node & Verbatim Evidence"
},
[
"ui/split",
{
"gap": "md",
"ratio": "2:3"
},
[
"ui/card",
{
"subtitle": [
"object/get",
"sel_info",
"summary"
],
"title": [
"object/get",
"sel_info",
"label"
]
},
[
"ui/kv",
{
"columns": 2,
"items": [
"array/make",
{
"label": "Node ID",
"mono": true,
"value": "sel"
},
{
"label": "Type",
"value": [
"object/get",
"sel_info",
"kind"
]
}
]
}
]
],
[
"ui/table",
{
"columns": [
"quote",
[
{
"key": "source",
"label": "Source Node"
},
{
"key": "stance",
"label": "Stance"
},
{
"key": "quote",
"label": "Evidence Quote"
}
]
],
"onSelect": [
"quote",
[
"fact",
[
"ui_state",
"selected",
"value"
]
]
],
"rowKey": "id",
"rows": "evidence_rows",
"selected": "sel",
"title": "Cited Evidence for H1 (click row to focus source in graph)"
}
]
]
],
[
"ui/section",
{
"step": "03",
"subtitle": "Audit the exact Datalog proof that marked H1 as disputed.",
"title": "Dispute Provenance"
},
[
"ui/accordion",
{
"badge": "why(disputed)",
"open": false,
"subtitle": "Derived from opposing supports + refutes facts",
"title": "Inspect why(disputed(hyp_ematch))"
},
[
"ui/why",
{
"title": "Dispute Derivation"
},
"why_disp"
]
]
]
]
]
],
{
"persist": true
}
],
[
"view"
]
]