Details

Time bar (total: 4.1s)

sample53.0ms

Algorithm
intervals
Results
28.0ms70×body10240exit
10.0ms280×body80valid
2.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
0.0msbody160valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1195
2235
3235

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.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:
6.0ms
(- (log (+ 1.0 (exp x))) (* x y))
3.0ms
(+ 1.0 (exp x))
3.0ms
(log (+ 1.0 (exp x)))

series136.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0236404
1702369
22284367
35002340

prune164.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.7b
(log (+ (pow 1.0 3) (pow (exp x) 3)))
4.7b
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
5.2b
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
12×log-prod
10×add-sqr-sqrt add-cube-cbrt
pow1 unpow-prod-down cube-prod
add-exp-log add-log-exp
add-cbrt-cube distribute-lft-out
expm1-log1p-u log-div pow-pow log1p-expm1-u
pow-unpow exp-prod
flip3-+ rem-log-exp log-pow flip-+
cube-mult pow-to-exp sub-neg flip3-- distribute-rgt-out-- fma-neg diff-log unpow3 prod-diff pow-exp sum-cubes flip-- rem-cube-cbrt sqr-pow
Counts
4 → 83
Calls
4 calls:
2.0ms
(pow (exp x) 3)
12.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
7.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
18.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

series267.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(pow (exp x) 3)
90.0ms
(log (+ (pow 1.0 3) (pow (exp x) 3)))
48.0ms
(- (* (exp x) (exp x)) (* 1.0 (exp x)))
106.0ms
(log (+ (* 1.0 1.0) (- (* (exp x) (exp x)) (* 1.0 (exp x)))))

simplify65.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0398699
11683631
25001622

prune330.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite6.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:
4.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
0.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
1.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

series157.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(- (log (fma 1/2 (pow x 2) (+ x 2.0))) (* x y))
18.0ms
(fma 1/2 (pow x 2) (+ x 2.0))
56.0ms
(log (fma 1/2 (pow x 2) (+ x 2.0)))

simplify90.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (84.0ms)

IterNodesCost
0229423
1763380
23267376
35001356

prune161.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) 1.0)
0.7b
(log (+ (exp x) 1.0))
0.7b
(pow (- (log (+ (exp x) 1.0)) (* x y)) 3)
12.9b
(cbrt (pow (- (log (+ (exp x) 1.0)) (* x y)) 3))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×cbrt-prod add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log unpow-prod-down cube-prod add-log-exp
add-cbrt-cube
cube-div expm1-log1p-u log-prod log1p-expm1-u
pow-unpow fma-def
cube-mult log-div cbrt-div flip3-- flip3-+ unpow3 flip-- flip-+ distribute-lft-out sqr-pow
+-commutative pow-to-exp pow-pow pow1/3 rem-log-exp pow-exp sum-log log-pow rem-cbrt-cube rem-cube-cbrt
Counts
4 → 86
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
7.0ms
(log (+ (exp x) 1.0))
4.0ms
(pow (- (log (+ (exp x) 1.0)) (* x y)) 3)
4.0ms
(cbrt (pow (- (log (+ (exp x) 1.0)) (* x y)) 3))

series260.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (exp x) 1.0)
63.0ms
(log (+ (exp x) 1.0))
134.0ms
(pow (- (log (+ (exp x) 1.0)) (* x y)) 3)
56.0ms
(cbrt (pow (- (log (+ (exp x) 1.0)) (* x y)) 3))

simplify46.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0393758
11524700
25001690

prune229.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.2b

regimes86.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.0s2505×body10240exit
473.0ms8415×body80valid
70.0ms141×body1280valid
67.0ms252×body640valid
28.0ms176×body320valid
10.0ms103×body160valid