Herbie run

Date:Thursday, April 3rd, 2025
Commit:f7a7cb35 on main
Seed:2025093
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:83 595.4 MB

Time bar (total: 1.2min)

sample38.3s (52.9%)

Memory
463.2MiB live, 42 680.3MiB allocated; 11.6s collecting garbage
Samples
11.1s16 575×5exit
7.7s39 729×1valid
6.6s108 614×0valid
5.0s16 777×2valid
440.0ms4 047×0invalid
127.0ms1 375×0exit
Precisions
Click to see histograms. Total time spent on operations: 24.3s
ival-exp: 3.9s (15.9% of total)
ival-pow: 3.6s (14.8% of total)
adjust: 2.5s (10.1% of total)
ival-cos: 2.3s (9.5% of total)
ival-log: 1.6s (6.5% of total)
ival-mult!: 1.6s (6.5% of total)
ival-tan: 1.4s (5.8% of total)
ival-sqrt: 1.3s (5.5% of total)
ival-fmod: 1.2s (5% of total)
ival-acos: 972.0ms (4% of total)
ival-sin: 772.0ms (3.2% of total)
ival-div!: 756.0ms (3.1% of total)
ival-sinh: 663.0ms (2.7% of total)
ival-pow2: 453.0ms (1.9% of total)
ival-sub!: 403.0ms (1.7% of total)
ival-add!: 352.0ms (1.4% of total)
ival-neg: 271.0ms (1.1% of total)
ival-hypot: 139.0ms (0.6% of total)
ival-<=: 55.0ms (0.2% of total)
ival-atan: 49.0ms (0.2% of total)
ival-and: 32.0ms (0.1% of total)
ival->: 16.0ms (0.1% of total)
ival-or: 15.0ms (0.1% of total)
ival-assert: 3.0ms (0% of total)
ival-<: 2.0ms (0% of total)
Bogosity

rewrite10.4s (14.3%)

Memory
65.5MiB live, 10 860.9MiB allocated; 2.6s collecting garbage
Stop Event
185×iter-limit
52×node-limit
14×unsound
saturated
Counts
7 686 → 17 635

regimes4.9s (6.8%)

Memory
88.8MiB live, 6 575.1MiB allocated; 964ms collecting garbage
Counts
3 619 → 190
Calls

53 calls:

827.0ms
x
401.0ms
a
329.0ms
b
231.0ms
r
185.0ms
z
Compiler

Compiled 1 676 to 1 950 computations (-16.3% saved)

eval3.2s (4.4%)

Memory
28.3MiB live, 4 691.3MiB allocated; 763ms collecting garbage
Compiler

Compiled 667 200 to 84 173 computations (87.4% saved)

derivations3.0s (4.2%)

Memory
-49.1MiB live, 2 846.3MiB allocated; 405ms collecting garbage
Stop Event
12×fuel
done
Compiler

Compiled 3 944 to 1 000 computations (74.6% saved)

series2.6s (3.6%)

Memory
268.9MiB live, 3 532.4MiB allocated; 527ms collecting garbage
Counts
1 467 → 6 219
Calls

384 calls:

