@@ -505,6 +505,21 @@ def _integral_homology(
505505 "facets" : [["a" , "b" ], ["b" , "c" ], ["a" , "c" ]],
506506}
507507
508+ _CANONICAL_CIRCLE = {
509+ "vertices" : ["a" , "b" , "c" ],
510+ "maximal_simplices" : [["a" , "b" ], ["a" , "c" ], ["b" , "c" ]],
511+ "faces_by_dimension" : [
512+ {"dimension" : 0 , "faces" : [["a" ], ["b" ], ["c" ]]},
513+ {"dimension" : 1 , "faces" : [["a" , "b" ], ["a" , "c" ], ["b" , "c" ]]},
514+ ],
515+ "dimension" : 1 ,
516+ "f_vector" : [3 , 3 ],
517+ "closure_size" : 6 ,
518+ "complex_digest" : (
519+ "sha256:6f797991bac967e2a8e572707df487061655df0f094cbde0f52f82c5401fc043"
520+ ),
521+ }
522+
508523type TopologyOperation = (
509524 InstalledOperation [
510525 SimplicialComplexRequest , SimplicialComplexCanonicalizationResult
@@ -566,6 +581,17 @@ def _integral_homology(
566581 "boundary-matrix" ,
567582 "exact" ,
568583 ),
584+ invocation_examples = (
585+ example (
586+ "circle_integer_chain_complex" ,
587+ "Construct the oriented integer boundary matrices of a circle." ,
588+ {
589+ "complex" : _CANONICAL_CIRCLE ,
590+ "coefficient_ring" : "INTEGER" ,
591+ "convention" : "UNREDUCED" ,
592+ },
593+ ),
594+ ),
569595 version = "4" ,
570596 )
571597 ),
@@ -588,6 +614,17 @@ def _integral_homology(
588614 "prime-field" ,
589615 "exact" ,
590616 ),
617+ invocation_examples = (
618+ example (
619+ "circle_homology_mod_two" ,
620+ "Compute H_0 and H_1 over F_2 for a triangle boundary." ,
621+ {
622+ "complex" : _CANONICAL_CIRCLE ,
623+ "prime" : 2 ,
624+ "convention" : "UNREDUCED" ,
625+ },
626+ ),
627+ ),
591628 version = "4" ,
592629 )
593630 ),
0 commit comments