EveryDev.ai
Subscribe
Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • Communities
  • Users
  • News
  • Podcasts
  • Blogs
  • Builds
  • Contests
  • Compare
  • Arena
  • Polls
Rate toolsCreate
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Users
    3. @alice200010021

    Posted by alice balice on Sep 21st 26 at 6:27 AM

    alice balice's avatar
    alice balice
    September 21, 2026
    Discuss (1)

    What is the best way to implement a knowledge graph containing hyperedge specifically for use in mathematics with a custom ontology that allows me to make any relation I want keeping it rigorous

    Comments (1)

    Join the discussion

    Sign in to share your thoughts

    Samir Haddad's avatar
    Samir Haddad3 days ago

    I'd start by making each relation instance its own node, with named links to its arguments. So f : A → B becomes a relation node connecting f, A and B, with roles like “function,” “domain” and “codomain.” You can represent a hyperedge that way in an ordinary graph database. W3C has a useful n-ary relation pattern for this.

    For your custom ontology, give each relation type a definition: which arguments it accepts, their types, whether order matters, and what assumptions apply. Otherwise “any relation I want” can get ambiguous pretty quickly, especially with variables and quantifiers.

    The bigger question is what you mean by rigorous. Checking that a relation has the right structure is one thing, checking that a mathematical claim follows from its assumptions is another. If you want checked proofs, I'd look at Lean and have the graph link to formal definitions and proofs. Keep conjectures, axioms and proved statements distinguishable too.

    Are you mainly trying to organize mathematical knowledge, or have the system verify deductions?