TimeVariablePointExpression
69.0ms
l
@inf
((* (/ 1 (exp w)) (pow l (exp w))) (/ 1 (exp w)) 1 (exp w) w (pow l (exp w)) l (* (exp (neg w)) (pow l (exp w))) (* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (- 1 w) (* (pow (exp -1) w) (pow l (exp w))) (pow (exp -1) w) (exp -1) -1 (* (exp (neg w)) (* (pow l (cosh w)) (pow l (sinh w)))) (exp (neg w)) (neg w) (* (pow l (cosh w)) (pow l (sinh w))) (pow l (cosh w)) (cosh w) (pow l (sinh w)) (sinh w))
60.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) x)) (log (* (/ -1 x) (* -1/2 (* 2 (sinh x))))) (* (/ -1 x) (* -1/2 (* 2 (sinh x)))) (/ -1 x) -1 (* -1/2 (* 2 (sinh x))) -1/2 (* 2 (sinh x)) 2 (sinh x))
57.0ms
x
@-inf
((+ x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))))) (tan a))) x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))))) (tan a)) (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))))) (/ (tan y) (- 1 (* (tan y) (tan z)))) (tan y) y (- 1 (* (tan y) (tan z))) 1 (* (tan y) (tan z)) (tan z) z (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z))))) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))) (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (* (pow (tan y) 2) (pow (tan z) 2)) (pow (tan y) 2) 2 (pow (tan z) 2) (+ 1 (* (tan y) (tan z))) (tan a) a (+ x (- (tan (+ y z)) (tan a))) (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (- 1 (* (tan y) (tan z))))) (tan a)) (tan (+ z y)) (+ z y) (+ x (- (tan (+ y z)) (tan a))) (- (tan (+ z y)) (tan a)) (tan (+ z y)) (+ z y) (+ x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (- 1 (* (tan y) (tan z))))) (tan a))) (neg (* (- (neg (/ (- (tan (+ z y)) (tan a)) x)) 1) x)) (* (- (neg (/ (- (tan (+ z y)) (tan a)) x)) 1) x) (- (neg (/ (- (tan (+ z y)) (tan a)) x)) 1) (neg (/ (- (tan (+ z y)) (tan a)) x)) (/ (- (tan (+ z y)) (tan a)) x) (- (tan (+ z y)) (tan a)) (+ x (- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a))) (- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a)) (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y))) (* (tan z) (tan y)))
48.0ms
l
@0
((* (exp (neg w)) (pow l (exp w))) (exp (neg w)) (neg w) w (pow l (exp w)) l (exp w))
42.0ms
y
@-inf
((+ x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))))) (tan a))) x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))))) (tan a)) (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))))) (/ (tan y) (- 1 (* (tan y) (tan z)))) (tan y) y (- 1 (* (tan y) (tan z))) 1 (* (tan y) (tan z)) (tan z) z (/ (tan z) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z))))) (/ (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (+ 1 (* (tan y) (tan z)))) (- 1 (* (pow (tan y) 2) (pow (tan z) 2))) (* (pow (tan y) 2) (pow (tan z) 2)) (pow (tan y) 2) 2 (pow (tan z) 2) (+ 1 (* (tan y) (tan z))) (tan a) a (+ x (- (tan (+ y z)) (tan a))) (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (- 1 (* (tan y) (tan z))))) (tan a)) (tan (+ z y)) (+ z y) (+ x (- (tan (+ y z)) (tan a))) (- (tan (+ z y)) (tan a)) (tan (+ z y)) (+ z y) (+ x (- (+ (/ (tan y) (- 1 (* (tan y) (tan z)))) (/ (tan z) (- 1 (* (tan y) (tan z))))) (tan a))) (neg (* (- (neg (/ (- (tan (+ z y)) (tan a)) x)) 1) x)) (* (- (neg (/ (- (tan (+ z y)) (tan a)) x)) 1) x) (- (neg (/ (- (tan (+ z y)) (tan a)) x)) 1) (neg (/ (- (tan (+ z y)) (tan a)) x)) (/ (- (tan (+ z y)) (tan a)) x) (- (tan (+ z y)) (tan a)) (+ x (- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a))) (- (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (tan a)) (/ (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y)))) (+ (tan z) (tan y)) (- 1 (* (tan z) (tan y))) (* (tan z) (tan y)))

explain2.6s (3.6%)

Memory
30.2MiB live, 3 070.7MiB allocated; 697ms collecting garbage
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
sqrt.f64#foflow-rescue5780
cos.f64#fsensitivity5190
-.f64#fcancellation3353
sqrt.f64#fuflow-rescue3140
/.f64#fn/o2580
acos.f64(acos.f64 (-.f64 #s(literal 1 binary64) x))sensitivity2551
log.f64(log.f64 (/.f64 (sinh.f64 x) x))sensitivity2460
tan.f64(tan.f64 (+.f64 y z))sensitivity1931
pow.f64(pow.f64 l (exp.f64 w))sensitivity11721
*.f64#fn*u370
*.f64#fn*o340
-.f64(-.f64 (*.f64 a a) (*.f64 b b))nan-rescue140
(*.f64 a a)overflow116
(*.f64 b b)overflow14
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))u*o120
(pow.f64 c #s(literal 2 binary64))underflow62
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)overflow58
(*.f64 x (pow.f64 s #s(literal 2 binary64)))overflow49
(pow.f64 s #s(literal 2 binary64))overflow49
*.f64(*.f64 (pow.f64 c #s(literal 2 binary64)) (*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x))o*u100
(pow.f64 c #s(literal 2 binary64))overflow59
(*.f64 (*.f64 x (pow.f64 s #s(literal 2 binary64))) x)underflow68
(*.f64 x (pow.f64 s #s(literal 2 binary64)))underflow60
(pow.f64 s #s(literal 2 binary64))underflow56
log.f64(log.f64 (/.f64 (sinh.f64 x) x))oflow-rescue50
(sinh.f64 x)overflow5
(/.f64 (sinh.f64 x) x)overflow5
Confusion
Predicted +Predicted -
+2131281
-7321976
Precision
0.7443241355221796
Recall
0.8834991708126037
Confusion?
Predicted +Predicted MaybePredicted -
+21313278
-732241952
Precision?
0.7384083044982699
Recall?
0.884742951907131
Freqs
test
numberfreq
02257
12802
258
33
Total Confusion?
Predicted +Predicted MaybePredicted -
+1710
-002
Precision?
1.0
Recall?
1.0
Samples
538.0ms2 496×1valid
398.0ms1 048×2valid
347.0ms6 588×0valid
14.0ms108×1exit
Compiler

Compiled 1 067 to 440 computations (58.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 918.0ms
ival-cos: 147.0ms (16% of total)
ival-tan: 115.0ms (12.5% of total)
adjust: 95.0ms (10.3% of total)
ival-sqrt: 82.0ms (8.9% of total)
ival-log: 69.0ms (7.5% of total)
ival-mult!: 53.0ms (5.8% of total)
ival-fmod: 49.0ms (5.3% of total)
ival-sinh: 45.0ms (4.9% of total)
ival-exp: 43.0ms (4.7% of total)
ival-add!: 41.0ms (4.5% of total)
ival-sin: 38.0ms (4.1% of total)
ival-acos: 37.0ms (4% of total)
ival-div!: 25.0ms (2.7% of total)
ival-pow2: 25.0ms (2.7% of total)
ival-sub!: 19.0ms (2.1% of total)
ival-hypot: 18.0ms (2% of total)
ival-pow: 8.0ms (0.9% of total)
ival-neg: 5.0ms (0.5% of total)
ival-atan: 3.0ms (0.3% of total)

analyze2.4s (3.3%)

Memory
-4.3MiB live, 2 903.3MiB 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)

preprocess2.3s (3.1%)

Memory
-245.7MiB live, 2 242.6MiB allocated; 487ms collecting garbage
Stop Event
15×node-limit
saturated
Compiler

Compiled 19 688 to 9 150 computations (53.5% saved)

prune2.2s (3%)

Memory
90.3MiB live, 3 274.5MiB allocated; 563ms collecting garbage
Counts
21 445 → 1 493
Compiler

Compiled 84 028 to 42 759 computations (49.1% saved)

bsearch570.0ms (0.8%)

Memory
-18.4MiB live, 916.5MiB allocated; 158ms collecting garbage
Algorithm
38×binary-search
25×left-value
Stop Event
34×narrow-enough
predicate-same
Samples
164.0ms873×1valid
106.0ms144×2valid
101.0ms1 287×0valid
Compiler

Compiled 12 164 to 9 820 computations (19.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 309.0ms
ival-exp: 89.0ms (28.8% of total)
ival-cos: 48.0ms (15.5% of total)
ival-fmod: 46.0ms (14.9% of total)
ival-mult!: 26.0ms (8.4% of total)
ival-sqrt: 24.0ms (7.8% of total)
adjust: 21.0ms (6.8% of total)
ival-pow2: 15.0ms (4.9% of total)
ival-tan: 11.0ms (3.6% of total)
ival-sin: 11.0ms (3.6% of total)
ival-div!: 9.0ms (2.9% of total)
ival-add!: 3.0ms (1% of total)
ival-neg: 3.0ms (1% of total)
ival-log: 1.0ms (0.3% of total)
ival-sinh: 1.0ms (0.3% of total)
ival-sub!: 0.0ms (0% of total)

start1.0ms (0%)

Memory
1.3MiB live, 1.2MiB allocated; 0ms collecting garbage

end0.0ms (0%)

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

Profiling

Loading profile data...