Details

Time bar (total: 4.3s)

sample56.0ms

Algorithm
intervals
Results
26.0ms64×body10240exit
13.0ms258×body80valid
3.0msbody1280valid
2.0msbody640valid
2.0ms11×body320valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.1b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (exp x))
0.0b
(- (log (+ 1.0 (exp x))) (* x y))
1.0b
(log (+ 1.0 (exp x)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
add-sqr-sqrt add-cube-cbrt log-prod
pow1 add-log-exp
add-exp-log log-div fma-neg prod-diff associate--l+
expm1-log1p-u fma-def flip3-+ log-pow add-cbrt-cube flip-+ log1p-expm1-u distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log flip--
Counts
3 → 62
Calls
3 calls:
3.0ms
(+ 1.0 (exp x))
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(log (+ 1.0 (exp x)))

series128.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+ 1.0 (exp x))
56.0ms
(- (log (+ 1.0 (exp x))) (* x y))
64.0ms
(log (+ 1.0 (exp x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune170.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (+ 1.0 (exp x)))
0.7b
(cbrt (+ 1.0 (exp x)))
1.1b
(log (cbrt (+ 1.0 (exp x))))
1.7b
(log (* (cbrt (+ 1.0 (exp x))) (cbrt (+ 1.0 (exp x)))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-div
14×*-un-lft-identity
13×pow1
12×cbrt-prod
11×log-pow
10×log-div
flip3-+ pow1/3 flip-+
add-exp-log add-sqr-sqrt add-cube-cbrt log-prod
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp
rem-log-exp distribute-lft-out
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp
Counts
4 → 82
Calls
4 calls:
3.0ms
(cbrt (+ 1.0 (exp x)))
3.0ms
(cbrt (+ 1.0 (exp x)))
4.0ms
(log (cbrt (+ 1.0 (exp x))))
9.0ms
(log (* (cbrt (+ 1.0 (exp x))) (cbrt (+ 1.0 (exp x)))))

series634.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(cbrt (+ 1.0 (exp x)))
120.0ms
(cbrt (+ 1.0 (exp x)))
195.0ms
(log (cbrt (+ 1.0 (exp x))))
193.0ms
(log (* (cbrt (+ 1.0 (exp x))) (cbrt (+ 1.0 (exp x)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0271770
1701685
22411670
35001666

prune311.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/2 (pow x 2) (+ x 2.0))
0.0b
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
7.6b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 log-prod
add-exp-log fma-neg prod-diff add-log-exp
expm1-log1p-u associate--l+ log-pow add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log rem-log-exp flip-- fma-udef
Counts
3 → 49
Calls
3 calls:
1.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
4.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
1.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series145.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
77.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
51.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify84.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune162.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.5b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (exp (log (log (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
0.0b
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
0.3b
(exp (log (log (fma 1/2 (pow x 2) (+ x 2.0)))))
7.6b
(log (fma 1/2 (pow x 2) (+ x 2.0)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
19×log-prod
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity exp-sum
11×pow1
fma-neg prod-diff log-pow
add-exp-log add-log-exp
expm1-log1p-u exp-prod add-cbrt-cube log1p-expm1-u
rem-log-exp
sub-neg flip3-- diff-log flip-- rem-exp-log
Counts
4 → 75
Calls
4 calls:
6.0ms
(- (exp (log (log (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
2.0ms
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
2.0ms
(exp (log (log (fma 1/2 (pow x 2) (+ x 2.0)))))
2.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series293.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (exp (log (log (fma 1/2 (pow x 2) (+ x 2.0))))) (* x y))
107.0ms
(log (log (fma 1/2 (pow x 2) (+ x 2.0))))
58.0ms
(exp (log (log (fma 1/2 (pow x 2) (+ x 2.0)))))
50.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify40.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0382809
11323693
25002666

prune253.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.5b

regimes57.0ms

Accuracy

86.4% (0.2b remaining)

Error of 0.5b against oracle of 0.3b and baseline of 1.9b

bsearch50.0ms

Steps
ItersRangePoint
8
-0.007295393535134763
-5.1833216364644605e-06
-8.057362563360427e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04146
14146

end0.0ms

sample1.7s

Algorithm
intervals
Results
969.0ms2371×body10240exit
334.0ms8347×body80valid
71.0ms263×body640valid
63.0ms125×body1280valid
31.0ms190×body320valid
12.0ms122×body160valid