Details

Time bar (total: 3.7s)

sample51.0ms

Algorithm
intervals
Results
23.0ms57×body10240exit
10.0ms277×body80valid
5.0msbody1280valid
2.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1195
2195

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize7.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.3b
(log (+ 1.0 (exp x)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
log-prod
add-log-exp
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log log-div associate--l+
flip3-+ add-cbrt-cube flip-+ distribute-lft-out
associate--l-
+-commutative sub-neg flip3-- diff-log rem-log-exp sum-log log-pow flip--
Counts
3 → 45
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)))

series130.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune120.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series231.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ 1.0 (exp x))
8.0ms
(+ 1.0 (exp x))
106.0ms
(log (sqrt (+ 1.0 (exp x))))
109.0ms
(log (sqrt (+ 1.0 (exp x))))

simplify41.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (35.0ms)

IterNodesCost
0155476
1390434
21073422
35002414

prune201.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.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))
16.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
10.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
8.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series187.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* 1/2 (pow x 2))
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
80.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
65.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

prune203.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt (* 1/2 (pow x 2))) (sqrt (* 1/2 (pow x 2))))
7.1b
(log (+ (* (sqrt (* 1/2 (pow x 2))) (sqrt (* 1/2 (pow x 2)))) (+ x 2.0)))
26.7b
(sqrt (* 1/2 (pow x 2)))
26.7b
(sqrt (* 1/2 (pow x 2)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
22×pow1
11×add-sqr-sqrt
10×sqrt-pow1 pow1/2
add-cube-cbrt *-un-lft-identity
add-exp-log
sqrt-prod add-cbrt-cube
pow-prod-up
swap-sqr associate-*r* associate-*l* add-log-exp
log-prod pow-prod-down pow-sqr
log-div
pow2 flip3-+ pow-plus sqrt-unprod rem-log-exp prod-exp rem-square-sqrt log-pow *-commutative cbrt-unprod flip-+ unswap-sqr
Counts
4 → 72
Calls
4 calls:
16.0ms
(* (sqrt (* 1/2 (pow x 2))) (sqrt (* 1/2 (pow x 2))))
25.0ms
(log (+ (* (sqrt (* 1/2 (pow x 2))) (sqrt (* 1/2 (pow x 2)))) (+ x 2.0)))
2.0ms
(sqrt (* 1/2 (pow x 2)))
2.0ms
(sqrt (* 1/2 (pow x 2)))

series274.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(* (sqrt (* 1/2 (pow x 2))) (sqrt (* 1/2 (pow x 2))))
128.0ms
(log (+ (* (sqrt (* 1/2 (pow x 2))) (sqrt (* 1/2 (pow x 2)))) (+ x 2.0)))
39.0ms
(sqrt (* 1/2 (pow x 2)))
35.0ms
(sqrt (* 1/2 (pow x 2)))

simplify59.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0272585
11370480
25001465

prune217.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes35.0ms

Accuracy

0% (0.8b remaining)

Error of 1.1b against oracle of 0.4b and baseline of 1.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01311
11311

end0.0ms

sample1.7s

Algorithm
intervals
Results
971.0ms2455×body10240exit
312.0ms8483×body80valid
62.0ms225×body640valid
56.0ms116×body1280valid
28.0ms181×body320valid
9.0ms99×body160valid