SCFirstOrderLogic 2.1.0-pre.2

This is a prerelease version of SCFirstOrderLogic.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SCFirstOrderLogic --version 2.1.0-pre.2                
NuGet\Install-Package SCFirstOrderLogic -Version 2.1.0-pre.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SCFirstOrderLogic" Version="2.1.0-pre.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SCFirstOrderLogic --version 2.1.0-pre.2                
#r "nuget: SCFirstOrderLogic, 2.1.0-pre.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SCFirstOrderLogic as a Cake Addin
#addin nuget:?package=SCFirstOrderLogic&version=2.1.0-pre.2&prerelease

// Install SCFirstOrderLogic as a Cake Tool
#tool nuget:?package=SCFirstOrderLogic&version=2.1.0-pre.2&prerelease                

SCFirstOrderLogic

Basic but fully functional and documented first-order logic implementations. Includes:

  • Implementations of both raw and CNF sentence representation. Multiple ways of instantiating raw sentences, including a language-integrated approach that allows (the domain to be modelled as an IEnumerable<T> and) sentences to be provided as lambda expressions.
  • Knowledge base implementations that, while using very simple versions of their respective algorithms, do expose properties for the retrieval of proof details.
  • Sentence formatting logic that allows for (customisable) unique labelling of standardised variables and Skolem functions across a set of sentences.

Created just for fun while reading chapters 8 and 9 of Artificial Intelligence: A Modern Approach (3rd Edition - ISBN 978-1292153964) - so may prove interesting to the C#-inclined reading the same book. The "official" C# repository for the book does of course cover these chapters, but given that what I've found there isn't (IMHO) very useful, here we are. The main goal here is for it to be a learning resource. As such, care has been taken to include decent XML documentation, functionality for explaining the results of queries, and explanatory inline comments in the source code where appropriate. For production scenarios, there are obviously other better inference engines out there - that generally use more powerful logics than first-order.

For usage guidance, please consult the user guide.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on SCFirstOrderLogic:

Package Downloads
SCClassicalPlanning

Basic classical planning implementations. Includes a simple model for planning problems, as well planners that implement state-space search, goal-space search, and GraphPlan.

SCFirstOrderLogic.Inference.Basic

Very basic knowledge base implementations that use the models defined by the SCFirstOrderLogic package.

SCFirstOrderLogic.ExampleDomains

A few simple first-order logic domains declared using the models found in the SCFirstOrderLogic package - for use in tests and demos.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.0 86 10/20/2024
7.0.0-pre.4 47 10/13/2024
7.0.0-pre.3 46 9/29/2024
7.0.0-pre.2 62 8/27/2024
7.0.0-pre.1 134 8/3/2024
6.0.0 183 7/7/2024
6.0.0-pre.3 47 7/7/2024
6.0.0-pre.2 50 7/6/2024
6.0.0-pre.1 158 6/9/2024
5.5.0 123 6/8/2024
5.4.0 116 5/26/2024
5.3.0 152 1/21/2024
5.2.0 163 12/22/2023
5.1.0 191 8/12/2023
5.0.0 182 7/23/2023
5.0.0-pre.3 103 7/22/2023
5.0.0-pre.2 93 7/16/2023
5.0.0-pre.1 91 7/9/2023
4.2.0 187 5/29/2023
4.1.2 231 4/1/2023
4.1.1 333 3/9/2023
4.1.0 231 3/6/2023
4.0.0 335 2/26/2023
4.0.0-pre.5 99 2/24/2023
4.0.0-pre.4 103 2/8/2023
4.0.0-pre.3 99 2/6/2023
4.0.0-pre.2 102 2/5/2023
4.0.0-pre.1 102 1/18/2023
3.1.4 434 1/11/2023
3.1.3 292 12/24/2022
3.1.2 463 11/14/2022
3.1.1 343 11/13/2022
3.1.0 363 11/13/2022
3.0.0 397 11/5/2022
3.0.0-pre.3 117 11/4/2022
3.0.0-pre.2 138 10/24/2022
3.0.0-pre.1 142 10/21/2022
2.1.3 586 10/9/2022
2.1.2 438 10/9/2022
2.1.1 402 10/5/2022
2.1.0 860 10/5/2022
2.1.0-pre.5 133 10/3/2022
2.1.0-pre.4 111 9/29/2022
2.1.0-pre.3 106 9/29/2022
2.1.0-pre.2 115 9/28/2022
2.1.0-pre.1 116 9/28/2022
2.0.0 419 9/26/2022
1.1.0 449 9/16/2022
1.0.2 448 9/12/2022
1.0.1 439 9/11/2022
1.0.0 432 9/7/2022
1.0.0-pre.1 118 9/7/2022