Evaluation and containment reduce to each other
Lax420092.EvaluationContainmentReductions · concepts/Lax420092/EvaluationContainmentReductions.lean · lax-420092
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Containment reduces to evaluation by a first-order reduction, the Chandra–Merlin theorem in reduction form, and evaluation reduces to containment by a first-order reduction, a database being a conjunctive query without variables.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax904597.Problems |
| 2 | import Lax904597.Interpretations |
| 3 | import Lax904597.Classes |
| 4 | import Lax799700.Problems |
| 5 | import Lax420092.QueryDatabases |
| 6 | import Lax420092.Evaluation |
| 7 | import Lax420092.QueryPairs |
| 8 | import Lax420092.PackagedInstances |
| 9 | |
| 10 | /-! |
| 11 | --- |
| 12 | title: Evaluation and containment reduce to each other |
| 13 | type: theorem |
| 14 | --- |
| 15 | Containment reduces to evaluation by a first-order reduction, the Chandra–Merlin |
| 16 | theorem in reduction form, and evaluation reduces to containment by a |
| 17 | first-order reduction, a database being a conjunctive query without |
| 18 | variables. |
| 19 | -/ |
| 20 | |
| 21 | namespace Lax420092.EvaluationContainmentReductions |
| 22 | |
| 23 | open FirstOrder FirstOrder.Language |
| 24 | open Lax904597.Problems Lax904597.Interpretations Lax904597.Classes Lax799700.Problems |
| 25 | open Lax420092.QueryDatabases Lax420092.Evaluation Lax420092.QueryPairs Lax420092.PackagedInstances |
| 26 | |
| 27 | /-- Containment reduces to evaluation. -/ |
| 28 | axiom cqContainment_reduces_to_cqEval : Nonempty (FOReduction CQContainment CQEval) |
| 29 | |
| 30 | /-- Evaluation reduces to containment. -/ |
| 31 | axiom cqEval_reduces_to_cqContainment : Nonempty (FOReduction CQEval CQContainment) |
| 32 | |
| 33 | end Lax420092.EvaluationContainmentReductions |
| 34 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments