Herbie run

Date:Tuesday, July 9th, 2024
Commit:05213bce on main
Hostname:nightly with Racket 8.11.1
Seed:2024191
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 5.2min)

sample2.1min (39.8%)

Memory
431.5MiB live, 135 988.3MiB allocated
Samples
34.2s43 478×2valid
27.3s146 962×0invalid
20.2s95 042×1valid
10.0s6 145×5exit
8.9s89 270×0valid
2.5s3 375×3valid
379.0ms4 273×0exit
136.0ms1 057×1exit
60.0ms73×4exit
4.0ms2exit
4.0ms3exit
3.0ms4valid
Precisions
Click to see histograms. Total time spent on operations: 1.4min
ival-tan: 16.3s (18.7% of total)
ival-pow: 9.8s (11.3% of total)
ival-mult: 6.9s (7.9% of total)
const: 6.0s (6.9% of total)
ival-cos: 5.2s (6% of total)
ival-div: 5.0s (5.7% of total)
ival-add: 4.6s (5.3% of total)
ival-log: 4.2s (4.8% of total)
adjust: 4.1s (4.8% of total)
ival-sub: 4.1s (4.7% of total)
ival-sin: 3.6s (4.2% of total)
ival-exp: 2.8s (3.3% of total)
ival-fabs: 2.4s (2.8% of total)
ival-<=: 2.4s (2.7% of total)
ival-expm1: 2.1s (2.4% of total)
ival-sqrt: 1.3s (1.4% of total)
ival-<: 1.1s (1.3% of total)
ival-log1p: 1.0s (1.2% of total)
ival-and: 805.0ms (0.9% of total)
ival-fmin: 690.0ms (0.8% of total)
ival->: 562.0ms (0.6% of total)
exact: 433.0ms (0.5% of total)
ival-atan: 426.0ms (0.5% of total)
ival-neg: 409.0ms (0.5% of total)
ival-cbrt: 365.0ms (0.4% of total)
ival-assert: 172.0ms (0.2% of total)
ival-true: 67.0ms (0.1% of total)
Bogosity

simplify49.6s (16%)

Memory
-11.0MiB live, 45 108.4MiB allocated
Algorithm
247×egg-herbie
Rules
82 573×fma-define
70 797×fmm-def
49 790×distribute-lft-in
47 602×times-frac
44 261×distribute-rgt-in
Stop Event
171×node limit
75×saturated
unsound
Counts
58 897 → 60 236

soundness28.5s (9.2%)

Memory
29.7MiB live, 23 499.4MiB allocated
Rules
34 162×log1p-expm1-u
30 161×fma-define
28 273×expm1-log1p-u
26 219×fmm-def
18 278×times-frac
Stop Event
107×node limit
22×fuel
saturated
done
Compiler

Compiled 21 320 to 6 232 computations (70.8% saved)

rewrite27.6s (8.9%)

Memory
-306.1MiB live, 22 047.7MiB allocated
Algorithm
109×batch-egg-rewrite
Rules
66 870×log1p-expm1-u
53 712×expm1-log1p-u
22 498×pow1
22 283×add-exp-log
21 809×add-log-exp
Stop Event
109×node limit
Counts
1 250 → 40 427

localize20.4s (6.6%)

Memory
310.1MiB live, 22 926.8MiB allocated
Samples
5.4s7 751×1valid
5.0s4 416×2valid
2.9s13 458×0valid
569.0ms349×3valid
498.0ms1 681×0invalid
89.0ms446×1exit
44.0ms41×5exit
5.0ms3invalid
4.0ms2invalid
2.0ms1invalid
Compiler

Compiled 19 081 to 2 716 computations (85.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.1s
ival-mult: 1.8s (16.1% of total)
ival-div: 1.3s (11.9% of total)
ival-sub: 1.1s (9.6% of total)
ival-pow: 892.0ms (8% of total)
ival-add: 861.0ms (7.8% of total)
ival-tan: 649.0ms (5.8% of total)
ival-log: 629.0ms (5.7% of total)
adjust: 622.0ms (5.6% of total)
ival-sin: 542.0ms (4.9% of total)
const: 539.0ms (4.9% of total)
ival-cos: 366.0ms (3.3% of total)
ival-exp: 329.0ms (3% of total)
ival-pow2: 264.0ms (2.4% of total)
ival-hypot: 249.0ms (2.2% of total)
ival-sqrt: 214.0ms (1.9% of total)
ival-log1p: 198.0ms (1.8% of total)
ival-neg: 152.0ms (1.4% of total)
ival-cbrt: 101.0ms (0.9% of total)
ival-cosh: 96.0ms (0.9% of total)
exact: 62.0ms (0.6% of total)
ival-expm1: 52.0ms (0.5% of total)
ival-atan: 38.0ms (0.3% of total)
ival-true: 24.0ms (0.2% of total)
ival-atan2: 20.0ms (0.2% of total)
ival-assert: 12.0ms (0.1% of total)
ival-e: 10.0ms (0.1% of total)
ival-fabs: 3.0ms (0% of total)

eval18.4s (5.9%)

Memory
382.5MiB live, 21 255.3MiB allocated
Compiler

Compiled 2 267 821 to 318 289 computations (86% saved)

prune17.8s (5.7%)

Memory
-451.7MiB live, 26 621.8MiB allocated
Counts
85 244 → 2 034
Compiler

Compiled 65 947 to 36 772 computations (44.2% saved)

explain6.4s (2.1%)

Memory
-79.0MiB live, 7 528.7MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation416129
log.f64#fsensitivity7593
/.f64#fu/u4410
sqrt.f64#foflow-rescue4300
+.f64#fcancellation3471
/.f64#fu/n1130
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity731
sqrt.f64#fuflow-rescue400
/.f64(/.f64 (*.f64 eps (-.f64 (exp.f64 (*.f64 (+.f64 a b) eps)) #s(literal 1 binary64))) (*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))))n/u270
(*.f64 b eps)underflow146
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow140
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow146
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow239
(*.f64 a eps)underflow140
-.f64#fnan-rescue190
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o40
(*.f64 x x)overflow71
cos.f64(cos.f64 (+.f64 x eps))sensitivity10
exp.f64(exp.f64 (neg.f64 x))sensitivity10
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o10
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow1
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow1
(exp.f64 x)overflow1
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow1
Confusion
Predicted +Predicted -
+522112
-1561779
Precision
0.9709875395201786
Recall
0.9977068603095739
Confusion?
Predicted +Predicted MaybePredicted -
+5221111
-156241755
Precision?
0.9667405764966741
Recall?
0.9998089050257978
Freqs
test
numberfreq
01791
14554
2669
391
463
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Samples
1.8s2 652×2valid
1.5s5 982×1valid
434.0ms5 488×0valid
175.0ms214×3valid
Compiler

Compiled 2 522 to 980 computations (61.1% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.1s
ival-tan: 736.0ms (23.7% of total)
ival-log: 366.0ms (11.8% of total)
ival-pow: 344.0ms (11.1% of total)
ival-cos: 299.0ms (9.6% of total)
ival-sub: 262.0ms (8.4% of total)
adjust: 215.0ms (6.9% of total)
ival-div: 153.0ms (4.9% of total)
ival-exp: 132.0ms (4.2% of total)
ival-mult: 124.0ms (4% of total)
ival-sin: 124.0ms (4% of total)
ival-add: 114.0ms (3.7% of total)
ival-sqrt: 63.0ms (2% of total)
ival-log1p: 56.0ms (1.8% of total)
ival-atan: 25.0ms (0.8% of total)
ival-neg: 23.0ms (0.7% of total)
ival-expm1: 23.0ms (0.7% of total)
ival-cbrt: 17.0ms (0.5% of total)
exact: 13.0ms (0.4% of total)
ival-true: 12.0ms (0.4% of total)
ival-assert: 6.0ms (0.2% of total)

preprocess5.6s (1.8%)

Memory
-141.6MiB live, 6 275.9MiB allocated
Algorithm
28×egg-herbie
Rules
8 308×fmm-def
6 663×fma-define
4 254×div-sub
2 652×sub-neg
2 620×times-frac
Stop Event
23×saturated
node limit
Compiler

Compiled 9 936 to 3 882 computations (60.9% saved)

series5.2s (1.7%)

Memory
244.5MiB live, 6 430.2MiB allocated
Counts
1 250 → 18 470
Calls

5055 calls:

TimeVariablePointExpression
114.0ms
eps
@0
(sin (* 1/2 (+ (* 2 x) eps)))
99.0ms
c
@0
(pow (+ (* (* a c) -4) (pow b 2)) 1/4)
95.0ms
eps
@-inf
(- (exp (* eps (+ a b))) 1)
82.0ms
b_2
@inf
(sqrt (/ (- b_2 (sqrt (+ (* b_2 b_2) (* (sqrt (* c (neg a))) (sqrt (* c (neg a))))))) a))
73.0ms
n
@0
(* 1/2 (/ (- (pow (log (+ 1 x)) 2) (pow (log x) 2)) n))

regimes3.2s (1%)

Memory
99.9MiB live, 5 562.8MiB allocated
Counts
3 825 → 312
Calls

43 calls:

789.0ms
x
318.0ms
(/.f64 #s(literal 1 binary64) n)
221.0ms
a
215.0ms
n
173.0ms
N
Compiler

Compiled 1 456 to 979 computations (32.8% saved)

bsearch2.6s (0.8%)

Memory
111.0MiB live, 2 750.2MiB allocated
Algorithm
72×binary-search
46×left-value
Stop Event
69×narrow-enough
predicate-same
Samples
1.1s6 125×0valid
368.0ms3 073×1valid
267.0ms1 857×0invalid
195.0ms482×2valid
3.0ms30×0exit
0.0ms1exit
Compiler

Compiled 14 765 to 10 940 computations (25.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.4s
ival-neg: 287.0ms (20.3% of total)
ival-add: 257.0ms (18.2% of total)
ival-mult: 215.0ms (15.2% of total)
ival-sub: 198.0ms (14% of total)
ival-pow: 116.0ms (8.2% of total)
ival-cbrt: 97.0ms (6.9% of total)
ival-div: 93.0ms (6.6% of total)
ival-sqrt: 64.0ms (4.5% of total)
adjust: 45.0ms (3.2% of total)
ival-cos: 16.0ms (1.1% of total)
exact: 8.0ms (0.6% of total)
ival-true: 8.0ms (0.6% of total)
ival-sin: 5.0ms (0.4% of total)
ival-assert: 4.0ms (0.3% of total)
ival-expm1: 1.0ms (0.1% of total)
ival-log1p: 0.0ms (0% of total)
ival-log: 0.0ms (0% of total)

analyze1.7s (0.6%)

Memory
41.2MiB live, 2 106.3MiB allocated
Algorithm
28×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%61.1%38.9%0%0%0%0
7.4%4.5%56.6%38.9%0%0%0%1
22.3%13.6%47.5%38.9%0%0%0%2
40.2%23.5%34.9%38.9%0%2.7%0%3
53.4%31.1%27.2%38.9%0%2.8%0%4
63%36.3%21.3%38.9%0%3.6%0%5
65.9%37.5%19.4%38.9%0%4.2%0%6
70.4%38.8%16.3%38.9%0%6%0%7
73.6%40.2%14.4%38.9%0%6.5%0%8
76.3%40.9%12.7%38.9%0%7.5%0%9
78.4%41.4%11.4%38.9%0%8.3%0%10
81.1%42.4%9.9%38.9%0%8.8%0%11
82.3%42.7%9.2%38.9%0%9.3%0%12
Compiler

Compiled 483 to 337 computations (30.2% saved)

end0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

Profiling

Loading profile data...