Herbie run

Date:Tuesday, November 26th, 2024
Commit:0bc53aaa on bhargav-bigfloat
Hostname:nightly with Racket 8.10
Seed:2024331
Parameters:256 points for 4 iterations
Flags:
localize:costslocalize:errorsreduce:regimesreduce:binary-searchreduce:branch-expressionssetup:simplifysetup:searchrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:numericsrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifygenerate:proofs
default

Time bar (total: 4.3min)

sample1.8min (42.5%)

Memory
381.9MiB live, 94 942.1MiB allocated
Samples
30.0s41 695×2valid
19.2s116 797×0invalid
19.1s92 215×1valid
10.1s4 862×5exit
7.8s90 569×0valid
2.2s2 921×3valid
473.0ms2 243×1exit
372.0ms4 254×0exit
11.0ms4exit
4.0ms4valid
3.0ms2exit
1.0ms3exit
Precisions
Click to see histograms. Total time spent on operations: 1.2min
ival-tan: 13.4s (18% of total)
ival-pow: 9.9s (13.2% of total)
adjust: 5.6s (7.5% of total)
ival-cos: 5.3s (7.1% of total)
ival-mult: 5.2s (6.9% of total)
const: 4.4s (5.8% of total)
ival-div: 4.0s (5.3% of total)
ival-sub: 3.9s (5.2% of total)
ival-log: 3.4s (4.6% of total)
ival-sin: 3.3s (4.4% of total)
ival-add: 3.0s (4% of total)
ival-exp: 2.4s (3.3% of total)
ival-fabs: 1.8s (2.4% of total)
ival-<=: 1.7s (2.3% of total)
ival-sqrt: 1.2s (1.6% of total)
ival-expm1: 1.1s (1.5% of total)
ival-log1p: 1.1s (1.4% of total)
ival-<: 790.0ms (1.1% of total)
ival-cbrt: 632.0ms (0.8% of total)
ival->: 563.0ms (0.8% of total)
ival-and: 538.0ms (0.7% of total)
exact: 327.0ms (0.4% of total)
ival-atan: 315.0ms (0.4% of total)
ival-neg: 315.0ms (0.4% of total)
ival-fmin: 257.0ms (0.3% of total)
ival-assert: 144.0ms (0.2% of total)
ival-true: 70.0ms (0.1% of total)
Bogosity

simplify34.7s (13.5%)

Memory
129.3MiB live, 26 243.8MiB allocated
Algorithm
235×egg-herbie
Stop Event
312×iter limit
165×node limit
70×saturated
Counts
8 378 → 8 286

soundness30.8s (12%)

Memory
19.9MiB live, 15 224.6MiB allocated
Stop Event
202×iter limit
133×node limit
23×fuel
done
saturated
Compiler

Compiled 15 814 to 7 054 computations (55.4% saved)

localize21.9s (8.5%)

Memory
-91.4MiB live, 20 453.2MiB allocated
Samples
7.7s5 234×2valid
7.1s10 585×1valid
2.6s9 941×0valid
600.0ms355×3valid
121.0ms441×0invalid
65.0ms64×0exit
5.0ms5exit
1.0ms4valid
Compiler

Compiled 46 938 to 6 917 computations (85.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.5s
ival-mult: 2.1s (14.3% of total)
adjust: 1.9s (13.4% of total)
ival-tan: 1.7s (11.5% of total)
ival-div: 1.6s (11.3% of total)
ival-add: 1.3s (9% of total)
ival-pow: 877.0ms (6.1% of total)
ival-cos: 730.0ms (5.1% of total)
const: 716.0ms (5% of total)
ival-sub: 702.0ms (4.9% of total)
ival-exp: 671.0ms (4.6% of total)
ival-sin: 455.0ms (3.1% of total)
ival-log: 433.0ms (3% of total)
ival-sqrt: 287.0ms (2% of total)
ival-log1p: 197.0ms (1.4% of total)
ival-pow2: 188.0ms (1.3% of total)
ival-neg: 169.0ms (1.2% of total)
ival-cosh: 133.0ms (0.9% of total)
ival-cbrt: 93.0ms (0.6% of total)
ival-expm1: 59.0ms (0.4% of total)
ival-atan2: 52.0ms (0.4% of total)
exact: 46.0ms (0.3% of total)
ival-true: 23.0ms (0.2% of total)
ival-assert: 11.0ms (0.1% of total)
ival-atan: 9.0ms (0.1% of total)
ival-fabs: 6.0ms (0% of total)
ival-copysign: 4.0ms (0% of total)

rewrite21.6s (8.4%)

Memory
136.8MiB live, 19 513.8MiB allocated
Stop Event
210×iter limit
104×node limit
Counts
1 612 → 65 654

eval12.2s (4.7%)

Memory
228.8MiB live, 14 865.3MiB allocated
Compiler

Compiled 2 523 873 to 280 494 computations (88.9% saved)

explain6.6s (2.6%)

Memory
-127.5MiB live, 5 809.6MiB allocated
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
-.f64#fcancellation381925
log.f64#fsensitivity7643
sqrt.f64#foflow-rescue3860
+.f64#fcancellation3150
/.f64#fu/u2350
/.f64#fu/n1050
pow.f64#fsensitivity621
sqrt.f64#fuflow-rescue380
-.f64#fnan-rescue250
tan.f64(tan.f64 (+.f64 x eps))sensitivity50
cos.f64(cos.f64 (+.f64 x eps))sensitivity50
sin.f64(sin.f64 (+.f64 x eps))sensitivity31
/.f64(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (*.f64 x x))n/o20
(*.f64 x x)overflow50
/.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))overflow3
(*.f64 #s(literal 2 binary64) x)overflow1
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow3
(exp.f64 x)overflow2
(-.f64 (exp.f64 x) #s(literal 1 binary64))overflow2
*.f64#fn*u20
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/n10
(exp.f64 (*.f64 #s(literal 2 binary64) x))overflow3
(*.f64 #s(literal 2 binary64) x)overflow1
(-.f64 (exp.f64 (*.f64 #s(literal 2 binary64) x)) #s(literal 1 binary64))overflow3
Confusion
Predicted +Predicted -
+497912
-1311790
Precision
0.9743639921722114
Recall
0.9975956722099779
Confusion?
Predicted +Predicted MaybePredicted -
+4979111
-131191771
Precision?
0.9708171206225681
Recall?
0.9997996393508315
Freqs
test
numberfreq
01802
14461
2638
311
Total Confusion?
Predicted +Predicted MaybePredicted -
+2700
-000
Precision?
1.0
Recall?
1.0
Samples
1.9s2 508×2valid
1.2s5 906×1valid
385.0ms5 216×0valid
115.0ms194×3valid
Compiler

Compiled 2 709 to 908 computations (66.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 2.8s
ival-tan: 573.0ms (20.4% of total)
ival-exp: 357.0ms (12.7% of total)
ival-sub: 349.0ms (12.4% of total)
adjust: 263.0ms (9.3% of total)
ival-cos: 196.0ms (7% of total)
ival-log: 186.0ms (6.6% of total)
ival-div: 165.0ms (5.9% of total)
ival-pow: 155.0ms (5.5% of total)
ival-sin: 139.0ms (4.9% of total)
ival-add: 119.0ms (4.2% of total)
ival-mult: 100.0ms (3.6% of total)
ival-sqrt: 68.0ms (2.4% of total)
ival-log1p: 56.0ms (2% of total)
ival-atan: 21.0ms (0.7% of total)
ival-cbrt: 15.0ms (0.5% of total)
ival-expm1: 15.0ms (0.5% of total)
ival-true: 12.0ms (0.4% of total)
ival-neg: 12.0ms (0.4% of total)
exact: 8.0ms (0.3% of total)
ival-assert: 6.0ms (0.2% of total)

regimes5.0s (2%)

Memory
87.5MiB live, 4 565.7MiB allocated
Counts
4 311 → 317
Calls

42 calls:

1.8s
x
356.0ms
eps
321.0ms
(/.f64 #s(literal 1 binary64) n)
251.0ms
(+.f64 (-.f64 (/.f64 #s(literal 1 binary64) (+.f64 x #s(literal 1 binary64))) (/.f64 #s(literal 2 binary64) x)) (/.f64 #s(literal 1 binary64) (-.f64 x #s(literal 1 binary64))))
155.0ms
b
Compiler

Compiled 2 211 to 2 049 computations (7.3% saved)

preprocess4.3s (1.7%)

Memory
265.6MiB live, 3 450.9MiB allocated
Algorithm
27×egg-herbie
Stop Event
54×iter limit
50×saturated
node limit
Compiler

Compiled 18 930 to 5 342 computations (71.8% saved)

prune4.2s (1.6%)

Memory
-357.3MiB live, 5 915.4MiB allocated
Counts
73 473 → 2 063
Compiler

Compiled 112 855 to 59 477 computations (47.3% saved)

series4.0s (1.5%)

Memory
170.5MiB live, 3 709.2MiB allocated
Counts
1 612 → 8 378
Calls

468 calls:

TimeVariablePointExpression
267.0ms
c
@inf
((/ (- (neg b) (sqrt (+ (* (* -4 c) a) (* b b)))) (* 2 a)) (- (neg b) (sqrt (+ (* (* -4 c) a) (* b b)))) (neg b) (sqrt (+ (* (* -4 c) a) (* b b))) (/ (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (/ c (neg b)) (/ (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a)) (- (neg b) (sqrt (- (* b b) (* 4 (* a c))))) (sqrt (- (* b b) (* 4 (* a c)))) (/ 1/2 (/ a (- b (sqrt (+ (* -4 (* c a)) (* b b)))))) (/ a (- b (sqrt (+ (* -4 (* c a)) (* b b))))) (- b (sqrt (+ (* -4 (* c a)) (* b b)))) (sqrt (+ (* -4 (* c a)) (* b b))) (/ (- (* (* b -1/2) a) (* a (* (sqrt (+ (* -4 (* c a)) (* b b))) 1/2))) (* a a)) (- (* (* b -1/2) a) (* a (* (sqrt (+ (* -4 (* c a)) (* b b))) 1/2))) (* (* b -1/2) a) (* b -1/2) (- (* b b) (* 4 (* a c))) (+ (* -4 (* c a)) (* b b)))
128.0ms
n
@0
((* (/ (/ -1 n) (neg (pow (- (pow (log (+ 1 x)) 3) (pow (log x) 3)) -1))) (pow (+ (* (log x) (+ (log x) (log (+ 1 x)))) (pow (log (+ 1 x)) 2)) -1)) (neg (pow (- (pow (log (+ 1 x)) 3) (pow (log x) 3)) -1)) (/ (/ -1 n) (neg (pow (- (pow (log (+ 1 x)) 3) (pow (log x) 3)) -1))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (exp (/ (log x) n)) (* n x) (/ (exp (/ (log x) n)) (* n x)) (+ (* (/ (+ (* (/ (- (/ 1/4 x) 1/3) x) -1) -1/2) x) -1) -1) (+ (* (/ (- (/ 1/4 x) 1/3) x) -1) -1/2) (/ (+ (* (/ (+ (* (/ (- (/ 1/4 x) 1/3) x) -1) -1/2) x) -1) -1) (neg x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (* (* x n) (pow x (/ -1 n))) (* x n) (pow x (/ -1 n)) (/ (/ (- (pow (/ (/ (- (/ 1/3 x) 1/2) n) x) 2) (pow n -2)) (- (/ (/ (- (/ 1/3 x) 1/2) n) (neg x)) (/ -1 n))) (neg x)) (- (/ (/ (- (/ 1/3 x) 1/2) n) (neg x)) (/ -1 n)) (/ (/ (- (/ 1/3 x) 1/2) n) (neg x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (- (pow (log (+ 1 x)) 3) (pow (log x) 3)) (pow (log x) 3) (- (log (+ 1 x)) (log x)) (/ (- (log (+ 1 x)) (log x)) n) (/ (- (/ 1/4 x) 1/3) x) (/ 1 (* (* x n) (pow x (/ -1 n)))) (/ (- (pow (/ (/ (- (/ 1/3 x) 1/2) n) x) 2) (pow n -2)) (- (/ (/ (- (/ 1/3 x) 1/2) n) (neg x)) (/ -1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (pow (/ (/ (- (/ 1/3 x) 1/2) n) x) 2) (pow n -2)))
104.0ms
n
@0
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (log (+ 1 x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n)) (/ 1 n) (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ (* (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) x) 1) (+ (* (/ (pow x (/ 1 n)) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) (/ (pow x (/ 1 n)) n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (+ (* (/ (pow x (/ 1 n)) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) (/ (pow x (/ 1 n)) n)) x) (/ (pow x (/ 1 n)) x) (+ (/ (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (+ (* (/ (pow x (/ 1 n)) x) (+ (/ (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n)))) (/ (pow x (/ 1 n)) n)) x) (+ (* (/ (pow x (/ 1 n)) x) (+ (/ (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n)))) (/ (pow x (/ 1 n)) n)) (log x) (/ 1/2 (* n n)) (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))))
85.0ms
x
@-inf
((- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (- (log (+ 1 x)) (log x)) n) (- (log (+ 1 x)) (log x)) (log (+ 1 x)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n)) (/ 1 n) (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (pow (+ x 1) (/ 1 n)) (+ (* (+ (* (- (/ 1/2 (* n n)) (/ 1/2 n)) x) (/ 1 n)) x) 1) (+ (* (/ (pow x (/ 1 n)) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) (/ (pow x (/ 1 n)) n)) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (+ (* (/ (pow x (/ 1 n)) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) (/ (pow x (/ 1 n)) n)) x) (/ (pow x (/ 1 n)) x) (+ (/ (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n))) (- (pow (+ x 1) (/ 1 n)) (pow x (/ 1 n))) (/ (+ (* (/ (pow x (/ 1 n)) x) (+ (/ (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n)))) (/ (pow x (/ 1 n)) n)) x) (+ (* (/ (pow x (/ 1 n)) x) (+ (/ (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))) x) (- (/ 1/2 (* n n)) (/ 1/2 n)))) (/ (pow x (/ 1 n)) n)) (log x) (/ 1/2 (* n n)) (- (+ (/ 1/3 n) (/ 1/6 (pow n 3))) (/ 1/2 (* n n))))
78.0ms
x
@0
((- (cbrt (+ x 1)) (cbrt x)) (* (cbrt (/ (/ 1 x) x)) 1/3) (cbrt (/ (/ 1 x) x)) (/ (/ 1 x) x) (- (cbrt (+ x 1)) (cbrt x)) (cbrt (+ x 1)) (cbrt x) (pow (pow x 1/6) 2) (- (cbrt (+ x 1)) (pow (pow x 1/6) 2)) (cbrt (+ x 1)) (+ x 1) (pow (exp (neg (log (+ 1 x)))) -1/3) (exp (neg (log (+ 1 x)))) (neg (log (+ 1 x))) (log (+ 1 x)) (- (cbrt (pow (exp 3) (* (log (+ 1 x)) 1/3))) (cbrt x)) (cbrt (pow (exp 3) (* (log (+ 1 x)) 1/3))) (pow (exp 3) (* (log (+ 1 x)) 1/3)) (exp 3) (pow x 1/6) (- (pow (exp (neg (log (+ 1 x)))) -1/3) (cbrt x)))

analyze1.7s (0.7%)

Memory
23.3MiB live, 1 986.2MiB 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)

bsearch1000.0ms (0.4%)

Memory
0.3MiB live, 1 017.7MiB allocated
Algorithm
68×binary-search
29×left-value
Stop Event
65×narrow-enough
predicate-same
Samples
327.0ms3 695×0valid
81.0ms324×2valid
73.0ms362×1valid
56.0ms757×0invalid
4.0ms19×3valid
1.0ms16×0exit
Compiler

Compiled 26 490 to 20 228 computations (23.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 373.0ms
ival-mult: 76.0ms (20.4% of total)
ival-div: 62.0ms (16.6% of total)
ival-sub: 57.0ms (15.3% of total)
ival-pow: 45.0ms (12.1% of total)
ival-sqrt: 38.0ms (10.2% of total)
adjust: 21.0ms (5.6% of total)
ival-neg: 21.0ms (5.6% of total)
ival-cos: 19.0ms (5.1% of total)
ival-add: 15.0ms (4% of total)
ival-sin: 4.0ms (1.1% of total)
ival-true: 4.0ms (1.1% of total)
ival-exp: 3.0ms (0.8% of total)
exact: 3.0ms (0.8% of total)
ival-assert: 2.0ms (0.5% of total)
ival-expm1: 2.0ms (0.5% of total)

start1.0ms (0%)

Memory
1.5MiB live, 1.6MiB allocated

end0.0ms (0%)

Memory
0.4MiB live, 0.4MiB allocated

Profiling

Loading profile data...