Details

Time bar (total: 4.6s)

sample57.0ms

Algorithm
intervals
Results
32.0ms80×body10240exit
10.0ms274×body80valid
2.0msbody640valid
2.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1195
2195

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.8b

localize19.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)))

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

series133.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(- (log (+ 1.0 (exp x))) (* x y))
12.0ms
(+ 1.0 (exp x))
68.0ms
(log (+ 1.0 (exp x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0207322
1584301
21729298
35001297

prune122.0ms

Filtered
54 candidates to 40 candidates (74.1%)
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.7b
(log (+ 1.0 (exp x)))
1.2b
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))
1.2b
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))
1.2b
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
cbrt-prod
add-sqr-sqrt add-cube-cbrt
cbrt-div
pow1 add-exp-log
log-prod add-cbrt-cube add-log-exp
flip3-- pow1/3 flip--
log-div
flip3-+ rem-log-exp log-pow flip-+ distribute-lft-out
Counts
4 → 54
Calls
4 calls:
4.0ms
(log (+ 1.0 (exp x)))
3.0ms
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))
3.0ms
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))
3.0ms
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))

series983.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(log (+ 1.0 (exp x)))
309.0ms
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))
303.0ms
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))
306.0ms
(cbrt (- (log (+ 1.0 (exp x))) (* x y)))

simplify40.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0335921
11197877
25002855

prune249.0ms

Filtered
66 candidates to 59 candidates (89.4%)
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
(* 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))
4.9b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite34.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:
6.0ms
(* 1/2 (pow x 2))
13.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
7.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
6.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

series178.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(* 1/2 (pow x 2))
79.0ms
(- (log (+ (* 1/2 (pow x 2)) (+ x 2.0))) (* x y))
17.0ms
(+ (* 1/2 (pow x 2)) (+ x 2.0))
51.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0371575
11439529
25001520

prune201.0ms

Filtered
83 candidates to 61 candidates (73.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 4 expressions with local error:

1.3b
(cbrt (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
4.9b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
4.9b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
4.9b
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

rewrite21.0ms

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

series338.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt (log (+ (* 1/2 (pow x 2)) (+ x 2.0))))
56.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
49.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))
54.0ms
(log (+ (* 1/2 (pow x 2)) (+ x 2.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0363755
11304677
25001644

prune237.0ms

Filtered
66 candidates to 55 candidates (83.3%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes74.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample1.7s

Algorithm
intervals
Results
995.0ms2439×body10240exit
312.0ms8416×body80valid
67.0ms250×body640valid
59.0ms117×body1280valid
33.0ms208×body320valid
11.0ms117×body160valid