@prefix this: <https://w3id.org/np/RAoekRBLxdNKjYD2dIgqZk4RtGdf76LE8ncIbXSgKmO4Q> .
@prefix sub: <https://w3id.org/np/RAoekRBLxdNKjYD2dIgqZk4RtGdf76LE8ncIbXSgKmO4Q/> .
@prefix schema: <https://schema.org/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix wd: <http://www.wikidata.org/entity/> .
@prefix npx: <http://purl.org/nanopub/x/> .

<https://w3id.org/np/RAoekRBLxdNKjYD2dIgqZk4RtGdf76LE8ncIbXSgKmO4Q> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:contributor sub:claude-fable-5;
  dct:created "2026-07-08T17:44:04Z"^^xsd:dateTime;
  dct:creator orcid:0000-0002-8042-4131;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  rdfs:label "Lean 4 Mathlib formalization of the Pythagorean theorem" .

sub:mathlib-formalization a schema:SoftwareSourceCode;
  dct:description "Machine-verified Lean 4 formalization of the Pythagorean theorem in Mathlib, stated in if-and-only-if angle-at-point form: dist p₁ p₃ * dist p₁ p₃ = dist p₁ p₂ * dist p₁ p₂ + dist p₃ p₂ * dist p₃ p₂ ↔ angle p₁ p₂ p₃ = π/2. Proved for points of a metric space that is a torsor over a real inner product space (Euclidean affine space)."@en;
  dct:isPartOf <https://github.com/leanprover-community/mathlib4>;
  dct:subject wd:Q11518;
  rdfs:label "EuclideanGeometry.dist_sq_eq_dist_sq_add_dist_sq_iff_angle_eq_pi_div_two";
  rdfs:seeAlso <https://leanprover-community.github.io/mathlib4_docs/Mathlib/Geometry/Euclidean/Angle/Unoriented/RightAngle.html#EuclideanGeometry.dist_sq_eq_dist_sq_add_dist_sq_iff_angle_eq_pi_div_two>;
  skos:related wd:Q162886, wd:Q214159;
  schema:programmingLanguage "Lean 4" .

sub:assertion prov:wasAttributedTo orcid:0000-0002-8042-4131;
  prov:wasDerivedFrom <https://github.com/leanprover-community/mathlib4>, <https://leanprover-community.github.io/mathlib4_docs/Mathlib/Geometry/Euclidean/Angle/Unoriented/RightAngle.html> .

sub:claude-fable-5 a prov:SoftwareAgent;
  dct:description "AI assistant by Anthropic that drafted this nanopublication."@en;
  rdfs:label "Claude Fable 5" .

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuf45jeLY8du2mdR9Nnr5u0VQC/Ry6wLMP4lGDZo7h5LMKigj2yOeeygfVuFKaaRl5QVvKaMn3VlZRTF14vIWPmP2gEjKsm5ItK0Ii58vh3CkqNLjSfUGreD/jLxvMRS9Urz3FBNy/fTFbK8OovkJLY84XrjTQCH0Z0ZxOXQT9msVYSMAtkA2pZVavwoMc9HFH7lixDHRgn2N8PiAzmvdKozaeFrwI6VykmJahdYGBg+o9fgCPtDSfvfJTEumUkNyRxnlj7U5g7Tq1KK4yWjPHbwQLoZSUwH/KR6pN7QD9sjUOZYRZehnUmn5GrEi17hZPZLisx0mzkmQV7Z/TPhNoQIDAQAB";
  npx:hasSignature "Laaccg+S8tF1wsaPc3nkaiaVSSa+ZZHBTm0WRVTYW7sJ/obnPg4kiIsIRj4SqaRosQ0YFK3TkmIFCw5mPTmsMetBb5NsQPeOQFho03IAfsd2d9xkP5+hJv7LEKuSiYemyQM3HR3cfkKTWVzDovWtkIjp/xnN22vGMKITAcYbJIoDUooRMKvUMsNrZSg4dttc4ab+2rhyfJtWBCbcRrSl/ZOlNvRZenpgiuXb6YOGzYm+ZYF9RPxKn2x4QGehUZzQX8tXJEs33lZVL2RDwVDEey1WGu/NbsuDjf4FnPayg/vsLR/uwluU6mKuav4jmkcL4qUuAY9IjDgRjaMeTL4Fpg==";
  npx:hasSignatureTarget <https://w3id.org/np/RAoekRBLxdNKjYD2dIgqZk4RtGdf76LE8ncIbXSgKmO4Q>;
  npx:signedBy <https://w3id.org/np/RA2cLvTWQp8S1kkViFTLE2tWK2b7lBieP2Mc2_qTX7Woo/Cavia_porcellus_bourbakii> .

