Herbie run

Date:Saturday, May 25th, 2024
Commit:445b0ec4 on explanations-trifurcate
Hostname:nightly with Racket 8.11.1
Seed:2024146
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.8min)

sample2.7min (46.6%)

Results
40.4s55334×2valid
32.1s142065×0precondition
29.2s116287×1valid
26.5s7065×5exit
6.6s56835×0valid
3.8s2712×3valid
554.0ms4108×0unsamplable
517.0ms4110×0invalid
Precisions
Click to see histograms. Total time spent on operations: 2.0min
ival-pow: 25.6s (21.8% of total)
ival-exp: 12.4s (10.5% of total)
ival-tan: 12.4s (10.5% of total)
ival-mult: 10.2s (8.7% of total)
ival-sub: 7.4s (6.3% of total)
...c/correct-round.rkt:121:19: 6.5s (5.5% of total)
backward-pass: 5.8s (4.9% of total)
ival-add: 5.5s (4.6% of total)
ival-log: 5.3s (4.5% of total)
ival-div: 4.5s (3.8% of total)
ival-sin: 3.9s (3.3% of total)
ival-<=: 3.9s (3.3% of total)
ival-cos: 3.9s (3.3% of total)
ival-fabs: 3.1s (2.6% of total)
ival-<: 1.9s (1.6% of total)
ival-sqrt: 1.4s (1.2% of total)
ival->: 922.0ms (0.8% of total)
ival-and: 735.0ms (0.6% of total)
const: 641.0ms (0.5% of total)
ival-fmin: 498.0ms (0.4% of total)
ival-neg: 467.0ms (0.4% of total)
ival-atan: 390.0ms (0.3% of total)
ival-cbrt: 311.0ms (0.3% of total)
Bogosity

simplify49.4s (14.2%)

Algorithm
241×egg-herbie
Rules
85139×fma-define
77767×fma-neg
50439×distribute-lft-in
44889×times-frac
44605×distribute-rgt-in
Stop Event
75×saturated
164×node limit
unsound
Counts
57539 → 59416

localize27.2s (7.8%)

Results
7.0s8045×1valid
6.6s4850×2valid
4.8s12088×0valid
1.8s389×5exit
1.1s483×3valid
495.0ms1501×0invalid
32.0ms15×2invalid
21.0ms20×1invalid
7.0ms4valid
Compiler

Compiled 17913 to 2585 computations (85.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0s
ival-pow: 2.2s (15.4% of total)
backward-pass: 2.1s (14.7% of total)
ival-mult: 1.8s (13% of total)
ival-div: 1.4s (10.2% of total)
ival-add: 1.2s (8.4% of total)
ival-tan: 772.0ms (5.5% of total)
ival-log: 695.0ms (5% of total)
...c/correct-round.rkt:121:19: 626.0ms (4.5% of total)
ival-sub: 596.0ms (4.2% of total)
ival-cos: 555.0ms (4% of total)
ival-fma: 335.0ms (2.4% of total)
ival-sin: 331.0ms (2.4% of total)
ival-exp: 290.0ms (2.1% of total)
ival-sqrt: 224.0ms (1.6% of total)
ival-cbrt: 213.0ms (1.5% of total)
ival-log1p: 205.0ms (1.5% of total)
ival-neg: 109.0ms (0.8% of total)
const: 107.0ms (0.8% of total)
ival-cosh: 101.0ms (0.7% of total)
ival-hypot: 92.0ms (0.7% of total)
ival-expm1: 66.0ms (0.5% of total)
ival-atan: 38.0ms (0.3% of total)
ival-atan2: 21.0ms (0.1% of total)
ival-e: 6.0ms (0% of total)

soundness24.6s (7.1%)

Rules
30174×log1p-expm1-u
29123×fma-define
25263×fma-neg
22123×expm1-log1p-u
18692×associate-*r*
Stop Event
saturated
105×node limit
23×fuel
unsound
done
Compiler

Compiled 18310 to 5684 computations (69% saved)

rewrite24.5s (7.1%)

Algorithm
106×batch-egg-rewrite
Rules
65083×log1p-expm1-u
49523×expm1-log1p-u
23106×pow1
22421×add-exp-log
22042×add-log-exp
Stop Event
106×node limit
Counts
1259 → 38834

prune16.6s (4.8%)

Counts
80876 → 2237
Compiler

Compiled 72917 to 41691 computations (42.8% saved)

eval14.8s (4.3%)

Compiler

Compiled 1899312 to 304598 computations (84% saved)

explain7.7s (2.2%)

Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation424035
log.f64#fsensitivity7612
/.f64#fu/u4320
sqrt.f64#foflow-rescue4010
+.f64#fcancellation3030
/.f64#fu/n1140
pow.f64(pow.f64 (+.f64 x #s(literal 1 binary64)) (/.f64 #s(literal 1 binary64) n))sensitivity583
/.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/u230
(*.f64 b eps)underflow137
(-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64))underflow131
(-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64))underflow137
(*.f64 (-.f64 (exp.f64 (*.f64 a eps)) #s(literal 1 binary64)) (-.f64 (exp.f64 (*.f64 b eps)) #s(literal 1 binary64)))underflow229
(*.f64 a eps)underflow131
-.f64#fnan-rescue130
sqrt.f64#fuflow-rescue120
cos.f64(cos.f64 (+.f64 x eps))sensitivity20
/.f64(/.f64 (-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64)) (-.f64 (exp.f64 x) #s(literal 1 binary64)))o/o20
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow2
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow2
(exp.f64 x)overflow2
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow2
sin.f64(sin.f64 (+.f64 x eps))sensitivity20
tan.f64(tan.f64 (+.f64 x eps))sensitivity20
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o10
(*.f64 x x)overflow70
exp.f64(exp.f64 (*.f64 a x))sensitivity10
Confusion
Predicted +Predicted -
+520421
-1381805
Precision
0.974166978659678
Recall
0.9959808612440192
Confusion?
Predicted +Predicted MaybePredicted -
+5204147
-138231782
Precision?
0.9700687860197063
Recall?
0.9986602870813397
Freqs
test
numberfreq
01826
14538
2644
399
461
Total Confusion?
Predicted +Predicted MaybePredicted -
+2800
-000
Precision?
1.0
Recall?
1.0
Results
2.7s3394×2valid
1.7s7272×1valid
352.0ms3490×0valid
205.0ms180×3valid
Compiler

Compiled 2552 to 924 computations (63.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.7s
ival-exp: 664.0ms (17.9% of total)
ival-tan: 656.0ms (17.7% of total)
ival-log: 375.0ms (10.1% of total)
ival-cos: 319.0ms (8.6% of total)
backward-pass: 307.0ms (8.3% of total)
ival-sub: 274.0ms (7.4% of total)
ival-sin: 250.0ms (6.7% of total)
ival-div: 238.0ms (6.4% of total)
ival-add: 169.0ms (4.6% of total)
ival-mult: 151.0ms (4.1% of total)
ival-pow: 115.0ms (3.1% of total)
ival-sqrt: 77.0ms (2.1% of total)
ival-cbrt: 33.0ms (0.9% of total)
const: 32.0ms (0.9% of total)
ival-neg: 23.0ms (0.6% of total)
ival-atan: 23.0ms (0.6% of total)

series5.6s (1.6%)

Counts
1259 → 18705
Calls

5097 calls:

TimeVariablePointExpression
109.0ms
eps
@0
(log (/ (- 1 eps) (+ 1 eps)))
101.0ms
eps
@-inf
(log (- (tan (+ x eps)) (tan x)))
89.0ms
n
@0
(* n (log n))
78.0ms
x
@inf
(log (- (tan (+ x eps)) (tan x)))
57.0ms
x
@-inf
(log (- (tan (+ x eps)) (tan x)))

preprocess4.8s (1.4%)

Algorithm
28×egg-herbie
Rules
8308×fma-neg
6663×fma-define
4279×div-sub
2669×sub-neg
2621×times-frac
Stop Event
23×saturated
node limit
Compiler

Compiled 9480 to 3736 computations (60.6% saved)

analyze4.1s (1.2%)

Algorithm
28×search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%61.1%38.9%0%0%0%0
6.1%3.7%57.4%38.9%0%0%0%1
16.5%10.1%51%38.9%0%0%0%2
35.3%20.6%37.8%41.6%0%0%0%3
46.1%26.9%31.4%41.7%0%0%0%4
54.8%31.5%26%42.4%0%0%0%5
57.1%32.5%24.4%43.1%0%0%0%6
61.5%33.9%21.3%44%0%0.8%0.1%7
64.6%35.3%19.3%44.5%0%0.8%0.1%8
67.1%36%17.6%44.9%0%1.2%0.3%9
69.1%36.5%16.3%45.2%0%1.7%0.3%10
71.7%37.5%14.8%45.4%0%1.9%0.4%11
72.8%37.8%14.1%45.6%0%2.2%0.4%12
Compiler

Compiled 498 to 322 computations (35.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.4s
ival-fabs: 479.0ms (19.7% of total)
ival-fmin: 222.0ms (9.1% of total)
ival-sub: 199.0ms (8.2% of total)
ival-mult: 198.0ms (8.2% of total)
ival-pow: 181.0ms (7.5% of total)
ival-log: 162.0ms (6.7% of total)
...c/correct-round.rkt:121:19: 158.0ms (6.5% of total)
ival-add: 150.0ms (6.2% of total)
ival-div: 101.0ms (4.2% of total)
ival-<=: 86.0ms (3.5% of total)
ival-neg: 83.0ms (3.4% of total)
ival-sqrt: 73.0ms (3% of total)
ival-sin: 73.0ms (3% of total)
ival-exp: 71.0ms (2.9% of total)
ival-tan: 65.0ms (2.7% of total)
ival-cos: 62.0ms (2.6% of total)
const: 21.0ms (0.9% of total)
ival->: 14.0ms (0.6% of total)
ival-and: 13.0ms (0.5% of total)
ival-<: 11.0ms (0.5% of total)
backward-pass: 7.0ms (0.3% of total)
ival-atan: 0.0ms (0% of total)
ival-cbrt: 0.0ms (0% of total)

regimes3.6s (1%)

Counts
4271 → 313
Calls

43 calls:

923.0ms
x
303.0ms
a
217.0ms
(/.f64 #s(literal 1 binary64) n)
201.0ms
b_2
183.0ms
b
Compiler

Compiled 1474 to 985 computations (33.2% saved)

bsearch2.5s (0.7%)

Algorithm
84×binary-search
31×left-value
Stop Event
predicate-same
78×narrow-enough
Results
841.0ms7574×0valid
498.0ms626×2valid
397.0ms1928×1valid
139.0ms1026×0invalid
8.0ms61×0unsamplable
Compiler

Compiled 15167 to 11111 computations (26.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 1.5s
ival-mult: 314.0ms (21.4% of total)
ival-sub: 254.0ms (17.3% of total)
ival-pow: 215.0ms (14.7% of total)
ival-div: 167.0ms (11.4% of total)
ival-add: 142.0ms (9.7% of total)
ival-sqrt: 124.0ms (8.5% of total)
ival-exp: 80.0ms (5.5% of total)
ival-neg: 59.0ms (4% of total)
backward-pass: 51.0ms (3.5% of total)
ival-cos: 22.0ms (1.5% of total)
const: 18.0ms (1.2% of total)
ival-cbrt: 11.0ms (0.8% of total)
ival-sin: 7.0ms (0.5% of total)
ival-log: 1.0ms (0.1% of total)

end0.0ms (0%)

Profiling

Loading profile data...