Details

Time bar (total: 4.3s)

sample55.0ms

Algorithm
intervals
Results
26.0ms67×body10240exit
10.0ms271×body80valid
3.0msbody1280valid
3.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 1.8b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ 1.0 (exp x))
1.7b
(log (+ 1.0 (exp x)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
log-prod add-log-exp
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt
log-div flip3-+ add-cbrt-cube flip-+ distribute-lft-out
+-commutative rem-log-exp sum-log log-pow
Counts
2 → 27
Calls
2 calls:
9.0ms
(+ 1.0 (exp x))
5.0ms
(log (+ 1.0 (exp x)))

series63.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(+ 1.0 (exp x))
56.0ms
(log (+ 1.0 (exp x)))

simplify95.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (24.0ms)

IterNodesCost
0128169
1337152
2897151
33150150
45002150

prune73.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.9b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
associate-*r*
log-prod add-cbrt-cube
pow1
unpow-prod-down log-div unswap-sqr
flip3-+ associate-*l* prod-exp associate--l+ sum-log flip-+
associate--l- unpow2 sqr-pow
+-commutative pow-to-exp sub-neg associate-+r+ flip3-- diff-log rem-log-exp pow-exp log-pow *-commutative flip-- cbrt-unprod
Counts
4 → 71
Calls
4 calls:
11.0ms
(* 1/2 (pow x 2))
21.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
20.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
17.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series157.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* 1/2 (pow x 2))
70.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
15.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
49.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0371575
11439529
25001520

prune201.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.9b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
11×add-log-exp
pow1 add-sqr-sqrt add-cube-cbrt log-prod *-un-lft-identity
add-exp-log
exp-prod exp-sum add-cbrt-cube
sum-log log-pow
log-div flip3-+ flip-+
+-commutative sub-neg associate-+r+ flip3-- diff-log rem-log-exp flip-- rem-exp-log
Counts
4 → 55
Calls
4 calls:
19.0ms
(- (exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))) (* x y))
18.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
6.0ms
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
17.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series179.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))) (* x y))
18.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
46.0ms
(exp (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))
49.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify135.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
0311617
11046556
24638533
35002527

prune183.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

localize22.0ms

Local error

Found 4 expressions with local error:

0.9b
(exp (* (cbrt (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))) (cbrt (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))))
8.8b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
8.8b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
8.8b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
log-prod
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity
log-div add-log-exp
add-cbrt-cube
flip3-+ rem-log-exp log-pow flip-+
exp-prod exp-to-pow rem-exp-log
Counts
4 → 52
Calls
4 calls:
5.0ms
(exp (* (cbrt (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))) (cbrt (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))))
17.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
19.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
17.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series647.0ms

Counts
4 → 12
Calls
4 calls:
500.0ms
(exp (* (cbrt (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))) (cbrt (log (log (+ (* 1/2 (pow x 2)) (+ x 2.0)))))))
50.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
47.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
50.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05271101
12140983
25001980

prune307.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.9b

regimes90.0ms

Accuracy

0% (0.3b 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 (1.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
928.0ms2361×body10240exit
314.0ms8370×body80valid
69.0ms265×body640valid
59.0ms120×body1280valid
29.0ms185×body320valid
8.0ms89×body160valid