The values of #DNF
Lax859101.DnfValues · concepts/Lax859101/DnfValues.lean · lax-859101
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
The number counted by #DNF is invariant under isomorphism of instances, so the value of the problem on an instance is the number it counts.
Concept map
Evidence
Lean source view on GitHub
| 1 | import Lax904597.Problems |
| 2 | import Lax904597.Sat |
| 3 | import Mathlib.ModelTheory.Graph |
| 4 | import Lax799700.SetFamily |
| 5 | import Lax366625.CountingProblems |
| 6 | import Lax366625.CountingClasses |
| 7 | import Lax366625.WitnessCounting |
| 8 | import Lax366625.CountingSat |
| 9 | import Lax859101.OneCallReductions |
| 10 | import Lax859101.SubtractiveReductions |
| 11 | import Lax859101.CountingDnf |
| 12 | import Lax859101.CountingNaeSat |
| 13 | import Lax859101.CountingRestrictedSat |
| 14 | import Lax859101.CountingAllSets |
| 15 | import Lax859101.CountingBipartite |
| 16 | |
| 17 | /-! |
| 18 | --- |
| 19 | title: The values of #DNF |
| 20 | type: lemma |
| 21 | --- |
| 22 | The number counted by #DNF is invariant under isomorphism of instances, so |
| 23 | the value of the problem on an instance is the number it counts. |
| 24 | -/ |
| 25 | |
| 26 | namespace Lax859101.DnfValues |
| 27 | |
| 28 | open FirstOrder FirstOrder.Language FirstOrder.Language.Structure |
| 29 | open Lax904597.Problems Lax904597.Sat Lax799700.SetFamily |
| 30 | open Lax366625.CountingProblems Lax366625.CountingClasses Lax366625.WitnessCounting |
| 31 | Lax366625.CountingSat |
| 32 | open Lax859101.OneCallReductions Lax859101.SubtractiveReductions Lax859101.CountingDnf |
| 33 | Lax859101.CountingNaeSat Lax859101.CountingRestrictedSat Lax859101.CountingAllSets |
| 34 | Lax859101.CountingBipartite |
| 35 | |
| 36 | /-- The number counted by #DNF is isomorphism-invariant. -/ |
| 37 | axiom sharpDnf_count_iso : |
| 38 | ∀ {A B : Type} [Lax904597.Sat.sat.Structure A] [Lax904597.Sat.sat.Structure B], |
| 39 | (A ≃[Lax904597.Sat.sat] B) → Nat.card {ν : A → Prop // DnfModel A ν} = Nat.card |
| 40 | {ν : B → Prop // DnfModel B ν} |
| 41 | |
| 42 | /-- The value of #DNF is the number it counts. -/ |
| 43 | axiom sharpDnf_eq : |
| 44 | ∀ (A : Type) [Lax904597.Sat.sat.Structure A], SharpDNF A = Nat.card {ν : A → Prop // DnfModel A ν} |
| 45 | |
| 46 | end Lax859101.DnfValues |
| 47 |
Builds on
Lax366625.CountingClassesLax366625.CountingProblemsLax366625.CountingSatLax366625.WitnessCountingLax799700.SetFamilyLax859101.CountingAllSetsLax859101.CountingBipartiteLax859101.CountingDnfLax859101.CountingNaeSatLax859101.CountingRestrictedSatLax859101.OneCallReductionsLax859101.SubtractiveReductionsLax904597.ProblemsLax904597.Sat
Used by
none
From Mathlib
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments