Herbie run

Date:Tuesday, April 15th, 2025
Commit:5565a39e on main
Seed:2025105
Parameters:256 points for 4 iterations
Flags:
reduce:regimesreduce:binary-searchreduce:branch-expressionssetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:proofs
default
Memory:76 637.0 MB

Time bar (total: 1.2min)

sample38.7s (54%)

Memory
546.6MiB live, 39 299.4MiB allocated; 10.7s collecting garbage
Samples
11.2s15 159×5exit
7.4s39 673×1valid
6.4s108 424×0valid
6.1s17 022×2valid
465.0ms3 737×0invalid
149.0ms1 090×1exit
104.0ms1 406×0exit
1.0ms4exit
0.0ms3valid
Precisions
Click to see histograms. Total time spent on operations: 25.0s
ival-exp: 3.5s (13.9% of total)
adjust: 3.4s (13.8% of total)
ival-pow: 2.8s (11.1% of total)
ival-cos: 2.5s (10% of total)
ival-log: 1.7s (7% of total)
ival-tan: 1.6s (6.4% of total)
ival-mult!: 1.5s (5.9% of total)
ival-sqrt: 1.4s (5.6% of total)
ival-sinh: 1.3s (5% of total)
ival-sin: 903.0ms (3.6% of total)
ival-fmod: 894.0ms (3.6% of total)
ival-div!: 804.0ms (3.2% of total)
ival-acos: 777.0ms (3.1% of total)
ival-pow2: 600.0ms (2.4% of total)
ival-sub!: 413.0ms (1.6% of total)
ival-add!: 383.0ms (1.5% of total)
ival-hypot: 196.0ms (0.8% of total)
ival-neg: 195.0ms (0.8% of total)
ival-<=: 63.0ms (0.3% of total)
ival-atan: 51.0ms (0.2% of total)
ival-and: 33.0ms (0.1% of total)
ival-or: 16.0ms (0.1% of total)
ival-assert: 4.0ms (0% of total)
ival->: 2.0ms (0% of total)
ival-<: 2.0ms (0% of total)
Bogosity

rewrite10.1s (14%)

Memory
452.3MiB live, 9 984.1MiB allocated; 2.2s collecting garbage
Stop Event
199×iter-limit
53×node-limit
17×unsound
saturated
Counts
8 257 → 19 072

regimes4.7s (6.5%)

Memory
76.7MiB live, 5 925.7MiB allocated; 828ms collecting garbage
Counts
3 733 → 213
Calls

53 calls:

743.0ms
x
480.0ms
a
300.0ms
r
294.0ms
b
222.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
Compiler

Compiled 1 850 to 2 108 computations (-13.9% saved)

derivations3.4s (4.7%)

Memory
-188.9MiB live, 2 511.1MiB allocated; 343ms collecting garbage
Stop Event
13×fuel
done
Compiler

Compiled 4 548 to 1 079 computations (76.3% saved)

eval2.9s (4%)

Memory
24.2MiB live, 3 967.5MiB allocated; 711ms collecting garbage
Compiler

Compiled 641 792 to 89 970 computations (86% saved)

series2.6s (3.6%)

Memory
25.4MiB live, 3 535.1MiB allocated; 500ms collecting garbage
Counts
1 608 → 6 649
Calls

399 calls:

TimeVariablePointExpression
59.0ms
x
@-inf
((log (/ (sinh x) x)) (* (* (+ (* (- (* 1/2835 (* x x)) 1/180) (* x x)) 1/6) x) x) (* (+ (* (- (* 1/2835 (* x x)) 1/180) (* x x)) 1/6) x) (+ (* (- (* 1/2835 (* x x)) 1/180) (* x x)) 1/6) (- (* 1/2835 (* x x)) 1/180) (* 1/2835 (* x x)) 1/2835 (* x x) x 1/180 1/6 (log (/ (sinh x) x)) (* (* x x) 1/6) (log (/ (sinh x) x)) (* (+ (* (- (* (* (+ (* -1/37800 (* x x)) 1/2835) x) x) 1/180) (* x x)) 1/6) (* x x)) (+ (* (- (* (* (+ (* -1/37800 (* x x)) 1/2835) x) x) 1/180) (* x x)) 1/6) (- (* (* (+ (* -1/37800 (* x x)) 1/2835) x) x) 1/180) (* (* (+ (* -1/37800 (* x x)) 1/2835) x) x) (* (+ (* -1/37800 (* x x)) 1/2835) x) (+ (* -1/37800 (* x x)) 1/2835) -1/37800 (log (/ (sinh x) x)) (/ (sinh x) x) (+ (* (+ (* 1/120 (* x x)) 1/6) (* x x)) 1) (+ (* 1/120 (* x x)) 1/6) 1/120 1 (- (log (sinh x)) (log x)) (log (sinh x)) (sinh x) (log x))
46.0ms
x
@inf
((* (sqrt (+ x x)) (sqrt x)) (sqrt (+ x x)) (+ x x) x (sqrt x) (sqrt (* (* x 2) x)) (neg (* (sqrt 2) x)) (* (sqrt 2) x) (sqrt 2) 2 (sqrt (* (+ x x) x)) (* (+ x x) x) (pow (* (* (* 2 x) x) (* (* 2 x) x)) 1/4) (* (* (* 2 x) x) (* (* 2 x) x)) (* (* 2 x) x) (* 2 x) 1/4 (* (pow (* (* x x) 2) 1/4) (pow (* (* x x) 2) 1/4)) (pow (* (* x x) 2) 1/4) (* (* x x) 2) (* x x) (pow (* (* x x) 2) 1/4) (* (pow 2 1/4) (sqrt x)) (pow 2 1/4))
44.0ms
x
@0
((* (pow (* (* x 2) x) 1/4) (pow (* (* x 2) x) 1/4)) (pow (* (* x 2) x) 1/4) (* (* x 2) x) (* x 2) x 2 1/4)
42.0ms
a
@-inf
((* r (/ (sin b) (+ (* (cos b) (cos a)) (* (neg (sin b)) (sin a))))) r (/ (sin b) (+ (* (cos b) (cos a)) (* (neg (sin b)) (sin a)))) (sin b) b (+ (* (cos b) (cos a)) (* (neg (sin b)) (sin a))) (cos b) (cos a) a (* (neg (sin b)) (sin a)) (neg (sin b)) (sin a) (* r (/ (sin b) (cos (+ a b)))) (/ (sin b) (cos (+ a b))) (tan b) (* r (/ (/ 1 (pow (sin b) -1)) (cos (+ a b)))) (/ (/ 1 (pow (sin b) -1)) (cos (+ a b))) (/ 1 (pow (sin b) -1)) 1 (pow (sin b) -1) (/ (+ (* (* b b) 1/6) 1) b) (+ (* (* b b) 1/6) 1) (* b b) 1/6 (cos (+ a b)) (+ a b) (* r (/ (sin b) (- (* (cos b) (cos a)) (* (sin b) (sin a))))) (/ (sin b) (- (* (cos b) (cos a)) (* (sin b) (sin a)))) (- (* (cos b) (cos a)) (* (sin b) (sin a))) (+ (* (neg b) (sin a)) (cos a)) (neg b) (* r (/ (sin b) (- (* (cos b) (cos a)) (* (/ 1 (pow (sin b) -1)) (sin a))))) (/ (sin b) (- (* (cos b) (cos a)) (* (/ 1 (pow (sin b) -1)) (sin a)))) (- (* (cos b) (cos a)) (* (/ 1 (pow (sin b) -1)) (sin a))) (* (cos b) (cos a)) (* (/ 1 (pow (sin b) -1)) (sin a)) (/ 1 (pow (sin b) -1)) (* (+ (* (* b b) -1/6) 1) b) (+ (* (* b b) -1/6) 1) -1/6)
40.0ms
x
@inf
((* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) 1 (sqrt (cos x)) (cos x) (exp (neg x)) (neg x) x (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (exp x) (sqrt (cos x)) (exp (neg x)) (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (sqrt (cos x)) (cos x) (+ (* (- (* 1/24 (* x x)) 1/2) (* x x)) 1) (- (* 1/24 (* x x)) 1/2) (* 1/24 (* x x)) 1/24 (* x x) 1/2 (exp (neg x)) (+ (* (+ (* 1/2 x) -1) x) 1) (+ (* 1/2 x) -1) -1 (* (fmod (exp x) (sqrt (cos x))) (exp (neg x))) (fmod (exp x) (sqrt (cos x))) (sqrt (cos x)) (cos x) (+ (* (+ (* (* x x) 1/24) -1/2) (* x x)) 1) (+ (* (* x x) 1/24) -1/2) -1/2 (/ (* (fmod (exp x) (sqrt (cos x))) 1) (exp x)) (* (fmod (exp x) (sqrt (cos x))) 1) (fmod (exp x) (sqrt (cos x))) (sqrt (cos x)) (cos x))

analyze2.4s (3.4%)

Memory
-9.6MiB live, 2 833.8MiB allocated; 1.2s collecting garbage
Algorithm
20×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%73.7%26.3%0%0%0%0
28.8%21.3%52.5%26.3%0%0%0%1
44.1%32.5%41.2%26.3%0%0%0%2
52.6%38.7%35%26.3%0%0%0%3
61.9%45.6%28.1%26.3%0%0%0%4
65.2%47.5%25.3%26.3%0%0.9%0%5
66.8%48.4%24%26.3%0%1.2%0%6
71.1%51.1%20.8%26.3%0%1.9%0%7
72.1%51.6%20%26.3%0%2.1%0%8
74.4%53%18.2%26.3%0%2.5%0%9
75.8%53.9%17.2%26.3%0%2.6%0%10
76.6%54.3%16.6%26.3%0%2.8%0%11
77.3%54.8%16.1%26.3%0%2.9%0%12
Compiler

Compiled 279 to 216 computations (22.6% saved)

explain2.4s (3.3%)

Memory
77.6MiB live, 3 163.0MiB allocated; 426ms collecting garbage
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue5970
cos.f64#fsensitivity5280
-.f64#fcancellation3292
sqrt.f64#fuflow-rescue2900
/.f64#fn/o2570
acos.f64(acos.f64 (-.f64 #s(literal 1 binary64) x))sensitivity2531
log.f64(log.f64 (/.f64 (sinh.f64 x) x))sensitivity2491
tan.f64(tan.f64 (+.f64 y z))sensitivity1801
pow.f64(pow.f64 l (exp.f64 w))sensitivity11918
*.f64#fn*o350
*.f64#fn*u320
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))o*u200
(pow.f64 c #s(literal 2 binary64))overflow68
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)underflow69
(*.f64 x (pow.f64 s #s(literal 2 binary64)))underflow62
(pow.f64 s #s(literal 2 binary64))underflow58
*.f64#fu*o200
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue180
(*.f64 a a)overflow121
(*.f64 b b)overflow18
log.f64(log.f64 (/.f64 (sinh.f64 x) x))oflow-rescue20
(sinh.f64 x)overflow2
(/.f64 (sinh.f64 x) x)overflow2
exp.f64(exp.f64 (neg.f64 w))sensitivity10
Confusion
Predicted +Predicted -
+2155269
-7061990
Precision
0.753233135267389
Recall
0.889026402640264
Confusion?
Predicted +Predicted MaybePredicted -
+21554265
-706191971
Precision?
0.7486130374479889
Recall?
0.8906765676567657
Freqs
test
numberfreq
02259
12794
265
32
Total Confusion?
Predicted +Predicted MaybePredicted -
+1701
-002
Precision?
1.0
Recall?
0.9444444444444444
Samples
455.0ms1 082×2valid
398.0ms2 424×1valid
377.0ms6 622×0valid
17.0ms112×1exit
Compiler

Compiled 1 067 to 440 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 863.0ms
adjust: 149.0ms (17.3% of total)
ival-cos: 71.0ms (8.2% of total)
ival-log: 71.0ms (8.2% of total)
ival-tan: 69.0ms (8% of total)
ival-sin: 61.0ms (7.1% of total)
ival-sqrt: 60.0ms (6.9% of total)
ival-sinh: 59.0ms (6.8% of total)
ival-mult!: 59.0ms (6.8% of total)
ival-exp: 56.0ms (6.5% of total)
ival-pow2: 40.0ms (4.6% of total)
ival-acos: 39.0ms (4.5% of total)
ival-fmod: 38.0ms (4.4% of total)
ival-div!: 25.0ms (2.9% of total)
ival-sub!: 22.0ms (2.5% of total)
ival-add!: 21.0ms (2.4% of total)
ival-hypot: 10.0ms (1.2% of total)
ival-pow: 8.0ms (0.9% of total)
ival-neg: 5.0ms (0.6% of total)
ival-atan: 3.0ms (0.3% of total)

preprocess2.2s (3.1%)

Memory
-262.4MiB live, 2 041.0MiB allocated; 262ms collecting garbage
Stop Event
15×node-limit
saturated
Compiler

Compiled 19 602 to 8 510 computations (56.6% saved)

prune1.8s (2.5%)

Memory
83.5MiB live, 2 725.6MiB allocated; 360ms collecting garbage
Counts
20 268 → 1 610
Compiler

Compiled 88 177 to 45 299 computations (48.6% saved)

bsearch744.0ms (1%)

Memory
-7.8MiB live, 649.1MiB allocated; 77ms collecting garbage
Algorithm
43×binary-search
29×left-value
Stop Event
40×narrow-enough
predicate-failed
Samples
314.0ms1 704×1valid
132.0ms1 800×0valid
64.0ms303×0invalid
Compiler

Compiled 15 167 to 12 431 computations (18% saved)

Precisions
Click to see histograms. Total time spent on operations: 400.0ms
ival-tan: 106.0ms (26.5% of total)
ival-cos: 69.0ms (17.2% of total)
adjust: 41.0ms (10.2% of total)
ival-neg: 32.0ms (8% of total)
ival-exp: 30.0ms (7.5% of total)
ival-sin: 30.0ms (7.5% of total)
ival-mult!: 22.0ms (5.5% of total)
ival-fmod: 20.0ms (5% of total)
ival-add!: 16.0ms (4% of total)
ival-div!: 11.0ms (2.7% of total)
ival-pow2: 8.0ms (2% of total)
ival-sqrt: 6.0ms (1.5% of total)
ival-pow: 6.0ms (1.5% of total)
ival-sub!: 4.0ms (1% of total)

start1.0ms (0%)

Memory
1.4MiB live, 1.4MiB allocated; 0ms collecting garbage

end0.0ms (0%)

Memory
0.3MiB live, 0.3MiB allocated; 0ms collecting garbage

Profiling

Loading profile data...